Fix handling of netgroup cache in nscd
[glibc.git] / ChangeLog
blob0afbce712c78f7e445b51dceabfe2445e43fb40e
1 2013-06-11  Andreas Schwab  <schwab@suse.de>
3         [BZ #15577]
4         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
5         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
6         values in the triple.
7         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
8         terminator in the group key.
10 2013-06-11  Andreas Jaeger  <aj@suse.de>
12         * po/zh_TW.po: Update Chinese (traditional) translation from
13         translation project.
15 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
17         * include/time.h (__clock_gettime): Add libc_hidden_proto.
18         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
19         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
20         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
21         (clock_getcpuclockid): Likewise.
22         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
23         Add weak_alias and libc_hidden_def.
24         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
25         * rt/clock_gettime.c (clock_gettime): Rename to
26         __clock_gettime.  Add weak_alias and libc_hidden_def.
27         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
28         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
29         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
30         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
31         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
32         Likewise.
33         * rt/clock_settime.c (clock_settime): Rename to
34         __clock_settime.  Add weak_alias and libc_hidden_def.
35         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
37 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
39         * mach/err_boot.sub: Remove trailing whitespace.
40         * mach/err_ipc.sub: Likewise.
41         * mach/err_mach.sub: Likewise.
43         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
44         (ROUNDING_TESTS_double): Likewise.
45         (ROUNDING_TESTS_long_double): Likewise.
46         (ROUNDING_TESTS): Likewise.
47         * math/libm-test.inc: Include <math-tests.h>.
48         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
49         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
50         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
51         (IF_ROUND_INIT_FE_UPWARD): Likewise.
53 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
55         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
56         of assigning.
58 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
60         * sysdeps/gnu/errlist.awk: Do not generate space at end of
61         otherwise empty TRANS lines.
62         * sysdeps/gnu/errlist.c: Regenerated.
64         * catgets/gencat.c (error_print): Use (void) in function
65         definition.
66         * crypt/crypt_util.c (__init_des): Likewise.
67         * crypt/speeds.c (Stop): Likewise.
68         (main): Likewise.
69         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
70         * inet/ruserpass.c (token): Likewise.
71         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
72         * intl/localealias.c (extend_alias_table): Likewise.
73         * intl/plural-exp.c (init_germanic_plural): Likewise.
74         * libio/fcloseall.c (__fcloseall): Likewise.
75         * libio/genops.c (_IO_flush_all): Likewise.
76         (_IO_flush_all_linebuffered): Likewise.
77         (_IO_cleanup): Likewise.
78         (_IO_iter_begin): Likewise.
79         (_IO_iter_end): Likewise.
80         (_IO_list_lock): Likewise.
81         (_IO_list_unlock): Likewise.
82         (_IO_list_resetlock): Likewise.
83         * libio/getchar.c (getchar): Likewise.
84         * libio/getchar_u.c (getchar_unlocked): Likewise.
85         * libio/getwchar.c (getwchar): Likewise.
86         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
87         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
88         * login/getpt.c (__getpt): Likewise.
89         * login/tst-utmp.c (main): Likewise.
90         * malloc/hooks.c (__malloc_check_init): Likewise.
91         * malloc/malloc.c (__malloc_stats): Likewise.
92         * malloc/mtrace.c (tr_break): Likewise.
93         (mtrace): Likewise.
94         (muntrace): Likewise.
95         * misc/fstab.c (endfsent): Likewise.
96         * misc/getclktck.c (__getclktck): Likewise.
97         * misc/getdtsz.c (__getdtablesize): Likewise.
98         * misc/gethostid.c (gethostid): Likewise.
99         * misc/getpagesize.c (__getpagesize): Likewise.
100         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
101         (__get_nprocs): Likewise.
102         (__get_phys_pages): Likewise.
103         (__get_avphys_pages): Likewise.
104         * misc/getttyent.c (getttyent): Likewise.
105         (setttyent): Likewise.
106         (endttyent): Likewise.
107         * misc/getusershell.c (getusershell): Likewise.
108         (endusershell): Likewise.
109         (setusershell): Likewise.
110         (initshells): Likewise.
111         * misc/hsearch.c (__hdestroy): Likewise.
112         * misc/sync.c (sync): Likewise.
113         * misc/syslog.c (closelog_internal): Likewise.
114         (closelog): Likewise.
115         * misc/ttyslot.c (ttyslot): Likewise.
116         * misc/vhangup.c (vhangup): Likewise.
117         * posix/fork.c (__fork): Likewise.
118         * posix/getegid.c (__getegid): Likewise.
119         * posix/geteuid.c (__geteuid): Likewise.
120         * posix/getgid.c (__getgid): Likewise.
121         * posix/getpid.c (__getpid): Likewise.
122         * posix/getppid.c (__getppid): Likewise.
123         * posix/getuid.c (__getuid): Likewise.
124         * posix/pause.c (pause): Likewise.
125         * posix/setpgrp.c (setpgrp): Likewise.
126         * posix/setsid.c (__setsid): Likewise.
127         * posix/test-vfork.c (noop): Likewise.
128         * resolv/gethnamaddr.c (_endhtent): Likewise.
129         (_gethtent): Likewise.
130         (ht_endhostent): Likewise.
131         (gethostent): Likewise.
132         (dns_service): Likewise.
133         * stdlib/drand48.c (drand48): Likewise.
134         * stdlib/lrand48.c (lrand48): Likewise.
135         * stdlib/mrand48.c (mrand48): Likewise.
136         * stdlib/rand.c (rand): Likewise.
137         * stdlib/random.c (__random): Likewise.
138         * stdlib/setenv.c (clearenv): Likewise.
139         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
140         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
141         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
142         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
143         (__get_nprocs): Likewise.
144         (__get_phys_pages): Likewise.
145         (__get_avphys_pages): Likewise.
146         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
147         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
148         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
149         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
150         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
151         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
152         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
153         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
154         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
155         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
156         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
157         * sysdeps/mach/hurd/sync.c (sync): Likewise.
158         * sysdeps/posix/clock.c (clock): Likewise.
159         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
160         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
161         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
162         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
163         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
164         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
165         (__get_nprocs_conf): Likewise.
166         (__get_phys_pages): Likewise.
167         (__get_avphys_pages): Likewise.
168         * time/clock.c (clock): Likewise.
169         * time/tzset.c (__tzname_max): Likewise.
171 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
173         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
174         (__bswap_32): Do not use "register".
175         * crypt/crypt.c (_ufc_doit_r): Likewise.
176         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
177         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
178         * gmon/gmon.c (__monstartup): Likewise.
179         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
180         * hurd/hurdmalloc.c (more_memory): Likewise.
181         (malloc): Likewise.
182         (free): Likewise.
183         (realloc): Likewise.
184         (malloc_fork_prepare): Likewise.
185         (malloc_fork_parent): Likewise.
186         (malloc_fork_child): Likewise.
187         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
188         (_svcauth_des): Likewise.
189         * inet/inet_lnaof.c (inet_lnaof): Likewise.
190         * inet/inet_net.c (inet_network): Likewise.
191         * inet/inet_netof.c (inet_netof): Likewise.
192         * inet/rcmd.c (__validuser2_sa): Likewise.
193         * io/fts.c (fts_open): Likewise.
194         (fts_load): Likewise.
195         (fts_close): Likewise.
196         (fts_read): Likewise.
197         (fts_children): Likewise.
198         (fts_build): Likewise.
199         (fts_stat): Likewise.
200         (fts_sort): Likewise.
201         (fts_alloc): Likewise.
202         (fts_lfree): Likewise.
203         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
204         (_IO_file_xsgetn): Likewise.
205         (_IO_file_xsgetn_mmap): Likewise.
206         * libio/iofopncook.c (_IO_cookie_read): Likewise.
207         (_IO_cookie_write): Likewise.
208         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
209         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
210         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
211         * malloc/obstack.c (_obstack_begin): Likewise.
212         (_obstack_begin_1): Likewise.
213         (_obstack_newchunk): Likewise.
214         (_obstack_allocated_p): Likewise.
215         (obstack_free): Likewise.
216         (_obstack_memory_used): Likewise.
217         * misc/getttyent.c (getttynam): Likewise.
218         (getttyent): Likewise.
219         (skip): Likewise.
220         (value): Likewise.
221         * misc/getusershell.c (initshells): Likewise.
222         * misc/syslog.c (__vsyslog_chk): Likewise.
223         * misc/ttyslot.c (ttyslot): Likewise.
224         * nis/nis_hash.c (__nis_hash): Likewise.
225         * posix/fnmatch_loop.c (FCT): Likewise.
226         * posix/getconf.c (print_all): Likewise.
227         (main): Likewise.
228         * posix/getopt.c (exchange): Likewise.
229         * posix/glob.c (globfree): Likewise.
230         (prefix_array): Likewise.
231         (__glob_pattern_type): Likewise.
232         * resolv/arpa/nameser.h (NS_GET16): Likewise.
233         (NS_GET32): Likewise.
234         (NS_PUT16): Likewise.
235         (NS_PUT32): Likewise.
236         * resolv/gethnamaddr.c (getanswer): Likewise.
237         (gethostbyname2): Likewise.
238         (gethostbyaddr): Likewise.
239         (_gethtent): Likewise.
240         (_gethtbyname2): Likewise.
241         (_gethtbyaddr): Likewise.
242         * resolv/ns_print.c (dst_s_get_int16): Likewise.
243         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
244         * resolv/res_init.c (__res_vinit): Likewise.
245         (net_mask): Likewise.
246         * resolv/res_mkquery.c (outchar): Likewise.
247         (PRINT): Likewise.
248         * stdio-common/printf_fp.c (outchar): Likewise.
249         (PRINT): Likewise.
250         * stdio-common/printf_fphex.c (outchar): Likewise.
251         (PRINT): Likewise.
252         * stdio-common/printf_size.c (outchar): Likewise.
253         (PRINT): Likewise.
254         * stdio-common/test_rdwr.c (main): Likewise.
255         * stdio-common/tfformat.c (matches): Likewise.
256         * stdio-common/vfprintf.c (outchar): Likewise.
257         (printf_unknown): Likewise.
258         (buffered_vfprintf): Likewise.
259         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
260         * stdio-common/xbug.c (AppendToBuffer): Likewise.
261         (ReadFile): Likewise.
262         * stdlib/qsort.c (SWAP): Likewise.
263         (_quicksort): Likewise.
264         * stdlib/setenv.c (__add_to_environ): Likewise.
265         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
266         * stdlib/strtol_l.c (__strtol_l): Likewise.
267         * stdlib/tst-strtod.c (main): Likewise.
268         * stdlib/tst-strtol.c (main): Likewise.
269         * stdlib/tst-strtoll.c (main): Likewise.
270         * string/bits/string2.h (__strcmp_cc): Likewise.
271         (__strcmp_cg): Likewise.
272         (__strcspn_c1): Likewise.
273         (__strcspn_c2): Likewise.
274         (__strcspn_c3): Likewise.
275         (__strspn_c1): Likewise.
276         (__strspn_c2): Likewise.
277         (__strspn_c3): Likewise.
278         (__strsep_1c): Likewise.
279         (__strsep_2c): Likewise.
280         (__strsep_3c): Likewise.
281         * string/memccpy.c (__memccpy): Likewise.
282         * string/stpcpy.c (__stpcpy): Likewise.
283         * string/strcmp.c (strcmp): Likewise.
284         * string/strrchr.c (strrchr): Likewise.
285         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
286         Likewise.
287         * sysdeps/mach/hurd/getcwd.c
288         (_hurd_canonicalize_directory_name_internal): Likewise.
289         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
290         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
291         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
292         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
293         Likewise, in both definitions.
294         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
295         definitions.
296         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
297         64] (__bswap_64): Likewise.
298         * time/test_time.c (main): Likewise.
299         * time/tzfile.c (__tzfile_read): Likewise.
300         (__tzfile_compute): Likewise.
301         * time/tzset.c (__tzset_parse_tz): Likewise.
302         (tzset_internal): Likewise.
303         (compute_change): Likewise.
304         * wcsmbs/wcscat.c (__wcscat): Likewise.
305         * wcsmbs/wcschr.c (wcschr): Likewise.
306         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
307         * wcsmbs/wcscspn.c (wcscspn): Likewise.
308         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
309         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
310         * wcsmbs/wcsspn.c (wcsspn): Likewise.
311         * wcsmbs/wcsstr.c (wcsstr): Likewise.
312         * wcsmbs/wmemchr.c (wmemchr): Likewise.
313         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
314         * wcsmbs/wmemset.c (wmemset): Likewise.
316 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
318         * scripts/config.guess: Update to version 2013-05-16.
319         * scripts/config.sub: Update to version 2013-04-24.
320         * scripts/install-sh: Update to version 2011-11-20.07.
321         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
322         * scripts/move-if-change: Update to version 2012-01-06 07:23.
324 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
326         * debug/fgetws_u_chk.c: Fix leading whitespaces.
327         * elf/sln.c: Likewise.
328         * hurd/hurd/ioctl.h: Likewise.
329         * hurd/hurdmalloc.c: Likewise.
330         * hurd/xattr.c: Likewise.
331         * include/shlib-compat.h: Likewise.
332         * inet/ruserpass.c: Likewise.
333         * libio/iofgets_u.c: Likewise.
334         * libio/iofgetws_u.c: Likewise.
335         * locale/programs/ld-identification.c: Likewise.
336         * locale/programs/ld-time.c: Likewise.
337         * mach/msg-destroy.c: Likewise.
338         * nss/nss_files/files-netgrp.c: Likewise.
339         * resolv/res_data.c: Likewise.
340         * soft-fp/op-1.h: Likewise.
341         * soft-fp/op-2.h: Likewise.
342         * soft-fp/op-4.h: Likewise.
343         * soft-fp/op-common.h: Likewise.
344         * stdio-common/printf_fphex.c: Likewise.
345         * stdlib/strtod_l.c: Likewise.
346         * sunrpc/rpc/clnt.h: Likewise.
347         * sysdeps/generic/framestate.c: Likewise.
348         * sysdeps/i386/bsd-_setjmp.S: Likewise.
349         * sysdeps/i386/bsd-setjmp.S: Likewise.
350         * sysdeps/i386/__longjmp.S: Likewise.
351         * sysdeps/i386/setjmp.S: Likewise.
352         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
353         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
354         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
355         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
356         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
357         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
358         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
359         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
360         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
361         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
362         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
363         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
364         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
365         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
366         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
367         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
368         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
369         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
370         * sysdeps/ieee754/support.c: Likewise.
371         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
372         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
373         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
374         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
375         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
376         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
377         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
378         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
379         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
380         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
381         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
382         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
383         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
384         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
385         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
386         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
387         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
388         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
390 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
392         * posix/transbug.c: Remove executable mode.
394 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
396         * crypt/speeds.c: Remove trailing whitespace.
397         * dlfcn/default.c: Likewise.
398         * elf/ifuncdep2.c: Likewise.
399         * elf/ifuncmain1.c: Likewise.
400         * elf/ifuncmain1vis.c: Likewise.
401         * elf/testobj.h: Likewise.
402         * elf/tst-stackguard1.c: Likewise.
403         * gmon/sys/gmon.h: Likewise.
404         * hurd/hurdmsg.c: Likewise.
405         * hurd/new-fd.c: Likewise.
406         * hurd/ports-get.c: Likewise.
407         * iconvdata/ibm1008_420.c: Likewise.
408         * inet/tst-getni1.c: Likewise.
409         * inet/tst-getni2.c: Likewise.
410         * libio/ioungetc.c: Likewise.
411         * libio/wfiledoalloc.c: Likewise.
412         * manual/libm-err-tab.pl: Likewise.
413         * math/w_dremf.c: Likewise.
414         * misc/ftruncate.c: Likewise.
415         * posix/bug-glob2.c: Likewise.
416         * posix/tst-pcre.c: Likewise.
417         * posix/wait4.c: Likewise.
418         * resolv/README: Likewise.
419         * resolv/res_debug.h: Likewise.
420         * resolv/tst-inet_ntop.c: Likewise.
421         * setjmp/bug269-setjmp.c: Likewise.
422         * soft-fp/extended.h: Likewise.
423         * soft-fp/op-1.h: Likewise.
424         * soft-fp/op-2.h: Likewise.
425         * soft-fp/op-4.h: Likewise.
426         * soft-fp/op-8.h: Likewise.
427         * soft-fp/testit.c: Likewise.
428         * stdio-common/bug16.c: Likewise.
429         * stdlib/random.c: Likewise.
430         * sunrpc/rpcsvc/rquota.x: Likewise.
431         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
432         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
433         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
434         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
435         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
436         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
437         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
438         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
439         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
440         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
441         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
442         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
443         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
444         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
445         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
446         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
447         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
448         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
449         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
450         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
451         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
452         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
453         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
454         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
455         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
456         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
457         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
458         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
459         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
460         * sysdeps/ieee754/s_lib_version.c: Likewise.
461         * sysdeps/mach/hurd/check_fds.c: Likewise.
462         * sysdeps/mach/hurd/getsockname.c: Likewise.
463         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
464         * sysdeps/mach/hurd/recvfrom.c: Likewise.
465         * sysdeps/powerpc/bits/link.h: Likewise.
466         * sysdeps/powerpc/dl-procinfo.c: Likewise.
467         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
468         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
469         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
470         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
471         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
472         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
473         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
474         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
475         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
476         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
477         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
478         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
479         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
480         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
481         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
482         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
483         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
484         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
485         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
486         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
487         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
488         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
489         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
490         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
491         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
492         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
493         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
494         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
495         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
496         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
497         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
498         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
499         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
500         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
501         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
502         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
503         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
504         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
505         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
506         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
507         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
508         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
509         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
510         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
511         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
512         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
513         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
514         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
515         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
516         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
517         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
518         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
519         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
520         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
521         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
522         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
523         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
524         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
525         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
526         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
527         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
528         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
529         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
530         * sysdeps/powerpc/sysdep.h: Likewise.
531         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
532         * sysdeps/s390/s390-64/sub_n.S: Likewise.
533         * sysdeps/sh/dl-trampoline.S: Likewise.
534         * sysdeps/sh/memset.S: Likewise.
535         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
536         * sysdeps/sh/strlen.S: Likewise.
537         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
538         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
539         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
540         * sysdeps/sparc/sparc32/rem.S: Likewise.
541         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
542         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
543         * sysdeps/sparc/sparc32/strchr.S: Likewise.
544         * sysdeps/sparc/sparc32/udiv.S: Likewise.
545         * sysdeps/sparc/sparc32/urem.S: Likewise.
546         * sysdeps/sparc/sparc64/add_n.S: Likewise.
547         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
548         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
549         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
550         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
551         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
552         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
553         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
554         * sysdeps/unix/bsd/times.c: Likewise.
555         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
556         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
557         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
558         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
559         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
560         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
561         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
562         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
563         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
564         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
565         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
566         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
567         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
568         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
569         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
570         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
571         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
572         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
573         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
574         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
575         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
576         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
577         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
578         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
579         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
580         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
581         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
582         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
583         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
584         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
585         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
586         * sysdeps/x86_64/strcspn.S: Likewise.
588 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
590         * locale/C-translit.h: Revert #include <stdint.h> because this is a
591         generated file.  Regenerate properly from gen-translit.pl.
592         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
593         locale/C-translit.h.
595 2013-06-05  Andreas Schwab  <schwab@suse.de>
597         [BZ #15100]
598         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
599         week as 6 instead of -1.
600         * time/tst-strptime.c (day_tests): Add test case.
602 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
604         * sysdeps/generic/math_private.h
605         (libc_feholdexcept_setround_53bit): Replace with
606         libc_feholdsetround_53bit.
607         (libc_feupdateenv_53bit): Replace with
608         libc_feresetround_53bit.
609         (SET_RESTORE_ROUND_53BIT): Adjust.
611 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
613         * string/test-strchrnul.c: Add copyright header.
615         * posix/tst-getaddrinfo4.c: Increase test timeout.
617 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
619         [BZ #15536]
620         * math/libm-test.inc (MAX_EXP): Remove
621         (MIN_EXP): Define.
622         (ulp): Use MIN_EXP - MANT_DIG.
623         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
625 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
627         * po/be.po: Revert last change.
628         * po/zh_CN.po: Likewise.
629         * po/header.pot: Likewise.
631 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
633         * Makefile ($(common-objpfx)linkobj/libc.so): Define
634         link-libc-deps to empty as target-specific variable.
635         * Makerules (link-libc-args): New variable.
636         (libc-for-link): Likewise.
637         (link-libc-deps): Likewise.
638         (lib%.so): Depend on $(link-libc-deps).  Link with
639         $(link-libc-args).
640         (build-module): Link with $(link-libc-args).
641         (build-module-asneeded): Likewise.
642         (build-module-helper-objlist): Filter out $(link-libc-deps) from
643         list of objects.
644         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
645         target-specific variable.
646         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
647         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
648         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
649         libc.
650         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
651         libc and ld.so.
652         ($(objpfx)libpcprofile.so): Likewise.
653         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
654         libc_nonshared.a.
655         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
656         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
657         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
658         $(link-libc-deps).
659         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
660         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
661         * login/Makefile ($(objpfx)libutil.so): Likewise.
662         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
663         * math/Makefile ($(objpfx)libm.so): Likewise.
664         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
665         $(objpfx)libnsl.so): Define libc-for-link as target-specific
666         variable instead of depending directly on libc.
667         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
668         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
669         $(link-libc-deps).
670         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
671         libc.
672         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
673         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
674         ($(objpfx)libanl.so): Likewise.
675         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
676         ld.so.
677         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
678         $(link-libc-deps).
679         * sysdeps/i386/fpu/Makefile: Remove file.
680         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
681         ($(objpfx)libm.so): Remove dependency on ld.so.
683 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
685         [BZ # 15553]
686         * nis/yp_xdr.c (XDRMAXNAME): Define.
687         (XDRMAXRECORD): Define.
688         (xdr_domainname): Use XDRMAXNAME.
689         (xdr_mapname): Likewise.
690         (xdr_peername): Likewise.
691         (xdr_keydat): Use XDRMAXRECORD.
692         (xdr_valdat): Likewise.
694 2013-05-30  Jeff Law  <law@redhat.com>
696         [BZ #14256]
697         * manual/errno.texi (ESTALE): Update to account for more than
698         just NFS file systems.
699         * sysdeps/gnu/errlist.c: Regenerated.
701 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
703         [BZ #15465]
704         * elf/Makefile (tests): Add tst-null-argv.
705         (modules-names):  Add tst-null-argv-lib.
706         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
707         (tst-null-argv-ENV): Set environment for tst-null-argv.
708         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
709         (RTLD_PROGNAME): New macro.
710         * elf/tst-null-argv.c: New test case.
711         * elf/tst-null-argv-lib.c: Library for test case.
712         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
713         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
714         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
715         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
716         * elf/dl-init.c (call_init): Likewise.
717         (_dl_init): Likewise.
718         * elf/dl-load.c (print_search_path): Likewise.
719         (_dl_map_object): Likewise.
720         * elf/dl-lookup.c (do_lookup_x): Likewise.
721         (add_dependency): Likewise.
722         (_dl_lookup_symbol_x): Likewise.
723         (_dl_debug_bindings): Likewise.
724         * elf/dl-open.c (_dl_show_scope): Likewise.
725         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
726         * elf/dl-version.c (match_symbol): Likewise.
727         (_dl_check_map_versions): Likewise.
728         * elf/rtld.c (dl_main): Likewise.
729         (print_unresolved): Use RTLD_PROGNAME.
730         (print_missing_version): Likewise.
731         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
732         (elf_machine_rela): Likewise.
733         * sysdeps/powerpc/powerpc32/dl-machine.c
734         (__process_machine_rela): Likewise.
735         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
736         Likewise.
737         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
738         Likewise.
739         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
740         Likewise.
741         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
742         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
743         Likewise.
744         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
745         Likewise.
746         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
748 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
750         * po/be.po: Add descriptive title.
751         * po/zh_CN.po: Likewise.
752         * po/header.pot: Likewise.
754 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
756         * locale/programs/locarchive.c (create_archive): Inlucde fname in
757         error message.
758         (enlarge_archive): Likewise.
760 2013-05-28  Ben North  <ben@redfrontdoor.org>
762         * manual/arith.texi (frexp): It is the magnitude of the return
763         value which lies in [0.5, 1), not the return value itself.
765 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
767         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
769 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
771         * stdio-common/bug26.c (main): Correct fscanf template.
773         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
774         declare _dl_skip_args.
776         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
777         Don't declare.
779         * manual/platform.texi: Add missing @end deftypefun.
781 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
783         [BZ #15529]
784         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
785         bit of mantissa of 2^16382.
786         * math/libm-test.inc (hypot_test_data): Add more tests.
788         * math/libm-test.inc: Add drem and pow10 to list of tested
789         functions.
790         (pow10_test): New function.
791         (drem_test): Likewise.
792         (drem_test_tonearest): Likewise.
793         (drem_test_towardzero): Likewise.
794         (drem_test_downward): Likewise.
795         (drem_test_upward): Likewise.
796         (main): Call the new functions.
798         * math/libm-test.inc (finite_test_data): Remove.
799         (finite_test): Run tests from isfinite_test_data.
800         (gamma_test_data): Remove.
801         (gamma_test): Run tests from lgamma_test_data.
802         * sysdeps/i386/fpu/libm-test-ulps: Update.
803         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
805 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
807         * manual/platform.texi: Add PowerPC PPR function set documentation.
808         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
809         implementation.
811 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
813         * math/libm-test.inc (MAX_EXP): Define.
814         (ULPDIFF): Define.
815         (ulp): New function.
816         (check_float_internal): Use ULPDIFF.
817         (cpow_test): Disable failing test.
818         (check_ulp): Test ulp() implemetnation.
819         (main): Call check_ulp before starting tests.
821 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
823         * math/gen-libm-test.pl (generate_testfile): Do not handle
824         START_DATA and END_DATA.
825         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
826         END_DATA.
827         (acos_tonearest_test_data): Likewise.
828         (acos_towardzero_test_data): Likewise.
829         (acos_downward_test_data): Likewise.
830         (acos_upward_test_data): Likewise.
831         (acosh_test_data): Likewise.
832         (asin_test_data): Likewise.
833         (asin_tonearest_test_data): Likewise.
834         (asin_towardzero_test_data): Likewise.
835         (asin_downward_test_data): Likewise.
836         (asin_upward_test_data): Likewise.
837         (asinh_test_data): Likewise.
838         (atan_test_data): Likewise.
839         (atanh_test_data): Likewise.
840         (atan2_test_data): Likewise.
841         (cabs_test_data): Likewise.
842         (cacos_test_data): Likewise.
843         (cacosh_test_data): Likewise.
844         (carg_test_data): Likewise.
845         (casin_test_data): Likewise.
846         (casinh_test_data): Likewise.
847         (catan_test_data): Likewise.
848         (catanh_test_data): Likewise.
849         (cbrt_test_data): Likewise.
850         (ccos_test_data): Likewise.
851         (ccosh_test_data): Likewise.
852         (ceil_test_data): Likewise.
853         (cexp_test_data): Likewise.
854         (cimag_test_data): Likewise.
855         (clog_test_data): Likewise.
856         (clog10_test_data): Likewise.
857         (conj_test_data): Likewise.
858         (copysign_test_data): Likewise.
859         (cos_test_data): Likewise.
860         (cos_tonearest_test_data): Likewise.
861         (cos_towardzero_test_data): Likewise.
862         (cos_downward_test_data): Likewise.
863         (cos_upward_test_data): Likewise.
864         (cosh_test_data): Likewise.
865         (cosh_tonearest_test_data): Likewise.
866         (cosh_towardzero_test_data): Likewise.
867         (cosh_downward_test_data): Likewise.
868         (cosh_upward_test_data): Likewise.
869         (cpow_test_data): Likewise.
870         (cproj_test_data): Likewise.
871         (creal_test_data): Likewise.
872         (csin_test_data): Likewise.
873         (csinh_test_data): Likewise.
874         (csqrt_test_data): Likewise.
875         (ctan_test_data): Likewise.
876         (ctan_tonearest_test_data): Likewise.
877         (ctan_towardzero_test_data): Likewise.
878         (ctan_downward_test_data): Likewise.
879         (ctan_upward_test_data): Likewise.
880         (ctanh_test_data): Likewise.
881         (ctanh_tonearest_test_data): Likewise.
882         (ctanh_towardzero_test_data): Likewise.
883         (ctanh_downward_test_data): Likewise.
884         (ctanh_upward_test_data): Likewise.
885         (erf_test_data): Likewise.
886         (erfc_test_data): Likewise.
887         (exp_test_data): Likewise.
888         (exp_tonearest_test_data): Likewise.
889         (exp_towardzero_test_data): Likewise.
890         (exp_downward_test_data): Likewise.
891         (exp_upward_test_data): Likewise.
892         (exp10_test_data): Likewise.
893         (exp2_test_data): Likewise.
894         (expm1_test_data): Likewise.
895         (fabs_test_data): Likewise.
896         (fdim_test_data): Likewise.
897         (finite_test_data): Likewise.
898         (floor_test_data): Likewise.
899         (fma_test_data): Likewise.
900         (fma_towardzero_test_data): Likewise.
901         (fma_downward_test_data): Likewise.
902         (fma_upward_test_data): Likewise.
903         (fmax_test_data): Likewise.
904         (fmin_test_data): Likewise.
905         (fmod_test_data): Likewise.
906         (fpclassify_test_data): Likewise.
907         (frexp_test_data): Likewise.
908         (gamma_test_data): Likewise.
909         (hypot_test_data): Likewise.
910         (ilogb_test_data): Likewise.
911         (isfinite_test_data): Likewise.
912         (isgreater_test_data): Likewise.
913         (isgreaterequal_test_data): Likewise.
914         (isinf_test_data): Likewise.
915         (isless_test_data): Likewise.
916         (islessequal_test_data): Likewise.
917         (islessgreater_test_data): Likewise.
918         (isnan_test_data): Likewise.
919         (isnormal_test_data): Likewise.
920         (issignaling_test_data): Likewise.
921         (isunordered_test_data): Likewise.
922         (j0_test_data): Likewise.
923         (j1_test_data): Likewise.
924         (jn_test_data): Likewise.
925         (ldexp_test_data): Likewise.
926         (lgamma_test_data): Likewise.
927         (lrint_test_data): Likewise.
928         (lrint_tonearest_test_data): Likewise.
929         (lrint_towardzero_test_data): Likewise.
930         (lrint_downward_test_data): Likewise.
931         (lrint_upward_test_data): Likewise.
932         (llrint_test_data): Likewise.
933         (llrint_tonearest_test_data): Likewise.
934         (llrint_towardzero_test_data): Likewise.
935         (llrint_downward_test_data): Likewise.
936         (llrint_upward_test_data): Likewise.
937         (log_test_data): Likewise.
938         (log10_test_data): Likewise.
939         (log1p_test_data): Likewise.
940         (log2_test_data): Likewise.
941         (logb_test_data): Likewise.
942         (logb_downward_test_data): Likewise.
943         (lround_test_data): Likewise.
944         (llround_test_data): Likewise.
945         (modf_test_data): Likewise.
946         (nearbyint_test_data): Likewise.
947         (nextafter_test_data): Likewise.
948         (nexttoward_test_data): Likewise.
949         (pow_test_data): Likewise.
950         (pow_tonearest_test_data): Likewise.
951         (pow_towardzero_test_data): Likewise.
952         (pow_downward_test_data): Likewise.
953         (pow_upward_test_data): Likewise.
954         (remainder_test_data): Likewise.
955         (remainder_tonearest_test_data): Likewise.
956         (remainder_towardzero_test_data): Likewise.
957         (remainder_downward_test_data): Likewise.
958         (remainder_upward_test_data): Likewise.
959         (remquo_test_data): Likewise.
960         (rint_test_data): Likewise.
961         (rint_tonearest_test_data): Likewise.
962         (rint_towardzero_test_data): Likewise.
963         (rint_downward_test_data): Likewise.
964         (rint_upward_test_data): Likewise.
965         (round_test_data): Likewise.
966         (scalb_test_data): Likewise.
967         (scalbn_test_data): Likewise.
968         (scalbln_test_data): Likewise.
969         (signbit_test_data): Likewise.
970         (sin_test_data): Likewise.
971         (sin_tonearest_test_data): Likewise.
972         (sin_towardzero_test_data): Likewise.
973         (sin_downward_test_data): Likewise.
974         (sin_upward_test_data): Likewise.
975         (sincos_test_data): Likewise.
976         (sinh_test_data): Likewise.
977         (sinh_tonearest_test_data): Likewise.
978         (sinh_towardzero_test_data): Likewise.
979         (sinh_downward_test_data): Likewise.
980         (sinh_upward_test_data): Likewise.
981         (sqrt_test_data): Likewise.
982         (tan_test_data): Likewise.
983         (tan_tonearest_test_data): Likewise.
984         (tan_towardzero_test_data): Likewise.
985         (tan_downward_test_data): Likewise.
986         (tan_upward_test_data): Likewise.
987         (tanh_test_data): Likewise.
988         (tgamma_test_data): Likewise.
989         (trunc_test_data): Likewise.
990         (y0_test_data): Likewise.
991         (y1_test_data): Likewise.
992         (yn_test_data): Likewise.
993         (significand_test_data): Likewise.
995         * math/gen-libm-test.pl (@functions): Remove variable.
996         (generate_testfile): Don't handle START and END lines.
997         * math/libm-test.inc (START): New macro.
998         (END): Likewise.
999         (END_COMPLEX): Likewise.
1000         (acos_test): Use END macro without arguments.
1001         (acos_test_tonearest): Likewise.
1002         (acos_test_towardzero): Likewise.
1003         (acos_test_downward): Likewise.
1004         (acos_test_upward): Likewise.
1005         (acosh_test): Likewise.
1006         (asin_test): Likewise.
1007         (asin_test_tonearest): Likewise.
1008         (asin_test_towardzero): Likewise.
1009         (asin_test_downward): Likewise.
1010         (asin_test_upward): Likewise.
1011         (asinh_test): Likewise.
1012         (atan_test): Likewise.
1013         (atanh_test): Likewise.
1014         (atan2_test): Likewise.
1015         (cabs_test): Likewise.
1016         (cacos_test): Use END_COMPLEX macro without arguments.
1017         (cacosh_test): Likewise.
1018         (carg_test): Use END macro without arguments.
1019         (casin_test): Use END_COMPLEX macro without arguments.
1020         (casinh_test): Likewise.
1021         (catan_test): Likewise.
1022         (catanh_test): Likewise.
1023         (cbrt_test): Use END macro without arguments.
1024         (ccos_test): Use END_COMPLEX macro without arguments.
1025         (ccosh_test): Likewise.
1026         (ceil_test): Use END macro without arguments.
1027         (cexp_test): Use END_COMPLEX macro without arguments.
1028         (cimag_test): Use END macro without arguments.
1029         (clog_test): Use END_COMPLEX macro without arguments.
1030         (clog10_test): Likewise.
1031         (conj_test): Likewise.
1032         (copysign_test): Use END macro without arguments.
1033         (cos_test): Likewise.
1034         (cos_test_tonearest): Likewise.
1035         (cos_test_towardzero): Likewise.
1036         (cos_test_downward): Likewise.
1037         (cos_test_upward): Likewise.
1038         (cosh_test): Likewise.
1039         (cosh_test_tonearest): Likewise.
1040         (cosh_test_towardzero): Likewise.
1041         (cosh_test_downward): Likewise.
1042         (cosh_test_upward): Likewise.
1043         (cpow_test): Use END_COMPLEX macro without arguments.
1044         (cproj_test): Likewise.
1045         (creal_test): Use END macro without arguments.
1046         (csin_test): Use END_COMPLEX macro without arguments.
1047         (csinh_test): Likewise.
1048         (csqrt_test): Likewise.
1049         (ctan_test): Likewise.
1050         (ctan_test_tonearest): Likewise.
1051         (ctan_test_towardzero): Likewise.
1052         (ctan_test_downward): Likewise.
1053         (ctan_test_upward): Likewise.
1054         (ctanh_test): Likewise.
1055         (ctanh_test_tonearest): Likewise.
1056         (ctanh_test_towardzero): Likewise.
1057         (ctanh_test_downward): Likewise.
1058         (ctanh_test_upward): Likewise.
1059         (erf_test): Use END macro without arguments.
1060         (erfc_test): Likewise.
1061         (exp_test): Likewise.
1062         (exp_test_tonearest): Likewise.
1063         (exp_test_towardzero): Likewise.
1064         (exp_test_downward): Likewise.
1065         (exp_test_upward): Likewise.
1066         (exp10_test): Likewise.
1067         (exp2_test): Likewise.
1068         (expm1_test): Likewise.
1069         (fabs_test): Likewise.
1070         (fdim_test): Likewise.
1071         (finite_test): Likewise.
1072         (floor_test): Likewise.
1073         (fma_test): Likewise.
1074         (fma_test_towardzero): Likewise.
1075         (fma_test_downward): Likewise.
1076         (fma_test_upward): Likewise.
1077         (fmax_test): Likewise.
1078         (fmin_test): Likewise.
1079         (fmod_test): Likewise.
1080         (fpclassify_test): Likewise.
1081         (frexp_test): Likewise.
1082         (gamma_test): Likewise.
1083         (hypot_test): Likewise.
1084         (ilogb_test): Likewise.
1085         (isfinite_test): Likewise.
1086         (isgreater_test): Likewise.
1087         (isgreaterequal_test): Likewise.
1088         (isinf_test): Likewise.
1089         (isless_test): Likewise.
1090         (islessequal_test): Likewise.
1091         (islessgreater_test): Likewise.
1092         (isnan_test): Likewise.
1093         (isnormal_test): Likewise.
1094         (issignaling_test): Likewise.
1095         (isunordered_test): Likewise.
1096         (j0_test): Likewise.
1097         (j1_test): Likewise.
1098         (jn_test): Likewise.
1099         (ldexp_test): Likewise.
1100         (lgamma_test): Likewise.
1101         (lrint_test): Likewise.
1102         (lrint_test_tonearest): Likewise.
1103         (lrint_test_towardzero): Likewise.
1104         (lrint_test_downward): Likewise.
1105         (lrint_test_upward): Likewise.
1106         (llrint_test): Likewise.
1107         (llrint_test_tonearest): Likewise.
1108         (llrint_test_towardzero): Likewise.
1109         (llrint_test_downward): Likewise.
1110         (llrint_test_upward): Likewise.
1111         (log_test): Likewise.
1112         (log10_test): Likewise.
1113         (log1p_test): Likewise.
1114         (log2_test): Likewise.
1115         (logb_test): Likewise.
1116         (logb_test_downward): Likewise.
1117         (lround_test): Likewise.
1118         (llround_test): Likewise.
1119         (modf_test): Likewise.
1120         (nearbyint_test): Likewise.
1121         (nextafter_test): Likewise.
1122         (nexttoward_test): Likewise.
1123         (pow_test): Likewise.
1124         (pow_test_tonearest): Likewise.
1125         (pow_test_towardzero): Likewise.
1126         (pow_test_downward): Likewise.
1127         (pow_test_upward): Likewise.
1128         (remainder_test): Likewise.
1129         (remainder_test_tonearest): Likewise.
1130         (remainder_test_towardzero): Likewise.
1131         (remainder_test_downward): Likewise.
1132         (remainder_test_upward): Likewise.
1133         (remquo_test): Likewise.
1134         (rint_test): Likewise.
1135         (rint_test_tonearest): Likewise.
1136         (rint_test_towardzero): Likewise.
1137         (rint_test_downward): Likewise.
1138         (rint_test_upward): Likewise.
1139         (round_test): Likewise.
1140         (scalb_test): Likewise.
1141         (scalbn_test): Likewise.
1142         (scalbln_test): Likewise.
1143         (signbit_test): Likewise.
1144         (sin_test): Likewise.
1145         (sin_test_tonearest): Likewise.
1146         (sin_test_towardzero): Likewise.
1147         (sin_test_downward): Likewise.
1148         (sin_test_upward): Likewise.
1149         (sincos_test): Likewise.
1150         (sinh_test): Likewise.
1151         (sinh_test_tonearest): Likewise.
1152         (sinh_test_towardzero): Likewise.
1153         (sinh_test_downward): Likewise.
1154         (sinh_test_upward): Likewise.
1155         (sqrt_test): Likewise.
1156         (tan_test): Likewise.
1157         (tan_test_tonearest): Likewise.
1158         (tan_test_towardzero): Likewise.
1159         (tan_test_downward): Likewise.
1160         (tan_test_upward): Likewise.
1161         (tanh_test): Likewise.
1162         (tgamma_test): Likewise.
1163         (trunc_test): Likewise.
1164         (y0_test): Likewise.
1165         (y1_test): Likewise.
1166         (yn_test): Likewise.
1167         (significand_test): Likewise.
1169 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
1171         [BZ #15381]
1172         * libio/genops.c (_IO_no_init): Initialize wide struct info.
1174 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
1176         [BZ #14894]
1177         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
1178         __ppc_mdoio and __ppc_mdoom.
1179         * manual/platform.texi: Document new functions __ppc_yield,
1180         __ppc_mdoio and __ppc_mdoom.
1182 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
1184         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
1185         (main): Mention "tls" pseudo-hwcap is legacy.
1186         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
1188 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
1190         * math/gen-libm-test.pl (parse_args): Output only string of
1191         arguments as text for test name, not full call or descriptions of
1192         tests for extra outputs.
1193         (generate_testfile): Do not pass function name to parse_args.
1194         Generate this_func variable from START.
1195         * math/libm-test.inc (struct test_f_f_data): Rename test_name
1196         field to arg_str.
1197         (struct test_ff_f_data): Likewise.
1198         (test_ff_f_data_nexttoward): Likewise.
1199         (struct test_fi_f_data): Likewise.
1200         (struct test_fl_f_data): Likewise.
1201         (struct test_if_f_data): Likewise.
1202         (struct test_fff_f_data): Likewise.
1203         (struct test_c_f_data): Likewise.
1204         (struct test_f_f1_data): Likewise.  Remove field extra_name.
1205         (struct test_fF_f1_data): Likewise.
1206         (struct test_ffI_f1_data): Likewise.
1207         (struct test_c_c_data): Rename test_name field to arg_str.
1208         (struct test_cc_c_data): Likewise.
1209         (struct test_f_i_data): Likewise.
1210         (struct test_ff_i_data): Likewise.
1211         (struct test_f_l_data): Likewise.
1212         (struct test_f_L_data): Likewise.
1213         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
1214         and extra2_name.
1215         (COMMON_TEST_SETUP): New macro.
1216         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
1217         (COMMON_TEST_CLEANUP): Likewise.
1218         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
1219         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
1220         macros.
1221         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
1222         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
1223         macros.
1224         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
1225         (RUN_TEST_fff_f): Take argument string.  Call new setup and
1226         cleanup macros.
1227         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
1228         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
1229         macros.
1230         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
1231         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
1232         macros.
1233         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
1234         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
1235         cleanup macros.
1236         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
1237         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
1238         cleanup macros.
1239         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
1240         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
1241         cleanup macros.
1242         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
1243         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
1244         macros.
1245         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
1246         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
1247         macros.
1248         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
1249         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
1250         macros.
1251         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
1252         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
1253         cleanup macros.
1254         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
1255         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
1256         cleanup macros.
1257         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
1258         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
1259         macros.
1260         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
1261         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
1262         cleanup macros.
1263         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
1264         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
1265         macros.
1266         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
1267         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
1268         macros.
1269         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
1270         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
1271         cleanup macros.
1272         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
1274 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
1276         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
1277         to _sifields.sigfault.
1278         (si_addr_lsb): Define new macro.
1279         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
1280         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
1281         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
1283 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
1285         [BZ #15441]
1286         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
1287         returns -1.
1288         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
1289         null return -1.
1290         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
1291         loading the domain.
1293 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
1295         * math/gen-libm-test.pl (parse_args): Do not include expected
1296         result in test name.
1297         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
1298         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
1299         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
1300         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
1301         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
1302         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1304 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
1306         * benchtests/Makefile: Sort function entries.
1308         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
1309         tanh, asinh, acosh, atanh.
1310         * benchtests/acos-inputs: New file.
1311         * benchtests/acosh-inputs: New file.
1312         * benchtests/asin-inputs: New file.
1313         * benchtests/asinh-inputs: New file.
1314         * benchtests/atanh-inputs: New file.
1315         * benchtests/cosh-inputs: New file.
1316         * benchtests/log-inputs: New file.
1317         * benchtests/sinh-inputs: New file.
1318         * benchtests/tanh-inputs: New file.
1320 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
1322         [BZ #15339]
1323         * posix/tst-getaddrinfo4.c: New test.
1324         * posix/Makefile (tests): Add it.
1326 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
1328         [BZ #15339]
1329         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
1330         when no services were used.
1331         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
1332         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
1334 2013-05-21  Andreas Schwab  <schwab@suse.de>
1336         [BZ #15014]
1337         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
1338         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
1339         successful.
1340         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
1341         redundant variable declarations and reallocation of buffer when
1342         parsing as IPv6 address.  Always set NSS status when called from
1343         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
1344         buffer too small.  Correct computation of needed size.
1345         * nss/Makefile (tests): Add test-digits-dots.
1346         * nss/test-digits-dots.c: New test.
1348 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
1350         * benchtests/Makefile: Remove instructions for adding
1351         benchmark tests.
1352         * benchtests/README: New file to explain how to execute and
1353         enhance the benchmark tests.
1355 2013-05-21  Andreas Schwab  <schwab@suse.de>
1357         [BZ #15493]
1358         * setjmp/Makefile (tests): Add tst-sigsetjmp.
1359         * setjmp/tst-sigsetjmp.c: New test.
1361 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
1363         * sysdeps/x86_64/memset.S (memset): New implementation.
1364         (__bzero): Likewise.
1365         (__memset_tail): New function.
1367 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
1369         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
1370         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
1371         __memcpy_sse2_unaligned ifunc selection.
1372         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
1373         Add memcpy-sse2-unaligned.S.
1374         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
1375         Add: __memcpy_sse2_unaligned.
1377 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
1379         [BZ #15490]
1380         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
1381         math_force_eval before restoring floating-point envrionment.
1382         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
1383         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
1384         Likewise.
1385         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
1386         <math_private.h>.
1387         (__nearbyintl): Use math_force_eval before restoring
1388         floating-point environment.
1389         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
1391         * math/gen-libm-test.pl (special_functions): Remove.
1392         (parse_args): Don't handle TEST_extra.  Handle functions with no
1393         return value.
1394         * math/libm-test.inc (struct test_sincos_data): Replace with
1395         struct test_fFF_11_data.
1396         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
1397         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
1398         (sincos_test_data): Change element type to struct
1399         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
1400         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
1401         RUN_TEST_LOOP_sincos.
1402         * math/README.libm-test: Don't mention special handling of
1403         individual functions.
1404         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
1405         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
1406         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
1407         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
1408         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
1409         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1411         * math/gen-libm-test.pl (get_variable): Remove function.
1412         (parse_args): Don't show pointer parameters to call in test
1413         names.  Use "extra output N" in test names for extra outputs
1414         rather than naming variables.
1416 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
1418         [BZ #15488]
1419         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
1420         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
1421         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
1422         double tests.
1423         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
1424         disable.
1425         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
1426         check_long_double.
1428         * math/gen-libm-test.pl (@tests): Remove variable.
1429         ($count): Likewise.
1430         (new_test): Remove function.
1431         (show_exceptions): New function.
1432         (special_functions): Use show_exceptions instead of new_test.
1433         (parse_args): Likewise.
1434         (generate_testfile): Pass only function name in generated call to
1435         print_max_error or print_complex_max_error.
1436         (get_ulps): Do not handle complex tests specially.
1437         (output_test): Rename to ...
1438         (get_all_ulps_for_test): ... this.  Return a string rather than
1439         printing to a file.  Require ulps to be present.
1440         (output_ulps): Generate arrays rather than #defines.
1441         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
1442         (struct ulp_data): New type.
1443         (BUILD_COMPLEX_ULP): Remove macro.
1444         (compare_ulp_data): New function.
1445         (find_ulps): Likewise.
1446         (find_test_ulps): Likewise.
1447         (find_function_ulps): Likewise.
1448         (find_complex_function_ulps): Likewise.
1449         (print_max_error): Determine allowed ulps using
1450         find_function_ulps.
1451         (print_complex_max_error): Determine allowed ulps using
1452         find_complex_function_ulps.
1453         (check_float_internal): Determine max ulps using find_test_ulps.
1454         (check_float): Do not take max_ulp parameter.  Update call to
1455         check_float_internal.
1456         (check_complex): Likewise.
1457         (check_int): Do not take max_ulp parameter.
1458         (check_long): Likewise.
1459         (check_bool): Likewise.
1460         (check_longlong): Likewise.
1461         (struct test_f_f_data): Remove max_ulp field.
1462         (struct test_ff_f_data): Likewise.
1463         (struct test_ff_f_data_nexttoward): Likewise.
1464         (struct test_fi_f_data): Likewise.
1465         (struct test_fl_f_data): Likewise.
1466         (struct test_if_f_data): Likewise.
1467         (struct test_fff_f_data): Likewise.
1468         (struct test_c_f_data): Likewise.
1469         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
1470         (struct test_fF_f1_data): Likewise.
1471         (struct test_ffI_f1_data): Likewise.
1472         (struct test_c_c_data): Remove max_ulp field.
1473         (struct test_cc_c_data): Likewise.
1474         (struct test_f_i_data): Likewise.
1475         (struct test_ff_i_data): Likewise.
1476         (struct test_f_l_data): Likewise.
1477         (struct test_f_L_data): Likewise.
1478         (struct test_sincos_data): Likewise.
1479         (RUN_TEST_f_f): Do not handle ulps.
1480         (RUN_TEST_LOOP_f_f): Likewise.
1481         (RUN_TEST_2_f): Likewise.
1482         (RUN_TEST_LOOP_2_f): Likewise.
1483         (RUN_TEST_fff_f): Likewise.
1484         (RUN_TEST_LOOP_fff_f): Likewise.
1485         (RUN_TEST_c_f): Likewise.
1486         (RUN_TEST_LOOP_c_f): Likewise.
1487         (RUN_TEST_f_f1): Likewise.
1488         (RUN_TEST_LOOP_f_f1): Likewise.
1489         (RUN_TEST_fF_f1): Likewise.
1490         (RUN_TEST_LOOP_fF_f1): Likewise.
1491         (RUN_TEST_fI_f1): Likewise.
1492         (RUN_TEST_LOOP_fI_f1): Likewise.
1493         (RUN_TEST_ffI_f1): Likewise.
1494         (RUN_TEST_LOOP_ffI_f1): Likewise.
1495         (RUN_TEST_c_c): Likewise.
1496         (RUN_TEST_LOOP_c_c): Likewise.
1497         (RUN_TEST_cc_c): Likewise.
1498         (RUN_TEST_LOOP_cc_c): Likewise.
1499         (RUN_TEST_f_i): Likewise.
1500         (RUN_TEST_LOOP_f_i): Likewise.
1501         (RUN_TEST_f_i_tg): Likewise.
1502         (RUN_TEST_LOOP_f_i_tg): Likewise.
1503         (RUN_TEST_ff_i_tg): Likewise.
1504         (RUN_TEST_LOOP_ff_i_tg): Likewise.
1505         (RUN_TEST_f_b): Likewise.
1506         (RUN_TEST_LOOP_f_b): Likewise.
1507         (RUN_TEST_f_b_tg): Likewise.
1508         (RUN_TEST_LOOP_f_b_tg): Likewise.
1509         (RUN_TEST_f_l): Likewise.
1510         (RUN_TEST_LOOP_f_l): Likewise.
1511         (RUN_TEST_f_L): Likewise.
1512         (RUN_TEST_LOOP_f_L): Likewise.
1513         (RUN_TEST_sincos): Likewise.
1514         (RUN_TEST_LOOP_sincos): Likewise.
1516 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
1518         [BZ #15480]
1519         [BZ #15485]
1520         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
1521         main case of finite arguments, set rounding mode to FE_TONEAREST
1522         and discard exceptions.
1523         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
1524         exceptions.
1525         (remainder_tonearest_test_data): New variable.
1526         (remainder_test_tonearest): New function.
1527         (remainder_towardzero_test_data): New variable.
1528         (remainder_test_towardzero): New function.
1529         (remainder_downward_test_data): New variable.
1530         (remainder_test_downward): New function.
1531         (remainder_upward_test_data): New variable.
1532         (remainder_test_upward): New function.
1533         (main): Call the new test functions.
1535         * math/libm-test.inc (struct test_f_f1_data): Remove field
1536         extra_init.
1537         (struct test_fF_f1_data): Likewise.
1538         (struct test_ffI_f1_data): Likewise.
1539         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
1540         based on value of EXTRA_EXPECTED.
1541         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
1542         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
1543         EXTRA_VAR based on value of EXTRA_EXPECTED.
1544         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
1545         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
1546         EXTRA_VAR based on value of EXTRA_EXPECTED.
1547         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
1548         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
1549         EXTRA_VAR based on value of EXTRA_EXPECTED.
1550         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
1551         * math/gen-libm-test.pl (parse_args): Don't output initializers
1552         for extra output values.
1554         * math/libm-test.inc (check_int): Expect result to be exactly
1555         equal to expected value and do not handle ulps.
1556         (check_long): Likewise.
1557         (check_longlong): Likewise.
1559         * math/libm-test.inc (ceil_test_data): Test for "inexact"
1560         exceptions.
1561         (cimag_test_data): Likewise.
1562         (conj_test_data): Likewise.
1563         (copysign_test_data): Likewise.
1564         (cproj_test_data): Likewise.
1565         (creal_test_data): Likewise.
1566         (fabs_test_data): Likewise.
1567         (fdim_test_data): Likewise.
1568         (finite_test_data): Likewise.
1569         (floor_test_data): Likewise.
1570         (fmax_test_data): Likewise.
1571         (fmin_test_data): Likewise.
1572         (fmod_test_data): Likewise.
1573         (fpclassify_test_data): Likewise.
1574         (frexp_test_data): Likewise.
1575         (ilogb_test_data): Likewise.
1576         (isfinite_test_data): Likewise.
1577         (isgreater_test_data): Likewise.
1578         (isgreaterequal_test_data): Likewise.
1579         (isinf_test_data): Likewise.
1580         (isless_test_data): Likewise.
1581         (islessequal_test_data): Likewise.
1582         (islessgreater_test_data): Likewise.
1583         (isnan_test_data): Likewise.
1584         (isnormal_test_data): Likewise.
1585         (issignaling_test_data): Likewise.
1586         (isunordered_test_data): Likewise.
1587         (ldexp_test_data): Likewise.
1588         (lrint_test_data): Likewise.
1589         (lrint_test_data) [TEST_FLOAT]: Disable one test.
1590         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
1591         (lrint_tonearest_test_data): Test for "inexact" exceptions.
1592         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
1593         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
1594         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
1595         test input.
1596         (lrint_towardzero_test_data): Test for "inexact" exceptions.
1597         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
1598         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
1599         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
1600         that test input.
1601         (lrint_downward_test_data): Test for "inexact" exceptions.
1602         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
1603         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
1604         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
1605         test input.
1606         (lrint_upward_test_data): Test for "inexact" exceptions.
1607         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
1608         test input.
1609         (llrint_test_data): Test for "inexact" exceptions.
1610         (llrint_test_data) [TEST_FLOAT]: Disable one test.
1611         (llrint_tonearest_test_data): Test for "inexact" exceptions.
1612         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
1613         (llrint_towardzero_test_data): Test for "inexact" exceptions.
1614         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
1615         (llrint_downward_test_data): Test for "inexact" exceptions.
1616         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
1617         (llrint_upward_test_data): Test for "inexact" exceptions.
1618         (logb_test_data): Likewise.
1619         (logb_downward_test_data): Likewise.
1620         (nextafter_test_data): Likewise.
1621         (nexttoward_test_data): Likewise.
1622         (remainder_test_data): Likewise.
1623         (remquo_test_data): Likewise.
1624         (scalbn_test_data): Likewise.
1625         (scalbln_test_data): Likewise.
1626         (signbit_test_data): Likewise.
1627         (sqrt_test_data): Likewise.
1628         (significand_test_data): Likewise.
1630 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
1632         [BZ #15424]
1633         * benchtests/bench-modf.c (struct args): Mark arg0 as
1634         volatile.
1635         * scripts/bench.pl: Mark members of struct args as volatile.
1637 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1639         [BZ # 15497]
1640         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
1641         negative infinity on POWER6 or lower.
1642         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
1644 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
1646         [BZ #15442]
1647         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
1648         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
1649         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
1650         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
1651         (_FP_SETQNAN): New macro.
1652         (_FP_SETQNAN_SEMIRAW): Likewise.
1653         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
1654         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
1655         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
1656         (FP_EXTEND): Use _FP_FRAC_SNANP.
1657         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
1658         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
1659         into account.
1660         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
1661         New macro.
1662         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
1663         Likewise.
1665 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
1667         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
1668         with DIVIDE_BY_ZERO_EXCEPTION.
1669         (gamma_test_data): Likewise.
1670         (lgamma_test_data): Likewise.
1671         (log_test_data): Likewise.
1672         (log10_test_data): Likewise.
1673         (log2_test_data): Likewise.
1674         (tgamma_test_data): Likewise.
1676         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
1677         (acos_test_tonearest): Likewise.
1678         (acos_test_towardzero): Likewise.
1679         (acos_test_downward): Likewise.
1680         (acos_test_upward): Likewise.
1681         (acosh_test): Likewise.
1682         (asin_test): Likewise.
1683         (asin_test_tonearest): Likewise.
1684         (asin_test_towardzero): Likewise.
1685         (asin_test_downward): Likewise.
1686         (asin_test_upward): Likewise.
1687         (asinh_test): Likewise.
1688         (atan_test): Likewise.
1689         (atanh_test): Likewise.
1690         (atan2_test): Likewise.
1691         (cabs_test): Likewise.
1692         (cacos_test): Likewise.
1693         (cacosh_test): Likewise.
1694         (casin_test): Likewise.
1695         (casinh_test): Likewise.
1696         (catan_test): Likewise.
1697         (catanh_test): Likewise.
1698         (cbrt_test): Likewise.
1699         (ccos_test): Likewise.
1700         (ccosh_test): Likewise.
1701         (cexp_test): Likewise.
1702         (clog_test): Likewise.
1703         (clog10_test): Likewise.
1704         (cos_test): Likewise.
1705         (cos_test_tonearest): Likewise.
1706         (cos_test_towardzero): Likewise.
1707         (cos_test_downward): Likewise.
1708         (cos_test_upward): Likewise.
1709         (cosh_test): Likewise.
1710         (cosh_test_tonearest): Likewise.
1711         (cosh_test_towardzero): Likewise.
1712         (cosh_test_downward): Likewise.
1713         (cosh_test_upward): Likewise.
1714         (cpow_test): Likewise.
1715         (csin_test): Likewise.
1716         (csinh_test): Likewise.
1717         (csqrt_test): Likewise.
1718         (ctan_test): Likewise.
1719         (ctan_test_tonearest): Likewise.
1720         (ctan_test_towardzero): Likewise.
1721         (ctan_test_downward): Likewise.
1722         (ctan_test_upward): Likewise.
1723         (ctanh_test): Likewise.
1724         (ctanh_test_tonearest): Likewise.
1725         (ctanh_test_towardzero): Likewise.
1726         (ctanh_test_downward): Likewise.
1727         (ctanh_test_upward): Likewise.
1728         (erf_test): Likewise.
1729         (erfc_test): Likewise.
1730         (exp_test): Likewise.
1731         (exp_test_tonearest): Likewise.
1732         (exp_test_towardzero): Likewise.
1733         (exp_test_downward): Likewise.
1734         (exp_test_upward): Likewise.
1735         (exp10_test): Likewise.
1736         (exp2_test): Likewise.
1737         (expm1_test): Likewise.
1738         (fmod_test): Likewise.
1739         (gamma_test): Likewise.
1740         (hypot_test): Likewise.
1741         (j0_test): Likewise.
1742         (j1_test): Likewise.
1743         (jn_test): Likewise.
1744         (lgamma_test): Likewise.
1745         (log_test): Likewise.
1746         (log10_test): Likewise.
1747         (log1p_test): Likewise.
1748         (log2_test): Likewise.
1749         (logb_test_downward): Likewise.
1750         (pow_test): Likewise.
1751         (pow_test_tonearest): Likewise.
1752         (pow_test_towardzero): Likewise.
1753         (pow_test_downward): Likewise.
1754         (pow_test_upward): Likewise.
1755         (remainder_test): Likewise.
1756         (remquo_test): Likewise.
1757         (sin_test): Likewise.
1758         (sin_test_tonearest): Likewise.
1759         (sin_test_towardzero): Likewise.
1760         (sin_test_downward): Likewise.
1761         (sin_test_upward): Likewise.
1762         (sincos_test): Likewise.
1763         (sinh_test): Likewise.
1764         (sinh_test_tonearest): Likewise.
1765         (sinh_test_towardzero): Likewise.
1766         (sinh_test_downward): Likewise.
1767         (sinh_test_upward): Likewise.
1768         (sqrt_test): Likewise.
1769         (tan_test): Likewise.
1770         (tan_test_tonearest): Likewise.
1771         (tan_test_towardzero): Likewise.
1772         (tan_test_downward): Likewise.
1773         (tan_test_upward): Likewise.
1774         (tanh_test): Likewise.
1775         (tgamma_test): Likewise.
1776         (y0_test): Likewise.
1777         (y1_test): Likewise.
1778         (yn_test): Likewise.
1780         * math/gen-libm-test.pl (adjust_arg): Remove function.
1781         (special_function): Remove argument $in_func.  Only handle
1782         generating output for tables of tests, not inside functions.
1783         (parse_args): Likewise.
1784         (generate_testfile): Remove variable $in_func.  Update call to
1785         parse_args.
1786         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
1787         (MINUS_ZERO_INIT): Rename macro to minus_zero.
1788         (PLUS_INFTY_INIT): Rename macro to plus_infty.
1789         (MINUS_INFTY_INIT): Rename macro to minus_infty.
1790         (QNAN_VALUE_INIT): Rename macro to qnan_value.
1791         (MAX_VALUE_INIT): Rename macro to max_value.
1792         (MIN_VALUE_INIT): Rename macro to min_value.
1793         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
1794         (plus_zero): Remove variable.
1795         (minus_zero): Likewise.
1796         (plus_infty): Likewise.
1797         (minus_infty): Likewise.
1798         (qnan_value): Likewise.
1799         (max_value): Likewise.
1800         (min_value): Likewise.
1801         (min_subnorm_value): Likewise.
1803 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
1805         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
1806         uint64_t or uint32_t usage.
1807         * crypt/sha256-block.c: Likewise.
1808         * crypt/sha256-crypt.c: Likewise.
1809         * crypt/sha256.c: Likewise.
1810         * crypt/sha512-block.c: Likewise.
1811         * crypt/sha512-crypt.c: Likewise.
1812         * crypt/sha512.c: Likewise.
1813         * debug/backtrace-tst.c: Likewise.
1814         * debug/pcprofiledump.c: Likewise.
1815         * elf/cache.c: Likewise.
1816         * elf/dl-cache.c: Likewise.
1817         * elf/dl-misc.c: Likewise.
1818         * elf/dl-profile.c: Likewise.
1819         * elf/dl-support.c: Likewise.
1820         * elf/ldconfig.c: Likewise.
1821         * elf/sprof.c: Likewise.
1822         * iconv/dummy-repertoire.c: Likewise.
1823         * iconv/iconv_charmap.c: Likewise.
1824         * iconv/skeleton.c: Likewise.
1825         * iconvdata/8bit-generic.c: Likewise.
1826         * iconvdata/cp737.h: Likewise.
1827         * iconvdata/cp775.h: Likewise.
1828         * iconvdata/ibm1008.h: Likewise.
1829         * iconvdata/ibm1025.h: Likewise.
1830         * iconvdata/ibm1046.h: Likewise.
1831         * iconvdata/ibm1097.h: Likewise.
1832         * iconvdata/ibm1112.h: Likewise.
1833         * iconvdata/ibm1122.h: Likewise.
1834         * iconvdata/ibm1123.h: Likewise.
1835         * iconvdata/ibm1124.h: Likewise.
1836         * iconvdata/ibm1129.h: Likewise.
1837         * iconvdata/ibm1130.h: Likewise.
1838         * iconvdata/ibm1132.h: Likewise.
1839         * iconvdata/ibm1133.h: Likewise.
1840         * iconvdata/ibm1137.h: Likewise.
1841         * iconvdata/ibm1140.h: Likewise.
1842         * iconvdata/ibm1141.h: Likewise.
1843         * iconvdata/ibm1142.h: Likewise.
1844         * iconvdata/ibm1143.h: Likewise.
1845         * iconvdata/ibm1144.h: Likewise.
1846         * iconvdata/ibm1145.h: Likewise.
1847         * iconvdata/ibm1146.h: Likewise.
1848         * iconvdata/ibm1147.h: Likewise.
1849         * iconvdata/ibm1148.h: Likewise.
1850         * iconvdata/ibm1149.h: Likewise.
1851         * iconvdata/ibm1153.h: Likewise.
1852         * iconvdata/ibm1154.h: Likewise.
1853         * iconvdata/ibm1155.h: Likewise.
1854         * iconvdata/ibm1156.h: Likewise.
1855         * iconvdata/ibm1157.h: Likewise.
1856         * iconvdata/ibm1158.h: Likewise.
1857         * iconvdata/ibm1160.h: Likewise.
1858         * iconvdata/ibm1161.h: Likewise.
1859         * iconvdata/ibm1162.h: Likewise.
1860         * iconvdata/ibm1163.h: Likewise.
1861         * iconvdata/ibm1164.h: Likewise.
1862         * iconvdata/ibm1166.h: Likewise.
1863         * iconvdata/ibm1167.h: Likewise.
1864         * iconvdata/ibm12712.h: Likewise.
1865         * iconvdata/ibm1390.h: Likewise.
1866         * iconvdata/ibm1399.h: Likewise.
1867         * iconvdata/ibm16804.h: Likewise.
1868         * iconvdata/ibm4517.h: Likewise.
1869         * iconvdata/ibm4899.h: Likewise.
1870         * iconvdata/ibm4909.h: Likewise.
1871         * iconvdata/ibm4971.h: Likewise.
1872         * iconvdata/ibm5347.h: Likewise.
1873         * iconvdata/ibm803.h: Likewise.
1874         * iconvdata/ibm856.h: Likewise.
1875         * iconvdata/ibm901.h: Likewise.
1876         * iconvdata/ibm902.h: Likewise.
1877         * iconvdata/ibm9030.h: Likewise.
1878         * iconvdata/ibm9066.h: Likewise.
1879         * iconvdata/ibm921.h: Likewise.
1880         * iconvdata/ibm922.h: Likewise.
1881         * iconvdata/ibm9448.h: Likewise.
1882         * iconvdata/isiri-3342.h: Likewise.
1883         * iconvdata/jis0201.h: Likewise.
1884         * include/link.h: Likewise.
1885         * include/netdb.h: Likewise.
1886         * inet/check_native.c: Likewise.
1887         * inet/check_pf.c: Likewise.
1888         * inet/getipv4sourcefilter.c: Likewise.
1889         * inet/getnameinfo.c: Likewise.
1890         * inet/getsourcefilter.c: Likewise.
1891         * inet/htonl.c: Likewise.
1892         * inet/setipv4sourcefilter.c: Likewise.
1893         * inet/setsourcefilter.c: Likewise.
1894         * inet/test-inet6_opt.c: Likewise.
1895         * inet/tst-network.c: Likewise.
1896         * locale/C-collate.c: Likewise.
1897         * locale/C-ctype.c: Likewise.
1898         * locale/C-time.c: Likewise.
1899         * locale/C-translit.h: Likewise.
1900         * locale/loadarchive.c: Likewise.
1901         * locale/programs/3level.h: Likewise.
1902         * locale/programs/charmap.c: Likewise.
1903         * locale/programs/charmap.h: Likewise.
1904         * locale/programs/ld-address.c: Likewise.
1905         * locale/programs/ld-collate.c: Likewise.
1906         * locale/programs/ld-ctype.c: Likewise.
1907         * locale/programs/ld-identification.c: Likewise.
1908         * locale/programs/ld-measurement.c: Likewise.
1909         * locale/programs/ld-messages.c: Likewise.
1910         * locale/programs/ld-monetary.c: Likewise.
1911         * locale/programs/ld-name.c: Likewise.
1912         * locale/programs/ld-numeric.c: Likewise.
1913         * locale/programs/ld-paper.c: Likewise.
1914         * locale/programs/ld-telephone.c: Likewise.
1915         * locale/programs/ld-time.c: Likewise.
1916         * locale/programs/linereader.c: Likewise.
1917         * locale/programs/locale.c: Likewise.
1918         * locale/programs/locarchive.c: Likewise.
1919         * locale/programs/locfile.h: Likewise.
1920         * locale/programs/repertoire.c: Likewise.
1921         * locale/programs/simple-hash.c: Likewise.
1922         * locale/programs/simple-hash.h: Likewise.
1923         * malloc/memusage.c: Likewise.
1924         * malloc/memusagestat.c: Likewise.
1925         * nis/nis_defaults.c: Likewise.
1926         * nis/nis_hash.c: Likewise.
1927         * nis/nis_print.c: Likewise.
1928         * nis/nis_xdr.c: Likewise.
1929         * nscd/connections.c: Likewise.
1930         * nscd/hstcache.c: Likewise.
1931         * nscd/nscd_gethst_r.c: Likewise.
1932         * nscd/nscd_getserv_r.c: Likewise.
1933         * nscd/nscd_helper.c: Likewise.
1934         * nscd/servicescache.c: Likewise.
1935         * nss/makedb.c: Likewise.
1936         * nss/nss_db/db-XXX.c: Likewise.
1937         * nss/nss_db/db-initgroups.c: Likewise.
1938         * nss/nss_db/db-netgrp.c: Likewise.
1939         * nss/nss_files/files-network.c: Likewise.
1940         * nss/nss_files/files-parse.c: Likewise.
1941         * posix/bug-regex5.c: Likewise.
1942         * posix/fnmatch_loop.c: Likewise.
1943         * posix/regcomp.c: Likewise.
1944         * posix/regexec.c: Likewise.
1945         * posix/tst-rfc3484-2.c: Likewise.
1946         * posix/tst-rfc3484-3.c: Likewise.
1947         * posix/tst-rfc3484.c: Likewise.
1948         * resolv/nss_dns/dns-canon.c: Likewise.
1949         * resolv/nss_dns/dns-network.c: Likewise.
1950         * resolv/res_init.c: Likewise.
1951         * resolv/res_mkquery.c: Likewise.
1952         * resolv/tst-aton.c: Likewise.
1953         * stdlib/cxa_atexit.c: Likewise.
1954         * stdlib/cxa_finalize.c: Likewise.
1955         * stdlib/gen-fpioconst.c: Likewise.
1956         * stdlib/strtol_l.c: Likewise.
1957         * string/tst-endian.c: Likewise.
1958         * sunrpc/auth_des.c: Likewise.
1959         * sunrpc/clnt_udp.c: Likewise.
1960         * sunrpc/rtime.c: Likewise.
1961         * sunrpc/svcauth_des.c: Likewise.
1962         * sunrpc/xdr.c: Likewise.
1963         * sunrpc/xdr_intXX_t.c: Likewise.
1964         * sunrpc/xdr_rec.c: Likewise.
1965         * sysdeps/generic/ldconfig.h: Likewise.
1966         * sysdeps/generic/ldsodefs.h: Likewise.
1967         * sysdeps/generic/memusage.h: Likewise.
1968         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
1969         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
1970         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
1971         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
1972         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
1973         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
1974         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
1975         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
1976         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
1977         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
1978         * sysdeps/posix/getaddrinfo.c: Likewise.
1979         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
1980         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
1981         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
1982         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
1983         * sysdeps/powerpc/test-gettimebase.c: Likewise.
1984         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
1985         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
1986         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
1987         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
1988         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
1989         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
1990         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
1991         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
1992         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
1993         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
1994         * sysdeps/x86_64/dl-tls.h: Likewise.
1995         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
1996         * time/alt_digit.c: Likewise.
1997         * time/era.c: Likewise.
1998         * wcsmbs/tst-c16c32-1.c: Likewise.
2000 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
2002         * math/libm-test.inc (struct test_sincos_data): New type.
2003         (RUN_TEST_LOOP_sincos): New macro.
2004         (sincos_test_data): New variable.
2005         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
2007 2013-05-16  Richard Henderson  <rth@redhat.com>
2009         * math/atest-exp2.c (LIMB64): New macro.
2010         (CONSTSZ): New macro.
2011         (mp_exp1, mp_exp_m1, mp_log2): New variables.
2012         (hexdig): Move ...
2013         (print_mpn_fp): ... to function scope.
2014         (read_mpn_hex): Remove.
2015         (get_log2): Remove.
2016         (exp2_mpn): Use mp_log2.
2017         (main): Use mp_exp1.
2019 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
2021         * math/libm-test.inc: Remove comment about not testing "inexact"
2022         exceptions.
2023         (INEXACT_EXCEPTION): New macro.
2024         (NO_INEXACT_EXCEPTION): Likewise.
2025         (INVALID_EXCEPTION_OK): Update value.
2026         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
2027         (OVERFLOW_EXCEPTION_OK): Likewise.
2028         (UNDERFLOW_EXCEPTION_OK): Likewise.
2029         (IGNORE_ZERO_INF_SIGN): Likewise.
2030         (ERRNO_UNCHANGED): Likewise.
2031         (ERRNO_EDOM): Likewise.
2032         (ERRNO_ERANGE): Likewise.
2033         (test_exceptions): Handle testing "inexact" exceptions.
2034         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
2035         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
2036         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
2037         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
2038         INEXACT_EXCEPTION.
2039         (rint_towardzero_test_data): Likewise.
2040         (rint_downward_test_data): Likewise.
2041         (rint_upward_test_data): Likewise.
2043         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
2044         with OVERFLOW_EXCEPTION.
2045         (exp10_test_data): Likewise.
2046         (exp2_test_data): Likewise.
2047         (expm1_test_data): Likewise.
2048         (lgamma_test_data): Likewise.
2049         (pow_test_data): Likewise.
2050         (tgamma_test_data): Likewise.
2051         (yn_test_data): Remove duplicate test of overflow.
2053         * math/libm-test.inc (struct test_cc_c_data): New type.
2054         (RUN_TEST_LOOP_cc_c): New macro.
2055         (cpow_test_data): New variable.
2056         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
2058         * math/libm-test.inc (struct test_f_L_data): New type.
2059         (RUN_TEST_LOOP_f_L): New macro.
2060         (llrint_test_data): New variable.
2061         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
2062         (llrint_tonearest_test_data): New variable.
2063         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
2064         (llrint_towardzero_test_data): New variable.
2065         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
2066         (llrint_downward_test_data): New variable.
2067         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
2068         (llrint_upward_test_data): New variable.
2069         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
2070         (llround_test_data): New variable.
2071         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
2073 2013-05-13  Peter Collingbourne  <pcc@google.com>
2075         * math/atest-exp2.c (get_log2): Remove const attribute.
2077 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
2079         * math/libm-test.inc (struct test_f_l_data): New type.
2080         (RUN_TEST_LOOP_f_l): New macro.
2081         (lrint_test_data): New variable.
2082         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
2083         (lrint_tonearest_test_data): New variable.
2084         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
2085         (lrint_towardzero_test_data): New variable.
2086         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
2087         (lrint_downward_test_data): New variable.
2088         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
2089         (lrint_upward_test_data): New variable.
2090         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
2091         (lround_test_data): New variable.
2092         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
2094 2013-05-15  Peter Collingbourne  <pcc@google.com>
2096         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
2097         (EXTRACT_WORDS64) Use where appropriate.
2098         (INSERT_WORDS64) Likewise.
2100         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
2101         constraints with x constraints.
2102         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
2104         * malloc/obstack.c (_obstack_compat): Add initializer.
2106 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
2108         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
2109         si_trapno and add si_addr_lsb to _sifields.sigfault.
2110         (si_trapno): Remove macro.
2111         (si_addr_lsb): Define new macro.
2112         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
2114 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
2116         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
2117         instead of TEST_f_l.
2118         (llrint_test_tonearest): Likewise.
2119         (llrint_test_towardzero): Likewise.
2120         (llrint_test_downward): Likewise.
2121         (llrint_test_upward): Likewise.
2122         (llround_test): Likewise.
2124         * math/libm-test.inc (struct test_f_i_data): Add comment.
2125         (RUN_TEST_LOOP_f_b): New macro.
2126         (RUN_TEST_LOOP_f_b_tg): Likewise.
2127         (finite_test_data): New variable.
2128         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
2129         (isfinite_test_data): New variable.
2130         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
2131         (isinf_test_data): New variable.
2132         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
2133         (isnan_test_data): New variable.
2134         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
2135         (isnormal_test_data): New variable.
2136         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
2137         (issignaling_test_data): New variable.
2138         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
2139         (signbit_test_data): New variable.
2140         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
2142         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
2143         with INVALID_EXCEPTION.
2144         (acosh_test_data): Likewise.
2145         (asin_test_data): Likewise.
2146         (atanh_test_data): Likewise.
2147         (fmod_test_data): Likewise.
2148         (log_test_data): Likewise.
2149         (log10_test_data): Likewise.
2150         (log2_test_data): Likewise.
2151         (pow_test_data): Likewise.
2152         (sqrt_test_data): Likewise.
2153         (y0_test_data): Likewise.
2154         (y1_test_data): Likewise.
2155         (yn_test_data): Likewise.
2157         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
2158         function contents.
2160         * math/libm-test.inc (struct test_ff_i_data): New type.
2161         (RUN_TEST_LOOP_ff_i_tg): New macro.
2162         (isgreater_test_data): New variable.
2163         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
2164         (isgreaterequal_test_data): New variable.
2165         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
2166         (isless_test_data): New variable.
2167         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
2168         (islessequal_test_data): New variable.
2169         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
2170         (islessgreater_test_data): New variable.
2171         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
2172         (isunordered_test_data): New variable.
2173         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
2175 2013-05-14  David S. Miller  <davem@davemloft.net>
2177         * sysdeps/sparc/fpu/libm-test-ulps: Update.
2179 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
2181         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
2183         * math/libm-test.inc (struct test_fF_f1_data): Change type of
2184         extra_test to int.
2185         (struct test_f_i_data): Change type of max_ulp to int.
2187         * math/libm-test.inc (test_ffI_f1_data): New type.
2188         (RUN_TEST_LOOP_ffI_f1): New macro.
2189         (remquo_test_data): New variable.
2190         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
2192         * setjmp/tst-setjmp-fp.c: New file.
2193         * setjmp/Makefile (tests): Add tst-setjmp-fp.
2194         (link-libm): New variable.
2195         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
2197         * math/libm-test.inc (struct test_f_i_data): New type.
2198         (RUN_TEST_LOOP_f_i): New macro.
2199         (RUN_TEST_LOOP_f_i_tg): Likewise.
2200         (fpclassify_test_data): New variable.
2201         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
2202         (ilogb_test_data): New variable.
2203         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
2205         * math/libm-test.inc (scalbln_test): Correct function name in END
2206         call.
2208         * math/libm-test.inc (struct test_f_f1_data): Add comment.
2209         (RUN_TEST_LOOP_fI_f1): New macro.
2210         (frexp_test_data): New variable.
2211         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
2213         * math/libm-test.inc (struct test_fF_f1_data): New type.
2214         (RUN_TEST_LOOP_fF_f1): New macro.
2215         (modf_test_data): New variable.
2216         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
2218         * math/libm-test.inc (struct test_f_f1_data): New type.
2219         (RUN_TEST_LOOP_f_f1): New macro.
2220         (gamma_test_data): New variable.
2221         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
2222         (lgamma_test_data): New variable.
2223         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
2225 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
2227         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
2228         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
2229         (main): Comment "tls" pseudo-hwcap.
2231 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
2233         * math/libm-test.inc (struct test_fl_f_data): New type.
2234         (RUN_TEST_LOOP_fl_f): New variable.
2235         (scalbln_test_data): New variable.
2236         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
2238         * math/libm-test.inc (struct test_fi_f_data): New type.
2239         (RUN_TEST_LOOP_fi_f): New macro.
2240         (ldexp_test_data): New variable.
2241         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
2242         (scalbn_test_data): New variable.
2243         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
2245         * math/libm-test.inc (struct test_c_f_data): New type.
2246         (RUN_TEST_LOOP_c_f): New macro.
2247         (cabs_test_data): New variable.
2248         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
2249         (carg_test_data): New variable.
2250         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
2251         (cimag_test_data): New variable.
2252         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
2253         (creal_test_data): New variable.
2254         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
2256         * math/libm-test.inc (struct test_if_f_data): New type.
2257         (RUN_TEST_LOOP_if_f): New macro.
2258         (jn_test_data): New variable.
2259         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
2260         (yn_test_data): New variable.
2261         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
2263         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
2265 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2267         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
2268         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
2270 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
2272         * benchtests/Makefile (CPPFLAGS-nonlib): Add
2273         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
2274         (bench-deps): Add bench-timing.h.
2275         * benchtests-bench-skeleton.c: Include bench-timing.h.
2276         (main): Use TIMING_* macros instead of clock_gettime.
2277         * benchtests/bench-timing.h: New file.
2279         [BZ #14582]
2280         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
2281         Renamed from _LIB_VERSION.
2282         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
2284 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
2286         * math/libm-test.inc (struct test_fff_f_data): New type.
2287         (RUN_TEST_LOOP_fff_f): New macro.
2288         (fma_test_data): New variable.
2289         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
2290         (fma_towardzero_test_data): New variable.
2291         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
2292         (fma_downward_test_data): New variable.
2293         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
2294         (fma_upward_test_data): New variable.
2295         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
2297         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
2298         (struct test_c_c_data): New type.
2299         (RUN_TEST_LOOP_c_c): New macro.
2300         (cacos_test_data): New variable.
2301         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
2302         (cacosh_test_data): New variable.
2303         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
2304         (casin_test_data): New variable.
2305         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
2306         (casinh_test_data): New variable.
2307         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
2308         (catan_test_data): New variable.
2309         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
2310         (catanh_test_data): New variable.
2311         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
2312         (ccos_test_data): New variable.
2313         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
2314         (ccosh_test_data): New variable.
2315         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
2316         (cexp_test_data): New variable.
2317         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
2318         (clog_test_data): New variable.
2319         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
2320         (clog10_test_data): New variable.
2321         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
2322         (conj_test_data): New variable.
2323         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
2324         (cproj_test_data): New variable.
2325         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
2326         (csin_test_data): New variable.
2327         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
2328         (csinh_test_data): New variable.
2329         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
2330         (csqrt_test_data): New variable.
2331         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
2332         (ctan_test_data): New variable.
2333         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
2334         (ctan_tonearest_test_data): New variable.
2335         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
2336         (ctan_towardzero_test_data): New variable.
2337         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
2338         (ctan_downward_test_data): New variable.
2339         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
2340         (ctan_upward_test_data): New variable.
2341         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
2342         (ctanh_test_data): New variable.
2343         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
2344         (ctanh_tonearest_test_data): New variable.
2345         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
2346         (ctanh_towardzero_test_data): New variable.
2347         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
2348         (ctanh_downward_test_data): New variable.
2349         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
2350         (ctanh_upward_test_data): New variable.
2351         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
2352         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
2353         of BUILD_COMPLEX.
2355         * math/libm-test.inc (struct test_ff_f_data): New type.
2356         (struct test_ff_f_data_nexttoward): Likewise.
2357         (RUN_TEST_LOOP_2_f): New macro.
2358         (RUN_TEST_LOOP_ff_f): Likewise.
2359         (atan2_test_data): New variable.
2360         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
2361         (copysign_test_data): New variable.
2362         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
2363         (fdim_test_data): New variable.
2364         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
2365         (fmax_test_data): New variable.
2366         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
2367         (fmin_test_data): New variable.
2368         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
2369         (fmod_test_data): New variable.
2370         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
2371         (hypot_test_data): New variable.
2372         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
2373         (nextafter_test_data): New variable.
2374         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
2375         (nexttoward_test_data): New variable.
2376         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
2377         (pow_test_data): New variable.
2378         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
2379         (pow_tonearest_test_data): New variable.
2380         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
2381         (pow_towardzero_test_data): New variable.
2382         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
2383         (pow_downward_test_data): New variable.
2384         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
2385         (pow_upward_test_data): New variable.
2386         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
2387         (remainder_test_data): New variable.
2388         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
2389         (scalb_test_data): New variable.
2390         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
2391         * sysdeps/i386/fpu/libm-test-ulps: Update.
2393 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
2395         * math/libm-test.inc (fma_test): Use max_value instead of local
2396         variable fltmax.
2397         (nextafter_test): Likewise.
2399         * math/libm-test.inc (acos_towardzero_test_data): New variable.
2400         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
2401         (acos_downward_test_data): New variable.
2402         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
2403         (acos_upward_test_data): New variable.
2404         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
2405         (acosh_test_data): New variable.
2406         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
2407         (asin_test_data): New variable.
2408         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
2409         (asin_tonearest_test_data): New variable.
2410         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
2411         (asin_towardzero_test_data): New variable.
2412         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
2413         (asin_downward_test_data): New variable.
2414         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
2415         (asin_upward_test_data): New variable.
2416         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
2417         (asinh_test_data): New variable.
2418         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
2419         (atan_test_data): New variable.
2420         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
2421         (atanh_test_data): New variable.
2422         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
2423         (cbrt_test_data): New variable.
2424         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
2425         (ceil_test_data): New variable.
2426         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
2427         (cos_test_data): New variable.
2428         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
2429         (cos_tonearest_test_data): New variable.
2430         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
2431         (cos_towardzero_test_data): New variable.
2432         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
2433         (cos_downward_test_data): New variable.
2434         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
2435         (cos_upward_test_data): New variable.
2436         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
2437         (cosh_test_data): New variable.
2438         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
2439         (cosh_tonearest_test_data): New variable.
2440         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
2441         (cosh_towardzero_test_data): New variable.
2442         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
2443         (cosh_downward_test_data): New variable.
2444         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
2445         (cosh_upward_test_data): New variable.
2446         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
2447         (erf_test_data): New variable.
2448         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
2449         (erfc_test_data): New variable.
2450         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
2451         (exp_test_data): New variable.
2452         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
2453         (exp_tonearest_test_data): New variable.
2454         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
2455         (exp_towardzero_test_data): New variable.
2456         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
2457         (exp_downward_test_data): New variable.
2458         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
2459         (exp_upward_test_data): New variable.
2460         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
2461         (exp10_test_data): New variable.
2462         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
2463         (exp2_test_data): New variable.
2464         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
2465         (expm1_test_data): New variable.
2466         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
2467         (fabs_test_data): New variable.
2468         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
2469         (floor_test_data): New variable.
2470         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
2471         (j0_test_data): New variable.
2472         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
2473         (j1_test_data): New variable.
2474         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
2475         (log_test_data): New variable.
2476         (log_test): Run tests with RUN_TEST_LOOP_f_f.
2477         (log10_test_data): New variable.
2478         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
2479         (log1p_test_data): New variable.
2480         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
2481         (log2_test_data): New variable.
2482         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
2483         (logb_test_data): New variable.
2484         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
2485         (logb_downward_test_data): New variable.
2486         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
2487         (nearbyint_test_data): New variable.
2488         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
2489         (rint_test_data): New variable.
2490         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
2491         (rint_tonearest_test_data): New variable.
2492         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
2493         (rint_towardzero_test_data): New variable.
2494         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
2495         (rint_downward_test_data): New variable.
2496         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
2497         (rint_upward_test_data): New variable.
2498         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
2499         (round_test_data): New variable.
2500         (round_test): Run tests with RUN_TEST_LOOP_f_f.
2501         (sin_test_data): New variable.
2502         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
2503         (sin_tonearest_test_data): New variable.
2504         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
2505         (sin_towardzero_test_data): New variable.
2506         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
2507         (sin_downward_test_data): New variable.
2508         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
2509         (sin_upward_test_data): New variable.
2510         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
2511         (sinh_test_data): New variable.
2512         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
2513         (sinh_tonearest_test_data): New variable.
2514         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
2515         (sinh_towardzero_test_data): New variable.
2516         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
2517         (sinh_downward_test_data): New variable.
2518         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
2519         (sinh_upward_test_data): New variable.
2520         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
2521         (sqrt_test_data): New variable.
2522         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
2523         (tan_test_data): New variable.
2524         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
2525         (tan_tonearest_test_data): New variable.
2526         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
2527         (tan_towardzero_test_data): New variable.
2528         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
2529         (tan_downward_test_data): New variable.
2530         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
2531         (tan_upward_test_data): New variable.
2532         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
2533         (tanh_test_data): New variable.
2534         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
2535         (tgamma_test_data): New variable.
2536         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
2537         (trunc_test_data): New variable.
2538         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
2539         (y0_test_data): New variable.
2540         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
2541         (y1_test_data): New variable.
2542         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
2543         (significand_test_data): New variable.
2544         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
2546 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
2548         [BZ #12387]
2549         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
2551 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
2553         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
2555 2013-05-10  Andreas Jaeger  <aj@suse.de>
2557         [BZ #15448]
2558         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
2559         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
2561 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
2563         * math/gen-libm-test.pl (adjust_arg): New function.
2564         (special_functions): Handle generating output in both functions
2565         and arrays.
2566         (parse_args): Likewise.
2567         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
2568         $in_func argument to parse_args.
2569         * math/libm-test.inc (struct test_f_f_data): New type.
2570         (IF_ROUND_INIT_): New macro.
2571         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
2572         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
2573         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
2574         (IF_ROUND_INIT_FE_UPWARD): Likewise.
2575         (ROUND_RESTORE_): Likewise.
2576         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
2577         (ROUND_RESTORE_FE_TONEAREST): Likewise.
2578         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
2579         (ROUND_RESTORE_FE_UPWARD): Likewise.
2580         (RUN_TEST_LOOP_f_f): New macro.
2581         (acos_test_data): New variable.
2582         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
2583         (acos_tonearest_test_data): New variable.
2584         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
2586 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
2588         * benchtests/bench-skeleton.c (startup): Fix coding style.
2590 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
2592         [BZ #6809]
2593         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
2594         negative infinity argument.
2595         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
2596         negative infinity argument.
2597         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
2598         negative infinity argument.
2599         * math/libm-test.inc (tgamma_test): Expect errno to be set for
2600         domain errors.
2602 2013-05-10  Florian Weimer  <fweimer@redhat.com>
2604         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
2605         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
2606         * iconv/iconv_prog.c (main): Likewise.
2607         * locale/programs/charmap-dir.c (charmap_readdir)
2608         (fopen_uncompressed): Likewise.
2609         * locale/programs/locfile.c (siblings_uncached)
2610         (write_locale_data): Use lstat64 instead of lstat.
2611         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
2612         stat.
2614 2013-05-10  Andreas Jaeger  <aj@suse.de>
2616         [BZ #15395]
2617         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
2618         localization.
2619         Include <locale.h>.
2621 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
2623         * elf/dl-close.c (_dl_close_worker): Add comments.
2625 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
2627         [BZ #15359]
2628         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
2629         high part of pi/2.
2630         (__ieee754_rem_pio2l): Update comments.
2632         [BZ #15429]
2633         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
2634         high part of pi/2.
2635         (__ieee754_rem_pio2l): Update comments.
2637         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
2638         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
2640         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
2641         M_PI_4l.
2643         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
2644         (M_PI_34_LOG10El): Likewise.
2645         (M_PI2_LOG10El): Likewise.
2646         (M_PI4_LOG10El): Likewise.
2647         (M_PI_LOG10El): Likewise.
2649 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2651         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2653 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
2655         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
2656         (MINUS_ZERO_INIT): Likewise.
2657         (PLUS_INFTY_INIT): Likewise.
2658         (MINUS_INFTY_INIT): Likewise.
2659         (QNAN_VALUE_INIT): Likewise.
2660         (MAX_VALUE_INIT): Likewise.
2661         (MIN_VALUE_INIT): Likewise.
2662         (MIN_SUBNORM_VALUE_INIT): Likewise.
2663         (plus_zero): Initialize with PLUS_ZERO_INIT.
2664         (minus_zero): Initialize with MINUS_ZERO_INIT.
2665         (plus_infty): Initialize with PLUS_INFTY_INIT.
2666         (minus_infty): Initialize with MINUS_INFTY_INIT.
2667         (qnan_value): Initialize with QNAN_VALUE_INIT.
2668         (max_value): Initialize with MAX_VALUE_INIT.
2669         (min_value): Initialize with MIN_VALUE_INIT.
2670         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
2672         * math/libm-test.inc (RUN_TEST_if_f): New macro.
2673         (jn_test): Use TEST_if_f instead of TEST_ff_f.
2674         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
2675         (yn_test): Use TEST_if_f instead of TEST_ff_f.
2677         * math/libm-test.inc (RUN_TEST_f_f): New macro.
2678         (RUN_TEST_2_f): Likewise.
2679         (RUN_TEST_ff_f): Likewise.
2680         (RUN_TEST_fi_f): Likewise.
2681         (RUN_TEST_fl_f): Likewise.
2682         (RUN_TEST_fff_f): Likewise.
2683         (RUN_TEST_c_f): Likewise.
2684         (RUN_TEST_f_f1): Likewise.
2685         (RUN_TEST_fF_f1): Likewise.
2686         (RUN_TEST_fI_f1): Likewise.
2687         (RUN_TEST_ffI_f1): Likewise.
2688         (RUN_TEST_c_c): Likewise.
2689         (RUN_TEST_cc_c): Likewise.
2690         (RUN_TEST_f_i): Likewise.
2691         (RUN_TEST_f_i_tg): Likewise.
2692         (RUN_TEST_ff_i_tg): Likewise.
2693         (RUN_TEST_f_b): Likewise.
2694         (RUN_TEST_f_b_tg): Likewise.
2695         (RUN_TEST_f_l): Likewise.
2696         (RUN_TEST_f_L): Likewise.
2697         (RUN_TEST_sincos): Likewise.
2698         * math/gen-libm-test.pl (new_test): Take new argument to indicate
2699         whether to show exceptions.  Do not include ");\n" in return
2700         value.
2701         (special_functions): Output call to RUN_TEST_sincos instead of
2702         check_float calls.  Update calls to new_test.
2703         (parse_args): Output call to single RUN_TEST_* macro instead of
2704         check_* calls and other assignments.  Update calls to new_test.
2706         [BZ #2546]
2707         [BZ #2560]
2708         [BZ #5159]
2709         [BZ #15426]
2710         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
2711         input to result for tgamma overflow.
2712         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
2713         (gamma_coeff): New variable.
2714         (NCOEFF): New macro.
2715         (gamma_positive): New function.
2716         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
2717         underflow here.  Use gamma_positive instead of exp (lgamma) for
2718         other arguments.
2719         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
2720         (gamma_coeff): New variable.
2721         (NCOEFF): New macro.
2722         (gammaf_positive): New function.
2723         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
2724         underflow here.  Use gamma_positive instead of exp (lgamma) for
2725         other arguments.
2726         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
2727         (gamma_coeff): New variable.
2728         (NCOEFF): New macro.
2729         (gammal_positive): New function.
2730         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
2731         underflow here.  Use gamma_positive instead of exp (lgamma) for
2732         other arguments.
2733         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
2734         (gamma_coeff): New variable.
2735         (NCOEFF): New macro.
2736         (gammal_positive): New function.
2737         (__ieee754_gammal_r): Handle positive infinity, overflow and
2738         underflow here.  Handle NaN the same as positive infinity.  Remove
2739         check x < 0xffffffff for negative integers.  Use gamma_positive
2740         instead of exp (lgamma) for other arguments.
2741         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
2742         (gamma_coeff): New variable.
2743         (NCOEFF): New macro.
2744         (gammal_positive): New function.
2745         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
2746         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
2747         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
2748         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
2749         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
2750         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
2751         * sysdeps/generic/math_private.h (__gamma_productf): New
2752         prototype.
2753         (__gamma_product): Likewise.
2754         (__gamma_productl): Likewise.
2755         * math/Makefile (libm-calls): Add gamma_product.
2756         * math/libm-test.inc (tgamma_test): Add more tests.
2757         * sysdeps/i386/fpu/libm-test-ulps: Update.
2758         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2760 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
2762         * benchtests/bench-skeleton.c (main): Preheat CPU.
2764 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
2766         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
2768 2013-05-07  Roland McGrath  <roland@hack.frob.com>
2770         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
2771         and _dl_skip_args_internal.
2773 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
2775         * manual/message.texi (Message Translation): Talk about users.
2776         Message to key mapping impacts design.
2778 2013-05-06  Roland McGrath  <roland@hack.frob.com>
2780         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
2782         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
2784         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
2785         * sysdeps/wordsize-64/glob64.c: ... here.
2787         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
2788         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
2789         New macros.
2791         * debug/getlogin_r_chk.c: Moved to ...
2792         * login/getlogin_r_chk.c: ... here.
2793         * debug/Makefile (routines): Move getlogin_r_chk to ...
2794         * login/Makefile (routines): ... here.
2795         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
2796         * login/Versions (libc: GLIBC_2.4): ... here.
2798         * io/poll.c (__poll): Renamed from poll.
2799         Add libc_hidden_def.
2800         (poll): Define as weak alias.
2802         * debug/ptsname_r_chk.c: Moved to ...
2803         * login/ptsname_r_chk.c: ... here.
2804         * debug/Makefile (routines): Move ptsname_r_chk to ...
2805         * login/Makefile (routines): ... here.
2806         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
2807         * login/Versions (libc: GLIBC_2.4): ... here.
2809         * posix/getlogin.c: Moved to ...
2810         * login/getlogin.c: ... here.
2811         * posix/getlogin_r.c: Moved to ...
2812         * login/getlogin_r.c: ... here.
2813         * posix/getlogin_r.c: Moved to ...
2814         * login/getlogin_r.c: ... here.
2815         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
2816         * login/Makefile (routines): ... here.
2817         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
2818         * login/Versions (libc: GLIBC_2.0): ... here.
2820         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
2821         (setrlimit): Define as weak alias.
2823         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
2824         Call __ names for open, ftruncate, and close.
2825         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
2826         (truncate): Define as weak alias.
2828 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
2830         * math/gen-libm-test.pl (parse_args): Initialize x before each
2831         test of frexp, modf and remquo.
2833         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
2834         test signgam value.
2836 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2838         [BZ #15418]
2839         [BZ #15419]
2840         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
2841         internal tests.
2842         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
2844 2013-05-06  Roland McGrath  <roland@hack.frob.com>
2846         * elf/dl-writev.h: New file.
2847         * elf/dl-misc.c: Include it.
2848         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
2849         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
2851 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
2853         * math/libm-test.inc (noXFails): Remove variable.
2854         (noXPasses): Likewise.
2855         (BUILD_COMPLEX_INT): Remove macro.
2856         (print_screen): Remove xfail argument.
2857         (print_screen_max_error): Likewise.
2858         (update_stats): Likewise.
2859         (print_max_error): Likewise.  Update calls to other affected
2860         functions.
2861         (print_complex_max_error): Likewise.
2862         (test_single_exception): Update calls to print_screen.
2863         (test_single_errno): Likewise.
2864         (check_float_internal): Remove xfail argument.  Update calls to
2865         other affected functions.
2866         (check_float): Likewise.
2867         (check_complex): Likewise.
2868         (check_int): Likewise.
2869         (check_long): Likewise.
2870         (check_bool): Likewise.
2871         (check_longlong): Likewise.
2872         (main): Don't print noXFails and noXPasses.
2873         * math/gen-libm-test.pl (top level): Don't mention expected
2874         failure handling in comment.
2875         (new_test): Don't handle expected failures.
2876         (parse_args): Don't mention expected failure handling in comment.
2877         (generate_testfile): Don't handle expected failures.
2878         (parse_ulps): Likewise.
2879         (print_ulps_file): Likewise.
2880         (get_failure): Remove function.
2881         (output_test): Don't handle expected failures.
2882         * make/README.libm-test: Don't mention expected failure handling.
2884         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
2885         (minus_zero): Likewise.
2886         (plus_infty): Likewise.
2887         (minus_infty): Likewise.
2888         (qnan_value): Likewise.
2889         (max_value): Likewise.
2890         (min_value): Likewise.
2891         (min_subnorm_value): Likewise.
2892         (initialize): Do not initialize those variables dynamically.
2894 2013-05-03  Roland McGrath  <roland@hack.frob.com>
2896         * io/open.c (__open_2): Moved to ...
2897         * io/open_2.c: ... this new file.
2898         * io/open64.c (__open64_2): Moved to ...
2899         * io/open64_2.c: ... this new file.
2900         * io/openat.c (__openat_2): Moved to ...
2901         * io/openat_2.c: ... this new file.
2902         * io/openat64.c (__openat64_2): Moved to ...
2903         * io/openat64_2.c: ... this new file.
2904         * io/Makefile (routines): Add them.
2905         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
2906         * sysdeps/unix/sysv/linux/open_2.c: File removed.
2907         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
2908         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
2909         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
2910         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
2911         (__openat64): Add hidden_ver.
2912         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
2913         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
2915         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
2916         Separately conditionalize setting of GLRO(dl_sysinfo) so
2917         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
2918         as well, but the actual setting is only under [NEED_DL_SYSINFO].
2920 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2922         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
2923         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
2924         definition.
2925         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
2926         * sysdeps/unix/sysv/linux/powerpc/init-first.c
2927         (_libc_vdso_platform_setup): Add __vdso_time initialization.
2928         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
2929         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
2931 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
2933         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
2934         test signgam value.
2936         * math/libm-test.inc (hypot_test): Do not use
2937         IGNORE_ZERO_INF_SIGN.
2939 2013-05-03  Andreas Jaeger  <aj@suse.de>
2941         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
2942         Linux 3.9.
2943         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
2944         (PF_MAX): Adjust for VSOCK change.
2946 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2948         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2950 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
2952         [BZ #15264]
2953         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
2954         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
2955         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
2957 2013-05-02  David S. Miller  <davem@davemloft.net>
2959         * sysdeps/sparc/fpu/libm-test-ulps: Update.
2961 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
2963         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
2965 2013-05-01  Roland McGrath  <roland@hack.frob.com>
2967         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
2969 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
2971         [BZ #14952]
2972         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
2973         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
2974         Use __attribute__ ((__gnu_inline__)).
2975         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
2976         Don't use __attribute__ ((__gnu_inline__)).
2978 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
2980         [BZ #15423]
2981         * math/s_catan.c (__catan): Handle small real or imaginary part of
2982         input specially to avoid spurious underflow.
2983         * math/s_catanf.c (__catanf): Likewise.
2984         * math/s_catanh.c (__catanh): Likewise.
2985         * math/s_catanhf.c (__catanhf): Likewise.
2986         * math/s_catanhl.c (__catanhl): Likewise.
2987         * math/s_catanl.c (__catanl): Likewise.
2988         * math/libm-test.inc (catan_test): Add more tests.
2989         (catanh_test): Likewise.
2990         * sysdeps/i386/fpu/libm-test-ulps: Update.
2991         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2993 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2995         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2997 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
2999         [BZ #15416]
3000         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
3001         accurately for denominator in atan2.
3002         * math/s_catanf.c (__catanf): Likewise.
3003         * math/s_catanh.c (__catanh): Likewise.
3004         * math/s_catanhf.c (__catanhf): Likewise.
3005         * math/s_catanhl.c (__catanhl): Likewise.
3006         * math/s_catanl.c (__catanl): Likewise.
3007         * math/libm-test.inc (catan_test): Add more tests.
3008         (catanh_test): Likewise.
3009         * sysdeps/i386/fpu/libm-test-ulps: Update.
3010         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3012 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
3014         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
3016         * benchtests/Makefile (bench): Remove slow benchmarks.
3017         * benchtests/atan-inputs: Add slow benchmark inputs.
3018         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
3019         (BENCH_FUNC): Accept variant offset.
3020         (VARIANT): Define.
3021         * benchtests/bench-skeleton.c (main): Run benchmark for each
3022         variant.
3023         * benchtests/cos-inputs: Add slow benchmark inputs.
3024         * benchtests/exp-inputs: Likewise.
3025         * benchtests/pow-inputs: Likewise.
3026         * benchtests/sin-inputs: Likewise.
3027         * benchtests/slowatan-inputs: Remove.
3028         * benchtests/slowatan.c: Remove.
3029         * benchtests/slowcos-inputs: Remove.
3030         * benchtests/slowcos.c: Remove.
3031         * benchtests/slowexp-inputs: Remove.
3032         * benchtests/slowexp.c: Remove.
3033         * benchtests/slowpow-inputs: Remove.
3034         * benchtests/slowpow.c: Remove.
3035         * benchtests/slowsin-inputs: Remove.
3036         * benchtests/slowsin.c: Remove.
3037         * benchtests/slowtan-inputs: Remove.
3038         * benchtests/slowtan.c: Remove.
3039         * benchtests/tan-inputs: Add slow benchmark inputs.
3040         * scripts/bench.pl: Parse comments and directives.
3042         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
3043         in CPPFLAGS.
3044         ($(objpfx)bench-%.c): Remove *-ITER.
3045         * benchtests/bench-modf.c: Remove definition of ITER.
3046         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
3047         (main): Loop for DURATION seconds instead of fixed number of
3048         iterations.
3049         * scripts/bench.pl: Don't expect iterations in parameters.
3051 2013-04-29  Roland McGrath  <roland@hack.frob.com>
3053         * io/fchdir.c (__fchdir): Renamed from fchdir.
3054         (fchdir): Define as weak alias.
3056 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
3058         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
3059         (ERRNO_EDOM): Likewise.
3060         (ERRNO_ERANGE): Likewise.
3061         (noErrnoTests): New variable.
3062         (init_max_error): Set errno to 0.
3063         (test_single_errno): New function.
3064         (test_errno): Likewise.
3065         (check_float_internal): Call test_errno.  Set errno to 0.
3066         (check_complex): Refer to errno tests in comment.
3067         (check_int): Call test_errno.  Set errno to 0.
3068         (check_long): Likewise.
3069         (check_bool): Likewise.
3070         (check_longlong): Likewise.
3071         (cos_test): Use ERRNO_* flags for errno tests instead of
3072         check_int.
3073         (expm1_test): Likewise.
3074         (fmod_test): Likewise.
3075         (ilogb_test): Likewise.
3076         (lgamma_test): Likewise.
3077         (pow_test): Likewise.
3078         (remainder_test): Likewise.
3079         (sin_test): Likewise.
3080         (tan_test): Likewise.
3081         (yn_test): Likewise.
3082         (initialize): Set errno to 0.
3083         (main): Print number of errno tests.
3084         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
3086 2013-04-29  Andreas Jaeger  <aj@suse.de>
3088         [BZ #15084]
3089         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
3090         and RES_USEVC.
3092         [BZ #15085]
3093         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
3094         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
3095         unimplemented.
3097         [BZ #15380]
3098         * stdlib/random.c (__initstate): Return NULL if
3099         __initstate fails.
3101         [BZ #15086]
3102         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
3103         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
3104         RES_SNGLKUPREOP.
3106 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3108         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3110 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
3112         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
3113         of individual tests.
3114         (casin_test): Likewise.
3115         (casinh_test): Likewise.
3117 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
3119         [BZ #15409]
3120         * math/s_catan.c (__catan): Handle arguments with large real or
3121         imaginary part separately without squaring.
3122         * math/s_catanf.c (__catanf): Likewise.
3123         * math/s_catanh.c (__catanh): Likewise.
3124         * math/s_catanhf.c (__catanhf): Likewise.
3125         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
3126         and redefine.
3127         (__catanhl): Handle arguments with large real or imaginary part
3128         separately without squaring.
3129         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
3130         and redefine.
3131         (__catanl): Handle arguments with large real or imaginary part
3132         separately without squaring.
3133         * math/libm-test.inc (catan_test): Add more tests.
3134         (catanh_test): Likewise.
3135         * sysdeps/i386/fpu/libm-test-ulps: Update.
3136         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3138 2013-04-27  Andreas Jaeger  <aj@suse.de>
3140         [BZ #15007]
3141         * stdlib/stdlib.h: Update guards for qecvt.
3142         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
3143         <stdlib.h>.
3145 2013-04-27  Allan McRae  <allan@archlinux.org>
3147         * sysdeps/i386/fpu/libm-test-ulps: Update.
3149 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
3151         [BZ #15406]
3152         * math/s_catan.c: Include <float.h>.
3153         (__catan): Ensure underflow exception occurs for underflowed
3154         result.
3155         * math/s_catanf.c: Include <float.h>.
3156         (__catanf): Ensure underflow exception occurs for underflowed
3157         result.
3158         * math/s_catanh.c: Include <float.h>.
3159         (__catanh): Ensure underflow exception occurs for underflowed
3160         result.
3161         * math/s_catanhf.c: Include <float.h>.
3162         (__catanhf): Ensure underflow exception occurs for underflowed
3163         result.
3164         * math/s_catanhl.c: Include <float.h>.
3165         (__catanhl): Ensure underflow exception occurs for underflowed
3166         result.
3167         * math/s_catanl.c: Include <float.h>.
3168         (__catanl): Ensure underflow exception occurs for underflowed
3169         result.
3170         * math/libm-test.inc (catan_test): Add more tests.
3171         (catanh_test): Likewise.
3173         [BZ #15405]
3174         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
3175         underflowed result.
3176         * math/s_ccoshf.c (__ccoshf): Likewise.
3177         * math/s_ccoshl.c (__ccoshl): Likewise.
3178         * math/s_csin.c (__csin): Likewise.
3179         * math/s_csinf.c (__csinf): Likewise.
3180         * math/s_csinh.c (__csinh): Likewise.
3181         * math/s_csinhf.c (__csinhf): Likewise.
3182         * math/s_csinhl.c (__csinhl): Likewise.
3183         * math/s_csinl.c (__csinl): Likewise.
3184         * math/libm-test.inc (ccos_test): Add more tests.
3185         (ccosh_test): Likewise.
3186         (csin_test): Likewise.
3187         (csinh_test): Likewise.
3189 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3191         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
3192         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
3193         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
3194         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
3195         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
3196         powerpc/power5+/fpu folders.
3197         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
3200 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
3202         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3204 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
3206         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
3207         additions to variable.
3208         [$(config-machine) = x86_64] (modules-names): Likewise.
3209         ($(objpfx)tst-audit3): Remove dependency.
3210         ($(objpfx)tst-audit3.out): Likewise.
3211         ($(objpfx)tst-audit4): Likewise.
3212         ($(objpfx)tst-audit4.out): Likewise.
3213         ($(objpfx)tst-audit5): Likewise.
3214         ($(objpfx)tst-audit5.out): Likewise.
3215         ($(objpfx)tst-audit6): Likewise.
3216         ($(objpfx)tst-audit6.out): Likewise.
3217         ($(objpfx)tst-audit7): Likewise.
3218         ($(objpfx)tst-audit7.out): Likewise.
3219         (tst-audit3-ENV): Remove variable.
3220         (tst-audit4-ENV): Likewise.
3221         (tst-audit5-ENV): Likewise.
3222         (tst-audit6-ENV): Likewise.
3223         (tst-audit7-ENV): Likewise.
3224         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
3225         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
3226         addition to variable.
3227         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
3228         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
3229         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
3230         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
3231         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
3232         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
3233         tst-audit3, tst-audit4 and tst-audit5.
3234         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
3235         tst-audit6 and tst-audit7.
3236         [$(subdir) = elf] (modules-names): Add audit modules for those
3237         tests.
3238         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
3239         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
3240         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
3241         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
3242         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
3243         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
3244         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
3245         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
3246         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
3247         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
3248         [$(subdir) = elf] (tst-audit3-ENV): New variable.
3249         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
3250         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
3251         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
3252         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
3253         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
3254         Likewise.
3255         [$(subdir) = elf && $(config-cflags-avx) = yes]
3256         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
3257         [$(subdir) = elf && $(config-cflags-avx) = yes]
3258         (CFLAGS-tst-auditmod4a.c): Likewise.
3259         [$(subdir) = elf && $(config-cflags-avx) = yes]
3260         (CFLAGS-tst-auditmod4b.c): Likewise.
3261         [$(subdir) = elf && $(config-cflags-avx) = yes]
3262         (CFLAGS-tst-auditmod6b.c): Likewise.
3263         [$(subdir) = elf && $(config-cflags-avx) = yes]
3264         (CFLAGS-tst-auditmod6c.c): Likewise.
3265         [$(subdir) = elf && $(config-cflags-avx) = yes]
3266         (CFLAGS-tst-auditmod7b.c): Likewise.
3267         * elf/tst-audit3.c: Move to ...
3268         * sysdeps/x86_64/tst-audit3.c: ... here.
3269         * elf/tst-audit4.c: Move to ...
3270         * sysdeps/x86_64/tst-audit4.c: ... here.
3271         * elf/tst-audit5.c: Move to ...
3272         * sysdeps/x86_64/tst-audit5.c: ... here.
3273         * elf/tst-audit6.c: Move to ...
3274         * sysdeps/x86_64/tst-audit6.c: ... here.
3275         * elf/tst-audit7.c: Move to ...
3276         * sysdeps/x86_64/tst-audit7.c: ... here.
3277         * elf/tst-auditmod3a.c: Move to ...
3278         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
3279         * elf/tst-auditmod3b.c: Move to ...
3280         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
3281         * elf/tst-auditmod4a.c: Move to ...
3282         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
3283         * elf/tst-auditmod4b.c: Move to ...
3284         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
3285         * elf/tst-auditmod5a.c: Move to ...
3286         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
3287         * elf/tst-auditmod5b.c: Move to ...
3288         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
3289         * elf/tst-auditmod6a.c: Move to ...
3290         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
3291         * elf/tst-auditmod6b.c: Move to ...
3292         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
3293         * elf/tst-auditmod6c.c: Move to ...
3294         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
3295         * elf/tst-auditmod7a.c: Move to ...
3296         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
3297         * elf/tst-auditmod7b.c: Move to ...
3298         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
3300 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
3302         [BZ #15366]
3303         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
3304         define unconditionally.
3305         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
3306         define unconditionally.
3307         (INT8_C, INT16_C, etc.): Likewise.
3309 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
3311         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
3312         __ehdr_start with hidden visibility.
3314         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
3316 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
3318         * math/libm-test.inc (cos_test): Use accurate hex constants.
3319         (sincost_test): Likewise.
3321 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
3323         * math/libm-test.inc (catan_test): Add more tests.
3324         (catanh_test): Likewise.
3326         * math/s_catanf.c (__catanf): Use suffixed floating-point
3327         constants.
3328         * math/s_catanhf.c (__catanhf): Likewise.
3329         * math/s_catanhl.c (__catanhl): Likewise.
3330         * math/s_catanl.c (__catanl): Likewise.
3332         [BZ #15394]
3333         * math/s_catan.c (__catan): Calculate imaginary part of result
3334         with log1p not log unless computing log of number close to 0.
3335         * math/s_catanf.c (__catanf): Likewise.
3336         * math/s_catanl.c (__catanl): Likewise.
3337         * math/s_catanh.c (__catanh): Calculate real part of result with
3338         log1p not log unless computing log of number close to 0.
3339         * math/s_catanhf.c (__catanhf): Likewise.
3340         * math/s_catanhl.c (__catanhl): Likewise.
3341         * math/libm-test.inc (catan_test): Add more tests.
3342         (catanh_test): Likewise.
3343         * sysdeps/i386/fpu/libm-test-ulps: Update.
3344         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3346 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
3348         * benchtests/Makefile: Mention files in which fast and slow
3349         paths of math functions are implemented.
3351 2013-04-23  Roland McGrath  <roland@hack.frob.com>
3353         * sysdeps/posix/timespec_get.c: New file.
3355 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3357         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
3358         POWER.
3359         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
3360         for POWER.
3361         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
3362         powerpc/power5/fpu folders.
3363         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
3364         * benchtests/Makefile: Add modf testcase.
3365         * benchtests/bench-modf.c: New file: Benchmark test for mo
3367 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
3369         [BZ #14888]
3370         * time/Makefile (tests): Add tst-strptime-whitespace.
3371         * time/strptime_l.c (get_number): Use ISSPACE.
3372         (__strptime_internal): Likewise.
3373         * time/tst-strptime-whitespace.c: New test case.
3375 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
3377         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
3378         member.
3379         (_nss_files_init): Set it here.
3381 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
3383         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
3384         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
3385         unsigned.
3387 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
3389         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
3391 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
3393         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
3394         size just once.
3396 2013-04-21  David S. Miller  <davem@davemloft.net>
3398         * po/ru.po: Update Russion translation from translation project.
3400 2013-04-17  Adam Conrad  <adconrad@0c3.net>
3402         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
3403         and setfsgid.
3405 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
3407         * configure.in: Remove i386 configure warning. Remove i386 case.
3408         * configure: Regenerate.
3409         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
3410         Add example to error message.
3411         * sysdeps/i386/configure: Regenerate.
3413 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
3415         * benchtests/Makefile (bench): Add cos, tan, slowcos and
3416         slowtan.
3417         * benchtests/cos-inputs: New file.
3418         * benchtests/slowcos-inputs: New file.
3419         * benchtests/slowcos.c: New file.
3420         * benchtests/slowtan-inputs: New file.
3421         * benchtests/slowtan.c: New file.
3422         * benchtests/tan-inputs: New file.
3424 2013-04-16  Roland McGrath  <roland@hack.frob.com>
3426         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
3427         considered kosher.
3429 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
3431         * benchtests/Makefile: Include cppflags-iterator.mk to add
3432         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
3434         * Makefile.in (bench-clean): New target.
3435         * benchtests/Makefile (bench-clean): Likewise.
3437 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
3439         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
3441 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
3443         * stdio-common/tstdiomisc.c: Fix coding-style violation.
3445 2013-04-15  Andreas Schwab  <schwab@suse.de>
3447         * nscd/grpcache.c (cache_addgr): Properly check for short write.
3448         * nscd/initgrcache.c (addinitgroupsX): Likewise.
3449         * nscd/pwdcache.c (cache_addpw): Likewise.
3450         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
3451         more than recsize.
3453 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
3455         * benchtests/Makefile (bench): Write all output to
3456         bench-out.tmp together.
3458 2013-04-15  Andreas Schwab  <schwab@suse.de>
3460         * nscd/nscd.c (main): Don't fork again after closing files.
3462 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
3464         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
3466         * benchtests/Rules (bench-deps): Collect dependencies into a
3467         single variable.  Add Makefile to dependencies.
3468         ($(objpfx)bench-%.c): Depend on bench-deps.
3470 2013-04-12  Roland McGrath  <roland@hack.frob.com>
3471             Xavier Roche  <roche+kml2@exalead.com>
3473         [BZ #15361]
3474         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
3475         just that it's a file descriptor.
3476         * manual/llio.texi (Synchronizing AIO Operations): Update description
3477         for EBADF error from aio_fsync.
3479 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
3481         * Rules (bench): Move target definition...
3482         * benchtests/Makefile: ... here.
3484 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
3486         * math/libm-test.inc (cos_test): Fix PI/2 test.
3487         (sincos_test): Likewise.
3488         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
3489         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
3491 2013-04-11  Andreas Schwab  <schwab@suse.de>
3493         [BZ #13988]
3494         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
3495         accept exponent character only when digits were seen.
3496         * stdio-common/Makefile (tests): Add bug26.
3497         * stdio-common/bug26.c: New file.
3499         [BZ #14293]
3500         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
3501         non-freeable.
3503 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
3505         * Makeconfig (rtld-prefix): Define built linker prefix.
3506         * Rules (run-bench): Use it.
3507         * math/Makefile (run-regen-ulps): Likewise.
3509         * Rules (bench): Remove eval.
3511 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
3512             Roland McGrath  <roland@hack.frob.com>
3513             Ondrej Bilka  <neleai@seznam.cz>
3515         [BZ #15346]
3516         * time/getdate.c: Include ctype.h and alloca.h.
3517         (__getdate_r): Trim leading and trailing spaces of input.
3518         * time/tst-getdate.c (tests): Add tests with leading and
3519         trailing spaces.
3521 2013-04-08  Roland McGrath  <roland@hack.frob.com>
3523         [BZ #14280]
3524         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
3525         when computing value.
3527 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
3529         * math/README.libm-test (How can I generate "libm-test-ulps"?):
3530         Use testrun.sh to run libm tests.
3532         [BZ #15309]
3533         * elf/dl-open.c (dl_open_worker): memset all of seen array.
3535 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
3537         [BZ #15264]
3538         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
3540 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
3542         * Makefile.in (regen-ulps): New target.
3543         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
3544         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
3545         [ifneq (no,$(PERL)] (regen-ulps): New target.
3546         [ifeq (no,$(PERL)] (regen-ulps): New target.
3547         * math/libm-test.inc (ulps_file_name): Define.
3548         (output_dir): New variable.
3549         (options): Add "output-dir" option.
3550         (parse_opt): Handle 'o' case.
3551         (main): If output_dir is non-NULL use it as a prefix
3552         otherwise use "".
3553         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
3555 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
3557         [BZ #10060, #10062]
3558         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
3559         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
3560         fail configure if __sync_val_compare_and_swap is not inlined.
3561         * sysdeps/i386/configure: Regenerate.
3562         * configure.in: Build for i686 when configured for i386.
3563         * configure: Regenerate.
3564         * README: Remove i386 reference.
3566 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
3568         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
3569         * sysdeps/s390/s390-64/sysdep.h: Likewise.
3571 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
3573         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
3574         (lmsnanval): New variables.
3575         (F): Add conversion tests.
3576         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
3577         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
3579         * stdio-common/tstdiomisc.c (F): Properly collect individual
3580         tests' results.
3582         [BZ #14686, #15336]
3583         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
3584         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
3585         Instead, use input NaN values or generate a qNaN by arithmetic
3586         operation.  Also fix bugs to comply with the standard.
3587         * math/libm-test.inc (remainder_test): Add more tests.
3589         [BZ #15335, #15342]
3590         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
3591         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
3592         input NaN values or generate a qNaN by arithmetic operation.
3594         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
3595         unreachable code.
3597         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
3598         definitions.
3600 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
3602         [BZ #14478]
3603         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
3604         underflowed result.
3605         * math/s_cexpf.c (__cexpf): Likewise.
3606         * math/s_cexpl.c (__cexpl): Likewise.
3607         * math/libm-test.inc (cexp_test): Add more tests.
3609 2013-04-03  Andreas Schwab  <schwab@suse.de>
3611         [BZ #15330]
3612         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
3613         order arrays from heap if bigger than alloca cutoff.
3615 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
3617         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
3618         (SNAN_TESTS_double): Refer to GCC PR56831.
3619         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
3620         GCC PR56828.
3622 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
3624         * Rules (bench): Move bench.out after the run is complete.
3626         * Rules (bench): Echo currently running benchmark.
3628         * benchtests/Makefile (bench): Add atan and slowatan.
3629         * benchtests/atan-inputs: New file.
3630         * benchtests/slowatan-inputs: New file.
3631         * benchtests/slowatan.c: New file.
3633         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
3634         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
3635         its value.
3637         [BZ #15305]
3638         * sysdeps/unix/sysv/linux/kernel-features.h
3639         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
3640         __ASSUME_XFS_RESTRICTED_CHOWN.
3641         * sysdeps/unix/sysv/linux/pathconf.c
3642         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
3643         Save and restore errno.
3645 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
3647         [BZ #15327]
3648         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
3649         arguments using __kernel_casinh.
3650         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
3651         arguments using __kernel_casinhf.
3652         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
3653         arguments using __kernel_casinhl.
3654         * math/libm-test.inc (cacosh_test): Add more tests.
3655         * sysdeps/i386/fpu/libm-test-ulps: Update.
3656         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3658 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
3660         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
3661         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
3663         * bench/Makefile (bench): Add sin and slowsin.
3664         * benchtests/sin-inputs: New file.
3665         * benchtests/slowsin-inputs: New file.
3666         * benchtests/slowsin.c: New file.
3668         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
3669         (bench): Add slowexp and slowpow.
3670         (exp-ITER): Increase iterations.
3671         (pow-ITER): Likewise.
3672         * benchtests/exp-inputs: Change input.
3673         * benchtests/pow-inputs: Likewise.
3674         * benchtests/slowexp-inputs: New file.
3675         * benchtests/slowexp.c: New file.
3676         * benchtests/slowpow-inputs: New file.
3677         * benchtests/slowpow.c: New file.
3679 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3681         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
3682         instructions.
3683         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
3684         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
3685         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
3686         * benchtests/Makefile: Add rint benchtest.
3687         * benchtests/rint-inputs: Input for rint benchtest.
3689 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
3691         * Versions.def (libm): Add GLIBC_2.18.
3692         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
3693         hidden libm prototypes.
3694         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
3695         * math/Makefile (libm-calls): Add s_issignaling.
3696         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
3697         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
3698         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
3699         declaration.
3700         * math/math.h [__USE_GNU] (issignaling): New macro.
3701         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
3702         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
3703         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
3704         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
3705         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
3706         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
3707         * manual/arith.texi (issignaling): New section.
3708         * manual/libm-err-tab.pl (@all_functions): Update comment.
3709         * math/gen-libm-test.pl (parse_args): Apply special handling for
3710         issignaling.
3711         * math/libm-test.inc (print_float, issignaling_test): New
3712         functions.
3713         (check_float_internal): Add issignaling checks.
3714         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
3715         default definition.
3716         * sysdeps/powerpc/math-tests.h: New file.
3717         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
3718         tests.
3719         * math/test-snan.c (TEST_FUNC): Likewise.
3721 2013-03-30  David S. Miller  <davem@davemloft.net>
3723         * po/de.po: Update from translation team.
3725 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
3727         [BZ #10357]
3728         * math/k_casinh.c (__kernel_casinh): Handle arguments with
3729         imaginary part less than 1.0 and real part less than 0.5
3730         specially.
3731         * math/k_casinhf.c (__kernel_casinhf): Likewise.
3732         * math/k_casinhl.c (__kernel_casinhl): Likewise.
3733         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
3734         (cacos_test): Add more tests.
3735         (casin_test): Likewise.
3736         (casinh_test): Likewise.
3737         * sysdeps/i386/fpu/libm-test-ulps: Update.
3738         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3740 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
3742         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
3743         ONE with its value.
3745         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
3746         (__pow_mp): Replace ONE and MONE with their values.
3747         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
3748         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
3749         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
3750         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
3751         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
3752         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
3754         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
3756         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
3757         (__pow_mp): Replace ZERO and MZERO with their values.
3758         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
3759         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
3760         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
3761         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
3762         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
3763         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
3764         (__sqr): Likewise.
3766         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
3768         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
3770 2013-03-28  Roland McGrath  <roland@hack.frob.com>
3772         * include/stdlib.h [!SHARED] (__call_tls_dtors):
3773         Declare with __attribute__ ((weak)).
3774         * stdlib/exit.c (__libc_atexit) [!SHARED]:
3775         Call __call_tls_dtors only if it's not NULL.
3777 2013-03-28  Roland McGrath  <roland@hack.frob.com>
3779         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
3780         didn't do it already, then set _dl_phdr and _dl_phnum based on the
3781         magic __ehdr_start linker symbol if it's defined.
3782         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
3783         them up here if it was already done.
3785         * elf/dl-support.c (_dl_phdr): Make pointer to const.
3786         (_dl_aux_init): Use const in cast when setting it.
3787         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
3788         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
3789         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
3791         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
3792         Declare them here.
3793         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
3794         * csu/libc-tls.c: Nor here.
3795         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
3797         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
3798         (__libc_message): Never call vsyslog.
3800 2013-03-28  Alan Modra  <amodra@gmail.com>
3802         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
3803         Define as empty.
3804         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
3805         Likewise.
3807 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3809         [BZ #15214]
3810         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
3811         underflow.
3812         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3814 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
3816         [BZ #15304]
3817         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
3818         Don't add gid passed as argument.
3820         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
3822 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
3824         [BZ #15307]
3825         * math/k_casinh.c (__kernel_casinh): Handle arguments with
3826         imaginary part between 1.0 and 1.5 and real part less than 0.5
3827         specially.
3828         * math/k_casinhf.c (__kernel_casinhf): Likewise.
3829         * math/k_casinhl.c (__kernel_casinhl): Likewise.
3830         * math/libm-test.inc (cacos_test): Add more tests.
3831         (casin_test): Likewise.
3832         (casinh_test): Likewise.
3833         * sysdeps/i386/fpu/libm-test-ulps: Update.
3834         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3836 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
3838         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
3839         constants.
3840         (norm): Likewise.
3841         (denorm): Likewise.
3842         (__dbl_mp): Likewise.
3843         (add_magnitudes): Likewise.
3844         (sub_magnitudes): Likewise.
3845         (__add): Likewise.
3846         (__sub): Likewise.
3847         (__mul): Likewise.
3848         (__sqr): Likewise.
3849         (__inv): Likewise.
3850         (__dvd): Likewise.
3852         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
3853         commented code.
3854         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
3855         (__dubcos): Likewise.
3856         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
3857         (__ieee754_acos): Likewise.
3858         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
3859         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
3860         (__exp1): Likewise.
3861         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
3862         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
3863         (log1): Likewise.
3864         (my_log2): Likewise.
3865         (checkint): Likewise.
3866         * sysdeps/ieee754/dbl-64/e_remainder.c
3867         (__ieee754_remainder): Likewise.
3868         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
3869         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
3870         (bsloww): Likewise.
3871         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
3873         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
3874         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
3875         MANTISSA_STORE_T to store computations on mantissa.  Use
3876         macros for rounding and division.
3877         (denorm): Likewise.
3878         (__dbl_mp): Likewise.
3879         (add_magnitudes): Likewise.
3880         (sub_magnitudes): Likewise.
3881         (__mul): Likewise.
3882         (__sqr): Likewise.
3883         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
3884         powers of two in terms of TWOPOW macro.
3885         (mp_no): Make type of mantissa as MANTISSA_T.
3886         [!RADIXI]: Define RADIXI.
3887         [!TWO52]: Define TWO52.
3888         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
3890 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3892         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
3893         llroundl symbol when building for PPC32.
3895 2013-03-24  Mark H Weaver  <mhw@netris.org>
3897         * manual/arith.texi (Normalization Functions): Fix prototypes for
3898         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
3900 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3902         [BZ #13889]
3903         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
3904         high value to check if expl overflow.
3905         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
3906         to check for underflow and overflow.
3907         * math/libm-test.inc: Add exp test.
3909 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
3911         [BZ #11120]
3912         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
3913         with NOT_IN_libc.
3915 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3917         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
3918         symbol.
3920 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
3922         * math/gen-libm-test.pl (parse_args, special_functions): Properly
3923         wrap blocks consisting of several statements.
3925         * sysdeps/generic/math-tests.h: New file.
3926         * sysdeps/i386/fpu/math-tests.h: Likewise.
3927         * math/test-snan.c: Include it.
3928         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
3930 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
3932         [BZ #15285]
3933         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
3934         (__ieee754_j0l): Do not improve calculations using cos of twice
3935         input for inputs above LDBL_MAX / 2.0L.
3936         (__ieee754_y0l): Likewise.
3937         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
3938         (__ieee754_j1l): Do not improve calculations using cos of twice
3939         input for inputs above LDBL_MAX / 2.0L.
3940         (__ieee754_y1l): Likewise.
3941         * math/libm-test.inc (j0_test): Add another test.
3942         (j1_test): Likewise.
3943         (y0_test): Likewise.
3944         (y1_test): Likewise.
3945         * sysdeps/i386/fpu/libm-test-ulps: Update.
3947 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
3949         * Rules ($(objpfx)bench-%.c): Include code from a C source
3950         file.
3952 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
3954         [BZ #15287]
3955         * math/k_casinh.c (__kernel_casinh): Handle arguments with
3956         imaginary part 1.0 and real part less than 0.5 specially.
3957         * math/k_casinhf.c (__kernel_casinhf): Likewise.
3958         * math/k_casinhl.c (__kernel_casinhl): Likewise.
3959         * math/libm-test.inc (cacos_test): Add more tests.
3960         (casin_test): Likewise.
3961         (casinh_test): Likewise.
3962         * sysdeps/i386/fpu/libm-test-ulps: Update.
3963         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3965 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
3967         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
3968         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
3970 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
3972         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
3973         * config.make.in (config-cflags-sse4): Remove variable.
3974         (config-cflags-avx): Likewise.
3975         (config-cflags-sse2avx): Likewise.
3976         (config-cflags-novzeroupper): Likewise.
3977         (config-asflags-i686): Likewise.
3978         (have-mfma4): Likewise.
3979         (have-as-vis3): Likewise.
3980         (MIG): Likewise.
3981         * configure.in (MIG): Do not AC_SUBST.
3982         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
3983         (libc_cv_cc_sse4): Do not AC_SUBST.
3984         (libc_cv_cc_avx): Likewise.
3985         (libc_cv_cc_sse2avx): Likewise.
3986         (libc_cv_cc_novzeroupper): Likewise.
3987         (libc_cv_cc_fma4): Likewise.
3988         (libc_cv_as_i686): Likewise.
3989         (libc_cv_sparc_as_vis3): Likewise.
3990         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
3991         LIBC_CONFIG_VAR.
3992         (config-asflags-i686): Likewise.
3993         (config-cflags-avx): Likewise.
3994         (config-cflags-sse2avx): Likewise.
3995         (have-mfma4): Likewise.
3996         (config-cflags-novzeroupper): Likewise.
3997         * sysdeps/mach/configure.in (MIG): Likewise.
3998         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
3999         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
4000         LIBC_CONFIG_VAR.
4001         (config-cflags-avx): Likewise.
4002         (config-cflags-sse2avx): Likewise.
4003         (have-mfma4): Likewise.
4004         (config-cflags-novzeroupper): Likewise.
4005         * configure: Regenerated.
4006         * sysdeps/i386/configure: Likewise.
4007         * sysdeps/mach/configure: Likewise.
4008         * sysdeps/sparc/configure: Likewise.
4009         * sysdeps/x86_64/configure: Likewise.
4011 2013-03-20  Roland McGrath  <roland@hack.frob.com>
4013         [BZ #14812]
4014         * locale/programs/localedef.c (options): Put N_ translation marker
4015         on argument names, not just descriptions.
4017 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
4019         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
4021 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
4023         [BZ #14176]
4024         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
4026 2013-03-19  Roland McGrath  <roland@hack.frob.com>
4028         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
4029         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
4030         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
4031         [!BEFORE_ABORT] (before_abort): New function.
4032         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
4033         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
4034         (writev_for_fatal): New function.
4035         (WRITEV_FOR_FATAL): New macro; call that.
4036         (backtrace_and_maps): New function.
4037         (BEFORE_ABORT): New macro; call that.
4038         (struct str_list): Type removed.
4039         (__libc_message, __libc_fatal): Functions removed.
4040         Include <sysdeps/posix/libc_fatal.c> instead.
4042 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
4044         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
4045         constants.
4046         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
4047         double constants.
4049 2013-03-19  Andreas Schwab  <schwab@suse.de>
4051         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
4052         * sysdeps/gnu/configure: Regenerate.
4054         * configure.in: Substitute libc_cv_rtlddir.
4055         * configure: Regenerate.
4056         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
4057         * Makeconfig (rtlddir, inst_rtlddir): New variables.
4058         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
4059         * elf/Makefile (install-others, CFLAGS-interp.c)
4060         (ldso_install, common-ldd-rewrite): Likewise.
4061         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
4062         $(inst_slibdir)/$(rtld-installed-name).
4063         * scripts/rellns-sh: Add -p option.
4064         * Makerules (make-shlib-link): Use rellns-sh to get relative name
4065         for source.
4067 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
4069         * manual/nptl.texi: Renamed to ...
4070         * manual/threads.texi: ... this.
4071         * manual/Makefile (chapters): Update.
4073 2013-03-18  Roland McGrath  <roland@hack.frob.com>
4075         [BZ #14812]
4076         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
4077         on argument names, not just descriptions.
4078         * malloc/memusagestat.c (options): Likewise.
4079         * nss/getent.c (options): Likewise.
4081 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
4083         [BZ #14812]
4084         * iconv/iconv_prog.c (options): Put N_ translation marker
4085         on argument names, not just descriptions.
4086         * iconv/iconvconfig.c (options): Likewise.
4088 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
4090         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
4091         implementation which is faster on all x86_64 architectures.
4092         Tested on AMD, Intel Nehalem, SNB, IVB.
4093         * sysdeps/x86_64/strnlen.S: Likewise.
4095         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
4096         Remove all multiarch strlen and strnlen versions.
4097         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
4098         Remove strlen and strnlen related parts.
4100         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
4101         Inline strlen part.
4102         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
4104         * sysdeps/x86_64/multiarch/strlen.S: Remove.
4105         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
4106         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
4107         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
4108         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
4109         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
4111 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
4113         * manual/memory.texi (Malloc Tunable Parameters):
4114         Sort parameters alphabetically. Add comments for missing entries.
4116 2013-03-17  David S. Miller  <davem@davemloft.net>
4118         * sysdeps/sparc/fpu/libm-test-ulps: Update.
4120 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
4122         [BZ #15283]
4123         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
4124         for arguments at most half maximum finite value.
4125         * math/libm-test.inc (j0_test): Add more tests.
4126         (j1_test): Likewise.
4127         (y0_test): Likewise.
4128         (y1_test): Likewise.
4129         * sysdeps/i386/fpu/libm-test-ulps: Update.
4130         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4132         [BZ #14155]
4133         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
4134         1 / x and functions P and Q for arguments above 0x1p256L.
4135         (__ieee754_y0l): Likewise.
4136         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
4137         (__ieee754_y1l): Likewise.
4138         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
4139         (j1_test): Likewise.
4140         (y0_test): Likewise.
4141         (y1_test): Likewise.
4143 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
4145         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
4146         variable.
4148 2013-03-15  Roland McGrath  <roland@hack.frob.com>
4150         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
4151         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
4152         zero since it's initialized to EXEC_PAGESIZE.
4154         * sysdeps/unix/sysv/linux/ldsodefs.h
4155         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
4156         * sysdeps/generic/ldsodefs.h: ... here.
4158 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
4160         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
4162         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
4163         math/test-snan.c.
4164         * math/test-snan.c: Renamed from
4165         sysdeps/powerpc/fpu/test-powerpc-snan.c.
4166         * math/Makefile (tests): Add test-snan.
4167         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
4168         test-powerpc-snan.
4170         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
4171         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
4172         functions.
4173         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
4174         __builtin_nan family of functions.
4175         * math/libm-test.inc (initialize): Initialize qnan_value with
4176         __builtin_nan family of functions.
4177         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
4178         Remove variables.
4179         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
4180         Remove functions.
4181         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
4182         storage class.  Initialize qNaN_var and sNaN_var with
4183         __builtin_nan and __builtin_nans families of functions,
4184         respectively.
4186         * math/libm-test.inc (acosh_test): Also test with qNaN input.
4187         (sqrt_test): Remove duplicate test with qNaN input.
4188         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
4189         (round_test, signbit_test, significand_test): Note missing +/-Inf
4190         as well as qNaN tests.
4192         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
4193         qNaN_var.  Fix a few strings, too.
4194         * math/libm-test.inc (nan_value): Rename to qnan_value.
4195         * math/gen-libm-test.pl (%beautify): Adjust to that.
4196         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
4197         * math/test-misc.c (main): Likewise.
4198         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
4199         to __qnan_bytes, and __qnan_union, respectively.
4200         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
4201         Likewise.
4202         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
4203         and lqnanval, respectively.
4204         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
4205         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
4206         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
4207         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
4209         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
4210         * math/test-misc.c (main) [__x86_64__]: Enable test for long
4211         doubles.
4213         * math/test-misc.c (main): Fix copy'n'pastos.
4214         * misc/tst-efgcvt.c (special): Likewise.
4216         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
4217         Remove declarations.
4219 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
4221         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
4222         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
4223         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
4224         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
4226 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4228         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
4229         macro to return vdso values correctly in IFUNC implementations.
4230         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
4231         Optimization by using IFUNC.
4233 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
4234             Richard Henderson  <rth@redhat.com>
4235             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
4237         * Makefile.in (bench): New target.
4238         * NEWS: Mention the benchmark framework.
4239         * Rules (bench): Likewise.
4240         (binaries-bench): Generate binaries for functions to
4241         benchmark.
4242         * benchtests/Makefile: New makefile for benchmark tests.
4243         * benchtests/bench-skeleton.c: New skeleton file for benchmark
4244         programs.
4245         * benchtests/exp-inputs: New input file for EXP function.
4246         * benchtests/pow-inputs: New input file for POW function.
4247         * scripts/bench.pl: New script to generate source files for
4248         benchmark programs.
4250 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
4252         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
4253         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
4254         computations on mantissa.  Use macros for rounding and
4255         division.
4256         (denorm): Likewise.
4257         (__dbl_mp): Likewise.
4258         (add_magnitudes): Likewise.
4259         (sub_magnitudes): Likewise.
4260         (__mul): Likewise.
4261         (__sqr): Likewise.
4262         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
4263         powers of two in terms of TWOPOW macro.
4264         (mp_no): Make type of mantissa as MANTISSA_T.
4265         [!RADIXI]: Define RADIXI.
4266         [!TWO52]: Define TWO52.
4267         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
4269         * manual/nptl.texi (cindex): Modify threads to pthreads.
4271 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
4273         * sysdeps/x86_64/preconfigure: Regenerated.
4275 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
4277         [BZ #14155]
4278         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
4279         0x1p28 and above.
4280         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
4281         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
4282         0x1p28 and above.
4283         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
4284         * math/libm-test.inc (j0_test): Do not allow one spurious
4285         underflow exception.
4286         (y1_test): Likewise.
4288 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
4290         * manual/Makefile (chapters): Add nptl.
4291         * manual/debug.texi (Debugging Support): Add link to Threads
4292         chapter.
4293         * manual/nptl.texi: New file.
4295         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
4297 2013-03-14  Petr Baudis  <pasky@ucw.cz>
4299         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
4300         for non-NULL pointer before the memory validity test. Pointed
4301         out by Holger Brunck <holger.brunck@keymile.com>.
4303 2013-03-13  Andreas Schwab  <schwab@suse.de>
4305         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
4306         instead of .os.
4308 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
4310         * timezone/zic.c: Update from tzcode 2013b.
4312 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
4314         * manual/install.texi (Configuring and compiling):
4315         Mention i686 and i586.
4316         * INSTALL: Regenerate.
4318 2013-03-12  Roland McGrath  <roland@hack.frob.com>
4320         * sysdeps/init_array/elf-init.c: New file.
4321         * csu/elf-init.c
4322         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
4323         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
4325         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
4326         __gmon_start__ as global, but as static with a .preinit_array pointer.
4327         * sysdeps/init_array/gmon-start.c: New file.  Use that.
4328         * sysdeps/init_array/crti.S: New file, empty except for comments.
4329         * sysdeps/init_array/crtn.S: Likewise.
4331 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
4333         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
4334         definining bcopy.
4335         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
4336         Remove Prefer_SSE_for_memop.
4337         * sysdeps/x86_64/multiarch/init-arch.h: Remove
4338         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
4339         HAS_PREFER_SSE_FOR_MEMOP.
4340         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
4341         memset-x86-64.
4342         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
4343         Remove bzero, memset ifunc support.
4344         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
4345         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
4346         * sysdeps/x86_64/multiarch/memset.S: Likewise.
4347         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
4349 2013-03-11  Andreas Schwab  <schwab@suse.de>
4351         [BZ #15234]
4352         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
4353         by SHLIB_COMPAT.
4354         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
4355         (GLIBC_2.16): Remove pthread_atfork.
4357 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
4359         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
4360         (ptestcases.h): Likewise.
4362 2013-03-08  Roland McGrath  <roland@hack.frob.com>
4364         * Makeconfig ($(common-objpfx)config.status): Depend on
4365         sysdeps/*/preconfigure{,.in} too.
4367 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
4369         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
4370         (__free_hook): Use void * instead of __malloc_ptr_t.
4371         (__malloc_hook): Likewise.
4372         (__realloc_hook): Likewise.
4373         (__memalign_hook): Likewise.
4374         (__after_morecore_hook): Likewise.
4375         * malloc/arena.c (save_malloc_hook): Likewise.
4376         (save_free_hook): Likewise.
4377         * malloc/hooks.c (malloc_hook_ini): Likewise.
4378         (realloc_hook_ini): Likewise.
4379         (memalign_hook_ini): Likewise.
4380         * malloc/malloc.c (malloc_hook_ini): Likewise.
4381         (realloc_hook_ini): Likewise.
4382         (memalign_hook_ini): Likewise.
4383         (__free_hook): Likewise.
4384         (__malloc_hook): Likewise.
4385         (__realloc_hook): Likewise.
4386         (__memalign_hook): Likewise.
4387         (__libc_malloc): Likewise.
4388         (__libc_free): Likewise.
4389         (__libc_realloc): Likewise.
4390         (__libc_memalign): Likewise.
4391         (__libc_valloc): Likewise.
4392         (__libc_pvalloc): Likewise.
4393         (__libc_calloc): Likewise.
4394         (__posix_memalign): Likewise.
4395         * malloc/morecore.c (__sbrk): Likewise.
4396         (__default_morecore): Likewise.
4398         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
4400         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
4401         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
4402         __malloc_ptrdiff_t.
4404         * malloc/malloc.h (__malloc_size_t): Remove macro.
4405         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
4406         __malloc_size_t.
4407         (old_memalign_hook): Likewise.
4408         (old_realloc_hook): Likewise.
4409         (struct hdr): Likewise.
4410         (flood): Likewise.
4411         (mallochook): Likewise.
4412         (memalignhook): Likewise.
4413         (reallochook): Likewise.
4414         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
4415         (tr_old_realloc_hook): Likewise.
4416         (tr_old_memalign_hook): Likewise.
4417         (tr_mallochook): Likewise.
4418         (tr_reallochook): Likewise.
4419         (tr_memalignhook): Likewise.
4421 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4423         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
4424         default_ldbl_pack and using as default implementation.
4425         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
4426         implementation.
4427         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
4428         redundant definition.
4429         (ldbl_insert_mantissa): Likewise.
4430         (ldbl_canonicalize): Likewise.
4431         (ldbl_nearbyint): Likewise.
4432         (ldbl_pack): Rename to ldbl_pack_ppc.
4433         (ldbl_unpack): Rename to ldbl_unpack_ppc.
4434         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
4435         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
4437 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
4439         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
4440         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
4441         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
4442         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
4443         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
4444         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
4445         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
4446         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
4448 2013-03-07  Andreas Jaeger  <aj@suse.de>
4450         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
4451         bits/mman-linux.h.
4453 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
4455         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
4456         Include mpa.h and declare __MPEXP.
4457         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
4458         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
4459         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
4460         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
4461         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
4462         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
4463         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
4465         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
4466         (__slowpow): Use long double EXPL and LOGL functions to
4467         compute POW.
4468         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
4469         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
4470         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
4471         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
4472         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
4473         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
4475         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
4476         intermediate variable to calculate exponent.
4477         (__sqr): Likewise.
4478         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
4479         Likewise.
4480         (__sqr): Likewise.
4482         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
4483         [!NO__SQR]: Define __sqr.
4484         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
4485         and NO__SQR.  Remove all code except __mul and __sqr.  Include
4486         sysdeps/ieee754/dbl-64/mpa.c.
4487         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
4489         [BZ #12723]
4490         * posix/Makefile (tests): Add tst-pathconf.
4491         * posix/tst-pathconf.c: New test case.
4492         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
4493         _PC_PIPE_BUF.
4494         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
4496 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
4498         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
4500 2013-03-06  Andreas Jaeger  <aj@suse.de>
4502         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
4503         definition via __MAP_ANONYMOUS.
4505         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
4506         it's not part of Linux headers.
4508         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
4509         (MAP_HUGE_MASK): Define.
4511         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
4512         Define.
4513         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
4514         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
4515         Define.
4516         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
4517         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
4518         Define.
4519         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
4520         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
4521         Define.
4522         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
4524         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
4525         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
4526         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
4527         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
4528         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
4529         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
4531         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
4532         Handle f2fs.
4534         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
4535         Handle f2fs and efivarfs.
4537         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
4538         f2fs.
4540         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
4541         (EFIVARFS_MAGIC): Add.
4542         (F2FS_LINK_MAX): Add.
4544 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
4546         * stdio-common/vfprintf.c: Replace __builtin_expect with
4547         __glibc_unlikely.
4549 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
4551         [BZ #13550]
4552         * sysdeps/generic/bp-sym.h: Remove file.
4553         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
4554         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
4555         <bp-sym.h> and <bp-asm.h>.
4556         (__longjmp): Don't use BP_SYM.
4557         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
4558         and <bp-asm.h>.
4559         (memcpy): Don't use BP_SYM.
4560         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
4561         <bp-sym.h> and <bp-asm.h>.
4562         (memcpy): Don't use BP_SYM.
4563         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
4564         <bp-asm.h>.
4565         (memcpy): Don't use BP_SYM.
4566         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
4567         <bp-asm.h>.
4568         (memset): Don't use BP_SYM.
4569         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
4570         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
4571         (__bzero): Don't use BP_SYM.
4572         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
4573         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
4574         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
4575         <bp-sym.h> and <bp-asm.h>.
4576         (memcmp): Don't use BP_SYM.  Remove comment about bounded
4577         pointers.
4578         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
4579         <bp-sym.h> and <bp-asm.h>.
4580         (memcpy): Don't use BP_SYM.
4581         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
4582         <bp-sym.h> and <bp-asm.h>.
4583         (memset): Don't use BP_SYM.
4584         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
4585         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
4586         (__bzero): Don't use BP_SYM.
4587         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
4588         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
4589         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
4590         <bp-sym.h> and <bp-asm.h>.
4591         (strncmp): Don't use BP_SYM.  Remove comment about bounded
4592         pointers.
4593         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
4594         <bp-sym.h> and <bp-asm.h>.
4595         (memcpy): Don't use BP_SYM.
4596         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
4597         <bp-sym.h> and <bp-asm.h>.
4598         (memset): Don't use BP_SYM.
4599         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
4600         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
4601         (__bzero): Don't use BP_SYM.
4602         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
4603         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
4604         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
4605         <bp-sym.h> and <bp-asm.h>.
4606         (__memchr): Don't use BP_SYM.
4607         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
4608         <bp-sym.h> and <bp-asm.h>.
4609         (memcmp): Don't use BP_SYM.  Remove comment about bounded
4610         pointers.
4611         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
4612         <bp-sym.h> and <bp-asm.h>.
4613         (memcpy): Don't use BP_SYM.
4614         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
4615         <bp-sym.h> and <bp-asm.h>.
4616         (__mempcpy): Don't use BP_SYM.
4617         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
4618         <bp-sym.h> and <bp-asm.h>.
4619         (__memrchr): Don't use BP_SYM.
4620         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
4621         <bp-sym.h> and <bp-asm.h>.
4622         (memset): Don't use BP_SYM.
4623         (__bzero): Likewise.
4624         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
4625         <bp-sym.h> and <bp-asm.h>.
4626         (__rawmemchr): Don't use BP_SYM.
4627         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
4628         <bp-sym.h> and <bp-asm.h>.
4629         (__STRCMP): Don't use BP_SYM.
4630         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
4631         <bp-sym.h> and <bp-asm.h>.
4632         (strchr): Don't use BP_SYM.
4633         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
4634         <bp-sym.h> and <bp-asm.h>.
4635         (__strchrnul): Don't use BP_SYM.
4636         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
4637         <bp-sym.h> and <bp-asm.h>.
4638         (strlen): Don't use BP_SYM.
4639         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
4640         <bp-sym.h> and <bp-asm.h>.
4641         (strncmp): Don't use BP_SYM.  Remove comment about bounded
4642         pointers.
4643         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
4644         <bp-sym.h> and <bp-asm.h>.
4645         (__strnlen): Don't use BP_SYM.
4646         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
4647         <bp-sym.h> and <bp-asm.h>.
4648         (__GI__setjmp): Don't use BP_SYM.
4649         (_setjmp): Likewise.
4650         (__sigsetjmp): Likewise.
4651         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
4652         (L(start_addresses)): Don't use BP_SYM.
4653         (_start): Likewise.
4654         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
4655         <bp-asm.h>.
4656         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
4657         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
4658         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
4659         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
4660         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
4661         <bp-asm.h>.
4662         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
4663         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
4664         about bounded pointers.
4665         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
4666         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
4667         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
4668         <bp-asm.h>.
4669         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
4670         about bounded pointers.  Remove GKM FIXME comments.
4671         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
4672         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
4673         <bp-asm.h>.
4674         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
4675         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
4676         Remove GKM FIXME comments.
4677         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
4678         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
4679         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
4680         <bp-asm.h>.
4681         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
4682         about bounded pointers.  Remove GKM FIXME comment.
4683         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
4684         and <bp-asm.h>.
4685         (strncmp): Don't use BP_SYM.  Remove comment about bounded
4686         pointers.
4687         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
4688         <bp-sym.h> and <bp-asm.h>.
4689         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
4690         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
4691         <bp-sym.h> and <bp-asm.h>.
4692         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
4693         comment.
4695 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
4697         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
4698         call free(NULL).
4700 2013-03-05  David S. Miller  <davem@davemloft.net>
4702         * po/es.po: Update from translation team.
4704 2013-03-05  Andreas Jaeger  <aj@suse.de>
4706         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
4707         <bits/mman-linux.h>.
4708         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
4709         is fine.
4710         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
4711         <bits/mman-linux.h> to end of file.
4712         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
4713         is fine.
4714         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
4715         <bits/mman-linux.h> to end of file.
4716         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
4717         is fine.
4718         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
4719         <bits/mman-linux.h> to end of file.
4721         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
4722         (MCL_CURRENT, MCL_FUTURE): Define here.
4724 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
4726         [BZ #15232]
4727         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
4728         attribute_hidden.
4729         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
4731 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
4733         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
4734         fourth parameter needed for rt_sigprocmask syscall.
4735         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
4736         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
4737         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
4738         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
4739         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
4740         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
4742 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
4744         [BZ #13550]
4745         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
4746         comment about bounded pointers.
4747         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
4748         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
4750 2013-03-04  Andreas Jaeger  <aj@suse.de>
4752         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
4753         common definitions.
4755         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
4756         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
4757         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
4758         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
4759         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
4760         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
4762 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4764         [BZ #15055]
4765         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
4766         __ieee754_sqrl instead of __sqrl.
4768 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
4770         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
4771         * sysdeps/powerpc/fpu_control.h: ... here.
4772         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
4773         * sysdeps/powerpc/bits/fenvinline.h: ... here.
4774         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
4775         * sysdeps/powerpc/bits/mathinline.h: ... here.
4777 2013-03-01  Roland McGrath  <roland@hack.frob.com>
4779         * elf/dl-hwcaps.c (_dl_important_hwcaps):
4780         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
4781         to just [NEED_DL_SYSINFO_DSO].
4782         * elf/dl-support.c: Likewise.
4783         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
4784         * elf/rtld.c (dl_main): Likewise.
4785         * elf/setup-vdso.h (setup_vdso): Likewise.
4786         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
4787         * sysdeps/unix/sysv/linux/dl-sysdep.c
4788         (_dl_discover_osversion): Likewise.
4790 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
4792         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
4793         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
4795 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
4797         * NEWS: Mention libm performance improvements and non-x86 PI
4798         futex support.
4800         * csu/libc-start.c (__pthread_initialize_minimal): Change
4801         function arguments.
4802         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
4804 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
4806         [BZ #13550]
4807         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
4808         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
4809         <bp-sym.h> and <bp-asm.h>.
4810         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
4811         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
4812         and <bp-asm.h>.
4813         (memcpy): Don't use BP_SYM.
4814         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
4815         <bp-asm.h>.
4816         (__mpn_add_n): Don't use BP_SYM.
4817         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
4818         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
4819         and <bp-asm.h>.
4820         (__mpn_addmul_1): Don't use BP_SYM.
4821         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
4822         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
4823         <bp-sym.h>.
4824         (_setjmp): Don't use BP_SYM.
4825         (__novmx_setjmp): Likewise.
4826         (__GI__setjmp): Likewise.
4827         (__vmx_setjmp): Likewise.
4828         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
4829         <bp-sym.h>.
4830         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
4831         (__bzero): Don't use BP_SYM.
4832         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
4833         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
4834         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
4835         <bp-sym.h> and <bp-asm.h>.
4836         (memcpy): Don't use BP_SYM.
4837         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
4838         <bp-sym.h> and <bp-asm.h>.
4839         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
4840         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
4841         <bp-sym.h> and <bp-asm.h>.
4842         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
4843         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
4844         <bp-asm.h>.
4845         (__mpn_lshift): Don't use BP_SYM.
4846         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
4847         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
4848         <bp-asm.h>.
4849         (memset): Don't use BP_SYM.
4850         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
4851         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
4852         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
4853         <bp-asm.h>.
4854         (__mpn_mul_1): Don't use BP_SYM.
4855         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
4856         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
4857         <bp-sym.h> and <bp-asm.h>.
4858         (memcmp): Don't use BP_SYM.
4859         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
4860         <bp-sym.h> and <bp-asm.h>.
4861         (memcpy): Don't use BP_SYM.
4862         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
4863         <bp-sym.h> and <bp-asm.h>.
4864         (memset): Don't use BP_SYM.
4865         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
4866         <bp-sym.h> and <bp-asm.h>.
4867         (strncmp): Don't use BP_SYM.
4868         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
4869         <bp-sym.h> and <bp-asm.h>.
4870         (memcpy): Don't use BP_SYM.
4871         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
4872         <bp-sym.h> and <bp-asm.h>.
4873         (memset): Don't use BP_SYM.
4874         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
4875         <bp-sym.h> and <bp-asm.h>.
4876         (__memchr): Don't use BP_SYM.
4877         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
4878         <bp-sym.h> and <bp-asm.h>.
4879         (memcmp): Don't use BP_SYM.
4880         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
4881         <bp-sym.h> and <bp-asm.h>.
4882         (memcpy): Don't use BP_SYM.
4883         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
4884         <bp-sym.h> and <bp-asm.h>.
4885         (__mempcpy): Don't use BP_SYM.
4886         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
4887         <bp-sym.h> and <bp-asm.h>.
4888         (__memrchr): Don't use BP_SYM.
4889         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
4890         <bp-sym.h> and <bp-asm.h>.
4891         (memset): Don't use BP_SYM.
4892         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
4893         <bp-sym.h> and <bp-asm.h>.
4894         (__rawmemchr): Don't use BP_SYM.
4895         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
4896         <bp-sym.h> and <bp-asm.h>.
4897         (__STRCMP): Don't use BP_SYM.
4898         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
4899         <bp-sym.h> and <bp-asm.h>.
4900         (strchr): Don't use BP_SYM.
4901         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
4902         <bp-sym.h> and <bp-asm.h>.
4903         (__strchrnul): Don't use BP_SYM.
4904         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
4905         <bp-sym.h> and <bp-asm.h>.
4906         (strlen): Don't use BP_SYM.
4907         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
4908         <bp-sym.h> and <bp-asm.h>.
4909         (strncmp): Don't use BP_SYM.
4910         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
4911         <bp-sym.h> and <bp-asm.h>.
4912         (__strnlen): Don't use BP_SYM.
4913         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
4914         <bp-asm.h>.
4915         (__mpn_rshift): Don't use BP_SYM.
4916         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
4917         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
4918         <bp-sym.h> and <bp-asm.h>.
4919         (__sigsetjmp): Don't use BP_SYM.
4920         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
4921         (L(start_addresses)): Don't use BP_SYM.
4922         (_start): Likewise.
4923         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
4924         <bp-asm.h>.
4925         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
4926         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
4927         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
4928         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
4929         <bp-asm.h>.
4930         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
4931         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
4932         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
4933         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
4934         <bp-asm.h>.
4935         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
4936         comments.
4937         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
4938         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
4939         <bp-asm.h>.
4940         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
4941         FIXME comments.
4942         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
4943         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
4944         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
4945         <bp-asm.h>.
4946         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
4947         comment.
4948         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
4949         and <bp-asm.h>.
4950         (strncmp): Don't use BP_SYM,
4951         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
4952         <bp-asm.h>.
4953         (__mpn_sub_n): Don't use BP_SYM.
4954         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
4955         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
4956         and <bp-asm.h>.
4957         (__mpn_submul_1): Don't use BP_SYM.
4958         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
4959         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
4960         <bp-sym.h> and <bp-asm.h>.
4961         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
4962         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
4963         <bp-sym.h> and <bp-asm.h>.
4964         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
4965         comment.
4967 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
4969         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
4970         Use ZK to minimize writes to Z.
4971         (sub_magnitudes): Simplify code a bit.
4972         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
4973         Use ZK to minimize writes to Z.
4974         (sub_magnitudes): Simplify code a bit.
4976 2013-02-27  Roland McGrath  <roland@hack.frob.com>
4978         * csu/gmon-start.c: Add special exception to license text.
4980 2013-02-27  Richard Henderson  <rth@redhat.com>
4982         * scripts/config.guess: Update from config.git.
4983         * scripts/config.sub: Likewise.
4985 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
4987         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
4989         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
4991         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
4993         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
4995         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
4997 2013-02-26  Roland McGrath  <roland@hack.frob.com>
4999         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
5000         [$(build-shared = yes].
5002 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
5004         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
5005         (__mul): Reduce iterations for calculating mantissa.
5007         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
5008         MPTWO.
5009         (__mpranred): Likewise.
5011         [BZ #15160]
5012         * malloc/memusagestat.c (main): Draw graphs for heap and stack
5013         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
5015 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
5017         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
5018         Define __attribute__.
5020 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
5022         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
5023         unused.
5024         * posix/regex_internal.h (__attribute): Remove.
5025         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
5026         (re_string_context_at): Likewise.
5027         (bitset_not): Use __attribute__ and mark function as possibly
5028         unused.
5029         (bitset_merge): Likewise.
5030         (bitset_mask): Likewise.
5031         (re_string_char_size_at): Likewise.
5032         (re_string_wchar_at): Likewise.
5033         (re_string_elem_size_at): Likewise.
5035 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
5037         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
5038         code.
5039         (cc32): Likewise.
5041         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
5042         (__acr): Likewise.
5043         (__cpy): Likewise.
5044         (norm): Likewise.
5045         (denorm): Likewise.
5046         (__dbl_mp): Likewise.
5047         (add_magnitudes): Likewise.
5048         (sub_magnitudes): Likewise.
5049         (__mul): Likewise.
5050         (__inv): Likewise.
5052         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
5053         style.
5055         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
5056         style.
5058         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
5059         code.
5061         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
5062         up changes with default code.
5063         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
5064         Likewise.
5066 2013-02-24  Allan McRae  <allan@archlinux.org>
5068         * manual/socket.texi (The Internet Namespace): Order menu items
5069         to match that in the file.
5071         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
5072         node listing of the info page menu.
5074 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
5076         [BZ #13550]
5077         * sysdeps/i386/bp-asm.h: Remove file.
5078         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
5079         (PARMS): Do not use macros from bp-asm.h.
5080         (S1): Likewise.
5081         (S2): Likewise.
5082         (SIZE): Likewise.
5083         (__mpn_add_n): Do not use BP_SYM
5084         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
5085         "bp-asm.h".
5086         (PARMS): Do not use macros from bp-asm.h.
5087         (S1): Likewise.
5088         (SIZE): Likewise.
5089         (__mpn_addmul_1): Do not use BP_SYM
5090         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
5091         "bp-asm.h".
5092         (PARMS): Do not use macros from bp-asm.h.
5093         (SIGMSK): Likewise.
5094         (_setjmp): Likewise.  Do not use BP_SYM.
5095         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
5096         "bp-asm.h".
5097         (PARMS): Do not use macros from bp-asm.h.
5098         (SIGMSK): Likewise.
5099         (setjmp): Likewise.  Do not use BP_SYM.
5100         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
5101         "bp-asm.h".
5102         (PARMS): Do not use macros from bp-asm.h.
5103         (__frexp): Do not use BP_SYM.
5104         (frexp): Likewise.
5105         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
5106         "bp-asm.h".
5107         (PARMS): Do not use macros from bp-asm.h.
5108         (__frexpf): Do not use BP_SYM.
5109         (frexpf): Likewise.
5110         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
5111         "bp-asm.h".
5112         (PARMS): Do not use macros from bp-asm.h.
5113         (__frexpl): Do not use BP_SYM.
5114         (frexpl): Likewise.
5115         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
5116         "bp-asm.h".
5117         (PARMS): Do not use macros from bp-asm.h.
5118         (__remquo): Do not use BP_SYM.
5119         (remquo): Likewise.
5120         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
5121         "bp-asm.h".
5122         (PARMS): Do not use macros from bp-asm.h.
5123         (__remquof): Do not use BP_SYM.
5124         (remquof): Likewise.
5125         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
5126         "bp-asm.h".
5127         (PARMS): Do not use macros from bp-asm.h.
5128         (__remquol): Do not use BP_SYM.
5129         (remquol): Likewise.
5130         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
5131         "bp-asm.h".
5132         (PARMS): Do not use macros from bp-asm.h.
5133         (DEST): Likewise.
5134         (SRC): Likewise.
5135         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
5136         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
5137         "bp-asm.h".
5138         (PARMS): Do not use macros from bp-asm.h.
5139         (strlen): Do not use BP_SYM.
5140         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
5141         "bp-asm.h".
5142         (PARMS): Do not use macros from bp-asm.h.
5143         (S1): Likewise.
5144         (S2): Likewise.
5145         (SIZE): Likewise.
5146         (__mpn_add_n): Do not use BP_SYM.
5147         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
5148         "bp-asm.h".
5149         (PARMS): Do not use macros from bp-asm.h.
5150         (S1): Likewise.
5151         (SIZE): Likewise.
5152         (__mpn_addmul_1): Do not use BP_SYM.
5153         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
5154         weak_alias.
5155         (bzero): Likewise.
5156         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
5157         "bp-asm.h".
5158         (PARMS): Do not use macros from bp-asm.h.
5159         (S): Likewise.
5160         (SIZE): Likewise.
5161         (__mpn_lshift): Do not use BP_SYM.
5162         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
5163         "bp-asm.h".
5164         (PARMS): Do not use macros from bp-asm.h.
5165         (DEST): Likewise.
5166         (SRC): Likewise.
5167         (LEN): Likewise.
5168         (memcpy): Likewise.  Do not use BP_SYM.
5169         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
5170         libc_hidden_def and weak_alias.
5171         (mempcpy): Do not use BP_SYM in weak_alias.
5172         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
5173         "bp-asm.h".
5174         (PARMS): Do not use macros from bp-asm.h.
5175         (DEST): Likewise.
5176         (LEN): Likewise.
5177         [!BZERO_P] (CHR): Likewise.
5178         (memset): Likewise.  Do not use BP_SYM.
5179         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
5180         "bp-asm.h".
5181         (PARMS): Do not use macros from bp-asm.h.
5182         (S1): Likewise.
5183         (SIZE): Likewise.
5184         (__mpn_mul_1): Do not use BP_SYM.
5185         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
5186         "bp-asm.h".
5187         (PARMS): Do not use macros from bp-asm.h.
5188         (S): Likewise.
5189         (SIZE): Likewise.
5190         (__mpn_rshift): Do not use BP_SYM.
5191         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
5192         "bp-asm.h".
5193         (PARMS): Do not use macros from bp-asm.h.
5194         (STR): Likewise.
5195         (CHR): Likewise.
5196         (strchr): Likewise.  Do not use BP_SYM.
5197         (index): Do not use BP_SYM in weak_alias.
5198         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
5199         "bp-asm.h".
5200         (PARMS): Do not use macros from bp-asm.h.
5201         (DEST): Likewise.
5202         (SRC): Likewise.
5203         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
5204         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
5205         "bp-asm.h".
5206         (PARMS): Do not use macros from bp-asm.h.
5207         (strlen): Do not use BP_SYM.
5208         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
5209         "bp-asm.h".
5210         (PARMS): Do not use macros from bp-asm.h.
5211         (S1): Likewise.
5212         (S2): Likewise.
5213         (SIZE): Likewise.
5214         (__mpn_sub_n): Do not use BP_SYM.
5215         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
5216         "bp-asm.h".
5217         (PARMS): Do not use macros from bp-asm.h.
5218         (S1): Likewise.
5219         (SIZE): Likewise.
5220         (__mpn_submul_1): Do not use BP_SYM.
5221         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
5222         "bp-asm.h".
5223         (PARMS): Do not use macros from bp-asm.h.
5224         (S1): Likewise.
5225         (S2): Likewise.
5226         (SIZE): Likewise.
5227         (__mpn_add_n): Do not use BP_SYM.
5228         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
5229         weak_alias.
5230         (bzero): Likewise.
5231         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
5232         "bp-asm.h".
5233         (PARMS): Do not use macros from bp-asm.h.
5234         (BLK2): Likewise.
5235         (LEN): Likewise.
5236         (memcmp): Do not use BP_SYM.
5237         (bcmp): Do not use BP_SYM in weak_alias.
5238         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
5239         "bp-asm.h".
5240         (PARMS): Do not use macros from bp-asm.h.
5241         (DEST): Likewise.
5242         (SRC): Likewise.
5243         (LEN): Likewise.
5244         (memcpy): Likewise.  Do not use BP_SYM.
5245         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
5246         "bp-asm.h".
5247         (PARMS): Do not use macros from bp-asm.h.
5248         (DEST): Likewise.
5249         (SRC): Likewise.
5250         (LEN): Likewise.
5251         (memmove): Likewise.  Do not use BP_SYM.
5252         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
5253         "bp-asm.h".
5254         (PARMS): Do not use macros from bp-asm.h.
5255         (DEST): Likewise.
5256         (SRC): Likewise.
5257         (LEN): Likewise.
5258         (__mempcpy): Likewise.  Do not use BP_SYM.
5259         (mempcpy): Do not use BP_SYM in weak_alias.
5260         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
5261         "bp-asm.h".
5262         (PARMS): Do not use macros from bp-asm.h.
5263         (DEST): Likewise.
5264         (LEN): Likewise.
5265         [!BZERO_P] (CHR): Likewise.
5266         (memset): Likewise.  Do not use BP_SYM.
5267         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
5268         "bp-asm.h".
5269         (PARMS): Do not use macros from bp-asm.h.
5270         (STR2): Likewise.
5271         (strcmp): Do not use BP_SYM.
5272         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
5273         "bp-asm.h".
5274         (PARMS): Do not use macros from bp-asm.h.
5275         (STR): Likewise.
5276         (DELIM): Likewise.
5277         [USE_AS_STRTOK_R] (SAVE): Likewise.
5278         (FUNCTION): Likewise.  Do not use BP_SYM.
5279         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
5280         aliases.
5281         (strtok_r): Likewise.
5282         (__GI___strtok_r): Likewise.
5283         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
5284         (PARMS): Do not use macros from bp-asm.h.
5285         (S): Likewise.
5286         (SIZE): Likewise.
5287         (__mpn_lshift): Do not use BP_SYM.
5288         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
5289         (PARMS): Do not use macros from bp-asm.h.
5290         (STR): Likewise.
5291         (CHR): Likewise.
5292         (__memchr): Do not use BP_SYM.
5293         (memchr): Do not use BP_SYM in weak_alias.
5294         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
5295         (PARMS): Do not use macros from bp-asm.h.
5296         (BLK2): Likewise.
5297         (LEN): Likewise.
5298         (memcmp): Do not use BP_SYM.
5299         (bcmp): Do not use BP_SYM in weak_alias.
5300         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
5301         (PARMS): Do not use macros from bp-asm.h.
5302         (S1): Likewise.
5303         (SIZE): Likewise.
5304         (__mpn_mul_1): Do not use BP_SYM.
5305         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
5306         "bp-asm.h".
5307         (PARMS): Do not use macros from bp-asm.h.
5308         (STR): Likewise.
5309         (CHR): Likewise.
5310         (__rawmemchr): Do not use BP_SYM.
5311         (rawmemchr): Do not use BP_SYM in weak_alias.
5312         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
5313         (PARMS): Do not use macros from bp-asm.h.
5314         (S): Likewise.
5315         (SIZE): Likewise.
5316         (__mpn_rshift): Do not use BP_SYM.
5317         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
5318         (PARMS): Do not use macros from bp-asm.h.
5319         (SIGMSK): Likewise.
5320         (__sigsetjmp): Likewise.  Do not use BP_SYM.
5321         * sysdeps/i386/start.S: Do not include "bp-sym.h".
5322         (_start): Do not use BP_SYM.
5323         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
5324         (PARMS): Do not use macros from bp-asm.h.
5325         (DEST): Likewise.
5326         (SRC): Likewise.
5327         (__stpcpy): Likewise.  Do not use BP_SYM.
5328         (stpcpy): Do not use BP_SYM in weak_alias.
5329         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
5330         "bp-asm.h".
5331         (PARMS): Do not use macros from bp-asm.h.
5332         (DEST): Likewise.
5333         (SRC): Likewise.
5334         (LEN): Likewise.
5335         (__stpncpy): Likewise.  Do not use BP_SYM.
5336         (stpncpy): Do not use BP_SYM in weak_alias.
5337         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
5338         (PARMS): Do not use macros from bp-asm.h.
5339         (STR): Likewise.
5340         (CHR): Likewise.
5341         (strchr): Likewise.  Do not use BP_SYM.
5342         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
5343         "bp-asm.h".
5344         (PARMS): Do not use macros from bp-asm.h.
5345         (STR): Likewise.
5346         (CHR): Likewise.
5347         (__strchrnul): Likewise.  Do not use BP_SYM.
5348         (strchrnul): Do not use BP_SYM in weak_alias.
5349         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
5350         "bp-asm.h".
5351         (PARMS): Do not use macros from bp-asm.h.
5352         (STOP): Likewise.
5353         (strcspn): Do not use BP_SYM.
5354         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
5355         "bp-asm.h".
5356         (PARMS): Do not use macros from bp-asm.h.
5357         (STR): Likewise.
5358         (STOP): Likewise.
5359         (strpbrk): Likewise.  Do not use BP_SYM.
5360         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
5361         "bp-asm.h".
5362         (PARMS): Do not use macros from bp-asm.h.
5363         (STR): Likewise.
5364         (CHR): Likewise.
5365         (strrchr): Likewise.  Do not use BP_SYM.
5366         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
5367         (PARMS): Do not use macros from bp-asm.h.
5368         (SKIP): Likewise.
5369         (strspn): Do not use BP_SYM.
5370         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
5371         (PARMS): Do not use macros from bp-asm.h.
5372         (STR): Likewise.
5373         (DELIM): Likewise.
5374         (SAVE): Likewise.
5375         (FUNCTION): Likewise.  Do not use BP_SYM.
5376         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
5377         aliases.
5378         (strtok_r): Likewise.
5379         (__GI___strtok_r): Likewise.
5380         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
5381         (PARMS): Do not use macros from bp-asm.h.
5382         (S1): Likewise.
5383         (S2): Likewise.
5384         (SIZE): Likewise.
5385         (__mpn_sub_n): Do not use BP_SYM.
5386         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
5387         "bp-asm.h".
5388         (PARMS): Do not use macros from bp-asm.h.
5389         (S1): Likewise.
5390         (SIZE): Likewise.
5391         (__mpn_submul_1): Do not use BP_SYM.
5392         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
5393         <bp-sym.h>.
5394         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
5395         and <bp-asm.h>.
5396         (PARMS): Do not use macros from bp-asm.h.
5397         (FLAGS): Likewise.
5398         (PTID): Likewise.
5399         (TLS): Likewise.
5400         (CTID): Likewise.
5401         (__clone): Do not use BP_SYM.
5402         (clone): Do not use BP_SYM in weak_alias.
5403         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
5404         and <bp-asm.h>.
5405         (PARMS): Do not use macros from bp-asm.h.
5406         (LEN): Likewise.
5407         (__mmap64): Do not use BP_SYM.
5408         (mmap64): Do not use BP_SYM in weak_alias.
5409         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
5410         <bp-sym.h> and <bp-asm.h>.
5411         (PARMS): Do not use macros from bp-asm.h.
5412         (__posix_fadvise64_l64): Do not use BP_SYM.
5413         * sysdeps/unix/sysv/linux/i386/semtimedop.S
5414         (PARMS): Do not use macros from bp-asm.h.
5415         (NSOPS): Likewise.
5416         (semtimedop): Do not use BP_SYM.
5417         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
5418         and <bp-asm.h>.
5420 2013-02-21  Allan McRae  <allan@archlinux.org>
5422         * manual/message.texi (Charset conversion in gettext):
5423         Move @end statement to beginning of line.
5425 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
5427         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
5428         static.
5429         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
5430         Likewise.
5432         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
5433         (denorm): Likewise.
5434         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
5435         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
5437 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
5439         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
5440         tail-call to the resolved function if pltexit isn't needed.
5442 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
5444         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
5445         or Y being zero as being unlikely.
5446         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
5447         Likewise.
5449 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
5451         * manual/nss.texi (System Databases and Name Service Switch):
5452         Remove frobnicate @pxref.
5454 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
5456         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
5457         __attribute__ ((unused)) to __attribute__ ((__unused__)).
5459 2013-02-20  Petr Machata  <pmachata@redhat.com>
5461         * elf/elf.h (R_ARM_TARGET1): New macro.
5462         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
5463         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
5464         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
5465         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
5466         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
5467         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
5468         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
5469         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
5470         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
5471         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
5472         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
5473         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
5474         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
5475         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
5476         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
5477         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
5478         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
5479         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
5480         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
5481         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
5482         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
5483         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
5484         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
5485         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
5486         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
5487         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
5488         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
5489         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
5490         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
5491         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
5492         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
5493         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
5494         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
5495         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
5496         (R_ARM_THM_GOT_BREL12): Likewise.
5497         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
5498         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
5499         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
5500         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
5501         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
5502         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
5503         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
5504         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
5505         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
5507 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
5509         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
5510         __attribute_used__ to __attribute__ ((unused)).
5512 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
5514         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
5515         powerpc mpa.c.
5516         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
5517         comment formatting.
5518         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
5520 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
5522         [BZ #13550]
5523         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
5524         Remove macro.
5525         (ENTER): Remove both macro definitions.
5526         (LEAVE): Likewise.
5527         (CHECK_BOUNDS_LOW): Likewise.
5528         (CHECK_BOUNDS_HIGH): Likewise.
5529         (CHECK_BOUNDS_BOTH): Likewise.
5530         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
5531         (RETURN_BOUNDED_POINTER): Likewise.
5532         (RETURN_NULL_BOUNDED_POINTER): Likewise.
5533         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
5534         (POP_ERRNO_LOCATION_RETURN): Likewise.
5535         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
5536         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
5537         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
5538         macros.
5539         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
5540         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
5541         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
5542         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
5543         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
5544         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
5545         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
5546         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
5547         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
5548         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
5549         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
5550         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
5551         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
5552         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
5553         removed macros.
5554         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
5555         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
5556         macros.
5557         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
5558         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
5559         * sysdeps/i386/i586/memset.S (memset): Likewise.
5560         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
5561         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
5562         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
5563         macros.
5564         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
5565         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
5566         Change uses of L(2) to L(out).
5567         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
5568         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
5569         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
5570         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
5571         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
5572         removed macros.
5573         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
5574         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
5575         macros.
5576         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
5577         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
5578         (RETURN): Do not use macro LEAVE.
5579         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
5580         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
5581         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
5582         * sysdeps/i386/i686/memset.S (memset): Likewise.
5583         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
5584         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
5585         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
5586         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
5587         Likewise.
5588         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
5589         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
5590         L(1_2) and L(1_3) into L(1).
5591         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
5592         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
5593         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
5594         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
5595         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
5596         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
5597         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
5598         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
5599         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
5600         macros.
5601         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
5602         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
5603         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
5604         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
5605         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
5606         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
5607         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
5608         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
5609         * sysdeps/i386/strcspn.S (strcspn): Likewise.
5610         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
5611         * sysdeps/i386/strrchr.S (strrchr): Likewise.
5612         * sysdeps/i386/strspn.S (strspn): Likewise.
5613         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
5614         conditional code.
5615         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
5616         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
5617         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
5618         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
5619         L(1_3) into L(1_1).
5620         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
5621         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
5622         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
5623         macros.
5624         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
5626 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
5628         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
5629         macro.
5631 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
5633         * math/atest-exp.c (exp_mpn): Remove ROUND.
5634         * math/atest-exp2.c (exp_mpn): Likewise.
5635         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
5637         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
5638         * stdlib/tst-tls-atexit-lib.c: Likewise.
5639         * stdlib/tst-tls-atexit.c: Likewise.
5641 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
5643         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
5644         and __attribute_alloc_size__.
5646 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
5648         * include/programs/xmalloc.h: Change __attribute_alloc_size to
5649         __attribute_alloc_size__.
5650         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
5651         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
5653 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
5655         * include/programs/xmalloc.h: New file.
5656         * catgets/gencat.c: Include it.
5657         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
5658         * elf/pldd.c: Likewise.
5659         * iconv/iconv_charmap.c: Likewise.
5660         * iconv/iconvconfig.c: Likewise.
5661         * iconv/strtab.c: Likewise.
5662         * locale/programs/locale.c: Likewise.
5663         * locale/programs/localedef.h: Likewise.
5664         * locale/programs/simple-hash.c: Likewise.
5665         * nscd/nscd.h: Likewise.
5666         * nss/makedb.c: Likewise.
5667         * sysdeps/generic/ldconfig.h: Likewise.
5669 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
5671         * Versions.def: Add GLIBC_2.18.
5672         * include/link.h (struct link_map): New member l_tls_dtor_count.
5673         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
5674         (__call_tls_dtors): Likewise.
5675         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
5676         __cxa_thread_atexit_impl.
5677         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
5678         Likewise.
5679         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
5680         Likewise.
5681         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
5682         Likewise.
5683         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
5684         Likewise.
5685         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
5686         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
5687         Likewise.
5688         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
5689         Likewise.
5690         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
5691         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
5692         Likewise.
5693         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
5694         (tests): Add test case tst-tls-atexit.
5695         (modules-names): Add shared library for tst-tls-atexit.
5696         * stdlib/Versions (GLIBC_2.17): Add __cxa_thread_atexit_impl.
5697         (GLIBC_PRIVATE): Add __call_tls_dtors.
5698         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
5699         for libstdc++.
5700         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
5701         * stdlib/tst-tls-atexit.c: New test case.
5702         * stdlib/tst-tls-atexit-lib.c: New test case.
5704         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
5706         * elf/Versions (ld): Add _dl_find_dso_for_object.
5707         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
5708         * elf/dl-open.c (_dl_find_dso_for_object): New function.
5709         (dl_open_worker): Use _dl_find_dso_for_object.
5710         * elf/dl-sym.c (do_sym): Likewise.
5711         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
5713 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
5715         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
5716         Syntactic changes only.
5717         (_dl_runtime_profile): Do a tail-call to the resolved function.
5719 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
5721         [BZ #13550]
5722         * sysdeps/x86_64/bp-asm.h: Remove file.
5723         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
5724         <bp-sym.h> and <bp-asm.h>.
5725         (__clone): Do not use BP_SYM.
5726         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
5727         <bp-sym.h> and <bp-asm.h>.
5728         * sysdeps/unix/x86_64/sysdep.S: Likewise.
5729         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
5730         "bp-asm.h".
5731         (_setjmp): Do not use BP_SYM.
5732         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
5733         "bp-asm.h".
5734         (setjmp): Do not use BP_SYM.
5735         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
5736         libc_hidden_def.
5737         (mempcpy): Do not use BP_SYM in weak_alias.
5738         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
5739         "bp-asm.h".
5740         (strchr): Do not use BP_SYM.
5741         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
5742         "bp-asm.h".
5743         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
5744         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
5745         (_start): Do not use BP_SYM.
5746         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
5747         "bp-asm.h".
5748         (strcat): Do not use BP_SYM.
5749         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
5750         "bp-asm.h".
5751         (STRCMP): Do not use BP_SYM.
5752         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
5753         "bp-asm.h".
5754         (STRCPY): Do not use BP_SYM.
5755         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
5756         "bp-asm.h".
5757         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
5758         "bp-asm.h".
5759         (FUNCTION): Do not use BP_SYM.
5760         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
5761         weak_alias.
5762         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
5764 2013-02-17  Andreas Jaeger  <aj@suse.de>
5766         * time/Versions: Sort entries.
5767         * string/Versions: Likewise.
5768         * resolv/Versions: Likewise.
5769         * posix/Versions: Likewise.
5770         * iconv/Versions: Likewise.
5771         * elf/Versions: Likewise.
5772         * wcsmbs/Versions: Likewise.
5774 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
5776         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
5777         loop termination condition.
5779         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
5780         variable to calculate EZ.
5781         (__sqr): Likewise.
5783         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
5784         the lower precision input.
5786 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
5788         [BZ #13550]
5789         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
5790         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
5791         (run-via-rtld-prefix): Do not handle %-bp tests.
5792         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
5793         (all-object-suffixes): Remove .ob.
5794         (bppfx): Remove variable.
5795         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
5796         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
5797         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
5798         [$(build-bounded) = yes] (libtype.ob): Likewise.
5799         * Makerules (elide-routines.ob): Remove variable.
5800         (do-tests-clean): Do not handle *-bp.out.
5801         (common-mostlyclean): Do not handle *-bp and *-bp.out.
5802         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
5803         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
5804         (tests): Do not include $(tests-bp.out).
5805         (xtests): Do not include $(xtests-bp.out).
5806         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
5807         [$(build-bounded) = yes] ($(addprefix
5808         $(objpfx),$(binaries-bounded))): Remove rule.
5809         ($(objpfx)%-bp.out): Remove rule.
5810         * config.make.in (build-bounded): Remove variable.
5811         * crypt/Makefile [$(build-bounded) = yes]
5812         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
5813         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
5814         append to variable.
5815         [$(build-bounded) = yes] (install-lib): Likewise.
5816         [$(build-bounded) = yes] (generated): Likewise.
5817         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
5818         Remove rule.
5819         * intl/Makefile [$(build-bounded) = yes]
5820         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
5821         * math/Makefile [$(build-bounded) = yes]
5822         ($(tests:%=$(objpfx)%-bp): Likewise.
5823         * misc/Makefile [$(build-bounded) = yes]
5824         ($(objpfx)tst-tsearch-bp): Likewise.
5825         * nptl/Makeconfig (bounded-thread-library): Remove variable.
5826         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
5827         Remove dependency.
5828         * string/Makefile (o-objects.ob): Remove variable.
5829         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
5830         (CFLAGS-.ob): Remove variable.
5831         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
5832         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
5833         both definitions of variable.
5834         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
5835         (ASFLAGS-.ob): Remove variable.
5837 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
5839         [BZ #13550]
5840         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
5841         Remove __BOUNDED_POINTERS__ from condition.
5842         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
5843         * string/bits/string2.h [!__NO_STRING_INLINES &&
5844         !__BOUNDED_POINTERS__]: Likewise.
5845         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
5846         Likewise.
5847         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
5848         Remove conditional code.
5849         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
5850         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
5851         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
5852         condition.
5854         [BZ #13550]
5855         * csu/libc-start.c: Do not include <bp-sym.h>.
5856         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
5857         * elf/dl-open.c: Do not include <bp-sym.h>.
5858         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
5859         * math/fegetenv.c: Do not include <bp-sym.h>.
5860         (fegetenv): Do not use BP_SYM in versioned symbols.
5861         * nptl/sysdeps/pthread/bits/libc-lockP.h
5862         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
5863         <bp-sym.h>.
5864         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
5865         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
5866         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
5867         (__pthread_mutex_destroy): Likewise.
5868         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
5869         (__pthread_mutex_lock): Likewise.
5870         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
5871         (__pthread_mutex_trylock): Likewise.
5872         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
5873         (__pthread_mutex_unlock): Likewise.
5874         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
5875         (__pthread_mutexattr_init): Likewise.
5876         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
5877         (__pthread_mutexattr_destroy): Likewise.
5878         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
5879         (__pthread_mutexattr_settype): Likewise.
5880         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
5881         (__pthread_rwlock_init): Likewise.
5882         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
5883         (__pthread_rwlock_destroy): Likewise.
5884         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
5885         (__pthread_rwlock_rdlock): Likewise.
5886         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
5887         (__pthread_rwlock_tryrdlock): Likewise.
5888         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
5889         (__pthread_rwlock_wrlock): Likewise.
5890         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
5891         (__pthread_rwlock_trywrlock): Likewise.
5892         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
5893         (__pthread_rwlock_unlock): Likewise.
5894         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
5895         (__pthread_key_create): Likewise.
5896         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
5897         (__pthread_setspecific): Likewise.
5898         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
5899         (__pthread_getspecific): Likewise.
5900         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
5901         Likewise.
5902         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
5903         (_pthread_cleanup_push_defer): Likewise.
5904         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
5905         (_pthread_cleanup_pop_restore): Likewise.
5906         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
5907         (pthread_setcancelstate): Likewise.
5908         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
5909         <bp-sym.h>.
5910         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
5911         (memchr): Do not use BP_SYM in weak_alias.
5912         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
5913         (fegetenv): Do not use BP_SYM in versioned symbols.
5914         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
5915         (fesetenv): Do not use BP_SYM in versioned symbols.
5916         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
5917         (feupdateenv): Do not use BP_SYM in versioned symbols.
5918         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
5919         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
5920         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
5921         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
5922         (open64): Do not use BP_SYM in weak_alias.
5923         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
5924         (fegetenv): Do not use BP_SYM in versioned symbols.
5925         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
5926         (fesetenv): Do not use BP_SYM in versioned symbols.
5927         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
5928         (feupdateenv): Do not use BP_SYM in versioned symbols.
5929         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
5930         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
5931         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
5932         (feraiseexcept): Do not use BP_SYM in versioned symbols.
5933         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
5934         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
5935         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
5936         <bp-sym.h>.
5937         (__libc_start_main): Do not use BP_SYM.
5939 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
5941         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
5942         redundant return line.
5943         (norm): Likewise.
5944         (denorm): Likewise.
5945         (dbl_mp): Likewise.
5946         (sub_magnitudes): Likewise.
5947         (__add): Likewise.
5948         (__sub): Likewise.
5949         (__mul): Likewise.
5950         (__inv): Likewise.
5951         (__dvd): Likewise.
5952         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
5953         (norm): Likewise.
5954         (denorm): Likewise.
5955         (dbl_mp): Likewise.
5956         (sub_magnitudes): Likewise.
5957         (__add): Likewise.
5958         (__sub): Likewise.
5959         (__mul): Likewise.
5960         (__inv): Likewise.
5961         (__dvd): Likewise.
5963         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
5964         instead of __mul.
5965         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
5966         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
5967         (cc32): Likewise.
5969         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
5970         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
5971         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
5972         of __mul for squares.
5973         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
5974         function
5975         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
5976         Likewise.
5977         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
5978         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
5980 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
5982         [BZ #13550]
5983         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
5984         code.
5985         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
5986         prototype or function definition.  Rename ubp_* variables and
5987         parameters.  Remove argv definitions conditional on
5988         [__BOUNDED_POINTERS__].
5989         * debug/backtrace.c (__backtrace): Do not use __unbounded.
5990         * elf/dl-runtime.c (_dl_fixup): Likewise.
5991         * include/set-hooks.h (RUN_HOOK): Likewise.
5992         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
5993         definition.
5994         * string/strcpy.c (strcpy): Do not use __unbounded.
5995         * sysdeps/generic/frame.h (struct layout): Likewise.
5996         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
5997         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
5998         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
5999         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
6000         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
6001         (__backtrace): Likewise.
6002         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
6003         use __ptrvalue.
6004         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
6005         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
6006         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
6007         Likewise.
6008         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
6009         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
6010         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
6011         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
6012         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
6013         Do not use __unbounded.
6014         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
6015         Rename __unboundedrlimits parameter to rlimits in prototype.
6016         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
6017         Do not use __unbounded.
6018         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
6019         not use __ptrvalue.
6020         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
6021         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
6022         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
6023         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
6024         __ptrvalue or __unbounded.
6025         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
6026         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
6027         use __unbounded.
6028         (__new_msgctl): Do not use __ptrvalue.
6029         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
6030         __unbounded.
6031         (__libc_msgrcv): Do not use __ptrvalue.
6032         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
6033         startup_info): Do not use __unbounded.
6034         (__libc_start_main): Likewise.  Rename ubp_* variables and
6035         parameters.  Remove argv definitions conditional on
6036         [__BOUNDED_POINTERS__].
6037         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
6038         __ptrvalue.
6039         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
6040         use __unbounded.
6041         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
6042         or __ptrvalue.
6043         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
6044         use __unbounded.
6045         (__new_shmctl): Do not use __ptrvalue.
6046         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
6047         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
6048         Likewise.
6049         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
6050         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
6051         (__libc_sigaction): Likewise.
6052         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
6053         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
6054         Likewise.
6055         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
6057 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
6059         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
6061         * string/mempcpy.c: Implement by calling memcpy.
6063 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
6065         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
6067         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
6068         evaluation.
6070         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
6071         values in the mantissa.
6073         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
6074         minimize writes to Z.
6075         (sub_magnitudes): Simplify code a bit.
6077 2013-02-12  Roland McGrath  <roland@hack.frob.com>
6079         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
6080         from the message.  The linker prefixes all warnings with that already.
6082 2013-02-12  Andreas Schwab  <schwab@suse.de>
6084         [BZ #15078]
6085         * posix/regexec.c (extend_buffers): Add parameter min_len.
6086         (check_matching): Pass minimum needed length.
6087         (clean_state_log_if_needed): Likewise.
6088         (get_subexp): Likewise.
6089         * posix/Makefile (tests): Add bug-regex34.
6090         (bug-regex34-ENV): Define.
6091         * posix/bug-regex34.c: New file.
6093         [BZ #11561]
6094         * posix/regcomp.c (parse_bracket_exp): When looking up collating
6095         elements compare against the byte sequence of it, not its name.
6096         * posix/Makefile (tests): Add bug-regex35.
6097         (bug-regex35-ENV): Define.
6098         * posix/bug-regex35.c: New file.
6100 2013-02-11  Tom de Vries  <tom@codesourcery.com>
6102         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
6103         comment.
6104         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
6105         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
6106         (CHECK_EOL): Add undef.
6108 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
6110         * bits/stdlib-bsearch.h: New file.
6111         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
6112         * stdlib/stdlib.h: Likewise.
6114 2013-02-11  Roland McGrath  <roland@hack.frob.com>
6116         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
6117         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
6118         declaration.
6119         * manual/search.texi (Array Search Function): Add missing const in
6120         lfind prototype.
6121         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
6122         declaration to use rlim_t.
6123         (Basic Scheduling Functions): Remove erroneous const from
6124         sched_getparam prototype.  Remove erroneous * from
6125         sched_get_priority_max and sched_get_priority_min prototypes.
6126         (Resource Usage): Fix summary @comment on vtimes to refer to
6127         sys/vtimes.h rather than vtimes.h.
6128         Add missing *s in vtimes prototype.
6129         (Limits on Resources): Fix ulimit prototype to return long int.
6130         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
6131         prototypes to use long int rather than double.
6132         (BSD Random): Fix initstate and setstate to use char *, not void *.
6133         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
6134         prototype to make second argument 'struct aiocb64 *const[]'.
6135         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
6136         (Status of AIO Operations): Remove erroneous const in aio_return and
6137         aio_return64 prototypes.
6138         (Synchronizing I/O): Fix sync prototype to return void.
6139         * manual/startup.texi (Suboptions): Remove an erroneous const in
6140         getsubopt prototype.
6141         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
6142         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
6143         use size_t rather than int.
6144         (Scanning All Users): Likewise for getpwent_r.
6145         (Setting Groups): Add missing const to setgroups prototype.
6146         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
6147         * manual/socket.texi (Host Names): Fix gethostbyaddr and
6148         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
6149         'const void *' rather than 'const char *'.
6150         (Host Address Functions): Likewise for inet_ntop.
6151         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
6152         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
6153         ssize_t for return value.
6154         (Sending Data): Likewise for send, sendto, sendmsg.
6155         (Socket Option Functions): Add a missing const in setsockopt prototype.
6156         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
6157         use wchar_t for the argument.
6158         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
6159         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
6160         take no arguments.
6161         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
6162         double/float/long double for second argument.
6163         Fix return types of significand, significandf, significandl.
6164         * manual/filesys.texi (Setting Permissions): Use mode_t for second
6165         argument in fchmod prototype.
6166         (File Owner): Use uid_t and gid_t in fchown prototype.
6167         (File Times): Add const to utimes, futimes, and lutimes prototypes.
6168         (Making Special Files): Use mode_t and dev_t in mknod prototype.
6169         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
6170         use 'const struct dirent **' as argument types to CMP function pointer
6171         argument.
6172         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
6173         (File Times): Fix summary magic @comment for struct utimbuf and utime
6174         to refer to utime.h, not time.h.
6175         * manual/string.texi (Argz Functions): Add missing const in
6176         argz_extract and argz_next prototypes.
6177         (Finding Tokens in a String): Likewise for basename.
6178         (String/Array Comparison): Fix typo in wcscasecmp prototype.
6179         (Copying and Concatenation): Fix typo in wmemmove prototype.
6180         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
6181         (Signal Stack): Remove erroneous const in sigstack prototype.
6182         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
6183         prototype.
6184         (Simple Calendar Time): Likewise for stime.
6185         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
6186         prototype.
6187         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
6188         say sys/sysctl.h instead.
6189         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
6190         and vsyslog prototypes.
6192 2013-02-11  Tom de Vries  <tom@codesourcery.com>
6194         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
6195         Remove.
6197 2013-02-11  Roland McGrath  <roland@hack.frob.com>
6199         * misc/sys/mman.h: Fix typo in mremap comment.
6201 2013-02-08  Roland McGrath  <roland@hack.frob.com>
6203         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
6204         the '\0' terminator.
6206 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
6208         [BZ #13550]
6209         * debug/segfault.c: Don't include <bp-checks.h>.
6210         * sysdeps/generic/bp-checks.h: Remove file.
6211         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
6212         (__GETDENTS): Don't use CHECK_N.
6213         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
6214         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
6215         (__getgroups): Don't use CHECK_N.
6216         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
6217         (setgroups): Don't use CHECK_N.
6218         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
6219         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
6220         (__libc_msgrcv): Don't use CHECK_N.
6221         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
6222         (__libc_msgsnd): Don't use CHECK_N.
6223         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
6224         <bp-checks.h>.
6225         (__libc_pread): Don't use CHECK_N.
6226         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
6227         include <bp-checks.h>.
6228         (__libc_pread64): Don't use CHECK_N.
6229         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
6230         include <bp-checks.h>.
6231         (__libc_pwrite): Don't use CHECK_N.
6232         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
6233         include <bp-checks.h>.
6234         (__libc_pwrite64): Don't use CHECK_N.
6235         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
6236         <bp-checks.h>.
6237         (__libc_pread): Don't use CHECK_N.
6238         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
6239         include <bp-checks.h>.
6240         (__libc_pread64): Don't use CHECK_N.
6241         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
6242         include <bp-checks.h>.
6243         (__libc_pwrite): Don't use CHECK_N.
6244         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
6245         include <bp-checks.h>.
6246         (__libc_pwrite64): Don't use CHECK_N.
6247         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
6248         (do_pread): Don't use CHECK_N.
6249         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
6250         (do_pread64): Don't use CHECK_N.
6251         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
6252         (do_pwrite): Don't use CHECK_N.
6253         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
6254         (do_pwrite64): Don't use CHECK_N.
6255         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
6256         (__libc_readv): Don't use CHECK_N.
6257         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
6258         (semop): Don't use CHECK_N.
6259         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
6260         <bp-checks.h>.
6261         (semtimedop): Don't use CHECK_N.
6262         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
6263         (__libc_pread): Don't use CHECK_N.
6264         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
6265         <bp-checks.h>.
6266         (__libc_pread64): Don't use CHECK_N.
6267         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
6268         <bp-checks.h>.
6269         (__libc_pwrite): Don't use CHECK_N.
6270         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
6271         <bp-checks.h>.
6272         (__libc_pwrite64): Don't use CHECK_N.
6273         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
6274         <bp-checks.h>.
6275         (__libc_msgrcv): Don't use CHECK_N.
6276         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
6277         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
6278         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
6279         (__libc_writev): Don't use CHECK_N.
6281 2013-02-08  Roland McGrath  <roland@hack.frob.com>
6283         * string/strcpy.c: Removed unused variable.
6285         * Makeconfig (+sysdep-includes): Define with := rather than =.
6286         Use an existing include/ subdir of each sysdeps dir before it.
6288 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
6290         * nscd/connection.c (register_traced_file): Comment function.
6291         [HAVE_INOTIFY] (union __inev): Define.
6292         [HAVE_INOTIFY] (inotify_check_files): New function.
6293         [HAVE_INOTIFY] (clear_db_cache): Likewise.
6294         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
6295         clear_db_cache.
6296         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
6298 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
6300         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
6301         loaded if not already and that a failure is permanent.
6303 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
6305         [BZ #15006]
6306         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
6307         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
6309 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
6311         [BZ #13550]
6312         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
6313         (CHECK_1_NULL_OK): Likewise.
6314         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
6315         (__fxstat): Do not use CHECK_1.
6316         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
6317         <bp-checks.h>.
6318         (___fxstat64): Do not use CHECK_1.
6319         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
6320         <bp-checks.h>.
6321         (__fxstatat): Do not use CHECK_1.
6322         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
6323         <bp-checks.h>.
6324         (__fxstatat64): Do not use CHECK_1.
6325         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
6326         <bp-checks.h>.
6327         (__fxstat): Do not use CHECK_1.
6328         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
6329         <bp-checks.h>.
6330         (__fxstatat): Do not use CHECK_1.
6331         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
6332         <bp-checks.h>.
6333         (__getresgid): Do not use CHECK_1.
6334         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
6335         <bp-checks.h>.
6336         (__getresuid): Do not use CHECK_1.
6337         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
6338         <bp-checks.h>.
6339         (__lxstat): Do not use CHECK_1.
6340         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
6341         <bp-checks.h>.
6342         (__old_msgctl): Do not use CHECK_1.
6343         (__new_msgctl): Likewise.
6344         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
6345         <bp-checks.h>.
6346         (__new_setrlimit): Do not use CHECK_1.
6347         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
6348         <bp-checks.h>.
6349         (__old_shmctl): Do not use CHECK_1.
6350         (__new_shmctl): Likewise.
6351         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
6352         <bp-checks.h>.
6353         (__xstat): Do not use CHECK_1.
6354         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
6355         (__lxstat): Do not use CHECK_1.
6356         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
6357         <bp-checks.h>.
6358         (___lxstat64): Do not use CHECK_1.
6359         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
6360         (__old_msgctl): Do not use CHECK_1.
6361         (__new_msgctl): Likewise.
6362         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
6363         <bp-checks.h>.
6364         (__gettimeofday): Do not use CHECK_1.
6365         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
6366         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
6367         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
6368         <bp-checks.h>.
6369         (__gettimeofday): Do not use CHECK_1.
6370         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
6371         (__old_shmctl): Do not use CHECK_1_NULL_OK.
6372         (__new_shmctl): Do not use CHECK_1.
6373         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
6374         <bp-checks.h>.
6375         (do_sigtimedwait): Do not use CHECK_1.
6376         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
6377         <bp-checks.h>.
6378         (do_sigwaitinfo): Do not use CHECK_1.
6379         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
6380         <bp-checks.h>.
6381         (msgctl): Do not use CHECK_1.
6382         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
6383         <bp-checks.h>.
6384         (shmctl): Do not use CHECK_1.
6385         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
6386         (ustat): Do not use CHECK_1.
6387         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
6388         <bp-checks.h>.
6389         (__fxstat): Do not use CHECK_1.
6390         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
6391         <bp-checks.h>.
6392         (__fxstatat): Do not use CHECK_1.
6393         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
6394         <bp-checks.h>.
6395         (__lxstat): Do not use CHECK_1.
6396         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
6397         <bp-checks.h>.
6398         (__xstat): Do not use CHECK_1.
6399         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
6400         (__xstat): Do not use CHECK_1.
6401         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
6402         (___xstat64): Do not use CHECK_1.
6404         [BZ #13550]
6405         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
6406         definitions.
6407         (CHECK_BOUNDS_HIGH): Likewise.
6408         * string/strcpy.c: Do not include <bp-checks.h>.
6409         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
6411 2013-02-07  Roland McGrath  <roland@hack.frob.com>
6413         * nscd/nscd-client.h (__nscd_drop_map_ref):
6414         Add __attribute__ ((unused)).
6415         * nis/nss-nisplus.h (niserr2nss): Likewise.
6417         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
6418         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
6420         * csu/libc-tls.c (init_static_tls, init_slotinfo):
6421         Remove inline keyword.
6422         * include/rounding-mode.h (round_away): Likewise.
6423         * libio/wfileops.c (adjust_wide_data): Likewise.
6424         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
6425         (__m128i_strloadu_tolower): Likewise.
6426         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
6427         (__m128i_strloadu_tolower): Likewise.
6428         * time/mktime.c (ydhms_diff): Likewise.
6429         * locale/elem-hash.h (elem_hash): Likewise.
6430         * locale/setlocale.c (setdata): Likewise.
6431         * posix/regex_internal.h (re_string_char_size_at): Likewise.
6432         (re_string_wchar_at): Likewise.
6433         (bitset_not, bitset_merge, bitset_mask): Likewise.
6434         [!(__GNUC__ > 3)] (inline): Remove macro.
6435         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
6436         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
6437         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
6438         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
6439         * string/memcmp.c (memcmp_bytes): Likewise.
6440         * locale/programs/locarchive.c (compute_hashval): Likewise.
6441         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
6442         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
6443         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
6444         * nss/getent.c (print_rpc, print_protocols): Likewise.
6445         (print_passwd, print_group, print_aliases): Likewise.
6446         * nis/nss-nisplus.h (niserr2nss): Likewise.
6447         * nscd/connections.c (restart_p): Likewise.
6448         Change return type to bool.
6450 2013-02-05  Roland McGrath  <roland@hack.frob.com>
6452         * Makeconfig (all-Depend-files): Add existing
6453         $(sorted-subdirs:=/Depend) files.
6454         (all-subdirs): Remove nss.
6455         * sysdeps/unix/inet/Subdirs: Add it here instead.
6456         * hesiod/Depend: New file.
6458         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
6459         instead of calling alloca.
6461         * io/lseek.c (__lseek): Rename to __libc_lseek.
6462         Define __lseek as an alias.
6464         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
6466 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
6468         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
6469         else clause and remove check for non-standard endianness.
6471 2013-02-04  David S. Miller  <davem@davemloft.net>
6473         * sysdeps/sparc/fpu/libm-test-ulps: Update.
6475 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
6477         [BZ #13550]
6478         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
6479         (__ubp_memchr): Remove prototype.
6480         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
6481         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
6482         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
6483         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
6484         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
6485         Remove alias.
6486         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
6487         (__ubp_memchr): Likewise.
6488         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
6489         (__ubp_memchr): Likewise.
6490         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
6491         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
6492         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
6493         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
6494         CHECK_STRING.
6495         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
6496         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
6497         (__getcwd): Do not use CHECK_STRING.
6498         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
6499         <bp-checks.h>.
6500         (__real_chown): Do not use CHECK_STRING.
6501         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
6502         <bp-checks.h>.
6503         (fchownat): Do not use CHECK_STRING.
6504         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
6505         CHECK_STRING.
6506         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
6507         <bp-checks.h>.
6508         (__lchown): Do not use CHECK_STRING.
6509         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
6510         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
6511         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
6512         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
6513         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
6514         include <bp-checks.h>.
6515         (truncate64): Do not use CHECK_STRING.
6516         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
6517         <bp-checks.h>.
6518         (__real_chown): Do not use CHECK_STRING.
6519         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
6520         <bp-checks.h>.
6521         (__lchown): Do not use CHECK_STRING.
6522         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
6523         <bp-checks.h>.
6524         (__chown): Do not use CHECK_STRING.
6525         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
6526         <bp-checks.h>.
6527         (truncate64): Do not use CHECK_STRING.
6528         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
6529         Likewise.
6530         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
6531         (__xmknod): Do not use CHECK_STRING.
6532         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
6533         <bp-checks.h>.
6534         (__xmknodat): Do not use CHECK_STRING.
6535         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
6536         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
6538 2013-02-04  Andreas Schwab  <schwab@suse.de>
6540         [BZ #14142]
6541         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
6542         * include/netdb.h: Likewise for h_errno.
6543         * elf/tst-stackguard1.c: Include <tls.h>.
6545 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
6547         * elf/link.h (struct link_map): Extend the l_addr comment.
6548         * include/link.h (struct link_map): Likewise.
6550 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
6552         [BZ #13550]
6553         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
6554         (BOUNDED_1): Remove macro.
6555         * debug/backtrace.c: Don't include <bp-checks.h>.
6556         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
6557         (__backtrace): Likewise.
6558         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
6559         <bp-checks.h>.
6560         (__backtrace): Don't use BOUNDED_1.
6561         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
6562         <bp-checks.h>.
6563         (__backtrace): Don't use BOUNDED_1.
6564         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
6565         (__backtrace): Don't use BOUNDED_1.
6566         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
6567         (shmat): Don't use BOUNDED_N.
6569 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
6571         [BZ #13550]
6572         * sysdeps/generic/bp-start.h: Remove file.
6573         * csu/libc-start.c: Don't include <bp-start.h>.
6574         (LIBC_START_MAIN): Set up __environ directly instead of using
6575         INIT_ARGV_and_ENVIRON.
6576         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
6577         <bp-start.h>.
6579         [BZ #13550]
6580         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
6581         definitions.
6582         (CHECK_FCNTL): Likewise.
6583         (CHECK_N_PAGES): Likewise.
6585         [BZ #13550]
6586         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
6587         definitions.
6588         (CHECK_SIGSET_NULL_OK): Likewise.
6589         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
6590         <bp-checks.h>.
6591         (sigpending): Don't use CHECK_SIGSET.
6592         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
6593         <bp-checks.h>.
6594         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
6595         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
6596         <bp-checks.h>.
6597         (do_sigsuspend): Don't use CHECK_SIGSET.
6598         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
6599         use CHECK_SIGSET.
6600         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
6601         (do_sigwait): Don't use CHECK_SIGSET.
6602         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
6603         use CHECK_SIGSET.
6604         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
6605         include <bp-checks.h>.
6606         (sigpending): Don't use CHECK_SIGSET.
6607         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
6608         include <bp-checks.h>.
6609         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
6610         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
6611         <bp-checks.h>.
6612         (sigpending): Don't use CHECK_SIGSET.
6613         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
6614         <bp-checks.h>.
6615         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
6617         [BZ #13550]
6618         * sysdeps/generic/bp-semctl.h: Remove file.
6619         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
6620         <bp-checks.h> and <bp-semctl.h>.
6621         (__old_semctl): Don't use CHECK_SEMCTL.
6622         (__new_semctl): Likewise.
6623         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
6624         and <bp-semctl.h>.
6625         (__old_semctl): Don't use CHECK_SEMCTL.
6626         (__new_semctl): Likewise.
6627         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
6628         <bp-checks.h> and <bp-semctl.h>.
6629         (__old_semctl): Don't use CHECK_SEMCTL.
6630         (__new_semctl): Likewise.
6631         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
6632         <bp-checks.h> and <bp-semctl.h>.
6633         (semctl): Don't use CHECK_SEMCTL.
6635         [BZ #13550]
6636         * Makerules (elide-bp-thunks): Remove variable.
6637         (elide-routines.oS): Don't use $(elide-bp-thunks).
6638         (elide-routines.os): Likewise.
6639         (elide-routines.o): Likewise.
6640         (elide-routines.op): Likewise.
6641         (elide-routines.og): Likewise.
6642         (objects): Don't use $(bp-thunks).
6643         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
6644         include.
6645         (common-generated): Do not add s-proto-bp.d.
6646         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
6647         (int): Likewise.
6648         (typ): Likewise.
6649         Do not generate makefile rules for bounded-pointer thunks.
6650         * sysdeps/generic/bp-thunks.h: Remove file.
6651         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
6652         * sysdeps/unix/s-proto-bp.S: Likewise.
6654         [BZ #15062]
6655         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
6656         parts of result separately when argument is not close to line from
6657         -i to i and one part of argument is small.
6658         * math/k_casinhf.c (__kernel_casinhf): Likewise.
6659         * math/k_casinhl.c (__kernel_casinhl): Likewise.
6660         * math/libm-test.inc (cacos_test): Add more tests.
6661         (casin_test): Likewise.
6662         (casinh_test): Likewise.
6663         * sysdeps/i386/fpu/libm-test-ulps: Update.
6664         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6666 2013-01-31  David S. Miller  <davem@davemloft.net>
6668         * po/de.po: Update from translation team.
6670 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
6672         * time/tzfile.c: Include stdint.h for SIZE_MAX.
6674 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
6676         * configure.in (_AC_PROG_CC_C89): New definition.
6677         * configure: Regenerate.
6679         * configure.in (AC_PROG_CPP): New definition.
6680         * configure: Regenerate.
6682 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
6684         * debug/tst-backtrace.h: New file.
6685         * debug/tst-backtrace2.c: Include tst-backtrace.h.
6686         (ret): Remove variable.
6687         (x): Likewise.
6688         (FAIL): Remove macro.
6689         (NO_INLINE): Likewise.
6690         (fn1): Use match function instead of strstr.
6691         * debug/tst-backtrace3.c: Include tst-backtrace.h.
6692         (ret): Remove variable.
6693         (x): Likewise.
6694         (FAIL): Remove macro.
6695         (NO_INLINE): Likewise.
6696         (fn): Use match function instead of strstr.
6697         * debug/tst-backtrace4.c: Include tst-backtrace.h.
6698         (ret): Remove variable.
6699         (x): Likewise.
6700         (FAIL): Remove macro.
6701         (NO_INLINE): Likewise.
6702         (handle_signal): Use match function instead of strstr.
6703         * debug/tst-backtrace5.c: Include tst-backtrace.h.
6704         (ret): Remove variable.
6705         (x): Likewise.
6706         (FAIL): Remove macro.
6707         (NO_INLINE): Likewise.
6708         (handle_signal): Use match function instead of strstr.
6710 2013-01-23  Roland McGrath  <roland@hack.frob.com>
6712         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
6714 2013-01-23  David S. Miller  <davem@davemloft.net>
6716         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
6717         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
6718         argument of CAS if possible.
6719         * sysdeps/sparc/sparc64/bits/atomic.h
6720         (__arch_compare_and_exchange_val_32_acq): Likewise.
6721         (__arch_compare_and_exchange_val_64_acq): Likewise.
6723 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
6725         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
6726         * sysdeps/posix/ulimit.c: ... this.
6727         Include <limits.h>.
6728         * sysdeps/unix/bsd/ulimit.c: Remove file.
6730 2013-01-23  Adam Conrad  <adconrad@0c3.net>
6732         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
6733         (LDFLAGS-tst-array5): Likewise.
6735 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
6737         [BZ #15036]
6738         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
6739         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
6740         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
6741         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
6743 2013-01-21  David S. Miller  <davem@davemloft.net>
6745         * sysdeps/sparc/backtrace.c: New file.
6746         * sysdeps/sparc/sparc32/backtrace.h: New file.
6747         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
6748         * sysdeps/sparc/sparc64/backtrace.h: New file.
6749         * sysdeps/sparc/sparc64/backtrace.c: Delete.
6750         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
6751         -funwind-tables.
6753 2013-01-21  Andreas Schwab  <schwab@suse.de>
6755         [BZ #15020]
6756         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
6757         closed its stdout.
6759 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
6761         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
6762         "mpa2.h".
6763         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
6765 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
6766             Mark Mitchell  <mark@codesourcery.com>
6767             Tom de Vries  <tom@codesourcery.com>
6768             Paul Pluzhnikov  <ppluzhnikov@google.com>
6770         * debug/tst-backtrace2.c: New file.
6771         * debug/tst-backtrace3.c: Likewise.
6772         * debug/tst-backtrace4.c: Likewise.
6773         * debug/tst-backtrace5.c: Likewise.
6774         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
6775         (CFLAGS-tst-backtrace3.c): Likewise.
6776         (CFLAGS-tst-backtrace4.c): Likewise.
6777         (CFLAGS-tst-backtrace5.c): Likewise.
6778         (LDFLAGS-tst-backtrace2): Likewise.
6779         (LDFLAGS-tst-backtrace3): Likewise.
6780         (LDFLAGS-tst-backtrace4): Likewise.
6781         (LDFLAGS-tst-backtrace5): Likewise.
6782         (tests): Add new tests tst-backtrace2, tst-backtrace3,
6783         tst-backtrace4 and tst-backtrace5.
6785 2013-01-18  Anton Blanchard  <anton@samba.org>
6786             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
6788         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
6789         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
6790         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
6791         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
6792         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
6793         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
6794         "+r" and remove output regs list as redundant.  Add explicit inline
6795         asm to specify register of return val to work around compiler codegen
6796         bug.  Remove (int) cast on return value.  Add return type parameter to
6797         use in macro so that this macro does not truncate return value for
6798         64-bit values.
6799         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
6800         pass to INTERNAL_VSYSCALL_NCS.
6801         (INLINE_VSYSCALL): Add 'long int' as return type to
6802         INTERNAL_VSYSCALL_NCS macro invocation.
6803         (INTERNAL_VSYSCALL): Add 'long int' as return type to
6804         INTERNAL_VSYSCALL_NCS macro invocation.
6805         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
6807 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
6809         [BZ #14496]
6810         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
6811         Fix application of SIMD FP exception mask.
6813         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
6814         mp_no from a power of two.
6815         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
6816         __mpexp_twomm1.  Use __pow_mp.
6818         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
6819         multiplication.
6821 2013-01-17  David S. Miller  <davem@davemloft.net>
6823         * sysdeps/sparc/fpu/libm-test-ulps: Update.
6825 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
6827         [BZ #15023]
6828         * include/complex.h: Condition contents on [!_COMPLEX_H].
6829         (__kernel_casinhf): New prototype.
6830         (__kernel_casinh): Likewise.
6831         (__kernel_casinhl): Likewise.
6832         * math/Makefile (libm_calls): Add k_casinh.
6833         * math/k_casinh.c: New file.
6834         * math/k_casinhf.c: Likewise.
6835         * math/k_casinhl.c: Likewise.
6836         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
6837         finite nonzero arguments.
6838         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
6839         finite nonzero arguments.
6840         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
6841         finite nonzero arguments.
6842         * math/s_casinh.c: Do not include <float.h>.
6843         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
6844         * math/s_casinhf.c: Do not include <float.h>.
6845         (__casinhf): Move code for finite nonzero arguments to
6846         k_casinhf.c.
6847         * math/s_casinhl.c: Do not include <float.h>.
6848         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
6849         redefine.
6850         (__casinhl): Move code for finite nonzero arguments to
6851         k_casinhl.c.
6852         * math/libm-test.inc (cacos_test): Add more tests.
6853         * sysdeps/i386/fpu/libm-test-ulps: Update.
6854         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6856 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
6858         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
6859         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
6860         [!HAVE_MREMAP]: Remove [defined linux] case.
6861         * malloc/arena.c: Do not include <malloc-sysdep.h>.
6863 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
6865         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
6867 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
6869         * elf/elf.h (R_386_SIZE32): New relocation.
6870         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
6871         R_386_SIZE32.
6872         (elf_machine_rela): Likewise.
6873         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
6874         R_X86_64_SIZE64 and R_X86_64_SIZE32.
6876 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
6878         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
6879         (FP_FAST_FMA): Do not define.
6880         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
6881         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
6882         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
6883         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
6884         !_SOFT_FLOAT]: Likewise.
6885         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
6886         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
6887         value.
6888         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
6889         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
6890         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
6891         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
6892         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
6893         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
6894         file.
6896 2013-01-16  Andreas Schwab  <schwab@suse.de>
6898         [BZ #14327]
6899         * include/stdlib.h (__mktemp): Add declaration.
6900         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
6901         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
6903 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
6905         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
6906         definitions.
6907         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
6908         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
6909         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
6910         definitions here.
6911         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
6912         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
6913         definitions.
6914         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
6915         and ONE.
6916         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
6917         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
6918         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
6919         definitions.
6920         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
6921         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
6922         definitions.
6923         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
6925         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
6927 2013-01-15  David S. Miller  <davem@davemloft.net>
6929         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
6930         trunc{,f} to libm-sysdep_routes.
6931         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
6932         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
6933         file.
6934         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
6935         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
6936         file.
6937         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
6938         file.
6939         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
6940         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
6941         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
6942         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
6943         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
6944         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
6945         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
6946         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
6948         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
6949         nearbyint{,f} to libm-sysdep_routes.
6950         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
6951         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
6952         New file.
6953         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
6954         file.
6955         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
6956         New file.
6957         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
6958         file.
6959         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
6960         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
6961         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
6962         file.
6963         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
6964         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
6965         file.
6966         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
6967         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
6968         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
6970         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
6971         libc_feholdexcept and libc_fesetenv.
6973 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
6975         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
6977 2013-01-14  David S. Miller  <davem@davemloft.net>
6979         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
6980         (SPARC_ASM_VIS2_IFUNC): Likewise.
6981         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
6982         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
6983         use of 'siam' instruction.
6984         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
6985         Likewise.
6986         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
6987         Likewise.
6988         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
6989         Likewise.
6990         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
6991         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
6992         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
6993         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
6994         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
6995         file.
6996         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
6997         file.
6998         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
6999         file.
7000         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
7001         file.
7002         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
7003         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
7004         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
7005         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
7006         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
7007         new VIS2 routines.
7008         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
7009         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
7010         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
7011         Likewise.
7012         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
7013         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
7014         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
7015         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
7016         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
7017         routines to libm-sysdep_routines.
7018         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
7020         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
7021         fdim/fdimf to libm-sysdep_routines.
7022         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
7023         file.
7024         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
7025         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
7026         file.
7027         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
7028         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
7029         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
7030         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
7031         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
7032         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
7033         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
7035 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
7037         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
7038         to optimize copies.
7040         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
7041         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
7042         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
7044         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
7045         local variable MPTWO.
7046         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
7047         Likewise.
7049 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
7051         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
7052         GLOB_NOESCAPE.
7054 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
7056         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
7058 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
7060         * manual/pattern.texi (glob_t): Document gl_flags.
7061         (glob64_t): Likewise.
7063 2013-01-11  David S. Miller  <davem@davemloft.net>
7065         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
7066         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
7067         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
7068         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
7069         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
7070         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
7071         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
7072         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
7073         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
7074         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
7075         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
7076         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
7077         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
7079         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
7080         sparc V9 rather than using V8 code.
7081         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
7082         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
7084         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
7085         Move to...
7086         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
7087         Here.
7089 2013-01-11  Roland McGrath  <roland@hack.frob.com>
7091         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
7092         not in the main loop.
7093         * configure: Regenerated.
7095 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
7097         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
7098         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
7099         to just #else.
7100         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
7101         [!__GLIBC_HAVE_LONG_LONG] case.
7102         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
7103         condition to just #else.
7104         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
7105         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
7106         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
7107         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
7108         unconditional.
7109         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
7110         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
7111         #elif condition to just #else.
7112         * sysdeps/unix/sysv/linux/sys/sysmacros.h
7113         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
7114         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
7115         #elif condition to just #else.
7117 2013-01-11  Steve Ellcey  <sellcey@mips.com>
7119         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
7120         (EF_MIPS_ARCH_64): Fix value.
7121         (EF_MIPS_ARCH_32R2): New.
7122         (EF_MIPS_ARCH_64R2): New.
7124 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
7126         * Makeconfig (+link-pie-before-libc): New.
7127         (+link-pie-after-libc): Likewise.
7128         (+link-pie-tests): Likewise.
7129         (+link-pie): Rewritten.
7130         (link-before-libc): Remove $(config-LDFLAGS).
7131         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
7132         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
7133         (config-LDFLAGS): Renamed to ...
7134         (rtld-LDFLAGS): This.
7135         (rtld-tests-LDFLAGS): New macro.
7136         (link-libc-rpath-link): Likewise.
7137         (link-libc-tests-rpath-link): Likewise.
7138         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
7139         (link-libc): Prepand $(link-libc-rpath-link).
7140         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
7141         (test-program-prefix): New macro.
7142         (test-via-rtld-prefix): Likewise.
7143         (test-program-cmd): Likewise.
7144         (host-test-program-cmd): Likewise.
7145         * Makefile ($(common-objpfx)testrun.sh): Replace
7146         $(run-program-prefix) with $(test-program-prefix).
7147         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
7148         $(rtld-LDFLAGS).
7149         ($(common-objpfx)shlib.lds): Likewise.
7150         (build-module-helper): Likewise.
7151         ($(common-objpfx)format.lds): Likewise.
7152         * Rules (binaries-pie-tests): New.
7153         (binaries-pie-notests): Likewise.
7154         (binaries-pie): Rewritten.
7155         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
7156         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
7157         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
7158         (make-test-out): Replace $(host-built-program-cmd) with
7159         $(host-test-program-cmd).
7160         * config.make.in (build-hardcoded-path-in-tests): New variable.
7161         * configure.in (--enable-hardcoded-path-in-tests): New configure
7162         option.
7163         (hardcoded_path_in_tests): New AC_SUBST.
7164         * configure: Regenerated.
7165         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
7166         $(built-program-cmd) with $(test-program-cmd).
7167         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
7168         (test_program_cmd): This.
7169         * elf/Makefile ($(objpfx)order.out): Run test with
7170         $(test-program-prefix).
7171         ($(objpfx)order2.out): Likewise.
7172         ($(objpfx)tst-initorder.out): Likewise.
7173         ($(objpfx)tst-initorder2.out): Likewise.
7174         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
7175         $(test-program-cmd).
7176         ($(objpfx)tst-array1-static.out): Likewise.
7177         ($(objpfx)tst-array2.out): Likewise.
7178         ($(objpfx)tst-array3.out): Likewise.
7179         ($(objpfx)tst-array4.out): Likewise.
7180         ($(objpfx)tst-array5.out): Likewise.
7181         ($(objpfx)tst-array5-static.out): Likewise.
7182         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
7183         $(test-program-cmd).
7184         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
7185         $(run-program-prefix) with $(test-program-prefix).
7186         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
7187         (test_program_prefix): This.
7188         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
7189         $(run-program-prefix) with $(test-program-prefix).
7190         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
7191         (test_program_prefix): This.
7192         * iconvdata/tst-tables.sh: Likewise.
7193         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
7194         $(run-program-prefix) with $(test-program-prefix).
7195         ($(objpfx)tst-translit.out): Likewise.
7196         ($(objpfx)tst-gettext2.out): Likewise.
7197         ($(objpfx)tst-gettext4.out): Likewise.
7198         ($(objpfx)tst-gettext6.out): Likewise.
7199         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
7200         (test_program_prefix): This.
7201         * intl/tst-gettext2.sh: Likewise.
7202         * intl/tst-gettext4.sh  Likewise.
7203         * intl/tst-gettext6.sh: Likewise.
7204         * intl/tst-translit.sh: Likewise.
7205         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
7206         with $(test-program-cmd).
7207         * libio/Makefile ($(objpfx)test-freopen.out): Replace
7208         $(run-program-prefix) with $(test-program-prefix).
7209         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
7210         (test_program_prefix): This.
7211         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
7212         $(run-program-prefix) with $(test-program-prefix).
7213         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
7214         (test_program_prefix): This.
7215         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
7216         * posix/Makefile ($(objpfx)globtest.out): Replace
7217         $(run-via-rtld-prefix) and $(test-wrapper) with
7218         $(test-program-prefix) and $(test-via-rtld-prefix).
7219         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
7220         $(test-program-prefix).
7221         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
7222         $(host-test-program-cmd).
7223         (tst-spawn-ARGS): Likewise.
7224         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
7225         $(test-program-prefix).
7226         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
7227         (test_via_rtld_prefix): This.
7228         (test_wrapper): Renamed to ...
7229         (test_program_prefix): This.
7230         (run_program_prefix): Replaced by test_program_prefix.
7231         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
7232         (test_program_prefix): This.
7233         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
7234         with $(host-test-program-cmd).
7235         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
7236         $(run-program-prefix) with $(test-program-prefix).
7237         ($(objpfx)tst-printf.out): Likewise.
7238         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
7239         $(test-program-cmd).
7240         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
7241         (test_program_prefix): This.
7242         * stdio-common/tst-unbputc.sh: Likewise.
7243         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
7244         $(run-program-prefix) with $(test-program-prefix).
7245         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
7246         (test_program_prefix): This.
7247         * string/Makefile ($(objpfx)tst-svc.out):  Replace
7248         $(built-program-cmd) with $(test-program-cmd).
7250 2013-01-11  Andreas Jaeger  <aj@suse.de>
7252         [BZ #15003]
7253         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
7254         value. Sync with Linux 3.7.
7256 2013-01-10  David S. Miller  <davem@davemloft.net>
7258         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
7259         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
7260         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
7262 2013-01-10  Roland McGrath  <roland@hack.frob.com>
7264         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
7265         never set.
7266         * configure: Regenerated.
7268 2013-01-10  David S. Miller  <davem@davemloft.net>
7270         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
7271         sparc V9 rather than using V8 code.
7272         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
7273         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
7275 2013-01-10  Roland McGrath  <roland@hack.frob.com>
7277         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
7278         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
7279         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
7280         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
7281         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
7282         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
7283         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
7284         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
7285         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
7286         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
7287         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
7288         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
7289         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
7290         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
7291         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
7292         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
7293         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
7294         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
7295         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
7296         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
7297         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
7298         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
7299         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
7300         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
7301         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
7302         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
7303         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
7305 2013-01-10  David S. Miller  <davem@davemloft.net>
7307         * sysdeps/sparc/fpu/libm-test-ulps: Update.
7309 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
7311         * posix/Makefile (tests-static): New variable.
7312         (tests): Add $(tests-static).
7313         (tst-exec-static-ARGS): New variable.
7314         (tst-spawn-static-ARGS): Likewise.
7315         * posix/tst-exec-static.c: New file.
7316         * posix/tst-spawn-static.c: Likewise.
7317         * posix/tst-exec.c: Support run directly.
7318         * posix/tst-spawn.c: Likewise.
7320 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
7322         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
7323         long.
7324         * math/bits/mathcalls.h (llrint): Likewise.
7325         (llround): Likewise.
7326         * stdlib/stdlib.h (struct drand48_data): Likewise.
7327         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
7328         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
7329         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
7330         Likewise.
7331         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
7332         Likewise.
7333         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
7334         (elf_greg_t): Likewise.
7335         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
7336         (__jmp_buf): Likewise.
7337         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
7338         definitions.
7339         (llrint): Likewise, for all definitions.
7340         (llrintl): Likewise.
7342         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
7343         Remove [__GNUC__] condition.
7344         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
7345         condition to just [__USE_ISOC99].
7346         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
7348 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
7350         [BZ #14200]
7351         * sysdeps/unix/sysv/linux/x86/bits/environments.h
7352         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
7353         defined.
7354         (_POSIX_V6_ILP32_OFF32): Likewise.
7355         (_XBS5_ILP32_OFF32): Likewise.
7356         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
7357         (__ILP32_OFFBIG_LDFLAGS): Likewise.
7359 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
7361         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
7363         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
7364         doubles __mpexp_twomm1.  Adjust usage.
7365         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
7366         Remove.
7368 2013-01-10  Andreas Schwab  <schwab@suse.de>
7370         [BZ #14964]
7371         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
7372         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
7374 2013-01-09  David S. Miller  <davem@davemloft.net>
7376         [BZ #15003]
7377         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
7378         TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
7379         TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
7380         TCP_FASTOPEN): Define.
7381         (tcp_repair_opt): New structure.
7382         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
7383         enum values.
7384         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
7385         TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
7386         TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
7387         (tcp_cookie_transactions): New structure.
7389 2013-01-09  Anton Blanchard  <anton@samba.org>
7391         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
7392         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
7393         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
7394         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
7396 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
7398         * include/features.h (__USE_ANSI): Remove.
7400 2013-01-09  Roland McGrath  <roland@hack.frob.com>
7402         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
7404         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
7406 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
7408         * sysdeps/s390/fpu/libm-test-ulps: Update.
7410         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7412         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
7413         (__acr): Likewise.
7414         (__cpy): Likewise.
7415         (norm): Likewise.
7416         (denorm): Likewise.
7417         (__mp_dbl): Likewise.
7418         (__dbl_mp): Likewise.
7419         (add_magnitudes): Likewise.
7420         (sub_magnitudes): Likewise.
7421         (__add): Likewise.
7422         (__sub): Likewise.
7423         (__mul): Likewise.
7424         (__inv): Likewise.
7425         (__dvd): Likewise.
7426         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
7427         (__acr): Likewise.
7428         (__cpy): Likewise.
7429         (norm): Likewise.
7430         (denorm): Likewise.
7431         (__mp_dbl): Likewise.
7432         (__dbl_mp): Likewise.
7433         (add_magnitudes): Likewise.
7434         (sub_magnitudes): Likewise.
7435         (__add): Likewise.
7436         (__sub): Likewise.
7437         (__mul): Likewise.
7438         (__inv): Likewise.
7439         (__dvd): Likewise.
7440         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
7441         (__acr): Likewise.
7442         (__cpy): Likewise.
7443         (norm): Likewise.
7444         (denorm): Likewise.
7445         (__mp_dbl): Likewise.
7446         (__dbl_mp): Likewise.
7447         (add_magnitudes): Likewise.
7448         (sub_magnitudes): Likewise.
7449         (__add): Likewise.
7450         (__sub): Likewise.
7451         (__mul): Likewise.
7452         (__inv): Likewise.
7453         (__dvd): Likewise.
7455 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
7457         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
7458         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
7459         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
7460         2 && __USE_EXTERN_INLINES]: Likewise.
7462 2013-01-08  Andreas Jaeger  <aj@suse.de>
7464         [BZ# 14985]
7465         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
7466         Remove.
7467         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
7468         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
7470 2013-01-07  Anton Blanchard  <anton@samba.org>
7472         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
7473         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
7474         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
7475         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
7476         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
7477         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
7478         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
7479         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
7480         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
7481         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
7482         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
7483         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
7484         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
7485         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
7486         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
7487         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
7488         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
7489         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
7490         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
7491         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
7492         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
7493         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
7494         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
7495         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
7496         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
7497         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
7498         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
7499         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
7500         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
7501         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
7502         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
7503         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
7504         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
7505         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
7506         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
7507         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
7508         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
7509         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
7510         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
7511         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
7512         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
7513         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
7514         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
7516 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
7518         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
7519         (__MALLOC_PMT): Likewise.
7520         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
7521         [__GNUC__], only on [_LIBC].
7522         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
7523         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
7524         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
7525         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
7526         forward declaration.
7527         (realloc_hook_ini): Likewise.
7528         (memalign_hook_ini): Likewise.
7529         (__libc_memalign): Do not use __MALLOC_PMT in variable
7530         declaration.
7531         (__libc_valloc): Likewise.
7532         (__libc_pvalloc): Likewise.
7533         (__libc_calloc): Likewise.
7534         (__posix_memalign): Likewise.
7536         [BZ #14996]
7537         * math/s_casinh.c: Include <float.h>.
7538         (__casinh): Do not do computation with squaring and square root
7539         for large arguments.
7540         * math/s_casinhf.c: Include <float.h>.
7541         (__casinhf): Do not do computation with squaring and square root
7542         for large arguments.
7543         * math/s_casinhl.c: Include <float.h>.
7544         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
7545         (__casinhl): Do not do computation with squaring and square root
7546         for large arguments.
7547         * math/libm-test.inc (casin_test): Add more tests.
7548         (casinh_test): Likewise.
7549         * sysdeps/i386/fpu/libm-test-ulps: Update.
7550         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7552 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
7554         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
7555         (__x86_64_raw_data_cache_size): Likewise.
7556         (__x86_64_data_cache_size_half): Likewise.
7557         (__x86_64_raw_data_cache_size_half): Likewise.
7558         (__x86_64_shared_cache_size): Likewise.
7559         (__x86_64_raw_shared_cache_size): Likewise.
7560         (__x86_64_shared_cache_size_half): Likewise.
7561         (__x86_64_raw_shared_cache_size_half): Likewise.
7562         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
7563         to ...
7564         (__x86_data_cache_size): This.
7565         (__x86_64_raw_data_cache_size): Renamed to ...
7566         (__x86_raw_data_cache_size): This.
7567         (__x86_64_data_cache_size_half): Renamed to ...
7568         (__x86_data_cache_size_half): This.
7569         (__x86_64_raw_data_cache_size_half): Renamed to ...
7570         (__x86_raw_data_cache_size_half): This.
7571         (__x86_64_shared_cache_size): Renamed to ...
7572         (__x86_shared_cache_size): This.
7573         (__x86_64_raw_shared_cache_size): Renamed to ...
7574         (__x86_raw_shared_cache_size): This.
7575         (__x86_64_shared_cache_size_half): Renamed to ...
7576         (__x86_shared_cache_size_half): This.
7577         (__x86_64_raw_shared_cache_size_half): Renamed to ...
7578         (__x86_raw_shared_cache_size_half): This.
7579         * sysdeps/x86_64/memcpy.S: Updated.
7580         * sysdeps/x86_64/memset.S: Likewise.
7581         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
7582         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
7583         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
7585 2013-01-04  David S. Miller  <davem@davemloft.net>
7587         * sysdeps/sparc/fpu/libm-test-ulps: Update.
7589 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
7591         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
7592         1 to avoid redefinition warning.
7593         (__USE_GNU): Don't define.
7594         (init_signaling_nan): Protoize.
7596         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7598 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
7600         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
7601         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
7602         (__cpymn): Likewise.
7603         (norm): Remove commented code.
7604         (denorm): Likewise.
7605         (__mp_dbl): Likewise.
7606         (__inv): Likewise.
7607         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
7608         (__cpymn): Likewise.
7609         (norm): Remove commented code.
7610         (denorm): Likewise.
7611         (__mp_dbl): Likewise.
7612         (__inv): Likewise.
7614         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
7615         mp_no value for 1.0 and 2.0.
7616         (norm): Use RADIXI instead of radixi.d.
7617         (denorm): Likewise.
7618         (__mul): Use 0.0 instead of zero.d.
7619         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
7620         mp_no value for 1.0 and 2.0.
7621         (norm): Use RADIXI instead of radixi.d.
7622         (denorm): Likewise.
7623         (__mul): Use 0.0 instead of zero.d.
7625 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
7627         [BZ #14994]
7628         * math/s_casinh.c (__casinh): Reduce finite argument to first
7629         quadrant then set signs of results at the end.
7630         * math/s_casinhf.c (__casinhf): Likewise.
7631         * math/s_casinhl.c (__casinhl): Likewise.
7632         * math/libm-test.inc (casin_test): Add more tests.
7633         (casinh_test): Likewise.
7634         * sysdeps/i386/fpu/libm-test-ulps: Update.
7635         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7637 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
7639         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
7641         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
7643         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
7644         declarations.
7645         (denorm): Likewise.
7646         (__mp_dbl): Likewise.
7647         (__inv): Likewise.
7649         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
7650         and adjust the header comment.
7652         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
7653         variable name from declaration.
7655 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
7657         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
7658         Initialize COMMON_CPUID_INDEX_7 element.
7659         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
7660         (CPUID_RTM): Likewise.
7661         (HAS_RTM): Likewise.
7662         (COMMON_CPUID_INDEX_7): New enum.
7664 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
7666         [BZ #14981]
7667         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
7668         size is zero, record memory as freed.
7670 2013-01-03  Andreas Jaeger  <aj@suse.de>
7672         * po/ia.po: Add new Interlingua translation.
7674 2012-01-03  Allan McRae  <allan@archlinux.org>
7676         * locale/programs/localedef.c: Fix description of '--posix' flag.
7678 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
7680         * NEWS: Update dates in second copyright notice.
7681         * README: Update copyright dates in example.
7682         * manual/libc.texinfo: Update copyright dates.
7683         * scripts/test-installation.pl: Update copyright date in --version
7684         output.
7686         * hurd/ctty-input.c: Fix copyright notice formatting.
7687         * hurd/ctty-output.c: Likewise.
7688         * hurd/dtable.c: Likewise.
7689         * hurd/hurd-raise.c: Likewise.
7690         * hurd/hurdprio.c: Likewise.
7691         * hurd/msgportdemux.c: Likewise.
7692         * misc/sys/file.h: Likewise.
7693         * misc/sys/ioctl.h: Likewise.
7694         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
7695         * sysdeps/mach/hurd/chdir.c: Likewise.
7696         * sysdeps/mach/hurd/fchdir.c: Likewise.
7697         * sysdeps/mach/hurd/rename.c: Likewise.
7698         * sysdeps/mach/hurd/rmdir.c: Likewise.
7699         * sysdeps/mach/hurd/seekdir.c: Likewise.
7700         * sysdeps/mach/hurd/setsid.c: Likewise.
7701         * sysdeps/posix/wait3.c: Likewise.
7703         * All files with FSF copyright notices: Update copyright dates
7704         using scripts/update-copyrights.
7705         * intl/plural.c: Regenerated.
7706         * locale/programs/charmap-kw.h: Likewise.
7707         * locale/programs/locfile-kw.h: Likewise.
7709 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
7711         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
7712         four values.
7714         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
7715         calculation loop and add branch prediction.
7717         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
7718         check access beyond bounds of m1np.
7720         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
7721         MPTWO.
7722         (__inv): Remove local variable MPTWO to use the global
7723         constant.
7724         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
7725         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
7726         variable MPTWO.
7727         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
7728         MP3HALFS static const.
7730 2013-01-01  David S. Miller  <davem@davemloft.net>
7732         * po/ca.po: Update from translation team.
7734 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
7736         * scripts/update-copyrights: New file.
7737         * Makeconfig: Reformat copyright notice.
7738         * ctype/ctype.h: Likewise.
7739         * debug/swprintf_chk.c: Likewise.
7740         * elf/dl-cache.c: Likewise.
7741         * elf/dl-debug.c: Likewise.
7742         * elf/dl-object.c: Likewise.
7743         * grp/initgroups.c: Likewise.
7744         * hurd/Makefile: Likewise.
7745         * hurd/hurd/signal.h: Likewise.
7746         * hurd/hurdfault.c: Likewise.
7747         * hurd/hurdioctl.c: Likewise.
7748         * hurd/hurdlookup.c: Likewise.
7749         * hurd/intr-msg.c: Likewise.
7750         * iconv/gconv_open.c: Likewise.
7751         * libio/swprintf.c: Likewise.
7752         * locale/lc-ctype.c: Likewise.
7753         * locale/nl_langinfo.c: Likewise.
7754         * mach/Machrules: Likewise.
7755         * mach/Makefile: Likewise.
7756         * malloc/obstack.h: Likewise.
7757         * manual/Makefile: Likewise.
7758         * manual/tsort.awk: Likewise.
7759         * misc/bits/stab.def: Likewise.
7760         * nis/nis_print_group_entry.c: Likewise.
7761         * nis/nis_table.c: Likewise.
7762         * nis/nss_compat/compat-pwd.c: Likewise.
7763         * nis/nss_compat/compat-spwd.c: Likewise.
7764         * po/Makefile: Likewise.
7765         * posix/fnmatch.c: Likewise.
7766         * posix/regex.h: Likewise.
7767         * resolv/Makefile: Likewise.
7768         * resolv/nss_dns/dns-network.c: Likewise.
7769         * resolv/res_hconf.c: Likewise.
7770         * scripts/gen-sorted.awk: Likewise.
7771         * soft-fp/soft-fp.h: Likewise.
7772         * stdio-common/printf.h: Likewise.
7773         * stdlib/monetary.h: Likewise.
7774         * stdlib/random.c: Likewise.
7775         * stdlib/random_r.c: Likewise.
7776         * sysdeps/generic/Makefile: Likewise.
7777         * sysdeps/gnu/Makefile: Likewise.
7778         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
7779         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
7780         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
7781         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
7782         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
7783         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
7784         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
7785         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
7786         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
7787         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
7788         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
7789         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
7790         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
7791         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
7792         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
7793         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
7794         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
7795         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
7796         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
7797         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
7798         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
7799         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
7800         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
7801         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
7802         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
7803         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
7804         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
7805         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
7806         * sysdeps/mach/hurd/errnos.awk: Likewise.
7807         * sysdeps/mach/hurd/fork.c: Likewise.
7808         * sysdeps/mach/hurd/getcwd.c: Likewise.
7809         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
7810         * sysdeps/mach/hurd/mmap.c: Likewise.
7811         * sysdeps/mach/hurd/utimes.c: Likewise.
7812         * sysdeps/mach/hurd/xmknod.c: Likewise.
7813         * sysdeps/posix/profil.c: Likewise.
7814         * sysdeps/posix/readdir_r.c: Likewise.
7815         * sysdeps/powerpc/bits/mathdef.h: Likewise.
7816         * sysdeps/powerpc/bits/setjmp.h: Likewise.
7817         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
7818         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
7819         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
7820         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
7821         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
7822         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
7823         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
7824         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
7825         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
7826         * sysdeps/pthread/lio_listio.c: Likewise.
7827         * sysdeps/sparc/dl-procinfo.h: Likewise.
7828         * sysdeps/unix/i386/sysdep.S: Likewise.
7829         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
7830         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
7831         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
7832         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
7833         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
7834         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
7835         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
7836         * sysdeps/unix/sysv/linux/speed.c: Likewise.
7837         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
7838         * sysdeps/wordsize-32/divdi3.c: Likewise.
7839         * time/sys/time.h: Likewise.
7840         * wcsmbs/Makefile: Likewise.
7842 2013-01-01  David S. Miller  <davem@davemloft.net>
7844         * po/fr.po: Update from translation team.
7846         * catgets/gencat.c: Update copyright year.
7847         * csu/version.c: Likewise.
7848         * debug/catchsegv.sh: Likewise.
7849         * debug/pcprofiledump.c: Likewise.
7850         * debug/xtrace.sh: Likewise.
7851         * elf/ldconfig.c: Likewise.
7852         * elf/ldd.bash.in: Likewise.
7853         * elf/pldd.c: Likewise.
7854         * elf/sotruss.ksh: Likewise.
7855         * elf/sprof.c: Likewise.
7856         * iconv/iconv_prog.c: Likewise.
7857         * iconv/iconvconfig.c: Likewise.
7858         * locale/programs/locale.c: Likewise.
7859         * locale/programs/localedef.c: Likewise.
7860         * login/programs/pt_chown.c: Likewise.
7861         * malloc/memusage.sh: Likewise.
7862         * malloc/memusagestat.c: Likewise.
7863         * malloc/mtrace.pl: Likewise.
7864         * nscd/nscd.c: Likewise.
7865         * nss/getent.c: Likewise.
7866         * nss/makedb.c: Likewise.
7867         * posix/getconf.c: Likewise.
7869 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
7871         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
7872         numbers.
7874 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
7876         * math/bits/mathcalls.h (modf): Use __nonnull.
7878 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
7880         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
7881         (split): Use macro CN instead of the bare value.
7882         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
7883         could be used.
7884         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
7885         instead of the bare value.
7886         (power1): Likewise.
7888 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
7890         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
7891         __ATAN_TWOM.
7892         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
7894         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
7895         their values.
7896         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
7897         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
7898         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
7899         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
7901 2012-12-28  Andreas Jaeger  <aj@suse.de>
7903         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
7904         values are from Linux 3.7.
7906         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
7907         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
7909 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
7911         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
7912         TRUE case.
7914         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
7915         (norm): Likewise.
7916         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
7917         variables with preprocessor constants.
7918         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
7919         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
7920         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
7922 2012-12-27  Bruno Haible  <bruno@clisp.org>
7924         [BZ #14317]
7925         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
7926         only if needed.
7928 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
7930         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
7931         and use variable directly.
7932         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
7934         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
7935         MPONE.
7936         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
7937         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
7938         variable MPONE.
7939         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
7940         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
7941         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
7942         include directive.  Remove local variable MPONE.
7943         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
7944         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
7945         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
7947 2012-12-25  David S. Miller  <davem@davemloft.net>
7949         * version.h (RELEASE): Set to "development".
7950         (VERSION): Set to "2.17.90".
7951         * NEWS: Add 2.18 section.
7953 2012-12-21  David S. Miller  <davem@davemloft.net>
7955         * po/hr.po: Update from translation team.
7957 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
7959         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
7961 2012-12-19  Steve Ellcey  <sellcey@mips.com>
7963         * NEWS:  Mention new memcpy for MIPS.
7965 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
7967         * manual/contrib.texi (Contributors): Spelling correction.
7969 2012-12-15  David S. Miller  <davem@davemloft.net>
7971         * po/ru.po: Update from translation team.
7973 2012-12-13  David S. Miller  <davem@davemloft.net>
7975         * NEWS: Mention IFUNC testsuite enhancements.
7977         * po/pl.po: Update from translation team.
7978         * po/bg.po: Likewise.
7980         * manual/contrib.texi (Contributors): Update entries for Hongjiu
7981         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
7983 2012-12-11  David S. Miller  <davem@davemloft.net>
7985         * po/sv.po: Update from translation team.
7987         * po/vi.po: Update from translation team.
7989         * po/cs.po: Update from translation team.
7991         * po/de.po: Update from translation team.
7992         * po/eo.po: Likewise.
7993         * po/nl.po: Likewise.
7995 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
7997         [BZ #14246]
7998         * manual/argp.texi (Argp Helper Functions): Move node to follow
7999         Argp Parsing State.
8001         [BZ #14872]
8002         * manual/conf.texi (Limits on File System Capacity): Mention if
8003         terminating null is included in the max size.
8005 2012-12-10  Andreas Jaeger  <aj@suse.de>
8007         * po/cs.po: Update from translation team.
8009 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
8011         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
8012         void pointer and cast to uintptr_t.
8013         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
8014         path.
8015         * sysdeps/s390/s390-64/memcpy.S: Likewise.
8016         * sysdeps/s390/s390-64/memset.S: Likewise.
8018 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
8020         [BZ #14833]
8021         * menual/message.texi (Message Translation): Fix typos.
8022         (Helper programs for gettext): Likewise.
8024 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
8026         [BZ #14898]
8027         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
8028         Change to -1.
8030 2012-12-07  David S. Miller  <davem@davemloft.net>
8032         * po/libc.pot: Update.
8034 2012-12-07  Richard Henderson  <rth@redhat.com>
8036         [BZ #10114]
8037         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
8038         normal/normal case to before the switch.
8039         (_FP_DIV): Likewise.
8041 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
8042             Mike Frysinger  <vapier@gentoo.org>
8044         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
8045         check for __NR_fadvise64_64.
8047 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
8049         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
8050         0, not just to plain "0" as a statement.
8051         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
8052         with cw.
8054 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
8056         * NEWS: Use sourceware.org in Bugzilla URL.
8058 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
8060         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
8061         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
8063         * stdio-common/tst-put-error.c (do_test): Add newline to the
8064         padded test to ensure flush.
8066 2012-12-05  Jeff Law  <law@redhat.com>
8068         * sunrpc/etc.rpc (fedfs_admin): Add entry.
8070 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
8072         * README: Don't refer to ports add-on as distributed separately.
8073         Mention AArch64 in list of systems supported in the ports add-on.
8075         * LICENSES: Add more non-FSF copyright and license notices.
8077         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
8078         ((unused)).
8080         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
8082         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
8083         10000 as width of padded output.
8085 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
8087         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
8089         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
8090         variable LX with __attribute__ ((unused)).
8091         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
8092         Likewise.
8093         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
8094         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
8095         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
8096         with __attribute__ ((unused)).
8098 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
8100         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
8102 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
8104         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
8105         (CFLAGS-nldbl-acos.c): New variable.
8106         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
8107         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
8108         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
8109         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
8110         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
8111         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
8112         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
8113         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
8114         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
8115         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
8116         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
8117         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
8118         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
8119         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
8120         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
8121         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
8122         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
8123         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
8124         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
8125         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
8126         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
8127         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
8128         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
8129         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
8130         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
8131         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
8132         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
8133         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
8134         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
8135         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
8136         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
8137         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
8138         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
8139         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
8140         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
8141         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
8142         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
8143         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
8144         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
8145         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
8146         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
8147         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
8148         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
8149         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
8150         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
8151         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
8152         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
8153         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
8154         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
8155         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
8156         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
8157         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
8158         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
8159         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
8160         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
8161         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
8162         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
8163         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
8164         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
8165         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
8166         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
8167         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
8168         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
8169         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
8170         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
8171         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
8172         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
8173         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
8174         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
8175         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
8176         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
8177         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
8178         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
8179         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
8180         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
8181         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
8182         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
8183         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
8184         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
8185         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
8186         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
8187         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
8188         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
8189         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
8190         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
8191         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
8192         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
8193         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
8194         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
8195         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
8196         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
8197         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
8198         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
8199         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
8200         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
8201         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
8202         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
8204         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
8205         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
8207         [BZ #14914]
8208         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
8209         whole low double instead of just low 47 bits when splitting values
8210         into two parts.
8212 2012-12-03  Allan McRae  <allan@archlinux.org>
8214         * manual/stdio.texi (Predefined Printf Handlers): Remove
8215         @hsep and @vsep usage.
8217 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
8219         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
8220         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
8222 2012-12-03  Jeff Law  <law@redhat.com>
8224         * time/sys/time.h (settimeofday): Do not mark TV argument
8225         as __nonnull.
8227 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
8229         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
8230         when currently writing and seek to current position when not.
8231         * libio/Makefile (tests): Remove bug-fclose1.
8232         * libio/bug-fclose1.c: Delete.
8234 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
8236         * manual/arith.texi (feenableexcept): Fix typo.
8237         (fedisableexcept): Likewise.
8239 2012-11-30  Roland McGrath  <roland@hack.frob.com>
8241         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
8242         second, differently-typed declaration, rather than a cast.
8244 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
8246         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
8247         * include/rpc/svc.h: ... here.
8249 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
8251         [BZ #13013]
8252         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
8253         depending n and resplen2 to catch cases where answer
8254         equals answerp2.
8256 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
8258         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
8259         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
8261 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
8263         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
8265 2012-11-29  Roland McGrath  <roland@hack.frob.com>
8267         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
8269 2012-11-28  Jeff Law  <law@redhat.com>
8271         [BZ #13761]
8272         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
8273         dataset_temporary.  Track alloca usage into alloca_used.
8274         If dataset is large allocate and release it via malloc/free.
8276 2012-06-04  Florian Weimer  <fweimer@redhat.com>
8278         [BZ #14197]
8279         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
8281 2012-11-28  David S. Miller  <davem@davemloft.net>
8283         * sysdeps/sparc/fpu/libm-test-ulps: Update.
8285 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
8287         [BZ #14803]
8288         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
8289         of pi/2 rounded to nearest to 64 bits.
8290         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
8291         nearest to 64 bits.
8292         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
8293         bits.
8295 2012-11-28  Jeff Law <law@redhat.com>
8296             Martin Osvald <mosvald@redhat.com>
8298         [BZ #14889]
8299         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
8300         * sunrpc/svc.c: Include time.h.
8301         (__svc_accept_failed): New function.
8302         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
8303         any reason other than EINTR, call __svc_accept_failed.
8304         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
8305         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
8307 2012-11-28  Andreas Schwab  <schwab@suse.de>
8309         * scripts/abilist.awk: Also handle indirect functions in .opd
8310         section.
8312 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
8314         [BZ #13881]
8315         * sysdeps/x86/fpu/powl_helper.c: New file.
8316         * sysdeps/x86/fpu/Makefile: Likewise.
8317         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
8318         (p3): New object.
8319         (__ieee754_powl): Use __powl_helper for finite arguments except
8320         integer exponents below 8.
8321         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
8322         (p3): New object.
8323         (__ieee754_powl): Use __powl_helper for finite arguments except
8324         integer exponents below 8.
8325         * math/libm-test.inc (pow_test): Add more tests and enable some
8326         previously disabled tests.
8327         * sysdeps/i386/fpu/libm-test-ulps: Update.
8328         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8330 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
8331             Carlos O'Donell  <carlos_odonell@mentor.com>
8333         * nss/makedb.c (is_prime): Assert that input is odd and greater
8334         than 4.  Note that fact in a comment too.
8335         (next_prime): Add 4 to input.
8337 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
8339         [BZ #11741]
8340         * libio/Makefile (tests): Add test case tst-fwrite-error.
8341         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
8342         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
8343         * libio/tst-fwrite-error.c: New test case.
8345 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
8347         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
8348         before casting to void *.
8349         * include/libc-internal.h (__pointer_type): New macro.
8350         (__integer_if_pointer_type_sub): Likewise.
8351         (__integer_if_pointer_type): Likewise.
8352         (cast_to_integer): Likewise.
8353         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
8354         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
8355         before casting to atomic64_t.
8356         (atomic_exchange_acq): Likewise.
8357         (__arch_exchange_and_add_body): Likewise.
8358         (__arch_add_body): Likewise.
8359         (atomic_add_negative): Likewise.
8360         (atomic_add_zero): Likewise.
8362 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
8364         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
8365         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
8366         (add_fdes): Likewise.
8367         (linear_search_fdes): Likewise.
8368         (binary_search_unencoded_fdes): Likewise.
8370 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
8372         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
8374 2012-11-24  Adam Conrad  <adconrad@0c3.net>
8376         * configure.in: Autodetect C++ header directories.
8377         * configure: Regenerated.
8379 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
8381         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
8383 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
8385         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8387 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
8389         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
8390         LDBL_MANT_DIG == 106]: Disable some tests.
8391         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
8392         Likewise.
8393         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
8394         Likewise.
8396         [BZ #14871]
8397         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
8398         input for small inputs.  Return +/- pi/2 for large inputs.
8399         * math/libm-test.inc (atan_test): Add more tests.
8401         * sysdeps/generic/unwind-dw2-fde-glibc.c
8402         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
8403         __attribute__ ((unused)).
8405         [BZ #14645]
8406         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
8407         x * y if x and y are nonzero and z is zero.
8409         [BZ #14811]
8410         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
8411         nonzero exponents with absolute value below 0x1p-117 to +/-
8412         0x1p-117.
8414         [BZ #14869]
8415         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
8416         up arguments below 2**-450, not just those below 2**-500.
8417         * math/libm-test.inc (hypot_test): Add another test.
8419         [BZ #14868]
8420         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
8421         Return a+b for ratio over 2**120, not 2**60.
8422         * math/libm-test.inc (hypot_test): Add another test.
8424         * math/libm-test.inc (clog_test): Use
8425         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
8426         (clog10_test): Likewise.
8428         [BZ #6778]
8429         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
8431 2012-11-22  Andreas Schwab  <schwab@suse.de>
8433         * sysdeps/i386/fpu/libm-test-ulps: Update.
8435 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
8437         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
8438         printf output with newline.
8440 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
8442         [BZ #14865]
8443         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
8444         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
8445         -z nodlopen, -z initfirst and -z execstack support.
8446         * configure: Regenerated.
8448         * elf/elf.h (DF_1_NODIRECT): New macro.
8449         (DF_1_IGNMULDEF): Likewise.
8450         (DF_1_NOKSYMS): Likewise.
8451         (DF_1_NOHDR): Likewise.
8452         (DF_1_EDITED): Likewise.
8453         (DF_1_NORELOC): Likewise.
8454         (DF_1_SYMINTPOSE): Likewise.
8455         (DF_1_GLOBAUDIT): Likewise.
8456         (DF_1_SINGLETON): Likewise.
8457         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
8458         DT_1_SUPPORTED_MASK bits.
8459         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
8461 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
8463         * sysdeps/unix/make-syscalls.sh: Document prefixes.
8465 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
8467         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
8468         macro.
8470         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
8471         (sendmmsg): Move declarations...
8472         * socket/sys/socket.h: ... here.
8473         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
8474         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
8475         include it from...
8476         * socket/recvmmsg.c: ... this new file.
8477         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
8478         (sendmmsg): Rename to __sendmmsg, create weak alias and make
8479         definition of __sendmmsg hidden.
8480         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
8481         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
8482         Move ENOSYS stub into and include it from...
8483         * socket/sendmmsg.c: ... this new file.
8484         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
8485         (sysdep_routines): Move recvmmsg and sendmmsg...
8486         * socket/Makefile (routines): ... here.
8487         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
8488         (GLIBC_PRIVATE): Add __sendmmsg.
8489         * include/sys/socket.h (__sendmmsg): Add declarations.
8490         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
8491         sendmmsg.
8493 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
8495         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
8496         variable I1 with __attribute__ ((unused)).
8497         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
8499 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
8501         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
8502         DUMMY variables with __attribute__ ((unused)).
8504         * bits/byteswap.h: Include <bits/types.h>.
8505         (__bswap_64): Use __uint64_t instead of unsigned long long int.
8507 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
8509         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
8510         string_t.  Do not manually set errno.
8511         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
8512         length with __strnlen.  Make sure to both set errno and return it on
8513         failure.
8515 2012-11-19  David S. Miller  <davem@davemloft.net>
8517         With help from Joseph Myers.
8518         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
8519         very large arguments properly.
8520         * math/libm-test.inc (atan_test): New tests.
8521         (atan2_test): New tests.
8522         * sysdeps/sparc/fpu/libm-test-ulps: Update.
8523         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8525 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
8527         [BZ #14856]
8528         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
8529         Define to 3.
8531         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
8532         [POSIX] (EADDRNOTAVAIL): Likewise.
8533         [POSIX] (EAFNOSUPPORT): Likewise.
8534         [POSIX] (EALREADY): Likewise.
8535         [POSIX] (ECONNABORTED): Likewise.
8536         [POSIX] (ECONNREFUSED): Likewise.
8537         [POSIX] (ECONNRESET): Likewise.
8538         [POSIX] (EDESTADDRREQ): Likewise.
8539         [POSIX] (EDQUOT): Likewise.
8540         [POSIX] (EHOSTUNREACH): Likewise.
8541         [POSIX] (EIDRM): Likewise.
8542         [POSIX] (EISCONN): Likewise.
8543         [POSIX] (ELOOP): Likewise.
8544         [POSIX] (EMULTIHOP): Likewise.
8545         [POSIX] (ENETDOWN): Likewise.
8546         [POSIX] (ENETUNREACH): Likewise.
8547         [POSIX] (ENOBUFS): Likewise.
8548         [POSIX] (ENODATA): Likewise.
8549         [POSIX] (ENOLINK): Likewise.
8550         [POSIX] (ENOMSG): Likewise.
8551         [POSIX] (ENOPROTOOPT): Likewise.
8552         [POSIX] (ENOSR): Likewise.
8553         [POSIX] (ENOSTR): Likewise.
8554         [POSIX] (ENOTCONN): Likewise.
8555         [POSIX] (ENOTSOCK): Likewise.
8556         [POSIX] (EOPNOTSUPP): Likewise.
8557         [POSIX] (EOVERFLOW): Likewise.
8558         [POSIX] (EPROTO): Likewise.
8559         [POSIX] (EPROTONOSUPPORT): Likewise.
8560         [POSIX] (EPROTOTYPE): Likewise.
8561         [POSIX] (ESTALE): Likewise.
8562         [POSIX] (ETIME): Likewise.
8563         [POSIX] (ETXTBSY): Likewise.
8564         [POSIX] (EWOULDBLOCK): Likewise.
8565         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
8566         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
8567         [POSIX] (SEEK_CUR): Likewise.
8568         [POSIX] (SEEK_END): Likewise.
8569         [POSIX || UNIX98] (mode_t): Do not require.
8570         [POSIX] (off_t): Likewise.
8571         [POSIX] (pid_t): Likewise.
8572         [POSIX] (sys/stat.h): Do not allow header.
8573         [POSIX] (unistd.h): Likewise.
8574         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
8575         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
8576         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
8577         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
8578         require.
8579         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
8580         sigevent): Specify elements.
8581         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
8582         entry.
8583         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
8584         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
8586         * conform/data/cpio.h-data [POSIX]: Disable whole file.
8587         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
8588         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
8589         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
8590         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
8591         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
8592         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
8593         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
8594         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
8595         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
8596         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
8597         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
8598         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
8599         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
8600         Likewise.
8601         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
8602         Likewise.
8603         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
8604         Likewise.
8605         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
8606         Likewise.
8607         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
8608         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
8609         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
8610         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
8611         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
8612         Specify lower bound on value.
8613         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
8614         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
8615         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
8616         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
8617         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
8618         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
8619         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
8620         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
8621         value.
8622         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
8623         as optional.
8624         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
8625         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
8626         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
8627         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
8628         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
8629         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
8630         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
8631         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
8632         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
8633         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
8634         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
8635         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
8636         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
8637         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
8638         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
8639         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
8640         entry.
8641         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
8642         optional.
8643         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
8644         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
8645         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
8646         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
8647         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
8648         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
8649         Likewise.
8650         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
8651         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
8652         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
8653         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
8654         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
8655         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
8656         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
8657         as optional.
8658         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
8659         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
8660         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
8661         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
8662         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
8663         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
8664         specify as optional.
8665         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
8666         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
8667         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
8668         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
8669         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
8670         [XPG3] (NL_LANGMAX): Likewise.
8671         [POSIX || XPG3] (NL_MSGMAX): Likewise.
8672         [POSIX || XPG3] (NL_NMAX): Likewise.
8673         [POSIX || XPG3] (NL_SETMAX): Likewise.
8674         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
8675         [XPG3] (NZERO): Likewise.
8676         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
8677         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
8678         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
8679         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
8680         (REG_ERANGE): Expect.
8681         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
8682         optional-constant.
8683         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
8684         Use (void) in prototype.
8685         [POSIX] (*_t): Allow.
8686         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
8687         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
8688         (WRDE_BADVAL): Expect.
8690         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
8691         expect.
8692         [XPG3 || XPG4] (O_RSYNC): Likewise.
8693         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
8694         Likewise.
8695         [XPG3 || XPG4] (pthread_sigmask): Likewise.
8696         [XPG3 || XPG4] (sigqueue): Likewise.
8697         [XPG3 || XPG4] (sigtimedwait): Likewise.
8698         [XPG3 || XPG4] (sigwaitinfo): Likewise.
8699         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
8700         [XPG3 || XPG4] (vsnprintf): Likewise.
8701         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
8702         Likewise.
8703         [XPG3 || XPG4] (blksize_t): Likewise.
8704         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
8705         Likewise.
8706         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
8707         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
8708         [XPG3 || XPG4] (struct itimerspec): Likewise.
8709         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
8710         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
8711         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
8712         [XPG3 || XPG4] (clockid_t): Likewise.
8713         [XPG3 || XPG4] (timer_t): Likewise.
8714         [XPG3 || XPG4] (clock_getres): Likewise.
8715         [XPG3 || XPG4] (clock_gettime): Likewise.
8716         [XPG3 || XPG4] (clock_settime): Likewise.
8717         [XPG3 || XPG4] (nanosleep): Likewise.
8718         [XPG3 || XPG4] (timer_create): Likewise.
8719         [XPG3 || XPG4] (timer_delete): Likewise.
8720         [XPG3 || XPG4] (timer_gettime): Likewise.
8721         [XPG3 || XPG4] (timer_getoverrun): Likewise.
8722         [XPG3 || XPG4] (timer_settime): Likewise.
8723         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
8724         [XPG3 || XPG4] (getlogin_r): Likewise.
8725         [XPG3 || XPG4] (pread): Likewise.
8726         [XPG3 || XPG4] (pthread_atfork): Likewise.
8727         [XPG3 || XPG4] (pwrite): Likewise.
8729         [BZ #14835]
8730         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
8731         <bits/siginfo.h>.
8733 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
8735         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
8736         finalizing MALLSTREAM.
8738         * sysdeps/mach/hurd/syncfs.c: New file.
8740 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
8742         [BZ #14719]
8743         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
8744         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
8745         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
8746         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
8747         (_nss_dns_gethostbyname4_r): Likewise.
8748         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
8749         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
8751 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
8753         [BZ #13763]
8754         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
8756 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
8758         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
8759         * elf/cache.c (print_entry): Print ",AArch64" for
8760         FLAG_AARCH64_LIB64
8762         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
8763         * elf/cache.c (print_entry): Print ",hard-float" for
8764         FLAG_ARM_LIBHF.
8766 2012-11-18  David S. Miller  <davem@davemloft.net>
8768         With help from Joseph Myers.
8769         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
8770         cutoff to 2**-13.
8771         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
8772         cutoff to 2**-25.
8773         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
8774         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
8775         small.
8776         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
8777         * math/libm-test.inc (y0_test): New tests.
8778         (y1_test): New tests.
8779         * sysdeps/i386/fpu/libm-test-ulps: Update.
8780         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8781         * sysdeps/sparc/fpu/libm-test-ulps: Update.
8783 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
8785         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
8786         64-bit targets.
8787         * configure: Regenerated.
8789 2012-11-17  David S. Miller  <davem@davemloft.net>
8791         [BZ #14811]
8792         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
8793         nonzero exponents with absolute value below 0x1p-128 to +/-
8794         0x1p-128.
8796 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
8798         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
8800         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
8802         * posix/getconf-speclist.c: New file.
8803         * posix/posix-envs.def: Likewise.
8804         * posix/confstr.c (START_ENV_GROUP): New macro.
8805         (END_ENV_GROUP): Likewise.
8806         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
8807         (KNOWN_PRESENT_ENV_STRING): Likewise.
8808         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
8809         (UNKNOWN_ENVIRONMENT): Likewise.
8810         (confstr): Include posix-envs.def instead of handling
8811         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
8812         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
8813         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
8814         (END_ENV_GROUP): Likewise.
8815         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
8816         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
8817         (UNKNOWN_ENVIRONMENT): Likewise.
8818         (__sysconf): Include posix-envs.def instead of handling associated
8819         cases directly here.
8820         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
8821         preprocessing getconf-speclist.c rather than running getconf or
8822         generating empty file.
8824 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
8826         * scripts/check-local-headers.sh: Ignore 'mach' headers.
8828 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
8830         [BZ #14672]
8831         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
8833 2012-11-16  David S. Miller  <davem@davemloft.net>
8835         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
8836         smaller than LDBL_EPSILON/2.0L, just return xm1.
8838 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
8840         * elf/tst-array1.c (init): Set constructor priority to 1000.
8841         (fini): Set destructor priority to 1000.
8842         * elf/tst-array2dep.c: Likewise.
8844 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
8846         [BZ #11741]
8847         * libio/fileops.c (_IO_new_file_write): Correctly return error.
8848         (_IO_new_file_xsputn): Also return EOF if none of the input
8849         data was written when overflow failed.
8850         * libio/iopadn.c (_IO_padn): Likewise.
8851         * libio/iowpadn.c (_IO_wpadn): Likewise.
8852         * stdio-common/tst-put-error.c: Add copyright notice.
8853         (do_test): Add case for printing padded string.
8854         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
8855         _IO_padn returned error.
8856         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
8857         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
8858         return EOF.
8860 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
8862         * libio/libioP.h: Add comment note that the references to C++
8863         bits are now obsolete.
8865 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
8867         * math/libm-test.inc (check_complex): Use asprintf.
8869 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
8871         * debug/pcprofiledump.c (print_version): Update copyright year.
8872         * malloc/memusagestat.c (print_version): Likewise.
8874 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
8876         [BZ #14831]
8877         * elf/Makefile (tests): Add tst-audit8.
8878         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
8879         ($(objpfx)tst-audit8.out): New target.
8880         (tst-audit8-ENV): New variable.
8881         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
8882         audit if l_reloc_result is NULL.
8883         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
8884         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
8885         * elf/tst-audit8.c: New file.
8887 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
8889         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
8890         * misc/Makefile (CFLAGS-select.c): Define.
8891         * posix/Makefile (CFLAGS-pause.c): Define.
8893 2012-11-13  David S. Miller  <davem@davemloft.net>
8895         * crypt/Makefile: Move test targets after toplevel Rules
8896         inclusion.  Grab any necessary sysdep routines when linking.
8897         * crypt/md5.c (md5_process_block): Remove define, we will always
8898         name it __md5_process_block.
8899         (md5_finish_ctx): Update md5_process_block call.
8900         (md5_stream): Likewise.
8901         (md5_process_bytes): Likewise.
8902         (md5_process_block): Rename to __md5_process_block and move to ...
8903         * crypt/md5-block.c: ... here.
8904         * crypt/sha256.c (sha256_process_block): Move to ...
8905         * crypt/sha256-block.c: ... here.
8906         * crypt/sha512.c (sha512_process_block): Move to ...
8907         * crypt/sha512-block.c: ... here.
8908         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
8909         path.
8910         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
8911         * sysdeps/sparc/sparc64/multiarch/Makefile
8912         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
8913         crypt subdir.
8914         (localedef-aux): Add md5 crypto assembler when in locale subdir.
8915         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
8916         multiarch changes.
8917         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
8918         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
8919         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
8920         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
8921         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
8922         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
8923         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
8924         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
8925         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
8926         file.
8927         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
8928         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
8929         file.
8930         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
8932 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
8934         * timezone/tzselect.ksh: Update from tzcode git revision
8935         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
8936         * timezone/zdump.c: Likewise.
8937         * timezone/zic.c: Likewise.
8938         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
8939         in TZVERSION setting, not $(PKGVERSION).
8940         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
8941         REPORT_BUGS_TO settings.
8943         [BZ #14838]
8944         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
8945         macro.
8947 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
8949         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
8950         detection to immediately after _FP_ROUND().
8951         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
8952         bits are 0.
8954 2012-11-11  David S. Miller  <davem@davemloft.net>
8956         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
8957         inttypes.h
8958         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
8959         __close rather than their public counterparts.
8961 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
8963         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
8964         file.
8965         [UNIX98] (sem_timedwait): Do not expect.
8966         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
8967         [XPG4 || UNIX98] (sockatmark): Do not expect.
8968         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
8969         (clock_getcpuclockid): Do not expect.
8970         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
8971         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
8972         Do not expect.
8973         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
8974         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
8975         [UNIX98] (vwscanf): Likewise.
8976         [UNIX98] (vswscanf): Likewise.
8978 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
8980         * timezone/version.h: Remove file.
8981         * timezone/README: Do not refer to version.h.
8982         * timezone/Makefile ($(objpfx)zic.o): New dependency on
8983         $(objpfx)version.h.
8984         ($(objpfx)zdump.o): Likewise.
8985         ($(objpfx)version.h): New target.
8987         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
8988         2012i.
8989         * timezone/README: Don't mention modification to tzselect.ksh.
8990         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
8991         work on unmodified tzselect.ksh.  Substitute version numbers in
8992         tzselect.ksh.
8994         * Makefile (format-me): Remove.
8995         (INSTALL): Adjust indentation.  Use commands directly instead of
8996         using $(format-me).
8998         * aclocal.m4 (ACX_PKGVERSION): New macro.
8999         (ACX_BUGURL): Likewise.
9000         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
9001         (PKGVERSION): New AC_DEFINE_UNQUOTED.
9002         (REPORT_BUGS_TO): Likewise.
9003         * configure: Regenerated.
9004         * config.h.in (PKGVERSION): New macro.
9005         (REPORT_BUGS_TO): Likewise.
9006         * config.make.in (PKGVERSION): New variable.
9007         (PKGVERSION_TEXI): Likewise.
9008         (REPORT_BUGS_TO): Likewise.
9009         (REPORT_BUGS_TEXI): Likewise.
9010         * Makefile (format-me): Use -I$(common-objpfx)manual.
9011         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
9012         ($(common-objpfx)manual/%): New target.
9013         (manual/%): Remove target.
9014         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
9015         (print_version): Use PKGVERSION.
9016         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
9017         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
9018         and REPORT_BUGS_TO.
9019         ($(objpfx)xtrace): Likewise.
9020         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
9021         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
9022         (print_version): Use PKGVERSION.
9023         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
9024         (do_version): Use PKGVERSION.
9025         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
9026         REPORT_BUGS_TO.
9027         (common-ldd-rewrite): Likewise.
9028         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
9029         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
9030         (print_version): Use PKGVERSION.
9031         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
9032         * elf/pldd.c (argp_program_bug_address): Remove variable.
9033         (more_help): New function.
9034         (argp): Use more_help.
9035         (print_version): Use PKGVERSION.
9036         * elf/sln.c (main): Use PKGVERSION.
9037         (usage): Use REPORT_BUGS_TO.
9038         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
9039         (top level): Use PKGVERSION.
9040         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
9041         (print_version): Use PKGVERSION.
9042         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
9043         (print_version): Use PKGVERSION.
9044         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
9045         (print_version): Use PKGVERSION.
9046         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
9047         (print_version): Use PKGVERSION.
9048         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
9049         (print_version): Use PKGVERSION.
9050         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
9051         (print_version): Use PKGVERSION.
9052         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
9053         and BUGURL.
9054         ($(objpfx)memusage): Likewise.
9055         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
9056         (do_version): Use PKGVERSION.
9057         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
9058         (print_version): Use PKGVERSION.
9059         * malloc/mtrace.pl ($PACKAGE): Remove variable.
9060         ($PKGVERSION): New variable.
9061         ($REPORT_BUGS_TO): Likewise.
9062         (usage): Use $REPORT_BUGS_TO.
9063         (top level): Use $PKGVERSION.
9064         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
9065         ($(objpfx)pkgvers.texi): New rule.
9066         ($(objpfx)stamp-pkgvers): Likewise.
9067         * manual/install.texi: Include pkgvers.texi.
9068         (--with-pkgversion): Document new configure option.
9069         (--with-bugurl): Likewise.
9070         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
9071         than necessarily for this particular distribution.  Use
9072         REPORT_BUGS_TO for where to report bugs.
9073         * INSTALL: Regenerated.
9074         * manual/libc.texinfo: Include pkgvers.texi.
9075         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
9076         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
9077         (print_version): Use PKGVERSION.
9078         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
9079         (print_version): Use PKGVERSION.
9080         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
9081         (print_version): Use PKGVERSION.
9082         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
9083         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
9084         macro.
9085         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
9086         (print_version): Use PKGVERSION.
9087         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
9088         (print_version): Use PKGVERSION.
9089         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
9090         and PKGVERSION.
9092         * timezone/checktab.awk: Update from tzcode 2012i.
9093         * timezone/ialloc.c: Likewise.
9094         * timezone/private.h: Likewise.
9095         * timezone/scheck.c: Likewise.
9096         * timezone/tzfile.h: Likewise.
9097         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
9098         (TZVERSION): Hardcode tzcode version number.
9099         * timezone/zdump.c: Update from tzcode 2012i.
9100         * timezone/zic.c: Likewise.
9101         * timezone/version.h: New file.
9102         * timezone/README: Describe version.h.  Update upstream location.
9104         [BZ #14824]
9105         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
9106         (mktemp): Enable declaration.
9107         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
9108         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
9109         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
9110         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
9111         Likewise.
9112         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
9113         Likewise.
9114         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
9115         Likewise.
9116         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
9117         Likewise.
9118         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
9119         Likewise.
9120         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
9121         Likewise.
9123         [BZ #14821]
9124         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
9125         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
9126         for copies of such integer values.
9127         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
9128         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
9130 2012-11-09  Andreas Jaeger  <aj@suse.de>
9132         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
9133         definitions and declarations that are provided by
9134         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
9136 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
9138         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
9139         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
9140         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
9141         definition.
9143 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
9145         * elf/elf.h: Update comment before AArch64 relocations.
9147 2012-11-07  David S. Miller  <davem@davemloft.net>
9149         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
9150         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
9151         (__start_context): Declare.
9152         (__makecontext_ret): Delete.
9153         (__makecontext): Hook up __start_context instead of
9154         __makecontext_ret.
9155         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
9156         (sysdep_routines): Add __start_context when in stdlib.
9158 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
9160         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
9161         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
9162         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
9163         hardcoded "nm".
9164         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
9165         (READELF): New variable.  Use it instead of hardcoded "readelf".
9167 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
9169         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
9170         * sysdeps/x86/Makefile: Here.
9171         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
9172         * sysdeps/x86/tst-xmmymm.sh: This.
9174 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
9176         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
9177         expectations.
9178         [UNIX98] (pthread_barrier_t): Do not expect.
9179         [UNIX98] (pthread_barrierattr_t): Likewise.
9180         [UNIX98] (pthread_spinlock_t): Likewise.
9181         [UNIX98] (pthread_barrier_destroy): Likewise.
9182         [UNIX98] (pthread_barrier_init): Likewise.
9183         [UNIX98] (pthread_barrier_wait): Likewise.
9184         [UNIX98] (pthread_barrierattr_destroy): Likewise.
9185         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
9186         [UNIX98] (pthread_barrierattr_init): Likewise.
9187         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
9188         [UNIX98] (pthread_getcpuclockid): Likewise.
9189         [UNIX98] (pthread_mutex_timedlock): Likewise.
9190         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
9191         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
9192         [UNIX98] (pthread_sigmask): Likewise.
9193         [UNIX98] (pthread_spin_destroy): Likewise.
9194         [UNIX98] (pthread_spin_init): Likewise.
9195         [UNIX98] (pthread_spin_lock): Likewise.
9196         [UNIX98] (pthread_spin_trylock): Likewise.
9197         [UNIX98] (pthread_spin_unlock): Likewise.
9198         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
9199         Do not expect.
9200         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
9201         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
9202         [XPG3 || XPG4] (pthread_cond_t): Likewise.
9203         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
9204         [XPG3 || XPG4] (pthread_key_t): Likewise.
9205         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
9206         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
9207         [XPG3 || XPG4] (pthread_once_t): Likewise.
9208         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
9209         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
9210         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
9211         [XPG3 || XPG4] (pthread_t): Likewise.
9213         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
9214         not expect.
9215         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
9217         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
9218         Change function return type to int.
9220         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
9221         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
9222         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
9223         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
9224         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
9225         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
9226         [!POSIX] (posix_madvise): Likewise.
9227         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
9228         && !UNIX98].
9229         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
9230         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
9231         (mode_t): Likewise.
9232         (posix_mem_offset): Likewise.
9233         (posix_typed_mem_get_info): Likewise.
9234         (posix_typed_mem_open): Likewise.
9236         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
9237         Change condition to [XOPEN2K8].
9239         * conform/conformtest.pl: Preprocess allow-header data with -x c
9240         instead of from stdin.
9241         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
9242         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
9243         [C99-based standards] (cerfc): Likewise.
9244         [C99-based standards] (cexp2): Likewise.
9245         [C99-based standards] (cexpm1): Likewise.
9246         [C99-based standards] (clog10): Likewise.
9247         [C99-based standards] (clog1p): Likewise.
9248         [C99-based standards] (clog2): Likewise.
9249         [C99-based standards] (clgamma): Likewise.
9250         [C99-based standards] (ctgamma): Likewise.
9251         [C99-based standards] (cerff): Likewise.
9252         [C99-based standards] (cerfcf): Likewise.
9253         [C99-based standards] (cexp2f): Likewise.
9254         [C99-based standards] (cexpm1f): Likewise.
9255         [C99-based standards] (clog10f): Likewise.
9256         [C99-based standards] (clog1pf): Likewise.
9257         [C99-based standards] (clog2f): Likewise.
9258         [C99-based standards] (clgammaf): Likewise.
9259         [C99-based standards] (ctgammaf): Likewise.
9260         [C99-based standards] (cerfl): Likewise.
9261         [C99-based standards] (cerfcl): Likewise.
9262         [C99-based standards] (cexp2l): Likewise.
9263         [C99-based standards] (cexpm1l): Likewise.
9264         [C99-based standards] (clog10l): Likewise.
9265         [C99-based standards] (clog1pl): Likewise.
9266         [C99-based standards] (clog2l): Likewise.
9267         [C99-based standards] (clgammal): Likewise.
9268         [C99-based standards] (ctgammal): Likewise.
9269         * conform/data/inttypes.h-data [C99-based standards]: Include
9270         stdint.h-data.  Remove all expectations for stdint.h contents.
9271         [C99-based standards] (PRI*): Do not allow.
9272         [C99-based standards] (SCN*): Likewise.
9273         [C99-based standards] (*_t): Likewise.
9274         [C99-based-standards] (PRId8): Expect macro.
9275         [C99-based-standards] (PRIi8): Likewise.
9276         [C99-based-standards] (PRIo8): Likewise.
9277         [C99-based-standards] (PRIu8): Likewise.
9278         [C99-based-standards] (PRIx8): Likewise.
9279         [C99-based-standards] (PRIX8): Likewise.
9280         [C99-based-standards] (SCNd8): Likewise.
9281         [C99-based-standards] (SCNi8): Likewise.
9282         [C99-based-standards] (SCNo8): Likewise.
9283         [C99-based-standards] (SCNu8): Likewise.
9284         [C99-based-standards] (SCNx8): Likewise.
9285         [C99-based-standards] (PRIdLEAST8): Likewise.
9286         [C99-based-standards] (PRIiLEAST8): Likewise.
9287         [C99-based-standards] (PRIoLEAST8): Likewise.
9288         [C99-based-standards] (PRIuLEAST8): Likewise.
9289         [C99-based-standards] (PRIxLEAST8): Likewise.
9290         [C99-based-standards] (PRIXLEAST8): Likewise.
9291         [C99-based-standards] (SCNdLEAST8): Likewise.
9292         [C99-based-standards] (SCNiLEAST8): Likewise.
9293         [C99-based-standards] (SCNoLEAST8): Likewise.
9294         [C99-based-standards] (SCNuLEAST8): Likewise.
9295         [C99-based-standards] (SCNxLEAST8): Likewise.
9296         [C99-based-standards] (PRIdFAST8): Likewise.
9297         [C99-based-standards] (PRIiFAST8): Likewise.
9298         [C99-based-standards] (PRIoFAST8): Likewise.
9299         [C99-based-standards] (PRIuFAST8): Likewise.
9300         [C99-based-standards] (PRIxFAST8): Likewise.
9301         [C99-based-standards] (PRIXFAST8): Likewise.
9302         [C99-based-standards] (SCNdFAST8): Likewise.
9303         [C99-based-standards] (SCNiFAST8): Likewise.
9304         [C99-based-standards] (SCNoFAST8): Likewise.
9305         [C99-based-standards] (SCNuFAST8): Likewise.
9306         [C99-based-standards] (SCNxFAST8): Likewise.
9307         [C99-based-standards] (PRId16): Likewise.
9308         [C99-based-standards] (PRIi16): Likewise.
9309         [C99-based-standards] (PRIo16): Likewise.
9310         [C99-based-standards] (PRIu16): Likewise.
9311         [C99-based-standards] (PRIx16): Likewise.
9312         [C99-based-standards] (PRIX16): Likewise.
9313         [C99-based-standards] (SCNd16): Likewise.
9314         [C99-based-standards] (SCNi16): Likewise.
9315         [C99-based-standards] (SCNo16): Likewise.
9316         [C99-based-standards] (SCNu16): Likewise.
9317         [C99-based-standards] (SCNx16): Likewise.
9318         [C99-based-standards] (PRIdLEAST16): Likewise.
9319         [C99-based-standards] (PRIiLEAST16): Likewise.
9320         [C99-based-standards] (PRIoLEAST16): Likewise.
9321         [C99-based-standards] (PRIuLEAST16): Likewise.
9322         [C99-based-standards] (PRIxLEAST16): Likewise.
9323         [C99-based-standards] (PRIXLEAST16): Likewise.
9324         [C99-based-standards] (SCNdLEAST16): Likewise.
9325         [C99-based-standards] (SCNiLEAST16): Likewise.
9326         [C99-based-standards] (SCNoLEAST16): Likewise.
9327         [C99-based-standards] (SCNuLEAST16): Likewise.
9328         [C99-based-standards] (SCNxLEAST16): Likewise.
9329         [C99-based-standards] (PRIdFAST16): Likewise.
9330         [C99-based-standards] (PRIiFAST16): Likewise.
9331         [C99-based-standards] (PRIoFAST16): Likewise.
9332         [C99-based-standards] (PRIuFAST16): Likewise.
9333         [C99-based-standards] (PRIxFAST16): Likewise.
9334         [C99-based-standards] (PRIXFAST16): Likewise.
9335         [C99-based-standards] (SCNdFAST16): Likewise.
9336         [C99-based-standards] (SCNiFAST16): Likewise.
9337         [C99-based-standards] (SCNoFAST16): Likewise.
9338         [C99-based-standards] (SCNuFAST16): Likewise.
9339         [C99-based-standards] (SCNxFAST16): Likewise.
9340         [C99-based-standards] (PRId32): Likewise.
9341         [C99-based-standards] (PRIi32): Likewise.
9342         [C99-based-standards] (PRIo32): Likewise.
9343         [C99-based-standards] (PRIu32): Likewise.
9344         [C99-based-standards] (PRIx32): Likewise.
9345         [C99-based-standards] (PRIX32): Likewise.
9346         [C99-based-standards] (SCNd32): Likewise.
9347         [C99-based-standards] (SCNi32): Likewise.
9348         [C99-based-standards] (SCNo32): Likewise.
9349         [C99-based-standards] (SCNu32): Likewise.
9350         [C99-based-standards] (SCNx32): Likewise.
9351         [C99-based-standards] (PRIdLEAST32): Likewise.
9352         [C99-based-standards] (PRIiLEAST32): Likewise.
9353         [C99-based-standards] (PRIoLEAST32): Likewise.
9354         [C99-based-standards] (PRIuLEAST32): Likewise.
9355         [C99-based-standards] (PRIxLEAST32): Likewise.
9356         [C99-based-standards] (PRIXLEAST32): Likewise.
9357         [C99-based-standards] (SCNdLEAST32): Likewise.
9358         [C99-based-standards] (SCNiLEAST32): Likewise.
9359         [C99-based-standards] (SCNoLEAST32): Likewise.
9360         [C99-based-standards] (SCNuLEAST32): Likewise.
9361         [C99-based-standards] (SCNxLEAST32): Likewise.
9362         [C99-based-standards] (PRIdFAST32): Likewise.
9363         [C99-based-standards] (PRIiFAST32): Likewise.
9364         [C99-based-standards] (PRIoFAST32): Likewise.
9365         [C99-based-standards] (PRIuFAST32): Likewise.
9366         [C99-based-standards] (PRIxFAST32): Likewise.
9367         [C99-based-standards] (PRIXFAST32): Likewise.
9368         [C99-based-standards] (SCNdFAST32): Likewise.
9369         [C99-based-standards] (SCNiFAST32): Likewise.
9370         [C99-based-standards] (SCNoFAST32): Likewise.
9371         [C99-based-standards] (SCNuFAST32): Likewise.
9372         [C99-based-standards] (SCNxFAST32): Likewise.
9373         [C99-based-standards] (PRId64): Likewise.
9374         [C99-based-standards] (PRIi64): Likewise.
9375         [C99-based-standards] (PRIo64): Likewise.
9376         [C99-based-standards] (PRIu64): Likewise.
9377         [C99-based-standards] (PRIx64): Likewise.
9378         [C99-based-standards] (PRIX64): Likewise.
9379         [C99-based-standards] (SCNd64): Likewise.
9380         [C99-based-standards] (SCNi64): Likewise.
9381         [C99-based-standards] (SCNo64): Likewise.
9382         [C99-based-standards] (SCNu64): Likewise.
9383         [C99-based-standards] (SCNx64): Likewise.
9384         [C99-based-standards] (PRIdLEAST64): Likewise.
9385         [C99-based-standards] (PRIiLEAST64): Likewise.
9386         [C99-based-standards] (PRIoLEAST64): Likewise.
9387         [C99-based-standards] (PRIuLEAST64): Likewise.
9388         [C99-based-standards] (PRIxLEAST64): Likewise.
9389         [C99-based-standards] (PRIXLEAST64): Likewise.
9390         [C99-based-standards] (SCNdLEAST64): Likewise.
9391         [C99-based-standards] (SCNiLEAST64): Likewise.
9392         [C99-based-standards] (SCNoLEAST64): Likewise.
9393         [C99-based-standards] (SCNuLEAST64): Likewise.
9394         [C99-based-standards] (SCNxLEAST64): Likewise.
9395         [C99-based-standards] (PRIdFAST64): Likewise.
9396         [C99-based-standards] (PRIiFAST64): Likewise.
9397         [C99-based-standards] (PRIoFAST64): Likewise.
9398         [C99-based-standards] (PRIuFAST64): Likewise.
9399         [C99-based-standards] (PRIxFAST64): Likewise.
9400         [C99-based-standards] (PRIXFAST64): Likewise.
9401         [C99-based-standards] (SCNdFAST64): Likewise.
9402         [C99-based-standards] (SCNiFAST64): Likewise.
9403         [C99-based-standards] (SCNoFAST64): Likewise.
9404         [C99-based-standards] (SCNuFAST64): Likewise.
9405         [C99-based-standards] (SCNxFAST64): Likewise.
9406         [C99-based-standards] (PRIdMAX): Likewise.
9407         [C99-based-standards] (PRIiMAX): Likewise.
9408         [C99-based-standards] (PRIoMAX): Likewise.
9409         [C99-based-standards] (PRIuMAX): Likewise.
9410         [C99-based-standards] (PRIxMAX): Likewise.
9411         [C99-based-standards] (PRIXMAX): Likewise.
9412         [C99-based-standards] (SCNdMAX): Likewise.
9413         [C99-based-standards] (SCNiMAX): Likewise.
9414         [C99-based-standards] (SCNoMAX): Likewise.
9415         [C99-based-standards] (SCNuMAX): Likewise.
9416         [C99-based-standards] (SCNxMAX): Likewise.
9417         [C99-based-standards] (PRIdPTR): Likewise.
9418         [C99-based-standards] (PRIiPTR): Likewise.
9419         [C99-based-standards] (PRIoPTR): Likewise.
9420         [C99-based-standards] (PRIuPTR): Likewise.
9421         [C99-based-standards] (PRIxPTR): Likewise.
9422         [C99-based-standards] (PRIXPTR): Likewise.
9423         [C99-based-standards] (SCNdPTR): Likewise.
9424         [C99-based-standards] (SCNiPTR): Likewise.
9425         [C99-based-standards] (SCNoPTR): Likewise.
9426         [C99-based-standards] (SCNuPTR): Likewise.
9427         [C99-based-standards] (SCNxPTR): Likewise.
9428         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
9429         allow.
9430         * conform/data/stdint.h-data: Update comments to clarify
9431         requirements.
9432         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
9433         type.
9434         [C99-based standards] (INT8_MAX): Likewise.
9435         [C99-based standards] (INT16_MIN): Likewise.
9436         [C99-based standards] (INT16_MAX): Likewise.
9437         [C99-based standards] (INT32_MIN): Likewise.
9438         [C99-based standards] (INT32_MAX): Likewise.
9439         [C99-based standards] (INT64_MIN): Likewise.
9440         [C99-based standards] (INT64_MAX): Likewise.
9441         [C99-based standards] (UINT8_MAX): Likewise.
9442         [C99-based standards] (UINT16_MAX): Likewise.
9443         [C99-based standards] (UINT32_MAX): Likewise.
9444         [C99-based standards] (UINT64_MAX): Likewise.
9445         [C99-based standards] (INT_LEAST8_MIN): Likewise.
9446         [C99-based standards] (INT_LEAST8_MAX): Likewise.
9447         [C99-based standards] (INT_LEAST16_MIN): Likewise.
9448         [C99-based standards] (INT_LEAST16_MAX): Likewise.
9449         [C99-based standards] (INT_LEAST32_MIN): Likewise.
9450         [C99-based standards] (INT_LEAST32_MAX): Likewise.
9451         [C99-based standards] (INT_LEAST64_MIN): Likewise.
9452         [C99-based standards] (INT_LEAST64_MAX): Likewise.
9453         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
9454         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
9455         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
9456         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
9457         [C99-based standards] (INT_FAST8_MIN): Likewise.
9458         [C99-based standards] (INT_FAST8_MAX): Likewise.
9459         [C99-based standards] (INT_FAST16_MIN): Likewise.
9460         [C99-based standards] (INT_FAST16_MAX): Likewise.
9461         [C99-based standards] (INT_FAST32_MIN): Likewise.
9462         [C99-based standards] (INT_FAST32_MAX): Likewise.
9463         [C99-based standards] (INT_FAST64_MIN): Likewise.
9464         [C99-based standards] (INT_FAST64_MAX): Likewise.
9465         [C99-based standards] (UINT_FAST8_MAX): Likewise.
9466         [C99-based standards] (UINT_FAST16_MAX): Likewise.
9467         [C99-based standards] (UINT_FAST32_MAX): Likewise.
9468         [C99-based standards] (UINT_FAST64_MAX): Likewise.
9469         [C99-based standards] (INTPTR_MIN): Likewise.
9470         [C99-based standards] (INTPTR_MAX): Likewise.
9471         [C99-based standards] (UINTPTR_MAX): Likewise.
9472         [C99-based standards] (INTMAX_MIN): Likewise.
9473         [C99-based standards] (INTMAX_MAX): Likewise.
9474         [C99-based standards] (UINTMAX_MAX): Likewise.
9475         [C99-based standards] (PTRDIFF_MIN): Likewise.
9476         [C99-based standards] (PTRDIFF_MAX): Likewise.
9477         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
9478         [C99-based standards] (SIZE_MAX): Likewise.
9479         [C99-based standards] (WCHAR_MAX): Likewise.
9480         [C99-based standards] (WINT_MAX): Likewise.
9481         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
9482         constraint on value.
9483         [C99-based standards] (WCHAR_MIN): Likewise.
9484         [C99-based standards] (WINT_MIN): Likewise.
9485         [C99-based standards] (*_t): Allow.
9486         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
9487         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
9488         Include math.h-data and complex.h-data.  Remove all expectations
9489         of math.h and complex.h contents.
9490         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
9491         at end of line.
9492         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
9493         (struct tm): Expect tag.
9494         [C99-based-standards] (wcstof): Expect function.
9495         [C99-based-standards] (wcstold): Likewise.
9496         [C99-based-standards] (wcstoll): Likewise.
9497         [C99-based-standards] (wcstoull): Likewise.
9498         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
9499         macro-int-constant.  Specify type.
9500         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
9501         constraint on value.
9502         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
9503         Specify type.
9504         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
9505         Specify value.
9506         [ISO C standards]: Do not allow headers.
9507         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
9508         wcs[abcdefghijklmnopqrstuvwxyz]*.
9509         [ISO C standards] (*_t): Do not allow.
9510         * conform/data/wctype.h-data [C99-based standards] (iswblank):
9511         Expect function.
9512         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
9513         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
9514         Specify type.
9515         [ISO C standards]: Do not allow headers.
9516         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
9517         is[abcdefghijklmnopqrstuvwxyz]*.
9518         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
9519         to[abcdefghijklmnopqrstuvwxyz]*.
9520         [ISO C standards] (*_t): Do not allow.
9521         * conform/data/stdalign.h-data: New file.
9522         * conform/data/stdbool.h-data: Likewise.
9523         * conform/data/stdnoreturn.h-data: Likewise.
9525 2012-11-07  Roland McGrath  <roland@hack.frob.com>
9527         [BZ #14815]
9528         * manual/filesys.texi (Directory Entries): Typo fix.
9529         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
9531 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
9533         * elf/elf.h (EM_AARCH64): New macro.
9534         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
9535         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
9536         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
9537         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
9538         (R_AARCH64_TLSDESC): Likewise.
9539         (NT_ARM_TLS): Likewise.
9540         (NT_ARM_HW_BREAK): Likewise.
9541         (NT_ARM_HW_WATCH): Likewise.
9543 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
9545         [BZ #14811]
9546         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
9547         (__ieee754_powl): Saturate nonzero exponents with absolute value
9548         below 0x1p-79 to +/- 0x1p-79.
9549         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
9550         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
9551         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
9552         nonzero exponents with absolute value below 0x1p-32 to +/-
9553         0x1p-32.
9554         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
9555         (__ieee754_powl): Saturate nonzero exponents with absolute value
9556         below 0x1p-79 to +/- 0x1p-79.
9557         * math/libm-test.inc (pow_test): Add more tests.
9559 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
9561         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
9562         _dl_s390_cap_flags with kernel. Increase string length.
9563         (_dl_s390_platforms): Add z196 and zEC12.
9565 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
9567         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
9568         Change XOPEN21K to XOPEN2K.
9570 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
9572         * string/memmove.c: Use memcpy when possible.
9574 2012-11-06  Andreas Jaeger  <aj@suse.de>
9576         * po/eo.po: Update from translation team.
9578 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
9580         [BZ #14793]
9581         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
9582         exponent and small x and y exponents, scale x or y up.  Increase
9583         by 2 the exponent used in scaling up.
9584         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
9585         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
9586         * math/libm-test.inc (fma_test): Add more tests.
9587         (fma_test_towardzero): Likewise.
9588         (fma_test_downward): Likewise.
9589         (fma_test_upward): Likewise.
9591 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
9593         [BZ #14805]
9594         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
9595         fenv_t *.
9597         [BZ #14801]
9598         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
9599         namespace for names of struct fields.
9600         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
9601         fenv_t fields.
9602         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
9603         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
9605 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
9607         [BZ #3665]
9608         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
9610 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
9612         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
9613         PTR_DEMANGLE.
9615         [BZ #5246]
9616         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
9617         PTR_DEMANGLE.
9619 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
9621         [BZ #14797]
9622         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
9623         definitely overflow as x * y not x * y + z.
9624         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
9625         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
9626         * math/libm-test.inc (fma_test): Add more tests.
9627         (fma_test_towardzero): Likewise.
9628         (fma_test_downward): Likewise.
9629         (fma_test_upward): Likewise.
9631 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
9633         [BZ #157]
9635         * include/stub-tag.h: Remove file.
9636         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
9637         '#include' of it.
9638         * manual/maint.texi (Porting): Don't reference it.
9639         * Makerules ($(objpfx)stubs): Likewise.
9640         * dirent/closedir.c: Don't include <stub-tag.h>.
9641         * dirent/dirfd.c: Likewise.
9642         * dirent/fdopendir.c: Likewise.
9643         * dirent/getdents.c: Likewise.
9644         * dirent/getdents64.c: Likewise.
9645         * dirent/opendir.c: Likewise.
9646         * dirent/readdir.c: Likewise.
9647         * dirent/readdir64.c: Likewise.
9648         * dirent/readdir64_r.c: Likewise.
9649         * dirent/readdir_r.c: Likewise.
9650         * dirent/rewinddir.c: Likewise.
9651         * dirent/seekdir.c: Likewise.
9652         * dirent/telldir.c: Likewise.
9653         * gmon/profil.c: Likewise.
9654         * grp/setgroups.c: Likewise.
9655         * inet/if_index.c: Likewise.
9656         * io/access.c: Likewise.
9657         * io/chdir.c: Likewise.
9658         * io/chmod.c: Likewise.
9659         * io/chown.c: Likewise.
9660         * io/close.c: Likewise.
9661         * io/dup.c: Likewise.
9662         * io/dup2.c: Likewise.
9663         * io/dup3.c: Likewise.
9664         * io/euidaccess.c: Likewise.
9665         * io/faccessat.c: Likewise.
9666         * io/fchdir.c: Likewise.
9667         * io/fchmod.c: Likewise.
9668         * io/fchmodat.c: Likewise.
9669         * io/fchown.c: Likewise.
9670         * io/fchownat.c: Likewise.
9671         * io/fcntl.c: Likewise.
9672         * io/flock.c: Likewise.
9673         * io/fstatfs.c: Likewise.
9674         * io/fstatfs64.c: Likewise.
9675         * io/fstatvfs.c: Likewise.
9676         * io/fstatvfs64.c: Likewise.
9677         * io/futimens.c: Likewise.
9678         * io/fxstat.c: Likewise.
9679         * io/fxstat64.c: Likewise.
9680         * io/fxstatat.c: Likewise.
9681         * io/fxstatat64.c: Likewise.
9682         * io/getcwd.c: Likewise.
9683         * io/isatty.c: Likewise.
9684         * io/lchmod.c: Likewise.
9685         * io/lchown.c: Likewise.
9686         * io/link.c: Likewise.
9687         * io/linkat.c: Likewise.
9688         * io/lseek.c: Likewise.
9689         * io/lseek64.c: Likewise.
9690         * io/lxstat64.c: Likewise.
9691         * io/mkdir.c: Likewise.
9692         * io/mkdirat.c: Likewise.
9693         * io/mkfifo.c: Likewise.
9694         * io/mkfifoat.c: Likewise.
9695         * io/open.c: Likewise.
9696         * io/open64.c: Likewise.
9697         * io/openat.c: Likewise.
9698         * io/openat64.c: Likewise.
9699         * io/pipe.c: Likewise.
9700         * io/pipe2.c: Likewise.
9701         * io/poll.c: Likewise.
9702         * io/posix_fadvise.c: Likewise.
9703         * io/posix_fadvise64.c: Likewise.
9704         * io/posix_fallocate.c: Likewise.
9705         * io/posix_fallocate64.c: Likewise.
9706         * io/read.c: Likewise.
9707         * io/readlink.c: Likewise.
9708         * io/readlinkat.c: Likewise.
9709         * io/rmdir.c: Likewise.
9710         * io/sendfile.c: Likewise.
9711         * io/sendfile64.c: Likewise.
9712         * io/statfs.c: Likewise.
9713         * io/statfs64.c: Likewise.
9714         * io/statvfs.c: Likewise.
9715         * io/statvfs64.c: Likewise.
9716         * io/symlink.c: Likewise.
9717         * io/symlinkat.c: Likewise.
9718         * io/ttyname.c: Likewise.
9719         * io/ttyname_r.c: Likewise.
9720         * io/umask.c: Likewise.
9721         * io/unlink.c: Likewise.
9722         * io/unlinkat.c: Likewise.
9723         * io/utime.c: Likewise.
9724         * io/utimensat.c: Likewise.
9725         * io/write.c: Likewise.
9726         * io/xmknod.c: Likewise.
9727         * io/xmknodat.c: Likewise.
9728         * io/xstat.c: Likewise.
9729         * io/xstat64.c: Likewise.
9730         * login/getpt.c: Likewise.
9731         * login/grantpt.c: Likewise.
9732         * login/unlockpt.c: Likewise.
9733         * math/e_acoshl.c: Likewise.
9734         * math/e_acosl.c: Likewise.
9735         * math/e_asinl.c: Likewise.
9736         * math/e_atan2l.c: Likewise.
9737         * math/e_atanhl.c: Likewise.
9738         * math/e_coshl.c: Likewise.
9739         * math/e_expl.c: Likewise.
9740         * math/e_fmodl.c: Likewise.
9741         * math/e_gammal_r.c: Likewise.
9742         * math/e_hypotl.c: Likewise.
9743         * math/e_j0l.c: Likewise.
9744         * math/e_j1l.c: Likewise.
9745         * math/e_jnl.c: Likewise.
9746         * math/e_lgammal_r.c: Likewise.
9747         * math/e_log10l.c: Likewise.
9748         * math/e_log2l.c: Likewise.
9749         * math/e_logl.c: Likewise.
9750         * math/e_powl.c: Likewise.
9751         * math/e_rem_pio2l.c: Likewise.
9752         * math/e_sinhl.c: Likewise.
9753         * math/e_sqrtl.c: Likewise.
9754         * math/fclrexcpt.c: Likewise.
9755         * math/fedisblxcpt.c: Likewise.
9756         * math/feenablxcpt.c: Likewise.
9757         * math/fegetenv.c: Likewise.
9758         * math/fegetexcept.c: Likewise.
9759         * math/fegetround.c: Likewise.
9760         * math/feholdexcpt.c: Likewise.
9761         * math/fesetenv.c: Likewise.
9762         * math/fesetround.c: Likewise.
9763         * math/feupdateenv.c: Likewise.
9764         * math/fgetexcptflg.c: Likewise.
9765         * math/fraiseexcpt.c: Likewise.
9766         * math/fsetexcptflg.c: Likewise.
9767         * math/ftestexcept.c: Likewise.
9768         * math/k_cosl.c: Likewise.
9769         * math/k_rem_pio2l.c: Likewise.
9770         * math/k_sinl.c: Likewise.
9771         * math/k_tanl.c: Likewise.
9772         * math/s_asinhl.c: Likewise.
9773         * math/s_atanl.c: Likewise.
9774         * math/s_cbrtl.c: Likewise.
9775         * math/s_erfl.c: Likewise.
9776         * math/s_expm1l.c: Likewise.
9777         * math/s_log1pl.c: Likewise.
9778         * math/s_tanhl.c: Likewise.
9779         * misc/acct.c: Likewise.
9780         * misc/brk.c: Likewise.
9781         * misc/chflags.c: Likewise.
9782         * misc/chroot.c: Likewise.
9783         * misc/fchflags.c: Likewise.
9784         * misc/fgetxattr.c: Likewise.
9785         * misc/flistxattr.c: Likewise.
9786         * misc/fremovexattr.c: Likewise.
9787         * misc/fsetxattr.c: Likewise.
9788         * misc/fsync.c: Likewise.
9789         * misc/ftruncate.c: Likewise.
9790         * misc/futimes.c: Likewise.
9791         * misc/futimesat.c: Likewise.
9792         * misc/getdomain.c: Likewise.
9793         * misc/getdtsz.c: Likewise.
9794         * misc/gethostid.c: Likewise.
9795         * misc/gethostname.c: Likewise.
9796         * misc/getloadavg.c: Likewise.
9797         * misc/getpagesize.c: Likewise.
9798         * misc/getsysstats.c: Likewise.
9799         * misc/getxattr.c: Likewise.
9800         * misc/gtty.c: Likewise.
9801         * misc/ioctl.c: Likewise.
9802         * misc/lgetxattr.c: Likewise.
9803         * misc/listxattr.c: Likewise.
9804         * misc/llistxattr.c: Likewise.
9805         * misc/lremovexattr.c: Likewise.
9806         * misc/lsetxattr.c: Likewise.
9807         * misc/lutimes.c: Likewise.
9808         * misc/madvise.c: Likewise.
9809         * misc/mincore.c: Likewise.
9810         * misc/mlock.c: Likewise.
9811         * misc/mlockall.c: Likewise.
9812         * misc/mmap.c: Likewise.
9813         * misc/mprotect.c: Likewise.
9814         * misc/msync.c: Likewise.
9815         * misc/munlock.c: Likewise.
9816         * misc/munlockall.c: Likewise.
9817         * misc/munmap.c: Likewise.
9818         * misc/preadv.c: Likewise.
9819         * misc/preadv64.c: Likewise.
9820         * misc/ptrace.c: Likewise.
9821         * misc/pwritev.c: Likewise.
9822         * misc/pwritev64.c: Likewise.
9823         * misc/readv.c: Likewise.
9824         * misc/reboot.c: Likewise.
9825         * misc/remap_file_pages.c: Likewise.
9826         * misc/removexattr.c: Likewise.
9827         * misc/revoke.c: Likewise.
9828         * misc/select.c: Likewise.
9829         * misc/setdomain.c: Likewise.
9830         * misc/setegid.c: Likewise.
9831         * misc/seteuid.c: Likewise.
9832         * misc/sethostid.c: Likewise.
9833         * misc/sethostname.c: Likewise.
9834         * misc/setregid.c: Likewise.
9835         * misc/setreuid.c: Likewise.
9836         * misc/setxattr.c: Likewise.
9837         * misc/sstk.c: Likewise.
9838         * misc/stty.c: Likewise.
9839         * misc/swapoff.c: Likewise.
9840         * misc/swapon.c: Likewise.
9841         * misc/sync.c: Likewise.
9842         * misc/syncfs.c: Likewise.
9843         * misc/syscall.c: Likewise.
9844         * misc/truncate.c: Likewise.
9845         * misc/ualarm.c: Likewise.
9846         * misc/usleep.c: Likewise.
9847         * misc/ustat.c: Likewise.
9848         * misc/utimes.c: Likewise.
9849         * misc/vhangup.c: Likewise.
9850         * misc/writev.c: Likewise.
9851         * posix/_exit.c: Likewise.
9852         * posix/alarm.c: Likewise.
9853         * posix/execve.c: Likewise.
9854         * posix/fexecve.c: Likewise.
9855         * posix/fork.c: Likewise.
9856         * posix/fpathconf.c: Likewise.
9857         * posix/getaddrinfo.c: Likewise.
9858         * posix/getegid.c: Likewise.
9859         * posix/geteuid.c: Likewise.
9860         * posix/getgid.c: Likewise.
9861         * posix/getgroups.c: Likewise.
9862         * posix/getlogin.c: Likewise.
9863         * posix/getlogin_r.c: Likewise.
9864         * posix/getpgid.c: Likewise.
9865         * posix/getpid.c: Likewise.
9866         * posix/getppid.c: Likewise.
9867         * posix/getresgid.c: Likewise.
9868         * posix/getresuid.c: Likewise.
9869         * posix/getsid.c: Likewise.
9870         * posix/getuid.c: Likewise.
9871         * posix/glob64.c: Likewise.
9872         * posix/nanosleep.c: Likewise.
9873         * posix/pathconf.c: Likewise.
9874         * posix/pause.c: Likewise.
9875         * posix/posix_madvise.c: Likewise.
9876         * posix/pread.c: Likewise.
9877         * posix/pread64.c: Likewise.
9878         * posix/pwrite.c: Likewise.
9879         * posix/pwrite64.c: Likewise.
9880         * posix/sched_getaffinity.c: Likewise.
9881         * posix/sched_getp.c: Likewise.
9882         * posix/sched_gets.c: Likewise.
9883         * posix/sched_primax.c: Likewise.
9884         * posix/sched_primin.c: Likewise.
9885         * posix/sched_rr_gi.c: Likewise.
9886         * posix/sched_setaffinity.c: Likewise.
9887         * posix/sched_setp.c: Likewise.
9888         * posix/sched_sets.c: Likewise.
9889         * posix/sched_yield.c: Likewise.
9890         * posix/setgid.c: Likewise.
9891         * posix/setlogin.c: Likewise.
9892         * posix/setpgid.c: Likewise.
9893         * posix/setresgid.c: Likewise.
9894         * posix/setresuid.c: Likewise.
9895         * posix/setsid.c: Likewise.
9896         * posix/setuid.c: Likewise.
9897         * posix/sleep.c: Likewise.
9898         * posix/spawni.c: Likewise.
9899         * posix/sysconf.c: Likewise.
9900         * posix/times.c: Likewise.
9901         * posix/wait.c: Likewise.
9902         * posix/wait3.c: Likewise.
9903         * posix/wait4.c: Likewise.
9904         * posix/waitpid.c: Likewise.
9905         * resolv/gai_sigqueue.c: Likewise.
9906         * resource/getpriority.c: Likewise.
9907         * resource/getrlimit.c: Likewise.
9908         * resource/getrusage.c: Likewise.
9909         * resource/nice.c: Likewise.
9910         * resource/setpriority.c: Likewise.
9911         * resource/setrlimit.c: Likewise.
9912         * resource/ulimit.c: Likewise.
9913         * rt/aio_cancel.c: Likewise.
9914         * rt/aio_fsync.c: Likewise.
9915         * rt/aio_read.c: Likewise.
9916         * rt/aio_sigqueue.c: Likewise.
9917         * rt/aio_suspend.c: Likewise.
9918         * rt/aio_write.c: Likewise.
9919         * rt/clock_getres.c: Likewise.
9920         * rt/clock_gettime.c: Likewise.
9921         * rt/clock_nanosleep.c: Likewise.
9922         * rt/clock_settime.c: Likewise.
9923         * rt/lio_listio.c: Likewise.
9924         * rt/mq_close.c: Likewise.
9925         * rt/mq_getattr.c: Likewise.
9926         * rt/mq_notify.c: Likewise.
9927         * rt/mq_open.c: Likewise.
9928         * rt/mq_receive.c: Likewise.
9929         * rt/mq_send.c: Likewise.
9930         * rt/mq_setattr.c: Likewise.
9931         * rt/mq_timedreceive.c: Likewise.
9932         * rt/mq_timedsend.c: Likewise.
9933         * rt/mq_unlink.c: Likewise.
9934         * rt/shm_open.c: Likewise.
9935         * rt/shm_unlink.c: Likewise.
9936         * rt/timer_create.c: Likewise.
9937         * rt/timer_delete.c: Likewise.
9938         * rt/timer_getoverr.c: Likewise.
9939         * rt/timer_gettime.c: Likewise.
9940         * rt/timer_settime.c: Likewise.
9941         * setjmp/__longjmp.c: Likewise.
9942         * setjmp/setjmp.c: Likewise.
9943         * signal/kill.c: Likewise.
9944         * signal/killpg.c: Likewise.
9945         * signal/raise.c: Likewise.
9946         * signal/sigaction.c: Likewise.
9947         * signal/sigaltstack.c: Likewise.
9948         * signal/sigblock.c: Likewise.
9949         * signal/sigignore.c: Likewise.
9950         * signal/sigintr.c: Likewise.
9951         * signal/signal.c: Likewise.
9952         * signal/sigpause.c: Likewise.
9953         * signal/sigpending.c: Likewise.
9954         * signal/sigqueue.c: Likewise.
9955         * signal/sigreturn.c: Likewise.
9956         * signal/sigset.c: Likewise.
9957         * signal/sigsetmask.c: Likewise.
9958         * signal/sigstack.c: Likewise.
9959         * signal/sigsuspend.c: Likewise.
9960         * signal/sigtimedwait.c: Likewise.
9961         * signal/sigvec.c: Likewise.
9962         * signal/sigwait.c: Likewise.
9963         * signal/sigwaitinfo.c: Likewise.
9964         * signal/sysv_signal.c: Likewise.
9965         * socket/accept.c: Likewise.
9966         * socket/accept4.c: Likewise.
9967         * socket/bind.c: Likewise.
9968         * socket/connect.c: Likewise.
9969         * socket/getpeername.c: Likewise.
9970         * socket/getsockname.c: Likewise.
9971         * socket/getsockopt.c: Likewise.
9972         * socket/isfdtype.c: Likewise.
9973         * socket/listen.c: Likewise.
9974         * socket/recv.c: Likewise.
9975         * socket/recvfrom.c: Likewise.
9976         * socket/recvmsg.c: Likewise.
9977         * socket/send.c: Likewise.
9978         * socket/sendmsg.c: Likewise.
9979         * socket/sendto.c: Likewise.
9980         * socket/setsockopt.c: Likewise.
9981         * socket/shutdown.c: Likewise.
9982         * socket/sockatmark.c: Likewise.
9983         * socket/socket.c: Likewise.
9984         * socket/socketpair.c: Likewise.
9985         * stdio-common/ctermid.c: Likewise.
9986         * stdio-common/cuserid.c: Likewise.
9987         * stdio-common/remove.c: Likewise.
9988         * stdio-common/rename.c: Likewise.
9989         * stdio-common/renameat.c: Likewise.
9990         * stdio-common/tempname.c: Likewise.
9991         * stdlib/getcontext.c: Likewise.
9992         * stdlib/makecontext.c: Likewise.
9993         * stdlib/setcontext.c: Likewise.
9994         * stdlib/swapcontext.c: Likewise.
9995         * stdlib/system.c: Likewise.
9996         * streams/fattach.c: Likewise.
9997         * streams/fdetach.c: Likewise.
9998         * streams/getmsg.c: Likewise.
9999         * streams/getpmsg.c: Likewise.
10000         * streams/putmsg.c: Likewise.
10001         * streams/putpmsg.c: Likewise.
10002         * sysdeps/unix/bsd/getpt.c: Likewise.
10003         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
10004         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
10005         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
10006         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
10007         Likewise.
10008         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
10009         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
10010         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
10011         * sysvipc/msgctl.c: Likewise.
10012         * sysvipc/msgget.c: Likewise.
10013         * sysvipc/msgrcv.c: Likewise.
10014         * sysvipc/msgsnd.c: Likewise.
10015         * sysvipc/semctl.c: Likewise.
10016         * sysvipc/semget.c: Likewise.
10017         * sysvipc/semop.c: Likewise.
10018         * sysvipc/semtimedop.c: Likewise.
10019         * sysvipc/shmat.c: Likewise.
10020         * sysvipc/shmctl.c: Likewise.
10021         * sysvipc/shmdt.c: Likewise.
10022         * sysvipc/shmget.c: Likewise.
10023         * termios/tcdrain.c: Likewise.
10024         * termios/tcflow.c: Likewise.
10025         * termios/tcflush.c: Likewise.
10026         * termios/tcgetattr.c: Likewise.
10027         * termios/tcgetpgrp.c: Likewise.
10028         * termios/tcsendbrk.c: Likewise.
10029         * termios/tcsetattr.c: Likewise.
10030         * termios/tcsetpgrp.c: Likewise.
10031         * time/adjtime.c: Likewise.
10032         * time/clock.c: Likewise.
10033         * time/getitimer.c: Likewise.
10034         * time/gettimeofday.c: Likewise.
10035         * time/setitimer.c: Likewise.
10036         * time/settimeofday.c: Likewise.
10037         * time/stime.c: Likewise.
10038         * time/time.c: Likewise.
10040 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
10042         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
10043         /usr/old/bin.
10045         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
10046         instead of spaces.
10047         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
10049 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
10051         [BZ #14796]
10052         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
10053         FE_TONEAREST before applying Dekker multiplication and Knuth
10054         addition.  Clear inexact exceptions and check for exact zero
10055         results afterwards.
10056         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
10057         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
10058         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
10059         * math/libm-test.inc (fma_test): Add more tests.
10060         (fma_test_towardzero): Likewise.
10061         (fma_test_downward): Likewise.
10062         (fma_test_upward): Likewise.
10063         * sysdeps/generic/math_private.h (default_libc_fesetround): New
10064         function.
10065         (libc_fesetround): New macro.
10066         (libc_fesetroundf): Likewise.
10067         (libc_fesetroundl): Likewise.
10068         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
10069         function.
10070         (libc_fesetround_387): Likewise.
10071         (libc_fesetroundf): New macro.
10072         (libc_fesetround): Likewise.
10073         (libc_fesetroundl): Likewise.
10074         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
10075         function.
10076         (libc_fesetroundf): New macro.
10077         (libc_fesetround): Likewise.
10078         (libc_fesetroundl): Likewise.
10079         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
10080         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
10081         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
10082         libm_hidden_ver.
10083         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
10084         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
10085         libm_hidden_def.
10086         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
10087         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
10088         libm_hidden_ver.
10089         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
10090         libm_hidden_def.
10092         [BZ #3439]
10093         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
10094         integer constant usable in #if and use that to give value to enum
10095         constant.
10096         (FE_DIVBYZERO): Likewise.
10097         (FE_UNDERFLOW): Likewise.
10098         (FE_OVERFLOW): Likewise.
10099         (FE_INVALID): Likewise.
10100         (FE_INVALID_SNAN): Likewise.
10101         (FE_INVALID_ISI): Likewise.
10102         (FE_INVALID_IDI): Likewise.
10103         (FE_INVALID_ZDZ): Likewise.
10104         (FE_INVALID_IMZ): Likewise.
10105         (FE_INVALID_COMPARE): Likewise.
10106         (FE_INVALID_SOFTWARE): Likewise.
10107         (FE_INVALID_SQRT): Likewise.
10108         (FE_INVALID_INTEGER_CONVERSION): Likewise.
10109         (FE_TONEAREST): Likewise.
10110         (FE_TOWARDZERO): Likewise.
10111         (FE_UPWARD): Likewise.
10112         (FE_DOWNWARD): Likewise.
10113         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
10114         (FE_DIVBYZERO): Likewise.
10115         (FE_OVERFLOW): Likewise.
10116         (FE_UNDERFLOW): Likewise.
10117         (FE_INEXACT): Likewise.
10118         (FE_TONEAREST): Likewise.
10119         (FE_DOWNWARD): Likewise.
10120         (FE_UPWARD): Likewise.
10121         (FE_TOWARDZERO): Likewise.
10122         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
10123         (FE_UNDERFLOW): Likewise.
10124         (FE_OVERFLOW): Likewise.
10125         (FE_DIVBYZERO): Likewise.
10126         (FE_INVALID): Likewise.
10127         (FE_TONEAREST): Likewise.
10128         (FE_TOWARDZERO): Likewise.
10129         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
10130         (FE_OVERFLOW): Likewise.
10131         (FE_UNDERFLOW): Likewise.
10132         (FE_DIVBYZERO): Likewise.
10133         (FE_INEXACT): Likewise.
10134         (FE_TONEAREST): Likewise.
10135         (FE_TOWARDZERO): Likewise.
10136         (FE_UPWARD): Likewise.
10137         (FE_DOWNWARD): Likewise.
10138         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
10139         (FE_DIVBYZERO): Likewise.
10140         (FE_OVERFLOW): Likewise.
10141         (FE_UNDERFLOW): Likewise.
10142         (FE_INEXACT): Likewise.
10143         (FE_TONEAREST): Likewise.
10144         (FE_DOWNWARD): Likewise.
10145         (FE_UPWARD): Likewise.
10146         (FE_TOWARDZERO): Likewise.
10148 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
10150         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
10152 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
10154         * scripts/cross-test-ssh.sh (command): Use newlines to separate
10155         commands.  Quote $PWD.
10156         (blacklist_exports): Don't use remove_newlines.  Replace "declare
10157         -x" by "export".
10158         (remove_newlines): Remove.
10160 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
10162         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
10163         * stdlib/stdlib.h (atof): Moved to ...
10164         * include/bits/stdlib-float.h: Here.  New file.
10165         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
10166         * stdlib/bits/stdlib-float.h: New file.
10167         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
10168         -mno-sse -mno-mmx.
10169         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
10170         <xmmintrin.h>.
10172 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
10174         * conform/conformtest.pl (@headers): Add fenv.h.
10175         * conform/data/fenv.h-data: New file.
10176         * include/fenv.h [_ISOMAC]: Disable all contents of file except
10177         include of <math/fenv.h>.
10179         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
10180         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
10181         && !UNIX98].  Enables tests for XOPEN2K8.
10182         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
10183         POSIX2008]: Likewise.
10185         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
10186         (struct rusage): Do not expect type or its members.
10188         [BZ #3439]
10189         * math/math.h (FP_NAN): Define macro to integer constant usable in
10190         #if and use that to give value to enum constant.
10191         (FP_INFINITE): Likewise.
10192         (FP_ZERO): Likewise.
10193         (FP_SUBNORMAL): Likewise.
10194         (FP_NORMAL): Likewise.
10196 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
10198         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
10199         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
10200         arguments.
10202 2012-11-02  Roland McGrath  <roland@hack.frob.com>
10204         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
10205         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
10206         autoconf-time if not.
10207         * configure.in: Remove AC_PREREQ.
10209 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
10211         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
10212         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
10213         of the internal implementation.
10215 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
10217         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
10218         except include of <misc/sys/syslog.h>.
10220 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
10222         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
10223         function returns with a NULL context exit with zero.
10225 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
10227         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
10229 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
10231         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
10232         (run_program_cmd): This.
10233         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
10234         (tst_langinfo): New variable.  Use it.
10236 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
10238         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
10239         floating point opcodes.
10241 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
10243         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
10244         variable.
10246         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
10248         * sysdeps/mach/hurd/powerpc: Remove directory.
10249         * sysdeps/mach/powerpc: Likewise.
10251 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
10253         * scripts/check-local-headers.sh: Ignore c++ headers.
10255 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
10257         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
10258         __libc_cleanup_region_start argument.
10260 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
10262         [BZ #14784]
10263         [BZ #14785]
10264         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
10265         x * y using scaling, not as x * y + z.
10266         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
10267         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
10268         * math/libm-test.inc (fma_test): Add more tests.
10269         (fma_test_towardzero): Likewise.
10270         (fma_test_downward): Likewise.
10271         (fma_test_upward): Likewise.
10273 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
10275         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
10277 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
10279         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
10280         New variable.
10282 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
10284         * rt/tst-shm.c (worker): Correct checking for mmap failure.
10286 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
10288         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
10289         Fix sort order.
10290         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
10291         Likewise.
10293 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
10295         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
10296         Fix the order of the list for glibc 2.17.
10297         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
10298         Likewise.
10300 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
10302         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10304 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
10306         [BZ #14610]
10307         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
10308         for low part of x being zero before using __atanl (y).
10309         * math/libm-test.inc (atan2_test): Add another test.
10311         * manual/install.texi (Configuring and compiling): Document
10312         general use of test-wrapper and test-wrapper-env.
10313         * INSTALL: Regenerated.
10315         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
10316         (__fma): Do not extract and scale down low bits on after-rounding
10317         systems when result rounded to normal precision would have normal
10318         exponent.
10319         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
10320         (__fmal): Do not extract and scale down low bits on after-rounding
10321         systems when result rounded to normal precision would have normal
10322         exponent.
10323         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
10324         (__fmal): Do not extract and scale down low bits on after-rounding
10325         systems when result rounded to normal precision would have normal
10326         exponent.
10327         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
10328         macro.
10329         (fma_test): Add more tests.
10330         (fma_test_towardzero): Likewise.
10331         (fma_test_downward): Likewise.
10332         (fma_test_upward): Likewise.
10334 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
10336         * sysdeps/i386/tininess.h: Renamed to ...
10337         * sysdeps/x86/tininess.h: This.
10338         * sysdeps/x86_64/tininess.h: Removed.
10340 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
10342         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
10343         input.  Use $(build-program-cmd).
10344         ($(objpfx)tst-array1-static.out): Likewise.
10345         ($(objpfx)tst-array2.out): Likewise.
10346         ($(objpfx)tst-array3.out): Likewise.
10347         ($(objpfx)tst-array4.out): Likewise.
10348         ($(objpfx)tst-array5.out): Likewise.
10349         ($(objpfx)tst-array5-static.out): Likewise.
10351 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
10353         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
10354         if defined.
10356         * nss/nsswitch.h (nss_interface_function): Provide new
10357         macro for use with NSS functions.
10358         * grp/initgroups.c: Use new macro.
10359         * nss/getXXbyYY.c: Likewise.
10360         * nss/getXXbyYY_r.c: Likewise.
10361         * nss/getXXent.c: Likewise.
10362         * nss/getXXent_r.c: Likewise.
10363         * sysdeps/posix/getaddrinfo.c: Likewise.
10365 2012-10-30  Andreas Jaeger  <aj@suse.de>
10367         * po/ru.po: Update Russion translation from translation project.
10369 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
10371         [BZ #14152]
10372         [BZ #14783]
10373         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
10374         result and shift together with sticky bit instead of replicating
10375         round-to-nearest rounding.
10376         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
10377         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
10378         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
10379         missing underflow exceptions.
10380         (fma_test_towardzero): Add more tests.
10381         (fma_test_downward): Likewise.
10382         (fma_test_upward): Likewise.
10384         [BZ #14047]
10385         * sysdeps/generic/tininess.h: New file.
10386         * sysdeps/i386/tininess.h: Likewise.
10387         * sysdeps/sh/tininess.h: Likewise.
10388         * sysdeps/x86_64/tininess.h: Likewise.
10389         * stdlib/tst-strtod-underflow.c: Likewise.
10390         * stdlib/tst-tininess.c: Likewise.
10391         * stdlib/strtod_l.c: Include <tininess.h>.
10392         (round_and_return): Do not set errno for exact underflow cases.
10393         Force an underflow exception when setting errno for underflow.
10394         Determine underflow based on rounding to normal precision if
10395         TININESS_AFTER_ROUNDING.
10396         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
10397         ERANGE for exact underflow cases.
10398         * stdlib/Makefile (tests): Add tst-tininess and
10399         tst-strtod-underflow.
10400         ($(objpfx)tst-tininess): Use $(link-libm).
10401         ($(objpfx)tst-strtod-underflow): Likewise.
10403 2012-10-30  Andreas Jaeger  <aj@suse.de>
10405         [BZ#14767]
10406         * elf/Makefile (tests): Remove conditional for have-initfini-array
10407         since this is now always required and the variable does not exist
10408         anymore.
10409         (tests-static): Likewise.
10410         (modules-names): Likewise.
10412         * po/eo.po: Add Esperanto translation from translation project.
10414         * elf/tst-array1.c (fini_array): Make writeable so that it can be
10415         merged with constructor/destructor.
10416         (init_array): Likewise.
10417         * elf/tst-array2dep.c (fini_array): Likewise.
10418         (init_array): Likewise.
10420 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
10422         * manual/message.texi: Delete @cartouche tags.
10424 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
10426         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
10427         EOPNOTSUPP.
10428         * sysdeps/mach/hurd/fsync.c: Likewise.
10430         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
10431         [_POSIX_REALTIME_SIGNALS]: Change condition to
10432         [_POSIX_REALTIME_SIGNALS > 0].
10434 2012-10-27  Andreas Jaeger  <aj@suse.de>
10436         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
10437         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
10438         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
10439         [__WORDSIZE != 64]: Likewise.
10441 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
10443         *  iconvdata/tst-table.sh: Remove ${SHELL}.
10444         *  iconvdata/tst-tables.sh: Likewise.
10446 2012-10-25  David S. Miller  <davem@davemloft.net>
10448         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
10449         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
10450         of strtoull.
10452         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
10453         ifunc-impl-list.c
10454         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
10455         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
10456         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
10457         file.
10459 2012-10-25  Roland McGrath  <roland@hack.frob.com>
10461         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
10462         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
10463         __getdirentries.
10465 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
10466             Jim Blandy  <jimb@codesourcery.com>
10468         * scripts/cross-test-ssh.sh: New file.
10469         * manual/install.texi (Configuring and compiling): Document use of
10470         cross-test-ssh.sh.
10471         * INSTALL: Regenerated.
10473 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
10475         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
10476         EOPNOTSUPP.
10478 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
10480         * Makeconfig (run-program-prefix): Fix comment.
10482 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
10483             Jim Blandy  <jimb@codesourcery.com>
10485         * Makeconfig (test-wrapper): New variable,
10486         (test-wrapper-env): Likewise.
10487         [$(cross-compiling) = yes && $(test-wrapper) != ""]
10488         (run-built-tests): Define to yes.
10489         (run-program-prefix): Use $(test-wrapper).
10490         (built-program-cmd): Likewise.
10491         * Rules (make-test-out): Use $(test-wrapper-env) and
10492         $(host-built-program-cmd).
10493         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
10494         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
10495         tst-pathopt.sh.
10496         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
10497         $(test-wrapper-env) to tst-rtld-load-self.sh.
10498         ($(objpfx)order2.out): Use $(test-wrapper).
10499         ($(objpfx)tst-initorder.out): Likewise.
10500         ($(objpfx)tst-initorder2.out): Likewise.
10501         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
10502         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
10503         (test_wrapper_env): New variable.  Use it to run ld.so.
10504         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
10505         Use it to run ld.so.
10506         (test_wrapper_env): Likewise.
10507         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
10508         $(test-wrapper) to run-iconv-test.sh.
10509         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
10510         (ICONV): Use $test_wrapper.
10511         * posix/Makefile ($(objpfx)globtest.out): Pass
10512         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
10513         globtest.sh, not $(run-program-prefix).
10514         * posix/globtest.sh (run_via_rtld_prefix): New variable.
10515         (test_wrapper): Likewise.
10516         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
10517         set together with run_via_rtld_prefix.
10518         (run_program_prefix): Define in terms of test_wrapper and
10519         run_via_rtld_prefix.
10521 2012-10-24  Roland McGrath  <roland@hack.frob.com>
10523         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
10524         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
10525         Targets removed.
10527         [BZ #14743]
10528         * include/time.h: Remove librt_hidden_proto (clock_gettime).
10529         Declare __clock_getres, __clock_gettime, __clock_settime,
10530         __clock_nanosleep, and __clock_getcpuclockid.
10531         * rt/clock_gettime.c: Define __clock_gettime as an alias.
10532         Remove librt_hidden_def (clock_gettime).
10533         * sysdeps/unix/clock_gettime.c: Likewise.
10534         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
10535         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
10536         * rt/clock_getres.c: Define __clock_getres as an alias.
10537         * sysdeps/posix/clock_getres.c: Likewise.
10538         * rt/clock_settime.c: Define __clock_settime as an alias.
10539         * sysdeps/unix/clock_settime.c: Likewise.
10540         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
10541         * sysdeps/unix/clock_nanosleep.c: Likewise.
10542         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
10543         * rt/clock-compat.c: New file.
10544         * rt/Makefile (librt-routines): Add clock-compat and move
10545         $(clock-routines) to ...
10546         (routines): ... here, new variable.
10547         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
10548         Don't add get_clockfreq here.
10549         * rt/Versions (libc: GLIBC_2.17): New version set.
10550         Add clock_* symbols here.
10551         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
10552         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
10553         (GLIBC_2.17): Add clock_* symbols.
10554         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
10555         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
10556         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
10557         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
10558         Likewise.
10559         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
10560         Likewise.
10561         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
10562         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
10563         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
10564         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
10565         * NEWS: Mention the move.
10567         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
10568         Use __open, __read, __close rather than their public counterparts.
10569         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
10570         (__get_clockfreq_via_cpuinfo): Likewise.
10571         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
10572         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
10574         * config.h.in (HAVE_IFUNC): New #undef.
10575         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
10576         was successful.
10577         * configure: Regenerated.
10579 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
10581         * configure.in: Move READELF check to start of file.
10582         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
10583         libc_cv_asm_gnu_indirect_function in the process.
10584         * configure: Regenerated.
10586 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
10588         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
10589         send the output to /dev/null.
10590         (libc_cv_cc_with_libunwind): Likewise.
10591         (libc_cv_as_noexecstack): Likewise.
10592         * configure: Regenerate.
10594 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
10596         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
10598         * posix/globtest.sh (TMPDIR): Do not set.
10599         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
10600         (testout): Likewise.
10602 2012-10-24  Andreas Jaeger  <aj@suse.de>
10604         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
10605         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
10606         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
10607         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
10608         posix_fadvise64, posix_fallocate64.
10610         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
10611         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
10612         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
10613         Likewise.
10614         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
10615         Likewise.
10616         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
10618         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
10619         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
10620         <bits/fcntl-linux.h>.
10621         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
10623         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
10624         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
10625         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
10626         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
10627         [__WORDSIZE != 64]: Likewise.
10629 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
10631         * Makeconfig (run-built-tests): New variable.
10632         * Rules [$(cross-compiling) = yes]: Change condition to
10633         [$(run-built-tests) = no].
10634         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
10635         to [$(run-built-tests) = yes].
10636         * elf/Makefile [$(cross-compiling) = no]: Likewise
10637         * grp/Makefile [$(cross-compiling) = no]: Likewise.
10638         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
10639         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
10640         * intl/Makefile [$(cross-compiling) = no]: Likewise.
10641         * io/Makefile [$(cross-compiling) = no]: Likewise.
10642         * libio/Makefile [$(cross-compiling) = no]: Likewise.
10643         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
10644         * misc/Makefile [$(cross-compiling) = no]: Likewise.
10645         * posix/Makefile [$(cross-compiling) = no]: Likewise.
10646         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
10647         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
10648         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
10649         * string/Makefile [$(cross-compiling) = no]: Likewise.
10651         * posix/Makefile ($(objpfx)globtest.out): Pass
10652         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
10653         $(rtld-installed-name).
10654         * posix/globtest.sh (elf_objpfx): Remove variable.
10655         (rtld_installed_name): Likewise.
10656         (library_path): Likewise.
10657         (run_program_prefix): New variable.  Use for running globtest
10658         binary.
10660 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
10661             Joseph Myers  <joseph@codesourcery.com>
10663         * Makeconfig (host-built-program-cmd): New variable.
10664         * elf/Makefile (tst-stackguard1-ARGS): Use
10665         $(host-built-program-cmd).
10666         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
10667         (tst-spawn-ARGS): Likewise.
10668         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
10670 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
10671             Jim Blandy  <jimb@codesourcery.com>
10673         * Makeconfig (run-via-rtld-prefix): New variable.
10674         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
10675         (built-program-cmd): Likewise.
10677 2012-10-22  Andreas Jaeger  <aj@suse.de>
10679         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
10680         __O_RSYNC if it exists, otherwise to O_SYNC.
10682 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
10683             Joseph Myers  <joseph@codesourcery.com>
10685         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
10686         /dev/null.
10687         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
10688         from /dev/null
10689         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
10690         /dev/null.
10692 2012-10-22  Andreas Jaeger  <aj@suse.de>
10694         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
10695         Define always.
10696         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
10698         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
10699         bits/fcntl-linux.h.
10701         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
10702         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
10704         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
10705         to __O_LARGEFILE.
10706         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
10707         to __O_LARGEFILE.
10709 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
10710             Joseph Myers  <joseph@codesourcery.com>
10712         * config.make.in (NM): New variable.
10714 2012-10-21  Andreas Jaeger  <aj@suse.de>
10716         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
10717         definitions and declarations that are provided by
10718         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
10720 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
10722         [BZ #14683]
10723         * elf/Makefile (tests-static): Add tst-leaks1-static.
10724         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
10725         ($(objpfx)tst-leaks1-static): New rule.
10726         ($(objpfx)tst-leaks1-static-mem): Likewise.
10727         (tst-leaks1-static-ENV): New macro.
10728         * elf/dl-open.c (dl_open_worker): Check the main application
10729         only if SHARED is defined.
10730         * elf/tst-leaks1-static.c: New file.
10732 2012-10-20  Andreas Jaeger  <aj@suse.de>
10734         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
10735         generic values for Linux.
10736         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
10737         and declarations that are provided by <bits/fcntl-linux.h> and
10738         include <bits/fcntl-linux.h>.
10739         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
10740         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
10742 2012-10-20  Roland McGrath  <roland@hack.frob.com>
10744         * io/fcntl.h: Move include of <bits/types.h> to the top and
10745         include it unconditionally.
10747 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
10749         * wcsmbs/Makefile (tests-ifunc): New variable.
10750         (tests): Add $(tests-ifunc).
10751         * wcsmbs/test-wcschr-ifunc.c: New file.
10752         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
10753         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
10754         * wcsmbs/test-wcslen-ifunc.c: Likewise.
10755         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
10756         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
10758         * string/Makefile (tests-ifunc): New variable.
10759         (tests): Add $(tests-ifunc).
10760         * string/test-memccpy.c (TEST_NAME): New macro.
10761         * string/test-memchr.c (TEST_NAME): Likewise.
10762         * string/test-memcmp.c (TEST_NAME): Likewise.
10763         * string/test-memcpy.c (TEST_NAME): Likewise.
10764         * string/test-memmem.c (TEST_NAME): Likewise.
10765         * string/test-memmove.c (TEST_NAME): Likewise.
10766         * string/test-memset.c (TEST_NAME): Likewise.
10767         * string/test-rawmemchr.c (TEST_NAME): Likewise.
10768         * string/test-stpcpy.c (TEST_NAME): Likewise.
10769         * string/test-stpncpy.c (TEST_NAME): Likewise.
10770         * string/test-strcasecmp.c (TEST_NAME): Likewise.
10771         * string/test-strcasestr.c (TEST_NAME): Likewise.
10772         * string/test-strcat.c (TEST_NAME): Likewise.
10773         * string/test-strchr.c (TEST_NAME): Likewise.
10774         * string/test-strcmp.c(TEST_NAME): Likewise.
10775         * string/test-strcpy.c (TEST_NAME): Likewise.
10776         * string/test-strcspn.c (TEST_NAME): Likewise.
10777         * string/test-strlen.c (TEST_NAME): Likewise.
10778         * string/test-strncasecmp.c (TEST_NAME): Likewise.
10779         * string/test-strncmp.c (TEST_NAME): Likewise.
10780         * string/test-strncpy.c (TEST_NAME): Likewise.
10781         * string/test-strnlen.c (TEST_NAME): Likewise.
10782         * string/test-strpbrk.c (TEST_NAME): Likewise.
10783         * string/test-strrchr.c (TEST_NAME): Likewise.
10784         * string/test-strspn.c (TEST_NAME): Likewise.
10785         * string/test-strstr.c (TEST_NAME): Likewise.
10786         * string/test-bcopy-ifunc.c: New file.
10787         * string/test-bzero-ifunc.c: Likewise.
10788         * string/test-memccpy-ifunc.c: Likewise.
10789         * string/test-memchr-ifunc.c: Likewise.
10790         * string/test-memcmp-ifunc.c: Likewise.
10791         * string/test-memcpy-ifunc.c: Likewise.
10792         * string/test-memmem-ifunc.c: Likewise.
10793         * string/test-memmove-ifunc.c: Likewise.
10794         * string/test-mempcpy-ifunc.c: Likewise.
10795         * string/test-memset-ifunc.c: Likewise.
10796         * string/test-rawmemchr-ifunc.c: Likewise.
10797         * string/test-stpcpy-ifunc.c: Likewise.
10798         * string/test-stpncpy-ifunc.c: Likewise.
10799         * string/test-strcasecmp-ifunc.c: Likewise.
10800         * string/test-strcasestr-ifunc.c: Likewise.
10801         * string/test-strcat-ifunc.c: Likewise.
10802         * string/test-strchr-ifunc.c: Likewise.
10803         * string/test-strchrnul-ifunc.c: Likewise.
10804         * string/test-strcmp-ifunc.c: Likewise.
10805         * string/test-strcpy-ifunc.c: Likewise.
10806         * string/test-strcspn-ifunc.c: Likewise.
10807         * string/test-strlen-ifunc.c: Likewise.
10808         * string/test-strncasecmp-ifunc.c: Likewise.
10809         * string/test-strncat-ifunc.c: Likewise.
10810         * string/test-strncmp-ifunc.c: Likewise.
10811         * string/test-strncpy-ifunc.c: Likewise.
10812         * string/test-strnlen-ifunc.c: Likewise.
10813         * string/test-strpbrk-ifunc.c: Likewise.
10814         * string/test-strrchr-ifunc.c: Likewise.
10815         * string/test-strspn-ifunc.c: Likewise.
10816         * string/test-strstr-ifunc.c: Likewise.
10818         * debug/Makefile (tests-ifunc): New variable.
10819         (tests): Add $(tests-ifunc).
10820         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
10821         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
10822         * debug/test-stpcpy_chk-ifunc.c: New file.
10823         * debug/test-strcpy_chk-ifunc.c: Likewise.
10825 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
10827         [BZ #13601]
10828         * elf/dl-load.c (open_verify): Retry read if the entire ELF
10829         header is not read in.
10831 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
10833         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
10834         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
10835         directly.  Pass built executable to script as
10836         $(built-program-cmd).
10837         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
10838         $testprogram without using LD_LIBRARY_PATH and $ldso.
10840         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
10841         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
10842         $(rtld-installed-name).
10843         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
10844         (rtld_installed_name): Likewise.
10845         (library_path): Likewise.
10846         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
10847         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
10848         $(run-program-prefix) to tst-tables.sh.
10849         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
10850         it to run tst-table-from and tst-table-to.
10851         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
10852         Pass it to tst-table.sh.
10853         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
10854         $(run-program-prefix) to tst-gettext.sh.
10855         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
10856         tst-translit.sh.
10857         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
10858         tst-gettext2.sh.
10859         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
10860         to run tst-gettext.
10861         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
10862         to run tst-gettext2.
10863         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
10864         to run tst-translit.
10865         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
10866         $(run-program-prefix) to tst-mtrace.sh.
10867         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
10868         to run tst-mtrace.
10869         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
10870         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
10871         $(rtld-installed-name).
10872         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
10873         (rtld_installed_name): Likewise.
10874         (run_program_prefix): New variable.  Use it to run wordexp-test.
10876         * Makeconfig (ARCH): Remove all definitions.
10877         (machine): Likewise.
10878         [ARCH]: Remove conditional code.
10879         [!objdir]: Give error.
10880         [!objdir] (objpfx): Remove.
10881         [!objdir] (common-objpfx): Likewise.
10882         [!objdir] (common-objdir): Likewise.
10883         * configure.in (config_makefile): Remove.  Hardcode Makefile in
10884         AC_CONFIG_FILES call.
10885         * configure: Regenerated.
10887         [BZ #13888]
10888         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
10889         or TMPDIR.
10890         (testout): Likewise.
10892         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
10893         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
10894         $(rtld-installed-name).
10895         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
10896         (rtld_installed_name): Likwise.
10897         (runit): Remove function.
10898         (run_getconf): New variable,  Use it for running getconf binary.
10900 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
10902         [BZ #14716]
10903         * string/test-memmem.c (check_result): New function.
10904         (do_one_test): Use it.
10905         (check1): New function.
10906         (test_main): Use it.
10908 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
10910         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
10912 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
10914         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
10915         (_G_LSEEK64): Likewise.
10916         (_G_MMAP64): Likewise.
10917         (_G_FSTAT64): Likewise.
10918         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
10919         (_G_LSEEK64): Likewise.
10920         (_G_MMAP64): Likewise.
10921         (_G_FSTAT64): Likewise.
10922         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
10923         unconditional.  Call __mmap64 directly.
10924         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
10925         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
10926         __lseek64 directly.
10927         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
10928         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
10929         __mmap64 directly.
10930         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
10931         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
10932         __lseek64 directly.
10933         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
10934         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
10935         __lseek64 directly.
10936         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
10937         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
10938         __lseek64 directly.
10939         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
10940         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
10941         __fxstat64 directly.
10942         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
10943         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
10944         unconditional.
10945         (freopen64) [!_G_OPEN64]: Remove conditional code.
10946         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
10947         unconditional.
10948         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
10949         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
10950         unconditional.
10951         (ftello64) [!_G_LSEEK64]: Remove conditional code.
10952         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
10953         unconditional.
10954         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
10955         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
10956         unconditional.
10957         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
10958         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
10959         unconditional.
10960         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
10961         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
10962         unconditional.
10963         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
10964         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
10965         unconditional.
10966         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
10968 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
10970         [BZ #12140]
10971         * manual/memory.texi (Malloc Tunable Parameters): Add note
10972         about free list pointers overwriting some perturb bytes.
10973         Wording suggested by Roland McGrath.
10975 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
10977         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
10978         (lgamma_test): Likewise.
10979         (tgamma_test): Likewise.
10981 2012-10-16  Florian Weimer  <fweimer@redhat.com>
10983         [BZ #14700]
10984         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
10985         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
10987 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
10989         * NEWS: Mention BZ #14716.
10990         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
10991         when removing AVAILABLE1_USES_J macro.
10993 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
10995         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
10996         (__bswap_64): __uint64_t for unsigned 64-bit int.
10998 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
11000         * include/string.h (memmem): Declare libc hidden alias.
11001         * string/memmem.c (memmem): Define libc hidden alias.
11002         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
11003         __read, __close instead of open, read, close.
11005 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
11007         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
11008         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
11009         global and hidden.
11010         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
11011         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
11012         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
11013         Likewise.
11014         (__rawmemchr_sse2): Likewise.
11015         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
11016         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
11017         (__strchr_sse2): Likewise.
11018         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
11019         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
11020         (__strcasecmp_sse2): Likewise.
11021         (__strncasecmp_sse2): Likewise.
11022         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
11023         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
11024         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
11025         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
11026         (__strrchr_sse2): Likewise.
11027         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
11028         ifunc-impl-list.c.
11029         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
11030         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
11031         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
11032         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
11033         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
11034         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
11035         * sysdeps/x86_64/multiarch/memset.S: Likewise.
11036         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
11037         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
11038         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
11039         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
11040         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
11041         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
11042         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
11043         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
11044         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
11045         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
11046         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
11047         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
11048         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
11049         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
11050         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
11051         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
11052         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
11053         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
11054         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
11055         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
11056         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
11057         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
11058         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
11060         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
11061         global and hidden.
11062         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
11063         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
11064         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
11065         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
11066         Likewise.
11067         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
11068         Likewise.
11069         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
11070         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
11071         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
11072         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
11073         ifunc-impl-list.c.
11074         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
11075         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
11076         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
11077         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
11078         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
11079         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
11080         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
11081         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
11082         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
11083         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
11084         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
11085         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
11086         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
11087         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
11088         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
11089         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
11090         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
11091         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
11092         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
11093         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
11094         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
11095         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
11096         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
11097         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
11098         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
11099         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
11100         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
11101         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
11102         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
11103         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
11104         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
11105         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
11106         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
11107         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
11108         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
11109         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
11110         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
11111         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
11112         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
11113         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
11114         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
11116         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
11117         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
11118         * include/ifunc-impl-list.h: New file.
11119         * misc/ifunc-impl-list.c: Likewise.
11120         * misc/Makefile (routines): Add ifunc-impl-list.
11121         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
11122         * string/test-string.h: Include <ifunc-impl-list.h>.
11123         [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
11124         impl_array): New variables.
11125         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
11126         are defined.
11127         (test_init): Call __libc_ifunc_impl_list to initialize
11128         func_list if TEST_IFUNC and TEST_NAME are defined.
11130         * string/Makefile (strop-tests): Add bcopy and bzero.
11131         * string/test-bcopy.c: New file.
11132         * string/test-bzero.c: Likewise.
11133         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
11134         defined.
11135         * string/test-memset.c: Support bzero test if TEST_BZERO is
11136         defined.
11137         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
11138         __libc_memmove.
11139         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
11140         __libc_memset.
11141         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
11142         of memset.
11144 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
11146         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
11147         * configure: Regenerated.
11149         * Makeconfig (+link-static-before-libc): Don't include
11150         $(link-static-libc).
11152         * libio/libio.h (_IO_pos_t): Remove.
11154 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
11156         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
11157         McGrath.
11159 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
11161         * crypt/crypt-entry.c: Include fips-private.h.
11162         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
11163         * crypt/md5c-test.c (main): Tolerate disabled MD5.
11164         * sysdeps/unix/sysv/linux/fips-private.h: New file.
11165         * sysdeps/generic/fips-private.h: New file, dummy fallback.
11167 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
11169         * crypt/crypt-private.h: Include stdbool.h.
11170         (_ufc_setup_salt_r): Return bool.
11171         * crypt/crypt-entry.c: Include errno.h.
11172         (__crypt_r): Return NULL with EINVAL for bad salt.
11173         * crypt/crypt_util.c (bad_for_salt): New.
11174         (_ufc_setup_salt_r): Check that salt is long enough and within
11175         the specified alphabet.
11176         * crypt/badsalttest.c: New file.
11177         * crypt/Makefile (tests): Add it.
11178         ($(objpfx)badsalttest): New.
11180 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
11182         * NEWS: Add entry for BZ #14602.
11184 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
11186         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
11187         type-generic.
11188         * math/libm-test.inc: Update comment listing what functions and
11189         macros are tested.
11190         (isgreater_test): New function.
11191         (isgreaterequal_test): Likewise.
11192         (isless_test): Likewise.
11193         (islessequal_test): Likewise.
11194         (islessgreater_test): Likewise.
11195         (isunordered_test): Likewise.
11196         (main): Call the new functions.
11198 2012-10-09  Roland McGrath  <roland@hack.frob.com>
11200         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
11201         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
11202         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
11203         * sysdeps/i386/configure: Regenerated.
11204         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
11205         * sysdeps/mach/configure: Regenerated.
11206         * sysdeps/mach/hurd/configure: Regenerated.
11207         * sysdeps/powerpc/configure: Regenerated.
11208         * sysdeps/powerpc/powerpc32/configure: Regenerated.
11209         * sysdeps/powerpc/powerpc64/configure: Regenerated.
11210         * sysdeps/s390/s390-32/configure: Regenerated.
11211         * sysdeps/s390/s390-64/configure: Regenerated.
11212         * sysdeps/sh/configure: Regenerated.
11213         * sysdeps/sparc/configure: Regenerated.
11214         * sysdeps/unix/sysv/linux/configure: Regenerated.
11215         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
11216         * sysdeps/x86_64/configure: Regenerated.
11218         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
11219         defined.  Don't check if MAP is NULL.
11221 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
11223         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
11224         (_G_stat64): Likewise.
11225         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
11226         (_G_stat64): Likewise.
11227         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
11228         instead of struct _G_stat64.
11229         * libio/fileops.c (mmap_remap_check): Likewise.
11230         (decide_maybe_mmap): Likewise.
11231         (_IO_new_file_seekoff): Likewise.
11232         (_IO_file_stat): Likewise.
11233         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
11234         _G_off64_t.
11235         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
11236         instead of struct _G_stat64.
11237         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
11239 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
11241         [BZ #14602]
11242         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
11243         Replace with ...
11244         (CHECK_EOL): New macro.
11245         (two_way_short_needle): Check beginning of haystack for EOL.  Use
11246         CHECK_EOL.
11247         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
11248         Replace with CHECK_EOL.
11249         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
11250         Replace with CHECK_EOL.
11252 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
11254         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
11255         type-generic.
11256         * math/libm-test.inc: Update comment listing what functions and
11257         macros are tested.
11258         (finite_test): New function.
11259         (isinf_test): Likewise.
11260         (isnan_test): Likewise.
11261         (fpclassify_test): Test subnormal input.
11262         (isfinite_test): Likewise.
11263         (isnormal_test): Likewise.
11264         (main): Call the new functions.
11266 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
11268         [BZ #14660]
11269         * Makerules (%.dynsym): Force C locale when running
11270         $(OBJDUMP) --dynamic-syms.
11272 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
11274         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
11275         <stdint.h>.
11277 2012-10-06  David S. Miller  <davem@davemloft.net>
11279         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
11280         upper 32-bits of the length value in %o2 since we use branch-on-register
11281         tests which consider the entire 64-bit register.
11283 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
11285         * string/test-strstr.c (check2): Add a test for page boundary.
11287 2012-10-05  David S. Miller  <davem@davemloft.net>
11289         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
11290         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
11291         file.
11292         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
11293         sysdep_routines.
11294         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
11295         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
11296         and bzero when HWCAP_SPARC_CRYPTO is present.
11298 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
11300         [BZ #14602]
11301         * string/test-strstr.c (check2): New function.
11302         (test_main): Call check2.
11304         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
11305         and bug-strchr1.
11306         * string/bug-strcasestr1.c (do_test): Moved to ...
11307         * string/test-strcasestr.c (check1): Here.  New function.
11308         (do_one_test): Break out result checking code into ...
11309         (check_result): This.  New function.
11310         (do_one_test): Call check_result.
11311         (test_main): Call check1.
11312         * string/bug-strchr1.c (do_test): Moved to ...
11313         * string/test-strchr.c (check1): Here.  New function.
11314         (do_one_test): Break out result checking code into ...
11315         (check_result): This.  New function.
11316         (do_one_test): Call check_result.
11317         (test_main): Call check1.
11318         * string/bug-strstr1.c (main): Moved to ...
11319         * string/test-strstr.c (check1): Here.  New function.
11320         (do_one_test): Break out result checking code into ...
11321         (check_result): This.  New function.
11322         (do_one_test): Call check_result.
11323         (test_main): Call check1.
11324         * string/bug-strcasestr1.c: Removed.
11325         * string/bug-strchr1.c: Likewise.
11326         * string/bug-strstr1.c: Likewise.
11328         * elf/Makefile (dl-routines): Add hwcaps.
11329         * elf/dl-support.c (_dl_important_hwcaps): Removed.
11330         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
11331         (_dl_important_hwcaps): Moved to ...
11332         * elf/dl-hwcaps.c: Here.  New file.
11333         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
11335         [BZ #14557]
11336         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
11337         if IS_IN_rtld isn't defined.
11339         * elf/dl-support.c (_dl_sysinfo_map): New.
11340         Include "get-dynamic-info.h" and "setup-vdso.h".
11341         (_dl_non_dynamic_init): Call setup_vdso.
11342         * elf/dynamic-link.h: Don't include <assert.h>.
11343         (elf_get_dynamic_info): Moved to ...
11344         * elf/get-dynamic-info.h: Here.  New file.
11345         * elf/dynamic-link.h: Include "get-dynamic-info.h".
11346         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
11347         * elf/setup-vdso.h: Here.  New file.
11348         * elf/rtld.c: Include "setup-vdso.h".
11349         (dl_main): Call setup_vdso.
11351 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
11353         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
11354         creal in comment listing functions tested.  List finite, isinf,
11355         isnan, isless, islessequal, isgreater, isgreaterequal,
11356         islessgreater, isunordered, lgamma_r and pow10 as functions and
11357         macros not tested.  Mention which functions not tested are aliases
11358         for other functions.  Fix typo.  Note that signs of NaNs are not
11359         tested.
11361         * scripts/config.guess: Update from config.git.
11362         * scripts/config.sub: Likewise.
11364 2012-10-04  Roland McGrath  <roland@hack.frob.com>
11366         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
11367         * misc/madvise.c (madvise): Renamed to __madvise.
11368         Make madvise a weak alias.
11369         * include/sys/mman.h: Declare __madvise.
11370         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
11371         * sysdeps/unix/syscalls.list
11372         (madvise): Make __madvise the strong name, and madvise a weak alias.
11373         * sysdeps/unix/sysv/linux/syscalls.list
11374         (madvise, mmap): Remove redundant entries.
11375         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
11376         * malloc/malloc.c (mtrim): Likewise.
11377         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
11379 2012-10-03  Roland McGrath  <roland@hack.frob.com>
11381         * sysdeps/mach/hurd/dl-cache.c: File removed.
11382         * config.h.in (USE_LDCONFIG): New #undef.
11383         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
11384         * configure: Regenerated.
11385         * elf/Makefile (dl-routines): Add dl-cache only under
11386         [$(use-ldconfig) = yes].
11387         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
11388         cache on [USE_LDCONFIG].
11389         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
11390         [USE_LDCONFIG].
11391         * elf/rtld.c (dl_main): Likewise.
11393 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
11395         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
11396         _SC_LEVEL4_CACHE_LINESIZE.
11398 2012-10-03  Roland McGrath  <roland@hack.frob.com>
11400         * sysdeps/unix/bsd/confstr.h: File removed.
11402 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
11404         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
11405         sys/sdt-config.h.
11407 2012-10-02  Roland McGrath  <roland@hack.frob.com>
11409         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
11410         Make 'mapoff' field ElfW(Off) rather than off_t.
11412 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
11414         * nscd/Makefile: Remove nscd-cflags and all its users.
11415         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
11416         (CFLAGS-nonlib): Add compiler flags for nscd modules.
11418         [BZ #10631]
11419         * malloc.c (malloc_printerr): Clarify error message.
11421 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
11423         [BZ #14648]
11424         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
11425         Set bit_FMA_Usable if FMA is supported.
11426         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
11427         macro.
11428         (bit_FMA4_Usable): Updated.
11429         (index_FMA_Usable): New macro.
11430         (CPUID_FMA): Likewise
11431         (HAS_FMA): Defined with bit_FMA_Usable.
11433 2012-10-01  Roland McGrath  <roland@hack.frob.com>
11435         * bits/types.h (__swblk_t): Type removed.
11436         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
11437         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
11438         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
11439         (__SWBLK_T_TYPE): Likewise.
11440         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
11441         (__SWBLK_T_TYPE): Likewise.
11442         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
11443         (__SWBLK_T_TYPE): Likewise.
11444         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
11445         (__SWBLK_T_TYPE): Likewise.
11447 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
11448             Honza Horak <hhorak@redhat.com>
11450         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
11451         (xdr_mapname): Use YPMAXMAP as maxsize.
11452         (xdr_peername): Use YPMAXPEER as maxsize.
11453         (xdr_keydat): Use YPAXRECORD as maxsize.
11454         (xdr_valdat): Use YPMAXRECORD as maxsize.
11456 2012-10-01  Roland McGrath  <roland@hack.frob.com>
11458         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
11460         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
11461         * csu/init-first.c: ... here.
11462         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
11463         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
11464         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
11465         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
11466         * sysdeps/i386/init-first.c: File removed.
11467         * sysdeps/sh/init-first.c: File removed.
11469 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
11471         [BZ #14645]
11472         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
11473         if x * y might underflow to zero and z is zero.
11474         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
11475         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
11476         * math/libm-test.inc (min_subnorm_value): New variable.
11477         (fma_test): Add more tests.
11478         (fma_test_towardzero): Likewise.
11479         (fma_test_downward): Likewise
11480         (fma_test_upward): Likewise.
11481         (initialize): Set min_subnorm_value.
11483 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
11485         [BZ #14638]
11486         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
11487         0 + 0.
11488         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
11489         mode for addition resulting in exact zero.
11490         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
11491         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
11492         exact 0 + 0.
11493         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
11494         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
11495         * math/libm-test.inc (fma_test): Add more tests.
11496         (fma_test_towardzero): New function.
11497         (fma_test_downward): Likewise.
11498         (fma_test_upward): Likewise.
11499         (main): Call the new functions.
11501 2012-09-28  David S. Miller  <davem@davemloft.net>
11503         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
11505 2012-09-28  Roland McGrath  <roland@hack.frob.com>
11507         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
11508         instead of SIGALRM.
11510         * sysdeps/gnu/_G_config.h: Moved to ...
11511         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
11512         * sysdeps/mach/hurd/_G_config.h: Moved to ...
11513         * sysdeps/generic/_G_config.h: ... here.
11515         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
11517         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
11519         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
11520         Conditionalize target on [libnss_test1.so-version].
11522         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
11524         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
11525         (elfobjdir): Move out of conditionals.
11527         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
11528         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
11529         (__nss_lookup_function): Conditionalize label remove_from_tree on
11530         [!DO_STATIC_NSS || SHARED], matching its only use.
11532 2012-09-28  David S. Miller  <davem@davemloft.net>
11534         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
11535         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
11536         file.
11537         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
11538         sysdep_routines.
11539         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
11540         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
11541         when HWCAP_SPARC_CRYPTO is present.
11543 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
11545         * io/tst-mknodat.c: Create a FIFO instead of a socket.
11547 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
11549         [BZ #6530]
11550         * stdio-common/vfprintf.c (process_string_arg): Revert
11551         2000-07-22 change.
11553 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
11555         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
11556         for testcase.
11557         * stdio-common/tst-sprintf.c: Include <locale.h>
11558         (main): Test sprintf's handling of incomplete multibyte
11559         characters.
11561 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
11563         * elf/dl-runtime.c (VERSYMIDX): Removed.
11564         * elf/dl-version.c (VERSYMIDX): Likewise.
11565         * elf/do-rel.h (VERSYMIDX): Likewise.
11566         (VALIDX): Likewise.
11567         * elf/dynamic-link.h (VERSYMIDX): Likewise.
11568         * elf/rtld.c (VALIDX): Likewise.
11569         (ADDRIDX): Likewise.
11570         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
11571         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
11572         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
11573         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
11574         (VALIDX): Likewise.
11575         (ADDRIDX): Likewise.
11577 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
11579         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
11581 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
11583         [BZ #11438]
11584         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
11585         to global scope.
11586         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
11587         addresses are in the same scope as 192.0.2/24.
11588         * posix/gai.conf: Document new scope table defaults.
11590 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
11592         [BZ #5298]
11593         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
11594         for ftell.  Compute offsets from write pointers instead.
11595         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
11597 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
11599         [BZ #14543]
11600         * libio/Makefile (tests): New test case tst-fseek.
11601         * libio/tst-fseek.c: New test case to verify that fseek/ftell
11602         combination works in wide mode.
11603         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
11604         state when the external buffer state changes.
11606 2012-09-27  David S. Miller  <davem@davemloft.net>
11608         [BZ #14376]
11609         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
11610         pass reloc->r_addend in as the 'high' argument to
11611         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
11613         * sysdeps/sparc/fpu/libm-test-ulps: Update.
11615 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
11617         * rt/tst-aio2.c: Include <pthread.h>.
11618         * rt/tst-aio3.c: Likewise.
11620 2012-09-27  Steve Ellcey  <sellcey@mips.com>
11622         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
11624 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
11626         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
11627         contents on [SHARED].
11629 2012-09-26  Marek Polacek  <polacek@redhat.com>
11631         [BZ #14530]
11632         [BZ #13741]
11633         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
11634         for C++ and GCC <4.3 as well as for non GCC compilers.
11636 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
11638         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11640 2012-09-25  Roland McGrath  <roland@hack.frob.com>
11642         * Makefile.in (all, install): Declare with .PHONY.
11643         Reported by Michael Hope <michael.hope@linaro.org>.
11645 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
11647         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
11648         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
11649         system header.
11650         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
11651         Likewise.
11652         (sydep_routines): Add the new and the internal functions.
11653         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
11654         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
11655         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
11656         (GLIBC_2.17): Add the new function.
11657         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
11658         (GLIBC_2.17): Likewise.
11659         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
11660         (GLIBC_2.17): Likewise.
11661         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
11662         (GLIBC_2.17): Likewise.
11663         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
11665 2012-09-25  Alan Modra  <amodra@gmail.com>
11667         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
11668         Add release barrier before setting once_control to say
11669         initialisation is done.  Add hints on lwarx.  Use macro in
11670         place of isync.
11671         (clear_once_control): Add release barrier.
11673 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
11675         [BZ #13629]
11676         * math/s_clog.c (__clog): Handle more values close to |z| = 1
11677         specially.
11678         * math/s_clog10.c (__clog10): Likewise.
11679         * math/s_clog10f.c (__clog10f): Likewise.
11680         * math/s_clog10l.c (__clog10l): Likewise.
11681         * math/s_clogf.c (__clogf): Likewise.
11682         * math/s_clogl.c (__clogl): Likewise.
11683         * math/Makefile (libm-calls): Add x2y2m1.
11684         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
11685         (__x2y2m1): Likewise.
11686         (__x2y2m1l): Likewise.
11687         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
11688         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
11689         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
11690         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
11691         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
11692         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
11693         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
11694         * sysdeps/i386/fpu/libm-test-ulps: Update.
11695         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11697         [BZ #14621]
11698         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
11699         int as type of variable DEPTH.
11700         (glob): Use size_t instead of int as type of variables NEWCOUNT
11701         and OLD_PATHC.
11703 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
11705         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
11706         Add s_sincosf-sse2.
11707         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
11708         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
11709         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
11710         macros for using routine as __sincosf_ia32.
11711         Use macro for function declaration and weak_alias.
11712         * sysdeps/i386/fpu/libm-test-ulps: Update.
11714         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
11715         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11717         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
11718         subnormal argument.
11719         * math/s_cexpf.c (__cexpf): Likewise.
11720         * math/s_csinf.c (__csinf): Likewise.
11721         * math/s_csinhf.c (__csinhf): Likewise.
11722         * math/s_ctanf.c (__ctanf): Likewise.
11723         * math/s_ctanhf.c (__ctanhf): Likewise.
11724         * math/s_ccosh.c (__ccoshf): Likewise.
11725         * math/s_cexp.c (__cexpl): Likewise.
11726         * math/s_csin.c (__csin): Likewise.
11727         * math/s_csinh.c (__csinh): Likewise.
11728         * math/s_ctan.c (__ctan): Likewise.
11729         * math/s_ctanh.c (ctanh): Likewise.
11730         * math/s_ccoshl.c (__ccoshl): Likewise.
11731         * math/s_cexpl.c (__cexpl): Likewise.
11732         * math/s_csinl.c (__csinl): Likewise.
11733         * math/s_csinhl.c (__csinhl): Likewise.
11734         * math/s_ctanl.c (__ctanl): Likewise.
11735         * math/s_ctanhl.c (__ctanhl): Likewise.
11737 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
11739         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
11740         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
11741         (_IO_off_t): Define to __off_t, not _G_off_t.
11742         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
11743         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
11744         (_IO_wint_t): Define to wint_t, not _G_wint_t.
11745         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
11746         type of __dummy and __dummy2 fields.
11747         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
11748         (_G_ssize_t): Likewise.
11749         (_G_off_t): Likewise.
11750         (_G_pid_t): Likewise.
11751         (_G_uid_t): Likewise.
11752         (_G_wchar_t): Likewise.
11753         (_G_wint_t): Likewise.
11754         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
11755         (_G_ssize_t): Likewise.
11756         (_G_off_t): Likewise.
11757         (_G_pid_t): Likewise.
11758         (_G_uid_t): Likewise.
11759         (_G_wchar_t): Likewise.
11760         (_G_wint_t): Likewise.
11761         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
11762         (_G_ssize_t): Likewise.
11763         (_G_off_t): Likewise.
11764         (_G_pid_t): Likewise.
11765         (_G_uid_t): Likewise.
11766         (_G_wchar_t): Likewise.
11767         (_G_wint_t): Likewise.
11769 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
11771         * malloc/arena.c: Include malloc-sysdep.h.
11772         (shrink_heap): Use check_may_shrink_heap to decide if madvise
11773         is sufficient to shrink the heap or an unmap is needed.
11774         * sysdeps/generic/malloc-sysdep.h: New file.  Define
11775         new function check_may_shrink_heap.
11776         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
11777         new function check_may_shrink_heap.
11779 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
11781         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
11782         comments.
11784 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
11786         * catgets/test-gencat.sh: Add "set -e".
11787         * elf/tst-pathopt.sh: Likewise.
11788         * grp/tst_fgetgrent.sh: Likewise.
11789         * iconvdata/run-iconv-test.sh: Likewise.
11790         * intl/tst-gettext.sh: Likewise.
11791         * intl/tst-gettext2.sh: Likewise.
11792         * intl/tst-gettext4.sh: Likewise.
11793         * intl/tst-gettext6.sh: Likewise.
11794         * intl/tst-translit.sh: Likewise.
11795         * io/ftwtest-sh: Likewise.
11796         * libio/test-freopen.sh: Likewise.
11797         * malloc/tst-mtrace.sh: Likewise.
11798         * posix/globtest.sh: Likewise.
11799         * posix/tst-getconf.sh: Likewise.
11800         * posix/wordexp-tst.sh: Likewise.
11801         * stdio-common/tst-printf.sh: Likewise.
11802         * stdio-common/tst-unbputc.sh: Likewise.
11803         * stdlib/tst-fmtmsg.sh: Likewise.
11804         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
11805         * catgets/Makefile: Do not specify -e option when running
11806         testsuite shell scripts.
11807         * elf/Makefile: Likewise.
11808         * grp/Makefile: Likewise.
11809         * iconvdata/Makefile: Likewise.
11810         * intl/Makefile: Likewise.
11811         * io/Makefile: Likewise.
11812         * libio/Makefile: Likewise.
11813         * malloc/Makefile: Likewise.
11814         * posix/Makefile: Likewise.
11815         * stdio-common/Makefile: Likewise.
11816         * stdlib/Makefile: Likewise.
11817         * sysdeps/x86_64/Makefile: Likewise.
11819         * io/ftwtest-sh: Add copyright header.
11820         * posix/globtest.sh: Likewise.
11821         * posix/tst-getconf.sh: Likewise.
11822         * posix/wordexp-tst.sh: Likewise.
11823         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
11825 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
11827         [BZ #13679]
11828         * Makeconfig (+link): Defined as $(+link-static) if
11829         $(build-shared) isn't yes.
11830         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
11831         isn't yes.
11832         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
11834         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
11836         [BZ #14562]
11837         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
11838         new chunk size with MALLOC_ALIGN_MASK.
11840 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
11842         [BZ #5044]
11843         * stdio-common/printf_fphex.c: Include <stdbool.h> and
11844         <rounding-mode.h>.
11845         (__printf_fphex): Determine rounding using get_rounding_mode and
11846         round_away.
11847         * stdio-common/tst-printf-round.c (struct hex_test): New
11848         structure.
11849         (hex_tests): New variable.
11850         (test_hex_in_one_mode): New function.
11851         (do_test): Also run tests for hex float output.
11853 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
11855         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
11856         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
11857         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
11858         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
11859         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
11860         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
11861         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
11862         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
11864 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
11866         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
11867         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
11868         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
11869         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
11871 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
11873         [BZ #14579]
11874         * elf/rtld.c (dl_main): Limit the check for self loading to normal
11875         mode only.
11876         * elf/tst-rtld-load-self.sh: New test.
11877         * elf/Makefile: Run it.
11879 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
11881         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
11882         (tst-writev-ENV): Remove.
11883         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
11885 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
11887         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
11889 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
11891         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
11892         unconditional.
11893         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
11894         Likewise.
11895         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
11896         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
11897         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
11898         Likewise.
11900 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
11902         [BZ #14587]
11903         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
11904         * config.make.in (have-cpp-asm-debuginfo): Removed.
11905         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
11906         * configure: Regenerated.
11908 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
11910         [BZ #5044]
11911         * stdio-common/printf_fp.c: Include <stdbool.h> and
11912         <rounding-mode.h>.
11913         (___printf_fp): Determine rounding using get_rounding_mode and
11914         round_away.
11915         * stdio-common/tst-printf-round.c: New file.
11916         * stdio-common/Makefile (tests): Add tst-printf-round.
11917         (link-libm): New variable.
11918         ($(objpfx)tst-printf-round): Depend in $(link-libm).
11920 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
11922         [BZ #14576]
11923         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
11924         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
11925         Likewise.
11926         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
11927         Likewise.
11929 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
11931         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
11932         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
11933         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
11934         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
11936 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
11938         [BZ #14518]
11939         * include/rounding-mode.h: New file.
11940         * sysdeps/generic/get-rounding-mode.h: Likewise.
11941         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
11942         * stdlib/strtod_l.c: Include <rounding-mode.h>.
11943         (MAX_VALUE): New macro.
11944         (MIN_VALUE): Likewise.
11945         (overflow_value): New function.
11946         (underflow_value): Likewise.
11947         (round_and_return): Use overflow_value and underflow_value to
11948         determine return values in overflow and underflow cases.  Use
11949         round_away to determine rounding depending on rounding mode.
11950         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
11951         determine return values in overflow and underflow cases.
11952         * stdlib/tst-strtod-round.c: Include <fenv.h>.
11953         (struct test_results): New structure.
11954         (struct test): Use struct test_results to store expected results
11955         for all rounding modes.
11956         (TEST): Include expected results for all rounding modes.
11957         (test_in_one_mode): New function.
11958         (do_test): Use test_in_one_mode to compute and check results.
11959         Check results for all rounding modes.
11960         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
11961         $(link-libm).
11963 2012-12-09  Allan McRae  <allan@archlinux.org>
11965         * sysdeps/i386/fpu/libm-test-ulps: Update
11967 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
11969         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
11970         (_G_int32_t): Likewise.
11971         (_G_uint16_t): Likewise.
11972         (_G_uint32_t): Likewise.
11973         (_G_HAVE_BOOL): Likewise.
11974         (_G_HAVE_ATEXIT): Likewise.
11975         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
11976         (_G_HAVE_IO_FILE_OPEN): Likewise.
11977         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
11978         (_G_int32_t): Likewise.
11979         (_G_uint16_t): Likewise.
11980         (_G_uint32_t): Likewise.
11981         (_G_HAVE_BOOL): Likewise.
11982         (_G_HAVE_ATEXIT): Likewise.
11983         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
11984         (_G_HAVE_IO_FILE_OPEN): Likewise.
11985         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
11986         (_G_int32_t): Likewise.
11987         (_G_uint16_t): Likewise.
11988         (_G_uint32_t): Likewise.
11989         (_G_HAVE_BOOL): Likewise.
11990         (_G_HAVE_ATEXIT): Likewise.
11991         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
11992         (_G_HAVE_IO_FILE_OPEN): Likewise.
11994 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
11996         * csu/libc-tls.c: Update copyright years.
11998 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
12000         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
12001         [!_G_USING_THUNKS]: Remove conditional code.
12002         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
12003         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
12005         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
12006         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
12007         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
12008         (_G_VTABLE_LABEL_PREFIX): Likewise.
12009         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
12010         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
12011         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
12012         (_G_VTABLE_LABEL_PREFIX): Likewise.
12013         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
12014         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
12015         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
12016         (_G_VTABLE_LABEL_PREFIX): Likewise.
12017         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
12019 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
12021         * libio/Makefile: Include ../Makeconfig before tests.
12022         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
12023         only if $(build-shared) is yes.
12025         * iconv/gconv_db.c: Update copyright years.
12027 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
12029         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
12030         unwind info if defined PIC. Fix special cases description.
12031         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
12033         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
12034         DP_HI_MASK entry.
12035         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
12037 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
12039         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
12041         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
12042         is NULL.
12044         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
12045         (LDLIBS-tst-chk4): This.
12046         (LDFLAGS-tst-chk5): Renamed to ...
12047         (LDLIBS-tst-chk5): This.
12048         (LDFLAGS-tst-chk6): Renamed to ...
12049         (LDLIBS-tst-chk6): This.
12050         (LDFLAGS-tst-lfschk4): Renamed to ...
12051         (LDLIBS-tst-lfschk4): This.
12052         (LDFLAGS-tst-lfschk5): Renamed to ...
12053         (LDLIBS-tst-lfschk5): This.
12054         (LDFLAGS-tst-lfschk6): Renamed to ...
12055         (LDLIBS-tst-lfschk6): This.
12057         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
12058         on $(common-objpfx)soversions.mk.
12060 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
12062         [BZ #10014]
12063         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
12064         example host name.
12066 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
12068         * malloc/arena.c (arena_get_retry): New function that gets
12069         another arena for the caller to try its request on.
12070         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
12071         current arena cannot fulfill the request.
12072         (__libc_memalign): Likewise.
12073         (__libc_memalign): Likewise.
12074         (__libc_pvalloc): Likewise.
12075         (__libc_calloc): Likewise.
12077 2012-09-05  John Tobey  <john.tobey@gmail.com>
12079         [BZ #13542]
12080         * manual/arith.texi (Operations on Complex): Fix description
12081         of carg branch cut.
12083 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
12085         [BZ #10014]
12086         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
12087         host name.
12089         [BZ #10038]
12090         * manual/memory.texi (Memory): Make order of menu items match
12091         order of sections.
12093 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
12095         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
12096         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
12097         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
12099 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
12101         * csu/libc-tls.c (static_dtv): Renamed to ...
12102         (_dl_static_dtv): This.  Make it global.
12103         (_dl_initial_dtv): Removed.
12104         (__libc_setup_tls): Updated.
12105         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
12106         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
12107         DL_INITIAL_DTV.
12109 2012-09-06  Petr Machata  <pmachata@redhat.com>
12111         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
12112         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
12113         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
12114         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
12116 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
12118         [BZ #14545]
12119         * csu/libc-tls.c (_dl_initial_dtv): New variable.
12120         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
12121         freeing dtv[-1].
12123 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
12125         [BZ #14544]
12126         * Makeconfig (link-static-before-libc): Replace $(+prector)
12127         with $(+prectorT).
12128         (link-static-after-libc): Replace $(+postctor) with
12129         $(+postctorT).
12130         (link-bounded): Replace $(+prector)/$(+postctor) with
12131         $(+prectorT)/$(+postctorT).
12132         (+prectorT): New macro.
12133         (+postctorT): Likewise.
12135 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
12137         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
12138         (round_str): Handle values above the maximum for IBM long double
12139         as inexact.
12140         * stdlib/tst-strtod-round.c (tests): Regenerated.
12142 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
12144         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
12145         assembler flag.
12146         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
12147         zarch_nohighgprs around the zarch optimized routines.
12148         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
12149         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
12150         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
12151         for zarch.
12153 2012-09-05  David S. Miller  <davem@davemloft.net>
12155         * sysdeps/sparc/fpu/libm-test-ulps: Update.
12157         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
12158         HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
12159         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
12160         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
12161         entries.
12163 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
12165         * malloc/arena.c: Fold copyright years.
12166         * malloc/mcheck.c, malloc/memusage.c: Likewise.
12168 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
12170         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
12172 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
12174         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
12176 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
12178         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
12179         change internal state upon failure.
12181 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
12183         * malloc/mcheck.c (mcheck_check_all): Fix typo.
12184         * malloc/memusage.c (mmap): Likewise.
12185         (mmap64, mremap): Likewise.  Adjust name in comment.
12187 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
12189         * libio/fileops.c: Fix typos in comments.
12190         * libio/oldfileops.c: Likewise.
12191         * libio/wfileops.c: Likewise.
12193 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
12195         [BZ #1349]
12196         * malloc/Makefile (tests): Add tst-malloc-usable test case.
12197         (tst-malloc-usable-ENV): Set environment for test case.
12198         * malloc/hooks.c (malloc_check_get_size): New function to get
12199         requested size.
12200         * malloc/malloc.c (musable): Use malloc_check_get_size.
12201         * malloc/tst-malloc-usable.c: New test case.
12203 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
12205         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
12207 2012-09-05  Allan McRae  <allan@archlinux.org>
12209         [BZ #13966]
12210         * configure.in (CXX_SYSINCLUDES): Use compiler output to
12211         determine header location.
12212         * configure: Regenerated.
12214 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
12216         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
12217         float format.
12218         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
12219         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
12220         format.
12221         (test): Regenerate.
12223 2012-09-04  David S. Miller  <davem@davemloft.net>
12225         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
12226         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
12227         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
12229 2012-09-04  Florian Weimer  <fweimer@redhat.com>
12231         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
12232         failures.
12234         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
12236 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
12238         [BZ #9914]
12239         * libio/iogetdelim.c: Include <limits.h>.
12240         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
12241         + len + 1 would overflow.
12243 2012-09-03  Andreas Jaeger  <aj@suse.de>
12245         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12246         * sysdeps/i386/fpu/libm-test-ulps: Update.
12248 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
12250         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
12251         Add s_sinf-sse2, s_conf-sse2.
12253         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
12254         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
12255         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
12256         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
12258         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
12259         for using routine as __sinf_ia32.
12260         Use macro for function declaration and weak_alias.
12261         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
12262         for using routine as __cosf_ia32.
12263         Use macro for function declaration and weak_alias.
12265         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
12266         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
12268         * sysdeps/x86_64/fpu/s_sinf.S: New file.
12269         * sysdeps/x86_64/fpu/s_cosf.S: New file.
12270         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12272         * math/libm-test.inc (cos_test): Add more test cases.
12273         (sin_test): Likewise.
12274         (sincos_test): Likewise.
12276 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
12278         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
12279         (IFUNC_RESOLVE): Make pointers to the specialized implementations
12280         hidden.
12281         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
12283 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
12285         [BZ #14538]
12286         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
12287         first element of the GOT.
12288         (elf_machine_load_address): Return the difference between
12289         the runtime address of _DYNAMIC and elf_machine_dynamic ().
12291 2012-09-01  Allan McRae  <allan@archlinux.org>
12293         [BZ #13412]
12294         * configure.in (AWK): Require gawk version 3.0 or later.
12295         * configure: Regenerated.
12297 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
12299         * sysdeps/unix/sysv/linux/kernel-features.h
12300         (__ASSUME_POSIX_CPU_TIMERS): Remove.
12301         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
12302         [__NR_clock_getres]: Make code unconditional.
12303         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
12304         (clock_getcpuclockid): Remove code left unreachable by removal of
12305         conditionals.
12306         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
12307         code unconditional.
12308         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
12309         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
12310         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
12311         Make code unconditional.
12312         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
12313         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
12314         * sysdeps/unix/sysv/linux/clock_settime.c
12315         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
12316         conditional code.
12317         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
12318         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
12320 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
12322         [BZ #14476]
12323         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
12324         scripts/test-installation.pl.
12326         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
12327         and $ld_so_version if it is set.
12329 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
12331         [BZ #14516]
12332         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
12333         failure if reading from procfs failed.
12334         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
12336 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
12338         * sysdeps/unix/sysv/linux/kernel-features.h
12339         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
12340         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
12341         Remove conditional code.
12342         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
12343         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
12344         Remove conditional code.
12345         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
12346         * sysdeps/unix/sysv/linux/i386/fxstat.c
12347         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
12348         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
12349         * sysdeps/unix/sysv/linux/i386/fxstatat.c
12350         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
12351         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
12352         * sysdeps/unix/sysv/linux/i386/lxstat.c
12353         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
12354         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
12355         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
12356         Remove conditional code.
12357         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
12358         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
12359         Remove conditional code.
12360         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
12361         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
12362         <kernel-features.h>.
12363         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
12364         Remove.
12365         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
12366         Remove conditional code.
12367         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
12368         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
12369         Remove conditional.
12371 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
12373         [BZ #5400]
12374         * NEWS: Add fixed bug number.
12376 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
12378         [BZ #14519]
12379         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
12380         underflowing exponent in case of negative sign.
12381         * stdlib/tst-strtod-round-data: Add more tests.
12382         * stdlib/tst-strtod-round.c (tests): Regenerated.
12384         [BZ #3479]
12385         * stdlib/strtod_l.c (NDIG): Remove.
12386         (HEXNDIG): Likewise.
12387         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
12388         smallest representable value.
12389         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
12390         lie within an exact representation of 1/2 ulp of the result.
12391         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
12392         unconditionally.
12393         (TENS_P9_IDX): Define unconditionally.
12394         (TENS_P9_SIZE): Likewise.
12395         (TENS_P10_IDX): Likewise.
12396         (TENS_P10_SIZE): Likewise.
12397         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
12398         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
12399         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
12400         entries for 10^2^13 and 10^2^14.
12401         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
12402         (TENS_P13_IDX): Define.
12403         (TENS_P13_SIZE): Likewise.
12404         (TENS_P14_IDX): Likewise.
12405         (TENS_P14_SIZE): Likewise.
12406         (_fpioconst_pow10): Change array size to
12407         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
12408         unconditional.
12409         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
12410         1024]: Add entries for 10^2^13 and 10^2^14.
12411         [LAST_POW10 > _LAST_POW10]: Remove #error.
12412         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
12413         (_fpioconst_pow10): Change array size to
12414         FPIOCONST_POW10_ARRAY_SIZE.
12415         * stdlib/gen-fpioconst.c: New file.
12416         * stdlib/gen-tst-strtod-round.c: Likewise.
12417         * stdlib/tst-strtod-round-data: Likewise.
12418         * stdlib/tst-strtod-round.c: Likewise.
12419         * stdlib/Makefile (tests): Add tst-strtod-round.
12421         [BZ #14459]
12422         * stdlib/strtod_l.c: Include <stdint.h>.
12423         (NDEBUG): Do not define.
12424         (round_and_return): Change EXPONENT parameter to type intmax_t.
12425         Rearrange calculations to avoid internal overflow possibilities.
12426         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
12427         Rearrange calculations to avoid internal overflow possibilities.
12428         Assert that number fits inside MPNSIZE limbs.
12429         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
12430         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
12431         calculations and add assertions to avoid internal overflow
12432         possibilities.  Add casts to avoid signed/unsigned operations.
12433         * stdlib/tst-strtod-overflow.c: New file.
12434         * stdlib/Makefile (tests): Add tst-strtod-overflow.
12436 2012-08-25  Marek Polacek  <polacek@redhat.com>
12438         * time/time.h: Fix some typos in comments.
12440 2012-08-23  Roland McGrath  <roland@hack.frob.com>
12442         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
12443         * posix/tst-rfc3484-2.c: Likewise.
12444         * posix/tst-rfc3484-3.c: Likewise.
12446 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
12448         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
12449         (EF_ARM_ABI_FLOAT_HARD): Likewise.
12451 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
12453         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
12454         #include of fxstatat64.c.
12456 2012-08-22  Roland McGrath  <roland@hack.frob.com>
12458         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
12459         * shadow/getspent_r.c: Likewise.
12460         * shadow/getspnam.c: Likewise.
12461         * shadow/getspnam_r.c: Likewise.
12462         * gshadow/getsgent.c: Likewise.
12463         * gshadow/getsgent_r.c: Likewise.
12464         * gshadow/getsgnam.c: Likewise.
12465         * gshadow/getsgnam_r.c: Likewise.
12466         * inet/getnetbyad.c: Likewise.
12467         * inet/getnetbyad_r.c: Likewise.
12468         * inet/getnetbynm.c: Likewise.
12469         * inet/getnetbynm_r.c: Likewise.
12470         * inet/getnetent.c: Likewise.
12471         * inet/getnetent_r.c: Likewise.
12472         * inet/getproto.c: Likewise.
12473         * inet/getproto_r.c: Likewise.
12474         * inet/getprtent.c: Likewise.
12475         * inet/getprtent_r.c: Likewise.
12476         * inet/getprtname.c: Likewise.
12477         * inet/getprtname_r.c: Likewise.
12478         * inet/getrpcbyname.c: Likewise.
12479         * inet/getrpcbyname_r.c: Likewise.
12480         * inet/getrpcbynumber.c: Likewise.
12481         * inet/getrpcbynumber_r.c: Likewise.
12482         * inet/getrpcent.c: Likewise.
12483         * inet/getrpcent_r.c: Likewise.
12484         * inet/getaliasent.c: Likewise.
12485         * inet/getaliasent_r.c: Likewise.
12486         * inet/getaliasname.c: Likewise.
12487         * inet/getaliasname_r.c: Likewise.
12488         * nscd/getgrgid_r.c: Likewise.
12489         * nscd/getgrnam_r.c: Likewise.
12490         * nscd/gethstbyad_r.c: Likewise.
12491         * nscd/gethstbynm3_r.c: Likewise.
12492         * nscd/getpwnam_r.c: Likewise.
12493         * nscd/getpwuid_r.c: Likewise.
12494         * nscd/getsrvbynm_r.c: Likewise.
12495         * nscd/getsrvbypt_r.c: Likewise.
12496         * nscd/gai.c: Likewise.
12498         * configure.in (build_nscd): New substituted variable, set
12499         by --disable-build-nscd and defaults to $use_nscd.
12500         * configure: Regenerated.
12501         * config.make.in (build-nscd): New substituted variable.
12502         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
12503         Change conditional to require [$(build-nscd) = yes] as well.
12504         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
12506         [BZ# 13696]
12507         * configure.in (use_nscd): New substituted variable, set by
12508         --disable-nscd.  If enabled, define USE_NSCD.
12509         * configure: Regenerated.
12510         * config.h.in: Add USE_NSCD.
12511         * config.make.in (use-nscd): New substituted variable.
12512         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
12513         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
12514         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
12515         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
12516         (CFLAGS-getgrnam_r.c): Likewise.
12517         (CFLAGS-initgroups.c): Likewise.
12518         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
12519         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
12520         Variables removed.
12521         * inet/getnetgrent_r.c
12522         (nscd_setnetgrent): New function, broken out of ...
12523         (setnetgrent): ... here.  Call it.
12524         (innetgr): Conditionalize nscd bits on [USE_NSCD].
12525         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
12526         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
12527         * nscd/Makefile (routines, aux): Move definitions after include of
12528         Makeconfig.  Conditionalize on [$(use-nscd) != no].
12529         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
12530         Conditionalize on [USE_NSCD].
12531         (is_nscd, nscd_init_cb): Likewise.
12532         (nss_load_library): Conditionalize init callback on [USE_NSCD].
12533         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
12534         * nss/nss_db/db-init.c: Likewise.
12535         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
12536         [USE_NSCD].
12537         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
12538         (make_request): Use it.
12539         (cache_valid_p): New function.
12540         (__check_pf): Use it.
12541         * NEWS: Add item for --disable-nscd.
12543 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
12545         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
12546         to support sed >= 4.2.1-20-ga9bf076.
12547         * configure: Regenerated.
12549 2012-08-22  Roland McGrath  <roland@hack.frob.com>
12551         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
12552         Conditionalize whole body on [IREL].
12554 2012-08-22  Jeff Law <law@redhat.com>
12556         [BZ #14505]
12557         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
12558         if the family is PF_UNSPEC.
12560 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
12562         * Makerules (lib-version): Rename from V.
12563         (install-lib-nosubdir): Change V to lib-version.
12565 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
12567         [BZ #14252]
12568         * powerpc32/power6/wcschr.c: New file.
12569         * powerpc32/power6/wcscpy.c: New file.
12570         * powerpc32/power6/wcsrchr.c: New file.
12571         * powerpc64/power6/wcschr.c: New file.
12572         * powerpc64/power6/wcscpy.c: New file.
12573         * powerpc64/power6/wcsrchr.c: New file.
12575 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
12577         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
12578         (two_way_short_needle): Use it.
12579         * string/strstr.c (AVAILABLE1_USES_J): Define.
12580         * string/strcasestr.c: Likewise.
12582         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
12583         array references.
12584         * string/strcasestr.c (TOLOWER): Make side-effect safe.
12586         [BZ #11607]
12587         * NEWS: Add an entry.
12588         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
12589         define their defaults.
12590         (two_way_short_needle): Detect end-of-string on-the-fly.
12591         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
12592         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
12593         * string/bug-strcasestr1.c: New test.
12594         * string/Makefile: Run it.
12596 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
12598         [BZ #11607]
12599         * string/str-two-way.h (two_way_short_needle): Optimize matching of
12600         the first character.
12602 2012-08-21  Roland McGrath  <roland@hack.frob.com>
12604         * csu/elf-init.c (__libc_csu_irel): Function removed.
12605         * csu/libc-start.c (apply_irel): New function.
12606         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
12608 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
12610         * sysdeps/unix/sysv/linux/kernel-features.h
12611         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
12612         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
12613         <kernel-features.h>.
12614         [__NR_fadvise64_64]: Make code unconditional.
12615         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
12616         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
12617         !__NR_fadvise64_64)]: Likewise.
12618         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
12619         !__NR_fadvise64_64))]: Likewise.
12620         [__NR_fadvise64]: Make code unconditional.
12621         [!__NR_fadvise64]: Remove conditional code.
12622         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
12623         <kernel-features.h>.
12624         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
12625         unconditional.
12626         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
12627         conditional code.
12628         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
12629         not include <kernel-features.h>.
12630         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
12631         unconditional.
12632         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
12633         conditional code.
12634         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
12635         include <kernel-features.h>.
12636         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
12637         unconditional.
12638         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
12639         conditional code.
12641 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
12643         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
12644         slight instruction rearrangements per scrollpipe analysis.
12645         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
12647 2012-08-20  Roland McGrath  <roland@hack.frob.com>
12649         * manual/syslog.texi (syslog; vsyslog, closelog):
12650         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
12651         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
12653         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
12654         DSOCAPS to match condition on defining it.
12656 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
12658         * sysdeps/unix/sysv/linux/kernel-features.h
12659         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
12660         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
12661         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
12662         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
12663         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
12664         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
12665         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
12666         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
12667         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
12668         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
12670         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
12671         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
12673         * sysdeps/unix/sysv/linux/kernel-features.h
12674         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
12675         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
12676         unconditional.
12677         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
12678         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
12679         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
12680         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
12681         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
12682         Make code unconditional.
12683         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
12684         (__mmap64) [!__NR_mmap2]: Likewise.
12685         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
12686         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
12687         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
12688         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
12689         [__NR_mmap2]: Make code unconditional.
12690         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
12691         (__mmap64) [!__NR_mmap2]: Likewise.
12693 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
12695         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
12697 2012-08-18  Andreas Jaeger  <aj@suse.de>
12699         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
12701 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
12703         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
12704         * include/unistd.h (__have_sock_cloexec): Likewise.
12705         (__have_pipe2): Likewise.
12706         (__have_dup3): Likewise.
12708 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
12710         [BZ #9685]
12711         * include/unistd.h (__have_pipe2): Change define into an extern int.
12712         (__have_dup3): Likewise.
12713         * socket/have_sock_cloexec.c: Include fcntl.h.
12714         (__have_pipe2): New variable.
12715         (__have_dup3): Likewise.
12717 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
12719         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
12721 2012-08-17  Marek Polacek  <polacek@redhat.com>
12723         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
12724         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
12726 2012-08-17  Roland McGrath  <roland@hack.frob.com>
12728         * configure.in: Add AC_SUBST for sysheaders.
12729         * configure: Regenerated.
12730         * config.make.in (sysheaders): New substituted variable.
12732         * sysdeps/unix/mkfifo.c: Moved ...
12733         * sysdeps/posix/mkfifo.c: ... here.
12734         * sysdeps/unix/mkfifoat.c: Moved ...
12735         * sysdeps/posix/mkfifoat.c: ... here.
12737         * sysdeps/unix/utime.c: Moved ...
12738         * sysdeps/posix/utime.c: ... here.
12740         * sysdeps/unix/time.c: Moved ...
12741         * sysdeps/posix/time.c: ... here.
12742         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
12743         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
12745         * sysdeps/unix/nice.c: Moved ...
12746         * sysdeps/posix/nice.c: ... here.
12748         * sysdeps/unix/alarm.c: Moved ...
12749         * sysdeps/posix/alarm.c: ... here.
12751         * intl/Makefile ($(codeset_mo)): Depend on the input file.
12753 2012-08-17  Jeff Law <law@redhat.com>
12755         * intl/Makefile (codeset_mo): New variable.
12756         ($(codeset_mo)): New target.
12757         (tst-codeset.out): Depend on that.  Remove explicit rule.
12758         (tst-gettext3.out, tst-gettext5.out): Likewise.
12759         (LOCPATH-ENV, tst-codeset-ENV): New variables.
12760         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
12761         * intl/tst-codeset.sh: Remove.
12762         * intl/tst-gettext3.sh: Likewise.
12763         * intl/tst-gettext5.sh: Likewise.
12765 2012-08-17  Roland McGrath  <roland@hack.frob.com>
12767         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
12768         * sysdeps/unix/syscalls.list: ... here.
12770         * sysdeps/posix/getaddrinfo.c
12771         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
12772         (gaiconf_init, gaiconf_reload): Use them.
12773         [!_STATBUF_ST_NSEC]
12774         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
12775         Define using time_t rather than struct timespec.
12777         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
12778         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
12779         Macros removed.
12780         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
12781         [!NO_THREADS].
12782         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
12783         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
12784         Likewise.
12786         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
12787         __libc_cleanup_push argument.
12789         * bits/param.h: New file.
12790         * misc/sys/param.h: New file.
12791         * include/sys/param.h: New file.
12792         * misc/Makefile (headers): Add bits/param.h.
12793         * sysdeps/generic/sys/param.h: File removed.
12794         * sysdeps/unix/sysv/linux/bits/param.h: New file.
12795         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
12796         * sysdeps/mach/hurd/bits/param.h: New file.
12797         * sysdeps/mach/hurd/sys/param.h: File removed.
12799         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
12800         last change.
12802         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
12803         [_IO_MTSAFE_IO].
12804         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
12805         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
12806         New macros.
12808         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
12809         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
12810         rather than -D_IO_MTSAFE_IO conditionally.
12811         * stdio-common/Makefile (CPPFLAGS): Likewise.
12812         * wcsmbs/Makefile (CPPFLAGS): Likewise.
12813         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
12814         Use $(libio-mtsafe).
12815         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
12816         of -D_IO_MTSAFE_IO.
12817         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
12818         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
12819         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
12820         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
12821         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
12822         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
12823         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
12824         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
12825         (CFLAGS-fread_u_chk.c): Likewise.
12826         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
12827         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
12828         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
12829         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
12830         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
12831         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
12832         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
12833         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
12834         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
12836         * libio/Makefile: Test [$(libc-reentrant) = yes]
12837         instead of [$(filter %REENTRANT, $(defines)) nonempty].
12839         * Makeconfig
12840         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
12841         * sysdeps/pthread/configure: File removed.
12842         * sysdeps/pthread/Makeconfig: New file.
12843         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
12844         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
12846 2012-08-16  Gary Benson  <gbenson@redhat.com>
12848         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
12849         unmapping the first object in a namespace.
12851 2012-08-16  Roland McGrath  <roland@hack.frob.com>
12853         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
12854         (__internal_setnetgrent): ... this.  Add internal_function to
12855         definition.  Add libc_hidden_def.
12856         (setnetgrent): Update caller.
12857         (internal_endnetgrent): Renamed to ...
12858         (__internal_endnetgrent): ... this.  Add internal_function to
12859         definition.  Add libc_hidden_def.
12860         (endnetgrent): Update caller.
12861         (internal_getnetgrent_r): Renamed to ...
12862         (__internal_getnetgrent_r): ... this.  Add internal_function to
12863         definition.  Add libc_hidden_def.
12864         (__getnetgrent_r): Update caller.
12865         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
12867 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
12869         * stdlib/longlong.h: Update from GCC.
12871 2012-08-16  Roland McGrath  <roland@hack.frob.com>
12873         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
12874         on _QL, which is set by umul_ppmm but never used.
12875         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
12876         variables, which are set by GMP macros but never used.
12877         * stdio-common/_itowa.c (_itowa): Likewise.
12878         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
12879         * stdlib/mod_1.c (mpn_mod_1): Likewise.
12881 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
12883         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
12884         struct La_sh_regs is not constant.
12885         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
12886         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
12887         and struct La_sparc64_regs are not constant.
12889 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
12891         * sysdeps/unix/sysv/linux/kernel-features.h
12892         (__ASSUME_POSIX_TIMERS): Remove.
12893         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
12894         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
12895         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
12896         Make code unconditional.
12897         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
12898         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
12899         Make code unconditional.
12900         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
12901         * sysdeps/unix/sysv/linux/clock_nanosleep.c
12902         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
12903         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
12904         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
12905         Make code unconditional.
12906         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
12907         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
12908         (__libc_missing_posix_timers): Remove.
12910 2012-08-15  Roland McGrath  <roland@hack.frob.com>
12912         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
12913         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
12915         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
12917         * elf/dl-sym.c: Include <stdlib.h>.
12919         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
12920         constants, which avoids warnings in 32-bit builds.
12922         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
12923         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
12925         * misc/lseek.c: File moved to ...
12926         * io/lseek.c: ... here.
12928         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
12930         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
12931         shifting LEN more than 31 bits at once.
12933 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
12935         [BZ #14195]
12936         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
12937         segmentation fault for a case of two empty input strings.
12938         * string/test-strncasecmp.c (check1): Renamed to...
12939         (bz12205): ...this.
12940         (bz14195): Add new testcase for two empty input strings and N > 0.
12941         (test_main): Call new testcase, adapt for renamed function.
12943 2012-08-15  Andreas Jaeger  <aj@suse.de>
12945         [BZ #14090]
12946         * crypt/md5test2.c: New test, based on test supplied by Serge
12947         Belyshev <belyshev@depni.sinp.msu.ru>.
12948         * crypt/Makefile (xtests): Add md5test-giant..
12949         * crypt/Makefile ($(objpfx)md5test-giant): Add.
12951 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
12953         [BZ #14090]
12954         * crypt/md5.c (md5_process_block): Don't assume the buffer
12955         length is less than 2**32.
12956         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
12957         length is less than 2**64.
12959 2012-08-15  Roland McGrath  <roland@hack.frob.com>
12961         * string/str-two-way.h: Include <sys/param.h>.
12962         (MAX): Macro removed.
12964         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
12965         Move #define and #undef of memmove to just before and after
12966         including <string.h>.
12968         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
12969         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
12970         and after including <string.h>.  Move declarations of
12971         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
12972         to before #include "string/memmove.c".
12974         * include/dirent.h: Declare __getdirentries.
12976         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
12977         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
12979 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
12981         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
12982         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
12983         * sysdeps/i386/configure: Regenerated.
12984         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
12985         STABS_CURRENT_FILE, and STABS_FUN.
12986         (END): Remove call to STABS_FUN_END.
12987         (STABS_CURRENT_FILE1): Delete.
12988         (STABS_CURRENT_FILE): Likewise.
12989         (STABS_FUN): Likewise.
12990         (STABS_FUN_END): Likewise.
12991         (STABS_FUN2): Likewise.
12992         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
12993         * sysdeps/x86_64/configure: Regenerated.
12995 2012-08-14  Roland McGrath  <roland@hack.frob.com>
12997         * elf/dl-open.c: Include <atomic.h>.
12998         * elf/dl-lookup.c: Likewise.
13000 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
13002         * sysdeps/unix/sysv/linux/kernel-features.h
13003         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
13004         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
13005         unconditionally.
13006         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
13007         unconditionally.
13008         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
13009         condition on __ASSUME_CLONE_THREAD_FLAGS.
13011 2012-08-14  Andreas Jaeger  <aj@suse.de>
13013         * sysdeps/i386/fpu/libm-test-ulps: Update.
13015 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
13017         * include/atomic.h (atomic_exchange_and_add): Split into ...
13018         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
13019         New atomic macros.
13021 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
13023         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13025 2012-08-13  Jeff Law <law@redhat.com>
13027         * manual/stdio.texi (snprintf): Clarify handling of the trailing
13028         null byte in the output string.
13030 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
13032         * sysdeps/unix/sysv/linux/kernel-features.h
13033         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
13034         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
13035         (__ASSUME_ARG_MAX_STACK_BASED): Define.
13036         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
13037         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
13038         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
13039         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
13041 2012-08-09  Jeff Law <law@redhat.com>
13043         [BZ #13939]
13044         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
13045         When avoid_arena is set, don't retry in the that arena.  Pick the
13046         next one, whatever it might be.
13047         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
13048         (arena_lock): Pass in new parameter to arena_get2.
13049         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
13050         arena_get2.
13051         (__libc_malloc): Unify retrying after main arena failure with
13052         __libc_memalign version.
13053         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
13055 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
13057         [BZ #14166]
13058         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
13059         to __redirect_strstr.
13060         (__strstr_sse42): Use typeof __redirect_strstr.
13061         (__strstr_ia32): Likewise.
13062         (__libc_strstr): New prototype.
13063         (strstr): Renamed to ...
13064         (__libc_strstr): This.
13065         (strstr): New strong alias of __libc_strstr.
13066         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
13067         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
13068         __redirect_time.
13069         Include <time.h>.
13070         (__libc_time): New prototype.
13071         (time_ifunc): Replace time with __libc_time.
13072         (time): New strong alias and hidden definition of __libc_time.
13073         (__GI_time): Remove strong alias.
13074         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
13075         Include <stddef.h>.
13076         (memmove): Redefined to __redirect_memmove.
13077         (__memmove_sse2): Use typeof __redirect_memmove.
13078         (__memmove_ssse3): Likewise.
13079         (__memmove_ssse3_back): Likewise.
13080         (__libc_memmove): New prototype.
13081         (memmove): Renamed to ...
13082         (__libc_memmove): This.
13083         (memmove): New strong alias of __libc_memmove.
13085 2012-08-08  Mark Salter  <msalter@redhat.com>
13087         * elf/elf.h
13088         (R_MN10300_TLS_GD): Define.
13089         (R_MN10300_TLS_LD): Likewise.
13090         (R_MN10300_TLS_LDO): Likewise.
13091         (R_MN10300_TLS_GOTIE): Likewise.
13092         (R_MN10300_TLS_IE): Likewise.
13093         (R_MN10300_TLS_LE): Likewise.
13094         (R_MN10300_TLS_DTPMOD): Likewise.
13095         (R_MN10300_TLS_DTPOFF): Likewise.
13096         (R_MN10300_TLS_TPOFF): Likewise.
13097         (R_MN10300_SYM_DIFF): Likewise.
13098         (R_MN10300_ALIGN): Likewise.
13099         (R_MN10300_NUM): Update.
13101 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
13103         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
13104         Remove.
13106 2012-08-08  Roland McGrath  <roland@hack.frob.com>
13108         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
13110         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
13111         sysdeps/unix -> sysdeps/posix move.
13112         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
13114 2012-08-07      Allan McRae     <allan@archlinux.org>
13116         [BZ #14303]
13117         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
13118         (SUNOS_CPP): Likewise.
13119         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
13120         not found.
13121         (open_input): Call CPP using execvp.
13123 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
13125         * sysdeps/unix/sysv/linux/kernel-features.h
13126         (__ASSUME_PROT_GROWSUPDOWN): Remove.
13127         (__ASSUME_NO_CLONE_DETACHED): Likewise.
13128         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
13129         (__ASSUME_WAITID_SYSCALL): Likewise.
13130         * sysdeps/unix/sysv/linux/dl-execstack.c
13131         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
13132         code unconditional.
13133         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
13134         conditional code.
13135         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
13136         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
13137         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
13138         code.
13139         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
13140         unconditional.
13141         [__ASSUME_WAITID_SYSCALL]: Likewise.
13142         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
13144 2012-08-07  Roland McGrath  <roland@hack.frob.com>
13146         * sysdeps/unix/closedir.c: Renamed to ...
13147         * sysdeps/posix/closedir.c: ... here.
13148         * sysdeps/unix/dirfd.c: Renamed to ...
13149         * sysdeps/posix/dirfd.c: ... here.
13150         * sysdeps/unix/dirstream.h: Renamed to ...
13151         * sysdeps/posix/dirstream.h: ... here.
13152         * sysdeps/unix/fdopendir.c: Renamed to ...
13153         * sysdeps/posix/fdopendir.c: ... here.
13154         * sysdeps/unix/opendir.c: Renamed to ...
13155         * sysdeps/posix/opendir.c: ... here.
13156         * sysdeps/unix/readdir.c: Renamed to ...
13157         * sysdeps/posix/readdir.c: ... here.
13158         * sysdeps/unix/readdir_r.c: Renamed to ...
13159         * sysdeps/posix/readdir_r.c: ... here.
13160         * sysdeps/unix/rewinddir.c: Renamed to ...
13161         * sysdeps/posix/rewinddir.c: ... here.
13162         * sysdeps/unix/seekdir.c: Renamed to ...
13163         * sysdeps/posix/seekdir.c: ... here.
13164         * sysdeps/unix/telldir.c: Renamed to ...
13165         * sysdeps/posix/telldir.c: ... here.
13166         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
13167         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
13168         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
13169         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
13171         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
13172         * bits/fcntl.h: ... here.
13174         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
13175         not 0.
13176         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
13177         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
13178         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
13179         (struct flock): Move l_start, l_len to the beginning.
13180         Use __pid_t for l_pid.
13181         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
13182         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
13183         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
13184         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
13185         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
13186         [__USE_LARGEFILE64] (struct flock64): New type.
13187         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
13189         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
13190         * bits/dirent.h: ... here.
13192         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
13193         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
13195 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
13197         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
13198         Change from 2.6.0 to 2.6.16.
13199         * sysdeps/unix/sysv/linux/configure: Regenerated.
13200         * sysdeps/unix/sysv/linux/kernel-features.h
13201         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
13202         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
13203         version.
13204         (__ASSUME_UTIMES): Likewise.
13205         (__ASSUME_CLONE_STOPPED): Remove.
13206         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
13207         architectures, not kernel version.
13208         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
13209         (__ASSUME_NO_CLONE_DETACHED): Likewise.
13210         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
13211         (__ASSUME_WAITID_SYSCALL): Likewise.
13212         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
13213         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
13214         * README: State 2.6.16 as minimum Linux kernel version.  Do not
13215         refer to older versions.
13217 2012-08-06  Roland McGrath  <roland@hack.frob.com>
13219         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
13220         Define alphasort64 as an alias.
13221         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
13222         Define versionsort64 as an alias.
13223         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
13224         Define scandir64 as an alias.
13225         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
13226         Define scandirat64 as an alias.
13227         * dirent/alphasort64.c (alphasort64):
13228         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
13229         * dirent/versionsort64.c: Likewise.
13230         * dirent/scandir64.c: Likewise.
13231         * dirent/scandirat64.c: Likewise.
13232         * sysdeps/wordsize-64/alphasort.c: File removed.
13233         * sysdeps/wordsize-64/alphasort64.c: File removed.
13234         * sysdeps/wordsize-64/scandir.c: File removed.
13235         * sysdeps/wordsize-64/scandir64.c: File removed.
13236         * sysdeps/wordsize-64/scandirat.c: File removed.
13237         * sysdeps/wordsize-64/scandirat64.c: File removed.
13238         * sysdeps/wordsize-64/versionsort.c: File removed.
13239         * sysdeps/wordsize-64/versionsort64.c: File removed.
13240         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
13241         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
13242         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
13243         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
13244         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
13245         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
13246         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
13247         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
13249         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
13250         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
13251         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
13252         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
13253         [defined __arch64__ || defined __sparcv9]
13254         (__INO_T_MATCHES_INO64_T): New macro.
13255         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
13256         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
13257         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
13258         * sysdeps/unix/sysv/linux/bits/dirent.h
13259         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
13260         (_DIRENT_MATCHES_DIRENT64): New macro.
13262         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
13263         Define lockf64 as an alias.
13264         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
13265         Define fseeko64 as an alias.
13266         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
13267         Define ftello64 as an alias.
13268         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
13269         Define _IO_fgetpos64 and fgetpos64 as aliases.
13270         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
13271         Define _IO_fsetpos64 and fsetpos64 as aliases.
13272         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
13273         Conditionalize body on this.
13274         * libio/fseeko64.c: Likewise.
13275         * libio/ftello64.c: Likewise.
13276         * libio/iofgetpos64.c: Likewise.
13277         * libio/iofsetpos64.c: Likewise.
13278         * sysdeps/wordsize-64/lockf.c: File removed.
13279         * sysdeps/wordsize-64/lockf64.c: File removed.
13280         * sysdeps/wordsize-64/fseeko.c: File removed.
13281         * sysdeps/wordsize-64/fseeko64.c: File removed.
13282         * sysdeps/wordsize-64/ftello.c: File removed.
13283         * sysdeps/wordsize-64/ftello64.c: File removed.
13284         * sysdeps/wordsize-64/iofgetpos.c: File removed.
13285         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
13286         * sysdeps/wordsize-64/iofsetpos.c: File removed.
13287         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
13288         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
13289         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
13290         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
13291         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
13292         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
13293         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
13294         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
13295         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
13296         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
13297         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
13299         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
13300         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
13301         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
13302         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
13303         [defined __arch64__ || defined __sparcv9]
13304         (__OFF_T_MATCHES_OFF64_T): New macro.
13305         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
13306         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
13307         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
13308         (__OFF_T_MATCHES_OFF64_T): New macro.
13310 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
13312         * stdlib/secure-getenv.c (__secure_getenv): Replace
13313         GLIBC_2_16 with GLIBC_2_17.
13315 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
13317         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
13318         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
13320 2012-08-03  David S. Miller  <davem@davemloft.net>
13322         * sysdeps/sparc/fpu/libm-test-ulps: Update.
13324 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
13326         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
13327         Remove.
13328         (__ASSUME_CORRECT_SI_PID): Likewise.
13329         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
13330         (__ASSUME_TMPFS_NAME): Likewise.
13331         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
13332         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
13333         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
13334         (HAVE_AUX_SECURE): Make definition unconditional.
13335         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
13336         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
13338 2012-08-03  Roland McGrath  <roland@hack.frob.com>
13340         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
13341         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
13342         * sysdeps/mach/hurd/eloop-threshold.h: New file.
13343         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
13344         __eloop_threshold instead of SYMLOOP_MAX.
13346         * sysdeps/generic/eloop-threshold.h: New file.
13347         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
13348         of MAXSYMLINKS.
13349         * elf/chroot_canon.c (chroot_canon): Likewise.
13351 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
13353         [BZ #13717]
13354         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
13355         Change to 2.6.0 everywhere.
13356         * sysdeps/unix/sysv/linux/configure: Regenerated.
13357         * sysdeps/unix/sysv/linux/kernel-features.h
13358         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
13359         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
13360         kernel versions.
13361         (__ASSUME_POSIX_TIMERS): Define unconditionally.
13362         (__ASSUME_FUTEX_REQUEUE): Remove.
13363         (__ASSUME_STATFS64): Define unconditionally.
13364         (__ASSUME_AT_SECURE): Likewise.
13365         (__ASSUME_CORRECT_SI_PID): Likewise.
13366         (__ASSUME_TGKILL): Define without depending on kernel version for
13367         i386.
13368         (__ASSUME_UTIMES): Likewise.
13369         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
13370         kernel version.
13371         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
13372         (__ASSUME_TMPFS_NAME): Likewise.
13373         * README: Update reference to Linux kernel versions.
13375 2012-08-02  Marek Polacek  <polacek@redhat.com>
13377         [BZ# 14150]
13378         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
13379         libc_cv_asm_type_prefix with %.
13380         * configure: Regenerated.
13381         * include/libc-symbols.h: Remove comment about
13382         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
13383         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
13384         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
13385         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
13386         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
13387         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
13388         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
13389         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
13390         * elf/tst-unique2mod1.c: Likewise.
13391         * elf/tst-unique1mod2.c: Likewise.
13392         * elf/tst-unique1mod1.c: Likewise.
13393         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
13394         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
13395         Replace ASM_TYPE_DIRECTIVE with .type.
13396         * sysdeps/s390/s390-64/sysdep.h: Likewise.
13397         * sysdeps/i386/sysdep.h: Likewise.
13398         * sysdeps/x86_64/sysdep.h: Likewise.
13399         * sysdeps/sh/sysdep.h: Likewise.
13400         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
13401         Do not define ASM_TYPE_DIRECTIVE.
13402         * sysdeps/powerpc/sysdep.h: Likewise.
13403         * sysdeps/powerpc/powerpc32/sysdep.h:
13404         Replace ASM_TYPE_DIRECTIVE with .type.
13405         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
13406         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
13407         * sysdeps/i386/fpu/e_powf.S: Likewise.
13408         * sysdeps/i386/fpu/e_expl.S: Likewise.
13409         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
13410         * sysdeps/i386/fpu/e_acosh.S: Likewise.
13411         * sysdeps/i386/fpu/e_pow.S: Likewise.
13412         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
13413         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
13414         * sysdeps/i386/fpu/s_expm1.S: Likewise.
13415         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
13416         * sysdeps/i386/fpu/e_log2.S: Likewise.
13417         * sysdeps/i386/fpu/e_log2l.S: Likewise.
13418         * sysdeps/i386/fpu/e_scalb.S: Likewise.
13419         * sysdeps/i386/fpu/e_powl.S: Likewise.
13420         * sysdeps/i386/fpu/e_log10f.S: Likewise.
13421         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
13422         * sysdeps/i386/fpu/e_logl.S: Likewise.
13423         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
13424         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
13425         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
13426         * sysdeps/i386/fpu/e_log2f.S: Likewise.
13427         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
13428         * sysdeps/i386/fpu/e_log.S: Likewise.
13429         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
13430         * sysdeps/i386/fpu/e_logf.S: Likewise.
13431         * sysdeps/i386/fpu/e_log10l.S: Likewise.
13432         * sysdeps/i386/fpu/e_atanh.S: Likewise.
13433         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
13434         * sysdeps/i386/fpu/e_log10.S: Likewise.
13435         * sysdeps/i386/fpu/s_frexp.S: Likewise.
13436         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
13437         * sysdeps/i386/fpu/s_asinh.S: Likewise.
13438         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
13439         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
13440         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
13441         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
13442         * sysdeps/i386/i686/strtok.S: Likewise.
13443         * sysdeps/i386/i386-mcount.S: Likewise.
13444         * sysdeps/i386/strtok.S: Likewise.
13445         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
13446         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
13447         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
13448         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
13449         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
13450         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
13451         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
13452         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
13453         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
13454         * sysdeps/x86_64/_mcount.S: Likewise.
13455         * sysdeps/x86_64/strtok.S: Likewise.
13456         * sysdeps/sh/_mcount.S: Likewise.
13458 2012-08-01  Roland McGrath  <roland@hack.frob.com>
13460         * libio/iofopen.c: Include <fcntl.h>.
13461         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
13462         (_IO_fopen64, fopen64): Define as aliases.
13463         * libio/iofopen64.c: Include <fcntl.h>.
13464         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
13465         Conditionalize body on this.
13466         * sysdeps/wordsize-64/iofopen.c: File removed.
13467         * sysdeps/wordsize-64/iofopen64.c: File removed.
13469 2012-08-01  Marek Polacek  <polacek@redhat.com>
13471         * libc/Makeconfig: Use elf in place of binfmt-subdir.
13472         Use dlfcn directly instead of a variable.
13473         (binfmt-subdir): Do not define.
13474         (dlfcn): Likewise.
13476 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
13478         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
13479         Remove all definitions.
13480         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
13481         <kernel-features.h>.
13482         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
13483         (miss_F_GETOWN_EX): Remove all definitions.
13484         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
13485         macro definition.
13486         [!__ASSUME_FCNTL64]: Remove conditional code.
13487         [__ASSUME_FCNTL64]: Make code unconditional.
13488         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
13489         <kernel-features.h>.
13490         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
13491         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
13492         (lockf64) [__NR_fcntl64]: Make code unconditional.
13493         (lockf64) [__ASSUME_FCNTL64]: Likewise.
13495         * sysdeps/unix/sysv/linux/kernel-features.h
13496         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
13497         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
13498         Make code unconditional.
13499         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
13500         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
13501         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
13502         [__NR_vfork]: Make code unconditional.
13503         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
13504         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
13505         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
13506         [__NR_vfork]: Make code unconditional.
13507         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
13508         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
13510 2012-08-01  Roland McGrath  <roland@hack.frob.com>
13512         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
13513         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
13515         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
13516         Define mkstemp64 as an alias.
13517         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
13518         Define mkstemps64 as an alias.
13519         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
13520         Define mkostemp64 as an alias.
13521         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
13522         Define mkostemps64 as an alias.
13523         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
13524         Conditionalize body on this.
13525         * misc/mkostemp64.c: Likewise.
13526         * misc/mkostemps64.c: Likewise.
13527         * misc/mkstemps64.c: Likewise.
13528         * sysdeps/wordsize-64/mkstemp64.c: File removed.
13529         * sysdeps/wordsize-64/mkostemp64.c: File removed.
13530         * sysdeps/wordsize-64/mkostemp.c: File removed.
13531         * sysdeps/wordsize-64/mkstemp.c: File removed.
13532         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
13533         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
13534         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
13535         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
13537         [BZ #14138]
13538         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
13539         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
13540         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
13541         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
13543         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
13544         compat_symbol macros from <shlib-compat.h> rather than the underlying
13545         default_symbol_version and symbol_version macros, so that DEFAULT
13546         lines in shlib-versions are respected.
13547         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
13549 2012-08-01  Florian Weimer  <fweimer@redhat.com>
13551         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
13552         Declare with warn_unused_result.
13553         (setgid, setregid, setegid, setresgid): Likewise.
13554         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
13555         Likewise.
13556         * WUR-REPORT: Remove set*id functions.
13558 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
13560         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
13562 2012-07-31  Roland McGrath  <roland@hack.frob.com>
13564         [BZ #10191]
13565         * include/sys/socket.h (__libc_accept, __libc_accept4):
13566         Add attribute_hidden.
13567         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
13569         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
13570         use of PTR_MANGLE.
13571         * inet/getnetgrent_r.c (setup): Likewise.
13573         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
13575 2012-07-31  David S. Miller  <davem@davemloft.net>
13577         * sysdeps/sparc/fpu/libm-test-ulps: Update.
13579 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
13581         [BZ #13629]
13582         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
13583         value between 1.0 and 2.0 and smaller part has absolute value less
13584         than 1.0.
13585         * math/s_clog10.c (__clog10): Likewise.
13586         * math/s_clog10f.c (__clog10f): Likewise.
13587         * math/s_clog10l.c (__clog10l): Likewise.
13588         * math/s_clogf.c (__clogf): Likewise.
13589         * math/s_clogl.c (__clogl): Likewise.
13590         * math/libm-test.inc (clog_test): Add more tests.
13591         (clog10_test): Likewise.
13592         * sysdeps/i386/fpu/libm-test-ulps: Update.
13593         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13595 2012-07-31  Florian Weimer  <fweimer@redhat.com>
13597         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
13598         Exit with zero in case no suitable GID is found, and write a
13599         message to standard error.
13601 2012-07-30  Roland McGrath  <roland@hack.frob.com>
13603         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
13604         rather than to 1.
13605         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
13606         (MAXPATHLEN): Removed.
13607         (NOGROUP, NODEV): New macros.
13608         (setbit, clrbit, isset, isclr): New macros.
13609         (howmany, roundup, powerof2): New macros.
13610         (DEV_BSIZE): New macro.
13612         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
13613         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
13615         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
13616         definition on [!__NO_LONG_DOUBLE_MATH].
13618         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
13619         PTR_MANGLE and PTR_DEMANGLE.
13621         * socket/accept4.c (accept4): Rename to __libc_accept4.
13622         Define accept4 as a weak alias.
13624         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
13625         on [_DIRENT_HAVE_D_TYPE].
13626         * io/ftw.c (ftw_dir): Likewise.
13628         * io/xmknod.c (__xmknod): Don't check PATH for being null.
13630         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
13632         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
13633         Use the BSD numbers rather than the arbitrary ones we had.
13634         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
13635         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
13636         (SIGXCPU, SIGXFSZ): New macros.
13637         (_NSIG): Now 32.
13639         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
13640         initializer on [_LIBC_REENTRANT].
13642         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
13643         definitions inside [_POSIX_MAPPED_FILES].
13645         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
13647         * dirent/opendir.c: Include <fcntl.h>.
13649         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
13650         (__libc_getspecific): Likewise.
13651         (__libc_key_create): Likewise.
13653         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
13654         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
13655         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
13656         (tmpfile64): Define as alias.
13657         * sysdeps/wordsize-64/tmpfile.c: File removed.
13658         * sysdeps/wordsize-64/tmpfile64.c: File removed.
13659         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
13660         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
13662         * stdio-common/vfscanf.c: Include <stdbool.h>.
13663         * nss/makedb.c: Likewise.
13664         * stdio-common/_i18n_number.h: Likewise.
13665         * argp/argp-help.c: Likewise.
13666         * posix/wordexp.c: Likewise.
13667         * sysdeps/posix/spawni.c: Likewise.
13668         * nss/nss_files/files-initgroups.c: Likewise.
13669         * stdio-common/reg-modifier.c: Include <stdlib.h>.
13670         * nss/nss_files/files-initgroups.c: Likewise.
13671         * nss/nss_db/db-netgrp.c: Likewise.
13672         * nss/nss_db/db-initgroups.c: Likewise.
13673         * io/fchmodat.c: Include <sys/stat.h>.
13675         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
13676         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
13678         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
13679         [HAVE_MMAP].
13681         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
13682         Add multiple inclusion protection.
13684 2012-07-27  David S. Miller  <davem@davemloft.net>
13686         * sysdeps/sparc/fpu/libm-test-ulps: Update.
13688 2012-07-27  Gary Benson  <gbenson@redhat.com>
13690         [BZ #14298]
13691         * elf/rtld.c: Include <stap-probe.h>.
13692         (dl_main): Added static probes "init_start" and "init_complete".
13693         * elf/dl-load.c: Include <stap-probe.h>.
13694         (lose): Take new parameter "nsid".
13695         Added static probe "map_failed".
13696         (_dl_map_object_from_fd): Pass namespace id to lose.
13697         Added static probe "map_start".
13698         (open_verify): Pass namespace id to lose.
13699         * elf/dl-open.c: Include <stap-probe.h>.
13700         (dl_open_worker) Added static probes "map_complete", "reloc_start"
13701         and "reloc_complete".
13702         * elf/dl-close.c: Include <stap-probe.h>.
13703         (_dl_close_worker): Added static probes "unmap_start" and
13704         "unmap_complete".
13705         * elf/rtld-debugger-interface.txt: New file documenting the above.
13707 2012-07-26  Roland McGrath  <roland@hack.frob.com>
13709         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
13710         rather than a string variable.
13711         * sunrpc/rpc_main.c (h_output): Likewise.
13712         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
13714 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
13716         * inet/check_native.c: New file.
13718 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
13720         [BZ #13629]
13721         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
13722         if larger part has absolute value 1.0.
13723         * math/s_clog10.c (__clog10): Likewise.
13724         * math/s_clog10f.c (__clog10f): Likewise.
13725         * math/s_clog10l.c (__clog10l): Likewise.
13726         * math/s_clogf.c (__clogf): Likewise.
13727         * math/s_clogl.c (__clogl): Likewise.
13728         * math/libm-test.inc (clog_test): Add more tests.
13729         (clog10_test): Likewise.
13730         * sysdeps/i386/fpu/libm-test-ulps: Update.
13731         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13733         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
13734         (pltexit): Likewise.
13735         (La_regs): Likewise.
13736         (La_retval): Likewise.
13737         (int_retval): Likewise.
13738         Update #error for removed macros to refer only to definitions in
13739         tst-audit.h.
13740         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
13741         macro.
13742         (pltexit): Likewise.
13743         (La_regs): Likewise.
13744         (La_retval): Likewise.
13745         (int_retval): Likewise.
13746         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
13747         macro.
13748         (pltexit): Likewise.
13749         (La_regs): Likewise.
13750         (La_retval): Likewise.
13751         (int_retval): Likewise.
13752         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
13753         macro.
13754         (pltexit): Likewise.
13755         (La_regs): Likewise.
13756         (La_retval): Likewise.
13757         (int_retval): Likewise.
13758         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
13759         macro.
13760         (pltexit): Likewise.
13761         (La_regs): Likewise.
13762         (La_retval): Likewise.
13763         (int_retval): Likewise.
13764         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
13765         macro.
13766         (pltexit): Likewise.
13767         (La_regs): Likewise.
13768         (La_retval): Likewise.
13769         (int_retval): Likewise.
13770         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
13771         macro.
13772         (pltexit): Likewise.
13773         (La_regs): Likewise.
13774         (La_retval): Likewise.
13775         (int_retval): Likewise.
13776         * sysdeps/generic/tst-audit.h: Update comment to refer only to
13777         macro definitions in tst-audit.h.
13778         * sysdeps/i386/tst-audit.h: New file.
13779         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
13780         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
13781         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
13782         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
13783         * sysdeps/sh/tst-audit.h: Likewise.
13784         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
13785         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
13786         * sysdeps/x86_64/tst-audit.h: Likewise.
13788 2012-07-26  Andreas Jaeger  <aj@suse.de>
13790         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
13791         ptrace.
13793         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
13794         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
13795         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
13796         PTRACE_O_MASK.
13797         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
13798         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
13799         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
13801         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
13802         value.
13804         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
13805         _sigsys.
13806         (si_call_addr, si_syscall, si_arch): Define new macro.
13807         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
13808         _sigsys.
13809         (si_call_addr, si_syscall, si_arch): Define new marcro.
13810         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
13811         _sigsys.
13812         (si_call_addr, si_syscall, si_arch): Define new macro.
13813         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
13814         _sigsys.
13815         (si_call_addr, si_syscall, si_arch): Define new macro.
13817 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
13819         [BZ #13717]
13820         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
13821         Change to 2.4.21 where previously 2.4.1.
13822         * sysdeps/unix/sysv/linux/configure: Regenerated.
13823         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
13824         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
13825         Linux kernel version.
13826         (__ASSUME_STD_AUXV): Remove.
13827         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
13828         kernel version.
13829         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
13830         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
13831         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
13832         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
13833         (__ASSUME_NETLINK_SUPPORT): Likewise.
13834         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
13835         (__no_netlink_support): Remove conditional definition.
13836         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
13837         Remove.
13838         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
13839         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
13840         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
13841         (if_nameindex_ioctl): Remove.
13842         (if_nameindex_netlink): Do not handle __no_netlink_support.
13843         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
13844         code.
13845         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
13846         Remove conditional code.
13847         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
13848         code.
13849         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
13850         unconditional.
13851         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
13852         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
13853         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
13854         Remove.
13855         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
13856         [!__ASSUME_STD_AUXV]: Remove conditional code.
13857         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
13858         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
13859         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
13860         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
13861         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
13862         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
13863         code.
13864         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
13865         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
13866         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
13867         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
13868         conditional code.
13869         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
13870         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
13871         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
13872         code.
13873         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
13874         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
13875         conditional code.
13876         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
13877         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
13878         code unconditional.
13879         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
13880         conditional code.
13881         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
13882         unconditional.
13883         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
13884         conditional code.
13885         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
13886         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
13887         unconditional.
13888         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
13889         conditional code.
13890         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
13891         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
13892         code unconditional.
13893         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
13894         conditional code.
13895         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
13896         unconditional.
13897         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
13898         conditional code.
13899         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
13900         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
13901         code unconditional.
13902         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
13903         conditional code.
13904         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
13905         unconditional.
13906         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
13907         conditional code.
13909 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
13911         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
13912         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
13913         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
13914         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
13915         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
13916         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
13917         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
13918         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
13919         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
13920         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
13921         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
13922         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
13923         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
13924         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
13925         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
13926         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
13927         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
13928         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
13929         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
13930         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
13931         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
13932         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
13933         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
13935 2012-07-25  Florian Weimer  <fweimer@redhat.com>
13937         * Versions.def: Add GLIBC_2.17.
13938         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
13939         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
13940         Introduce __libc_secure_getenv.
13941         * stdlib/Versions (2.17): Add secure_getenv
13942         (GLIBC_PRIVATE): Add __libc_secure_getenv.
13943         * stdlib/secure-getenv.c: Rename __secure_getenv to
13944         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
13945         symbol __secure_getenv for GLIBC_2.0.
13946         * stdlib/tst-secure-getenv.c: New.
13947         * stdlib/Makefile (tests): Add testcase.
13948         * manual/startup.texi (Environment Access): Document
13949         secure_getenv.
13950         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
13951         __libc_secure_getenv.
13952         * inet/ruserpass.c (ruserpass): Likewise.
13953         * malloc/mtrace.c (mtrace): Likewise.
13954         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
13955         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
13956         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
13957         * sysdeps/posix/tempname.c: Likewise.  Evaluate
13958         HAVE_SECURE_GETENV.
13959         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
13960         __secure_getenv to __libc_secure_getenv.
13961         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
13962         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
13963         Likewise.
13964         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
13965         Likewise.
13966         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
13967         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
13968         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
13969         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
13970         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
13971         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
13972         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
13974 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
13976         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
13977         (struct La_i86_retval): Likewise.
13978         (struct La_x86_64_regs): Likewise.
13979         (struct La_x86_64_retval): Likewise.
13980         (struct La_x32_regs): Likewise.
13981         (struct La_x32_retval): Likewise.
13982         (struct La_ppc32_regs): Likewise.
13983         (struct La_ppc32_retval): Likewise.
13984         (struct La_ppc64_regs): Likewise.
13985         (struct La_ppc64_retval): Likewise.
13986         (struct La_sh_regs): Likewise.
13987         (struct La_sh_retval): Likewise.
13988         (struct La_s390_32_regs): Likewise.
13989         (struct La_s390_32_retval): Likewise.
13990         (struct La_s390_64_regs): Likewise.
13991         (struct La_s390_64_retval): Likewise.
13992         (struct La_sparc32_regs): Likewise.
13993         (struct La_sparc32_retval): Likewise.
13994         (struct La_sparc64_regs): Likewise.
13995         (struct La_sparc64_retval): Likewise.
13996         (struct audit_ifaces): Remove architecture-specific pltenter and
13997         pltexit members.
13998         * sysdeps/i386/ldsodefs.h: New file.
13999         * sysdeps/powerpc/ldsodefs.h: Likewise.
14000         * sysdeps/s390/ldsodefs.h: Likewise.
14001         * sysdeps/sh/ldsodefs.h: Likewise.
14002         * sysdeps/sparc/ldsodefs.h: Likewise.
14003         * sysdeps/x86_64/ldsodefs.h: Likewise.
14005 2012-07-25  Marek Polacek  <polacek@redhat.com>
14007         [BZ #6808]
14008         * math/libm-test.inc (yn_test): Add another test.
14009         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
14010         to ERANGE when the result is +-Inf.
14011         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
14012         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
14013         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
14014         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
14016 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
14018         * conform/data/time.h-data (NULL): Use macro-constant.  Require
14019         equal to 0.
14020         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
14021         clock_t.
14022         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
14024 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
14026         * configure.in <sysdeps resolving>: Correct printing
14027         Implies_before.
14028         * configure: Regenerate.
14030 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
14032         * math/w_ilogb.c: Include <limits.h>.
14033         * math/w_ilogbl.c: Likewise.
14035 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
14037         * manual/lang.texi (__va_copy): Document primarily as ISO C99
14038         va_copy.  Document allowing for unavailable va_copy only as
14039         pre-C99 compatibility.
14040         * manual/string.texi (Copying and Concatenation): Use va_copy
14041         instead of __va_copy in concat example.
14043 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
14045         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
14046         (__sendto): Use create_address_port.  Initialize APORT and deallocate
14047         it if not null.
14049         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
14050         with O_NOLINK passed to __file_name_lookup.
14052         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
14053         with O_NOLINK passed to __file_name_lookup.
14055         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
14056         negative N or less than NGIDS.
14058         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
14059         type to string_t.  Set ERANGE as errno and return it if NAME is not big
14060         enough.  Use memcpy instead of strncpy.
14062 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
14064         * elf/Makefile (check-data): Remove.
14065         (localplt.data): New vpath directive.
14066         ($(objpfx)check-localplt.out): Use localplt.data from vpath
14067         instead of $(check-data).
14068         * scripts/data/localplt-generic.data: Move to ...
14069         * sysdeps/generic/localplt.data: ... here.
14070         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
14071         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
14072         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
14073         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
14074         ... here.
14075         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
14076         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
14077         ... here.
14078         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
14079         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
14080         ... here.
14081         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
14082         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
14083         ... here.
14084         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
14085         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
14086         ... here.
14087         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
14088         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
14089         ... here.
14091 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14093         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
14094         PPC32 and PPC64 files.
14095         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
14096         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
14098 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
14100         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
14101         __makecontext_ret to ...
14102         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
14103         ... here and call exit if uc_link is NULL.  New file.
14104         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
14105         __makecontext_ret.S.
14106         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
14107         __makecontext_ret to ...
14108         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
14109         ... here and call exit if uc_link is NULL.  New file.
14110         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
14111         __makecontext_ret.S.
14113 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
14115         * elf/elf.h (R_390_IRELATIVE): New definition.
14116         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
14117         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
14118         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
14119         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
14120         (elf_machine_lazy_rel): Likewise.
14121         * sysdeps/s390/dl-irel.h: New file.
14122         * sysdeps/s390/s390-64/memcpy.S: New asm code.
14123         * sysdeps/s390/s390-64/memset.S: New asm code.
14124         * sysdeps/s390/s390-64/memcmp.S: New asm code.
14125         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
14126         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
14127         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
14128         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
14129         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
14130         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
14131         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
14132         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
14133         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
14134         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
14135         * sysdeps/s390/s390-32/memcpy.S: New asm code.
14136         * sysdeps/s390/s390-32/memset.S: New asm code.
14137         * sysdeps/s390/s390-32/memcmp.S: New asm code.
14139 2012-07-17  Marek Polacek  <polacek@redhat.com>
14141         [BZ #14349]
14142         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
14143         * sysdeps/s390/s390-64/configure.in: Likewise.
14144         * sysdeps/sparc/configure.in: Likewise.
14145         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
14146         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
14147         * sysdeps/i386/configure.in: Likewise.
14148         * sysdeps/x86_64/configure.in: Likewise.
14149         * sysdeps/sh/configure.in: Likewise.
14150         * sysdeps/s390/s390-32/configure: Regenerated.
14151         * sysdeps/s390/s390-64/configure: Likewise.
14152         * sysdeps/x86_64/configure: Likewise.
14153         * sysdeps/sh/configure: Likewise.
14154         * sysdeps/powerpc/powerpc64/configure: Likewise.
14155         * sysdeps/powerpc/powerpc32/configure: Likewise.
14156         * sysdeps/sparc/configure: Likwise.
14157         * sysdeps/i386/configure: Likewise.
14159         * elf/dl-open.c: Comment fixes.
14161 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
14163         * Makefile [CXX] (check-data): Remove.
14164         [CXX] (c++-types.data): New vpath directive.
14165         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
14166         vpath.  Do not allow for C++ type data being missing.
14167         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
14168         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
14169         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
14170         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
14171         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
14172         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
14173         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
14174         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
14175         ... here.
14176         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
14177         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
14178         ... here.
14179         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
14180         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
14181         ... here.
14182         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
14183         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
14184         ... here.
14185         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
14186         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
14187         ... here.
14188         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
14189         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
14190         ... here.
14191         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
14192         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
14193         ... here.
14194         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
14195         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
14197         * elf/tls-macros.h (TLS_LE): Move architecture-specific
14198         definitions to architecture-specific files.
14199         (TLS_IE): Likewise.
14200         (TLS_LD): Likewise.
14201         (TLS_GD): Likewise.
14202         * sysdeps/i386/tls-macros.h: New file.
14203         * sysdeps/powerpc/tls-macros.h: Likewise.
14204         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
14205         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
14206         * sysdeps/sh/tls-macros.h: Likewise.
14207         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
14208         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
14209         * sysdeps/x86_64/tls-macros.h: Likewise.
14211 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
14213         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
14214         zero value for regular exit case.
14216         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
14217         (__start_context): Preserve zero value for regular exit case.
14219 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
14220             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
14222         * manual/setjmp.texi (setcontext): Clarify normal process
14223         termination when uc_link is the null pointer.
14224         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
14225         exit call.
14227 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
14229         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
14230         preprocessor.  Test for each exception mask separately.
14232 2012-07-16  Andreas Jaeger  <aj@suse.de>
14234         * po/ru.po: Update from translation team.
14236 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
14238         * conform/data/string.h-data (NULL): Use macro-constant.  Require
14239         equal to 0.
14240         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
14241         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
14242         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
14243         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
14244         [ISO || ISO99 || ISO11] (*_t): Do not allow.
14246 2012-07-13  Andreas Jaeger  <aj@suse.de>
14248         * po/fr.po: Update from translation team.
14250 2012-07-12  Marek Polacek  <polacek@redhat.com>
14252         [BZ #14173]
14253         * math/libm-test.inc (yn_test): Add test for BZ #14173.
14254         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
14255         loop condition.
14257 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
14259         [BZ #13717]
14260         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
14261         Change to 2.4.1 where previously 2.4.0.
14262         * sysdeps/unix/sysv/linux/configure: Regenerated.
14263         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
14264         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
14265         version.
14266         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
14267         (__ASSUME_AT_CLKTCK): Remove.
14268         (__ASSUME_AT_PAGESIZE): Likewise.
14269         (__ASSUME_AT_XID): Likewise.
14270         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
14271         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
14272         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
14273         unconditionally.
14274         (HAVE_AUX_PAGESIZE): Likewise.
14275         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
14276         [__ASSUME_AT_CLKTCK]: Make code unconditional.
14277         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
14279 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
14281         [BZ #14307]
14282         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
14283         the temporary buffer used to invoke __gethostbyname2_r,
14284         __gethostbyaddr_r and gethostbyname4_r to make room for struct
14285         host_data / struct gaih_addrtuple.
14286         * resolv/nss_dns/dns-host.c (global scope): Move definition of
14287         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
14288         header file nss/nsswitch.h.
14289         * nss/nsswitch.h (global scope): Add definition of implementation
14290         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
14291         resolv/nss_dns/dns-host.c).
14293 2012-07-11  Andreas Jaeger  <aj@suse.de>
14295         * po/fr.po: Update from translation team.
14297         * po/sv.po: Update from translation team
14298         * po/fr.po: Another update from translation team.
14300 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14302         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
14303         for subnormals or multiply small sinh result by itself.
14304         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
14305         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14307 2012-07-11  David S. Miller  <davem@davemloft.net>
14309         * sysdeps/sparc/fpu/libm-test-ulps: Update.
14311 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
14313         [BZ #14347]
14314         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
14315         (INTERNAL_MARK): Shift it here.
14317 2012-07-10  Marek Polacek  <polacek@redhat.com>
14319         [BZ #14151]
14320         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
14321         libc_cv_asm_global_directive with .globl.
14322         * configure: Regenerated.
14323         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
14324         with .globl.
14325         * sysdeps/i386/configure: Regenerated.
14326         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
14327         with .globl.
14328         * sysdeps/x86_64/configure: Regenerated.
14329         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
14330         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
14331         * elf/tst-unique2mod2.c: Likewise.
14332         * elf/tst-unique2mod1.c: Likewise.
14333         * elf/tst-unique1mod2.c: Likewise.
14334         * elf/tst-unique1mod1.c: Likewise.
14335         * sysdeps/s390/s390-32/sysdep.h: Likewise.
14336         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
14337         * sysdeps/s390/s390-64/sysdep.h: Likewise.
14338         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
14339         * sysdeps/mach/sysdep.h: Likewise.
14340         * sysdeps/i386/sysdep.h: Likewise.
14341         * sysdeps/i386/i386-mcount.S: Likewise.
14342         * sysdeps/x86_64/_mcount.S: Likewise.
14343         * sysdeps/x86_64/sysdep.h: Likewise.
14344         * sysdeps/sh/_mcount.S: Likewise.
14345         * sysdeps/sh/sysdep.h: Likewise.
14346         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
14347         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
14348         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
14349         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
14350         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
14351         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
14352         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
14353         * locale/localeinfo.h: Likewise.
14354         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
14355         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
14357 2012-07-09  Roland McGrath  <roland@hack.frob.com>
14359         [BZ #14336]
14360         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
14361         system".
14362         * manual/message.texi (The Uniforum approach): Likewise.
14363         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
14364         (glibc iconv Implementation): Likewise.
14366 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
14368         [BZ #14337]
14369         * math/s_clog.c (__clog): Avoid scaling a value down where that
14370         could result in underflow.
14371         * math/s_clog10.c (__clog10): Likewise.
14372         * math/s_clog10f.c (__clog10f): Likewise.
14373         * math/s_clog10l.c (__clog10l): Likewise.
14374         * math/s_clogf.c (__clogf): Likewise.
14375         * math/s_clogl.c (__clogl): Likewise.
14376         * math/libm-test.inc (clog_test): Add more tests.
14377         (clog10_test): Likewise.
14378         * sysdeps/i386/fpu/libm-test-ulps: Update.
14379         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14381 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
14383         [BZ #14283]
14384         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
14385         by 7 not 8 to examine high bit of fractional part.
14387         [BZ #14042]
14388         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
14389         for call to __mcount_internal.
14390         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
14391         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
14392         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
14394 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
14396         [BZ #14154]
14397         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
14398         approximation for values within 0x1p-13f of an odd multiple of
14399         pi/4.
14400         * math/libm-test.inc (tan_test): Do not allow spurious underflow
14401         exception.  Add more tests.
14402         * sysdeps/i386/fpu/libm-test-ulps: Update.
14404         [BZ #6778]
14405         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
14406         inputs and return -1 for them.  Do not check for +Inf in case not
14407         reachable for +Inf.
14408         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
14409         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
14410         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
14411         and return -1 for them.  Do not check for +Inf in case not
14412         reachable for +Inf.
14413         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
14414         define.
14415         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
14416         and return -1 for them.  Do not check for +Inf in case not
14417         reachable for +Inf.
14418         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
14419         spurious underflow.
14420         * sysdeps/i386/fpu/libm-test-ulps: Update.
14421         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14423 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
14425         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
14427 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
14429         [BZ #14157]
14430         [BZ #14331]
14431         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
14432         could result in spurious underflow.  Scale down values above
14433         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
14434         * math/s_csqrtf.c (__csqrtf): Likewise.
14435         * math/s_csqrtl.c (__csqrtl): Likewise.
14436         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
14437         spurious underflow.
14438         * sysdeps/i386/fpu/libm-test-ulps: Update.
14439         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14441 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
14443         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
14444         xopen-msg.sed.
14445         * catgets/xopen-msg.awk: New file.
14446         * catgets/xopen-msg.sed: Removed.
14448         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
14449         po2text.sed.
14450         * intl/po2test.awk: New file.
14451         * intl/po2test.sed: Removed.
14453 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
14455         [BZ #14328]
14456         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
14457         or multiply small sinh result by itself.
14458         * math/s_ctanf.c (__ctanf): Likewise.
14459         * math/s_ctanh.c (__ctanh): Likewise.
14460         * math/s_ctanhf.c (__ctanhf): Likewise.
14461         * math/s_ctanhl.c (__ctanhl): Likewise.
14462         * math/s_ctanl.c (__ctanl): Likewise.
14463         * math/libm-test.inc (ctan_test_tonearest): New function.
14464         (ctan_test_towardzero): Likewise.
14465         (ctan_test_downward): Likewise.
14466         (ctan_test_upward): Likewise.
14467         (ctanh_test_tonearest): Likewise.
14468         (ctanh_test_towardzero): Likewise.
14469         (ctanh_test_downward): Likewise.
14470         (ctanh_test_upward): Likewise.
14471         (main): Call these new functions.
14472         * sysdeps/i386/fpu/libm-test-ulps: Update.
14473         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14475 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
14477         * .gitignore: Delete /ports entry.
14479 2012-07-03  Andreas Jaeger  <aj@suse.de>
14481         * po/bg.po: Update from translation team.
14482         * po/cs.po: Likewise.
14483         * po/de.po: Likewise.
14484         * po/hr.po: Likewise.
14485         * po/nl.pl: Likewise.
14486         * po/pl.po: Likewise.
14487         * po/vi.po: Likewise.
14489 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
14491         * Makeconfig [!+link] (+link-before-libc): New variable.
14492         [!+link] (+link-after-libc): Likewise.
14493         [!+link] (+link-tests): Likewise.
14494         [!+link] (+link): Define in terms of $(+link-before-libc) and
14495         $(+link-after-libc).
14496         [!+link-static] (+link-static-before-libc): New variable.
14497         [!+link-static] (+link-static-after-libc): Likewise.
14498         [!+link-static] (+link-static-tests): Likewise.
14499         [!+link-static] (+link-static): Define in terms of
14500         $(+link-static-before-libc) and $(+link-static-after-libc).
14501         [build-shared] (link-libc-before-gnulib): New variable.
14502         [build-shared] (link-libc-tests): Likewise.
14503         [build-shared] (link-libc): Define in terms of
14504         $(link-libc-before-gnulib).
14505         [!build-shared] (link-libc-tests): New variable.
14506         (link-libc-static-tests): New variable.
14507         [!gnulib] (gnulib-arch): New variable.
14508         [!gnulib] (gnulib-tests): Likewise.
14509         [!gnulib] (static-gnulib-arch): Likewise.
14510         [!gnulib] (static-gnulib-tests): Likewise.
14511         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
14512         Define with "=" instead of ":=".
14513         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
14514         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
14515         * Rules (binaries-all-notests): New variable.
14516         (binaries-all-tests): Likewise.
14517         (binaries-static-notests): Likewise.
14518         (binaries-static-tests): Likewise.
14519         (binaries-all): Define using $(binaries-all-notests) and
14520         $(binaries-all-tests).
14521         (binaries-static): Define using $(binaries-static-notests) and
14522         $(binaries-static-tests).
14523         (binaries-shared-tests): New variable.
14524         (binaries-shared-notests): Likewise.
14525         (binaries-shared): Remove variable.
14526         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
14527         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
14528         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
14529         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
14530         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
14531         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
14532         * elf/Makefile (sln-modules): New variable.
14533         (extra-objs): Add $(sln-modules:=.o).
14534         (ldconfig-modules): Add static-stubs.
14535         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
14536         * elf/static-stubs.c: New file.
14538         [BZ #14283]
14539         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
14540         by 7 not 8 to examine high bit of fractional part.  Use volatile
14541         variables when splitting into final array of floats if
14542         __FLT_EVAL_METHOD__ != 0.
14543         * math/libm-test.inc (cos_test): Add another test.
14544         (sin_test): Likewise.
14545         * sysdeps/i386/fpu/libm-test-ulps: Update.
14547         [BZ #14273]
14548         * math/libm-test.inc (cosh_test): Add more tests.
14550         * version.h (RELEASE): Set to "development".
14551         (VERSION): Set to "2.16.90".
14553 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
14555         * NEWS: Update copyright. Remove last-updated date.
14556         Mention math library bug fixes and timezone data changes.
14557         * README: Mention GNU/Hurd, x32, and HPPA support status.
14559 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
14561         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
14563 2012-06-27  Andreas Jaeger  <aj@suse.de>
14565         * manual/contrib.texi (Contributors): Add Samuel Thibault.
14567 2012-06-25  Andreas Jaeger  <aj@suse.de>
14569         * sysdeps/s390/fpu/libm-test-ulps: Update.
14571 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
14572             Thomas Schwinge  <thomas@codesourcery.com>
14574         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
14575         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
14576         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
14577         fanotify_mark.
14579 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
14581         * sysdeps/mach/start.c: Remove file.
14582         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
14583         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
14584         * sysdeps/sh/init-first.c: Likewise.
14586         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
14587         registers for frame unwinding purposes, add CFI directives.
14588         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
14589         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
14590         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
14591         Likewise.
14593         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
14594         __fortify_fail returning.
14595         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
14597         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
14598         sysdeps/sh/____longjmp_chk.S.
14599         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
14600         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
14601         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
14602         (gen-as-const-headers): Append sigaltstack-offsets.sym.
14604         * sysdeps/sh/abort-instr.h: New file.
14605         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
14606         process in case exit returns.
14608         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
14609         initialize the GOT register before use.
14611         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
14612         calculation of ARGC > 4.
14614         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
14615         meaningful names to some local labels.
14617 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
14618             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
14620         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
14621         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
14622         (__arch_compare_and_exchange_val_16_acq): Likewise.
14623         (__arch_compare_and_exchange_val_32_acq): Likewise.
14624         (atomic_exchange_and_add): Fix gUSA sequence.
14625         (atomic_add): Likewise.
14626         (atomic_add_negative): Likewise.
14627         (atomic_add_zero): Likewise.
14628         (atomic_bit_test_set): Likewise.
14630 2012-06-22  Andreas Schwab  <schwab@redhat.com>
14632         [BZ #13579]
14633         * include/link.h (struct link_map): Add l_free_initfini.
14634         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
14635         l_initfini.
14636         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
14637         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
14638         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
14639         set.
14641 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
14643         * configure.in: Use AC_LANG_SOURCE.
14644         * configure: Regenerate.
14646 2012-06-22  Roland McGrath  <roland@hack.frob.com>
14648         * configure.in (libc_cv_localstatedir): New substituted variable.
14649         * configure: Regenerated.
14650         * config.make.in (localstatedir): New variable, substituted from
14651         libc_cv_localstatedir.
14652         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
14653         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
14654         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
14655         * sysdeps/gnu/configure: Regenerated.
14657 2012-06-21  Jeff Law  <law@redhat.com>
14659         [BZ #14277]
14660         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
14661         free.  Simplify list management for _LIBC case.
14663 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
14665         [BZ #14273]
14666         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
14667         Clear sign bit of 64-bit integer value before comparing against
14668         overflow value.
14670         * sysdeps/mach/configure: Regenerated.
14672 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
14674         [BZ #14278]
14675         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
14677 2012-06-21  Jeff Law  <law@redhat.com>
14679         [BZ #13882]
14680         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
14681         uint16_t for elements in the "seen" array to avoid char overflows.
14682         * elf/dl-fini.c (_dl_sort_fini): Likewise.
14683         * elf/dl-open.c (dl_open_worker): Likewise.
14685 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
14687         * scripts/list-sources.sh: Scan PORTS for translations.
14688         * po/libc.pot: Regenerated.
14690 2012-06-21  Andreas Jaeger  <aj@suse.de>
14692         [BZ #12194]
14693         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
14694         warning.
14695         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
14696         * bits/byteswap-16.h (__bswap_16): Likewise.
14697         * bits/byteswap.h (__bswap_constant_16): Likewise.
14699 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
14701         [BZ #14117]
14702         * sysdeps/i386/fpu_control.h: Removed.
14703         * sysdeps/x86_64/fpu_control.h: Moved to ...
14704         * sysdeps/x86/fpu_control.h: Here.
14706         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
14707         (_FPU_SETCW): Likewise.
14709 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
14711         [BZ #14117]
14712         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
14713         * sysdeps/x86/fpu/bits/mathinline.h: This.
14714         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
14716         [BZ #14050]
14717         [BZ #14117]
14718         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
14719         functions if __x86_64__ is defined.
14721 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
14723         * string/endian.h: Add !__ASSEMBLER__ condition for including
14724         conversion interfaces.
14726 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
14728         [BZ #14241]
14729         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
14730         of ABS(x) in calculating zero to negative powers other than odd
14731         integers.
14732         * math/libm-test.inc (pow_test): Add more tests.
14734 2012-06-15  Andreas Jaeger  <aj@suse.de>
14736         * manual/contrib.texi (Contributors): Update entry of Liubov
14737         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
14738         Machado Filho.
14740 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
14742         * string/string.h: Add __wur to GNU version of strerror_r.
14744 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
14746         [BZ #14229]
14747         * string/Makefile (tests): Add tst-strtok_r.
14748         * string/tst-strtok_r.c: New file.
14749         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
14750         RAX_LP/RDX_LP on SAVE_PTR.
14752 2012-06-14  Roland McGrath  <roland@hack.frob.com>
14754         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
14756 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
14758         * libm_test.inc (csqrt_test): Allow more spurious underflow
14759         exceptions.
14760         (j0_test): Likewise.
14761         (j1_test): Likewise.
14762         (y0_test): Likewise.
14763         (y1_test): Likewise.
14765 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
14767         * po/Makefile (libc.pot): Use UTF-8 charset.
14769 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
14771         [BZ #14210]
14772         Suppress sign-conversion warning from FD_SET.
14773         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
14774         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
14775         not unsigned long int.
14776         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
14778 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
14780         [BZ #14050]
14781         [BZ #14117]
14782         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
14783         __extern_always_inline instead of __extern_inline.
14784         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
14785         (__signbit): Likewise.
14786         (__signbitl): Support C++ namespace.
14787         (lrintf): New inline function.
14788         (lrint): Likewise.
14789         (llrintf): Likewise.
14790         (llrint): Likewise.
14791         (fmaxf): Likewise.
14792         (fmax): Likewise.
14793         (fminf): Likewise.
14794         (fmin): Likewise.
14795         (rint): Likewise.
14796         (rintf): Likewise.
14797         (ceil): Likewise.
14798         (ceilf): Likewise.
14799         (floor): Likewise.
14800         (floorf): Likewise.
14801         (nearbyint): Likewise.
14802         (nearbyintf): Likewise.
14804 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
14806         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
14807         non-default versions.
14809 2012-06-11  Roland McGrath  <roland@hack.frob.com>
14811         [BZ #14218]
14812         * manual/argp.texi (Argp): Reword argp_parse description slightly.
14814 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
14816         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
14817         (FE_UPWARD, FE_DOWNWARD): Don't define.
14818         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
14819         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
14821         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
14822         reading it.
14823         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
14824         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
14826 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
14828         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
14829         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
14830         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
14831         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
14833 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
14835         [BZ #14117]
14836         * sysdeps/i386/fpu/bits/fenv.h: Removed.
14837         * sysdeps/i386/fpu/Implies: New file.
14838         * sysdeps/x86_64/fpu/Implies: Likewise.
14839         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
14840         * sysdeps/x86/fpu/bits/fenv.h: This.
14842         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
14843         __SSE_MATH__.
14845 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
14847         [BZ #14134]
14848         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
14849         character 0xffff that matches the last element of the
14850         conversion table.
14852 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14854         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
14855         fmodl commit.
14857 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14859         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
14860         values higher than 25.6283.
14862 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14864         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
14865         subnormal exponent extraction and add some __builtin_expect.
14866         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
14867         Fix for subnormal mantissa calculation.
14869 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
14871         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
14872         cpu2 is -1 and errno is not ENOSYS.
14874 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
14876         [BZ #14117]
14877         * sysdeps/i386/i486/bits/string.h: Renamed to ...
14878         * sysdeps/x86/bits/string.h: This.
14879         * sysdeps/x86_64/bits/string.h: Removed.
14881         * sysdeps/i386/i486/bits/string.h: Define inline functions only
14882         if not compiling for x86-64, but compiling for >= i486.
14884         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
14885         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
14887         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
14888         New macro from Linux kernel 3.4.0.
14889         (FP_XSTATE_MAGIC2): Likewise.
14890         (FP_XSTATE_MAGIC2_SIZE): Likewise.
14891         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
14892         (struct _fpx_sw_bytes): New struct.
14893         (struct _xsave_hdr): Likewise.
14894         (struct _ymmh_state): Likewise.
14895         (struct _xstate): Likewise.
14897         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
14898         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
14899         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
14900         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
14901         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
14902         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
14904         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
14905         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
14906         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
14907         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
14908         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
14909         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
14911 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
14913         [BZ #13743]
14914         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
14915         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
14916         (sysdep_headers): Include sys/platform/ppc.h.
14917         * sysdeps/powerpc/test-gettimebase.c: Test for
14918         __ppc_get_timebase() to catch future ISA opcode/insn changes.
14919         * manual/Makefile (appendices): Include platform.texi.
14920         * manual/contrib.texi (Contributors): Update @node pointers.
14921         * manual/maint.texi (Maintenance): Likewise.
14922         (Platform): New node.
14923         * manual/platform.texi: New file.  Document the new features.
14925 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
14926             Jakub Jelinek  <jakub@redhat.com>
14928         [BZ #14188]
14929         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
14930         where __builtin_expect is unavailable.
14932 2012-06-03  David S. Miller  <davem@davemloft.net>
14934         * stdlib/longlong.h: Updated from GCC.
14936 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
14938         [BZ #14042]
14939         * sysdeps/powerpc/powerpc32/mcount.c: New file.
14940         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
14941         __mcount_internal.
14942         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
14943         (GLIBC_2.16): Likewise.
14945 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
14947         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
14949 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
14951         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
14952         (default-abi): New variable.
14953         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
14954         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
14955         variable.
14956         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
14957         Likewise.
14958         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
14959         Likewise.
14960         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
14961         Likewise.
14963         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
14964         definition.  Document in comment.
14966 2012-06-01  David S. Miller  <davem@davemloft.net>
14968         * stdlib/longlong.h: Updated from GCC.
14970 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
14972         [BZ #14117]
14973         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
14974         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
14975         sys/debugreg.h sys/io.h here.
14976         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
14977         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
14978         sys/io.h.
14979         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
14980         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
14981         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
14982         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
14983         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
14984         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
14986         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
14987         Define only if __x86_64__ is defined.
14989 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
14991         [BZ #14048]
14992         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
14993         Use int64_t for variable i.
14994         * math/libm-test.inc (fmod_test): Add more tests.
14996         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
14997         z computation is not scheduled after fetestexcept.
14998         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
14999         Use math_force_eval instead of asm to ensure calculation scheduled
15000         before exception test.
15001         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
15002         Ensure a1 + u.d computation is not scheduled after fetestexcept.
15004 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
15006         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
15007         computation is not scheduled after fetestexcept.
15009 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
15011         [BZ #14117]
15012         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
15013         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
15015 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15017         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
15018         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
15020 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
15022         [BZ #14117]
15023         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
15024         <bits/wordsize.h>.
15025         (__WCHAR_MIN): Support __WORDSIZE == 64.
15026         (__WCHAR_MAX): Likewise.
15028         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
15029         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
15031         [BZ #14183]
15032         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
15033         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
15035         [BZ #14117]
15036         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
15037         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
15039         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
15040         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
15042         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
15043         Defined to 1 if __x86_64__ isn't defined.
15044         (_STAT_VER_LINUX_OLD): New.
15045         (st_atime): Remove duplicate.
15046         (st_mtime): Likewise.
15047         (st_ctime): Likewise.
15049 2012-05-31  David S. Miller  <davem@davemloft.net>
15051         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
15052         entries.
15054 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
15056         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
15057         gen-libm-test.pl.
15059         [BZ #14132]
15060         * elf/dl-reloc.c: Include <_itoa.h>.
15061         (_dl_reloc_bad_type): Remove use of INTUSE.
15062         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
15063         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
15064         * stdio-common/psiginfo.c (psiginfo): Likewise.
15065         * stdio-common/psignal.c (psignal): Likewise.
15066         * string/strsignal.c (strsignal): Likewise.
15067         * include/signal.h (_sys_siglist): Declare hidden proto.
15068         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
15069         INTVARDEF with libc_hidden_data_def.
15070         * stdio-common/itoa-udigits.c: Likewise.
15071         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
15072         (_itoa_lower_digits_internal): Remove declaration.
15073         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
15074         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
15075         (_sys_sigabbrev_internal): Remove aliases.
15076         (_sys_siglist): Define hidden alias.
15078 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
15080         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
15081         bits/sysctl.h.
15083 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
15085         [BZ #14117]
15086         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
15087         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
15089         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
15090         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
15091         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
15092         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
15093         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
15094         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
15096         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
15097         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
15098         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
15100         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
15101         with __addr.
15102         (insw): Likewise.
15103         (insl): Likewise.
15104         (outsb): Likewise.
15105         (outsw): Likewise.
15106         (outsl): Likewise.
15108         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
15109         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
15110         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
15112         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
15113         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
15114         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
15115         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
15116         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
15117         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
15119         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
15120         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
15122         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
15123         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
15125         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
15126         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
15127         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
15129         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
15130         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
15131         to ...
15132         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
15134         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
15135         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
15136         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
15138         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
15139         for x86-64.
15140         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
15142 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
15144         * math/math.h (M_El): Use two more decimal places.
15145         (M_LOG2El): Likewise.
15146         (M_LOG10El): Likewise.
15147         (M_LN2l): Likewise.
15148         (M_LN10l): Likewise.
15149         (M_PIl): Likewise.
15150         (M_PI_2l): Likewise.
15151         (M_PI_4l): Likewise.
15152         (M_1_PIl): Likewise.
15153         (M_2_PIl): Likewise.
15154         (M_2_SQRTPIl): Likewise.
15155         (M_SQRT2l): Likewise.
15156         (M_SQRT1_2l): Likewise.
15158 2012-05-31  David S. Miller  <davem@davemloft.net>
15160         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
15161         values between float registers.
15162         * sysdeps/sparc/sparc64/memset.S: Likewise.
15163         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
15165 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
15167         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
15168         -D_FORTIFY_SOURCE=1.
15169         (CPPFLAGS-tst-longjmp_chk.c): Define.
15170         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
15171         (CPPFLAGS-tst-longjmp_chk2.c): Define.
15172         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
15173         CFLAGS-tst-wchar-h.c.
15175 2012-05-31  Marek Polacek  <polacek@redhat.com>
15177         [BZ #14132]
15178         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
15179         __endmntent_internal): Remove declaration.
15180         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
15181         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
15182         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
15184 2012-05-30  David S. Miller  <davem@davemloft.net>
15186         * sysdeps/sparc/sparc32/soft-fp/q_util.c
15187         (___Q_simulate_exceptions): Use real FP ops rather than writing
15188         into the %fsr.
15189         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
15190         Likewise.
15192 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
15194         [BZ #14117]
15195         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
15196         * sysdeps/x86/bits/xtitypes.h: This.
15198         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
15199         * sysdeps/x86/bits/wordsize.h: This.
15201         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
15202         * sysdeps/x86/bits/huge_vall.h: This.
15204         * sysdeps/i386/bits/select.h: Removed.
15205         * sysdeps/x86_64/bits/select.h: Renamed to ...
15206         * sysdeps/x86/bits/select.h: This.
15208         * sysdeps/i386/bits/setjmp.h: Removed.
15209         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
15210         * sysdeps/x86/bits/setjmp.h: This.
15212         * sysdeps/i386/bits/mathdef.h: Removed.
15213         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
15214         * sysdeps/x86/bits/mathdef.h: This.
15216 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
15218         [BZ #14132]
15219         * include/sys/socket.h (__connect_internal)
15220         (__libc_sa_len_internal): Remove declaration.
15221         (__connect, __libc_sa_len): Declare hidden_proto.
15222         (SA_LEN): Remove use of INTUSE.
15223         * socket/connect.c: Add libc_hidden_def.
15224         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
15225         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
15226         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
15227         alias.
15228         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
15229         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
15230         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
15231         of adding _internal alias.
15233 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
15235         [BZ #14117]
15236         * sysdeps/i386/bits/link.h: Removed.
15237         * sysdeps/i386/bits/linkmap.h: Likewise.
15238         * sysdeps/x86_64/bits/link.h: Renamed to ...
15239         * sysdeps/x86/bits/link.h: This.
15240         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
15241         * sysdeps/x86/bits/linkmap.h: This.
15243         * sysdeps/i386/bits/endian.h: Removed.
15244         * sysdeps/x86_64/bits/endian.h: Renamed to ...
15245         * sysdeps/x86/bits/endian.h: This.
15247         * sysdeps/i386/bits/byteswap.h: Removed.
15248         * sysdeps/i386/bits/byteswap-16.h: Likewise.
15249         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
15250         * sysdeps/x86/bits/byteswap.h: This.
15251         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
15252         * sysdeps/x86/bits/byteswap-16.h: This.
15253         * sysdeps/i386/Implies: Add x86.
15254         * sysdeps/x86_64/Implies: Likewise.
15256 2012-05-30  David S. Miller  <davem@davemloft.net>
15258         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
15259         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
15260         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
15261         (FP_TRAPPING_EXCEPTIONS): Define.
15262         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
15263         (FP_TRAPPING_EXCEPTIONS): Define.
15264         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
15265         subnormals only when inexact has been signalled or underflow
15266         exceptions are enabled.
15267         (_FP_PACK_CANONICAL): Likewise.
15269 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
15271         [BZ #14183]
15272         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
15273         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
15275 2012-05-30  Richard Henderson  <rth@twiddle.net>
15277         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
15278         with #ifndef NOT_IN_libc.
15280         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
15281         marked to avoid plt entry.
15283 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
15285         [BZ #14112]
15286         * Makeconfig (default-abi): New macro.
15287         (abi-includes): Likewise.
15288         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
15289         $(abi-$(default-abi)-lib-soname) for soname if defined.
15290         ($(common-objpfx)gnu/lib-names.stmp): Generate from
15291         abi-variants.
15292         * Makefile (installed-stubs): Likewise.
15293         * include/stubs-biarch.h: Removed.
15294         * scripts/lib-names.awk: Only handle one library at a time.
15295         * scripts/soversions.awk: Remove WORDSIZE support.
15296         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
15297         entries.
15298         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
15299         Removed.
15300         (syscall-list-default-condition): Likewise.
15301         (syscall-list-default-condition): Likewise.
15302         (syscall-list-includes): Likewise.
15303         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
15304         syscall-list-* with abi-*.  Handle undefined abi-variants.
15305         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
15306         * sysdeps/unix/sysv/linux/i386/Implies: New file.
15307         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
15308         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
15309         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
15310         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
15311         Removed.
15312         (syscall-list-32-options): Likewise.
15313         (syscall-list-32-condition): Likewise.
15314         (syscall-list-64-options): Likewise.
15315         (syscall-list-64-condition): Likewise.
15316         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
15317         macro.
15318         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
15319         Renamed to ...
15320         (abi-*): This.
15321         (abi-64-ld-soname): New macro.
15322         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
15323         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
15324         Renamed to ...
15325         (abi-*): This.
15326         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
15327         * sysdeps/x86_64/x32/shlib-versions: Likewise.
15329 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
15331         * sysdeps/unix/sysv/linux/kernel-features.h
15332         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
15333         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
15334         include <kernel-features.h>.
15335         [!__NR_ftruncate64]: Remove conditional code.
15336         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
15337         [__NR_ftruncate64]: Make code unconditional.
15338         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
15339         * sysdeps/unix/sysv/linux/truncate64.c: Do not
15340         include <kernel-features.h>.
15341         [!__NR_ftruncate64]: Remove conditional code.
15342         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
15343         [__NR_ftruncate64]: Make code unconditional.
15344         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
15345         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
15346         include <kernel-features.h>.
15347         [!__NR_ftruncate64]: Remove conditional code.
15348         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
15349         [__NR_ftruncate64]: Make code unconditional.
15350         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
15351         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
15352         include <kernel-features.h>.
15353         [!__NR_ftruncate64]: Remove conditional code.
15354         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
15355         [__NR_ftruncate64]: Make code unconditional.
15356         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
15358         * configure.in (libc_cv_fpie): Weaken to a compile test using
15359         LIBC_TRY_CC_OPTION.
15360         * configure: Regenerated.
15362 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
15364         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
15365         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
15366         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
15367         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
15368         Refreshed.
15369         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
15370         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
15371         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
15372         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
15373         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
15374         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
15375         Refreshed.
15377 2012-05-27  David S. Miller  <davem@davemloft.net>
15379         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
15380         (___Q_zero): New.
15381         (__Q_simulate_exceptions): Return void.  Change to simulate
15382         exceptions by writing into the %fsr.
15383         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
15384         (__Qp_handle_exceptions): Likewise.
15385         (numbers): Delete.
15386         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
15387         __Qp_handle_exceptions.
15388         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
15389         __Qp_handle_exceptions.
15390         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
15391         as unused and give dummy FP_RND_NEAREST initializer.
15392         (FP_INHIBIT_RESULTS): Define.
15393         (___Q_simulate_exceptions): Update declaration.
15394         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
15395         formatting.
15396         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
15397         as unused and give dummy FP_RND_NEAREST initializer.
15398         (__Qp_handle_exceptions): Update declaration.
15399         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
15400         formatting.
15402 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
15404         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
15405         the temporary FPU control word.
15406         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
15407         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
15408         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
15409         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
15410         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
15411         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
15412         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
15413         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
15414         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
15415         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
15416         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
15418 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
15420         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
15421         fields.
15423 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
15425         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
15426         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
15427         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
15428         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
15429         Likewise.
15430         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
15431         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
15432         Likewise.
15434 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
15436         * po/h.po: Update from translation team.
15438 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
15440         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
15442         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
15443         handling of denormals.
15444         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
15445         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
15446         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
15447         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
15448         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
15449         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
15450         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
15451         Likewise.
15453 2012-05-26  Marek Polacek  <polacek@redhat.com>
15455         [BZ #14152]
15456         * math/libm-test.inc (fma_test): Don't always expect underflow
15457         exception.
15459 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
15461         [BZ #12416]
15462         * elf/tst-execstack.c: Include stackinfo.h.
15463         (do_test): Adjust test case to ensure that pthread_getattr_np
15464         behaviour remains the same after marking stack executable.
15466 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
15468         * sysdeps/unix/sysv/linux/kernel-features.h
15469         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
15470         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
15471         kernel-features.h.
15472         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
15473         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
15474         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
15475         kernel-features.h.
15476         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
15477         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
15479 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
15481         * configure.in: Define the default includes to being none.
15482         * configure: Regenerated.
15484 2012-05-25  Roland McGrath  <roland@hack.frob.com>
15486         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
15487         * sysdeps/x86_64/setjmp.S: Likewise.
15488         * sysdeps/i386/bsd-setjmp.S: Likewise.
15489         * sysdeps/i386/bsd-_setjmp.S: Likewise.
15490         * sysdeps/i386/setjmp.S: Likewise.
15491         * sysdeps/i386/__longjmp.S: Likewise.
15492         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
15493         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
15495         * include/stap-probe.h: New file.
15496         * configure.in: Handle --enable-systemtap.
15497         * configure: Regenerated.
15498         * config.h.in (USE_STAP_PROBE): New #undef.
15499         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
15500         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
15501         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
15503 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
15505         [BZ #13717]
15506         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
15507         to 2.4.0 where earlier.
15508         * sysdeps/unix/sysv/linux/configure: Regenerated.
15509         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
15510         <kernel-features.h>.
15511         [__ASSUME_32BITUIDS]: Make code unconditional.
15512         [!__ASSUME_32BITUIDS]: Remove conditional code.
15513         * sysdeps/unix/sysv/linux/i386/fchown.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/fchownat.c (fchownat)
15518         [__ASSUME_32BITUIDS]: Make code unconditional.
15519         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
15520         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
15521         <kernel-features.h>.
15522         [__ASSUME_32BITUIDS]: Make code unconditional.
15523         [!__ASSUME_32BITUIDS]: Remove conditional code.
15524         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
15525         <kernel-features.h>.
15526         [__ASSUME_32BITUIDS]: Make code unconditional.
15527         [!__ASSUME_32BITUIDS]: Remove conditional code.
15528         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
15529         <kernel-features.h>.
15530         [__ASSUME_32BITUIDS]: Make code unconditional.
15531         [!__ASSUME_32BITUIDS]: Remove conditional code.
15532         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
15533         <kernel-features.h>.
15534         [__ASSUME_32BITUIDS]: Make code unconditional.
15535         [!__ASSUME_32BITUIDS]: Remove conditional code.
15536         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
15537         <kernel-features.h>.
15538         [__ASSUME_32BITUIDS]: Make code unconditional.
15539         [!__ASSUME_32BITUIDS]: Remove conditional code.
15540         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
15541         <kernel-features.h>.
15542         [__ASSUME_32BITUIDS]: Make code unconditional.
15543         [!__ASSUME_32BITUIDS]: Remove conditional code.
15544         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
15545         <kernel-features.h>.
15546         [__ASSUME_32BITUIDS]: Make code unconditional.
15547         [!__ASSUME_32BITUIDS]: Remove conditional code.
15548         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
15549         <kernel-features.h>.
15550         [__ASSUME_32BITUIDS]: Make code unconditional.
15551         [!__ASSUME_32BITUIDS]: Remove conditional code.
15552         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
15553         <kernel-features.h>.
15554         [__ASSUME_32BITUIDS]: Make code unconditional.
15555         [!__ASSUME_32BITUIDS]: Remove conditional code.
15556         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
15557         <kernel-features.h>.
15558         [__ASSUME_32BITUIDS]: Make code unconditional.
15559         [!__ASSUME_32BITUIDS]: Remove conditional code.
15560         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
15561         <kernel-features.h>.
15562         [__NR_setresgid] (__setresgid): Do not declare.
15563         [__ASSUME_32BITUIDS]: Make code unconditional.
15564         [!__ASSUME_32BITUIDS]: Remove conditional code.
15565         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
15566         <kernel-features.h>.
15567         [__NR_setresuid] (__setresuid): Do not declare.
15568         [__ASSUME_32BITUIDS]: Make code unconditional.
15569         [!__ASSUME_32BITUIDS]: Remove conditional code.
15570         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
15571         <kernel-features.h>.
15572         [__ASSUME_32BITUIDS]: Make code unconditional.
15573         [!__ASSUME_32BITUIDS]: Remove conditional code.
15574         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
15575         <kernel-features.h>.
15576         [__ASSUME_32BITUIDS]: Make code unconditional.
15577         [!__ASSUME_32BITUIDS]: Remove conditional code.
15578         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
15579         <kernel-features.h>.
15580         [__ASSUME_32BITUIDS]: Make code unconditional.
15581         [!__ASSUME_32BITUIDS]: Remove conditional code.
15582         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
15583         <kernel-features.h>.
15584         [__ASSUME_32BITUIDS]: Make code unconditional.
15585         [!__ASSUME_32BITUIDS]: Remove conditional code.
15586         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
15587         <kernel-features.h>.
15588         [__ASSUME_32BITUIDS]: Make code unconditional.
15589         [!__ASSUME_32BITUIDS]: Remove conditional code.
15590         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
15591         <kernel-features.h>.
15592         [__ASSUME_32BITUIDS]: Make code unconditional.
15593         [!__ASSUME_32BITUIDS]: Remove conditional code.
15594         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
15595         <kernel-features.h>.
15596         [__ASSUME_32BITUIDS]: Make code unconditional.
15597         [!__ASSUME_32BITUIDS]: Remove conditional code.
15598         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
15599         <kernel-features.h>.
15600         [__ASSUME_32BITUIDS]: Make code unconditional.
15601         [!__ASSUME_32BITUIDS]: Remove conditional code.
15602         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
15603         <kernel-features.h>.
15604         [__ASSUME_32BITUIDS]: Make code unconditional.
15605         [!__ASSUME_32BITUIDS]: Remove conditional code.
15606         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
15607         <kernel-features.h>.
15608         [__ASSUME_32BITUIDS]: Make code unconditional.
15609         [!__ASSUME_32BITUIDS]: Remove conditional code.
15610         * sysdeps/unix/sysv/linux/kernel-features.h
15611         (__ASSUME_SETRESUID_SYSCALL): Remove.
15612         (__ASSUME_SETRESGID_SYSCALL): Likewise.
15613         (__ASSUME_32BITUIDS): Likewise.
15614         (__ASSUME_LDT_WORKS): Likewise.
15615         (__ASSUME_O_DIRECTORY): Likewise.
15616         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
15617         architecture but not kernel version.
15618         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
15619         (__ASSUME_MMAP2_SYSCALL): Likewise.
15620         (__ASSUME_STAT64_SYSCALL): Likewise.
15621         (__ASSUME_IPC64): Likewise.
15622         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
15623         <kernel-features.h>.
15624         [__ASSUME_32BITUIDS]: Make code unconditional.
15625         [!__ASSUME_32BITUIDS]: Remove conditional code.
15626         * sysdeps/unix/sysv/linux/opendir.c: Do not include
15627         <kernel-features.h>.
15628         [__ASSUME_O_DIRECTORY]: Make code unconditional.
15629         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
15630         132096]: Remove conditional code.
15631         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
15632         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
15633         <kernel-features.h>.
15634         [__ASSUME_32BITUIDS]: Make code unconditional.
15635         [!__ASSUME_32BITUIDS]: Remove conditional code.
15636         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
15637         <kernel-features.h>.
15638         [__ASSUME_32BITUIDS]: Make code unconditional.
15639         [!__ASSUME_32BITUIDS]: Remove conditional code.
15640         * sysdeps/unix/sysv/linux/setegid.c: Do not include
15641         <kernel-features.h>.
15642         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
15643         unconditional.
15644         (__setresgid): Do not declare.
15645         [__ASSUME_32BITUIDS]: Make code unconditional.
15646         [!__ASSUME_32BITUIDS]: Remove conditional code.
15647         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
15648         <kernel-features.h>.
15649         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
15650         unconditional.
15651         (__setresuid): Do not declare.
15652         [__ASSUME_32BITUIDS]: Make code unconditional.
15653         [!__ASSUME_32BITUIDS]: Remove conditional code.
15654         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
15655         <kernel-features.h>.
15656         [__ASSUME_32BITUIDS]: Make code unconditional.
15657         [!__ASSUME_32BITUIDS]: Remove conditional code.
15658         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
15659         <kernel-features.h>.
15660         [__ASSUME_32BITUIDS]: Make code unconditional.
15661         [!__ASSUME_32BITUIDS]: Remove conditional code.
15663 2012-05-25  Richard Henderson  <rth@twiddle.net>
15665         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
15666         dl_hwcap to ifunc resolver.
15667         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
15668         elf_ifunc_invoke.
15669         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
15670         dl_hwcap to ifunc resolver.
15671         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
15673 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
15675         [BZ #14153]
15676         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
15677         for |x| <= 2**-26, not 2**-57.
15678         * math/libm-test.inc (acos_test): Do not allow spurious underflow
15679         exception.
15681 2012-05-24  Jeff Law  <law@redhat.com>
15683         * stdio-common/Makefile (tests): Add bug25.
15684         * stdio-common/bug25.c: New test.
15686 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
15688         [BZ #13576]
15689         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
15690         multiple of MALLOC_ALIGNMENT in size.
15691         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
15693 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
15695         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
15696         Require >= 256.
15697         (FILENAME_MAX): Use macro-int-constant.
15698         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
15699         (_IOFBF): Use macro-int-constant.
15700         (_IOLBF): Likewise.
15701         (_IONBF): Likewise.
15702         (SEEK_CUR): Likewise.
15703         (SEEK_END): Likewise.
15704         (SEEK_SET): Likewise.
15705         (TMP_MAX): Likewise.
15706         (EOF): Use macro-int-constant.  Require < 0.
15707         (NULL): Use macro-constant.  Require == 0.
15708         (stdin): Require type to be FILE *.
15709         (stdout): Likewise.
15710         (stderr): Likewise.
15711         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
15712         macro-int-constant.
15713         (EXIT_SUCCESS): Likewise.
15714         (NULL): Use macro-constant.  Require == 0.
15715         (RAND_MAX): Use macro-int-constant.
15716         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
15717         [C99-based standards] (strtof): Require function.
15718         [C99-based standards] (strtold): Likewise.
15719         [C99-based standards] (strtoll): Likewise.
15720         [C99-based standards] (strtoull): Likewise.
15721         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
15722         [ISO || ISO99 || ISO11] (limits.h): Likewise.
15723         [ISO || ISO99 || ISO11] (math.h): Likewise.
15724         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
15725         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
15726         [ISO || ISO99 || ISO11] (*_t): Do not allow.
15728 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
15730         [BZ #14132]
15731         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
15732         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
15733         * intl/dgettext.c (DCGETTEXT): Likewise.
15734         * intl/gettext.c (DCGETTEXT): Likewise.
15735         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
15736         * posix/regex_internal.h (gettext): Likewise.
15737         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
15738         Remove declaration.
15739         * include/argz.h (__argz_count_internal)
15740         (__argz_stringify_internal): Remove declaration.
15741         (__argz_count, __argz_stringify): Declare hidden proto.
15742         * intl/dcgettext.c: Remove use of INTDEF.
15743         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
15744         * string/argz-stringify.c: Likewise.
15745         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
15746         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
15747         Declare hidden proto.
15748         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
15749         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
15750         Declare hidden proto.
15751         * include/stdio.h (__asprintf_internal): Don't declare.
15752         (__asprintf): Don't define as macro.  Declare hidden proto.
15753         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
15754         (__fsetlocking): Declare hidden proto.
15755         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
15756         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
15757         hidden proto.
15758         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
15759         (_IO_setlinebuf): Remove use of INTUSE.
15760         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
15761         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
15762         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
15763         Remove declaration.
15764         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
15765         (_IO_do_flush): Remove use of INTUSE.
15766         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
15767         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
15768         (_IO_adjust_column, _IO_least_wmarker)
15769         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
15770         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
15771         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
15772         (_IO_default_doallocate, _IO_wdefault_doallocate)
15773         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
15774         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
15775         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
15776         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
15777         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
15778         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
15779         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
15780         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
15781         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
15782         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
15783         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
15784         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
15785         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
15786         proto.
15787         (_IO_flush_all_internal, _IO_adjust_column_internal)
15788         (_IO_default_uflow_internal, _IO_default_finish_internal)
15789         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
15790         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
15791         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
15792         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
15793         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
15794         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
15795         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
15796         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
15797         (_IO_file_close_internal, _IO_file_close_it_internal)
15798         (_IO_file_underflow_internal, _IO_file_overflow_internal)
15799         (_IO_file_init_internal, _IO_file_attach_internal)
15800         (_IO_file_fopen_internal, _IO_file_read_internal)
15801         (_IO_file_sync_internal, _IO_file_seek_internal)
15802         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
15803         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
15804         (_IO_str_underflow_internal, _IO_str_overflow_internal)
15805         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
15806         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
15807         (_IO_list_all_internal, _IO_link_in_internal)
15808         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
15809         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
15810         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
15811         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
15812         (_IO_do_write_internal, _IO_padn_internal)
15813         (_IO_getline_info_internal, _IO_getline_internal)
15814         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
15815         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
15816         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
15817         (_IO_vfscanf_internal, _IO_vfprintf_internal)
15818         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
15819         (_IO_init_internal, _IO_un_link_internal): Don't declare.
15820         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
15821         with libc_hidden_ver, remove use of INTUSE.
15822         * libio/genops.c: Likewise.
15823         * libio/freopen.c: Likewise.
15824         * libio/freopen64.c: Likewise.
15825         * libio/iofclose.c: Likewise.
15826         * libio/iofdopen.c: Likewise.
15827         * libio/iofflush.c: Likewise.
15828         * libio/iofflush_u.c: Likewise.
15829         * libio/iofgets.c: Likewise.
15830         * libio/iofgets_u.c: Likewise.
15831         * libio/iofopen.c: Likewise.
15832         * libio/iofopncook.c: Likewise.
15833         * libio/iofread.c: Likewise.
15834         * libio/iofread_u.c: Likewise.
15835         * libio/ioftell.c: Likewise.
15836         * libio/iofwrite.c: Likewise.
15837         * libio/iogetline.c: Likewise.
15838         * libio/iogets.c: Likewise.
15839         * libio/iogetwline.c: Likewise.
15840         * libio/iopadn.c: Likewise.
15841         * libio/iopopen.c: Likewise.
15842         * libio/ioseekoff.c: Likewise.
15843         * libio/ioseekpos.c: Likewise.
15844         * libio/iosetbuffer.c: Likewise.
15845         * libio/iosetvbuf.c: Likewise.
15846         * libio/ioungetc.c: Likewise.
15847         * libio/ioungetwc.c: Likewise.
15848         * libio/iovdprintf.c: Likewise.
15849         * libio/iovsprintf.c: Likewise.
15850         * libio/iovsscanf.c: Likewise.
15851         * libio/memstream.c: Likewise.
15852         * libio/obprintf.c: Likewise.
15853         * libio/oldfileops.c: Likewise.
15854         * libio/oldiofclose.c: Likewise.
15855         * libio/oldiofdopen.c: Likewise.
15856         * libio/oldiofopen.c: Likewise.
15857         * libio/oldiopopen.c: Likewise.
15858         * libio/oldstdfiles.c: Likewise.
15859         * libio/putc.c: Likewise.
15860         * libio/setbuf.c: Likewise.
15861         * libio/setlinebuf.c: Likewise.
15862         * libio/stdfiles.c: Likewise.
15863         * libio/strops.c: Likewise.
15864         * libio/vasprintf.c: Likewise.
15865         * libio/vscanf.c: Likewise.
15866         * libio/vsnprintf.c: Likewise.
15867         * libio/vswprintf.c: Likewise.
15868         * libio/wfiledoalloc.c: Likewise.
15869         * libio/wfileops.c: Likewise.
15870         * libio/wgenops.c: Likewise.
15871         * libio/wmemstream.c: Likewise.
15872         * libio/wstrops.c: Likewise.
15873         * libio/__fpurge.c: Likewise.
15874         * libio/__fsetlocking.c: Likewise.
15875         * assert/assert.c: Likewise.
15876         * debug/fgets_chk.c: Likewise.
15877         * debug/fgets_u_chk.c: Likewise.
15878         * debug/fread_chk.c: Likewise.
15879         * debug/fread_u_chk.c: Likewise.
15880         * debug/gets_chk.c: Likewise.
15881         * debug/obprintf_chk.c: Likewise.
15882         * debug/vasprintf_chk.c: Likewise.
15883         * debug/vdprintf_chk.c: Likewise.
15884         * debug/vsnprintf_chk.c: Likewise.
15885         * debug/vsprintf_chk.c: Likewise.
15886         * malloc/mtrace.c: Likewise.
15887         * misc/error.c: Likewise.
15888         * misc/syslog.c: Likewise.
15889         * stdio-common/asprintf.c: Likewise.
15890         * stdio-common/fxprintf.c: Likewise.
15891         * stdio-common/getw.c: Likewise.
15892         * stdio-common/isoc99_fscanf.c: Likewise.
15893         * stdio-common/isoc99_scanf.c: Likewise.
15894         * stdio-common/isoc99_vfscanf.c: Likewise.
15895         * stdio-common/isoc99_vscanf.c: Likewise.
15896         * stdio-common/isoc99_vsscanf.c: Likewise.
15897         * stdio-common/printf-prs.c: Likewise.
15898         * stdio-common/printf_fp.c: Likewise.
15899         * stdio-common/printf_fphex.c: Likewise.
15900         * stdio-common/printf_size.c: Likewise.
15901         * stdio-common/putw.c: Likewise.
15902         * stdio-common/scanf.c: Likewise.
15903         * stdio-common/sprintf.c: Likewise.
15904         * stdio-common/tmpfile.c: Likewise.
15905         * stdio-common/vfprintf.c: Likewise.
15906         * stdio-common/vfscanf.c: Likewise.
15907         * stdlib/strfmon_l.c: Likewise.
15908         * sunrpc/openchild.c: Likewise.
15909         * sunrpc/xdr_stdio.c: Likewise.
15910         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
15911         * sysdeps/mach/hurd/tmpfile.c: Likewise.
15913 2012-05-24  Roland McGrath  <roland@hack.frob.com>
15915         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
15917         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
15918         in the third column, to generate for the shared library an IFUNC
15919         that uses _dl_vdso_vsym.
15920         * Makerules (COMPILE.c, compile-stdin.c): New variables.
15921         * Makeconfig (object-suffixes-noshared): New variable.
15923         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
15924         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
15925         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
15926         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
15928         [BZ #14132]
15929         * include/sys/time.h (__gettimeofday): Remove macro.
15930         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
15931         * time/gettimeofday.c (__gettimeofday): Remove #undef.
15932         Remove INTDEF.
15933         (__gettimeofday): Add libc_hidden_def.
15934         (gettimeofday): Add libc_hidden_weak.
15935         * sysdeps/mach/gettimeofday.c: Likewise.
15936         * sysdeps/posix/gettimeofday.c: Likewise.
15937         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
15938         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
15939         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
15940         (__gettimeofday_internal): Remove strong_alias.
15941         (__gettimeofday): Add libc_hidden_def.
15942         (gettimeofday): Add libc_hidden_weak.
15943         * sysdeps/unix/syscalls.list (gettimeofday):
15944         Remove __gettimeofday_internal alias.
15946 2012-05-24  Daniel Jacobowitz  <drow@false.org>
15947             H.J. Lu  <hongjiu.lu@intel.com>
15949         [BZ #12495]
15950         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
15951         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
15952         (largebin_index_32_big): New.
15953         (largebin_index): Use it for 16-byte alignment.
15954         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
15955         correction with front_misalign.
15957 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
15959         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
15960         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
15961         Likewise.
15962         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
15963         Likewise.
15964         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
15965         Likewise.
15966         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
15967         Likewise.
15968         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
15969         Likewise.
15970         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
15971         Likewise.
15972         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
15973         Likewise.
15974         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
15975         Likewise.
15976         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
15977         Likewise.
15978         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
15979         Likewise.
15980         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
15981         Likewise.
15982         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
15983         Likewise.
15985         * scripts/data/c++-types-x32-linux-gnu.data: New file.
15986         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
15988 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
15990         [BZ #10846]
15991         [BZ #14036]
15992         * math/libm-test.inc (exp_test): Add test from bug 14036.
15993         (pow_test): Add test from bug 10846.
15995         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
15996         and other flags.
15997         (special_function): Do not include flags in test name.
15998         (parse_args): Likewise.
15999         * sysdeps/i386/fpu/libm-test-ulps: Update.
16000         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
16001         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
16002         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
16003         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16005         * math/gen-libm-test.pl (%beautify): Add entries for underflow
16006         exceptions.
16007         * math/libm-test.inc ("Philosophy"): Update comment about
16008         exception testing.
16009         (UNDERFLOW_EXCEPTION): New macro.
16010         (UNDERFLOW_EXCEPTION_OK): Likewise.
16011         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
16012         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
16013         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
16014         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
16015         (INVALID_EXCEPTION_OK): Update value.
16016         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
16017         (OVERFLOW_EXCEPTION_OK): Likewise.
16018         (IGNORE_ZERO_INF_SIGN): Likewise.
16019         (test_exceptions): Handle underflow exceptions.
16020         (acos_test): Update for underflow exception expectations.
16021         (cexp_test): Likewise.
16022         (clog_test): Likewise.
16023         (clog10_test): Likewise.
16024         (csqrt_test): Likewise.
16025         (ctan_test): Likewise.
16026         (ctanh_test): Likewise.
16027         (exp_test): Likewise.
16028         (exp10_test): Likewise.
16029         (exp2_test): Likewise.
16030         (expm1_test): Likewise.
16031         (fma_test): Likewise.
16032         (j0_test): Likewise.
16033         (jn_test): Likewise.
16034         (nexttoward_test): Likewise.
16035         (pow_test): Likewise.
16036         (scalbn_test): Likewise.
16037         (scalbln_test): Likewise.
16038         (tan_test): Likewise.
16039         (y1_test): Likewise.
16040         * sysdeps/i386/fpu/libm-test-ulps: Update.
16041         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16043 2012-05-23  David S. Miller  <davem@davemloft.net>
16045         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
16046         (__libc_sigaction): Remove unused local variables.
16048 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
16050         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
16052 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
16054         mktime: avoid signed integer overflow
16055         * time/mktime.c (__mktime_internal): Do not mishandle the case
16056         where diff == INT_MIN.
16058         mktime: simplify computation of average
16059         * time/mktime.c (ranged_convert): Use new time_t_avg function
16060         instead of rolling our own (probably-slower) code.
16062         mktime: do not assume signed right shift propagates sign bit
16063         * time/mktime.c (isdst_differ): New static function.
16064         (__mktime_internal): No need to normalize tm_isdst now.
16065         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
16066         tm_isdst values.
16068         mktime: merge another wrapv change from gnulib
16069         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
16070         from some compilers.
16072         mktime: remove incorrect attempt at unusual arithmetics
16073         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
16074         The code didn't really work on such machines anyway.
16075         (TYPE_MINIMUM): Assume two's complement.
16076         (twos_complement_arithmetic): Verify that long_int and time_t
16077         are two's complement (or unsigned, in the latter case).
16079         mktime: check signed shifts on long_int and time_t, too
16080         * time/mktime.c (SHR): Check that shifts work as desired
16081         on the types long_int and time_t too, as SHR is used on
16082         such types.
16084         mktime: do not assume 'long' is wide enough
16085         * time/mktime.c (verify): Move decl up.
16086         (long_int): New type.
16087         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
16088         to remove assumption in the code that 'long' is wide enough to
16089         store year values.  This assumption is not true on x32 and on
16090         some non-glibc platforms.
16092         mktime: merge wrapv change from gnulib
16093         * time/mktime.c (WRAPV): New macro.
16094         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
16095         (guess_time_tm, __mktime_internal): Do not assume that signed
16096         integer overflow wraps around; modern compilers generate code
16097         where this assumption is no longer valid.
16099 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
16101         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
16102         Replace "jmp L(pseudo_end)" with "ret".
16103         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
16104         Likewise.
16106 2012-05-23  Andreas Jaeger  <aj@suse.de>
16108         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
16109         * sysdeps/unix/sysv/linux/poll.c: Remove file.
16111 2012-05-23  Andreas Jaeger  <aj@suse.de>
16112             Maximilian Attems  <max@stro.at>
16114         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
16115         New macros.
16117 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
16119         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
16120         code so that pseudo_end is just ret and the stack pointer is
16121         correct also for static library in error case.
16123 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
16125         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
16126         move to syscalls.list.
16127         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
16128         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
16129         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
16130         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
16132         * manual/install.texi (Running make install): Do not mention Linux
16133         kernel version for which pt_chown is not needed.
16134         (Linux): Do not mention problems with nscd with 2.0 kernels.
16135         * INSTALL: Regenerated.
16137 2012-05-23  Andreas Jaeger  <aj@suse.de>
16139         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
16140         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
16141         macro.
16142         * sysdeps/unix/sysv/linux/s390/bits/mman.h
16143         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
16144         * sysdeps/unix/sysv/linux/sh/bits/mman.h
16145         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
16146         * sysdeps/unix/sysv/linux/i386/bits/mman.h
16147         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
16148         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
16149         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
16150         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
16151         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
16152         * sysdeps/unix/sysv/linux/bits/in.h
16153         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
16155 2012-05-22  Roland McGrath  <roland@hack.frob.com>
16157         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
16158         (PREPARE_VERSION): Just use assert instead, it will be elided
16159         under [NDEBUG] anyway.
16161 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
16163         * sysdeps/unix/sysv/linux/Makefile: Include
16164         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
16165         (sysdep_routines): Remove sysctl.
16166         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
16167         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
16168         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
16169         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
16170         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
16172 2012-05-22  Andreas Jaeger  <aj@suse.de>
16174         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
16175         that pseudo_end is just ret and the stack pointer is correct also
16176         for static library in error case.
16178 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
16180         [BZ #14122]
16181         * nss/nsswitch.c (defconfig_entries): New variable.
16182         (__nss_database_lookup): Don't leak defconfig entries.
16183         (nss_parse_service_list): Don't leak on error paths.
16184         (free_database_entries): New function.
16185         (free_defconfig): New function.
16186         (free_mem): Move common code to free_database_entries.
16188 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
16190         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
16191         Add arch_prctl.
16192         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
16194         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
16195         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
16196         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
16197         New macro.
16198         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
16199         (INTERNAL_SYSCALL_TYPES): Likewise.
16200         (LOAD_ARGS_TYPES_[1-6]): Likewise.
16201         (LOAD_REGS_TYPES_[1-6]): Likewise.
16202         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
16203         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
16205 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16207         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
16208         copysignl for GLIBC_2_0.
16209         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
16210         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
16211         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
16212         logbl for GLIBC_2_0.
16213         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
16214         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
16216 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
16218         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
16219         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
16221         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
16222         Use "neg %eax".
16224         * time/mktime.c: Update copyright years.
16226 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
16228         mktime: merge comment-quoting-style change from gnulib
16229         * time/mktime.c: Quote 'like this' in comments.
16230         The GNU coding standards suggest that we no longer quote `like this',
16231         as "`" and "'" are typically rendered asymmetrically nowadays.
16232         The typical gnulib style is to quote 'like this' when quoting
16233         code, and "like this" when quoting English.
16235         * time/mktime.c (compile-command): Add "-I.".
16237         mktime: merge mktime-internal.h change from gnulib
16238         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
16240         mktime: merge time_r change from gnulib
16241         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
16243         mktime: merge DEBUG change from gnulib
16244         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
16245         case system <time.h> has a #define.
16247         mktime: merge <sys/types.h> change from gnulib
16248         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
16249         since <time.t> is now guaranteed to define time_t.
16251         mktime: merge HAVE_CONFIG_H change from gnulib
16252         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
16254 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
16256         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
16257         Use "neg %eax".
16259         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
16260         __rlim_t cast.
16261         (struct rusage): Use anonymous union to pad each field to
16262         __syscall_slong_t.
16264 2012-05-21  David S. Miller  <davem@davemloft.net>
16266         * Makefules (o-iterator): Remove .s cases.
16267         (compile-command.s): Delete.
16268         (COMPILE.s): Delete.
16269         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
16271 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
16273         * configure.in (libc_cv_predef_stack_protector): Only consider
16274         "foobar" and "__stack_chk_fail" lines in libc_undefs.
16275         * configure: Regenerated.
16277 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
16279         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
16280         New macro.  Use R*LP on int and pointer.
16281         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
16282         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
16283         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
16284         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
16286         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
16287         [__WORDSIZE_TIME64_COMPAT32] instead of
16288         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
16289         (struct utmp): Likewise.
16290         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
16291         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
16292         Renamed to ...
16293         (__WORDSIZE_TIME64_COMPAT32): This.
16294         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
16295         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
16296         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
16297         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
16298         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
16299         (__WORDSIZE_TIME64_COMPAT32): New macro.
16301 2012-05-21  Andreas Jaeger  <aj@suse.de>
16303         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
16304         only if [SHARED]. Add prototype for __wcschr_ia32.
16306 2012-05-21  Roland McGrath  <roland@hack.frob.com>
16308         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
16309         of %rbp unmolested in the jmp_buf while mangling the low bits.
16310         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
16311         unmolested high bits of %rbp while demangling the low bits.
16312         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
16314 2012-05-21  Andreas Jaeger  <aj@suse.de>
16316         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
16317         * sunrpc/svc_simple.c: Use it for registerrpc.
16318         * sunrpc/xcrypt.c: Use it for passwd2des.
16320         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
16322 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
16324         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
16325         Don't define if [__SYSCALL_WORDSIZE != 32].
16326         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
16327         New macro.
16329 2012-05-21  Bruno Haible  <bruno@clisp.org>
16330             Andreas Jaeger  <aj@suse.de>
16332         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
16333         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
16334         inptr and inend for must_buffer_ch.
16335         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
16336         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
16337         * stdio-common/Makefile (tests): Remove bug15.
16338         (bug15-ENV): Remove macro.
16339         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
16340         anymore.
16342 2012-05-19  Andreas Jaeger  <aj@suse.de>
16343             Roland McGrath  <roland@hack.frob.com>
16345         * manual/contrib.texi: Completely rewritten. It contains now an
16346         alphabetical list of contributors and their contributions.
16348 2012-05-21  Richard Henderson  <rth@twiddle.net>
16350         * misc/getauxval.c (__getauxval): Use unsigned long int.
16351         * misc/sys/auxv.h: Include <sys/cdefs.h>.
16352         (getauxval): Use unsigned long int.
16354 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
16356         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
16358 2012-05-21  Roland McGrath  <roland@hack.frob.com>
16360         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
16361         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
16362         __alignof__ (long double).
16364 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16366         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16368 2012-05-20  Richard Henderson  <rth@twiddle.net>
16370         * misc/getauxval.c: New file.
16371         * misc/sys/auxv.h: New file.
16372         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
16373         (routines): Add getauxval.
16374         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
16375         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
16376         * elf/dl-sysdep.c (_dl_auxv): Remove.
16377         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
16378         * elf/dl-support.c (_dl_auxv): New variable.
16379         (_dl_aux_init): Initialize it.
16380         * manual/startup.texi (Auxiliary Vector): New node.
16381         * sysdeps/generic/bits/hwcap.h: New file.
16382         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
16383         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
16384         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
16385         * sysdeps/sparc/sysdep.h: ... here.  Include it.
16386         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
16387         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
16388         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
16389         Update.
16390         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
16391         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
16392         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
16393         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
16394         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
16395         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
16396         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
16397         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
16399 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16401         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16403 2012-05-19  David S. Miller  <davem@davemloft.net>
16405         * sysdeps/sparc/fpu/libm-test-ulps: Update.
16407 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
16409         [BZ #14123]
16410         * math/s_ccosh.c: Include <float.h>
16411         (__ccosh): Avoid internal overflow calculating sinh and cosh
16412         values before multiplying by sin and cos values.
16413         * math/s_ccoshf.c: Likewise.
16414         * math/s_ccoshl.c: Likewise.
16415         * math/s_csin.c: Likewise.
16416         * math/s_csinf.c: Likewise.
16417         * math/s_csinl.c: Likewise.
16418         * math/s_csinh.c: Likewise.
16419         * math/s_csinhf.c: Likewise.
16420         * math/s_csinhl.c: Likewise.
16421         * math/libm-test.inc (ccos_test): Add more tests.
16422         (ccosh_test): Likewise.
16423         (csin_test): Likewise.
16424         (csinh_test): Likewise.
16425         * sysdeps/i386/fpu/libm-test-ulps: Update.
16426         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16428 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
16430         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
16431         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
16433         * sysdeps/x86_64/x32/_itoa.h: Add comment.
16435 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
16437         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
16438         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
16439         * sysdeps/powerpc/soft-fp/Versions: Likewise.
16440         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
16441         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
16442         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
16443         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
16444         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
16445         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
16446         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
16447         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
16448         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
16449         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
16450         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
16451         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
16452         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
16453         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
16454         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
16455         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
16456         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
16457         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
16458         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
16459         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
16460         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
16461         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
16462         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
16463         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
16464         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
16465         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
16466         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
16467         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
16469 2012-05-18  Andreas Jaeger  <aj@suse.de>
16471         * csu/.gitignore: Delete.
16473 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
16475         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
16476         (timex): Use __syscall_slong_t.
16478 2012-05-18  Andreas Jaeger  <aj@suse.de>
16479             Carlos O'Donell  <carlos_odonell@mentor.com>
16481         * manual/install.texi (Configuring and compiling): Update
16482         description about files modified in the source directory.
16483         * INSTALL: Regenerated.
16485 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
16487         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
16488         value.  Use "or" to set return value to -1.
16489         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
16490         negate return value.
16492 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
16494         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
16495         CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
16496         failure if the compiler has Graphite support disabled.
16497         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
16498         Likewise.
16499         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
16500         CFLAGS-memmove.c): Likewise.
16501         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
16502         Likewise.
16504 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
16506         * sysdeps/x86_64/x32/_itoa.h: New file.
16508         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
16509         getdents system call only if kernel and user dirents have the
16510         same d_ino and d_off.
16512         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
16513         LLONG_MAX != LONG_MAX.
16514         (_itoa_word): Use _ITOA_WORD_TYPE on value.
16515         (_fitoa_word): Likewise.
16517         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
16518         years.
16519         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
16520         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
16521         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
16523         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
16524         include <bits/wordsize.h>.  Check __x86_64__ instead of
16525         __WORDSIZE.
16526         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
16527         if __x86_64__ is defined.  Use anonymous union on fpstate.
16529         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
16530         anonymous union.
16532 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
16534         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
16535         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
16536         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
16537         Refer to _rtld_local_ro instead of _rtld_global_ro.
16538         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
16539         Likewise.
16540         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
16541         Likewise.
16542         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
16543         Likewise.
16544         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
16545         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
16546         of _rtld_global, and rtld_progname instead of _dl_argv[0].
16548         * sysdeps/powerpc/powerpc32/dl-machine.c
16549         (__elf_machine_runtime_setup) [PROF]: Don't reference
16550         _dl_prof_resolve.
16552 2012-05-18  Andreas Jaeger  <aj@suse.de>
16554         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
16555         function only available for GCCs before 3.4 since GCC 3.4
16556         introduced a builtin.
16557         (lrint): Likewise.
16558         (llrintf): Likewise.
16559         (llrint): Likewise.
16560         (fmaxf): Likewise.
16561         (fmax): Likewise.
16562         (fminf): Likewise.
16563         (fmin): Likewise.
16564         (rint): Likewise.
16565         (rintf): Likewise.
16566         (nearbyint): Likewise.
16567         (nearbyintf): Likewise.
16568         (ceil): Likewise.
16569         (ceilf): Likewise.
16570         (floor): Likewise.
16571         (floorf): Likewise.
16573 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
16575         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
16576         on both fields and cast pointer to __syscall_ulong_t.
16578         * bits/types.h (__fsword_t): New type.
16579         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
16580         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
16581         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
16582         (__FSWORD_T_TYPE): Likewise.
16583         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
16584         (__FSWORD_T_TYPE): Likewise.
16585         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
16586         (__FSWORD_T_TYPE): Likewise.
16587         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
16588         (__FSWORD_T_TYPE): Likewise.
16589         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
16590         __SWORD_TYPE with __fsword_t.
16591         (statfs64): Likewise.
16593 2012-05-17  David S. Miller  <davem@davemloft.net>
16595         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
16597 2012-05-17  Andreas Jaeger  <aj@suse.de>
16599         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
16600         warning.
16602 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
16604         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
16606 2012-05-17  Andreas Jaeger  <aj@suse.de>
16608         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
16609         when it is used.
16611 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
16613         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
16615 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
16617         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
16618         * sysdeps/x86_64/tst-mallocalign1.c: New file.
16620 2012-05-17  Andreas Jaeger  <aj@suse.de>
16621             Carlos O'Donell  <carlos_odonell@mentor.com>
16623         [BZ #14059]
16624         * sysdeps/x86_64/multiarch/init-arch.h
16625         (bit_YMM_Usable): Rename to...
16626         (bit_AVX_Usable): ... this.
16627         (bit_FMA4_Usable): New macro.
16628         (bit_XMM_state): New macro.
16629         (bit_YMM_state): New macro.
16630         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
16631         [__ASSEMBLER__] (index_AVX_Usable): ... this.
16632         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
16633         (CPUID_OSXSAVE): New macro.
16634         (CPUID_AVX): New macro.
16635         (CPUID_FMA4): New macro.
16636         (index_YMM_Usable): Rename to...
16637         (index_AVX_Usable): ... this.
16638         (HAS_AVX): Use HAS_ARCH_FEATURE.
16639         (HAS_FMA4): Likewise.
16640         (HAS_YMM_USABLE): Remove.
16641         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
16642         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
16643         are present.
16644         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
16645         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
16646         * sysdeps/x86_64/multiarch/Makefile: Likewise.
16647         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
16648         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
16650 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
16652         * math/libm-test.c: Support platforms without multiple rounding modes.
16653         * math/bug-nextafter.c: Support platforms without FP exceptions.
16654         * math/bug-nexttoward.c: Likewise.
16655         * math/test-fenv.c: Likewise.
16656         * math/test-misc.c: Likewise.
16657         * stdlib/bug-getcontext.c: Likewise.
16659 2012-05-17  Andreas Jaeger  <aj@suse.de>
16661         * manual/examples/search.c (critter_cmp): Change signature to
16662         avoid warnings.
16663         * manual/string.texi (Collation Functions): Likewise.
16665 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
16667         * bits/types.h: Fold copyright years.
16668         * bits/typesizes.h: Likewise.
16669         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
16670         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
16671         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
16672         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
16673         * time/time.h: Likewise.
16675 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
16677         [BZ #208]
16678         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
16679         in instead of returning them.  Return void.
16680         (__libc_mallinfo): Accumulate over all arenas.
16681         (__malloc_stats): Adjust for change in int_mallinfo interface.
16683 2012-05-16  Roland McGrath  <roland@hack.frob.com>
16685         [BZ #10375]
16686         * configure.in (NM): Add AC_CHECK_TOOL for it.
16687         (libc_extra_cflags): New substituted variable.
16688         Check for -fstack-protector being used implicitly.
16689         * configure: Regenerated.
16690         * config.make.in (config-extra-cflags): New variable,
16691         gets @libc_extra_cflags@.
16692         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
16694         [BZ #10375]
16695         * configure.in: Check for _FORTIFY_SOURCE being predefined.
16696         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
16697         * configure: Regenerated.
16698         * config.make.in (CPPUNDEFS): New substituted variable.
16699         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
16700         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
16701         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
16703 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
16705         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
16706         (mq_attr): Use __syscall_slong_t.
16708 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
16710         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
16711         Check __x86_64__ instead of __WORDSIZE.
16712         (_STAT_VER_LINUX): Likewise.
16713         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
16714         __syscall_ulong_t and __syscall_slong_t.
16715         (stat64): Likewise.
16717 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
16719         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
16721 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
16723         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
16725 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
16727         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
16728         __syscall_ulong_t.
16730         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
16731         include <bits/wordsize.h>.  Check __x86_64__ instead of
16732         __WORDSIZE.
16733         (greg_t): Use "__extension__ long long int" if __x86_64__ is
16734         defined.
16735         (mcontext_t): Replace "unsigned long" with "unsigned long long".
16737         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
16738         include <bits/wordsize.h>.  Check __x86_64__ instead of
16739         __WORDSIZE.
16740         (user_regs_struct): Use "__extension__ unsigned long long"
16741         instead of "unsigned long" if __x86_64__ is defined.
16742         (user): Likewise.  Pad after pointer field if __ILP32__ is
16743         defined.
16745 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
16747         * configure.in (makeinfo): Require version 4.5 or later.  Allow
16748         versions 5 to 9.
16749         * configure: Regenerated.
16750         * manual/install.texi (texinfo): Increase version requirement to
16751         4.5 or later.
16752         * INSTALL: Regenerated.
16754         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
16756 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
16758         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
16760         * sysdeps/x86_64/x32/ffs.c: New file.
16762         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
16763         __syscall_ulong_t.
16764         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
16765         defined.  Use __syscall_ulong_t.
16766         (shminfo): Use __syscall_ulong_t.
16767         (shm_info): Likewise.
16769         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
16770         __syscall_ulong_t.
16772         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
16773         <bits/wordsize.h>.
16774         (msgqnum_t): Use __syscall_ulong_t.
16775         (msglen_t): Likewise.
16776         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
16777         __syscall_ulong_t.
16779         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
16780         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
16782         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
16784         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
16785         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
16787         * sysvipc/sys/msg.h (msgbuf): Replace long int with
16788         __syscall_slong_t.
16790         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
16791         include <bits/wordsize.h>.  Check __x86_64__ instead of
16792         __WORDSIZE.
16794         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
16795         "unsigned long long int" if __x86_64__ is defined.
16796         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
16798         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
16799         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
16800         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
16802         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
16803         <stdint.h>.
16804         (GET_PC): Cast to uintptr_t first.
16805         (GET_FRAME): Likewise.
16806         (GET_STACK): Likewise.
16808         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
16809         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
16810         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
16811         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
16812         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
16813         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
16814         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
16815         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
16816         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
16817         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
16818         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
16819         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
16820         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
16821         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
16822         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
16823         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
16824         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
16825         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
16826         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
16827         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
16828         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
16829         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
16830         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
16831         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
16832         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
16833         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
16834         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
16835         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
16836         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
16838 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
16840         * Makerules (+depfiles): Also collect depfiles from .oS in
16841         $(extra-objs).
16842         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
16843         .oS, $(libnldbl-routines)).
16845         * Makerules (native-compile-mkdep-flags): Define.
16846         * sunrpc/Makefile (extra-objs): Add $(addprefix
16847         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
16848         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
16849         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
16850         calling $(make-target-directory).
16852 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
16854         * bits/types.h (__snseconds_t): Removed.
16855         * time/time.h (struct timespec): Replace __snseconds_t with
16856         __syscall_slong_t.
16857         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
16858         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
16859         Likewise.
16860         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
16861         (__SNSECONDS_T_TYPE): Likewise.
16862         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
16863         (__SNSECONDS_T_TYPE): Likewise.
16864         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
16865         (__SNSECONDS_T_TYPE): Likewise.
16867 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
16869         * sysdeps/mach/hurd/bits/typesizes.h
16870         (__SYSCALL_SLONG_TYPE): New macro.
16871         (__SYSCALL_ULONG_TYPE): Likewise.
16873 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
16875         * bits/types.h (__syscall_slong_t): New type.
16876         (__syscall_ulong_t): Likewise.
16878         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
16879         (__SYSCALL_ULONG_TYPE): Likewise.
16880         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
16881         (__SYSCALL_SLONG_TYPE): Likewise.
16882         (__SYSCALL_ULONG_TYPE): Likewise.
16883         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
16884         (__SYSCALL_SLONG_TYPE): Likewise.
16885         (__SYSCALL_ULONG_TYPE): Likewise.
16886         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
16887         (__SYSCALL_SLONG_TYPE): Likewise.
16888         (__SYSCALL_ULONG_TYPE): Likewise.
16890 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
16892         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
16893         Add sigaltstack-offsets.sym.
16894         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
16895         <sigaltstack-offsets.h>.
16896         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
16897         longjmp_msg pointer.
16898         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
16899         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
16900         signal stack.
16901         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
16903 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
16905         * elf/stackguard-macros.h: Remove file.
16906         * sysdeps/generic/stackguard-macros.h: New file.
16907         * sysdeps/i386/stackguard-macros.h: Likewise.
16908         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
16909         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
16910         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
16911         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
16912         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
16913         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
16914         * sysdeps/x86_64/stackguard-macros.h: Likewise.
16915         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
16916         <elf/stackguard-macros.h>.
16918         [BZ #14109]
16919         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
16920         __aligned__ in attribute.
16921         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
16922         (gregset_t): Likewise.
16924 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
16926         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
16927         * sysdeps/x86_64/64/Implies-after: Here.  New file.
16928         * sysdeps/x86_64/x32/Implies-after: New file.
16930 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
16932         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
16933         and access return value for _dl_profile_fixup.  Use R10_LP to
16934         load frame size.
16936 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
16938         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
16940 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
16942         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
16943         * sysdeps/x86_64/x32/sysdep.h: New file.
16945 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
16947         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
16948         * sysdeps/x86_64/setjmp.S: Likewise.
16950 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16952         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
16953         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
16954         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
16955         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
16956         remove unused global constant.
16958 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
16960         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
16961         include of <not-cancel.h>.
16963 2012-05-15  Roland McGrath  <roland@hack.frob.com>
16965         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
16967 2012-05-15  Jeff Law  <law@redhat.com>
16968             Andreas Jaeger  <aj@suse.de>
16970         [BZ #13594]
16971         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
16972         out from...
16973         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
16974         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
16975         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
16976         code changing __hst_map_handle.map.
16978 2012-05-15  Roland McGrath  <roland@hack.frob.com>
16980         * configure.in (sysnames): Look for Implies-before and Implies-after
16981         files.
16982         * configure: Regenerated.
16984 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
16986         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
16987         8-byte data alignment with LP_SIZE alignment.
16989 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
16991         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
16992         into R10_LP.
16994 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
16996         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
16998 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
17000         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
17001         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
17002         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
17003         Likewise.
17004         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
17006 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
17008         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
17009         (stackinfo_sub_sp): Likewise.
17011 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
17013         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
17014         RAX_LP.
17016 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
17018         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
17019         into R*_LP.
17021 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
17023         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
17024         sizes into R*_LP.
17026 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
17028         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
17030 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
17032         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
17033         into R11_LP and load __x86_64_shared_cache_size_half into
17034         R8_LP.
17036 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
17038         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
17039         R8_LP.
17041 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17043         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
17044         logb for POWER7.
17045         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
17046         logbf for POWER7.
17047         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
17048         logbl for POWER7.
17049         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
17050         powerpc32/power7/fpu/s_logb.c via #include.
17051         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
17052         powerpc32/power7/fpu/s_logbf.c via #include.
17053         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
17054         powerpc32/power7/fpu/s_logbl.c via #include.
17056 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
17058         * README.libm: Remove file.
17060 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
17062         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
17063         count for x32.  Use R*_LP and omit operand-size suffix.
17065 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
17067         * shlib-versions: Move x86_64-.*-linux.* entries to ...
17068         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
17069         * sysdeps/x86_64/x32/shlib-versions: New file.
17071 2012-05-14  Roland McGrath  <roland@hack.frob.com>
17073         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
17074         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
17075         Use _dl_fatal_printf instead.
17077 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
17079         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
17080         set if not set by the user.  Do not allow for being unset.
17081         * sysdeps/unix/sysv/linux/configure: Regenerated.
17083 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
17085         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
17086         the `q' suffix from lea and replace .quad with ASM_ADDR.
17088 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
17090         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
17091         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
17092         instead of $17.
17093         (PTR_DEMANGLE): Likewise.
17095 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
17097         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
17098         (LP_OP): Likewise.
17099         (ASM_ADDR): Likewise.
17100         (RAX_LP): Likewise.
17101         (RBP_LP): Likewise.
17102         (RBX_LP): Likewise.
17103         (RCX_LP): Likewise.
17104         (RDI_LP): Likewise.
17105         (RSI_LP): Likewise.
17106         (RSP_LP): Likewise.
17107         (R8_LP): Likewise.
17108         (R9_LP): Likewise.
17109         (R10_LP): Likewise.
17110         (R10_LP): Likewise.
17111         (R11_LP): Likewise.
17112         (R12_LP): Likewise.
17113         (R13_LP): Likewise.
17114         (R14_LP): Likewise.
17115         (R15_LP): Likewise.
17117 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
17119         * sysdeps/x86_64/x32/dl-machine.h: New file.
17121 2012-05-14  Andreas Jaeger  <aj@suse.de>
17123         * manual/Makefile (subdir): Remove export of subdir.
17124         (all): Remove target.
17125         (.PHONY): Remove all from list.
17126         (mkinstalldirs): Remove.
17127         (.PHONY): Remove installdirs from list.
17128         ($(inst_infodir)/libc.info): Use make-target-directory.
17129         (installdirs): Remove.
17130         (subdir_%): Remove.
17131         (glibc-targets): Remove.
17132         (lib): Remove.
17133         (stubs): Remove.
17134         ($(objpfx)stubs ../po/manual.pot): Remove.
17135         ($(objpfx)stamp%): Remove.
17136         (make-target-directory): Remove.
17137         (subdir_install): Remove.
17138         (routines): Remove.
17139         (aux): Remove.
17140         (sources): Remove.
17141         (objects): Remove.
17142         (headers): Remove.
17144         [BZ #13750]
17145         * manual/.gitignore: Remove, it's not needed anymore.
17146         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
17147         all files in it.
17148         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
17149         directory.
17150         (texis): Renamed to $(objpfx)texis.
17151         (texis-path): New, contains path to generated files.
17152         (chapters.%): Use texis-path for complete path, add extra argument
17153         libc-texinfo.sh.
17154         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
17155         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
17156         (summary,texi, stamp-summary): Use complete path of
17157         files. Generate files in build dir.
17158         (dir-add.texi): Build in build dir.
17159         (libm-err.texi,stamp-libm-err): Likewise.
17160         (version.texi, stamp-version): Likewise.
17161         (.%c.texi): Likewise.
17162         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
17163         (mostlyclean): Remove target.
17164         (realclean): Remove target.
17165         (generated): Add new variable with contents from mostlyclean and
17166         realclean, remove entries duplicated in common-mostlyclean, add
17167         stamp-libm-err and stamp-version.
17168         (generated-dirs): Add libc directory.
17169         ($(inst_infodir)/libc.info): Install files from build dir.
17171         * manual/install.texi (Configuring and compiling): Adjust since
17172         the info files are not part of the tar ball anymore.
17174 2012-05-14  Andreas Jaeger  <aj@suse.de>
17176         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
17177         variable.
17179 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
17181         [BZ #13717]
17182         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
17183         to 2.2.0 where earlier.
17184         * sysdeps/unix/sysv/linux/configure: Regenerated.
17185         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
17186         Remove conditional code.
17187         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
17188         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
17189         Remove conditional code.
17190         [!__NR_lchown]: Likewise.
17191         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
17192         [__NR_lchown]: Likewise.
17193         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
17194         comment referencing __ASSUME_LCHOWN_SYSCALL.
17195         * sysdeps/unix/sysv/linux/i386/sigaction.c
17196         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
17197         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
17198         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
17199         Remove conditional code.
17200         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
17201         (__protocol_available): Remove #if 0 code.
17202         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
17203         conditional code.
17204         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
17205         * sysdeps/unix/sysv/linux/kernel-features.h
17206         (__ASSUME_GETCWD_SYSCALL): Don't define.
17207         (__ASSUME_REALTIME_SIGNALS): Likewise.
17208         (__ASSUME_PREAD_SYSCALL): Likewise.
17209         (__ASSUME_PWRITE_SYSCALL): Likewise.
17210         (__ASSUME_POLL_SYSCALL): Likewise.
17211         (__ASSUME_LCHOWN_SYSCALL): Likewise.
17212         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
17213         non-SPARC.
17214         (__ASSUME_SIOCGIFNAME): Don't define.
17215         (__ASSUME_MSG_NOSIGNAL): Likewise.
17216         (__ASSUME_SENDFILE): Define unconditionally.
17217         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
17218         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
17219         conditional code.
17220         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
17221         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
17222         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
17223         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
17224         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
17225         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
17226         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
17227         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
17228         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
17229         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
17230         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
17231         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
17232         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
17233         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
17234         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
17235         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
17236         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
17237         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
17238         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
17239         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
17240         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
17241         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
17242         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
17243         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
17244         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
17245         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
17246         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
17247         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
17248         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
17249         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
17250         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
17251         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
17252         Remove conditional code.
17253         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
17254         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
17255         Remove conditional code.
17256         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
17257         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
17258         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
17259         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
17260         Remove conditional code.
17261         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
17262         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
17263         Remove conditional code.
17264         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
17265         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
17266         Remove conditional code.
17267         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
17268         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
17269         Remove conditional code.
17270         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
17271         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
17272         Remove conditional code.
17273         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
17274         * sysdeps/unix/sysv/linux/sh/pwrite64.c
17275         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
17276         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
17277         * sysdeps/unix/sysv/linux/sigaction.c
17278         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
17279         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
17280         * sysdeps/unix/sysv/linux/sigpending.c
17281         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
17282         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
17283         * sysdeps/unix/sysv/linux/sigprocmask.c
17284         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
17285         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
17286         * sysdeps/unix/sysv/linux/sigsuspend.c
17287         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
17288         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
17289         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
17290         (__libc_missing_rt_sigs): Remove.
17291         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
17292         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
17293         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
17294         Remove conditional code.
17295         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
17296         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
17297         return 1.
17298         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
17299         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
17300         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
17301         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
17303 2012-05-14  Andreas Jaeger  <aj@suse.de>
17305         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
17306         it's not used in glibc.
17307         (__coshm1): Likewise.
17308         (__acosh1p): Likewise.
17309         (__sgn): Likewise.
17311         * manual/string.texi (Copying and Concatenation): Add missing
17312         variable in concat example.
17313         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
17315 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
17317         [BZ #14103]
17318         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
17319         __builtin_clzl with __builtin_clzll.
17321 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
17323         [BZ #14104]
17324         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
17325         libc_freeres_ptr.
17327 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
17329         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
17330         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
17331         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
17332         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
17334 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
17336         * NEWS: Update ia64 info.
17338 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
17340         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
17341         used as bcopy.
17343 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
17345         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
17346         * sysdeps/unix/syscalls.list (dup3): Likewise.
17347         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
17348         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
17350 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
17352         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
17353         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
17355 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
17357         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
17358         thread pointer.
17359         (TLS_IE): Use mov/add instead of movq/addq to load thread
17360         pointer.
17361         (TLS_GD_PREFIX): New.
17362         (TLS_GD): Use it.
17364 2012-05-11  David S. Miller  <davem@davemloft.net>
17366         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
17367         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
17368         (_FPU_SETCW): Likewise.
17370 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
17372         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
17373         is 32-byte aligned.
17375 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
17377         [BZ #11837]
17378         * iconvdata/gb18030.c: Update tables.
17379         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
17380         characters specially.
17381         (BODY for TO_LOOP): Add encoding of missing ranges.
17383 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
17385         [BZ #13673]
17386         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
17387         * sysdeps/mach/hurd/dup3.c: Likewise.
17388         * sysdeps/mach/hurd/readlinkat.c: Likewise.
17389         * sysdeps/powerpc/memmove.c:: Likewise.
17391 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
17393         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
17394         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
17396 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
17398         * elf/elf.h (R_X86_64_RELATIVE64): New.
17399         (R_X86_64_NUM): Updated.
17400         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
17401         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
17402         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
17403         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
17404         tst-quad1pie tst-quad2pie
17405         (modules-names): Add tst-quadmod1 tst-quadmod2.
17406         ($(objpfx)tst-quad1): New dependency.
17407         ($(objpfx)tst-quad2): Likewise.
17408         ($(objpfx)tst-quad1pie): Likewise.
17409         ($(objpfx)tst-quad2pie): Likewise.
17410         * sysdeps/x86_64/tst-quad1.c: New file.
17411         * sysdeps/x86_64/tst-quad1pie.c: New file.
17412         * sysdeps/x86_64/tst-quad2.c: Likewise.
17413         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
17414         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
17415         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
17416         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
17417         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
17419 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
17421         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
17422         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
17423         * streams/stropts.h (t_scalar_t): Define type.
17425         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
17426         (_PATH_PRESERVE): Set to "/var/lib".
17427         (_PATH_RWHODIR): Set to "/var/spool/rwho".
17429         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
17430         instead of int.
17432         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
17433         if __dir_mkfile succeeded.
17435         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
17436         checking for _hurd_dtablesize.  Unlock it right after having
17437         finished _hurd_dtable allocation.
17439 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
17441         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
17442         * sysdeps/mach/hurd/configure: Regenerated.
17443         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
17444         special-casing to...
17445         * sysdeps/gnu/configure.in: ... this new file.
17446         * sysdeps/unix/sysv/linux/configure: Regenerated.
17447         * sysdeps/gnu/configure: New generated file.
17449         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
17450         for Linux: use nsec instead of usec, as well as:
17451         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
17452         members of type struct timespec.
17453         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
17454         New macros.
17455         (struct stat64): Likewise.
17456         (_STATBUF_ST_NSEC): New macro.
17457         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
17459         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
17460         __strtoul_internal rather than strtoul.
17462 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
17464         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
17465         and reject them.
17467 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
17469         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
17470         which preserves existing values.
17471         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
17473 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
17475         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
17476         TIMEOUT values.  Return EINVAL for NFDS values either negative or
17477         greater than FD_SETSIZE.
17479 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
17481         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
17482         allocated, call __vm_protect to finish enabling the existing space, and
17483         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
17484         allocate the remainder.
17486 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
17488         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
17489         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
17491 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
17493         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
17494         sysdeps/mach/hurd/readlink.c.
17496         * posix/tst-sysconf.c (posix_options): Only use
17497         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
17498         _POSIX_SYNCHRONIZED_IO when they are defined
17499         * sysdeps/mach/hurd/bits/posix_opt.h:
17500         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
17501         (_XOPEN_REALTIME): Undefine macro.
17502         (_XOPEN_REALTIME_THREADS): Undefine macro.
17503         (_XOPEN_SHM): Undefine macro.
17504         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
17505         macro to -1.
17506         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
17507         macro to -1.
17508         (_POSIX_ASYNC_IO): Undefine macro.
17509         (_POSIX_PRIORITIZED_IO): Undefine macro.
17510         (_POSIX_SPIN_LOCKS): Define macro to -1.
17512         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
17513         SA_NODEFER, SA_RESETHAND.
17514         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
17515         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
17516         F_DUPFD_CLOEXEC.
17518 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
17520         * elf/Makefile (pldd-modules): Define unconditionally.
17522 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
17524         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
17526 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
17528         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
17529         Return ENOENT when name is empty.
17530         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
17532 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
17534         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
17536         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
17538 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
17540         Fix mlock in all cases except non-readable pages.
17541         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
17542         instead of VM_PROT_ALL as parameter to __vm_wire function.
17544         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
17545         (__mkdir): When path is `/', just fail with EEXIST.
17546         * sysdeps/mach/hurd/mkdirat.c: Likewise.
17548 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
17550         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
17551         <sys/uio.h> (for writev).
17552         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
17553         and <sys/param.h> (for MIN).
17555 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
17557         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
17558         REQUESTED_TIME.  Properly set the remaining time and return EINTR
17559         if interrupted.
17561 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
17563         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
17564         Depend on against $(link-rpcuserlibs).
17566 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
17568         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
17569         (__libc_stack_end): Do not use attribute_relro.
17570         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
17571         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
17572         to libthread-provided value.
17573         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
17574         attribute_relro.
17576 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
17578         [BZ #3748]
17579         * bits/libc-lock.h (__libc_once_get): New macro.
17580         * sysdeps/mach/bits/libc-lock.h: Likewise.
17581         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
17582         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
17583         instead of using implementation details.
17585         * libio/fileops.c: Unconditionally include <kernel-features.h>.
17586         * libio/freopen.c: Likewise.
17587         * libio/freopen64.c: Likewise.
17588         * misc/syslog.c: Likewise.
17589         * nscd/connections.c: Likewise.
17590         * nscd/netgroupcache.c: Likewise.
17591         * sysdeps/posix/getcwd.c: Likewise.
17593 2012-05-10  Roland McGrath  <roland@hack.frob.com>
17595         * math/w_ilogbf.c: Add #include <limits.h>.
17597 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
17599         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
17600         path instead of returning without unlocking.
17602         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
17603         immediate-write ioctls.
17604         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
17606 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
17608         * sysdeps/mach/hurd/i386/init-first.c (init): Use
17609         __builtin_frame_address instead of making assumptions about the
17610         location of the return address relative to DATA.  Force early load of
17611         the return address.
17612         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
17613         __builtin_frame_address.
17615         dup3 for GNU Hurd.
17616         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
17617         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
17618         implement dup3 and do some further code clean-ups.
17619         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
17620         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
17622 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
17624         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
17626         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
17627         HURD_CRITICAL_END around holding _hurd_dtable_lock.
17628         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
17629         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
17630         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
17631         d->port.lock.
17633         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
17634         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
17635         when handler == SIG_ERR, not when handler != SIG_ERR.
17637 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
17639         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
17640         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
17641         definitions.
17643         accept4 for GNU Hurd.
17644         * include/sys/socket.h (__libc_accept4): New prototype.
17645         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
17646         to implement __libc_accept4.
17647         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
17648         __libc_accept4.
17649         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
17651         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
17652         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
17653         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
17654         signal-defines.sym.
17656 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
17658         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
17660 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
17662         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
17663         assertion on O_CLOEXEC flag.
17664         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
17665         * hurd/intern-fd.c: Likewise.
17666         * hurd/port2fd.c: Likewise.
17668 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
17670         [BZ #3906]
17671         * bits/in.h (IPV6_PKTINFO): Define new macro.
17672         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
17674 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17676         [BZ #13954]
17677         [BZ #13955]
17678         [BZ #13956]
17679         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
17680         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
17681         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
17682         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
17683         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
17684         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
17685         * math/libm-test.inc (logb_test) : Additional logb tests.
17687 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
17688             Andreas Jaeger  <aj@suse.de>
17690         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
17691         * configure: Regenerated.
17692         * config.h.in (LINK_OBSOLETE_RPC): New macro.
17693         * config.make.in (link-obsolete-rpc): New substituted variable.
17694         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
17695         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
17696         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
17697         (shared-only-routines): Don't set it under [link-obsolete-rpc],
17698         so that libc.a contains the symbols.
17699         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
17700         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
17701         * sunrpc/auth_none.c: Likewise.
17702         * sunrpc/auth_unix.c: Likewise.
17703         * sunrpc/authdes_prot.c: Likewise.
17704         * sunrpc/authuxprot.c: Likewise.
17705         * sunrpc/clnt_gen.c: Likewise.
17706         * sunrpc/clnt_perr.c: Likewise.
17707         * sunrpc/clnt_raw.c: Likewise.
17708         * sunrpc/clnt_simp.c: Likewise.
17709         * sunrpc/clnt_tcp.c: Likewise.
17710         * sunrpc/clnt_udp.c: Likewise.
17711         * sunrpc/clnt_unix.c: Likewise.
17712         * sunrpc/des_crypt.c: Likewise.
17713         * sunrpc/des_soft.c: Likewise.
17714         * sunrpc/get_myaddr.c: Likewise.
17715         * sunrpc/key_call.c: Likewise.
17716         * sunrpc/key_prot.c: Likewise.
17717         * sunrpc/netname.c: Likewise.
17718         * sunrpc/pm_getmaps.c: Likewise.
17719         * sunrpc/pm_getport.c: Likewise.
17720         * sunrpc/pmap_clnt.c: Likewise.
17721         * sunrpc/pmap_prot.c: Likewise.
17722         * sunrpc/pmap_prot2.c: Likewise.
17723         * sunrpc/pmap_rmt.c: Likewise.
17724         * sunrpc/publickey.c: Likewise.
17725         * sunrpc/rpc_cmsg.c: Likewise.
17726         * sunrpc/rpc_common.c: Likewise.
17727         * sunrpc/rpc_dtable.c: Likewise.
17728         * sunrpc/rpc_prot.c: Likewise.
17729         * sunrpc/rpc_thread.c: Likewise.
17730         * sunrpc/rtime.c: Likewise.
17731         * sunrpc/svc.c: Likewise.
17732         * sunrpc/svc_auth.c: Likewise.
17733         * sunrpc/svc_raw.c: Likewise.
17734         * sunrpc/svc_run.c: Likewise.
17735         * sunrpc/svc_tcp.c: Likewise.
17736         * sunrpc/svc_udp.c: Likewise.
17737         * sunrpc/svc_unix.c: Likewise.
17738         * sunrpc/svcauth_des.c: Likewise.
17739         * sunrpc/xcrypt.c: Likewise.
17740         * sunrpc/xdr.c: Likewise.
17741         * sunrpc/xdr_array.c: Likewise.
17742         * sunrpc/xdr_float.c: Likewise.
17743         * sunrpc/xdr_intXX_t.c: Likewise.
17744         * sunrpc/xdr_mem.c: Likewise.
17745         * sunrpc/xdr_rec.c: Likewise.
17746         * sunrpc/xdr_ref.c: Likewise.
17747         * sunrpc/xdr_sizeof.c: Likewise.
17748         * sunrpc/xdr_stdio.c: Likewise.
17750 2012-05-10  Roland McGrath  <roland@hack.frob.com>
17752         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
17753         change.  Update copyright years.
17755 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
17757         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
17759 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
17760             Joseph Myers  <joseph@codesourcery.com>
17761             Paul Pluzhnikov  <ppluzhnikov@google.com>
17763         [BZ #14012]
17764         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
17765         requiring rpcgen.
17766         [cross-compiling] (extra-libs): Likewise.
17767         [cross-compiling] (extra-libs-others): Likewise.
17768         [cross-compiling] (librpcsvc-routines): Likewise.
17769         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
17770         [cross-compiling] (omit-deps): Likewise.
17771         (sunrpc-CPPFLAGS): New variable.
17772         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
17773         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
17774         (cross-rpcgen-objs): New variable.
17775         (extra-objs): Append $(cross-rpcgen-objs).
17776         ($(cross-rpcgen-objs)): New rule.
17777         ($(objpfx)cross-rpcgen): Likewise.
17778         (rpcgen-cmd): Define to use $(built-program-file).  Expand
17779         comment.
17780         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
17781         ($(objpfx)x%.stmp): Likewise.
17782         * sunrpc/proto.h [IS_IN_build] (_): Define.
17783         [IS_IN_build] (_libc_intl_domainname): Likewise.
17785 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
17787         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
17788         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
17789         and R_X86_64_TPOFF64.
17791 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
17793         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
17794         sysdeps/unix/sysv/syscalls.list.
17795         (stime): Likewise.
17796         (utime): Likewise.
17797         * sysdeps/unix/sysv/syscalls.list: Remove file.
17799 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
17801         [BZ #3440]
17802         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
17803         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
17804         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
17805         (__LC_IDENTIFICATION): Make these macros useful in #if
17806         expressions, as required by C99.
17808 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
17810         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
17811         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
17812         after this.
17814 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
17816         * stdlib/longlong.h: Updated from GCC.
17818 2012-05-09  Andreas Jaeger  <aj@suse.de>
17820         * nscd/nscd.c (run_modes): Make named enum, reorder so that
17821         default is first entry.
17822         (run_mode): Set type.
17823         (main): Remove informal message about syslog.
17824         (options): Fix typo.
17826         [BZ #14053]
17827         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
17828         to asm.
17829         (lrint): Likewise.
17830         (llrintf): Likewise.
17831         (llrint): Likewise.
17832         (rint): Likewise.
17833         (rintf): Likewise.
17834         (nearbyint): Likewise.
17835         (nearbyintf): Likewise.
17837 2012-05-09  Andreas Jaeger  <aj@suse.de>
17838             Pedro Alves  <palves@redhat.com>
17840         * nscd/nscd.c (run_mode): Use enum.
17841         (main): Cleanup coding style issue.
17843 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
17844             Andreas Jaeger  <aj@suse.de>
17846         * nscd/nscd.c (go_background): Replaced with...
17847         (run_mode): ... this.
17848         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
17849         (options): Add -F --foreground.
17850         (main): Implement it.
17851         (parse_opt): Parse it.
17853 2012-05-09  Andreas Jaeger  <aj@suse.de>
17855         [BZ #14083]
17856         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
17857         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
17858         -Wconversion warning.
17859         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
17860         Likewise.
17862 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
17864         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
17865         == 0.
17866         (LC_ALL): Use macro-int-constant.
17867         (LC_COLLATE): Likewise.
17868         (LC_CTYPE): Likewise.
17869         (LC_MESSAGES): Likewise.
17870         (LC_MONETARY): Likewise.
17871         (LC_NUMERIC): Likewise.
17872         (LC_TIME): Likewise.
17873         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
17874         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
17875         [ISO || ISO99 || ISO11] (*_t): Do not allow.
17876         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
17877         Specify type.
17878         [C99-based standards] (float_t): Expect type.
17879         [C99-based standards] (double_t): Expect type.
17880         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
17881         type.
17882         [C99-based standards] (HUGE_VALL): Likewise.
17883         [C99-based standards] (INFINITY): Likewise.
17884         [C99-based standards] (NAN): Likewise.
17885         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
17886         [C99-based standards] (FP_NAN): Likewise.
17887         [C99-based standards] (FP_NORMAL): Likewise.
17888         [C99-based standards] (FP_SUBNORMAL): Likewise.
17889         [C99-based standards] (FP_ZERO): Likewise.
17890         [C99-based standards] (FP_FAST_FMA): Use
17891         optional-macro-int-constant.  Specify type.  Require == 1.
17892         [C99-based standards] (FP_FAST_FMAF): Likewise.
17893         [C99-based standards] (FP_FAST_FMAL): Likewise.
17894         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
17895         [C99-based standards] (FP_ILOGBNAN): Likewise.
17896         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
17897         Specify type.
17898         [C99-based standards] (MATH_ERREXCEPT): Likewise.
17899         [C99-based standards] (math_errhandling): Specify type.
17900         [ISO99 || ISO11] (signgam): Do not allow.
17901         [non-C99-based standards] (copysignf): Do not allow.
17902         [non-C99-based standards] (exp2f): Likewise.
17903         [non-C99-based standards] (log2f): Likewise.
17904         [non-C99-based standards] (modff): Allow.
17905         [non-C99-based standards] (erff): Do not allow.
17906         [non-C99-based standards] (erfcf): Likewise.
17907         [non-C99-based standards] (gammaf): Likewise.
17908         [non-C99-based standards] (hypotf): Likewise.
17909         [non-C99-based standards] (j0f): Likewise.
17910         [non-C99-based standards] (j1f): Likewise.
17911         [non-C99-based standards] (jnf): Likewise.
17912         [non-C99-based standards] (lgammaf): Likewise.
17913         [non-C99-based standards] (tgammaf): Likewise.
17914         [non-C99-based standards] (y0f): Likewise.
17915         [non-C99-based standards] (y1f): Likewise.
17916         [non-C99-based standards] (ynf): Likewise.
17917         [non-C99-based standards] (isnanf): Likewise.
17918         [non-C99-based standards] (acoshf): Likewise.
17919         [non-C99-based standards] (asinhf): Likewise.
17920         [non-C99-based standards] (atanhf): Likewise.
17921         [non-C99-based standards] (cbrtf): Likewise.
17922         [non-C99-based standards] (expm1f): Likewise.
17923         [non-C99-based standards] (ilogbf): Likewise.
17924         [non-C99-based standards] (log1pf): Likewise.
17925         [non-C99-based standards] (logbf): Likewise.
17926         [non-C99-based standards] (nextafterf): Likewise.
17927         [non-C99-based standards] (remainderf): Likewise.
17928         [non-C99-based standards] (rintf): Likewise.
17929         [non-C99-based standards] (scalbf): Likewise.
17930         [non-C99-based standards] (copysignl): Likewise.
17931         [non-C99-based standards] (exp2l): Likewise.
17932         [non-C99-based standards] (log2l): Likewise.
17933         [non-C99-based standards] (modfl): Allow.
17934         [non-C99-based standards] (erfl): Do not allow.
17935         [non-C99-based standards] (erfcl): Likewise.
17936         [non-C99-based standards] (gammal): Likewise.
17937         [non-C99-based standards] (hypotl): Likewise.
17938         [non-C99-based standards] (j0l): Likewise.
17939         [non-C99-based standards] (j1l): Likewise.
17940         [non-C99-based standards] (jnl): Likewise.
17941         [non-C99-based standards] (lgammal): Likewise.
17942         [non-C99-based standards] (tgammal): Likewise.
17943         [non-C99-based standards] (y0l): Likewise.
17944         [non-C99-based standards] (y1l): Likewise.
17945         [non-C99-based standards] (ynl): Likewise.
17946         [non-C99-based standards] (isnanl): Likewise.
17947         [non-C99-based standards] (acoshl): Likewise.
17948         [non-C99-based standards] (asinhl): Likewise.
17949         [non-C99-based standards] (atanhl): Likewise.
17950         [non-C99-based standards] (cbrtl): Likewise.
17951         [non-C99-based standards] (expm1l): Likewise.
17952         [non-C99-based standards] (ilogbl): Likewise.
17953         [non-C99-based standards] (log1pl): Likewise.
17954         [non-C99-based standards] (logbl): Likewise.
17955         [non-C99-based standards] (nextafterl): Likewise.
17956         [non-C99-based standards] (remainderl): Likewise.
17957         [non-C99-based standards] (rintl): Likewise.
17958         [non-C99-based standards] (scalbl): Likewise.
17959         [ISO || ISO99 || ISO11] (*_t): Do not allow.
17960         [non-C99-based standards] (FP_*): Do not allow.
17961         [C99-based standards] (FP_*): Change to
17962         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
17963         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
17964         allow.
17965         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
17966         (SIG_ERR): Likewise.
17967         [X/Open-based standards] (SIG_HOLD): Likewise.
17968         (SIG_IGN): Likewise.
17969         (SIGABRT): Use macro-int-constant.  Specify type.  Require
17970         positive value.
17971         (SIGFPE): Likewise.
17972         (SIGILL): Likewise.
17973         (SIGINT): Likewise.
17974         (SIGSEGV): Likewise.
17975         (SIGTER): Likewise.
17976         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
17977         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
17978         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
17979         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
17980         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
17981         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
17982         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
17983         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
17984         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
17985         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
17986         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
17987         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
17988         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
17989         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
17990         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
17991         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
17992         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
17993         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
17994         [X/Open-based standards] (SIGTRAP): Likewise.
17995         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
17996         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
17997         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
17998         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
17999         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
18000         allow.
18002 2012-05-08  Ian Wienand  <ianw@vmware.com>
18004         [BZ #14080]
18005         * time/tzset.c (__tzset_parse_tz): Update default rules for
18006         daylight time changes in the Energy Policy Act of 2005.
18008 2012-05-09  Andreas Jaeger  <aj@suse.de>
18010         [BZ #13983]
18011         * elf/ldconfig.c (parse_conf): Change string to make clear that
18012         ldconfig only issued a warning if ld.so.conf does not exist.
18014 2012-05-08  David S. Miller  <davem@davemloft.net>
18016         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
18017         movxtod instead of popping the value on the stack.
18019         * sysdeps/sparc/fpu/libm-test-ulps: Update.
18021 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
18023         * config.h.in: Add HAVE_ARM_PCS_VFP.
18025 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
18027         [BZ #13979]
18028         * include/features.h: Warn if user requests __FORTIFY_SOURCE
18029         checking but the checks are disabled for any reason.
18031 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
18033         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
18034         and ELF64_R_TYPE with ELFW(R_TYPE).
18036 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
18038         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
18039         (ulimit): Likewise.
18041         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
18042         (settimeofday): Likewise.
18044 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
18046         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
18047         a struct th_u2 inside the union, and move tu_block/tu_code into
18048         a new th_u3 union of tu_block/tu_code inside of that.  Move
18049         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
18050         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
18051         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
18052         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
18053         (th_stuff): Change to th_u1.tu_stuff.
18054         (th_data): Define.
18055         (th_msg): Change to th_u1.th_u2.tu_data.
18057 2012-05-07  David S. Miller  <davem@davemloft.net>
18059         * sysdeps/sparc/fpu/libm-test-ulps: Update.
18061         [BZ #14074]
18062         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
18063         (SETUP_PIC_REG): Use it.
18064         (SETUP_PIC_REG_LEAF): Use it.
18066 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
18068         [BZ #13885]
18069         [BZ #13923]
18070         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
18071         USE_AS_EXPM1L.
18072         (EXPL_FINITE): Likewise.
18073         (FLDLOG): Likewise.
18074         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
18075         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
18076         e_expl.S.
18077         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
18078         USE_AS_EXPM1L.
18079         (EXPL_FINITE): Likewise.
18080         (FLDLOG): Likewise.
18081         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
18082         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
18083         e_expl.S.
18084         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
18085         test of -max_value argument for long double.
18086         * sysdeps/i386/fpu/libm-test-ulps: Update.
18087         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18089 2012-05-06  David S. Miller  <davem@davemloft.net>
18091         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
18092         quad soft-float symbols whose references which are compiler
18093         generated.
18094         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
18096 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
18098         [BZ #13884]
18099         [BZ #13914]
18100         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
18101         USE_AS_EXP10L.
18102         (EXPL_FINITE): Likewise.
18103         (FLDLOG): Likewise.
18104         (c0): Likewise.
18105         (c1): Likewise.
18106         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
18107         Adjust comments for base varying.
18108         (__expl_finite): Change alias to EXPL_FINITE.
18109         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
18110         e_expl.S.
18111         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
18112         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
18113         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
18114         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
18115         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
18116         USE_AS_EXP10L.
18117         (EXPL_FINITE): Likewise.
18118         (FLDLOG): Likewise.
18119         (c0): Likewise.
18120         (c1): Likewise.
18121         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
18122         Adjust comments for base varying.
18123         (__expl_finite): Change alias to EXPL_FINITE.
18124         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
18125         tests for bugs.
18126         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18128         [BZ #14064]
18129         * math/libm-test.inc (check_float_internal): Correct ulp
18130         calculation for subnormal expected results.
18132 2012-05-06  Andreas Jaeger  <aj@suse.de>
18134         * Makeconfig (+math-flags): New, set to -frounding-math.
18135         (+cflags): Add +math-flags so that all of glibc gets compiled with
18136         it.
18138         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
18140 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
18142         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
18143         Disable one test.
18145         [BZ #13787]
18146         [BZ #13922]
18147         [BZ #14036]
18148         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
18149         (__ieee754_expl): Allow for and saturate large arguments.
18150         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
18151         (u_threshold): Likewise.
18152         (__exp): Call __ieee754_exp before checking for overflow and
18153         underflow.
18154         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
18155         (u_threshold): Likewise.
18156         (__expf): Call __ieee754_expf before checking for overflow and
18157         underflow.
18158         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
18159         (u_threshold): Likewise.
18160         (__expl): Call __ieee754_expl before checking for overflow and
18161         underflow.
18162         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
18163         (__ieee754_expl): Allow for and saturate large arguments.
18164         * math/libm-test.inc (exp_test): Add another test.  Do not allow
18165         missing overflow exception on overflow.
18166         (expm1_test): Do not allow missing overflow exception on overflow.
18168         * sysdeps/i386/fpu/e_expl.c: Move to ...
18169         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
18170         rather than using inline asm.
18171         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
18172         * sysdeps/x86_64/fpu/e_expl.S: Copy from
18173         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
18175         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
18176         (nice): Likewise.
18177         (poll): Likewise.
18178         (signal): Likewise.
18179         (time): Likewise.
18180         (times): Likewise.
18182 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
18184         * sysdeps/unix/syscalls.list (adjtime): Add entry from
18185         sysdeps/unix/common/syscalls.list.
18186         (fchmod): Likewise.
18187         (fchown): Likewise.
18188         (ftruncate): Likewise.
18189         (getrusage): Likewise.
18190         (gettimeofday): Likewise.
18191         (setpgid): Likewise.
18192         (setregid): Likewise.
18193         (setreuid): Likewise.
18194         (sigaction): Likewise.
18195         (truncate): Likewise.
18196         (vhangup): Likewise.
18197         * sysdeps/unix/common/syscalls.list: Remove file.
18198         * sysdeps/unix/bsd/Implies: Don't include unix/common.
18199         * sysdeps/unix/sysv/linux/Implies: Likewise.
18201 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
18203         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
18204         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
18205         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
18206         Moved to ...
18207         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
18208         Here.
18209         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
18210         to ...
18211         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
18212         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
18213         to ...
18214         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
18215         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
18216         to ...
18217         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
18218         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
18219         to ...
18220         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
18221         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
18222         to ...
18223         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
18224         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
18225         to ...
18226         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
18227         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
18228         to ...
18229         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
18230         Here.
18231         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
18232         to ...
18233         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
18234         Here.
18235         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
18236         to ...
18237         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
18238         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
18239         Moved to ...
18240         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
18241         Here.
18242         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
18243         to ...
18244         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
18246 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
18248         * sysdeps/unix/common/bits/dirent.h: Remove file.
18249         * sysdeps/unix/common/bits/fcntl.h: Likewise.
18251         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
18252         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
18253         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
18254         * sysdeps/unix/bsd/isatty.c: Likewise.
18255         * sysdeps/unix/bsd/tcdrain.c: Likewise.
18256         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
18257         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
18259 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18261         [BZ #13563]
18262         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
18263         long double comparison inaccuracies.
18264         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
18265         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18267 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
18269         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
18270         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
18272 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
18274         [BZ #14049]
18275         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
18276         nonzero digits before rounding a hex value.
18277         * stdlib/tst-strtod.c (tests): Add another test.
18279 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
18281         * sysdeps/s390/fpu/libm-test-ulps: Update.
18283 2012-05-03  Andreas Jaeger  <aj@suse.de>
18285         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
18286         does not get optimized out.
18287         (malloc_opt_barrier): New.
18289 2012-05-03  Andreas Jaeger  <aj@suse.de>
18290             Roland McGrath  <roland@hack.frob.com>
18292         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
18293         intermediate file deletion.
18294         (generated): Add .symlist files.
18296 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
18298         [BZ #13775]
18299         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
18300         Redirect under this condition.
18301         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
18302         [__USE_GNU] (__dprintf_chk): Not under this condition.
18303         [__USE_GNU] (__vdprintf_chk): Likewise.
18304         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
18305         under this condition.
18306         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
18307         [__USE_XOPEN2K8] (dprintf): Define under this condition.
18308         [__USE_XOPEN2K8] (vdprintf): Likewise.
18309         [__USE_GNU] (__dprintf_chk): Not under this condition.
18310         [__USE_GNU] (__vdprintf_chk): Likewise.
18311         [__USE_GNU] (dprintf): Likewise.
18312         [__USE_GNU] (vdprintf): Likewise.
18314 2012-05-03  Roland McGrath  <roland@hack.frob.com>
18316         * elf/Makefile (common-generated): Set this instead of generated for
18317         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
18318         $(all-built-dso)-derived lists.
18320 2012-05-03  Andreas Jaeger  <aj@suse.de>
18322         * sysdeps/i386/fpu/libm-test-ulps: Update.
18324         * FAQ: Removed.
18325         * FAQ.in: Likewise.
18326         * scripts/gen-FAQ.pl: Likewise.
18327         * manual/install.texi (Installation): Point to online location of
18328         FAQ.
18329         * Makefile (files-for-dist): Remove FAQ.
18330         (FAQ): Remove.
18332 2012-05-02  Allan McRae  <allan@archlinux.org>
18334         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
18335         (LDFLAGS-reldepmod5.so): Likewise.
18336         (LDFLAGS-reldep6mod1.so): Likewise.
18337         (LDFLAGS-reldep6mod4.so): Likewise.
18338         (LDFLAGS-reldep8mod3.so): Likewise.
18339         (LDFLAGS-unload4mod1.so): Likewise.
18340         (LDFLAGS-unload4mod2.so): Likewise.
18341         (LDFLAGS-tst-initorder): Likewise.
18342         (LDFLAGS-tst-initordera2.so): Likewise.
18343         (LDFLAGS-tst-initordera3.so): Likewise.
18344         (LDFLAGS-tst-initordera4.so): Likewise.
18345         (LDFLAGS-tst-initorderb2.so): Likewise.
18346         (LDFLAGS-noload): Likewise.
18347         (LDFLAGS-next): Likewise.
18348         (LDFLAGS-order2mod1.so): Likewise.
18349         (LDFLAGS-order2mod2.so): Likewise.
18350         (LDFLAGS-tst-initorder2): Likewise.
18351         (LDFLAGS-tst-initorder2a.so): Likewise.
18352         (LDFLAGS-tst-initorder2b.so): Likewise.
18353         (LDFLAGS-tst-initorder2c.so): Likewise.
18354         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
18356 2012-05-02  David S. Miller  <davem@davemloft.net>
18358         * sysdeps/sparc/fpu/libm-test-ulps: Update.
18360 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
18362         [BZ #14055]
18363         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
18365 2012-05-02  Andreas Jaeger  <aj@suse.de>
18367         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
18368         since we manipulate rounding mode.
18369         (CPPFLAGS-test-idouble.c): Likewise.
18370         (CPPFLAGS-test-ifloat.c): Likewise.
18371         (CFLAGS-test-ldouble.c): Likewise.
18372         (CFLAGS-test-double.c): Likewise.
18373         (CFLAGS-test-float.c): Likewise.
18374         (CFLAGS-test-misc.c): Likewise.
18375         (CFLAGS-test-test-fenv.c): Likewise.
18377 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18379         [BZ #2550]
18380         [BZ #2570]
18381         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
18382         comparisons to determine direction to adjust input.
18384 2012-05-01  Roland McGrath  <roland@hack.frob.com>
18386         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
18387         output to the target.
18389         * scripts/localplt.awk: New file.
18390         * elf/Makefile ($(objpfx)check-localplt): Target removed.
18391         (check-localplt-CFLAGS): Variable removed.
18392         ($(all-built-dso:=.jmprel)): New static pattern rule.
18393         (generated): Add those targets.
18394         (localplt-built-dso): New variable.
18395         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
18397         * elf/check-localplt.c: File removed.
18399         * scripts/check-execstack.awk: New file.
18400         * elf/Makefile ($(objpfx)check-execstack): Target removed.
18401         (check-execstack-CFLAGS): Variable removed.
18402         ($(objpfx)check-execstack.h): Target removed.
18403         ($(objpfx)execstack-default): New target.
18404         (generated): Add that instead of check-execstack.h.
18405         ($(all-built-dso:=.phdr)): New static pattern rule.
18406         (generated): Add those targets.
18407         * elf/check-execstack.c: File removed.
18409         * scripts/check-textrel.awk: New file.
18410         * elf/Makefile ($(objpfx)check-textrel): Target removed.
18411         (check-textrel-CFLAGS): Variable removed.
18412         (all-built-dso): Use := to define.o
18413         ($(all-built-dso:=.dyn)): New static pattern rule.
18414         (generated): Add those targets.
18415         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
18416         * config.make.in (READELF): New substituted variable.
18417         * elf/check-textrel.c: File removed.
18419 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
18421         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
18422         allow.
18423         * conform/data/ctype.h-data [C99-based standards] (isblank):
18424         Expect function.
18425         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
18426         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
18427         [ISO || ISO99 || ISO11] (*_t): Do not allow.
18428         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
18429         Specify type.  Require positive value.
18430         (EILSEQ): Likewise.
18431         (ERANGE): Likewise.
18432         [ISO || POSIX] (EILSEQ): Do not expect.
18433         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
18434         Specify type.  Require positive value.
18435         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
18436         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
18437         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
18438         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
18439         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
18440         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
18441         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
18442         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
18443         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
18444         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
18445         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
18446         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
18447         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
18448         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
18449         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
18450         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
18451         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
18452         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
18453         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
18454         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
18455         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
18456         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
18457         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
18458         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
18459         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
18460         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
18461         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
18462         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
18463         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
18464         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
18465         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
18466         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
18467         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
18468         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
18469         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
18470         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
18471         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
18472         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
18473         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
18474         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
18475         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
18476         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
18477         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
18478         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
18479         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
18480         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
18481         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
18482         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
18483         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
18484         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
18485         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
18486         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
18487         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
18488         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
18489         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
18490         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
18491         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
18492         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
18493         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
18494         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
18495         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
18496         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
18497         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
18498         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
18499         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
18500         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
18501         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
18502         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
18503         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
18504         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
18505         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
18506         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
18507         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
18508         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
18509         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
18510         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
18511         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
18512         Require >= 2.
18513         (FLT_ROUNDS): Expect as macro, not constant.
18514         (FLT_MANT_DIG): Use macro-int-constant.
18515         (DBL_MANT_DIG): Likewise.
18516         (LDBL_MANT_DIG): Likewise.
18517         (FLT_DIG): Likewise.
18518         (DBL_DIG): Likewise.
18519         (LDBL_DIG): Likewise.
18520         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
18521         (DBL_MIN_EXP): Likewise.
18522         (LDBL_MIN_EXP): Likewise.
18523         (FLT_MAX_EXP): Use macro-int-constant.
18524         (DBL_MAX_EXP): Likewise.
18525         (LDBL_MAX_EXP): Likewise.
18526         (FLT_MAX_10_EXP): Likewise.
18527         (DBL_MAX_10_EXP): Likewise.
18528         (LDBL_MAX_10_EXP): Likewise.
18529         (FLT_MAX): Use macro-constant.
18530         (DBL_MAX): Likewise.
18531         (LDBL_MAX): Likewise.
18532         (FLT_EPSILON): Use macro-constant.  Give upper bound.
18533         (DBL_EPSILON): Likewise.
18534         (LDBL_EPSILON): Likewise.
18535         (FLT_MIN): Likewise.
18536         (DBL_MIN): Likewise.
18537         (LDBL_MIN): Likewise.
18538         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
18539         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
18540         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
18541         [ISO11] (FLT_HAS_SUBNORM): Likewise.
18542         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
18543         [ISO11] (DBL_DECIMAL_DIG): Likewise.
18544         [ISO11] (FLT_DECIMAL_DIG): Likewise.
18545         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
18546         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
18547         [ISO11] (FLT_TRUE_MIN): Likewise.
18548         [ISO11] (LDBL_TRUE_MIN): Likewise.
18549         [ISO || ISO99 || ISO11] (*_t): Do not allow.
18550         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
18551         (SCHAR_MIN): Use macro-int-constant.  Specify type.
18552         (SCHAR_MAX): Likewise.
18553         (UCHAR_MAX): Likewise.
18554         (CHAR_MIN): Likewise.
18555         (CHAR_MAX): Likewise.
18556         (MB_LEN_MAX): Use macro-int-constant.
18557         (SHRT_MIN): Use macro-int-constant.  Specify type.
18558         (SHRT_MAX): Likewise.
18559         (USHRT_MAX): Likewise.
18560         (INT_MAX): Likewise.
18561         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
18562         bound negative.
18563         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
18564         bound with "U".
18565         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
18566         bound with "L".
18567         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
18568         bound negative.  Suffix upper bound with "L".
18569         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
18570         bound with "UL".
18571         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
18572         Specify type.
18573         [C99-based standards] (LLONG_MAX): Likewise.
18574         [C99-based standards] (ULLONG_MAX): Likewise.
18575         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
18576         == 0.
18577         [ISO11] (max_align_t): Require type.
18578         [ISO || ISO99 || ISO11] (*_t): Do not allow.
18580         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
18581         from $CFLAGS, without defining away __attribute__ calls.
18582         (checknamespace): Use $CFLAGS_namespace.
18584         * conform/conformtest.pl (@keywords): Only include C99 keywords
18585         for standards based on C99 or C11.
18587         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
18588         Disable tests.
18589         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
18590         UNIX98]: Likewise.
18592         * conform/conformtest.pl: Handle "macro-int-constant" and test for
18593         usability of symbols in #if.
18595         * conform/conformtest.pl: If macro or constant types start
18596         "promoted:", expect the symbol to be of the following type
18597         promoted by the integer promotions.
18599         * conform/conformtest.pl: Parse all "constant" and "macro" lines
18600         in one place.  Also handle "macro-constant".
18602         * conform/conformtest.pl: Only accept expected macro values with
18603         "==".  Parse all "macro" lines in one place.
18604         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
18606         * conform/conformtest.pl: Handle braced types on "constant" lines
18607         instead of handling "typed-constant".
18608         * conform/data/signal.h-data: Use "constant" instead of
18609         "typed-constant".
18611         * conform/conformtest.pl: Handle "optional-" at start of lines in
18612         one place rather than duplicating several cases.  Handle each
18613         format of "macro" line with initial "optional-".
18615         * conform/conformtest.pl: Only accept expected constant or
18616         optional-constant values with "==".  Parse all "constant" lines in
18617         one place.  Parse all "optional-constant" lines in one place.
18618         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
18619         * conform/data/fmtmsg.h-data: Likewise.
18620         * conform/data/netinet/in.h-data: Likewise.
18621         * conform/data/tar.h-data: Likewise.
18622         * conform/data/limits.h-data: Use "==" form on "constant" and
18623         "optional-constant" lines.
18625         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
18626         Use -std=c99 for XOPEN2K.
18627         (@knownproblems): Remove.
18628         (newtoken): Don't check %isknown.
18630         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
18631         Do not expect macro.
18632         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
18633         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
18634         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
18635         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
18636         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
18637         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
18638         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
18639         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
18640         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
18641         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
18642         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
18643         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
18644         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
18645         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
18646         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
18647         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
18648         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
18649         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
18650         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
18651         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
18652         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
18653         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
18654         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
18655         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
18656         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
18657         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
18658         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
18659         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
18660         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
18661         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
18662         [XPG3] (acosh): Likewise.
18663         [XPG3] (asinh): Likewise.
18664         [XPG3] (atanh): Likewise.
18665         [XPG3] (cbrt): Likewise.
18666         [XPG3] (expm1): Likewise.
18667         [XPG3] (ilogb): Likewise.
18668         [XPG3] (log1p): Likewise.
18669         [XPG3] (logb): Likewise.
18670         [XPG3] (nextafter): Likewise.
18671         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
18672         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
18673         [XPG3] (remainder): Likewise.
18674         [XPG3] (rint): Likewise.
18675         [XPG3 || XPG4 || UNIX98] (round): Likewise.
18676         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
18677         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
18678         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
18679         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
18680         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
18681         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
18682         [UNIX98 || XOPEN2K] (scalb): Expect.
18683         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
18684         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
18685         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
18686         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
18687         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
18688         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
18689         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
18690         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
18691         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
18692         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
18693         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
18694         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
18695         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
18696         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
18697         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
18698         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
18699         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
18700         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
18701         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
18702         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
18703         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
18704         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
18705         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
18706         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
18707         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
18708         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
18709         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
18710         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
18711         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
18712         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
18713         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
18714         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
18715         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
18716         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
18717         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
18718         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
18719         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
18720         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
18721         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
18722         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
18723         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
18724         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
18725         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
18726         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
18727         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
18728         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
18729         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
18730         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
18731         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
18732         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
18733         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
18734         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
18735         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
18736         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
18737         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
18738         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
18739         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
18740         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
18741         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
18742         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
18743         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
18744         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
18745         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
18746         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
18747         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
18748         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
18749         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
18750         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
18751         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
18752         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
18753         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
18754         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
18755         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
18756         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
18757         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
18758         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
18759         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
18760         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
18761         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
18762         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
18763         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
18764         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
18765         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
18766         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
18767         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
18768         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
18769         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
18770         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
18771         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
18772         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
18773         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
18774         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
18775         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
18776         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
18777         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
18778         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
18779         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
18780         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
18781         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
18782         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
18783         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
18784         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
18785         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
18786         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
18787         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
18788         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
18789         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
18790         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
18791         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
18792         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
18793         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
18794         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
18795         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
18796         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
18797         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
18798         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
18799         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
18800         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
18801         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
18802         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
18803         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
18804         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
18805         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
18806         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
18807         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
18808         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
18809         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
18810         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
18811         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
18812         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
18813         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
18814         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
18815         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
18816         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
18817         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
18818         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
18819         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
18821         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
18822         _XOPEN_SOURCE_EXTENDED for XPG4.
18824         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
18826         * Makeconfig (localtime): Remove variable.
18827         (inst_localtime-file): Likewise.
18829 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
18831         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
18832         Update.
18833         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
18834         Update.
18835         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
18836         Update.
18837         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
18838         Update.
18839         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
18840         Update.
18841         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
18842         Update.
18843         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
18844         Update.
18845         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
18846         Update.
18847         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
18848         Update.
18850 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
18852         [BZ #2550]
18853         [BZ #2570]
18854         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
18855         comparisons to determine direction to adjust input.
18856         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
18857         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
18858         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
18859         Likewise.
18860         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
18861         Likewise.
18862         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
18863         Likewise.
18864         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
18865         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
18866         Likewise.
18867         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
18868         Likewise.
18869         * math/libm-test.inc (nexttoward_test): Add more tests.
18871 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
18873         [BZ #14040]
18874         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
18875         in version GLIBC_2.1, not GLIBC_2.0.
18876         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
18877         Likewise.
18879 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
18881         [BZ #13942]
18882         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
18883         (1 - x) * (1 + x).
18884         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
18885         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
18886         * math/libm-test.inc (acos_test): Add more tests.
18887         (asin_test): Likewise.
18888         * sysdeps/i386/fpu/libm-test-ulps: Update.
18889         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18891         [BZ #14034]
18892         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
18893         of square root.
18894         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
18895         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
18896         * math/libm-test.inc (acos_test_tonearest): New function.
18897         (acos_test_towardzero): Likewise.
18898         (acos_test_downward): Likewise.
18899         (acos_test_upward): Likewise.
18900         (asin_test_tonearest): Likewise.
18901         (asin_test_towardzero): Likewise.
18902         (asin_test_downward): Likewise.
18903         (asin_test_upward): Likewise.
18904         (main): Call the new functions.
18905         * sysdeps/i386/fpu/libm-test-ulps: Update.
18906         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18908         [BZ #13884]
18909         [BZ #13924]
18910         * math/e_exp10.c: Include <float.h>.
18911         (__ieee754_exp10): Handle underflow here rather than multiplying
18912         large negative argument by M_LN10.
18913         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
18914         of __ieee754_expf.
18915         * math/e_exp10l.c: Include <float.h>.
18916         (__ieee754_exp10l): Handle underflow here rather than multiplying
18917         large negative argument by M_LN10l.
18918         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
18919         spurious overflow exception on underflow.
18921 2012-04-29  Marek Polacek  <polacek@redhat.com>
18923         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
18924         (__fortify_function): New macro.
18925         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
18926         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
18927         __extern_always_inline.
18928         * libio/bits/stdio2.h: Likewise.
18929         * libio/bits/stdio.h: Likewise.
18930         * string/string.h: Likewise.
18931         * string/bits/string3.h: Likewise.
18932         * include/stdio.h: Likewise.
18933         * stdlib/bits/stdlib.h: Likewise.
18934         * stdlib/stdlib.h: Likewise.
18935         * rt/bits/mqueue2.h: Likewise.
18936         * rt/mqueue.h: Likewise.
18937         * posix/bits/unistd.h: Likewise.
18938         * posix/unistd.h: Likewise.
18939         * io/bits/poll2.h: Likewise.
18940         * io/bits/fcntl2.h: Likewise.
18941         * io/fcntl.h: Likewise.
18942         * io/sys/poll.h: Likewise.
18943         * misc/bits/syslog.h: Likewise.
18944         * misc/bits/syslog-ldbl.h: Likewise.
18945         * misc/sys/syslog.h: Likewise.
18946         * socket/bits/socket2.h: Likewise.
18947         * socket/sys/socket.h: Likewise.
18948         * debug/tst-chk1.c: Likewise.
18949         * wcsmbs/bits/wchar2.h: Likewise.
18950         * wcsmbs/bits/wchar-ldbl.h: Likewise.
18951         * wcsmbs/wchar.h: Likewise.
18953 2012-04-29  Andreas Jaeger  <aj@suse.de>
18955         * Makerules (tests): Remove enable-check-abi protection.
18956         (check-abi-warn): Remove.
18957         (check-abi-%): Remove check-abi-warn usage.
18959         * configure.in: Remove check-abi configure option.
18960         * configure: Regenerated.
18961         * config.make.in (enable-check-abi): Remove.
18963 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
18965         [BZ #14033]
18966         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
18967         double functions to double *_finite functions.
18969         [BZ #13941]
18970         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
18971         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
18972         LDBL_MIN_EXP.
18973         * stdio-common/Makefile (tests): Add tst-sprintf3.
18974         * stdio-common/tst-sprintf3.c: New file.
18976         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
18977         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
18979 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
18981         * conform/conformtest.pl: Remove duplicate typed-constant
18982         handling.
18984 2012-04-28  David S. Miller  <davem@davemloft.net>
18986         * Makerules (%.abilist): Add vpath on sysdep_dirs.
18987         (check-abi-%): Remove AWK script prerequisite and explicit
18988         abilist directory.
18989         (check-abi): Rewrite to just diff the symlist with the abilist.
18990         (config-tls, config-abi-config): Delete, no longer used.
18991         (update-abi-%): Remove AWK script and explicit abilist directory.
18992         (update-abi): Rewrite to simply compare and conditionally copy the
18993         symlist and the sysdep abilist file.  Remove update-abi-config
18994         checks.
18995         * abilist/ld.abilist: Remove.
18996         * abilist/libBrokenLocale.abilist: Remove.
18997         * abilist/libanl.abilist: Remove.
18998         * abilist/libcrypt.abilist: Remove.
18999         * abilist/libdl.abilist: Remove.
19000         * abilist/librt.abilist: Remove.
19001         * abilist/libthread_db.abilist: Remove.
19002         * abilist/libutil.abilist: Remove.
19003         * scripts/extract-abilist.awk: Remove.
19004         * scripts/merge-abilist.awk: Remove.
19005         * sysdeps/generic/libcidn.abilist: New file.
19006         * sysdeps/generic/libnss_compat.abilist: New file.
19007         * sysdeps/generic/libnss_db.abilist: New file.
19008         * sysdeps/generic/libnss_dns.abilist: New file.
19009         * sysdeps/generic/libnss_files.abilist: New file.
19010         * sysdeps/generic/libnss_hesiod.abilist: New file.
19011         * sysdeps/generic/libnss_nis.abilist: New file.
19012         * sysdeps/generic/libnss_nisplus.abilist: New file.
19013         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
19014         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
19015         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
19016         file.
19017         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
19018         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
19019         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
19020         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
19021         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
19022         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
19023         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
19024         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
19025         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
19026         file.
19027         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
19028         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
19029         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
19030         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
19031         file.
19032         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
19033         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
19034         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
19035         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
19036         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
19037         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
19038         file.
19039         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
19040         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
19041         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
19042         file.
19043         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
19044         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
19045         New file.
19046         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
19047         New file.
19048         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
19049         New file.
19050         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
19051         New file.
19052         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
19053         New file.
19054         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
19055         New file.
19056         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
19057         New file.
19058         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
19059         New file.
19060         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
19061         New file.
19062         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
19063         New file.
19064         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
19065         New file.
19066         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
19067         New file.
19068         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
19069         New file.
19070         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
19071         file.
19072         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
19073         New file.
19074         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
19075         New file.
19076         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
19077         file.
19078         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
19079         New file.
19080         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
19081         New file.
19082         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
19083         file.
19084         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
19085         New file.
19086         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
19087         New file.
19088         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
19089         New file.
19090         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
19091         New file.
19092         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
19093         New file.
19094         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
19095         New file.
19096         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
19097         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
19098         file.
19099         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
19100         New file.
19101         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
19102         file.
19103         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
19104         file.
19105         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
19106         file.
19107         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
19108         file.
19109         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
19110         file.
19111         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
19112         New file.
19113         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
19114         file.
19115         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
19116         file.
19117         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
19118         New file.
19119         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
19120         file.
19121         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
19122         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
19123         file.
19124         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
19125         New file.
19126         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
19127         file.
19128         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
19129         file.
19130         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
19131         file.
19132         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
19133         file.
19134         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
19135         file.
19136         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
19137         New file.
19138         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
19139         file.
19140         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
19141         file.
19142         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
19143         New file.
19144         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
19145         file.
19146         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
19147         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
19148         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
19149         file.
19150         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
19151         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
19152         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
19153         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
19154         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
19155         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
19156         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
19157         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
19158         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
19159         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
19160         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
19161         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
19162         file.
19163         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
19164         New file.
19165         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
19166         file.
19167         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
19168         file.
19169         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
19170         file.
19171         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
19172         file.
19173         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
19174         file.
19175         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
19176         New file.
19177         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
19178         New file.
19179         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
19180         file.
19181         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
19182         New file.
19183         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
19184         file.
19185         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
19186         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
19187         file.
19188         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
19189         New file.
19190         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
19191         file.
19192         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
19193         file.
19194         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
19195         file.
19196         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
19197         file.
19198         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
19199         file.
19200         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
19201         New file.
19202         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
19203         New file.
19204         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
19205         file.
19206         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
19207         New file.
19208         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
19209         file.
19211 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
19213         * conform/conformtest.pl: Fix typo in handling typed-constant from
19214         allow-header.
19216 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
19218         * README: Cut down references to pre-2.6 Linux kernels and
19219         Linuxthreads.  Update lists of configurations in libc and ports
19220         and sort alphabetically.  Say "or newer" with Linux kernel version
19221         requirements.
19223         * config.h.in [IS_IN_build]: Allow compiling without optimization.
19225 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
19227         [BZ #887]
19228         * math/libm-test.inc (logb_test_downward): New test to expose
19229         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
19230         rounding mode.
19232 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
19234         [BZ #14027]
19235         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
19236         to be done.
19237         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
19238         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
19240 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
19242         * sysdeps/unix/i386/brk.S: Remove file.
19243         * sysdeps/unix/i386/dl-brk.S: Likewise.
19244         * sysdeps/unix/i386/pipe.S: Likewise.
19245         * sysdeps/unix/i386/sigreturn.S: Likewise.
19246         * sysdeps/unix/i386/syscall.S: Likewise.
19247         * sysdeps/unix/i386/vfork.S: Likewise.
19248         * sysdeps/unix/i386/wait.S: Likewise.
19250         * sysdeps/unix/common/tcsendbrk.c: Move to ...
19251         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
19253         * configure.in (arm*-none*): Do not allow without
19254         --enable-hacker-mode.
19255         (netbsd*): Remove case setting base_os.
19256         (386bsd*): Likewise.
19257         (freebsd*): Likewise.
19258         (bsdi*): Likewise.
19259         (osf*): Likewise.
19260         (sunos*): Likewise.
19261         (ultrix*): Likewise.
19262         (newsos*): Likewise.
19263         (dynix*): Likewise.
19264         (*bsd*): Likewise.
19265         (sysv*): Likewise.
19266         (isc*): Likewise.
19267         (esix*): Likewise.
19268         (sco*): Likewise.
19269         (minix*): Likewise.
19270         (irix4*): Likewise.
19271         (irix6*): Likewise.
19272         (solaris[2-9]*): Likewise.
19273         (none): Likewise.
19274         * configure: Regenerated.
19276 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19278         [BZ #11521]
19279         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
19280         overflow or cancellation in calculating denominator.
19281         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
19282         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
19283         down expression to avoid unexpected rounding in newer GCCs.
19284         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
19286 2012-04-26  David S. Miller  <davem@davemloft.net>
19288         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
19289         long-double compat symbols.
19290         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
19291         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
19292         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
19293         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
19294         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
19295         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
19296         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
19297         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
19298         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
19299         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
19300         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
19301         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
19302         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
19304 2012-04-25  David S. Miller  <davem@davemloft.net>
19306         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
19307         HWCAP_* values only after the memory barriers have been defined.
19308         (atomic_full_barrier): Define.
19309         (atomic_read_barrier): Define.
19310         (atomic_write_barrier): Define.
19312 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
19314         * shlib-versions: Add libgcc_s version information.
19315         * sysdeps/generic/libgcc_s.h: Remove.
19316         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
19317         libgcc_s.h.
19318         * sysdeps/gnu/unwind-resume.c: Likewise.
19319         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
19321 2012-04-25  David S. Miller  <davem@davemloft.net>
19323         * sysdeps/unix/sparc/brk.S: Delete.
19324         * sysdeps/unix/sparc/dl-brk.S: Delete.
19325         * sysdeps/unix/sparc/pipe.S: Delete.
19326         * sysdeps/unix/sparc/sysdep.S: Delete.
19327         * sysdeps/unix/sparc/sysdep.h: Delete.
19328         * sysdeps/unix/sparc/vfork.S: Delete.
19329         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
19330         SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
19331         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
19332         ret_ERRVAL, r0, r1, MOVE): Define.
19333         (JUMPTARGET): Remove.
19334         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
19335         sysdeps/unix/sparc/sysdep.h
19336         (ENTRY, END): Remove.
19337         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
19339 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
19341         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
19342         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
19343         -DIS_IN_build.
19345         * timezone/README: Update upstream location and email address for
19346         tzcode and tzdata.
19347         * timezone/zdump.c: Update from tzcode 2012b.
19348         * timezone/zic.c: Likewise.
19350         * configure.in (libc_cv_as_needed): Remove test.
19351         * configure: Regenerated.
19352         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
19353         conditional definition.
19354         [$(have-as-needed) != yes] (no-as-needed): Likewise.
19355         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
19356         * config.make.in (have-as-needed): Remove variable.
19358 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
19359             Paul Pluzhnikov  <ppluzhnikov@google.com>
19361         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
19362         strings correctly.
19364 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
19366         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
19367         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
19368         * sysdeps/sh/strlen.S: Likewise.
19370 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
19372         * sysdeps/unix/fork.S: Remove file.
19373         * sysdeps/unix/i386/fork.S: Likewise.
19374         * sysdeps/unix/sparc/fork.S: Likewise.
19376         * sysdeps/unix/system.c: Remove file.
19377         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
19379         * sysdeps/unix/getegid.S: Remove file.
19380         * sysdeps/unix/geteuid.S: Likewise.
19382 2012-04-24  Roland McGrath  <roland@hack.frob.com>
19384         * scripts/check-localplt.awk: New file.
19385         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
19386         of diff.
19387         * scripts/data/localplt-generic.data: Add a comment.
19389         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
19390         NODE when __dir_mkfile failed.
19391         * sysdeps/mach/hurd/symlinkat.c: Likewise.
19392         Reported by Ludovic Courtès <ludo@gnu.org>.
19394 2012-04-24  Andreas Jaeger  <aj@suse.de>
19396         * Makerules (common-clean): Also remove gen-as-const-headers
19397         files.
19399 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
19401         * Makerules (native-compile): Do not change working directory for
19402         build.  Use $(OUTPUT_OPTION) in command.
19403         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
19405 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19407         [BZ #13886]
19408         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
19409         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
19410         * math/libm-test.inc (floor_test): Add more tests.
19411         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
19413 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
19415         * sysdeps/unix/getdents.c: Remove file.
19416         * sysdeps/unix/sysv/getdents.c: Likewise.
19417         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
19419         * sysdeps/unix/syscalls.list (madvise): Add syscall from
19420         sysdeps/unix/mman/syscalls.list.
19421         (mmap): Likewise.
19422         (mprotect): Likewise.
19423         (msync): Likewise.
19424         (munmap): Likewise.
19425         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
19426         * sysdeps/unix/mman/syscalls.list: Remove.
19427         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
19429         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
19430         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
19431         * configure: Regenerated.
19432         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
19433         $(libgcc_s_suffix).
19434         * config.make.in (libgcc_s_suffix): Remove variable.
19436 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
19438         * sysdeps/unix/sysv/gethostname.c: Move to ...
19439         * sysdeps/posix/gethostname.c: ... here.
19441         * sysdeps/unix/execve.S: Remove file.
19443         * sysdeps/unix/_exit.S: Remove file.
19445 2012-04-23  Andreas Jaeger  <aj@suse.de>
19447         [BZ #13739]
19448         * manual/Makefile: Remove make dist support, there's no
19449         need for a stand-alone documentation tar ball.
19450         (TEXI2DVI): Define always, it's not in Makeconfig.
19451         (dist): Removed.
19452         (tar-it): Removed.
19453         (edition): Removed.
19454         (glibc-doc-$(edition).tar): Removed
19455         (%.Z): Removed.
19456         (%.gz): Removed.
19457         (%.uu): Removed.
19458         (ETAGS): Remove, it's in Makeconfig.
19459         (move-if-change): Remove, it's in Makeconfig.
19461 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
19463         [BZ #13970]
19464         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
19465         (strtod, strtof, strtold, strtol, strtoul, strtoq)
19466         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
19467         (strtod_l, strtof_l, strtold_l): Remove __wur.
19468         It is not necessarily an error to ignore strtol's return value.
19469         One can reliably look at the stored endptr to decide whether
19470         the number had valid syntax.
19472 2012-04-21  Andreas Jaeger  <aj@suse.de>
19474         [BZ #13739]
19475         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
19477 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
19479         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
19480         * sysdeps/unix/sysv/Versions: Remove file.
19482 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
19484         [BZ #13927]
19485         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19487 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
19489         [BZ #7064]
19490         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
19491         version from __vm86.
19493 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
19495         * sysdeps/unix/common/lxstat.c: Remove file.
19496         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
19498         * sysdeps/unix/sysv/Makefile: Remove file.
19500         * sysdeps/unix/sysv/direct.h: Remove file.
19502         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
19503         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
19504         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
19505         * sysdeps/unix/sysv/bits/signum.h: Likewise.
19506         * sysdeps/unix/sysv/bits/stat.h: Likewise.
19507         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
19508         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
19510         * sysdeps/unix/sysv/setrlimit.c: Remove file.
19512         * sysdeps/unix/xmknod.c: Remove file.
19513         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
19515         * sysdeps/unix/sysv/settimeofday.c: Remove file.
19517         * sysdeps/unix/sysv/i386/time.S: Remove file.
19519         * sysdeps/unix/fxstat.c: Remove file.
19520         * sysdeps/unix/xstat.c: Likewise.
19521         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
19523         * sysdeps/unix/sysv/sigaction.c: Remove file.
19525         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
19526         (sysdep_headers): Remove variable.
19527         [termio.h not in sysdep_headers] (generated): Likewise.
19528         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
19529         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
19530         * sysdeps/unix/sysv/tcdrain.c: Likewise.
19531         * sysdeps/unix/sysv/tcflow.c: Likewise.
19532         * sysdeps/unix/sysv/tcflush.c: Likewise.
19533         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
19534         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
19535         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
19536         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
19537         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
19539         * sysdeps/unix/siglist.c: Remove file.
19541         * sysdeps/unix/getppid.S: Remove file.
19543         * sysdeps/unix/mkdir.c: Remove file.
19544         * sysdeps/unix/rmdir.c: Likewise.
19546 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
19548         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
19549         ERR_MAX value.
19550         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
19551         errlist-compat value.
19553 2012-04-18  David S. Miller  <davem@davemloft.net>
19555         * sysdeps/generic/memcopy.h (reg_char): Delete.
19556         * debug/strcat_chk.c: Use char, not reg_char.
19557         * debug/strcpy_chk.c: Likewise.
19558         * debug/strncat_chk.c: Likewise.
19559         * debug/strncpy_chk.c: Likewise.
19560         * string/memchr.c: Likewise.
19561         * string/memrchr.c: Likewise.
19562         * string/rawmemchr.c: Likewise.
19563         * string/strcat.c: Likewise.
19564         * string/strchr.c: Likewise.
19565         * string/strchrnul.c: Likewise.
19566         * string/strcmp.c: Likewise.
19567         * string/strcpy.c: Likewise.
19568         * string/strncat.c: Likewise.
19569         * string/strncmp.c: Likewise.
19570         * string/strncpy.c: Likewise.
19572 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
19574         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
19575         __builtin_memcopy is called when src and dest ranges are known to not
19576         overlap.
19578 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
19580         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
19581         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
19582         fwd_align_merge macro call.
19583         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
19584         bwd_align_merge macro call.
19585         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
19587 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
19589         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
19590         bwd_align_merge macros.
19591         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
19592         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
19593         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
19595 2012-04-18  David S. Miller  <davem@davemloft.net>
19597         * sysdeps/sparc/sparc64/memcopy.h: Delete.
19599 2012-04-18  Andreas Jaeger  <aj@suse.de>
19601         [BZ# 6794]
19602         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
19603         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
19604         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
19606         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
19607         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
19608         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
19610         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
19611         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
19612         Adjust for changed ldbl-128 files.
19614         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
19615         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
19616         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
19618 2012-04-17  David S. Miller  <davem@davemloft.net>
19620         * sysdeps/sparc/sparc32/memcopy.h: Delete.
19622 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
19624         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
19625         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
19626         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
19627         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
19628         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
19629         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
19631 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19633         [BZ #6794]
19634         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
19635         * math/libm-test.inc: Add ilogb errno and exception tests.
19636         * math/w_ilogb.c: New file: ilogb wrapper.
19637         * math/w_ilogbf.c: New file: ilogbf wrapper.
19638         * math/w_ilogbl.c: New file: ilogbl wrapper.
19639         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
19640         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
19641         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
19642         exception being thrown with 0.0 as argument.
19643         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
19644         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
19645         exception being thrown with 0.0 as argument.
19646         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
19647         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
19648         exception being thrown with 0.0 as argument.
19649         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
19650         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
19651         exception being thrown with 0.0 as argument.
19652         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
19653         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
19654         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
19655         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
19656         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
19657         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
19658         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
19659         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
19660         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
19662 2012-04-17  Petr Baudis  <pasky@ucw.cz>
19664         * include/sys/uio.h: Change __vector to __iovec to avoid clash
19665         with altivec.
19667 2012-04-16  Marek Polacek  <polacek@redhat.com>
19669         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
19671 2012-04-16  Marek Polacek  <polacek@redhat.com>
19673         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
19674         operands of fdivp instruction.
19676 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
19678         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
19679         * elf/tst-auditmod3b.c: Likewise.
19680         * elf/tst-auditmod4b.c: Likewise.
19681         * elf/tst-auditmod5b.c: Likewise.
19682         * elf/tst-auditmod6b.c: Likewise.
19683         * elf/tst-auditmod6c.c: Likewise.
19684         * elf/tst-auditmod7b.c: Likewise.
19685         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
19686         * sysdeps/x86_64/preconfigure.in: Likewise.
19687         * sysdeps/x86_64/preconfigure: Regenerated.
19689 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
19691         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
19692         __ILP32__.
19694 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
19696         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
19697         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
19699 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
19701         [BZ #13973]
19702         * locale/iso-639.def: Fix gl language name. Spotted by
19703         Yaron Shahrabani.
19705 2012-04-12  Roland McGrath  <roland@hack.frob.com>
19707         [BZ #2074]
19708         * libio/libio.h (__io_write_fn): Update comment.
19710 2012-04-12  Petr Baudis  <pasky@ucw.cz>
19712         [BZ #2074]
19713         * stdio.texi (Hook Functions): The user provided writer function
19714         is not allowed to return -1.
19716 2012-04-11  David S. Miller  <davem@davemloft.net>
19718         * sysdeps/sparc/fpu/libm-test-ulps: Update.
19720 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
19722         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
19723         Add a leading slash to rtkaio.
19725 2012-04-11  Jim Meyering  <meyering@redhat.com>
19727         [BZ #11959]
19728         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
19729         It is not necessarily an error to ignore fwrite's return
19730         value.  One can reliably use ferror to test for errors after
19731         the fact.
19733 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
19735         * bits/types.h (__snseconds_t): New type.
19736         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
19738         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
19739         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
19740         (__SNSECONDS_T_TYPE): Likewise.
19741         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
19742         (__SNSECONDS_T_TYPE): Likewise.
19743         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
19744         (__SNSECONDS_T_TYPE): Likewise.
19746 2012-04-10  Andreas Jaeger  <aj@suse.de>
19748         [BZ #2636]
19749         * manual/time.texi (Processor Time): Return type of times is
19750         elapsed real time since an arbitrary point in the past.
19751         (CPU Time): Move CLK_TCK from here...
19752         (Processor Time): ...to here.  Correct description.
19753         * manual/conf.texi (Constants for Sysconf): Correct description of
19754         _SC_CLK_TCK.
19756 2012-04-10  David S. Miller  <davem@davemloft.net>
19758         [BZ #13967]
19759         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
19760         where the is a gap between DT_REL(A) and DT_JMPREL.
19762 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
19764         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
19765         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
19766         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
19768 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
19770         * elf/dl-support.c (_dl_inhibit_cache): New variable.
19771         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
19772         (dl_main): Handle --inhibit-cache.
19773         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
19774         _dl_inhibit_cache.
19775         * elf/dl-load.c (_dl_map_object): Use it.
19776         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
19778 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
19780         [BZ #13872]
19781         * sysdeps/i386/fpu/e_powl.S (p78): New object.
19782         (__ieee754_powl): Saturate large exponents rather than testing for
19783         overflow of y*log2(x).
19784         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
19785         * math/libm-test.inc (pow_test): Do not permit spurious overflow
19786         exceptions.
19788         [BZ #11521]
19789         * math/s_ctan.c: Include <float.h>.
19790         (__ctan): Avoid internal overflow or cancellation in calculating
19791         denominator.
19792         * math/s_ctanf.c: Likewise.
19793         * math/s_ctanl.c: Likewise.
19794         * math/s_ctanh.c: Likewise.
19795         * math/s_ctanhf.c: Likewise.
19796         * math/s_ctanhl.c: Likewise.
19797         * math/libm-test.inc (ctan_test): Add more tests.
19798         (ctanh_test): Likewise.
19799         * sysdeps/i386/fpu/libm-test-ulps: Update.
19800         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19802 2012-04-09  Andreas Jaeger  <aj@suse.de>
19804         [BZ #6894]
19805         * manual/filesys.texi (Directory Entries): Mention that d_namlen
19806         is an optional BSD extension.
19808         [BZ #10254]
19809         * manual/stdio.texi (Opening Streams): Document additional fopen
19810         parameters.
19812 2012-04-09  Roland McGrath  <roland@hack.frob.com>
19814         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
19815         %eax without telling the compiler.
19817 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
19819         [BZ # 13963]
19820         * manual/install.texi: Use sourceware.org.
19822 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
19824         [BZ #13873]
19825         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
19826         (__ieee754_pow): Generate overflow and underflow using huge*huge
19827         and tiny*tiny rather than just returning constant infinity or zero
19828         for large exponents.
19829         * math/libm-test.inc (pow_test): Require overflow exceptions for
19830         applicable cases of large exponents.
19832         [BZ #706]
19833         * sysdeps/i386/fpu/e_pow.S (p10): New object.
19834         (__ieee754_pow): Use iterative multiplication algorithm only for
19835         integer exponents with absolute value below 1024.  Check for odd
19836         integer exponents when using algorithm for real exponents.
19837         * math/libm-test.inc (pow_test): Add more tests.
19838         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19840 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
19842         [BZ #13705]
19843         * math/libm-test.inc (exp_test): Do not allow overflow exception
19844         on underflow test.
19846 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
19848         [BZ #13705]
19849         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
19850         instead of __kernel_standard_f.
19852 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
19854         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
19855         * sysdeps/x86_64/memset_chk.S: Likewise.
19857 2012-04-08  Andreas Jaeger  <aj@suse.de>
19859         [BZ #10153]
19860         * manual/startup.texi (Environment Access): Describe return value
19861         for putenv and setenv.
19863         [BZ #6895]
19864         * manual/filesys.texi (Directory Entries): Add description for
19865         DT_LNK.
19867         [BZ #6890]
19868         * manual/filesys.texi (Directory Entries): Clarify that it's file
19869         system not operating system in the description of DT_UNKNOWN.
19871         [BZ #6578]
19872         * manual/syslog.texi (closelog): Fix reference, it's openlog.
19874 2012-04-08  Stephen Compall  <s11@member.fsf.org>
19876         [BZ #6649]
19877         * manual/llio.texi (Opening and Closing Files): Add cross
19878         reference to explain mode argument.
19880 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
19882         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
19883         * sysdeps/x86_64/memset_chk.S: Likewise.
19885 2012-04-07  David S. Miller  <davem@davemloft.net>
19887         * elf/elf.h (R_SPARC_WDISP10): Define.
19888         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
19889         R_SPARC_SIZE32.
19890         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
19891         R_SPARC_SIZE64 and R_SPARC_H34.
19893 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
19895         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
19896         conditions and remove no longer applicable assertion.
19898 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
19900         * bits/byteswap.h: Include <features.h>.
19901         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
19902         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
19904 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
19906         * bits/byteswap.h (__bswap_16): Removed.
19907         Include <bits/byteswap-16.h> to get __bswap_16.
19908         * sysdeps/i386/bits/byteswap.h: Likewise.
19909         * sysdeps/s390/bits/byteswap.h: Likewise.
19910         * sysdeps/x86_64/bits/byteswap.h: Likewise.
19911         * bits/byteswap-16.h: New file.
19912         * sysdeps/i386/bits/byteswap-16.h: Likewise.
19913         * sysdeps/s390/bits/byteswap-16.h: Likewise.
19914         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
19915         * string/Makefile (headers): Add bits/byteswap-16.h.
19917 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
19919         [BZ #13895]
19920         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
19921         extra indirection.
19922         * nss/Makefile (tests-static, tests): Add tst-nss-static.
19923         * nss/tst-nss-static.c: New.
19925 2012-04-06  Robert Millan  <rmh@gnu.org>
19927         [BZ #6486]
19928         * manual/llio.texi (File Position Primitive): lseek
19929         refers to WHENCE when it really means OFFSET.
19931 2012-04-06  Andreas Jaeger  <aj@suse.de>
19933         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
19934         strncmp declarations.
19936         * abilist/libc.abilist: Add __poll and __ppoll.
19938 2012-04-05  David S. Miller  <davem@davemloft.net>
19940         * scripts/check-local-headers.sh: Accept a host triplet in the
19941         path matched by the exclude regexp.
19943         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
19944         definition.
19945         * sysdeps/powerpc/powerpc32/dl-machine.h
19946         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
19947         * sysdeps/s390/s390-32/dl-machine.h
19948         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
19949         * sysdeps/sparc/sparc32/dl-machine.h
19950         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
19951         * sysdeps/sparc/sparc64/dl-machine.h
19952         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
19954         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
19955         lazy binding.
19956         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
19957         undefined symbol errors.
19959         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
19960         DT_NEEDED entries.
19962 2012-04-05  Michael Matz  <matz@suse.de>
19964         [BZ #13592]
19965         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
19967 2012-04-05  Andreas Jaeger  <aj@suse.de>
19969         [BZ #13908]
19970         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
19971         comment.
19973 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
19975         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
19976         which ROUND is no valid rounding mode.
19978 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
19980         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
19981         read again.
19982         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
19984 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
19986         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
19987         an exception using FPU order intentionally.
19989 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
19991         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
19992         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
19993         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
19994         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
19996 2012-04-05  Simon Josefsson  <simon@josefsson.org>
19998         [BZ #12340]
19999         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
20000         EINVAL when BUFLEN is too smal.
20002 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
20004         [BZ #13553]
20005         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
20006         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
20008 2012-04-03  Andreas Jaeger  <aj@suse.de>
20010         [BZ #13938]
20011         * manual/setjmp.texi (System V contexts): Fix sentence.
20013         [BZ #13926]
20014         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
20015         New macro for this case.
20016         [!__GNUC__] (__bswap_64): New inline function for this case.
20017         * sysdeps/x86_64/bits/byteswap.h: Likewise.
20018         * bits/byteswap.h: Likewise.
20019         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
20020         ull, guard with __GLIBC_HAVE_LONG_LONG.
20022         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
20023         __GLIBC_HAVE_LONG_LONG.
20025         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
20026         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
20028 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
20030         [BZ #13691]
20031         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
20032         inptr and inend, rather than using last_ch.
20034 2012-04-02  David S. Miller  <davem@davemloft.net>
20036         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
20037         * stdio-common/printf-parse.h (read_int): Change return type to
20038         'int', return -1 on INT_MAX overflow.
20039         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
20040         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
20041         overflows INT_MAX.  Check for overflow of in-format-string precision
20042         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
20043         SIZE_MAX not INT_MAX for integer overflow test.
20044         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
20045         skip the construct in the format string but do not record anything.
20046         * stdio-common/bug22.c: Adjust to test both width/prevision
20047         INT_MAX overflow as well as total length INT_MAX overflow.  Check
20048         explicitly for proper errno values.
20050 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
20052         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
20053         CHAR_MAX.
20054         * string/test-strcmp.c [! WIDE]: Likewise.
20055         * time/tst-mktime2.c: Likewise for INT_MAX.
20056         * string/test-string.h: #include <sys/param.h> for MIN.
20058         * csu/init-first.c (__libc_init_first): Call __ctype_init.
20059         * sysdeps/i386/init-first.c (init): Likewise.
20060         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
20061         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
20062         * sysdeps/sh/init-first.c (init): Likewise.
20064 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
20066         * po/ru.po: Update from translation team.
20067         * po/vi.po: Likewise.
20069 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
20071         * resolv/nss_dns/dns-host.c: Merge copyright years.
20073 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
20075         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
20076         Optimize memcpy with prefetch if
20077         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
20078         src, dst pointers have unequal 16 byte alignments.
20080 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
20082         [BZ #13928]
20083         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
20084         from a CNAME entry and return the minimum ttl for the query.
20085         (gaih_getanswer_slice): Likewise.
20087 2012-03-30  Jeff Law  <law@redhat.com>
20089         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
20090         due to long keys.
20091         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
20092         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
20094         * resolv/nss_dns/dns-host.c: Update copyright year.
20096 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
20098         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
20099         requests to save a system call.  Fix check that all bytes are sent.
20101         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
20102         comments for sendmmsg.
20104 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
20106         [BZ #13691]
20107         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
20108         with only 1 character between 0x0041 and 0x01b0.
20109         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
20110         * wcsmbs/tst-mbsnrtowcs.c: New file.
20112 2012-03-29  David S. Miller  <davem@davemloft.net>
20114         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
20115         small copies by hand.
20117 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
20119         [BZ #13761]
20120         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
20121         _nss_compat_initgroups_dyn): Fall back to malloc/free
20122         for large group memberships.
20124 2012-03-28  David S. Miller  <davem@davemloft.net>
20126         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
20127         that branches into memcpy.
20128         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
20129         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
20130         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
20131         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
20132         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
20133         bits.
20134         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
20135         implementation too.
20136         * sysdeps/sparc/mempcpy.S: New file.
20138         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
20139         the IFUNC routine in the libc case.
20140         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
20142         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
20143         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
20144         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
20145         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
20146         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
20147         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
20148         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
20149         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
20151         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
20152         loop to 256 bytes instead of 64 bytes and fix test signedness.
20154         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
20155         * sysdeps/sparc/sparc32/Makefile: rather than here...
20156         * sysdeps/sparc/sparc64/Makefile: and here.
20158 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
20160         * malloc/mallocbug.c: Avoid warnings about unused variables.
20162 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
20164         [BZ #13760]
20165         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
20166         in the right place. Discard and retry query if response is
20167         larger than input buffer size.
20169 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
20171         [BZ #369]
20172         [BZ #2678]
20173         [BZ #3866]
20174         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
20175         x for large integer exponent.
20176         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
20177         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
20178         sign of result as needed afterwards.
20179         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
20180         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
20181         result for underflowing pow the same as for overflow.
20182         (__kernel_standard_l): Handle powl overflow and underflow here
20183         rather than calling __kernel_standard.
20184         * math/libm-test.inc (pow_test): Add more tests.
20186         [BZ #3868]
20187         [BZ #13879]
20188         [BZ #13910]
20189         [BZ #13911]
20190         [BZ #13912]
20191         [BZ #13913]
20192         [BZ #13915]
20193         [BZ #13916]
20194         [BZ #13917]
20195         [BZ #13918]
20196         [BZ #13919]
20197         [BZ #13920]
20198         [BZ #13921]
20199         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
20200         * sysdeps/ieee754/k_standard.c: Include <float.h>.
20201         (__kernel_standard_l): New function.
20202         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
20203         __kernel_standard.
20204         * math/w_acosl.c (__acosl): Likewise.
20205         * math/w_asinl.c (__asinl): Likewise.
20206         * math/w_atan2l.c (__atan2l): Likewise.
20207         * math/w_atanhl.c (__atanhl): Likewise.
20208         * math/w_coshl.c (__coshl): Likewise.
20209         * math/w_exp10l.c (__exp10l): Likewise.
20210         * math/w_exp2l.c (__exp2l): Likewise.
20211         * math/w_fmodl.c (__fmodl): Likewise.
20212         * math/w_hypotl.c (__hypotl): Likewise.
20213         * math/w_j0l.c (__j0l, __y0l): Likewise.
20214         * math/w_j1l.c (__j1l, __y1l): Likewise.
20215         * math/w_jnl.c (__jnl, __ynl): Likewise.
20216         * math/w_lgammal.c (__lgammal): Likewise.
20217         * math/w_log10l.c (__log10l): Likewise.
20218         * math/w_log2l.c (__log2l): Likewise.
20219         * math/w_logl.c (__logl): Likewise.
20220         * math/w_powl.c (__powl): Likewise.
20221         * math/w_remainderl.c (__remainderl): Likewise.
20222         * math/w_scalbl.c (sysv_scalbl): Likewise.
20223         * math/w_sinhl.c (__sinhl): Likewise.
20224         * math/w_sqrtl.c (__sqrtl): Likewise.
20225         * math/w_tgammal.c (__tgammal): Likewise.
20226         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
20227         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
20228         * math/libm-test.inc (acos_test): Add more tests.
20229         (acosh_test): Likewise.
20230         (asin_test): Likewise.
20231         (atanh_test): Likewise.
20232         (exp_test): Likewise.
20233         (exp10_test): Likewise.
20234         (exp2_test): Likewise.
20235         (expm1_test): Likewise.
20236         (lgamma_test): Likewise.
20237         (log_test): Likewise.
20238         (log10_test): Likewise.
20239         (log1p_test): Likewise.
20240         (log2_test): Likewise.
20241         (pow_test): Do not allow some spurious overflow exceptions.
20242         (sqrt_test): Add more tests.
20243         (tgamma_test): Likewise.
20244         (y0_test): Likewise.
20245         (y1_test): Likewise.
20246         (yn_test): Likewise.
20248 2012-03-27  Anton Blanchard  <anton@samba.org>
20250         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
20251         MAP_HUGETLB.
20252         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
20253         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
20254         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
20256 2012-03-27  David S. Miller  <davem@davemloft.net>
20258         * conform/Makefile: Run run-conformtest.sh using $(BASH).
20260         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
20261         have-as-vis3 check.
20263 2012-03-27  Andreas Jaeger  <aj@suse.de>
20265         * sysdeps/x86_64/elf/configure.in: Moved to ...
20266         * sysdeps/x86_64/configure.in: ... here.
20267         * sysdeps/x86_64/elf/start.S: Moved to ...
20268         * sysdeps/x86_64/start.S: ... here.
20269         * sysdeps/x86_64/elf/configure: Delete.
20271         * sysdeps/x86_64/configure.in: Merge contents from
20272         sysdeps/i386/configure.in (without i686 check).
20274         * sysdeps/i386/elf/Versions: Merge into ...
20275         * sysdeps/i386/Versions: ... this.
20276         * sysdeps/i386/elf/Versions: Delete file.
20277         * sysdeps/i386/elf/start.S: Moved to ...
20278         * sysdeps/i386/start.S: ...here.
20279         * sysdeps/i386/elf/configure.in: Merge into...
20280         * sysdeps/i386/configure.in: ...here.
20281         * sysdeps/i386/elf/configure.in: Delete file.
20282         * sysdeps/i386/elf/configure: Delete file.
20284         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
20285         * debug/backtracesyms.c: ... here.
20286         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
20287         * debug/backtracesymsfd.c: ... here.
20288         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
20289         * sysdeps/generic/ifunc-sel.h: ... here.
20291         * sysdeps/unix/i386/start.c: Delete file.
20292         * sysdeps/unix/sparc/start.c: Delete file.
20293         * sysdeps/unix/start.c: Delete file.
20295         * sysdeps/sh/elf/configure.in: Moved to ...
20296         * sysdeps/sh/configure.in: ... here.
20297         * sysdeps/sh/elf/start.S: Moved to ...
20298         * sysdeps/sh/start.S: ... here.
20299         * sysdeps/sh/elf/configure: Delete file.
20301         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
20302         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
20303         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
20304         * sysdeps/powerpc/powerpc64/entry.h: ... here.
20305         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
20306         * sysdeps/powerpc/powerpc64/start.S: here.
20307         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
20308         * sysdeps/powerpc/powerpc64/Makefile: ... this.
20309         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
20310         * sysdeps/powerpc/powerpc64/configure.in: ... this.
20311         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
20313         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
20314         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
20315         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
20316         * sysdeps/powerpc/powerpc32/start.S: ... here.
20317         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
20318         * sysdeps/powerpc/powerpc32/configure.in: ... this.
20319         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
20321         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
20322         * sysdeps/powerpc/ifunc-sel.h: ... here.
20323         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
20324         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
20326         * sysdeps/sparc/elf/configure.in: Moved to ...
20327         * sysdeps/sparc/configure.in: ... here.
20328         * sysdeps/sparc/elf/configure: Delete file.
20329         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
20330         * sysdeps/sparc/sparc32/start.S: ... here.
20331         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
20332         * sysdeps/sparc/sparc64/start.S: ... here.
20333         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
20334         * sysdeps/sparc/sparc32/Makefile: ... this.
20335         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
20336         * sysdeps/sparc/sparc64/Makefile: ... this.
20338         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
20339         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
20340         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
20341         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
20342         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
20343         * sysdeps/s390/s390-32/setjmp.S: ... here.
20344         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
20345         * sysdeps/s390/s390-32/configure.in: ... here.
20346         * sysdeps/s390/s390-32/elf/configure: Delete file.
20347         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
20348         * sysdeps/s390/s390-32/start.S: ... here.
20350         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
20351         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
20352         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
20353         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
20354         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
20355         * sysdeps/s390/s390-64/setjmp.S: ... here.
20356         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
20357         * sysdeps/s390/s390-64/configure.in: ... here
20358         * sysdeps/s390/s390-64/elf/configure: Delete file.
20359         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
20360         * sysdeps/s390/s390-64/start.S: ... here.
20361         * sysdeps/s390/s390-64/elf/configure: Delete.
20363         * configure.in: Remove support for elf directories in sysdeps.
20365         * configure: Regenerated.
20366         * sysdeps/i386/configure: Regenerated.
20367         * sysdeps/powerpc/powerpc32/configure: Regenerated.
20368         * sysdeps/powerpc/powerpc64/configure: Regenerated.
20369         * sysdeps/s390/s390-32/configure: Regenerated.
20370         * sysdeps/s390/s390-64/configure: Regenerated.
20371         * sysdeps/sh/configure: Regenerated.
20372         * sysdeps/sparc/configure: Regenerated.
20373         * sysdeps/x86_64/configure: Regenerated.
20375 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
20377         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20379         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
20380         denormal result into account.
20382 2012-03-25  Roland McGrath  <roland@hack.frob.com>
20384         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
20385         Reported by Allan McRae <allan@archlinux.org>.
20387 2012-03-23  Jeff Law  <law@redhat.com>
20389         * nss/getnssent.c (__nss_getent): Fix typo.
20391 2012-03-23  David S. Miller  <davem@davemloft.net>
20393         * sysdeps/sparc/fpu/libm-test-ulps: Update.
20395 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
20397         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
20398         to pad to uint64_t for each field.
20399         (dl_tls_index): Replace unsigned long with uint64_t.
20401 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
20402         Paul Pluzhnikov  <ppluzhnikov@google.com>
20404         [BZ #6528]
20405         * grp/Makefile (otherlibs): Don't set it.
20406         * inet/Makefile (otherlibs): Likewise.
20407         * login/Makefile (otherlibs): Likewise.
20408         * nscd/Makefile (otherlibs): Likewise.
20409         * posix/Makefile (otherlibs): Likewise.
20410         * pwd/Makefile (otherlibs): Likewise.
20411         * rt/Makefile (otherlibs): Likewise.
20412         * sunrpc/Makefile (otherlibs): Likewise.
20413         * nss/Makefile (otherlibs): Likewise.
20414         Add libnss_files to routines and static-only-routines.
20415         ($(objpfx)getent): Remove rule.
20416         * resolv/Makefile: Add libnss_dns and libresolv to routines and
20417         static-only-routines.
20419 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
20421         [BZ #13892]
20422         * math/s_cexp.c: Include <float.h>.
20423         (__cexp): Handle exp result overflowing not necessarily
20424         overflowing both real and imaginary parts of result.
20425         * math/s_cexpf.c: Likewise.
20426         * math/s_cexpl.c: Likewise.
20427         * math/libm-test.inc (cexp_test): Add more tests.
20428         * sysdeps/i386/fpu/libm-test-ulps: Update.
20429         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20431 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
20433         * include/link.h (ELFW): New macro.
20434         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
20435         Replace ELF64_R_TYPE with ELFW(R_TYPE).
20437 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
20439         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
20440         with uint64_t.
20442 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
20444         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
20445         declaration.
20446         (struct La_x32_retval): Likewise.
20448 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
20450         * sysdeps/x86_64/preconfigure.in: New file.
20451         * sysdeps/x86_64/preconfigure: New generated file.
20453 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
20455         [BZ #13824]
20456         * math/e_exp2l.c: Include <float.h>.
20457         (__ieee754_exp2l): Handle overflow and underflow cases
20458         separately.  Only pass fractional part of argument to
20459         __ieee754_expl.
20460         * math/libm-test.inc (exp2_test): Add more tests.
20462         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
20463         negating x to take absolute value.
20464         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
20465         Likewise.
20466         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
20467         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
20468         Likewise.
20469         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
20470         computing low part if x was negated.
20471         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
20473 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
20475         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
20476         la_x32_gnu_pltexit.
20477         (pltexit): Cast int_retval to ptrdiff_t.
20478         * elf/tst-auditmod3b.c: Likewise.
20479         * elf/tst-auditmod4b.c: Likewise.
20480         * elf/tst-auditmod5b.c: Likewise.
20481         * elf/tst-auditmod6b.c: Likewise.
20482         * elf/tst-auditmod6c.c: Likewise.
20483         * elf/tst-auditmod7b.c: Likewise.
20485         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
20486         and x32_gnu_pltexit.
20488         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
20489         __ELF_NATIVE_CLASS.
20490         (La_x32_regs): New macro.
20491         (La_x32_retval): Likewise.
20492         (la_x32_gnu_pltenter): New function prototype.
20493         (la_x32_gnu_pltexit): Likewise.
20495 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
20497         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
20498         exponent.
20500         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20502         * configure.in (libc_cv_cc_nofma): Check for option to disable
20503         generation of FMA instructions.
20504         * configure: Regenerate.
20505         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
20506         * sysdeps/ieee754/dbl-64/Makefile: New file.
20507         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
20508         Remove brandred-fma4.
20509         (CFLAGS-brandred-fma4.c): Remove.
20510         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
20511         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
20512         define.
20513         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
20514         define.
20516 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
20518         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
20519         LLONG_MAX != LONG_MAX.
20520         (_itoa_word): Use _ITOA_WORD_TYPE on value.
20521         (_fitoa_word): Likewise.
20522         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
20523         LLONG_MAX != LONG_MAX.
20524         * stdio-common/_itowa.h: Include <_itoa.h>.
20525         (_itowa_word): Use _ITOA_WORD_TYPE on value.
20526         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
20527         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
20528         only if not defined.
20529         (_ITOA_WORD_TYPE): Likewise.
20530         (_itoa_word): Use _ITOA_WORD_TYPE on value.
20531         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
20533 2012-03-21  David S. Miller  <davem@davemloft.net>
20535         * sysdeps/sparc/fpu/libm-test-ulps: Update.
20537 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
20539         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
20540         of x86_64 when setting libc_cv_slibdir, libdir and
20541         libc_cv_localedir.
20542         * sysdeps/unix/sysv/linux/configure: Regenerated.
20544 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
20546         * manual/lang.texi (Old Varargs): Remove section.
20547         (How Variadic): Update menu.
20548         (va_start): Do not mention varargs.h.
20550 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
20551             Joseph Myers  <joseph@codesourcery.com>
20553         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
20554         link test.
20555         * configure: Regenerated.
20557 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
20559         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
20560         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
20561         conformtest.pl
20563 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
20565         * NOTES: Remove.
20566         * Makefile (files-for-dist): Remove NOTES.
20567         (NOTES): Remove rule.
20568         * README: Don't refer to NOTES.
20569         * manual/creature.texi: Don't include macros.texi.
20570         * manual/intro.texi (creature.texi): Remove comment referring to
20571         NOTES.
20573         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
20574         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
20575         * configure: Regenerated.
20576         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
20577         LIBC_TRY_CC_OPTION.
20578         (libc_cv_as_i686): Likewise.
20579         (libc_cv_cc_avx): Likewise.
20580         (libc_cv_cc_sse2avx): Likewise.
20581         (libc_cv_cc_fma4): Likewise.
20582         (libc_cv_cc_novzeroupper): Likewise.
20583         * sysdeps/i386/configure: Regenerated.
20585         [BZ #13883]
20586         * sysdeps/i386/fpu/s_cexp.S: Remove.
20587         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
20588         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
20589         * math/libm-test.inc (cexp_test): Add more tests.
20590         * sysdeps/i386/fpu/libm-test-ulps: Update.
20591         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20593 2012-03-21  Allan McRae  <allan@archlinux.org>
20595         * timezone/Makefile: Do not install iso3166.tab and zone.tab
20597 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
20599         [BZ #13871]
20600         * math/w_exp2.c: Do not include <float.h>.
20601         (o_threshold, u_threshold): Remove.
20602         (__exp2): Calculate result before checking finiteness and calling
20603         __kernel_standard.
20604         * math/w_exp2f.c: Likewise.
20605         * math/w_exp2l.c: Likewise.
20606         * math/libm-test.inc (exp2_test): Require overflow exception for
20607         1e6 input.
20609         [BZ #3866]
20610         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
20611         range of signed 64-bit integers before using fistpll.  Remove
20612         checks for whether integers fit in mantissa bits.
20613         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
20614         the range of signed 32-bit integers before using fistpl.  Remove
20615         checks for whether integers fit in mantissa bits.
20616         * sysdeps/i386/fpu/e_powl.S (p64): New object.
20617         (__ieee754_powl): Test for y outside the range of signed 64-bit
20618         integers before using fistpll.  Reduce 64-bit values to 63-bit
20619         ones as needed.
20620         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
20621         divide-by-zero is raised for zero to large negative powers.
20622         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
20623         (__ieee754_powl): Test for y outside the range of signed 64-bit
20624         integers before using fistpll.  Reduce 64-bit values to 63-bit
20625         ones as needed.
20626         * math/libm-test.inc (pow_test): Add more tests.
20628 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
20630         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
20631         <stdio-common/_itoa.h>.
20632         * debug/segfault.c: Likewise.
20633         * elf/dl-cache.c: Likewise.
20634         * elf/dl-minimal.c: Likewise.
20635         * elf/dl-misc.c: Likewise.
20636         * elf/dl-sysdep.c: Likewise.
20637         * elf/dl-version.c: Likewise.
20638         * elf/rtld.c: Likewise.
20639         * hurd/hurdsock.c: Likewise.
20640         * hurd/lookup-retry.c: Likewise.
20641         * malloc/malloc.c: Likewise.
20642         * malloc/mtrace.c: Likewise.
20643         * nscd/nscd_getgr_r.c: Likewise.
20644         * nscd/nscd_getpw_r.c: Likewise.
20645         * nscd/nscd_getserv_r.c: Likewise.
20646         * posix/getopt_init.c: Likewise.
20647         * posix/wordexp.c: Likewise.
20648         * stdio-common/_itoa.c: Likewise.
20649         * stdio-common/printf_fphex.c: Likewise.
20650         * stdio-common/vfprintf.c: Likewise.
20651         * string/_strerror.c: Likewise.
20652         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
20653         * sysdeps/i386/i686/hp-timing.h: Likewise.
20654         * sysdeps/mach/_strerror.c: Likewise.
20655         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
20656         * sysdeps/mach/hurd/sethostid.c: Likewise.
20657         * sysdeps/mach/hurd/xmknodat.c: Likewise.
20658         * sysdeps/mach/xpg-strerror.c: Likewise.
20659         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
20660         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
20661         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
20662         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
20663         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
20664         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
20665         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
20666         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
20667         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
20668         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
20669         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
20670         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
20671         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
20672         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
20673         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
20674         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
20675         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
20676         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
20677         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
20678         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
20679         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
20681         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
20683         * stdio-common/_itoa.h: Moved to ...
20684         * sysdeps/generic/_itoa.h: Here.
20686         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
20688         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
20689         instead of "_itoa.h" and "_itowa.h".
20690         * stdio-common/vfprintf.: Likewise.
20692 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
20694         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
20695         <bits/wordsize.h>.
20696         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
20697         (__signbit): Likwise.
20698         (llrintf): Likwise.
20699         (llrint): Likwise.
20701 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
20703         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
20704         __WORDSIZE != 64.
20706 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
20708         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
20709         OVERFLOW_EXCEPTION_OK.
20710         * math/libm-test.inc ("Philosophy"): Update comment about
20711         exception testing.
20712         (OVERFLOW_EXCEPTION): Define.
20713         (OVERFLOW_EXCEPTION_OK): Likewise.
20714         (INVALID_EXCEPTION_OK): Renumber.
20715         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
20716         (IGNORE_ZERO_INF_SIGN): Likewise.
20717         (test_exceptions): Handle FE_OVERFLOW.
20718         (exp10_test): Expect overflow exceptions.
20719         (exp2_test): Likewise.
20720         (expm1_test): Likewise.
20721         (nextafter_test): Likewise.
20722         (pow_test): Likewise.
20723         (scalbn_test): Likewise.
20724         (scalbln_test): Likewise.
20726 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
20728         * sysdeps/x86_64/bits/atomic.h
20729         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
20730         64bit integer.
20731         (atomic_exchange_acq): Likewise.
20732         (__arch_exchange_and_add_body): Likewise.
20733         (__arch_add_body): Likewise.
20734         (atomic_add_negative): Likewise.
20735         (atomic_add_zero): Likewise.
20737 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
20739         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
20740         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
20742 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
20744         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
20745         Check __x86_64__ instead of __WORDSIZE.
20747 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
20749         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
20751 2012-03-19  David S. Miller  <davem@davemloft.net>
20753         * sysdeps/sparc/fpu/libm-test-ulps: Update.
20755         * sysdeps/sparc/fpu/fenv_private.h: New file.
20756         * sysdeps/sparc/fpu/math_private.h: Use it.
20757         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
20758         Remove.
20759         (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
20760         (libc_feholdexcept_setroundl): Remove.
20761         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
20762         Remove.
20763         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
20764         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
20766 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
20768         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
20769         int64_t instead of long int.
20770         (INSERT_WORDS64): Likwise.
20772 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
20774         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
20775         _Unwind_GetCFA return to _Unwind_Ptr first.
20777 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
20779         [BZ #13629]
20780         * math/s_clog.c: Include <float.h>.
20781         (__clog): Scale large or subnormal inputs.
20782         * math/s_clogf.c: Likewise.
20783         * math/s_clogl.c: Likewise.
20784         * math/s_clog10.c: Include <float.h>.
20785         (M_LOG10_2): Define.
20786         (__clog10): Scale large or subnormal inputs.
20787         * math/s_clog10f.c: Likewise.
20788         * math/s_clog10l.c: Likewise.
20789         * math/libm-test.inc (clog_test): Add more tests.
20790         (clog10_test): Likewise.
20791         * sysdeps/i386/fpu/libm-test-ulps: Update.
20792         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20794         [BZ #11451]
20795         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
20796         x and y.
20797         * math/libm-test.inc (atan2_test): Add another test.
20799         * Makerules (common-objdir-compile): Remove.
20800         * sysdeps/unix/Makefile (config-generated): Do not add
20801         $(unix-generated) to variable.
20802         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
20803         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
20804         Remove rule.
20805         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
20806         Likewise.
20807         [generic bits/local_lim.h] (before-compile): Do not append to
20808         variable.
20809         [generic bits/local_lim.h] (common-generated): Likewise.
20810         [generic sys/param.h] (before-compile): Do not append to variable.
20811         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
20812         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
20813         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
20814         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
20815         include.
20816         [generic sys/param.h] (sys/param.h-includes): Remove variable.
20817         [generic sys/param.h] (sys/param.h-includes): Remove rule.
20818         [generic sys/param.h] ($(addprefix
20819         $(common-objpfx),$(sys/param.h-includes))): Likewise.
20820         [generic sys/param.h] (common-generated): Do not append to
20821         variable.
20822         [generic sys/param.h] (sysdep_headers): Likewise.
20823         [generic bits/errno.h] (before-compile): Do not append to
20824         variable.
20825         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
20826         rule.
20827         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
20828         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
20829         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
20830         [generic bits/errno.h] (common-generated): Do not append to
20831         variable.
20832         [generic bits/ioctls.h] (before-compile): Do not append to
20833         variable.
20834         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
20835         rule.
20836         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
20837         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
20838         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
20839         rule.
20840         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
20841         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
20842         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
20843         [generic bits/ioctls.h] (common-generated): Do not append to
20844         variable.
20845         [generic sys/syscall.h] (syscall.h): Remove variable.
20846         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
20847         rule.
20848         [generic sys/syscall.h] (before-compile): Do not append to
20849         variable.
20850         [generic sys/syscall.h] (common-generated): Likewise.
20851         * sysdeps/unix/errnos-tmpl.c: Remove file.
20852         * sysdeps/unix/errnos.awk: Likewise.
20853         * sysdeps/unix/ioctls-tmpl.c: Likewise.
20854         * sysdeps/unix/ioctls.awk: Likewise.
20855         * sysdeps/unix/mk-local_lim.c: Likewise.
20856         * sysdeps/unix/snarf-ioctls: Likewise.
20858 2012-03-19  Richard Henderson  <rth@twiddle.net>
20860         * sysdeps/i386/fpu/fenv_private.h: New file.
20861         * sysdeps/i386/fpu/math_private.h: Use it.
20862         (math_opt_barrier, math_force_eval): Remove.
20863         (libc_feholdexcept_setround_53bit): Remove.
20864         (libc_feupdateenv_53bit): Remove.
20865         * sysdeps/x86_64/fpu/math_private.h: Likewise.
20866         (math_opt_barrier, math_force_eval): Remove.
20867         (libc_feholdexcept): Remove.
20868         (libc_feholdexcept_setround): Remove.
20869         (libc_fetestexcept, libc_fesetenv): Remove.
20870         (libc_feupdateenv_test): Remove.
20871         (libc_feupdateenv, libc_feholdsetround): Remove.
20872         (libc_feresetround): Remove.
20874         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
20875         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
20877         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
20878         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
20879         (libc_feupdateenv_testl): New.
20880         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
20881         (libc_feupdateenv_testf): New.
20882         (libc_feupdateenv): Use libc_feupdateenv_test.
20883         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
20884         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
20886         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
20887         (libc_feholdsetroundf, libc_feholdsetroundl): New.
20888         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
20889         (libc_feresetround_noex): New.
20890         (libc_feresetround_noexf): New.
20891         (libc_feresetround_noexl): New.
20892         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
20893         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
20894         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
20895         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
20896         SET_RESTORE_ROUND.
20897         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
20898         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
20899         (__cos): Likewise.
20900         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
20901         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
20902         SET_RESTORE_ROUND_NOEX.
20903         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
20904         SET_RESTORE_ROUND_NOEXF.
20905         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
20906         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
20907         (libc_feholdsetroundf): New.
20908         (libc_feresetround, libc_feresetroundf): New.
20910         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
20911         (libc_feholdexcept_setround_53bit): Convert from macro to function.
20912         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
20914         * sysdeps/generic/math_private.h: Include <fenv.h>.
20915         (default_libc_feholdexcept): New.
20916         (default_libc_feholdexcept_setround): New.
20917         (default_libc_fesetenv, default_libc_feupdateenv): New.
20918         (libc_feholdexcept): Only define if undefined.
20919         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
20920         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
20921         (libc_feholdexcept_setroundl): Likewise.
20922         (libc_feholdexcept_setround_53bit): Likewise.
20923         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
20924         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
20925         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
20926         (libc_feupdateenv_53bit): Likewise.
20927         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
20928         (libc_feholdexcept): Convert from macro to inline function.
20929         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
20930         (libc_fesetenv, libc_feupdateenv): Likewise.
20932         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
20933         not previously defined.
20934         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
20935         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
20936         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
20937         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
20938         * sysdeps/ieee754/flt-32/math_private.h: New file.
20939         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
20940         math_private.h below SET_FLOAT_WORD.
20941         (__isnan, __isinf_ns, __finite): Remove.
20942         (__isnanf, __isinf_nsf, __finitef): Remove.
20944 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
20946         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20948 2012-03-17  David S. Miller  <davem@davemloft.net>
20950         [BZ #6471]
20951         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
20952         for 2.16.
20954 2012-03-16  David S. Miller  <davem@davemloft.net>
20956         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
20957         warnings.
20959         [BZ #6471]
20960         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
20961         properly.
20962         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
20963         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
20964         sysdep_routines when subdir is sysvipc.
20965         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
20966         __getshmlba helper.
20968         * sysdeps/sparc/fpu/libm-test/ulps: Update.
20970 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
20972         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
20973         [__LP64__].
20975 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
20977         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
20978         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
20979         (__lround): Renamed to ...
20980         (__llround): This.  Replace long int with long long int.
20981         Define lround functions as aliases of llround functions.
20982         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
20984 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
20986         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
20987         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
20988         adresses to uintptr_t.  Replace "long int" and "unsigned long
20989         int" with "greg_t" on va_arg.
20991 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
20993         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
20994         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
20996         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
20997         Move e_machine check before EI_CLASS check.  Handle x32
20998         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
20999         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
21000         SKIP_EM_IA_64 and include
21001         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
21003         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
21004         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
21005         (add_system_dir): New macro.
21007         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
21008         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
21010 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
21012         [BZ #2551]
21013         [BZ #2552]
21014         [BZ #2553]
21015         [BZ #2554]
21016         [BZ #2562]
21017         [BZ #2563]
21018         [BZ #2565]
21019         [BZ #2566]
21020         [BZ #2576]
21021         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
21022         (y0): Likewise.
21023         * math/w_j0f.c (j0f): Likewise.
21024         (y0f): Likewise.
21025         * math/w_j0l.c (__j0l): Likewise.
21026         (__y0l): Likewise.
21027         * math/w_j1.c (j1): Likewise.
21028         (y1): Likewise.
21029         * math/w_j1f.c (j1f): Likewise.
21030         (y1f): Likewise.
21031         * math/w_j1l.c (__j1l): Likewise.
21032         (__y1l): Likewise.
21033         * math/w_jn.c (jn): Likewise.
21034         (yn): Likewise.
21035         * math/w_jnf.c (jnf): Likewise.
21036         (ynf): Likewise.
21037         * math/w_jnl.c (__jnl): Likewise.
21038         (__ynl): Likewise.
21039         * math/libm-test.inc (j0_test): Add more tests.
21040         (j1_test): Likewise.
21041         (jn_test): Likewise.  Add trailing semicolon to existing test.
21042         (y0_test): Likewise.
21043         (y1_test): Likewise.
21044         * sysdeps/i386/fpu/libm-test-ulps: Update.
21045         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21047         [BZ #13851]
21048         [BZ #13854]
21049         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
21050         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
21051         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
21052         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
21053         (__tanl): Set errno for infinite argument.
21054         * sysdeps/i386/fpu/mptan.c: Remove.
21055         * sysdeps/i386/fpu/s_tan.S: Likewise.
21056         * sysdeps/i386/fpu/s_tanl.S: Likewise.
21057         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
21058         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
21059         * math/libm-test.inc (tan_test): Add more tests and enable more
21060         tests for double and long double.
21061         * sysdeps/i386/fpu/libm-test-ulps: Update.
21062         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21064 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
21066         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
21067         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
21069 2012-03-16  Roland McGrath  <roland@hack.frob.com>
21071         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
21072         * configure.in: Use it for both main tree and add-ons.
21073         * configure: Regenerated.
21075 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
21077         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
21079 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
21081         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
21082         in comment.
21084         [BZ #13851]
21085         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
21086         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
21087         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
21088         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
21089         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
21090         infinite argument.
21091         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
21092         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
21093         != 0 for prec == 2.
21094         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
21095         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
21096         * sysdeps/i386/fpu/s_cosl.S: Likewise.
21097         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
21098         * sysdeps/i386/fpu/s_sinl.S: Likewise.
21099         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
21100         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
21101         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
21102         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
21103         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
21104         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
21105         * math/libm-test.inc (cos_test): Add more tests and enable more
21106         tests for long double.
21107         (sin_test): Likewise.
21108         (sincos_test): Likewise.
21109         * sysdeps/i386/fpu/libm-test-ulps: Update.
21110         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21112 2012-03-16  David S. Miller  <davem@davemloft.net>
21114         * sysdeps/sparc/fpu/math_private.h: New file.
21116 2012-03-15  David S. Miller  <davem@davemloft.net>
21118         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
21119         file.
21120         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
21121         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
21122         file.
21123         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
21124         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
21125         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
21126         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
21127         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
21128         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
21129         sysdep routines.
21130         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
21132         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
21133         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
21135         * sysdeps/sparc/sparc-ifunc.h: New file.
21136         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
21137         sparc-ifunc.h
21138         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
21139         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
21140         Likewise.
21141         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
21142         Likewise.
21143         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
21144         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
21145         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
21146         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
21147         Likewise.
21148         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
21149         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
21150         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
21151         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
21152         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
21153         Likewise.
21154         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
21155         Likewise.
21156         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
21157         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
21158         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
21159         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
21160         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
21161         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
21162         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
21163         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
21164         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
21165         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
21166         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
21167         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
21168         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
21169         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
21170         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
21171         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
21172         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
21173         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
21174         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
21175         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
21176         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
21177         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
21178         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
21179         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
21181 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
21183         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
21184         scaling.
21185         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21187 2012-03-15  Andreas Jaeger  <aj@suse.de>
21189         [BZ #13852]
21190         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
21191         ieee754/flt-32 implementation for sin, cos and sincos.
21192         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
21193         * sysdeps/i386/fpu/s_cosf.S: Likewise.
21194         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
21195         * sysdeps/i386/fpu/s_sinf.S: Likewise.
21196         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
21197         ieee754/flt-32 implementation for tan.
21199         * math/libm-test.inc (cos_test): Enable some large input tests for
21200         float as well
21201         (sin_test): Likewise.
21202         (sincos_test): Likewise.
21203         (tan_test): Add tests for large input.
21205         * sysdeps/i386/fpu/libm-test-ulps: Update.
21207 2012-03-15  Andreas Jaeger  <aj@suse.de>
21209         [BZ #13658]
21210         * math/libm-test.inc (cos_test): Add more test cases.
21211         (sin_test): Likewise.
21212         (sincos_test): Likewise.
21214 2012-03-15  Andreas Jaeger  <aj@suse.de>
21216         [BZ #13837]
21217         * math/libm-test.inc (cos_test): Add a test case for large input
21218         value.
21219         (sin_test): Likewise.
21220         (sincos_test): Likewise.
21222 2012-03-15  Andreas Jaeger  <aj@suse.de>,
21223         Joseph Myers  <joseph@codesourcery.com>
21225         [BZ #13658]
21226         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
21227         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
21228         * sysdeps/i386/fpu/branred.c: Likewise.
21229         * sysdeps/i386/fpu/dosincos.c: Likewise.
21230         * sysdeps/i386/fpu/mpa.c: Likewise.
21231         * sysdeps/i386/fpu/s_cos.S: Likewise.
21232         * sysdeps/i386/fpu/s_sin.S: Likewise.
21233         * sysdeps/i386/fpu/s_sincos.S: Likewise.
21234         * sysdeps/i386/fpu/sincos32.c: Likewise.
21236         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
21237         Define.
21238         (libc_feupdateenv_53bit): Define.
21239         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
21240         Define.
21241         (libc_feupdateenv_53bit): Define.
21243         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
21244         53 bit (without extend i386 double precision).
21246         * math/libm-test.inc (sincos_test): Add tests for large input.
21247         (sin): Likewise.
21248         (cos): Likewise.
21250         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
21252 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
21254         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21256 2012-03-15  David S. Miller  <davem@davemloft.net>
21258         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
21259         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
21260         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
21261         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
21262         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
21263         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
21264         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
21265         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
21266         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
21267         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
21268         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
21269         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
21270         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
21271         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
21272         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
21273         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
21274         file.
21275         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
21276         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
21277         file.
21278         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
21279         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
21280         file.
21281         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
21282         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
21283         file.
21284         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
21285         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
21286         fmin/fmax sysdep routines.
21287         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
21289 2012-03-14  David S. Miller  <davem@davemloft.net>
21291         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
21292         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
21293         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
21294         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
21295         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
21296         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
21297         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
21298         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
21299         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
21300         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
21301         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
21302         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
21303         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
21304         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
21305         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
21306         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
21307         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
21308         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
21309         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
21310         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
21311         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
21312         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
21313         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
21314         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
21315         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
21316         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
21317         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
21318         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
21319         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
21320         routines.
21321         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
21322         file.
21323         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
21324         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
21325         file.
21326         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
21327         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
21328         file.
21329         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
21330         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
21331         file.
21332         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
21333         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
21334         file.
21335         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
21336         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
21337         file.
21338         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
21339         file.
21340         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
21341         file.
21342         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
21343         file.
21344         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
21345         New file.
21346         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
21347         file.
21348         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
21349         file.
21350         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
21351         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
21352         file.
21353         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
21354         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
21355         file.
21356         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
21357         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
21358         file.
21359         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
21360         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
21361         VIS3 routines.
21363         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
21364         New file.
21366         * sysdeps/sparc/fpu/libm-test-ulps: Update.
21368         * sysdeps/sparc/configure.in: New file.
21369         * sysdeps/sparc/configure: Generate.
21370         * configure.in (libc_cv_sparc_as_vis3): Substitute.
21371         * configure: Regenerate.
21372         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
21373         * config.make.in (have-as-vis3): New.
21374         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
21375         available use -Av9d instead of -Av9a.
21376         * sysdeps/sparc/sparc64/Makefile: Likewise.
21377         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
21378         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
21379         New file.
21380         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
21381         file.
21382         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
21383         New file.
21384         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
21385         file.
21386         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
21387         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
21388         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
21389         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
21390         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
21392         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
21393         fzeros/fnegs to load 0x80000000 into a float register instead of
21394         using the stack.
21395         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
21397 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
21399         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
21400         bits/syscall.h.
21401         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
21402         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
21403         ($(inst_includedir)/bits/syscall.h): Remove rule.
21404         ($(objpfx)bits/syscall.d): Include instead of
21405         $(objpfx)syscall-list.d.
21406         (generated): Change syscall-list.h and syscall-list.d to
21407         bits/syscall.h and bits/syscall.d.
21409 2012-03-14  Roland McGrath  <roland@hack.frob.com>
21411         [BZ #13846]
21412         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
21414 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
21416         [BZ #13841]
21417         * math/s_csqrt.c: Include <float.h>.
21418         (__csqrt): Scale large or subnormal inputs.
21419         * math/s_csqrtf.c: Likewise.
21420         * math/s_csqrtl.c: Likewise.
21421         * math/libm-test.inc (csqrt_test): Add more tests.
21422         * sysdeps/i386/fpu/libm-test-ulps: Update.
21423         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21425         [BZ #13840]
21426         * math/libm-test.inc (hypot_test): Add more tests.
21428 2012-03-13  David S. Miller  <davem@davemloft.net>
21430         [BZ #13840]
21431         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
21432         double-precision for the calculation instead of scaling.
21434 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
21436         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
21437         manipulate bits before adding and subtracting TWO52[sx].
21438         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
21439         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
21440         Likewise.
21441         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
21443 2012-03-13  David S. Miller  <davem@davemloft.net>
21445         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
21446         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
21447         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
21448         rtld-global-offsets.h
21449         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
21451         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
21452         large parameters.
21454         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
21456         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
21457         'err' in the ifdef scope in which it is actually used.
21459         * nss/nss_db/db-init.c: Include string.h
21461 2012-03-12  David S. Miller  <davem@davemloft.net>
21463         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
21464         masking out of the most significant byte of random value used.
21465         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
21466         Fix coding style in previous change.
21468         * sysdeps/unix/sysv/linux/kernel-features.h
21469         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
21470         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
21471         expression.
21472         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
21473         later.
21475 2012-03-11  David S. Miller  <davem@davemloft.net>
21477         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
21478         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
21479         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
21480         for 'resultvar' otherwise things get truncated on 64-bit.
21482         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
21483         Fix masking out of the most significant byte of random value used.
21485         * sysdeps/sparc/fpu/libm-test-ulps: Update.
21487 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
21489         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21491 2012-03-09  David S. Miller  <davem@davemloft.net>
21493         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
21494         variables with appropriate CPP guards.
21495         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
21496         frame pointer, not the stack pointer.  Correct layout comments.  Fix test
21497         on resulting framesize and the management of the outregs buffer for pltexit.
21498         Preserve floating point return values across _dl_call_pltexit call.
21499         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
21500         framesize and the management of the outregs buffer for pltexit.
21501         Preserve floating point return values across _dl_call_pltexit
21502         call.
21503         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
21504         la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
21505         (print_exit): Fix format string for return register value.
21507 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
21509         * sunrpc/Makefile (others): Add rpcgen.
21510         ($(objpfx)rpcgen): Remove special build rule and dependency on
21511         libc.
21512         * sunrpc/rpcgen.c: New file.
21514 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
21516         [BZ #13673]
21517         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
21518         * stdio-common/bug-vfprintf-nargs.c: Likewise.
21519         * sysdeps/i386/crti.S: Likewise.
21520         * sysdeps/i386/crtn.S: Likewise.
21521         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
21522         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
21523         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
21524         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
21525         * sysdeps/sh/crti.S: Likewise.
21526         * sysdeps/sh/crtn.S: Likewise.
21527         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
21529         [BZ #13673]
21530         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
21531         with URL.
21532         * locale/programs/locfile-kw.gperf: Likewise.
21533         * locale/programs/charmap-kw.h: Regenerated.
21534         * locale/programs/locfile-kw.h: Likewise.
21536         [BZ #13673]
21537         * intl/plural.y: Replace FSF snail mail address with URL.
21538         * intl/plural.c: Regenerated.
21540 2012-03-09  Richard Henderson  <rth@twiddle.net>
21542         * include/math_private.h: Remove file.
21543         * math/math_private.h: Move file ...
21544         * sysdeps/generic/math_private.h: ... here.
21546         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
21547         * sysdeps/powerpc/fpu/math_private.h: Likewise.
21548         * sysdeps/x86_64/fpu/math_private.h: Likewise.
21550         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
21551         and <math_private.h>.
21552         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
21553         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
21554         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
21555         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
21556         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
21557         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
21558         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
21559         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
21560         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
21561         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
21562         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
21563         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
21564         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
21565         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
21566         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
21567         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
21568         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
21569         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
21570         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
21571         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
21572         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
21573         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
21574         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
21575         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
21576         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
21577         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
21578         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
21579         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
21580         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
21581         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
21582         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
21583         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
21584         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
21585         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
21586         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
21587         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
21588         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
21589         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
21590         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
21591         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
21592         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
21593         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
21594         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
21595         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
21596         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
21597         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
21598         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
21599         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
21600         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
21601         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
21602         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
21603         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
21604         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
21605         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
21606         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
21607         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
21608         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
21609         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
21610         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
21611         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
21612         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
21613         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
21614         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
21615         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
21616         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
21617         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
21618         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
21619         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
21620         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
21621         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
21622         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
21623         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
21624         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
21625         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
21626         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
21627         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
21628         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
21629         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
21630         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
21631         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
21632         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
21633         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
21634         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
21635         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
21636         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
21637         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
21638         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
21639         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
21640         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
21641         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
21642         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
21643         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
21644         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
21645         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
21646         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
21647         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
21648         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
21649         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
21650         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
21651         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
21652         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
21653         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
21654         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
21655         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
21656         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
21657         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
21658         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
21659         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
21660         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
21661         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
21662         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
21663         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
21664         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
21665         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
21666         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
21667         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
21668         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
21669         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
21670         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
21671         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
21672         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
21673         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
21674         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
21675         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
21676         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
21677         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
21678         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
21679         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
21680         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
21681         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
21682         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
21683         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
21684         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
21685         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
21686         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
21687         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
21688         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
21689         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
21690         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
21691         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
21692         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
21693         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
21694         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
21695         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
21696         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
21697         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
21698         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
21699         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
21700         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
21701         * sysdeps/ieee754/k_standard.c: Likewise.
21702         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
21703         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
21704         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
21705         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
21706         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
21707         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
21708         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
21709         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
21710         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
21711         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
21712         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
21713         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
21714         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
21715         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
21716         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
21717         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
21718         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
21719         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
21720         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
21721         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
21722         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
21723         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
21724         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
21725         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
21726         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
21727         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
21728         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
21729         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
21730         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
21731         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
21732         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
21733         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
21734         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
21735         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
21736         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
21737         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
21738         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
21739         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
21740         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
21741         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
21742         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
21743         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
21744         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
21745         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
21746         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
21747         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
21748         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
21749         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
21750         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
21751         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
21752         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
21753         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
21754         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
21755         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
21756         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
21757         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
21758         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
21759         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
21760         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
21761         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
21762         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
21763         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
21764         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
21765         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
21766         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
21767         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
21768         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
21769         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
21770         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
21771         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
21772         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
21773         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
21774         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
21775         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
21776         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
21777         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
21778         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
21779         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
21780         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
21781         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
21782         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
21783         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
21784         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
21785         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
21786         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
21787         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
21788         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
21789         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
21790         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
21791         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
21792         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
21793         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
21794         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
21795         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
21796         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
21797         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
21798         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
21799         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
21800         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
21801         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
21802         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
21803         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
21804         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
21805         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
21806         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
21807         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
21808         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
21809         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
21810         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
21811         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
21812         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
21813         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
21814         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
21815         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
21816         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
21817         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
21818         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
21819         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
21820         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
21821         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
21822         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
21823         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
21824         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
21825         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
21826         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
21827         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
21828         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
21829         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
21830         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
21831         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
21832         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
21833         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
21834         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
21835         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
21836         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
21837         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
21838         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
21839         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
21840         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
21841         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
21842         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
21843         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
21844         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
21845         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
21846         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
21847         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
21848         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
21849         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
21850         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
21851         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
21852         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
21853         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
21854         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
21855         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
21856         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
21857         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
21858         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
21859         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
21860         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
21861         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
21862         * sysdeps/ieee754/s_lib_version.c: Likewise.
21863         * sysdeps/ieee754/s_matherr.c: Likewise.
21864         * sysdeps/ieee754/s_signgam.c: Likewise.
21865         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
21866         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
21867         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
21868         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
21869         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
21870         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
21871         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
21872         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
21873         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
21874         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
21875         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
21876         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
21877         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
21878         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
21879         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
21880         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
21881         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
21882         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
21883         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
21884         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
21885         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
21887 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
21889         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
21890         * sunrpc/rpc_main.c: Likewise.
21891         * sunrpc/rpc_svcout.c: Likewise.
21893 2012-03-09  David S. Miller  <davem@davemloft.net>
21895         * include/math_private.h: New file.
21897 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
21899         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
21900         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
21901         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
21902         from <bits/socket_type.h>.
21903         (enum __socket_type): Don't define here.
21904         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
21905         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
21906         bits/socket_type.h.
21908         [BZ #13566]
21909         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
21910         checking __USE_GNU.
21912         * Makerules ($(inst_includedir)/%.h): New rule.
21913         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
21914         (install-others): Remove variable setting.
21915         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
21917 2012-03-08  Richard Henderson  <rth@twiddle.net>
21919         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
21920         from macro to inline function; merge with the
21921         !__LIBC_INTERNAL_MATH_INLINES version.
21922         (__ieee754_sqrtf): Likewise.
21924         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
21925         to inline function.
21926         (__rintf, __floor, __floorf): Likewise.
21928         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
21929         macro to inline function.
21930         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
21932         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
21933         not <math/math_private.h>.
21935 2012-03-08  David S. Miller  <davem@davemloft.net>
21937         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
21938         copyright year.
21939         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
21941 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
21943         * resolv/gai_misc.c (handle_requests): Fix struct timespec
21944         normalization.
21945         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
21946         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
21948 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
21950         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
21951         be defined individually, they must be defined as a block.  Define
21952         S for printing a string instead of hidint the different by using a
21953         macro for adding the 'l'.
21954         * stdio-common/tst-fphex-wide.c: Adjust.
21956 2012-03-07  Marek Polacek  <polacek@redhat.com>
21958         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
21960 2012-03-08  Marek Polacek  <polacek@redhat.com>
21962         [BZ #13806]
21963         * stdio-common/Makefile (tests): Add tst-fphex-wide.
21964         * stdio-common/tst-fphex.c: Define a few macros to make the
21965         test reusable.  Use them.
21966         * stdio-common/tst-fphex-wide.c: New file.
21968 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
21970         [BZ #6911]
21971         * manual/macros.texi (gnusystems): New macro.
21972         (nongnusystems): Likewise.
21973         (gnulinuxhurdsystems): Likewise.
21974         (gnuhurdsystems): Likewise..
21975         (gnulinuxsystems): Likewise.
21976         * manual/charset.texi: Use new macros or @theglibc{} to refer to
21977         variants of the GNU system, not "GNU system".
21978         * manual/conf.texi: Likewise.
21979         * manual/errno.texi: Likewise.  Update example of errno macro
21980         expansion.
21981         * manual/filesys.texi: Likewise.
21982         (getumask): Document as specific to GNU/Hurd.
21983         * manual/install.texi: Likewise.  Reword some references to
21984         GNU/Linux.
21985         * manual/intro.texi: Likewise.
21986         * manual/io.texi: Likewise.
21987         (File Name Portability): Detail which constraints are inapplicable
21988         to all GNU systems and which are only inapplicable to GNU/Hurd.
21989         * manual/job.texi: Likewise.
21990         * manual/llio.texi: Likewise.
21991         (O_NOCTTY): Document as present on GNU/Linux.
21992         * manual/maint.texi: Likewise.
21993         * manual/memory.texi: Likewise.
21994         * manual/pattern.texi: Likewise.
21995         * manual/pipe.texi: Likewise.
21996         * manual/process.texi: Likewise.
21997         * manual/resource.texi: Likewise.
21998         (RUSAGE_CHILDREN): Remove statement about specifying a particular
21999         child on GNU/Hurd.
22000         * manual/setjmp.texi: Likewise.
22001         * manual/signal.texi: Likewise.
22002         * manual/startup.texi: Likewise.
22003         * manual/stdio.texi: Likewise.
22004         * manual/terminal.texi: Likewise.
22005         (ONLCR): Document as POSIX.
22006         (OXTABS): Document availability on GNU/Linux as XTABS.
22007         (ONOEOT): Document availability separately from other bits.
22008         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
22009         * manual/time.texi: Likewise.
22010         * manual/users.texi: Likewise.
22011         * INSTALL: Regenerated.
22012         * sysdeps/gnu/errlist.c: Regenerated.
22014         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
22015         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
22016         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
22017         puts.
22018         * configure: Regenerated.
22020 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
22022         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
22023         default includes instead of AC_HEADER_CHECK.
22024         * sysdeps/i386/configure: Regenerated.
22026         [BZ #10716]
22027         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
22028         * math/s_cacoshf.c (__cacoshf): Likewise.
22029         * math/s_cacoshl.c (__cacoshl): Likewise.
22030         * math/s_casinh.c (__casinh): Set signs of result from argument.
22031         * math/s_casinhf.c (__casinhf): Likewise.
22032         * math/s_casinhl.c (__casinhl): Likewise.
22033         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
22034         (casinh_test): Add more tests.
22035         * sysdeps/i386/fpu/libm-test-ulps: Update.
22036         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22038 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
22040         * po/zh_TW.po: Update from translation team.
22042         * login/Makefile (distribute): Remove variable.
22043         * catgets/Makefile: Likewise.
22044         * mach/Makefile: Likewise.
22045         * malloc/Makefile: Likewise.
22046         * misc/Makefile: Likewise.
22047         * iconv/Makefile: Likewise.
22048         * nscd/Makefile: Likewise.
22049         * hurd/Makefile: Likewise.
22050         * manual/Makefile: Likewise.
22051         * locale/Makefile: Likewise.
22052         * intl/Makefile: Likewise.
22053         * conform/Makefile: Likewise.
22054         * nss/Makefile: Likewise.
22055         * time/Makefile: Likewise.
22056         * soft-fp/Makefile: Likewise.
22057         * dirent/Makefile: Likewise.
22058         * gmon/Makefile: Likewise.
22059         * po/Makefile: Likewise.
22060         * rt/Makefile: Likewise.
22061         * socket/Makefile: Likewise.
22062         * math/Makefile: Likewise.
22063         * signal/Makefile: Likewise.
22064         * debug/Makefile: Likewise.
22065         * elf/Makefile: Likewise.
22066         * timezone/Makefile: Likewise.
22067         * stdlib/Makefile: Likewise.
22068         * iconvdata/Makefile: Likewise.
22069         * sunrpc/Makefile: Likewise.
22070         * io/Makefile: Likewise.
22071         * argp/Makefile: Likewise.
22072         * inet/Makefile: Likewise.
22073         * hesiod/Makefile: Likewise.
22074         * grp/Makefile: Likewise.
22075         * csu/Makefile: Likewise.
22076         * wctype/Makefile: Likewise.
22077         * crypt/Makefile: Likewise.
22078         * libio/Makefile: Likewise.
22079         * string/Makefile: Likewise.
22080         * nis/Makefile: Likewise.
22081         * resolv/Makefile: Likewise.
22082         * stdio-common/Makefile: Likewise.
22083         * wcsmbs/Makefile: Likewise.
22084         * dlfcn/Makefile: Likewise.
22085         * posix/Makefile: Likewise.
22087         [BZ #6959]
22088         * timezone/Makefile: Don't install timezone files, just the programs
22089         and scripts.
22091 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
22093         * nss/databases.def: Add missing gshadow entry.
22095         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
22097 2012-03-06  Marek Polacek  <polacek@redhat.com>
22099         [BZ #13726]
22100         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
22101         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
22102         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
22103         * stdio-common/tst-long-dbl-fphex.c: New file.
22105 2012-03-06  David S. Miller  <davem@davemloft.net>
22107         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
22108         (set_obp_int): New function.
22109         (get_obp_int): New function.
22110         (__get_clockfreq_via_dev_openprom): Likewise.
22111         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
22112         Avoid unused variable warnings on 'val' and use builtin_expect.
22113         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
22114         __builtin_expect.
22115         (INLINE_CLONE_SYSCALL): Likewise.
22117 2012-03-05  David S. Miller  <davem@davemloft.net>
22119         * sysdeps/sparc/fpu/libm-test-ulps: Update.
22121 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
22123         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22125         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
22126         only for |x| >= 40.
22127         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
22129 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
22131         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
22132         Replace gettimeofday with __vdso_gettimeofday.
22134         * sysdeps/unix/sysv/linux/x86_64/init-first.c
22135         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
22136         __vdso_clock_gettime and __vdso_getcpu.
22138         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
22139         time with __vdso_time.
22141 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
22143         * manual/lang.texi (size_t): Note types to which size_t may be
22144         equivalent with the GNU C Library, but do not describe when
22145         differences between them are significant.
22147 2012-03-05  Andreas Jaeger  <aj@suse.de>
22149         * sysdeps/i386/fpu/libm-test-ulps: Update.
22151 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
22153         [BZ #3976]
22154         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
22155         (__ieee754_pow): Save and restore rounding mode and use
22156         round-to-nearest for main computations.
22157         * math/libm-test.inc (pow_test_tonearest): New function.
22158         (pow_test_towardzero): Likewise.
22159         (pow_test_downward): Likewise.
22160         (pow_test_upward): Likewise.
22161         (main): Call the new functions.
22162         * sysdeps/i386/fpu/libm-test-ulps: Update.
22163         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22165         [BZ #3976]
22166         * math/libm-test.inc (cosh_test_tonearest): New function.
22167         (cosh_test_towardzero): Likewise.
22168         (cosh_test_downward): Likewise.
22169         (cosh_test_upward): Likewise.
22170         (sinh_test_tonearest): Likewise.
22171         (sinh_test_towardzero): Likewise.
22172         (sinh_test_downward): Likewise.
22173         (sinh_test_upward): Likewise.
22174         (main): Call the new functions.
22175         * sysdeps/i386/fpu/libm-test-ulps: Update.
22176         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22178 2012-03-05  Tom de Vries  <tom@codesourcery.com>
22180         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
22181         default stack guard is set in last bytes.
22182         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
22184 2012-03-05  Kees Cook  <keescook@chromium.org>
22186         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
22188         [BZ #13656]
22189         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
22190         possibly allocate from heap instead of stack.
22191         * stdio-common/bug-vfprintf-nargs.c: New file.
22192         * stdio-common/Makefile (tests): Add nargs overflow test.
22194 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
22196         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22198 2012-03-03  Marek Polacek  <polacek@redhat.com>
22200         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
22201         * math/math_private.h: Likewise.
22202         * stdlib/tst-strtod.c: Likewise.
22203         * sysdeps/i386/i486/bits/atomic.h: Likewise.
22204         * sysdeps/x86_64/bits/atomic.h: Likewise.
22206 2012-03-02  David S. Miller  <davem@davemloft.net>
22208         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
22209         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
22210         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
22211         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
22212         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
22213         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
22214         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
22215         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
22217 2012-03-02  Roland McGrath  <roland@hack.frob.com>
22219         [BZ #13792]
22220         * manual/examples/README: New file, says the example source files
22221         can be used under GPL>=2.
22222         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
22223         line containing just "*/".
22224         * manual/examples/add.c: Add copyright header (GPL>=2).
22225         * manual/examples/argp-ex1.c: Likewise.
22226         * manual/examples/argp-ex2.c: Likewise.
22227         * manual/examples/argp-ex3.c: Likewise.
22228         * manual/examples/argp-ex4.c: Likewise.
22229         * manual/examples/atexit.c: Likewise.
22230         * manual/examples/db.c: Likewise.
22231         * manual/examples/dir.c: Likewise.
22232         * manual/examples/dir2.c: Likewise.
22233         * manual/examples/execinfo.c: Likewise.
22234         * manual/examples/filecli.c: Likewise.
22235         * manual/examples/filesrv.c: Likewise.
22236         * manual/examples/fmtmsgexpl.c: Likewise.
22237         * manual/examples/genpass.c: Likewise.
22238         * manual/examples/inetcli.c: Likewise.
22239         * manual/examples/inetsrv.c: Likewise.
22240         * manual/examples/isockad.c: Likewise.
22241         * manual/examples/longopt.c: Likewise.
22242         * manual/examples/memopen.c: Likewise.
22243         * manual/examples/memstrm.c: Likewise.
22244         * manual/examples/mkfsock.c: Likewise.
22245         * manual/examples/mkisock.c: Likewise.
22246         * manual/examples/mygetpass.c: Likewise.
22247         * manual/examples/pipe.c: Likewise.
22248         * manual/examples/popen.c: Likewise.
22249         * manual/examples/rprintf.c: Likewise.
22250         * manual/examples/search.c: Likewise.
22251         * manual/examples/select.c: Likewise.
22252         * manual/examples/setjmp.c: Likewise.
22253         * manual/examples/sigh1.c: Likewise.
22254         * manual/examples/sigusr.c: Likewise.
22255         * manual/examples/stpcpy.c: Likewise.
22256         * manual/examples/strdupa.c: Likewise.
22257         * manual/examples/strftim.c: Likewise.
22258         * manual/examples/strncat.c: Likewise.
22259         * manual/examples/subopt.c: Likewise.
22260         * manual/examples/swapcontext.c: Likewise.
22261         * manual/examples/termios.c: Likewise.
22262         * manual/examples/testopt.c: Likewise.
22263         * manual/examples/testpass.c: Likewise.
22264         * manual/examples/timeval_subtract.c: Likewise.
22266         [BZ #13792]
22267         * manual/time.texi (Elapsed Time): Move timeval_subtract example
22268         function to ...
22269         * manual/timeval_subtract.c.texi: ... here, new file.
22271 2012-03-02  David S. Miller  <davem@davemloft.net>
22273         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
22275 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
22277         [BZ #3976]
22278         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
22279         (__sin): Save and restore rounding mode and use round-to-nearest
22280         for all computations.
22281         (__cos): Save and restore rounding mode and use round-to-nearest
22282         for all computations.
22283         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
22284         <fenv.h>.
22285         (tan): Save and restore rounding mode and use round-to-nearest for
22286         all computations.
22287         * math/libm-test.inc (cos_test_tonearest): New function.
22288         (cos_test_towardzero): Likewise.
22289         (cos_test_downward): Likewise.
22290         (cos_test_upward): Likewise.
22291         (sin_test_tonearest): Likewise.
22292         (sin_test_towardzero): Likewise.
22293         (sin_test_downward): Likewise.
22294         (sin_test_upward): Likewise.
22295         (tan_test_tonearest): Likewise.
22296         (tan_test_towardzero): Likewise.
22297         (tan_test_downward): Likewise.
22298         (tan_test_upward): Likewise.
22299         (main): Call the new functions.
22300         * sysdeps/i386/fpu/libm-test-ulps: Update.
22301         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22303         [BZ #10135]
22304         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
22305         small n, then large n, before computing and testing k+n.
22306         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
22307         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
22308         Likewise.
22309         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
22310         Likewise.
22311         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
22312         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
22313         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
22314         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
22315         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
22316         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
22317         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
22318         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
22319         * math/libm-test.inc (scalbn_test): Add more tests.
22320         (scalbln_test): Likewise.
22322         * manual/filesys.texi (mode_t): Describe constraints on size and
22323         signedness, not exact equivalence to a particular type.
22324         (ino_t): Likewise.
22325         (ino64_t): Likewise.
22326         (dev_t): Likewise.
22327         (nlink_t): Likewise.
22328         (blkcnt_t): Likewise.
22329         (blkcnt64_t): Likewise.
22330         * manual/llio.texi (off_t): Likewise.
22332         [BZ #3976]
22333         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
22334         (__ieee754_exp): Save and restore rounding mode and use
22335         round-to-nearest for all computations.
22336         * math/libm-test.inc (exp_test_tonearest): New function.
22337         (exp_test_towardzero): Likewise.
22338         (exp_test_downward): Likewise.
22339         (exp_test_upward): Likewise.
22340         (main): Call the new functions.
22341         * sysdeps/i386/fpu/libm-test-ulps: Update.
22342         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22344 2012-03-01  Chris Demetriou  <cgd@google.com>
22346         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
22347         have predictable order.
22349 2012-03-01  David S. Miller  <davem@davemloft.net>
22351         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
22353         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
22354         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
22355         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
22356         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
22358         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
22359         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
22360         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
22361         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
22362         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
22363         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
22364         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
22365         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
22366         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
22368         * sysdeps/sparc/fpu/libm-test-ulps: Update.
22370         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
22371         * sysdeps/sparc/fpu/libm-test-ulps: to here.
22372         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
22374         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
22375         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
22376         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
22377         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
22378         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
22379         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
22380         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
22381         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
22382         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
22383         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
22384         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
22385         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
22386         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
22387         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
22388         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
22389         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
22390         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
22391         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
22392         * sysdeps/sparc/elf/configure: Regenerated.
22394 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
22396         * configure.in (AS, LD): Require binutils 2.20 or later.
22397         * configure: Regenerated.
22398         * manual/install.texi (Tools for Compilation): Give binutils 2.20
22399         as required minimum version.
22400         * INSTALL: Regenerated.
22402         [BZ #2541]
22403         [BZ #4108]
22404         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
22405         before squaring exponent.
22406         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
22407         bottom long double and 27 bits of top long double before squaring
22408         exponent.
22409         * math/libm-test.inc (erfc_test): Add more tests.
22410         * sysdeps/i386/fpu/libm-test-ulps: Update.
22411         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
22412         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22414 2012-03-01  Kai Tietz  <ktietz@redhat.com>
22416         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
22417         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
22418         containing bit-fields.
22419         * soft-fp/extended.h (_FP_UNION_E): Likewise.
22420         * soft-fp/single.h (_FP_UNION_S): Likewise.
22421         * soft-fp/double.h (_FP_UNION_D): Likewise.
22423 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
22425         [BZ #13786]
22426         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
22427         not include ../strcmp.S.
22428         [USE_AS_STRNCASECMP_L]: Likewise.
22429         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
22430         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
22431         * sysdeps/i386/i686/multiarch/strncase_l-c.c
22432         (__strncasecmp_l_ia32): Define as alias to
22433         __strncasecmp_l_nonascii.
22435         [BZ #5794]
22436         * math/libm-test.inc (expm1_test): Add test for bug 5794.
22437         * sysdeps/i386/fpu/libm-test-ulps: Update.
22438         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22440         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
22441         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22443 2012-02-29  Jeff Law  <law@redhat.com>
22445         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
22446         out of bounds read.
22448 2012-02-29  Marek Polacek  <polacek@redhat.com>
22450         [BZ #13706]
22451         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
22452         * elf/Makefile: Add rules to run tst-unused-dep.out.
22454 2012-02-28  David S. Miller  <davem@davemloft.net>
22456         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
22457         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
22458         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
22459         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
22460         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
22461         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
22463 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
22465         * math/libm-test.inc (llround_test): Move one test from
22466         lround_test.  Use TEST_f_L in moved test.
22467         (lround_test): Move misplaced test to llround_test.  Add testcase
22468         from bug 2561.
22470 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
22472         * sysdeps/x86_64/fpu/e_expf.S: New file.
22473         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
22475 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
22477         [BZ #13637]
22478         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
22479         of remain_len that may cause incomplete multi-byte character and
22480         false match.
22481         * posix/bug-regex33.c: New file.
22482         * posix/Makefile (tests): Add bug-regex33.
22484 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
22486         * manual/macros.texi: New file.
22487         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
22488         * manual/libc.texinfo: Include macros.texi.
22489         * manual/creatute.texi: Likewise.
22490         * manual/install.texi: Likewise.
22491         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
22492         @glibcadj{} in references to the GNU C Library.
22493         * manual/charset.texi: Likewise.
22494         * manual/conf.texi: Likewise.
22495         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
22496         when not using those macros.
22497         * manual/creature.texi: Likewise.
22498         * manual/crypt.texi: Likewise.
22499         * manual/errno.texi: Likewise.
22500         * manual/filesys.texi: Likewise.
22501         * manual/header.texi: Likewise.
22502         * manual/install.texi: Likewise.
22503         * manual/intro.texi: Likewise.
22504         * manual/io.texi: Likewise.
22505         * manual/job.texi: Likewise.
22506         * manual/lang.texi: Likewise.
22507         * manual/libc.texiinfo: Likewise.
22508         * manual/llio.texi: Likewise.
22509         * manual/locale.texi: Likewise.
22510         * manual/maint.texi: Likewise.
22511         * manual/math.texi: Likewise.
22512         * manual/memory.texi: Likewise.
22513         * manual/message.texi: Likewise.
22514         * manual/nss.texi: Likewise.
22515         * manual/pattern.texi: Likewise.
22516         * manual/process.texi: Likewise.
22517         * manual/resource.texi: Likewise.
22518         * manual/search.texi: Likewise.
22519         * manual/setjmp.texi: Likewise.
22520         * manual/signal.texi: Likewise.
22521         * manual/socket.texi: Likewise.
22522         * manual/startup.texi: Likewise.
22523         * manual/stdio.texi: Likewise.
22524         * manual/string.texi: Likewise.
22525         * manual/sysinfo.texi: Likewise.
22526         * manual/syslog.texi: Likewise.
22527         * manual/terminal.texi: Likewise.
22528         * manual/time.texi: Likewise.
22529         * manual/users.texi: Likewise.
22530         * INSTALL: Regenerated.
22531         * NOTES: Regenerated.
22532         * sysdeps/gnu/errlist.c: Regenerated.
22534 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
22536         * include/dirent.h: Include <dirstream.h> before
22537         <dirent/dirent.h>.
22539 2012-02-28  David S. Miller  <davem@davemloft.net>
22541         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
22542         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
22543         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
22544         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
22546 2012-02-27  David S. Miller  <davem@davemloft.net>
22548         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
22549         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
22550         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
22551         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
22553         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
22554         frame pointer instead of stack pointer relative arg slot.
22555         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
22556         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
22557         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
22559 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
22561         [BZ #3992]
22562         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
22564 2012-02-27  David S. Miller  <davem@davemloft.net>
22566         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
22567         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
22568         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
22569         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
22570         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
22571         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
22572         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
22573         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
22575 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
22577         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
22578         later.  Allow versions 5-9.
22579         * configure: Regenerated.
22580         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
22581         required minimum version and 4.6 as recommended version.  Do not
22582         mention bugs in GCC 2.7 and 2.8.
22583         * INSTALL: Regenerated.
22585 2012-02-27  David S. Miller  <davem@davemloft.net>
22587         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
22588         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
22589         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
22590         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
22591         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
22592         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
22593         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
22594         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
22596         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
22597         manipulate bits before adding and subtracting TWO112[sx].
22598         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
22600 2012-02-27  Roland McGrath  <roland@hack.frob.com>
22602         [BZ #13775]
22603         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
22604         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
22605         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
22606         being in POSIX, because they are in 1003.1-2008.
22608         * rt/tst-aio.c: Include <fcntl.h>.
22609         * rt/tst-aio7.c: Likewise.
22610         * rt/tst-aio64.c: Likewise.
22612         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
22614 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
22616         * manual/install.texi (--with-headers): Describe headers as
22617         interface headers, not private headers.
22618         (Specific advice for GNU/Linux systems): Describe use of headers
22619         from "make headers_install", not private headers from older
22620         kernels.
22621         * INSTALL: Regenerated.
22622         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
22623         Change to 2.6.19.
22624         * sysdeps/unix/sysv/linux/configure: Regenerated.
22626         * manual/llio.texi (fclean): Remove documentation.
22628         * manual/Makefile (libc-texi-generated): New variable.  Include
22629         version.texi.
22630         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
22631         $(libc-texi-generated), not duplicated list of files.
22632         (version.texi, stamp-version): New rules.
22633         (realclean): Remove $(libc-texi-generated), not individual files
22634         from that list.  Do not remove dir-add.texinfo.
22635         * manual/libc.texinfo: Comment out uses of edition numbers and
22636         references to printed manual.  Remove last-updated dates.
22637         (EDITION): Comment out.
22638         (ISBN): Likewise.
22639         (VERSION, UPDATED): Remove.
22640         (version.texi): Include.
22642 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
22644         * sysdeps/posix/spawni.c: Include <signal.h>.
22645         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
22646         * sysdeps/pthread/aio_fsync.c: Likewise.
22648 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
22650         * conform/Makefile (tests): Run only when not cross-compiling and
22651         when fast-check is not defined.
22653         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
22654         * conform/data/limits.h-data: Fixes for POSIX2008.
22655         * conform/run-conformtest.sh: Run all tests.
22656         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
22657         headers.
22658         * include/bits/dlfcn.h: Likewise.
22659         * include/langinfo.h: Likewise.
22660         * include/monetary.h: Likewise.
22661         * include/sys/poll.h: Likewise.
22663         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
22664         for __USE_GNU.
22665         * posix/spawn.h: Define __need_sigset_t.
22666         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
22667         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
22668         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
22669         to get sigevent_t only.
22670         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
22671         only for __USE_GNU.
22672         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
22673         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
22674         process_vm_writev only for __USE_GNU.
22675         * termios/termios.h: Declare tcgetsid also for POSIX2008.
22677         * conform/Makefile: For now ignore errors from run-conformtest.
22678         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
22679         POSIX to avoid namespace pollution.  Don't prepend headers.
22680         * conform/data/aio.h-data: Fixes for POSIX testing.
22681         * conform/data/fcntl.h-data: Likewise.
22682         * conform/data/glob.h-data: Likewise.
22683         * conform/data/grp.h-data: Likewise.
22684         * conform/data/pthread.h-data: Likewise.
22685         * conform/data/pwd.h-data: Likewise.
22686         * conform/data/signal.h-data: Likewise.
22687         * conform/data/spawn.h-data: Likewise.
22688         * conform/data/stdio.h-data: Likewise.
22689         * conform/data/stdlib.h-data: Likewise.
22690         * conform/data/stropts.h-data: Likewise.
22691         * conform/data/sys/mman.h-data: Likewise.
22692         * conform/data/sys/stat.h-data: Likewise.
22693         * conform/data/sys/types.h-data: Likewise.
22694         * conform/data/sys/wait.h-data: Likewise.
22695         * conform/data/time.h-data: Likewise.
22696         * conform/data/unistd.h-data: Likewise.
22697         * conform/data/utime.h-data: Likewise.
22699         * io/sys/stat.h: fchmod was always in POSIX.
22700         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
22701         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
22702         * rt/aio.h: Define __need_timespec before including <time.h>.
22703         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
22704         struct.  Add forward declaration of pthread_attr_t and use it in
22705         sigevent.
22706         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
22707         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
22708         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
22709         always remove CLK_TCK definition.
22711 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
22713         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
22715 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
22717         * conform/run-conformtest.sh: New file.
22718         * conform/Makefile: Run run-conformtest for tests.
22719         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
22720         support.
22722         * conform/data/uchar.h-data: New file.
22723         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
22724         * conform/data/arpa/inet.h-data: Likewise.
22725         * conform/data/assert.h-data: Likewise.
22726         * conform/data/complex.h-data: Likewise.
22727         * conform/data/cpio.h-data: Likewise.
22728         * conform/data/ctype.h-data: Likewise.
22729         * conform/data/dirent.h-data: Likewise.
22730         * conform/data/dlfcn.h-data: Likewise.
22731         * conform/data/errno.h-data: Likewise.
22732         * conform/data/fcntl.h-data: Likewise.
22733         * conform/data/float.h-data: Likewise.
22734         * conform/data/fmtmsg.h-data: Likewise.
22735         * conform/data/fnmatch.h-data: Likewise.
22736         * conform/data/ftw.h-data: Likewise.
22737         * conform/data/glob.h-data: Likewise.
22738         * conform/data/grp.h-data: Likewise.
22739         * conform/data/iconv.h-data: Likewise.
22740         * conform/data/inttypes.h-data: Likewise.
22741         * conform/data/langinfo.h-data: Likewise.
22742         * conform/data/libgen.h-data: Likewise.
22743         * conform/data/limits.h-data: Likewise.
22744         * conform/data/locale.h-data: Likewise.
22745         * conform/data/math.h-data: Likewise.
22746         * conform/data/monetary.h-data: Likewise.
22747         * conform/data/mqueue.h-data: Likewise.
22748         * conform/data/ndbm.h-data: Likewise.
22749         * conform/data/net/if.h-data: Likewise.
22750         * conform/data/netdb.h-data: Likewise.
22751         * conform/data/netinet/in.h-data: Likewise.
22752         * conform/data/nl_types.h-data: Likewise.
22753         * conform/data/poll.h-data: Likewise.
22754         * conform/data/pthread.h-data: Likewise.
22755         * conform/data/pwd.h-data: Likewise.
22756         * conform/data/regex.h-data: Likewise.
22757         * conform/data/sched.h-data: Likewise.
22758         * conform/data/search.h-data: Likewise.
22759         * conform/data/semaphore.h-data: Likewise.
22760         * conform/data/setjmp.h-data: Likewise.
22761         * conform/data/signal.h-data: Likewise.
22762         * conform/data/spawn.h-data: Likewise.
22763         * conform/data/stdarg.h-data: Likewise.
22764         * conform/data/stdio.h-data: Likewise.
22765         * conform/data/stdlib.h-data: Likewise.
22766         * conform/data/string.h-data: Likewise.
22767         * conform/data/strings.h-data: Likewise.
22768         * conform/data/stropts.h-data: Likewise.
22769         * conform/data/sys/ipc.h-data: Likewise.
22770         * conform/data/sys/mman.h-data: Likewise.
22771         * conform/data/sys/msg.h-data: Likewise.
22772         * conform/data/sys/resource.h-data: Likewise.
22773         * conform/data/sys/select.h-data: Likewise.
22774         * conform/data/sys/sem.h-data: Likewise.
22775         * conform/data/sys/shm.h-data: Likewise.
22776         * conform/data/sys/socket.h-data: Likewise.
22777         * conform/data/sys/stat.h-data: Likewise.
22778         * conform/data/sys/statvfs.h-data: Likewise.
22779         * conform/data/sys/time.h-data: Likewise.
22780         * conform/data/sys/timeb.h-data: Likewise.
22781         * conform/data/sys/times.h-data: Likewise.
22782         * conform/data/sys/types.h-data: Likewise.
22783         * conform/data/sys/uio.h-data: Likewise.
22784         * conform/data/sys/un.h-data: Likewise.
22785         * conform/data/sys/utsname.h-data: Likewise.
22786         * conform/data/sys/wait.h-data: Likewise.
22787         * conform/data/syslog.h-data: Likewise.
22788         * conform/data/tar.h-data: Likewise.
22789         * conform/data/termios.h-data: Likewise.
22790         * conform/data/utime.h-data: Likewise.
22791         * conform/data/utmpx.h-data: Likewise.
22792         * conform/data/varargs.h-data: Likewise.
22793         * conform/data/wchar.h-data: Likewise.
22794         * conform/data/wctype.h-data: Likewise.
22795         * conform/data/wordexp.h-data: Likewise.
22797         * include/stropts.h: New file.
22798         * include/uchar.h: New file.
22799         * include/aio.h: Changes to allow conformtest.pl to use the headers.
22800         * include/assert.h: Likewise.
22801         * include/ctype.h: Likewise.
22802         * include/dirent.h: Likewise.
22803         * include/dlfcn.h: Likewise.
22804         * include/fcntl.h: Likewise.
22805         * include/fnmatch.h: Likewise.
22806         * include/glob.h: Likewise.
22807         * include/grp.h: Likewise.
22808         * include/libio.h: Likewise.
22809         * include/locale.h: Likewise.
22810         * include/math.h: Likewise.
22811         * include/net/if.h: Likewise.
22812         * include/netdb.h: Likewise.
22813         * include/netinet/in.h: Likewise.
22814         * include/pthread.h: Likewise.
22815         * include/pwd.h: Likewise.
22816         * include/regex.h: Likewise.
22817         * include/sched.h: Likewise.
22818         * include/search.h: Likewise.
22819         * include/setjmp.h: Likewise.
22820         * include/signal.h: Likewise.
22821         * include/stdio.h: Likewise.
22822         * include/stdlib.h: Likewise.
22823         * include/string.h: Likewise.
22824         * include/sys/cdefs.h: Likewise.
22825         * include/sys/mman.h: Likewise.
22826         * include/sys/msg.h: Likewise.
22827         * include/sys/resource.h: Likewise.
22828         * include/sys/select.h: Likewise.
22829         * include/sys/socket.h: Likewise.
22830         * include/sys/stat.h: Likewise.
22831         * include/sys/statvfs.h: Likewise.
22832         * include/sys/time.h: Likewise.
22833         * include/sys/times.h: Likewise.
22834         * include/sys/uio.h: Likewise.
22835         * include/sys/utsname.h: Likewise.
22836         * include/sys/wait.h: Likewise.
22837         * include/termios.h: Likewise.
22838         * include/time.h: Likewise.
22839         * include/ulimit.h: Likewise.
22840         * include/unistd.h: Likewise.
22841         * include/utime.h: Likewise.
22842         * include/wchar.h: Likewise.
22843         * include/wctype.h: Likewise.
22844         * include/wordexp.h: Likewise.
22846         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
22848         * time/time.h: TIME_UTC must be a macro.
22849         Make timespec_get available for ISO C11 only as well.
22851 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
22853         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
22854         Reported by Peng Haitao <penght@cn.fujitsu.com>.
22856 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
22858         * configure.in: Use -o not -a in test for unsupported multi-arch.
22860 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
22862         * manual/texinfo.tex: Update to version 2012-01-19.16.
22864 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
22866         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
22868 2012-02-24  Roland McGrath  <roland@hack.frob.com>
22870         [BZ #13738]
22871         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
22872         * manual/fdl-1.3.texi: New file.
22873         * manual/fdl-1.1.texi: File removed.
22875         [BZ #13738]
22876         * manual/libc.texinfo (FDL_VERSION): New @set.
22877         Use it for mention of FDL in cover text.
22878         (Documentation License): Use it in @include file name.
22880 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
22881             Roland McGrath  <roland@hack.frob.com>
22883         [BZ #5461]
22884         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
22885         not LONG_LONG_MAX and LONG_LONG_MIN.
22886         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
22887         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
22888         name.
22889         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
22891 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
22893         [BZ #2547]
22894         [BZ #11365]
22895         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
22896         manipulate bits before adding and subtracting TWO23[sx].
22897         * math/libm-test.inc (nearbyint_test): Add more tests.
22899 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
22901         [BZ #2548]
22902         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
22903         bits before adding and subtracting TWO23[sx].
22904         * math/libm-test.inc (rint_test): Add more tests.
22905         (rint_test_tonearest): Likewise.
22906         (rint_test_towardzero): Likewise.
22907         (rint_test_downward): Likewise.
22908         (rint_test_upward: Likewise.
22910 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
22912         [BZ #10110]
22913         * include/stdc-predef.h: New file.  Extracted from features.h.
22914         * include/features.h: Include stdc-predef.h.
22915         * Makefile (headers): Add stdc-predef.h.
22916         * CONFORMANCE (Compiler limitations): Update.
22918 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
22920         * manual/libc.texinfo (VERSION, UPDATED): Revert.
22922 2012-02-21  David S. Miller  <davem@davemloft.net>
22924         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
22925         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
22927 2012-02-20  David S. Miller  <davem@davemloft.net>
22929         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
22930         using a normal save/restore sequence, rather than allocating a
22931         dummy stack frame just to store a frame pointer and restore.
22932         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
22934 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
22936         * manual/install.texi: Fix stray word in line-wrapped comment.
22938 2012-02-20  David S. Miller  <davem@davemloft.net>
22940         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
22941         both binutils and gcc support GOTDATA.
22943         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
22944         "rd %pc" in the PIC register setup sequences.
22946         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
22947         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
22948         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
22949         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
22950         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
22951         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
22952         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
22953         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
22954         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
22955         (SYSCALL_ERROR_HANDLER): Likewise.
22956         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
22957         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
22958         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
22959         (SYSCALL_ERROR_HANDLER): Likewise.
22961         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
22962         (HAVE_GCC_GOTDATA): New.
22963         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
22964         relocation support in both binutils and gcc.
22965         * sysdeps/sparc/elf/configure: Regenerate.
22967         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
22968         * sysdeps/sparc/sparc32/elf/configure: Delete.
22969         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
22970         * sysdeps/sparc/sparc64/elf/configure: Delete.
22971         * sysdeps/sparc/elf/configure.in: New file.
22972         * sysdeps/sparc/elf/configure: Generate.
22974         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
22975         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
22976         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
22977         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
22978         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
22980 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
22982         * manual/install.texi: Do not mention specific glibc version
22983         numbers.
22984         * manual/libc.texinfo (VERSION, UPDATED): Update.
22985         (@copying): Use @copyright{} and range of years.
22987 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
22989         [BZ #13695]
22990         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
22991         [crti.S not in sysdirs] (generated): Do not append.
22992         [crti.S not in sysdirs] (omit-deps): Likewise.
22993         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
22994         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
22995         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
22996         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
22997         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
22998         Likewise.
22999         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
23000         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
23001         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
23002         * csu/defs.awk: Remove file.
23003         * sysdeps/generic/initfini.c: Likewise.
23004         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
23005         variable.
23006         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
23007         Likewise.
23009 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
23011         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
23012         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
23013         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
23014         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
23015         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
23016         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
23017         <bits/epoll.h>.
23018         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
23019         (__EPOLL_PACKED): Define to empty if not defined by
23020         <bits/epoll.h>.
23021         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
23022         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
23023         bits/epoll.h.
23025 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
23027         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
23028         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
23029         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
23030         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
23031         <bits/timerfd.h>.
23032         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
23033         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
23034         bits/timerfd.h.
23036 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
23038         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
23039         in C locale.
23040         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
23041         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
23042         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
23043         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23045 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
23047         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
23048         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
23050 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
23052         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
23053         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
23054         defined.
23055         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
23056         Likewise.
23057         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
23058         entry for 2.16.
23060 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
23062         * math/w_acos.c: Use non-signaling floating-point comparisons.
23063         * math/w_acosf.c: Likewise.
23064         * math/w_acosh.c: Likewise.
23065         * math/w_acoshf.c: Likewise.
23066         * math/w_acoshl.c: Likewise.
23067         * math/w_acosl.c: Likewise.
23068         * math/w_asin.c: Likewise.
23069         * math/w_asinf.c: Likewise.
23070         * math/w_asinl.c: Likewise.
23071         * math/w_atanh.c: Likewise.
23072         * math/w_atanhf.c: Likewise.
23073         * math/w_atanhl.c: Likewise.
23074         * math/w_exp2.c: Likewise.
23075         * math/w_exp2f.c: Likewise.
23076         * math/w_exp2l.c: Likewise.
23077         * math/w_j0.c: Likewise.
23078         * math/w_j0f.c: Likewise.
23079         * math/w_j0l.c: Likewise.
23080         * math/w_j1.c: Likewise.
23081         * math/w_j1f.c: Likewise.
23082         * math/w_j1l.c: Likewise.
23083         * math/w_jn.c: Likewise.
23084         * math/w_jnf.c: Likewise.
23085         * math/w_log.c: Likewise.
23086         * math/w_log10.c: Likewise.
23087         * math/w_log10f.c: Likewise.
23088         * math/w_log10l.c: Likewise.
23089         * math/w_log2.c: Likewise.
23090         * math/w_log2f.c: Likewise.
23091         * math/w_log2l.c: Likewise.
23092         * math/w_logf.c: Likewise.
23093         * math/w_logl.c: Likewise.
23094         * math/w_sqrt.c: Likewise.
23095         * math/w_sqrtf.c: Likewise.
23096         * math/w_sqrtl.c: Likewise.
23097         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
23098         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
23099         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
23100         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
23101         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
23103 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
23105         [BZ #9739]
23106         * manual/string.texi (strnlen): Use correct parameter name in
23107         equivalent expression.
23109 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
23111         [BZ #11174]
23112         * manual/users.texi (seteuid): Consistently use neweuid for
23113         argument name.
23115 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
23117         [BZ #13704]
23118         * manual/nss.texi (Services in the NSS configuration): Correct
23119         list of services in example configuration file.
23121 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
23123         [BZ #11322]
23124         * manual/arith.texi: Remove statements about negative zero
23125         behaving identically to zero.
23127 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
23129         [BZ #5993]
23130         * manual/install.texi: Do not document upgrading from libc5.
23132 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
23134         [BZ #4596]
23135         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
23137 2012-02-18  David S. Miller  <davem@davemloft.net>
23139         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
23140         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
23141         %o7 across the call.
23142         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
23143         instead.
23144         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
23145         SETUP_PIC_REG_LEAF.
23146         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
23147         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
23148         * sysdeps/sparc/crtn.S: Likewise.
23150 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
23152         * aout/Makefile: Remove.
23154 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
23156         [BZ #13058]
23157         * manual/examples/argp-ex1.c (main): Format definition in GNU
23158         style.
23159         * manual/examples/argp-ex2.c (main): Likewise.
23160         * manual/examples/argp-ex3.c (main): Likewise.
23161         * manual/examples/argp-ex4.c (main): Likewise.
23162         * manual/examples/longopt.c (main): Use new-style prototype
23163         definition.
23164         * manual/examples/strncat.c (main): Specify return type and use
23165         (void) for arguments.
23166         * manual/examples/subopt.c (main): Use char **argv argument.
23168 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
23170         [BZ #5077]
23171         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
23172         rounding modes.
23174 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
23176         [BZ #6907]
23177         * manual/string.texi (strchr): Change when strchrnul is
23178         recommended.
23180 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
23182         [BZ #174]
23183         * manual/locale.texi (setlocale): Document LOCPATH.
23185 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
23187         [BZ #10210]
23188         * manual/process.texi (execle): Move @dots{} before last argument.
23190 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
23192         [BZ #12047]
23193         * manual/charset.texi (Generic Charset Conversion): Fix typo
23194         (LC_TYPE -> LC_CTYPE).
23196 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
23198         [BZ #5805]
23199         * manual/arith.texi (scalbn): Use @var{} on parameter names.
23200         (scalbnf): Likewise.
23201         (scalbnl): Likewise.
23202         (scalbln): Likewise.
23203         (scalblnf): Likewise.
23204         (scalblnl): Likewise.
23205         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
23206         (vwarnx): Likewise.
23207         (verr): Likewise.
23208         (verrx): Likewise.
23209         * manual/filesys.texi (telldir): Use braces around return type.
23210         * manual/llio.texi (mmap): Add space after comma.
23211         (mmap64): Likewise.
23212         * manual/math.texi (jn): Use @var{} on parameter names.
23213         (jnf): Likewise.
23214         (jnl): Likewise.
23215         (yn): Likewise.
23216         (ynf): Likewise.
23217         (ynl): Likewise.
23218         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
23219         line.
23220         * manual/resource.texi (ulimit): Use @dots{} instead of literal
23221         "...".
23222         (sched_get_priority_min): Remove semicolon on @deftypefun line.
23223         (sched_get_priority_max): Likewise.
23224         * manual/signal.texi (sigvec): Add space after comma.
23225         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
23226         names.
23227         (if_indextoname): Likewise.
23228         (if_freenameindex): Likewise.
23229         (sendto): Use ',' instead of '.' in prototype.
23230         * manual/startup.texi (syscall): Use @dots{} instead of literal
23231         "...".
23232         * manual/stdio.texi (__fpending): Separate initial words of
23233         paragraph from @deftypefun line.
23234         * manual/syslog.texi (syslog): Use @dots{} instead of literal
23235         "...".
23236         (vsyslog): Use @var{} on parameter names.
23237         * manual/terminal.texi (stty): Use @var{} on parameter names.
23238         * manual/users.texi (getutmp): Use @var{} on parameter names.
23239         (getutmpx): Likewise.
23241 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
23243         [BZ #6884]
23244         * manual/stdio.texi (fopen): Fix typos in description of
23245         ",ccs=STRING".
23247 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
23249         [BZ #4026]
23250         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
23251         get clock_id definition.
23253 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
23255         [BZ #4822]
23256         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
23257         (madvise): Cast every argument to void on its own.
23259 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
23261         [BZ #9902]
23262         * manual/startup.texi (Exit Status): Fix typo.
23264 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
23266         [BZ #10140]
23267         * manual/examples/argp-ex1.c: Include <stdlib.h>.
23268         * manual/examples/argp-ex2.c: Likewise.
23269         * manual/examples/argp-ex3.c: Likewise.
23271 2012-02-16  Richard Henderson  <rth@redhat.com>
23273         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
23274         * sysdeps/s390/s390-32/initfini.c: Remove.
23275         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
23276         * sysdeps/s390/s390-64/initfini.c: Remove.
23278 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
23280         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
23281         compiler output for sysdeps/generic/initfini.c.
23282         * sysdeps/sh/elf/initfini.c: Remove file.
23284 2012-02-16  David S. Miller  <davem@davemloft.net>
23286         [BZ #11494]
23287         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
23289         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
23290         * sysdeps/sparc/crti.S: New file.
23291         * sysdeps/sparc/crtn.S: New file.
23292         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
23293         * sysdeps/sparc/sparc64/Makefile: Likewise.
23295 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
23297         [BZ #3335]
23298         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
23300 2012-02-15  Roland McGrath  <roland@hack.frob.com>
23302         [BZ #4822]
23303         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
23305         * mach/devstream.c (cookie_io_functions_t): Macro removed.
23306         (write, read, close): Likewise.
23307         Patch by Aurelien Jarno <aurelien@aurel32.net>.
23309 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
23311         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
23312         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
23313         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
23314         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
23315         <bits/signalfd.h>.
23316         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
23317         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
23318         bits/signalfd.h.
23320 2012-02-14  Marek Polacek  <polacek@redhat.com>
23322         * sysdeps/x86_64/crti.S: New file.
23323         * sysdeps/x86_64/crtn.S: New file.
23324         * sysdeps/x86_64/elf/initfini.c: Remove file.
23326 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
23328         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
23329         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
23330         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
23331         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
23332         <bits/inotify.h>.
23333         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
23334         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
23335         bits/inotify.h.
23337 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
23339         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
23340         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
23341         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
23342         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
23343         <bits/eventfd.h>.
23344         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
23345         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
23346         bits/eventfd.h.
23348 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
23350         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
23351         __feraiseexcept instead of feraiseexcept.
23353         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
23354         nanosleep invocations.
23355         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
23356         strings, and add error checking for a nanosleep invocations.
23358 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
23360         Replace FSF snail mail address with URLs, as per GNU coding standards.
23361         Most of the snail mail addresses were wrong anyway, and omitting
23362         them makes the source code easier to maintain.  Almost all of the
23363         changes are to license notices and to locale LC_IDENTIFICATION
23364         addresses, except for this one:
23365         * manual/libc.texinfo: In "Published by", give the FSF's URL,
23366         not its snail mail address.
23368 2012-02-09  Richard Henderson  <rth@twiddle.net>
23370         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
23371         of kernel-features.h.
23373         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
23375 2012-02-08  Marek Polacek  <polacek@redhat.com>
23377         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
23378         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
23379         * sysdeps/gnu/_G_config.h: Likewise.
23380         * sysdeps/generic/_G_config.h: Likewise.
23382 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
23384         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
23385         tests.
23386         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23388         * sysdeps/powerpc/powerpc32/crti.S: New file.
23389         * sysdeps/powerpc/powerpc32/crtn.S: New file.
23390         * sysdeps/powerpc/powerpc64/crti.S: New file.
23391         * sysdeps/powerpc/powerpc64/crtn.S: New file.
23393         * Makeconfig (have-initfini): Don't set.
23394         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
23395         * configure.in (nopic_initfini): Don't substitute.
23396         * config.h.in (HAVE_INITFINI): Don't #undef.
23397         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
23398         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
23400 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
23402         Support crti.S and crtn.S provided directly by architectures.
23403         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
23404         [crti.S in sysdirs] (omit-deps): Likewise.
23405         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
23406         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
23407         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
23408         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
23409         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
23410         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
23411         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
23412         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
23413         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
23414         compiler output for sysdeps/generic/initfini.c.
23415         * sysdeps/i386/elf/Makefile: Remove file.
23416         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
23418 2012-02-07  Marek Polacek  <polacek@redhat.com>
23420         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
23421         * sysdeps/gnu/_G_config.h: Likewise.
23422         * sysdeps/mach/hurd/_G_config.h: Likewise.
23424 2012-02-07  Marek Polacek  <polacek@redhat.com>
23426         * math/Makefile (tests): Add tst-CMPLX2.
23427         * math/tst-CMPLX2.c: New file.
23429 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
23431         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
23433         * math/libm-test.inc (jn_test): Add missing L suffix.
23435 2012-02-06  Marek Polacek  <polacek@redhat.com>
23437         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
23438         * sysdeps/i386/fpu/e_powf.S: Likewise.
23439         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
23440         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
23441         * sysdeps/i386/fpu/e_acosh.S: Likewise.
23442         * sysdeps/i386/fpu/e_pow.S: Likewise.
23443         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
23444         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
23445         * sysdeps/i386/fpu/s_expm1.S: Likewise.
23446         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
23447         * sysdeps/i386/fpu/e_log2.S: Likewise.
23448         * sysdeps/i386/fpu/e_log2l.S: Likewise.
23449         * sysdeps/i386/fpu/e_scalb.S: Likewise.
23450         * sysdeps/i386/fpu/e_powl.S: Likewise.
23451         * sysdeps/i386/fpu/s_log1p.S: Likewise.
23452         * sysdeps/i386/fpu/e_log10f.S: Likewise.
23453         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
23454         * sysdeps/i386/fpu/e_logl.S: Likewise.
23455         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
23456         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
23457         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
23458         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
23459         * sysdeps/i386/fpu/e_log2f.S: Likewise.
23460         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
23461         * sysdeps/i386/fpu/e_log.S: Likewise.
23462         * sysdeps/i386/fpu/s_cexp.S: Likewise.
23463         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
23464         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
23465         * sysdeps/i386/fpu/e_logf.S: Likewise.
23466         * sysdeps/i386/fpu/e_log10l.S: Likewise.
23467         * sysdeps/i386/fpu/e_atanh.S: Likewise.
23468         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
23469         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
23470         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
23471         * sysdeps/i386/fpu/e_log10.S: Likewise.
23472         * sysdeps/i386/fpu/s_frexp.S: Likewise.
23473         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
23474         * sysdeps/i386/fpu/s_asinh.S: Likewise.
23475         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
23476         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
23477         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
23478         * sysdeps/i386/asm-syntax.h: Likewise.
23479         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
23480         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
23481         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
23482         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
23483         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
23484         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
23485         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
23486         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
23487         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
23488         * sysdeps/powerpc/sysdep.h: Likewise.
23489         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
23490         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
23492 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
23494         [BZ #411]
23495         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
23497 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
23499         * sysdeps/i386/sysdep.h: Include <features.h>.
23500         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
23501         version.
23503 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
23505         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
23506         Define.
23507         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
23508         LOAD_PIC_REG_STR.
23510 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
23512         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
23513         (SETUP_PIC_REG): Use GET_PC_THUNK.
23514         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
23515         macro.
23517 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
23519         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
23520         for non-PIC compilation.
23521         (SETUP_PIC_REG): Add .p2align directive.
23522         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
23523         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
23524         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
23525         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
23526         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
23527         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
23528         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
23529         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
23530         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
23531         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
23532         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
23533         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
23534         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
23535         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
23536         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
23537         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
23538         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
23539         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
23540         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
23541         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
23542         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
23543         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
23544         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
23545         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
23546         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
23547         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
23548         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
23549         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
23550         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
23551         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
23552         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
23553         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
23554         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
23555         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
23556         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
23557         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
23558         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
23559         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
23560         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
23561         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
23562         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
23564 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
23566         * math/tst-CMPLX.c: Include <stdio.h>.
23568 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
23570         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
23571         float.
23572         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
23573         * sysdeps/sparc/bits/mathdef.h: Likewise.
23575 2012-01-31  Marek Polacek  <polacek@redhat.com>
23577         * libio/libio.h: Don't define _PARAMS.
23578         * locale/programs/config.h: Don't define PARAMS.
23579         * stdlib/strtol_l.c: Likewise.
23580         (__strtol_l): Remove PARAMS from the prototype.
23582 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
23584         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
23585         names.  Just use the correct names.  Remove unnecessary wrapper
23586         functions.
23587         * malloc/arena.c: Likewise.
23588         * malloc/hooks.c: Likewise.
23590         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
23591         ARENA_TEST says not to.  Simplify test for creation of a new arena.
23592         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
23594 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
23596         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
23597         into tail calls.
23598         (update_get_addr): New function.
23599         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
23600         GET_ADDR_MODULE parameter.
23602 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
23604         * crypt/cert.c: Remove __STDC__ conditionals.
23605         * crypt/crypt-entry.c: Likewise.
23606         * crypt/crypt_util.c: Likewise.
23607         * libio/filedoalloc.c: Likewise.
23608         * libio/fileops.c: Likewise.
23609         * libio/genops.c: Likewise.
23610         * libio/iofclose.c: Likewise.
23611         * libio/iofdopen.c: Likewise.
23612         * libio/iofopen.c: Likewise.
23613         * libio/iofopen64.c: Likewise.
23614         * libio/iogetdelim.c: Likewise.
23615         * libio/iopopen.c: Likewise.
23616         * libio/obprintf.c: Likewise.
23617         * libio/oldfileops.c: Likewise.
23618         * libio/oldiofclose.c: Likewise.
23619         * libio/oldiofdopen.c: Likewise.
23620         * libio/oldiofopen.c: Likewise.
23621         * libio/oldiopopen.c: Likewise.
23622         * libio/wfiledoalloc.c: Likewise.
23623         * libio/wgenops.c: Likewise.
23624         * locale/programs/xmalloc.c: Likewise.
23625         * misc/syslog.c: Likewise.
23626         * stdio-common/xbug.c: Likewise.
23627         * string/memchr.c: Likewise.
23628         * string/memcmp.c: Likewise.
23629         * string/memrchr.c: Likewise.
23630         * string/rawmemchr.c: Likewise.
23631         * sysdeps/posix/getcwd.c: Likewise.
23632         * time/strftime_l.c: Likewise.
23634 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
23636         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
23637         * config.make.in (config-cflags-sse2avx): Define.
23638         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
23639         Fix typo.
23641 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
23643         * scripts/config.guess: Update from upstream config git repository.
23644         * scripts/config.sub: Likewise.
23646 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
23648         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
23649         (EM_NUM): Update.
23650         (R_TILEPRO_*, R_TILEGX_*): New macros.
23652         * scripts/firstversions.awk: Fix bug in version range handling.
23654         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
23656         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
23658         * include/sys/epoll.h: New file.
23659         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
23660         libc_hidden_def.
23662 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
23664         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
23665         Avoid unnecessary __WORDSIZE == 64 test.
23666         (fmaxf): Use VEX format if possible.
23667         (fmax): Likewise.
23668         (fminf): Likewise.
23669         (fmin): Likewise.
23671         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
23672         * math/math_private.h: Remove libc_fegetround* and
23673         libc_fesetround*.
23674         * sysdeps/i386/configure.in: Check for -msse2avx.
23675         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
23676         also if SSE2AVX is defined.
23677         Remove libc_fegetround* and libc_fesetround*.
23678         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
23679         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
23680         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
23681         of HAS_YMM_USABLE.
23682         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
23683         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
23684         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
23685         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
23686         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
23688         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
23690 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23692         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
23693         size is not set.
23694         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
23696 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
23698         [BZ #13618]
23699         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
23700         relocation.
23701         * Makeconfig (libm): Define.
23702         * elf/Makefile: Add rules to build and run tst-relsort1.
23703         * elf/tst-relsort1.c: New file.
23704         * elf/tst-relsort1mod1.c: New file.
23705         * elf/tst-relsort1mod2.c: New file.
23707 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
23709         * math/s_ldexp.c: Remove __STDC__ conditionals.
23710         * math/s_ldexpf.c: Likewise.
23711         * math/s_ldexpl.c: Likewise.
23712         * math/s_nextafter.c: Likewise.
23713         * math/s_nexttowardf.c: Likewise.
23714         * math/s_significand.c: Likewise.
23715         * math/s_significandf.c: Likewise.
23716         * math/s_significandl.c: Likewise.
23717         * math/w_jnl.c: Likewise.
23718         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
23719         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
23720         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
23721         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
23722         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
23723         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
23724         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
23725         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
23726         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
23727         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
23728         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
23729         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
23730         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
23731         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
23732         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
23733         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
23734         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
23735         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
23736         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
23737         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
23738         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
23739         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
23740         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
23741         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
23742         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
23743         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
23744         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
23745         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
23746         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
23747         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
23748         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
23749         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
23750         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
23751         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
23752         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
23753         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
23754         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
23755         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
23756         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
23757         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
23758         * sysdeps/ieee754/k_standard.c: Likewise.
23759         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
23760         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
23761         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
23762         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
23763         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
23764         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
23765         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
23766         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
23767         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
23768         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
23769         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
23770         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
23771         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
23772         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
23773         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
23774         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
23775         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
23776         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
23777         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
23778         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
23779         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
23780         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
23781         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
23782         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
23783         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
23784         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
23785         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
23786         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
23787         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
23788         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
23789         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
23790         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
23791         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
23792         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
23793         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
23794         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
23795         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
23796         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
23797         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
23798         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
23799         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
23800         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
23801         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
23802         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
23803         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
23804         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
23805         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
23806         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
23807         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
23808         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
23809         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
23810         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
23811         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
23812         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
23813         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
23814         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
23815         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
23816         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
23817         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
23818         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
23819         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
23820         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
23821         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
23822         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
23823         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
23824         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
23825         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
23826         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
23827         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
23828         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
23829         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
23830         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
23831         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
23832         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
23833         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
23834         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
23835         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
23836         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
23837         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
23838         * sysdeps/ieee754/s_matherr.c: Likewise.
23839         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
23840         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
23841         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
23842         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
23844 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
23846         * crypt/md5.h: Remove __STDC__ conditionals.
23847         * libio/libioP.h: Likewise.
23848         * locale/programs/config.h: Likewise.
23849         * sysdeps/generic/sysdep.h: Likewise.
23850         * sysdeps/i386/asm-syntax.h: Likewise.
23851         * sysdeps/s390/asm-syntax.h: Likewise.
23852         * sysdeps/unix/sysdep.h: Likewise.
23853         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
23854         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
23856 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
23858         * libio/libio.h: Remove __STDC__ conditionals.
23859         * malloc/obstack.h: Likewise.
23860         * math/complex.h: Likewise.
23861         * math/math.h: Likewise.
23862         * sysdeps/generic/_G_config.h: Likewise.
23863         * sysdeps/gnu/_G_config.h: Likewise.
23864         * sysdeps/mach/hurd/_G_config.h: Likewise.
23865         * sysdeps/powerpc/bits/mathdef.h: Likewise.
23866         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
23867         * sysdeps/sparc/bits/mathdef.h: Likewise.
23869 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
23871         [BZ #13583]
23872         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
23873         Clean up HAS_* macros.
23874         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
23875         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
23876         possible.
23877         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
23878         HAS_AVX.
23879         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
23880         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
23881         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
23882         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
23883         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
23885 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
23887         * elf/tst-unique3.cc (gets): Remove declaration.
23888         * elf/tst-unique3lib.cc (gets): Likewise.
23889         * elf/tst-unique3lib2.cc (gets): Likewise.
23890         * elf/tst-unique4.cc (gets): Likewise.
23892 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
23894         * include/stdio.h: Add C++ protection.  Add gets declarations and
23895         definitions.
23896         * debug/tst-chk1.c: Don't declare gets here.
23897         * stdio-common/tst-gets.c: Likewise.
23899 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
23901         * posix/glob: Remove directory.
23903 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
23905         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
23907 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
23909         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
23910         of the non-standard EPFNOSUPPORT.
23912 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
23914         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
23915         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
23916         ANYWHERE set to 1 only on KERN_NO_SPACE error.
23918 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
23920         * wcsmbs/uchar.h: Test __STDC_VERSION__.
23922 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
23924         * nscd/aicache.c (addhstaiX): Do not cache negative results of
23925         transient errors.
23926         * nscd/grpcache.c (cache_addgr): Likewise.
23927         * nscd/hstcache.c (cache_addhst): Likewise.
23928         * nscd/initgrcache.c (addinitgroupsX): Likewise.
23929         * nscd/pwdcache.c (cache_addpw): Likewise.
23930         * nscd/servicescache.c (cache_addserv): Likewise.
23932 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
23934         * malloc/malloc.c: Various cleanups.
23935         * malloc/hooks.c: Likewise.
23937         * stdlib/Makefile (tests): Add bug-fmtmsg1.
23938         * stdlib/bug-fmtmsg1.c: New file.
23940         * stdlib/fmtmsg.c (init): Add missing unlock.
23941         Patch by Peng Haitao <penght@cn.fujitsu.com>.
23943 2012-01-12  Marek Polacek  <polacek@redhat.com>
23945         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
23946         and _GNU_SOURCE.
23948 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
23950         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
23951         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
23952         macro to ensure uniqueness of label name.
23953         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
23954         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
23956 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
23958         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
23960         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
23961         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
23962         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
23963         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
23965 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
23967         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
23969         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
23970         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
23971         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
23973         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
23975         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
23976         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
23977         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
23978         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
23980         * math/bits/math-finite.h: Add ldexp support.
23982 2012-01-10  Marek Polacek  <polacek@redhat.com>
23984         * locale/programs/localedef.h (show_archive_content): Add noreturn
23985         attribute.
23987 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
23989         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
23991 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
23993         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
23995         * io/Makefile (headers): Add bits/poll2.h.
23997 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
23999         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
24000         typo #include statement.
24002 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
24004         * include/sys/cdefs.h: Define __attribute_alloc_size.
24005         * catgets/gencat.c: Add alloc_size attribute and apply consistently
24006         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
24007         * elf/pldd.c: Likewise.
24008         * iconv/iconv_charmap.c: Likewise.
24009         * iconv/iconvconfig.c: Likewise.
24010         * iconv/strtab.c: Likewise.
24011         * locale/programs/locale.c: Likewise.
24012         * locale/programs/localedef.h: Likewise.
24013         * locale/programs/simple-hash.c: Likewise.
24014         * nscd/nscd.h: Likewise.
24015         * nss/makedb.c: Likewise.
24016         * sysdeps/generic/ldconfig.h: Likewise.
24017         * locale/programs/localedef.c: Remove xmalloc prototype.
24018         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
24020 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
24022         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
24023         appropriate.
24025 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
24027         * math/Makefile (tests): Add tst-CMPLX.
24028         * math/tst-CMPLX.c: New file.
24030         * math/complex.h (CMPLXL): Fix typo.
24032         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
24033         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
24034         GLIBC_2.16.
24035         * debug/tst-chk1.c: Add poll and ppoll tests.
24036         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
24037         * include/sys/poll.h: Add hidden proto for ppoll.
24038         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
24039         * sysdeps/mach/hurd/ppoll.c: Likewise.
24040         * io/ppoll.c: Likewise.
24041         * debug/poll_chk.c: New file.
24042         * debug/ppoll_chk.c: New file.
24043         * include/bits/poll2.h: New file.
24044         * io/bits/poll2.h: New file.
24046         [BZ #1350]
24047         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
24049         * configure.in: static is always set to yes.  Remove.
24050         * config.make.in: Don't set build-static.
24051         * Makeconfig: Remove use of build-static.
24052         * dlfcn/Makefile: Likewise.
24053         * elf/Makefile: Likewise.
24054         * math/Makefile: Likewise.
24055         * misc/Makefile: Likewise.
24056         * nptl/Makefile: Likewise.
24057         * sysdeps/mach/hurd/Makefile: Likewise.
24059         * configure.in: PWD_P is not used anymore.
24060         * config.make.in: Remove PWD_P entry.
24062         * configure.in: Remove last remnants of RANLIB.
24063         No need to check for signed size_t anymore.
24064         Don't set libc_commonpagesize and libc_relro_required here for Alpha
24065         and IA-64.
24066         Remove __builtin_expect test because we require at least gcc 3.4.
24067         * aclocal.m4: Likewise.
24069         * wcsmbs/mbrtoc16.c: Implement using towc function.
24070         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
24071         * wcsmbs/wcsmbsload.c: Likewise.
24072         * iconv/gconv_simple.c: Likewise.
24073         * iconv/gconv_int.h: Likewise.
24074         * iconv/gconv_builtin.h: Likewise.
24075         * iconv/iconv_prog.c: Remove CHAR16 handling.
24077         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
24079         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
24081         * configure.in: Remove --with-elf and --enable-bounded options.
24082         Dont set base_machine for ia64.  More non-ELF conditions removed.
24083         Remove testing and setting of leading underscore information.
24084         * config.make.in (build-bounded): Set to no.
24085         * config.h.in: Remove NO_UNDERSCORES entry.
24086         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
24087         them.
24088         * csu/start.c: Remove !NO_UNDERSCORE code.
24089         * locale/localeinfo.h: Likewise.
24090         * sysdeps/generic/machine-gmon.h: Likewise.
24091         * sysdeps/generic/sysdep.h: Likewise.
24092         * sysdeps/i386/sysdep.h: Likewise.
24093         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
24094         * sysdeps/mach/sysdep.h: Likewise.
24095         * sysdeps/s390/s390-32/sysdep.h: Likewise.
24096         * sysdeps/s390/s390-64/sysdep.h: Likewise.
24097         * sysdeps/sh/sysdep.h: Likewise.
24098         * sysdeps/sparc/sparc32/alloca.S: Likewise.
24099         * sysdeps/unix/i386/sysdep.S: Likewise.
24100         * sysdeps/unix/sparc/start.c: Likewise.
24101         * sysdeps/unix/sparc/sysdep.S: Likewise.
24102         * sysdeps/unix/sparc/sysdep.h: Likewise.
24103         * sysdeps/unix/start.c: Likewise.
24104         * sysdeps/unix/x86_64/sysdep.S: Likewise.
24105         * sysdeps/x86_64/sysdep.h: Likewise.
24107 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
24109         [BZ #13553]
24110         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
24111         for non-gcc.
24112         * argp/argp-fmtstream.h: Use const instead __const.
24113         * argp/argp.h: Likewise.
24114         * assert/assert.h: Likewise.
24115         * bits/fenv.h: Likewise.
24116         * bits/sched.h: Likewise.
24117         * bits/sigset.h: Likewise.
24118         * bits/sigthread.h: Likewise.
24119         * catgets/nl_types.h: Likewise.
24120         * conform/data/pthread.h-data: Likewise.
24121         * crypt/crypt-private.h: Likewise.
24122         * crypt/crypt.h: Likewise.
24123         * crypt/crypt_util.c: Likewise.
24124         * ctype/ctype.h: Likewise.
24125         * debug/execinfo.h: Likewise.
24126         * debug/mbsnrtowcs_chk.c: Likewise.
24127         * debug/mbsrtowcs_chk.c: Likewise.
24128         * debug/wcsnrtombs_chk.c: Likewise.
24129         * debug/wcsrtombs_chk.c: Likewise.
24130         * debug/wcstombs_chk.c: Likewise.
24131         * dirent/dirent.h: Likewise.
24132         * dlfcn/dlfcn.h: Likewise.
24133         * elf/neededtest4.c: Likewise.
24134         * grp/grp.h: Likewise.
24135         * gshadow/gshadow.h: Likewise.
24136         * iconv/gconv.h: Likewise.
24137         * iconv/gconv_int.h: Likewise.
24138         * iconv/gconv_simple.c: Likewise.
24139         * iconv/iconv.h: Likewise.
24140         * iconv/loop.c: Likewise.
24141         * iconv/skeleton.c: Likewise.
24142         * include/aio.h: Likewise.
24143         * include/aliases.h: Likewise.
24144         * include/argz.h: Likewise.
24145         * include/arpa/inet.h: Likewise.
24146         * include/assert.h: Likewise.
24147         * include/dirent.h: Likewise.
24148         * include/dlfcn.h: Likewise.
24149         * include/execinfo.h: Likewise.
24150         * include/fcntl.h: Likewise.
24151         * include/fenv.h: Likewise.
24152         * include/glob.h: Likewise.
24153         * include/grp.h: Likewise.
24154         * include/libintl.h: Likewise.
24155         * include/mntent.h: Likewise.
24156         * include/netdb.h: Likewise.
24157         * include/pwd.h: Likewise.
24158         * include/rpc/netdb.h: Likewise.
24159         * include/sched.h: Likewise.
24160         * include/search.h: Likewise.
24161         * include/shadow.h: Likewise.
24162         * include/signal.h: Likewise.
24163         * include/stdio.h: Likewise.
24164         * include/stdlib.h: Likewise.
24165         * include/string.h: Likewise.
24166         * include/sys/socket.h: Likewise.
24167         * include/sys/stat.h: Likewise.
24168         * include/sys/statfs.h: Likewise.
24169         * include/sys/statvfs.h: Likewise.
24170         * include/sys/syslog.h: Likewise.
24171         * include/sys/time.h: Likewise.
24172         * include/sys/uio.h: Likewise.
24173         * include/time.h: Likewise.
24174         * include/unistd.h: Likewise.
24175         * include/utmp.h: Likewise.
24176         * include/wchar.h: Likewise.
24177         * include/wctype.h: Likewise.
24178         * inet/aliases.h: Likewise.
24179         * inet/arpa/inet.h: Likewise.
24180         * inet/netinet/ether.h: Likewise.
24181         * inet/netinet/in.h: Likewise.
24182         * intl/libintl.h: Likewise.
24183         * io/bits/fcntl2.h: Likewise.
24184         * io/fcntl.h: Likewise.
24185         * io/ftw.h: Likewise.
24186         * io/sys/poll.h: Likewise.
24187         * io/sys/stat.h: Likewise.
24188         * io/sys/statfs.h: Likewise.
24189         * io/sys/statvfs.h: Likewise.
24190         * io/utime.h: Likewise.
24191         * libio/bits/stdio.h: Likewise.
24192         * libio/bits/stdio2.h: Likewise.
24193         * libio/libio.h: Likewise.
24194         * libio/libioP.h: Likewise.
24195         * libio/stdio.h: Likewise.
24196         * locale/lc-ctype.c: Likewise.
24197         * locale/locale.h: Likewise.
24198         * login/utmp.h: Likewise.
24199         * malloc/arena.c: Likewise.
24200         * malloc/malloc.c: Likewise.
24201         * malloc/malloc.h: Likewise.
24202         * malloc/mcheck.c: Likewise.
24203         * malloc/mtrace.c: Likewise.
24204         * math/bits/mathcalls.h: Likewise.
24205         * math/fenv.h: Likewise.
24206         * math/math_private.h: Likewise.
24207         * misc/bits/error.h: Likewise.
24208         * misc/bits/syslog.h: Likewise.
24209         * misc/err.h: Likewise.
24210         * misc/error.h: Likewise.
24211         * misc/fstab.h: Likewise.
24212         * misc/mntent.h: Likewise.
24213         * misc/regexp.h: Likewise.
24214         * misc/search.h: Likewise.
24215         * misc/sgtty.h: Likewise.
24216         * misc/sys/mman.h: Likewise.
24217         * misc/sys/syslog.h: Likewise.
24218         * misc/sys/uio.h: Likewise.
24219         * misc/sys/xattr.h: Likewise.
24220         * misc/ttyent.h: Likewise.
24221         * nis/rpcsvc/ypclnt.h: Likewise.
24222         * nss/nss.h: Likewise.
24223         * posix/bits/unistd.h: Likewise.
24224         * posix/fnmatch.h: Likewise.
24225         * posix/glob.h: Likewise.
24226         * posix/sched.h: Likewise.
24227         * posix/spawn.h: Likewise.
24228         * posix/sys/wait.h: Likewise.
24229         * posix/unistd.h: Likewise.
24230         * posix/wordexp.h: Likewise.
24231         * pwd/pwd.h: Likewise.
24232         * resolv/netdb.h: Likewise.
24233         * resource/sys/resource.h: Likewise.
24234         * rt/aio.h: Likewise.
24235         * rt/bits/mqueue2.h: Likewise.
24236         * rt/mqueue.h: Likewise.
24237         * shadow/shadow.h: Likewise.
24238         * signal/signal.h: Likewise.
24239         * socket/send.c: Likewise.
24240         * socket/sendto.c: Likewise.
24241         * socket/sys/socket.h: Likewise.
24242         * stdio-common/printf.h: Likewise.
24243         * stdlib/bits/stdlib.h: Likewise.
24244         * stdlib/fmtmsg.h: Likewise.
24245         * stdlib/monetary.h: Likewise.
24246         * stdlib/stdlib.h: Likewise.
24247         * stdlib/ucontext.h: Likewise.
24248         * streams/stropts.h: Likewise.
24249         * string/argz.h: Likewise.
24250         * string/bits/string2.h: Likewise.
24251         * string/string.h: Likewise.
24252         * string/strings.h: Likewise.
24253         * sunrpc/rpc/auth.h: Likewise.
24254         * sunrpc/rpc/auth_des.h: Likewise.
24255         * sunrpc/rpc/clnt.h: Likewise.
24256         * sunrpc/rpc/netdb.h: Likewise.
24257         * sunrpc/rpc/pmap_clnt.h: Likewise.
24258         * sunrpc/rpc/xdr.h: Likewise.
24259         * sysdeps/generic/inttypes.h: Likewise.
24260         * sysdeps/generic/net/if.h: Likewise.
24261         * sysdeps/generic/sys/swap.h: Likewise.
24262         * sysdeps/gnu/net/if.h: Likewise.
24263         * sysdeps/gnu/utmpx.h: Likewise.
24264         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
24265         * sysdeps/i386/i486/bits/string.h: Likewise.
24266         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
24267         * sysdeps/s390/bits/string.h: Likewise.
24268         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
24269         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
24270         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
24271         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
24272         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
24273         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
24274         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
24275         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
24276         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
24277         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
24278         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
24279         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
24280         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
24281         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
24282         * sysdeps/unix/sysv/linux/readv.c: Likewise.
24283         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
24284         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
24285         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
24286         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
24287         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
24288         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
24289         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
24290         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
24291         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
24292         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
24293         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
24294         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
24295         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
24296         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
24297         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
24298         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
24299         * sysvipc/sys/ipc.h: Likewise.
24300         * sysvipc/sys/msg.h: Likewise.
24301         * sysvipc/sys/sem.h: Likewise.
24302         * sysvipc/sys/shm.h: Likewise.
24303         * termios/termios.h: Likewise.
24304         * time/sys/time.h: Likewise.
24305         * time/time.h: Likewise.
24306         * wcsmbs/bits/wchar2.h: Likewise.
24307         * wcsmbs/uchar.h: Likewise.
24308         * wcsmbs/wchar.h: Likewise.
24309         * wctype/wctype.h: Likewise.
24311         [BZ #13551]
24312         * Makeconfig: Remove all but ELF support including AIX support.
24313         * Makerules: Likewise.
24314         * config.h.in: Likewise.
24315         * config.make.in: Likewise.
24316         * configure: Likewise.
24317         * configure.in: Likewise.
24318         * csu/Makefile: Likewise.
24319         * csu/version.c: Likewise.
24320         * debug/Makefile: Likewise.
24321         * dlfcn/Makefile: Likewise.
24322         * elf/Makefile: Likewise.
24323         * extra-lib.mk: Likewise.
24324         * iconv/Makefile: Likewise.
24325         * include/libc-symbols.h: Likewise.
24326         * include/shlib-compat.h: Likewise.
24327         * resolv/Makefile: Likewise.
24328         * resolv/res_libc.c: Likewise.
24329         * rt/Makefile: Likewise.
24330         * sysdeps/i386/asm-syntax.h: Likewise.
24331         * sysdeps/i386/sysdep.h: Likewise.
24332         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
24333         * sysdeps/mach/sysdep.h: Likewise.
24334         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
24335         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
24336         * sysdeps/s390/asm-syntax.h: Likewise.
24337         * sysdeps/s390/s390-32/sysdep.h: Likewise.
24338         * sysdeps/s390/s390-64/sysdep.h: Likewise.
24339         * sysdeps/sh/sysdep.h: Likewise.
24340         * sysdeps/unix/sparc/sysdep.h: Likewise.
24341         * sysdeps/wordsize-32/divdi3.c: Likewise.
24342         * sysdeps/x86_64/sysdep.h: Likewise.
24344         * argp/Versions: Remove _argp_unlock_xxx.
24346         [BZ #13559]
24347         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
24348         * abilist/libBrokenLocale.abilist: Likewise.
24349         * abilist/libanl.abilist: Likewise.
24350         * abilist/libc.abilist: Likewise.
24351         * abilist/libcrypt.abilist: Likewise.
24352         * abilist/libdl.abilist: Likewise.
24353         * abilist/libm.abilist: Likewise.
24354         * abilist/libnsl.abilist: Likewise.
24355         * abilist/libpthread.abilist: Likewise.
24356         * abilist/libresolv.abilist: Likewise.
24357         * abilist/librt.abilist: Likewise.
24358         * abilist/libthread_db.abilist: Likewise.
24359         * abilist/libutil.abilist: Likewise.
24360         * abilist/libnss_db.abilist: New file.
24362         * scripts/abilist.awk: Add support for indirect functions.
24364         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
24366         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
24368         * shlib-versions: Remove entries for ports architectures.
24370         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
24371         files in ports.
24372         * elf/stackguard-macros.h: Remove support for IA-64.
24373         * elf/tst-auditmod1.c: Likewise.
24374         * sysdeps/generic/ldsodefs.h: Likewise.
24376         * sysdeps/unix/sysv/linux/configure.in: Ports should define
24377         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
24378         configure files.
24380         [BZ #13552]
24381         * configure.in: Remove --enable-omitfp support.
24382         * FAQ.in: Adjust.
24383         * config.make.in: Likewise.
24384         * Makeconfig: Likewise.
24385         * manual/install.texi: Likewise.
24387         In case anyone cares, the IA-64 architecture could move to ports.
24388         * sysdeps/ia64/*: Removed.
24389         * sysdeps/unix/sysv/linux/ia64/*: Removed.
24390         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
24392         [BZ #13555]
24393         * configure.in: Remove entries for unsupported architectures.
24395         [BZ #13533]
24396         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
24397         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
24398         routines.
24399         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
24400         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
24401         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
24402         fall back to using wcrtomb.
24403         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
24404         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
24405         renaming.
24406         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
24407         * wcsmbs/tst-c16c32-1.c: New file.
24409         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
24410         local variable.
24412         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
24414         * elf/tst-unique3.cc: Add explicit declaration of gets.
24415         * elf/tst-unique3lib.cc: Likewise.
24416         * elf/tst-unique3lib2.cc: Likewise.
24417         * elf/tst-unique4.cc: Likewise.
24419         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
24421 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
24423         [BZ #13566]
24424         * assert/assert.h (static_assert): Don't define for C++.
24425         * libio/stdio.h (gets): Do declare for C++ <= C++11.
24426         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
24428 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
24430         * iconv/loop.c (single loop): Fix assertion in storing of
24431         remaining bytes.
24433         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
24435 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
24437         * posix/getconf.c: Update copyright year.
24438         * nss/getent.c: Likewise.
24439         * nss/makedb.c: Likewise.
24440         * iconv/iconvconfig.c: Likewise.
24441         * iconv/iconv_prog.c: Likewise.
24442         * elf/ldconfig.c: Likewise.
24443         * elf/pldd.c: Likewise.
24444         * elf/sotruss.ksh: Likewise.
24445         * catgets/gencat.c: Likewise.
24446         * csu/version.c: Likewise.
24447         * elf/ldd.bash.in: Likewise.
24448         * elf/sprof.c (print_version): Likewise.
24449         * locale/programs/locale.c: Likewise.
24450         * locale/programs/localedef.c: Likewise.
24451         * login/programs/pt_chown.c: Likewise.
24452         * nscd/nscd.c (print_version): Likewise.
24453         * debug/xtrace.sh: Likewise.
24454         * malloc/memusage.sh: Likewise.
24455         * malloc/mtrace.pl: Likewise.
24456         * debug/catchsegv.sh: Likewise.
24458 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
24460         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
24461         pure attribute.
24463 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
24465         [BZ #13533]
24466         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
24467         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
24468         transformations.
24469         * iconv/gconv_int.h: Likewise.
24470         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
24471         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
24472         from libc for GLIBC_2.16.
24473         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
24474         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
24475         * wcsmbs/uchar.h: Really define mbstate_t.
24476         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
24477         * wcsmbs/c16rtomb.c: New file.
24478         * wcsmbs/mbrtoc16.c: New file.
24479         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
24480         for C/POSIX locale.
24481         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
24482         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
24484         * wcsmbs/wchar.h: Add missing __restrict.
24486 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
24488         [BZ #13532]
24489         * time/Makefile (routines): Add timespec_get.
24490         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
24491         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
24492         timespec for ISO C11.
24493         * time/timespec_get.c: New file.
24494         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
24495         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
24497         [BZ #13531]
24498         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
24499         * stdlib/stdlib.h: Declare aligned_alloc.
24500         * Versions.def: Add GLIBC_2.16 for libc.
24501         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
24503         [BZ 13527]
24504         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
24505         ISO C11.
24507         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
24508         code.
24510         [BZ #13528]
24511         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
24513         [BZ #13529]
24514         * assert/assert.h (static_assert): Define.
24516         * version.h: Update for 2.16 development version.
24518         [BZ #13526]
24519         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
24520         _ISOC11_SOURCE.
24522         * version.h (RELEASE): Bump for 2.15 release.
24523         * include/features.h (__GLIBC_MINOR__): Bump to 15.
24525         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
24526         Patch by Marek Polacek <mpolacek@redhat.com>.
24528         * bits/byteswap.h: Protect long long constants with __extension__.
24529         * sysdeps/i386/bits/byteswap.h: Likewise.
24530         * sysdeps/ia64/bits/byteswap.h: Likewise.
24531         * sysdeps/s390/bits/byteswap.h: Likewise.
24532         * sysdeps/x86_64/bits/byteswap.h: Likewise.
24534 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
24536         [BZ #13540]
24537         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
24538         destination buffer.
24539         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
24541 2011-12-23  Marek Polacek  <polacek@redhat.com>
24543         * elf/dl-addr.c (determine_info): Add inline keyword.
24544         * elf/tst-auditmod4b.c (check_avx): Likewise.
24545         * elf/tst-auditmod6b.c (check_avx): Likewise.
24546         * elf/tst-auditmod6c.c (check_avx): Likewise.
24547         * elf/tst-auditmod7b.c (check_avx): Likewise.
24549 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
24551         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
24552         !__SSE_MATH__.
24554 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
24556         [BZ #13540]
24557         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
24558         processing for last bytes.
24560 2011-08-06  Bruno Haible  <bruno@clisp.org>
24562         [BZ #13061]
24563         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
24564         U+0385, not to U+1FEE.
24566         [BZ #13062]
24567         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
24568         entry for U+00A5 U+0301.
24570 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
24572         [BZ #13166]
24573         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
24574         buffer for the output is too small.
24576         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
24577         optimization.
24579         [BZ #13185]
24580         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
24581         SSE flags if possible.
24583 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
24585         [BZ #13540]
24586         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
24587         processing for last bytes.
24589 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
24591         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
24592         (syscall-list-default-options, syscall-list-default-condition)
24593         (syscall-list-includes): Define.
24594         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
24595         list of ABIs and options and #if conditions for each ABI.  Do not
24596         handle common syscalls between ABIs specially.
24597         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
24598         Remove.
24599         (syscall-list-variants, syscall-list-32bit-options)
24600         (syscall-list-32bit-condition, syscall-list-64bit-options)
24601         (syscall-list-64bit-condition): Define.
24602         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
24603         (syscall-list-variants, syscall-list-32bit-options)
24604         (syscall-list-32bit-condition, syscall-list-64bit-options)
24605         (syscall-list-64bit-condition): Define.
24606         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
24607         Remove.
24608         (syscall-list-variants, syscall-list-32bit-options)
24609         (syscall-list-32bit-condition, syscall-list-64bit-options)
24610         (syscall-list-64bit-condition): Define.
24611         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
24612         Remove.
24613         (syscall-list-variants, syscall-list-32bit-options)
24614         (syscall-list-32bit-condition, syscall-list-64bit-options)
24615         (syscall-list-64bit-condition): Define.
24617 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
24619         * locale/iso-639.def: Add brx entry.
24621         [BZ #13328]
24622         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
24623         Proposed by Mariusz_Cukr <marcukr@op.pl>.
24625         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
24626         __feraiseexcept_renamed.
24628 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
24630         [BZ #13538]
24631         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
24632         EPOLLET with unsigned values.
24633         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
24634         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
24636         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
24637         to large cancellation.
24638         * math/s_cacoshf.c: Likewise.
24639         * math/s_cacoshl.c: Likewise.
24641 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
24643         [BZ #13305]
24644         [BZ #12786]
24645         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
24646         * math/s_cacoshf.c: Likewise.
24647         * math/s_cacoshl.c: Likewise.
24649 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
24651         [BZ #13439]
24652         * iconv/gconv.h: Define __GCONV_SWAP.
24653         * iconvdata/unicode.c: The swap bit must be stored in __flags.
24654         * iconvdata/utf-16.c: Likewise.
24655         * iconvdata/utf-32.c: Likewise.
24657 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
24659         [BZ #13524]
24660         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
24661         numerator after shifting it by one limb.
24663 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
24665         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
24666         under [__USE_EXTERN_INLINES].
24668 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
24670         [BZ #13446]
24671         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
24673 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24675         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
24676         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
24677         optimized code.
24678         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
24679         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
24680         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
24681         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
24682         for strncasecmp/strncasecmp_l compilation.
24683         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
24684         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
24686 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
24688         [BZ #13484]
24689         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
24690         of __asm__.
24692 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
24694         [BZ #13506]
24695         * time/tzfile.c (__tzfile_read): Check values from file header.
24697 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
24699         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
24700         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
24701         * powerpc/powerpc32/dl-start.S: Likewise.
24702         * powerpc/powerpc32/elf/start.S: Likewise.
24703         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
24704         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
24705         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
24706         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
24707         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
24708         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
24709         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
24710         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
24711         * powerpc/powerpc32/fpu/s_round.S: Likewise.
24712         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
24713         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
24714         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
24715         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
24716         * powerpc/powerpc32/memset.S: Likewise.
24717         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
24718         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
24719         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
24720         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
24721         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
24722         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
24723         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
24724         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
24725         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
24726         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
24727         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
24728         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
24729         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
24731 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24733         * math/libm-test.inc: Added more nearbyint tests.
24734         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
24735         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
24736         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
24737         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
24739 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
24741         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
24742         FD_CLOEXEC.
24744 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
24746         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
24747         Add wcscpy-ssse3 wcscpy-c.
24748         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
24749         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
24750         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
24751         * sysdeps/x86_64/wcschr.S: New file.
24752         * sysdeps/x86_64/wcsrchr.S: New file.
24753         * string/test-strcmp.c: Remove checking of wcscmp function for
24754         wrong alignments.
24755         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
24756         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
24757         wcsrchr-sse2 wcsrchr-c.
24758         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
24759         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
24760         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
24761         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
24762         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
24763         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
24764         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
24765         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
24766         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
24767         * wcsmbc/wcschr.c (WCSCHR): New macro.
24769 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
24771         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
24772         * wcsmbs/test-wcsrchr.c: New file.
24773         * string/test-strrchr.c: Add wcsrchr support.
24774         (WIDE): New macro.
24775         * wcsmbs/test-wcscpy.c: New file.
24776         * string/test-strcpy.c: Add wcscpy support.
24777         (WIDE): New macro.
24779 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
24781         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
24782         the inner loop.
24784 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
24786         [BZ #13472]
24787         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
24789 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
24791         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
24792         Minor optimizations.
24794         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
24795         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
24796         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
24798 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
24800         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
24801         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
24802         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
24803         for gcc to avoid warnings.
24804         * inet/Makefile (tests): Add tst-checks.
24805         * inet/tst-checks.c: New file.
24807         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
24808         warning.
24810         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
24811         __wmemcmp_sse2.
24813         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
24814         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
24816         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
24818 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
24820         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
24821         problem.
24823         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
24825 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
24827         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
24828         conditional on GCC version.
24829         (__arch_compare_and_exchange_val_8_acq)
24830         (__arch_compare_and_exchange_val_16_acq)
24831         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
24832         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
24833         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
24835 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
24837         * sysdeps/sh/backtrace.c: New file.
24839 2011-12-02  Andreas Schwab  <schwab@redhat.com>
24841         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
24842         parenthesis.
24844 2011-12-01  Andreas Schwab  <schwab@redhat.com>
24846         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
24847         falling back to utime.
24849 2011-11-30  Andreas Schwab  <schwab@redhat.com>
24851         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
24852         expectations for float.
24854 2011-11-29  Andreas Schwab  <schwab@redhat.com>
24856         * locale/weight.h (findidx): Add parameter len.
24857         * locale/weightwc.h (findidx): Likewise.
24858         * posix/fnmatch_loop.c (FCT): Adjust caller.
24859         * posix/regcomp.c (build_equiv_class): Likewise.
24860         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
24861         * posix/regexec.c (check_node_accept_bytes): Likewise.
24862         * string/strcoll_l.c (STRCOLL): Likewise.
24863         * string/strxfrm_l.c (STRXFRM): Likewise.
24865 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
24867         * Makefile.in: Remove CVSOPT handling.
24868         * configure.in: Remove use of AC_REVISION.
24869         * iconvdata/Makefile (distribute): No need to filter out CVS.
24870         * scripts/list-sources.sh: Remove CVS, subversion and monotone
24871         handling.
24873 2011-11-16  Andreas Schwab  <schwab@redhat.com>
24875         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
24876         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
24877         [USE_AS_STRNCASECMP_L]: Likewise.
24878         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
24879         NO_TLS_DIRECT_SEG_REFS.
24880         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
24881         Fix argument offsets for non-PIC.
24882         [USE_AS_STRNCASECMP_L]: Likewise.
24883         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
24884         NO_TLS_DIRECT_SEG_REFS.
24886 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
24888         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
24889         O_CLOEXEC.
24890         * locale/loadlocale.c (_nl_load_locale): Likewise.
24892 2011-11-15  Andreas Schwab  <schwab@redhat.com>
24894         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
24895         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
24896         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
24897         (SYSCALL_GETTIME): Set errno on error.
24899         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
24900         count references to noai6ai_cached.
24902 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
24904         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
24906         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
24907         FD_CLOEXEC for /proc/self/maps.
24909         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
24910         FD_CLOEXEC for /proc/meminfo.
24912         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
24913         gai.conf.
24915         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
24916         FD_CLOEXEC for given file.
24918         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
24920         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
24921         FD_CLOEXEC for /etc/hosts.
24922         (_gethtent): Likewise.
24924         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
24926         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
24927         cancellation and set FD_CLOEXEC for /etc/netgroup.
24929         * nss/nss_files/files-key.c (search): Don't allow cancellation when
24930         reading /etc/publickey.
24932         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
24933         allow cancellation when reading /etc/group.
24935         * nss/nss_files/files-alias.c (internal_setent): Don't allow
24936         cancellation.
24937         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
24939         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
24940         when using data file.
24942         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
24944         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
24945         (write_nis_obj): Use "c" and "e" in fopen.
24947         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
24949         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
24951         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
24953         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
24955         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
24956         locale.alias.
24958         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
24960         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
24962         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
24964         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
24965         file parsing and set FD_CLOEXEC.
24967 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
24969         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
24971 2011-11-14  Andreas Schwab  <schwab@redhat.com>
24973         * malloc/arena.c (arena_get2): Don't call reused_arena when
24974         _int_new_arena failed.
24976 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
24978         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
24979         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
24980         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
24981         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
24982         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
24983         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
24984         to compile strcasecmp and strncasecmp.
24985         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
24986         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
24988         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
24990 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
24992         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
24993         locale-defines.sym to gen-as-const-headers.
24994         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
24995         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
24996         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
24997         to compile strcasecmp and strncasecmp.
24998         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
24999         strcasecmp_l and strncasecmp_l.
25000         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
25001         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
25002         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
25003         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
25004         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
25005         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
25006         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
25007         * sysdeps/i386/i686/multiarch/strncase.S: New file.
25008         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
25009         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
25010         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
25012 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
25014         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
25015         result of SYSDEP_GETTIME_CPU to retval.
25016         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
25017         parameter list to macro.  Remove trailing semicolon.  Adjust users.
25019         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
25020         variable.
25022         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
25023         mantissa words.
25024         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
25026         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
25027         from unused variable.
25029         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
25030         DWARF definitions.
25031         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
25032         for assembling.
25034         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
25035         over namespaces.
25037         * sunrpc/rpc_prot.c (rejected): Fix case value.
25039         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
25040         unsigned long long int to avoid warnings in shift.
25042         * posix/regex_internal.c (re_string_reconstruct): Actually use result
25043         of use of trans.
25044         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
25045         variable tmp.
25047         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
25048         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
25049         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
25051         * nis/nis_table.c (nis_list): Use variable of correct type for
25052         result of __follow_path call.
25054 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25056         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
25057         of math functions ceil, trunc, floor, round, and sqrt, when
25058         avaliable on the platform.
25059         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
25060         name clash.
25061         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
25062         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
25063         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
25065 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
25067         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
25068         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
25070 2011-11-11  Roland McGrath  <roland@hack.frob.com>
25072         * include/unistd.h: Fix __readlink return type.
25073         Reported by Chris Metcalf <cmetcalf@tilera.com>.
25075 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
25077         * stdlib/ucontext.h: Undo last change for makecontext.
25079 2011-11-11  Andreas Schwab  <schwab@redhat.com>
25081         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
25083         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
25084         * setjmp/setjmp.h: Mark functions as non-leaf.
25085         * setjmp/bits/setjmp2.h: Likewise.
25086         * stdlib/ucontext.h: Likewise.
25088 2011-11-10  Andreas Schwab  <schwab@redhat.com>
25090         * malloc/arena.c (_int_new_arena): Don't increment narenas.
25091         (reused_arena): Don't check arena limit.
25092         (arena_get2): Atomically check arena limit.
25094 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
25096         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
25097         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
25099         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
25100         instructions.
25102 2011-11-07  Andreas Schwab  <schwab@redhat.com>
25104         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
25105         handler when locking.
25107         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
25108         Fix size of allocated buffer.
25110 2011-11-04  Andreas Schwab  <schwab@redhat.com>
25112         [BZ #10103]
25113         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
25114         declarations for long double functions.
25115         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
25117         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
25119 2011-11-03  Andreas Schwab  <schwab@redhat.com>
25121         * nscd/nscd.c (main): Don't start AVC thread until credentials are
25122         installed.
25124         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
25125         is disabled.
25127 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
25129         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
25131 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
25133         * include/alloca.h (stackinfo_alloca_round): Define.
25134         (extend_alloca): Use it.
25135         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
25136         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
25137         here.
25139         * scripts/check-local-headers.sh: Ignore libaudit.h.
25141         * nscd/Makefile (extra-objs): Make recursively expanded.
25143 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
25145         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
25146         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
25148         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
25149         * posix/tst-rfc3484-2.c: Likewise.
25150         * posix/tst-rfc3484-3.c: Likewise.
25152         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
25153         process_vm_writev.
25154         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
25155         process_vm_writev.
25156         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
25157         process_vm_writev from libc using GLIBC_2.15 version.
25159         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
25161 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
25163         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
25164         stack usage.
25166 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
25168         [BZ #13367]
25169         * nss/getent.c (initgroups_keys): Show error message in case no group
25170         names are given.
25172         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
25173         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
25174         __bump_nl_timestamp.
25175         * nscd/connections (nscd_init): When host database is served open
25176         netlink socket and request notification about configuration changes.
25177         (main_loop_poll): Track netlink file descriptor and bump timestamp
25178         in case data becomes available.
25179         (main_loop_epoll): Likewise.
25180         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
25181         (database_pers_head): Add extra_data fileds.
25182         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
25183         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
25184         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
25185         Adjust caller.
25186         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
25187         in6ai data, call __free_in6ai.
25188         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
25189         Add -DHAVE_NETLINK.
25190         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
25191         interface information.  Reuse previous data if netlink timestamp
25192         is not changed.
25193         (__bump_nl_timestamp): New function.
25194         (__free_in6ai): New function.
25196 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
25198         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
25199         close_not_cancel_no_status here.
25200         (__check_pf): Reorganize code a bit to not call close twice if OOM.
25202 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
25204         [BZ #13276]
25205         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
25206         return value.
25208         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
25209         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
25210         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
25212 2011-07-03  Andreas Jaeger  <aj@suse.de>
25214         [BZ #10709]
25215         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
25216         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
25217         * math/libm-test.inc (sin_test): Add test case.
25219 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
25221         [BZ #13337]
25222         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
25223         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
25225         * elf/chroot_canon.c (chroot_canon): Cleanups.
25227         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
25229         [BZ #13335]
25230         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
25231         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
25233         * string/test-strchr.c: Make usable for strchrnul testing.
25234         * string/test-strchrnul.c: New file.
25235         * string/Makefile (strop-tests): Add strchrnul.
25237         * po/it.po: Update from translation team.
25238         * po/es.po: Likewise.
25240 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
25242         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
25243         the three constants needed as parameters.  Drop the others.
25244         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
25245         __m128i_strloadu_tolower.
25246         Create and initialize variable zero and use it in all the places
25247         where _mm_setzero_si128 was used.
25249         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
25250         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
25251         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
25252         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
25253         anymore.
25254         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
25255         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
25256         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
25257         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
25258         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
25259         __mpranred, __mptan.
25260         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
25261         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
25262         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
25263         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
25264         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
25265         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
25266         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
25267         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
25268         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
25270 2011-10-28  Andreas Schwab  <schwab@redhat.com>
25272         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
25273         redefine if SHARED.
25274         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
25276         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
25277         wide char related routines to wcsmbs subdir.
25279 2011-10-27  Andreas Schwab  <schwab@redhat.com>
25281         [BZ #13344]
25282         * misc/sys/cdefs.h (__THROWNL): Define.
25283         * posix/unistd.h: Use __THREADNL instead of __THREAD
25284         for memory synchronization functions.
25286 2011-10-26  Roland McGrath  <roland@hack.frob.com>
25288         [BZ #13349]
25289         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
25290         doesn't exist.
25291         * manual/stdio.texi (Obstack Streams): Node removed.
25293 2011-10-26  Andreas Schwab  <schwab@redhat.com>
25295         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
25296         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
25297         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
25299         * math/math_private.h (math_force_eval): Allow non-addressable
25300         arguments.
25301         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
25303 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
25305         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
25306         file is not needed.
25308         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
25309         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
25310         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
25311         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
25312         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
25313         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
25314         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
25315         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
25316         Add AVX variants.
25317         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
25318         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
25319         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
25320         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
25321         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
25322         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
25323         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
25324         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
25325         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
25326         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
25327         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
25328         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
25329         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
25330         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
25331         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
25332         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
25333         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
25334         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
25335         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
25337         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
25338         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
25340         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
25341         place.  Use VEX encoding when compiling for AVX.
25343 2011-10-25  Andreas Schwab  <schwab@redhat.com>
25345         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
25346         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
25348         * string/test-strchr.c (do_test): Don't generate NUL bytes.
25350 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
25352         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
25353         useless if() expression.
25354         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
25355         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
25356         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
25357         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
25358         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
25359         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
25360         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
25361         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
25362         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
25363         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
25364         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
25365         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
25366         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
25367         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
25368         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
25369         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
25370         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
25371         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
25372         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
25374         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
25376 2011-10-25  Andreas Schwab  <schwab@redhat.com>
25378         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
25379         condition.
25380         * elf/dl-fini.c (_dl_sort_fini): Likewise.
25382 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
25384         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
25385         .text section.  Avoid duplicate constants.
25386         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
25387         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
25388         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
25389         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
25390         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
25391         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
25392         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
25393         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
25394         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
25395         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
25396         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
25397         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
25398         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
25399         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
25400         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
25401         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
25402         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
25403         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
25404         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
25405         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
25406         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
25407         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
25408         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
25409         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
25410         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
25411         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
25412         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
25413         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
25414         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
25415         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
25416         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
25417         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
25418         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
25419         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
25420         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
25421         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
25422         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
25423         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
25424         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
25425         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
25426         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
25427         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
25428         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
25429         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
25430         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
25432 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
25434         * sysdeps/x86_64/dla.h: Move to ...
25435         * sysdeps/x86_64/fpu/dla.h: ...here.
25436         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
25437         situations.  Use __builtin_fma only for gcc 4.6 and up.
25439         * config.make.in: Add have-mfma4 entry.
25440         * configure.in: Substitute libc_cv_cc_fma4.
25441         * math/Makefile (dbl-only-routines): Add sincostab.
25442         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
25443         Use __sincostab not sincos.
25444         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
25445         name is a macro.
25446         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
25447         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
25448         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
25449         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
25450         using __copysign.
25451         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
25452         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
25453         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
25454         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
25455         and __inv.
25456         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
25457         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
25458         __copysign.
25459         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
25460         define aliases when function name is a macro.
25461         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
25462         sysdeps/ieee754/dbl-64/sincos.tbl.
25463         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
25464         fma4-enabled routines.
25465         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
25466         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
25467         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
25468         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
25469         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
25470         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
25471         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
25472         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
25473         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
25474         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
25475         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
25476         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
25477         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
25478         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
25479         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
25480         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
25481         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
25482         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
25483         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
25484         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
25485         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
25486         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
25487         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
25488         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
25489         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
25490         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
25491         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
25492         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
25493         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
25494         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
25496         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
25497         rename.
25498         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
25499         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
25500         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
25501         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
25502         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
25503         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
25504         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
25505         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
25507 2011-10-24  Andreas Schwab  <schwab@redhat.com>
25509         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
25511 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
25513         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
25515         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
25516         prediction.
25517         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
25519         * string/strnlen.c: Don't define STRNLEN, reverse logic.
25520         Remove unused variable magic_bits.
25521         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
25523         * string/strnlen.c: Define and use STRNLEN macro.
25524         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
25525         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
25526         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
25527         * wcsmbs/wcslen.c: Define and use WCSLEN.
25528         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
25529         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
25530         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
25531         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
25532         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
25533         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
25534         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
25536 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
25538         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
25539         strnlen-sse2-no-bsf.
25540         Rename strlen-no-bsf to strlen-sse2-no-bsf.
25541         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
25542         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
25543         Add strnlen support.
25544         (USE_AS_STRNLEN): New macro.
25545         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
25546         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
25547         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
25548         * sysdeps/x86_64/wcslen.S: New file.
25550 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
25552         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
25553         XMM-moves are used for copying on small sizes.
25555 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
25557         * wcsmbs/Makefile (strop-tests): Add wcschr.
25558         * wcsmbs/test-wcschr.c: New file.
25559         * string/test-strchr.c: Update.
25560         Add wcschr support.
25561         (WIDE): New macro.
25563 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
25565         * wcsmbs/Makefile (strop-tests): Add wcslen.
25566         * wcsmbs/test-wcslen.c: New file.
25567         * string/test-strlen.c: Update.
25568         Add wcslen support.
25569         (WIDE): New macro.
25571 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
25573         * po/it.po: Update from translation team.
25575 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
25577         * sysdeps/x86_64/wcscmp.S: Update.
25578         Fix wrong comparison semantics.
25579         wcscmp shall use signed comparison not unsigned.
25580         Don't use substraction to avoid overflow bug.
25581         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
25582         * wcsmbc/wcscmp.c: Likewise.
25583         * string/test-strcmp.c: Likewise.
25584         Add new tests to check cases with negative values.
25586 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
25588         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
25589         * sysdeps/x86_64/dla.h: ...here.  New file.
25590         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
25591         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
25592         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
25593         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
25594         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
25595         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
25596         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
25597         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
25598         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
25600 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
25602         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
25603         __ynl_finite aliases.
25605 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
25607         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25609         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
25610         define DLA_FMA.
25611         [DLA_FMA] (EMULV): Use DLA_FMA.
25612         [DLA_FMA] (MUL12): Use EMULV.
25613         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
25614         that are not needed.
25615         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
25616         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
25617         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
25618         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
25619         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
25620         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
25621         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
25623 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
25625         * math/s_nan.c: Undef __nan.
25626         * math/s_nanf.c: Undef __nanf.
25627         * math/s_nanl.c: Undef __nanl.
25628         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
25629         "math_private.h".
25631 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
25633         * math/s_catan.c: Add branch predictions.
25634         * math/s_catanf.c: Likewise.
25635         * math/s_catanh.c: Likewise.
25636         * math/s_catanhf.c: Likewise.
25637         * math/s_catanhl.c: Likewise.
25638         * math/s_catanl.c: Likewise.
25639         * math/s_cexp.c: Likewise.
25640         * math/s_cexpf.c: Likewise.
25641         * math/s_cexpl.c: Likewise.
25642         * math/s_clog.c: Likewise.
25643         * math/s_clog10.c: Likewise.
25644         * math/s_clog10f.c: Likewise.
25645         * math/s_clog10l.c: Likewise.
25646         * math/s_clogf.c: Likewise.
25647         * math/s_clogl.c: Likewise.
25648         * math/s_csqrt.c: Likewise.
25649         * math/s_csqrtf.c: Likewise.
25650         * math/s_csqrtl.c: Likewise.
25651         * math/s_ctanf.c: Likewise.
25652         * math/s_ctanh.c: Likewise.
25653         * math/s_ctanhf.c: Likewise.
25654         * math/s_ctanhl.c: Likewise.
25655         * math/s_ctanl.c: Likewise.
25657         * math/math_private.h: Define __nan, __nanf, __nanl.
25658         * math/s_cacosh.c: Include <math_private.h>.
25659         * math/s_cacoshl.c: Likewise.
25660         * math/s_casinh.c: Likewise.
25661         * math/s_casinhf.c: Likewise.
25662         * math/s_casinhl.c: Likewise.
25663         * math/s_ccos.c: Rely entire on ccosh.
25664         * math/s_ccosf.c: Rely entire on ccoshf.
25665         * math/s_ccosl.c: Rely entirely on ccoshl.
25666         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
25667         Remove tests for FE_INVALID.
25668         * math/s_ccoshf.c: Likewise.
25669         * math/s_ccoshl.c: Likewise.
25670         * math/s_csin.c: Likewise.
25671         * math/s_csinf.c: Likewise.
25672         * math/s_csinh.c Likewise.
25673         * math/s_csinhf.c: Likewise.
25674         * math/s_csinhl.c: Likewise.
25675         * math/s_csinl.c: Likewise.
25676         * math/s_ctan.c: Likewise.
25677         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
25678         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
25679         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
25681 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
25683         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
25684         compilation problems.
25686         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
25687         __builtin_expect.
25689 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
25691         * sysdeps/i386/configure.in: Test for -mfma4 option.
25692         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
25693         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
25694         COMMON_CPUID_INDEX_80000001.
25695         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
25696         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
25697         use it if FMA3 is not supported.
25698         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
25700         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
25701         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
25703 2011-10-20  Andreas Schwab  <schwab@redhat.com>
25705         [BZ #12892]
25706         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
25707         it would create a cycle with a link time dependency.
25709 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
25711         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
25712         instruction.
25713         * string/Makefile (strop-tests): Add rawmemchr.
25714         * string/test-rawmemchr.c: New file.
25716         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
25717         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
25718         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
25719         when compiling str{,n}casecmp and when AVX is available.  Hook up
25720         new optimized code in initializers.
25722 2011-10-19  Andreas Schwab  <schwab@redhat.com>
25724         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
25725         __feraiseexcept instead of feraiseexcept.
25727 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
25729         * math/math_private.h: Define defaults for libc_fetestexcept and
25730         libc_feupdateenv.
25731         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
25732         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
25733         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
25734         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
25735         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
25736         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
25737         libc_fetestexcept and libc_feupdateenv.
25739         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
25740         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
25741         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
25742         * sysdeps/x86_64/fpu/math_private.h: Define special version of
25743         libc_feholdexcept_setround.
25745         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
25746         Add s_nearbyint-c and s_nearbyintf-c.
25747         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
25748         nearbyintf inlines.
25749         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
25750         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
25751         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
25752         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
25754         * math/math_private.h: Define defaults for libc_fegetround,
25755         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
25756         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
25757         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
25758         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
25759         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
25760         standard functions.
25761         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
25762         Remove comments and hacks for old compiler versions.
25763         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
25764         libc_fegetround, libc_fesetround, libc_feholdexcept, and
25765         libc_feholdexceptl.
25767 2011-10-18  Andreas Schwab  <schwab@redhat.com>
25769         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
25770         (__feraiseexcept_renamed): Add __NTH.
25771         (feraiseexcept): Add __NTH.  Rename local variables to fix
25772         namespace violations.
25774 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
25776         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
25778         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
25780         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
25781         recently added interfaces.
25782         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
25784         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
25785         about macro parameter expansion.
25787         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
25788         __NO_MATH_INLINES is defined.  Cleanups.
25790         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
25791         and __floorf is target has SSE4.1.
25792         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
25793         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
25794         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
25795         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
25797         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
25798         name.
25799         (floorf): Likewise.
25801         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
25803 2011-10-17  Andreas Schwab  <schwab@redhat.com>
25805         * misc/sys/cdefs.h: Fix last change.
25807         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
25808         database lookup.
25810 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
25812         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
25814         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
25815         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
25816         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
25817         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
25818         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
25819         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
25820         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
25821         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
25822         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
25823         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
25824         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
25825         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
25826         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
25827         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
25828         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
25829         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
25830         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
25831         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
25832         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
25833         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
25834         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
25835         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
25837         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
25838         ceil, ceilf, floor, floorf.
25840         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
25841         Perform IRELATIVE relocations last.
25843         * elf/do-rel.h: Add another parameter nrelative, replacing the
25844         local variable with the same name.  Change name of the function
25845         to end in Rel or Rela (uppercase).
25846         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
25847         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
25848         elf_dynamic_do_##reloc function.
25850 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
25852         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
25853         is sufficient, at least on modern CPUs.
25855         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
25857         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
25858         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
25860         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
25861         __expl_finite.
25862         * math/bits/math-finite.h: Add entries for exp.
25863         * math/e_expl.c: Add __*_finite alias.
25864         * sysdeps/i386/fpu/e_exp.S: Likewise.
25865         * sysdeps/i386/fpu/e_expf.S: Likewise.
25866         * sysdeps/i386/fpu/e_expl.c: Likewise.
25867         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
25868         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
25869         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
25870         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
25871         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
25872         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
25873         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
25875         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
25876         is sufficient, at least on modern CPUs.
25878         * ctype/ctype-info.c (__ctype_init): Define.
25879         * include/ctype.h (__ctype_init): Declare.
25880         (__ctype_b_loc): The variable is always initialized.
25881         (__ctype_toupper_loc): Likewise.
25882         (__ctype_tolower_loc): Likewise.
25883         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
25884         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
25886 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
25888         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
25890         * configure.in: Also look in $cxxmachine/include for C++ system
25891         headers.
25893 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
25895         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
25896         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
25897         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
25898         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
25899         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
25900         (USE_AS_WMEMCMP): New macro.
25901         Fixing indents.
25902         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
25903         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
25904         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
25905         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
25906         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
25907         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
25908         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
25909         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
25910         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
25911         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
25912         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
25913         (USE_AS_WMEMCMP): New macro.
25914         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
25915         * sysdeps/string/test-memcmp.c: Update.
25916         Fix simple_wmemcmp.
25917         Add new tests.
25918         * wcsmbs/wmemcmp.c: Update.
25919         (WMEMCMP): New macro.
25920         Fix overflow bug.
25922 2011-10-12  Andreas Jaeger  <aj@suse.de>
25924         [BZ #13268]
25925         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
25927 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
25929         * libio/iofwide.c (do_length): Avoid warning.
25931         * ctype/ctype.h (__isctype_f): Add missing __THROW.
25933 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
25935         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
25937         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
25938         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
25939         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
25940         * sysdeps/i386/i686/fpu/e_log.S: New file.
25941         * sysdeps/i386/i686/fpu/e_logf.S: New file.
25942         * sysdeps/i386/i686/fpu/e_logl.S: New file.
25944         * ctype/ctype.h: Add support for inlined isXXX functions when
25945         compiling C++ code.
25947 2011-10-14  Andreas Schwab  <schwab@redhat.com>
25949         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
25951         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
25953 2011-10-13  Roland McGrath  <roland@hack.frob.com>
25955         [BZ #13291]
25956         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
25958 2011-10-13  Andreas Schwab  <schwab@redhat.com>
25960         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
25961         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
25962         feraiseexcept.
25964         * sysdeps/x86_64/memrchr.S: Check for zero size.
25966         * string/stratcliff.c: Add memrchr tests.
25968 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
25970         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
25971         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
25972         rawmemchr-sse2 rawmemchr-sse2-bsf.
25973         * sysdeps/i386/i686/multiarch/memchr.S: New file.
25974         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
25975         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
25976         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
25977         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
25978         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
25979         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
25980         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
25981         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
25982         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
25983         * string/memrchr.c (MEMRCHR): New macro.
25985 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
25987         Add integration with gcc's -ffinite-math-only and optimize wrapper
25988         functions in libm.
25989         * Versions.def: Define GLIBC_2.15 version for libm.
25990         * math/Makefile (headers): Add bits/math-finite.h.
25991         * math/bits/math-finite.h: New file.
25992         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
25993         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
25994         * math/e_acoshl.c: Add __*_finite alias.
25995         * math/e_acosl.c: Likewise.
25996         * math/e_asinl.c: Likewise.
25997         * math/e_atan2l.c: Likewise.
25998         * math/e_atanhl.c: Likewise.
25999         * math/e_coshl.c: Likewise.
26000         * math/e_exp10.c: Likewise.
26001         * math/e_exp10f.c: Likewise.
26002         * math/e_exp10l.c: Likewise.
26003         * math/e_exp2l.c: Likewise.
26004         * math/e_fmodl.c: Likewise.
26005         * math/e_gammal_r.c: Likewise.
26006         * math/e_hypotl.c: Likewise.
26007         * math/e_j0l.c: Likewise.
26008         * math/e_j1l.c: Likewise.
26009         * math/e_jnl.c: Likewise.
26010         * math/e_lgammal_r.c: Likewise.
26011         * math/e_log10l.c: Likewise.
26012         * math/e_log2l.c: Likewise.
26013         * math/e_logl.c: Likewise.
26014         * math/e_powl.c: Likewise.
26015         * math/e_sinhl.c: Likewise.
26016         * math/e_sqrtl.c: Likewise.
26017         * math/e_scalb.c: Completely rewritten and optimized.
26018         * math/e_scalbf.c: Likewise.
26019         * math/e_scalbl.c: Likewise.
26020         * math/w_acos.c: Likewise.
26021         * math/w_acosf.c: Likewise.
26022         * math/w_acosl.c: Likewise.
26023         * math/w_acosh.c: Likewise.
26024         * math/w_acoshf.c: Likewise.
26025         * math/w_acoshl.c: Likewise.
26026         * math/w_asin.c: Likewise.
26027         * math/w_asinf.c: Likewise.
26028         * math/w_asinl.c: Likewise.
26029         * math/w_atan2.c: Likewise.
26030         * math/w_atan2f.c: Likewise.
26031         * math/w_atan2l.c: Likewise.
26032         * math/w_atanh.c: Likewise.
26033         * math/w_atanhf.c: Likewise.
26034         * math/w_atanhl.c: Likewise.
26035         * math/w_exp10.c: Likewise.
26036         * math/w_exp10f.c: Likewise.
26037         * math/w_exp10l.c: Likewise.
26038         * math/w_fmod.c: Likewise.
26039         * math/w_fmodf.c: Likewise.
26040         * math/w_fmodl.c: Likewise.
26041         * math/w_j0.c: Likewise.
26042         * math/w_j0f.c: Likewise.
26043         * math/w_j0l.c: Likewise.
26044         * math/w_j1.c: Likewise.
26045         * math/w_j1f.c: Likewise.
26046         * math/w_j1l.c: Likewise.
26047         * math/w_jn.c: Likewise.
26048         * math/w_jnf.c: Likewise.
26049         * math/w_log.c: Likewise.
26050         * math/w_logf.c: Likewise.
26051         * math/w_logl.c: Likewise.
26052         * math/w_log10.c: Likewise.
26053         * math/w_log10f.c: Likewise.
26054         * math/w_log10l.c: Likewise.
26055         * math/w_log2.c: Likewise.
26056         * math/w_log2f.c: Likewise.
26057         * math/w_log2l.c: Likewise.
26058         * math/w_pow.c: Likewise.
26059         * math/w_powf.c: Likewise.
26060         * math/w_powl.c: Likewise.
26061         * math/w_remainder.c: Likewise.
26062         * math/w_remainderf.c: Likewise.
26063         * math/w_remainderl.c: Likewise.
26064         * math/w_scalb.c: Likewise.
26065         * math/w_scalbf.c: Likewise.
26066         * math/w_scalbl.c: Likewise.
26067         * math/w_sqrt.c: Likewise.
26068         * math/w_sqrtf.c: Likewise.
26069         * math/w_sqrtl.c: Likewise.
26070         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
26071         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
26072         used.
26073         * math/math_private.h: Declare __kernel_standard_f.
26074         * math/w_cosh.c: Remove cruft and optimize a bit.
26075         * math/w_coshf.c: Likewise.
26076         * math/w_coshl.c: Likewise.
26077         * math/w_exp2.c: Likewise.
26078         * math/w_exp2f.c: Likewise.
26079         * math/w_exp2l.c: Likewise.
26080         * math/w_hypot.c: Likewise.
26081         * math/w_hypotf.c: Likewise.
26082         * math/w_hypotl.c: Likewise.
26083         * math/w_lgamma.c: Likewise.
26084         * math/w_lgamma_r.c: Likewise.
26085         * math/w_lgammaf.c: Likewise.
26086         * math/w_lgammaf_r.c: Likewise.
26087         * math/w_lgammal.c: Likewise.
26088         * math/w_lgammal_r.c: Likewise.
26089         * math/w_sinh.c: Likewise.
26090         * math/w_sinhf.c: Likewise.
26091         * math/w_sinhl.c: Likewise.
26092         * math/w_tgamma.c: Likewise.
26093         * math/w_tgammaf.c: Likewise.
26094         * math/w_tgammal.c: Likewise.
26095         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
26096         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
26097         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
26098         Minor optimizations.  Pretty printing.  Remove cruft.
26099         * sysdeps/i386/fpu/e_acosf.S: Likewise.
26100         * sysdeps/i386/fpu/e_acosh.S: Likewise.
26101         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
26102         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
26103         * sysdeps/i386/fpu/e_acosl.c: Likewise.
26104         * sysdeps/i386/fpu/e_asin.S: Likewise.
26105         * sysdeps/i386/fpu/e_asinf.S: Likewise.
26106         * sysdeps/i386/fpu/e_atan2.S: Likewise.
26107         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
26108         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
26109         * sysdeps/i386/fpu/e_atanh.S: Likewise.
26110         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
26111         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
26112         * sysdeps/i386/fpu/e_exp10.S: Likewise.
26113         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
26114         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
26115         * sysdeps/i386/fpu/e_exp2.S: Likewise.
26116         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
26117         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
26118         * sysdeps/i386/fpu/e_fmod.S: Likewise.
26119         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
26120         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
26121         * sysdeps/i386/fpu/e_hypot.S: Likewise.
26122         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
26123         * sysdeps/i386/fpu/e_log.S: Likewise.
26124         * sysdeps/i386/fpu/e_log10.S: Likewise.
26125         * sysdeps/i386/fpu/e_log10f.S: Likewise.
26126         * sysdeps/i386/fpu/e_log10l.S: Likewise.
26127         * sysdeps/i386/fpu/e_log2.S: Likewise.
26128         * sysdeps/i386/fpu/e_log2f.S: Likewise.
26129         * sysdeps/i386/fpu/e_log2l.S: Likewise.
26130         * sysdeps/i386/fpu/e_logf.S: Likewise.
26131         * sysdeps/i386/fpu/e_logl.S: Likewise.
26132         * sysdeps/i386/fpu/e_pow.S: Likewise.
26133         * sysdeps/i386/fpu/e_powf.S: Likewise.
26134         * sysdeps/i386/fpu/e_powl.S: Likewise.
26135         * sysdeps/i386/fpu/e_remainder.S: Likewise.
26136         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
26137         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
26138         * sysdeps/i386/fpu/e_scalb.S: Likewise.
26139         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
26140         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
26141         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
26142         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
26143         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
26144         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
26145         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
26146         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
26147         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
26148         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
26149         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
26150         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
26151         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
26152         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
26153         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
26154         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
26155         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
26156         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
26157         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
26158         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
26159         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
26160         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
26161         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
26162         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
26163         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
26164         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
26165         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
26166         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
26167         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
26168         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
26169         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
26170         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
26171         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
26172         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
26173         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
26174         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
26175         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
26176         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
26177         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
26178         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
26179         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
26180         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
26181         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
26182         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
26183         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
26184         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
26185         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
26186         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
26187         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
26188         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
26189         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
26190         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
26191         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
26192         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
26193         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
26194         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
26195         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
26196         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
26197         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
26198         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
26199         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
26200         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
26201         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
26202         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
26203         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
26204         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
26205         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
26206         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
26207         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
26208         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
26209         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
26210         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
26211         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
26212         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
26213         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
26214         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
26215         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
26216         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
26217         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
26218         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
26219         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
26220         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
26221         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
26222         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
26223         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
26224         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
26225         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
26226         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
26227         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
26228         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
26229         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
26230         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
26231         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
26232         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
26233         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
26234         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
26235         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
26236         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
26237         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
26238         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
26239         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
26240         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
26241         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
26242         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
26243         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
26244         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
26245         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
26246         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
26247         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
26248         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
26249         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
26250         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
26251         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
26252         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
26253         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
26254         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
26255         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
26256         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
26257         (__isnanf): Likewise.
26258         (__isinf_ns): Likewise.
26259         (__isinf_nsf): Likewise.
26260         (__finite): Likewise.
26261         (__finitef): Likewise.
26262         (__ieee754_sqrt): Define as macro.
26263         (__ieee754_sqrtf): Define as macro.
26264         (__ieee754_sqrtl): Define as macro.
26265         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
26266         inlined copy.
26267         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
26268         __FINITE_MATH_ONLY__ consistent.
26269         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
26271 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
26273         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
26274         of rawmemchr.
26276         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
26278 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
26280         * po/ja.po: Update from translation team.
26282 2011-10-08  Roland McGrath  <roland@hack.frob.com>
26284         * locale/programs/locarchive.c (prepare_address_space): New function.
26285         (create_archive, enlarge_archive, open_archive): Use it.
26287         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
26288         inside [SHARED], where it is used.
26290         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
26292         * nss/getent.c (netgroup_keys): Remove unused variable.
26293         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
26295 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
26297         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
26298         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
26299         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
26300         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
26301         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
26302         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
26303         * math/Makefile (libm-calls): Add s_isinf_ns.
26304         * math/divtc3.c: Use __isinf_nsl instead of isinf.
26305         * math/multc3.c: Likewise.
26306         * math/s_casin.c: Likewise.
26307         * math/s_casinf.c: Likewise.
26308         * math/s_casinl.c: Likewise.
26309         * math/s_ccos.c: Likewise.
26310         * math/s_ccosf.c: Likewise.
26311         * math/s_ccosl.c: Likewise.
26312         * math/s_ctan.c: Likewise.
26313         * math/s_ctanf.c: Likewise.
26314         * math/s_ctanh.c: Likewise.
26315         * math/s_ctanhf.c: Likewise.
26316         * math/s_ctanhl.c: Likewise.
26317         * math/s_ctanl.c: Likewise.
26318         * math/w_fmod.c: Likewise.
26319         * math/w_fmodf.c: Likewise.
26320         * math/w_fmodl.c: Likewise.
26321         * math/w_remainder.c: Likewise.
26322         * math/w_remainderf.c: Likewise.
26323         * math/w_remainderl.c: Likewise.
26324         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
26325         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
26326         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
26327         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
26328         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
26329         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
26330         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
26331         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
26333         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
26334         of the number.
26335         * stdio-common/printf_fphex.c: Likewise.
26336         * stdio-common/printf_size.c: Likewise.
26338         * math/e_exp10.c: Include math_private.h using <...> not "...".
26339         * math/e_exp10f.c: Likewise.
26340         * math/e_exp10l.c: Likewise.
26341         * math/e_exp2l.c: Likewise.
26342         * math/e_j0l.c: Likewise.
26343         * math/e_j1l.c: Likewise.
26344         * math/e_jnl.c: Likewise.
26345         * math/e_lgammal_r.c: Likewise.
26346         * math/e_rem_pio2l.c: Likewise.
26347         * math/e_scalb.c: Likewise.
26348         * math/e_scalbf.c: Likewise.
26349         * math/e_scalbl.c: Likewise.
26350         * math/k_cosl.c: Likewise.
26351         * math/k_sinl.c: Likewise.
26352         * math/k_tanl.c: Likewise.
26353         * math/s_cacoshf.c: Likewise.
26354         * math/s_catan.c: Likewise.
26355         * math/s_catanf.c: Likewise.
26356         * math/s_catanh.c: Likewise.
26357         * math/s_catanhf.c: Likewise.
26358         * math/s_catanhl.c: Likewise.
26359         * math/s_catanl.c: Likewise.
26360         * math/s_ccosh.c: Likewise.
26361         * math/s_ccoshf.c: Likewise.
26362         * math/s_ccoshl.c: Likewise.
26363         * math/s_cexp.c: Likewise.
26364         * math/s_cexpf.c: Likewise.
26365         * math/s_cexpl.c: Likewise.
26366         * math/s_clog.c: Likewise.
26367         * math/s_clog10.c: Likewise.
26368         * math/s_clog10f.c: Likewise.
26369         * math/s_clog10l.c: Likewise.
26370         * math/s_clogf.c: Likewise.
26371         * math/s_clogl.c: Likewise.
26372         * math/s_csin.c: Likewise.
26373         * math/s_csinf.c: Likewise.
26374         * math/s_csinh.c: Likewise.
26375         * math/s_csinhf.c: Likewise.
26376         * math/s_csinhl.c: Likewise.
26377         * math/s_csinl.c: Likewise.
26378         * math/s_csqrt.c: Likewise.
26379         * math/s_csqrtf.c: Likewise.
26380         * math/s_csqrtl.c: Likewise.
26381         * math/s_ctan.c: Likewise.
26382         * math/s_ctanf.c: Likewise.
26383         * math/s_ctanh.c: Likewise.
26384         * math/s_ctanhf.c: Likewise.
26385         * math/s_ctanhl.c: Likewise.
26386         * math/s_ctanl.c: Likewise.
26387         * math/s_ldexp.c: Likewise.
26388         * math/s_ldexpf.c: Likewise.
26389         * math/s_ldexpl.c: Likewise.
26390         * math/s_significand.c: Likewise.
26391         * math/s_significandf.c: Likewise.
26392         * math/s_significandl.c: Likewise.
26393         * math/w_acos.c: Likewise.
26394         * math/w_acosf.c: Likewise.
26395         * math/w_acosh.c: Likewise.
26396         * math/w_acoshf.c: Likewise.
26397         * math/w_acoshl.c: Likewise.
26398         * math/w_acosl.c: Likewise.
26399         * math/w_asin.c: Likewise.
26400         * math/w_asinf.c: Likewise.
26401         * math/w_asinl.c: Likewise.
26402         * math/w_atan2.c: Likewise.
26403         * math/w_atan2f.c: Likewise.
26404         * math/w_atan2l.c: Likewise.
26405         * math/w_atanh.c: Likewise.
26406         * math/w_atanhf.c: Likewise.
26407         * math/w_atanhl.c: Likewise.
26408         * math/w_cosh.c: Likewise.
26409         * math/w_coshf.c: Likewise.
26410         * math/w_coshl.c: Likewise.
26411         * math/w_dremf.c: Likewise.
26412         * math/w_exp10.c: Likewise.
26413         * math/w_exp10f.c: Likewise.
26414         * math/w_exp10l.c: Likewise.
26415         * math/w_exp2.c: Likewise.
26416         * math/w_exp2f.c: Likewise.
26417         * math/w_fmod.c: Likewise.
26418         * math/w_fmodf.c: Likewise.
26419         * math/w_fmodl.c: Likewise.
26420         * math/w_hypot.c: Likewise.
26421         * math/w_hypotf.c: Likewise.
26422         * math/w_hypotl.c: Likewise.
26423         * math/w_j0.c: Likewise.
26424         * math/w_j0f.c: Likewise.
26425         * math/w_j0l.c: Likewise.
26426         * math/w_j1.c: Likewise.
26427         * math/w_j1f.c: Likewise.
26428         * math/w_j1l.c: Likewise.
26429         * math/w_jn.c: Likewise.
26430         * math/w_jnf.c: Likewise.
26431         * math/w_jnl.c: Likewise.
26432         * math/w_lgamma.c: Likewise.
26433         * math/w_lgamma_r.c: Likewise.
26434         * math/w_lgammaf.c: Likewise.
26435         * math/w_lgammaf_r.c: Likewise.
26436         * math/w_lgammal.c: Likewise.
26437         * math/w_lgammal_r.c: Likewise.
26438         * math/w_log.c: Likewise.
26439         * math/w_log10.c: Likewise.
26440         * math/w_log10f.c: Likewise.
26441         * math/w_log10l.c: Likewise.
26442         * math/w_log2.c: Likewise.
26443         * math/w_log2f.c: Likewise.
26444         * math/w_log2l.c: Likewise.
26445         * math/w_logf.c: Likewise.
26446         * math/w_logl.c: Likewise.
26447         * math/w_pow.c: Likewise.
26448         * math/w_powf.c: Likewise.
26449         * math/w_powl.c: Likewise.
26450         * math/w_remainder.c: Likewise.
26451         * math/w_remainderf.c: Likewise.
26452         * math/w_remainderl.c: Likewise.
26453         * math/w_scalb.c: Likewise.
26454         * math/w_scalbf.c: Likewise.
26455         * math/w_scalbl.c: Likewise.
26456         * math/w_sinh.c: Likewise.
26457         * math/w_sinhf.c: Likewise.
26458         * math/w_sinhl.c: Likewise.
26459         * math/w_sqrt.c: Likewise.
26460         * math/w_sqrtf.c: Likewise.
26461         * math/w_sqrtl.c: Likewise.
26462         * math/w_tgamma.c: Likewise.
26463         * math/w_tgammaf.c: Likewise.
26464         * math/w_tgammal.c: Likewise.
26466         * po/ja.po: Update from translation team.
26468 2011-09-29  Andreas Jaeger  <aj@suse.de>
26470         [BZ #13179]
26471         * sunrpc/netname.c (netname2host): Fix logic.
26473         [BZ #6779]
26474         [BZ #6783]
26475         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
26476         correctly.
26477         * math/w_remainder.c (__remainder): Likewise.
26478         * math/w_remainderf.c (__remainderf): Likewise.
26479         * math/libm-test.inc (remainder_test): Add test cases.
26481 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
26483         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
26484         sdiv_qrnnd.
26486 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
26488         * string/test-memcmp.c: Avoid unncessary #defines.
26489         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
26491 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
26493         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
26494         Use new sse2 version for core i3 - i7 as it's faster
26495         than sse42 version.
26496         (bit_Prefer_PMINUB_for_stringop): New.
26497         * sysdeps/x86_64/rawmemchr.S: Update.
26498         Replace with faster SSE2 version.
26499         * sysdeps/x86_64/memrchr.S: New file.
26500         * sysdeps/x86_64/memchr.S: Update.
26501         Replace with faster SSE2 version.
26503 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
26505         * elf/dl-load.c (lose): Add cast to avoid warning.
26507 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
26509         * po/ca.po: Update from translation team.
26511         * inet/getnetgrent_r.c: Hook up nscd.
26512         * nscd/Makefile (routines): Add nscd_netgroup.
26513         (nscd-modules): Add netgroupcache.
26514         (CFLAGS-netgroupcache.c): Define.
26515         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
26516         (cache_search): Add const to second parameter.
26517         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
26518         INNETGR.
26519         (dbs): Add netgrdb entry.
26520         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
26521         (verify_persistent_db): Handle netgrdb.
26522         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
26523         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
26524         GETFDNETGR.
26525         (netgroup_response_header): Define.
26526         (innetgroup_response_header): Define.
26527         (datahead): Add netgroup_response_header and innetgroup_response_header
26528         elements.
26529         * nscd/nscd.conf: Add entries for netgroup cache.
26530         * nscd/nscd.h (dbtype): Add netgrdb.
26531         (_PATH_NSCD_NETGROUP_DB): Define.
26532         (netgroup_iov_disabled): Declare.
26533         (xmalloc, xcalloc, xrealloc): Move declarations here.
26534         (cache_search): Adjust prototype.
26535         Add netgroup-related prototypes.
26536         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
26537         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
26538         (__nscd_innetgr): Declare.
26539         * nscd/selinux.c (perms): Use access_vector_t as element type and
26540         add netgroup-related initializers.
26541         * nscd/netgroupcache.c: New file.
26542         * nscd/nscd_netgroup.c: New file.
26543         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
26544         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
26545         For four parameters use innetgr.
26546         * nss/nss_files/files-init.c: Add definition and callback for netgr.
26547         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
26548         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
26549         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
26551         * nscd/connections.c (register_traced_file): Don't register file
26552         for disabled databases.
26554 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
26556         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
26558         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
26559         from tree and freeing node.
26561 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
26563         * nss/nsswitch.c (__nss_database_lookup): Handle
26564         nss_parse_service_list out of memory case.
26566 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
26568         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
26569         out of memory case.
26571 2011-10-04  Andreas Schwab  <schwab@redhat.com>
26573         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
26574         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
26575         pass it down.
26576         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
26577         elf_machine_rela, elf_machine_lazy_rel.
26578         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
26579         (ELF_DYNAMIC_DO_REL): Likewise.
26580         (ELF_DYNAMIC_DO_RELA): Likewise.
26581         (ELF_DYNAMIC_RELOCATE): Likewise.
26582         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
26583         to ELF_DYNAMIC_DO_REL.
26584         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
26585         (dl_main): In trace mode always set __RTLD_NOIFUNC.
26586         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
26587         elf_machine_rela.
26588         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
26589         skip_ifunc, don't call ifunc function if non-zero.
26590         (elf_machine_rela): Likewise.
26591         (elf_machine_lazy_rel): Likewise.
26592         (elf_machine_lazy_rela): Likewise.
26593         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
26594         (elf_machine_lazy_rel): Likewise.
26595         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
26596         Likewise.
26597         (elf_machine_lazy_rel): Likewise.
26598         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
26599         Likewise.
26600         (elf_machine_lazy_rel): Likewise.
26601         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
26602         (elf_machine_lazy_rel): Likewise.
26603         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
26604         (elf_machine_lazy_rel): Likewise.
26605         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
26606         (elf_machine_lazy_rel): Likewise.
26607         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
26608         (elf_machine_lazy_rel): Likewise.
26609         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
26610         (elf_machine_lazy_rel): Likewise.
26611         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
26612         (elf_machine_lazy_rel): Likewise.
26614 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
26616         * nss/nss_files/files-init.c (_nss_files_init): Use static
26617         initialization for all the *_traced_file variables.
26619 2011-09-28  Andreas Schwab  <schwab@redhat.com>
26621         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
26623 2011-09-27  Roland McGrath  <roland@hack.frob.com>
26625         [BZ #13226]
26626         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
26628 2011-09-27  Andreas Schwab  <schwab@redhat.com>
26630         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
26631         Reread the line before reparsing it.
26633 2011-09-26  Andreas Schwab  <schwab@redhat.com>
26635         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
26637 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
26638             Maxim Kuvyrkov  <maxim@codesourcery.com>
26639             Joseph Myers  <joseph@codesourcery.com>
26641         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
26642         if needed for __stack_chk_guard.
26644 2011-09-19  Roland McGrath  <roland@hack.frob.com>
26646         * sysdeps/posix/spawni.c (script_execute): Always define it.
26647         It will be optimized away if unused.
26648         (maybe_script_execute): New function.
26649         (__spawni): Call it.
26651         * Makerules: Don't include tls.make.
26652         (config-tls): Always set to thread.
26653         * tls.make.c: File removed.
26655 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
26657         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
26658         * config.make.in (CPPFLAGS-config): New substituted variable.
26660 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
26662         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
26664         [BZ #13192]
26665         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
26666         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
26668 2011-09-15  Roland McGrath  <roland@hack.frob.com>
26670         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
26671         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
26672         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
26673         (CALL_FAIL): Likewise.
26674         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
26675         (CALL_FAIL): Macro removed.
26676         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
26678 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
26680         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
26681         for __FINITE_MATH_ONLY__ == 1.
26683 2011-09-15  Andreas Schwab  <schwab@redhat.com>
26685         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
26686         __ieee754_sqrt instead of sqrt.
26687         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
26688         __ieee754_sqrtf instead of sqrtf.
26689         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
26690         __floorf instead of floorf.
26691         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
26692         __floorf, __truncf instead of floorf, truncf.
26694 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
26696         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
26698         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
26699         __extern_always_inline.
26700         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
26701         32-bit.
26703 2011-09-14  Andreas Schwab  <schwab@redhat.com>
26705         * elf/rtld.c (dl_main): Also relocate in dependency order when
26706         doing symbol dependency testing.
26708 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
26710         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
26711         Always define `refsym'.
26713 2011-09-13  Andreas Schwab  <schwab@redhat.com>
26715         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
26716         (__FD_ELT): Renamed from __FDELT.
26717         * misc/bits/select2.h (__FD_ELT): Likewise.
26718         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
26719         __FD_MASK instead of __FDELT, __FDMASK.
26720         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
26721         Likewise.
26722         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
26723         Likewise.
26725         * elf/Makefile (gen-ldd): Fix pattern.
26727         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
26728         (init_tls): Likewise.
26730 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
26732         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
26734 2011-09-12  Andreas Schwab  <schwab@redhat.com>
26736         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
26737         `struct cmsghdr *' instead of `void *'.
26738         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
26739         Likewise.
26741 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
26743         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
26744         if non-absolute.
26745         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
26746         ldd_rewrite_script.
26748 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
26750         * configure.in: Remove --with-tls option.
26751         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
26752         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
26753         out in case it is missing.
26754         * sysdeps/ia64/elf/configure.in: Likewise.
26755         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
26756         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
26757         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
26758         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
26759         * sysdeps/sh/elf/configure.in: Likewise.
26760         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
26761         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
26762         * sysdeps/x86_64/elf/configure.in: Likewise.
26763         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
26764         * sysdeps/mach/hurd/tls.h: Likewise.
26766         [BZ #13067]
26767         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
26769         [BZ #13090]
26770         * configure.in: Fix use of AC_INIT.
26772         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
26774 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
26776         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
26777         __set_errno.
26778         * malloc/hooks.c: Likewise.
26780         [BZ #11929]
26781         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
26782         variables statically.
26783         (narenas): Initialize.
26784         (list_lock): Initialize.
26785         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
26786         initializtion of main_arena and list_lock.  Small cleanups.
26787         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
26788         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
26789         Add initializers to main_arena and mp_.
26790         (malloc_state): Remove pagesize member.  Change all users to use
26791         GLRO(dl_pagesize).
26793         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
26794         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
26795         is always initialized.
26797         * malloc/malloc.c: Removed unused configurations and dead code.
26798         * malloc/arena.c: Likewise.
26799         * malloc/hooks.c: Likewise.
26800         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
26802         * include/tls.h: Removed.  USE___THREAD must always be defined.
26803         * bits/libc-tsd.h: Don't handle !USE___THREAD.
26804         * elf/dl-libc.c: Likewise.
26805         * elf/dl-tsd.c: Likewise.
26806         * include/errno.h: Likewise.
26807         * include/netdb.h: Likewise.
26808         * include/resolv.h: Likewise.
26809         * inet/herrno-loc.c: Likewise.
26810         * inet/herrno.c: Likewise.
26811         * malloc/arena.c: Likewise.
26812         * malloc/hooks.c: Likewise.
26813         * malloc/malloc.c: Likewise.
26814         * resolv/res-state.c: Likewise.
26815         * resolv/res_libc.c: Likewise.
26816         * sysdeps/i386/dl-machine.h: Likewise.
26817         * sysdeps/ia64/dl-machine.h: Likewise.
26818         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
26819         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
26820         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
26821         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
26822         * sysdeps/sh/dl-machine.h: Likewise.
26823         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
26824         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
26825         * sysdeps/unix/i386/sysdep.S: Likewise.
26826         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
26827         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
26828         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
26829         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
26830         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
26831         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
26832         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
26833         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
26834         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
26835         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
26836         * sysdeps/unix/x86_64/sysdep.S: Likewise.
26837         * sysdeps/x86_64/dl-machine.h: Likewise.
26838         * tls.make.c: Likewise.
26840         * configure.in: Remove --with-__thread option.  Make tests for
26841         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
26842         tls_model attribute fail if no support is available.  Remove
26843         USE_IN_LIBIO.
26844         * Makeconfig: Adjust for dropped configure option.  All features are
26845         now mandatory.
26846         * Makerules: Likewise.
26847         * Versions.def: Likewise.
26848         * argp/argp-fmtstream.c: Likewise.
26849         * argp/argp-fmtstream.h: Likewise.
26850         * argp/argp-help.c: Likewise.
26851         * assert/assert.c: Likewise.
26852         * config.h.in: Likewise.
26853         * config.make.in: Likewise.
26854         * configure: Likewise.
26855         * configure.in: Likewise.
26856         * csu/Versions: Likewise.
26857         * csu/init.c: Likewise.
26858         * elf/tst-audit2.c: Likewise.
26859         * elf/tst-tls10.c: Likewise.
26860         * elf/tst-tls10.h: Likewise.
26861         * elf/tst-tls11.c: Likewise.
26862         * elf/tst-tls12.c: Likewise.
26863         * elf/tst-tls14.c: Likewise.
26864         * elf/tst-tlsmod11.c: Likewise.
26865         * elf/tst-tlsmod12.c: Likewise.
26866         * elf/tst-tlsmod13.c: Likewise.
26867         * elf/tst-tlsmod13a.c: Likewise.
26868         * elf/tst-tlsmod14a.c: Likewise.
26869         * elf/tst-tlsmod15b.c: Likewise.
26870         * elf/tst-tlsmod16a.c: Likewise.
26871         * elf/tst-tlsmod16b.c: Likewise.
26872         * elf/tst-tlsmod7.c: Likewise.
26873         * elf/tst-tlsmod8.c: Likewise.
26874         * elf/tst-tlsmod9.c: Likewise.
26875         * gmon/gmon.c: Likewise.
26876         * grp/fgetgrent_r.c: Likewise.
26877         * grp/putgrent.c: Likewise.
26878         * hurd/fopenport.c: Likewise.
26879         * include/libc-symbols.h: Likewise.
26880         * include/tls.h: Likewise.
26881         * intl/gettextP.h: Likewise.
26882         * intl/loadinfo.h: Likewise.
26883         * locale/global-locale.c: Likewise.
26884         * locale/localeinfo.h: Likewise.
26885         * mach/devstream.c: Likewise.
26886         * malloc/arena.c: Likewise.
26887         * malloc/set-freeres.c: Likewise.
26888         * misc/err.c: Likewise.
26889         * misc/getttyent.c: Likewise.
26890         * misc/mntent_r.c: Likewise.
26891         * posix/getopt.c: Likewise.
26892         * posix/wordexp.c: Likewise.
26893         * pwd/fgetpwent_r.c: Likewise.
26894         * resolv/Versions: Likewise.
26895         * resolv/res_hconf.c: Likewise.
26896         * shadow/fgetspent_r.c: Likewise.
26897         * shadow/putspent.c: Likewise.
26898         * stdio-common/printf_fphex.c: Likewise.
26899         * stdio-common/tmpfile.c: Likewise.
26900         * stdlib/abort.c: Likewise.
26901         * stdlib/fmtmsg.c: Likewise.
26902         * sunrpc/auth_unix.c: Likewise.
26903         * sunrpc/clnt_perr.c: Likewise.
26904         * sunrpc/clnt_tcp.c: Likewise.
26905         * sunrpc/clnt_udp.c: Likewise.
26906         * sunrpc/clnt_unix.c: Likewise.
26907         * sunrpc/openchild.c: Likewise.
26908         * sunrpc/svc_simple.c: Likewise.
26909         * sunrpc/svc_tcp.c: Likewise.
26910         * sunrpc/svc_udp.c: Likewise.
26911         * sunrpc/svc_unix.c: Likewise.
26912         * sunrpc/xdr.c: Likewise.
26913         * sunrpc/xdr_array.c: Likewise.
26914         * sunrpc/xdr_rec.c: Likewise.
26915         * sunrpc/xdr_ref.c: Likewise.
26916         * sunrpc/xdr_stdio.c: Likewise.
26918 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
26920         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
26922 2011-07-03  Andreas Jaeger  <aj@suse.de>
26924         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
26925         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
26926         regenerate with gen-libm-tests.pl.
26928 2010-05-12  Petr Baudis  <pasky@suse.cz>
26930         [BZ #11589]
26931         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
26932         around j0() zero points by switching to j1().
26933         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
26934         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
26935         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
26936         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
26938 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
26940         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
26941         instead of 0.
26942         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
26943         instead of 0.
26944         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
26945         Patch in part by Pavel Roskin <proski@gnu.org>.
26947         [BZ #13138]
26948         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
26949         realloc.
26950         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
26951         Free memory block if necessary.
26953         [BZ #12847]
26954         * libio/genops.c (INTDEF): For string streams the _lock pointer can
26955         be NULL.  Don't lock in this case.
26957 2011-09-09  Roland McGrath  <roland@hack.frob.com>
26959         * elf/elf.h (ELFOSABI_GNU): New macro.
26960         (ELFOSABI_LINUX): Define to that.
26962 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
26964         * string/strncat.c (strncat): Undef the symbol in case it has been
26965         defined in bits/string.h.
26967 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
26969         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
26971         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
26972         link map.
26974 2011-08-17  Andreas Jaeger  <aj@suse.de>
26976         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
26978 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
26979             Ian Lance Taylor  <iant@google.com>
26981         * math/libm-test.inc (lround_test): New testcase.
26982         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
26984 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
26986         * Makefile: Remove support for automatic cvs check-ins.
26987         * Makerules: Likewise.
26988         * config.make.in: Likewise.
26989         * configure.in: Likewise.
26990         * intl/Makefile: Likewise.
26991         * locale/Makefile: Likewise.
26992         * po/Makefile: Likewise.
26993         * posix/Makefile: Likewise.
26994         * sysdeps/gnu/Makefile: Likewise.
26995         * sysdeps/mach/hurd/Makefile: Likewise.
26996         * sysdeps/sparc/sparc32/Makefile: Likewise.
26998         [BZ #13118]
26999         * posix/Makefile (bug-regex32-ENV): Define.
27000         Patch by John Stanley <jpsinthemix@verizon.net>.
27002         * misc/Makefile (headers): Add bits/select2.h.
27003         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
27004         * misc/bits/select2.h: New file.
27005         * include/bits/select2.h: New file.
27006         * debug/Makefile (routines): Add fdelt_chk.
27007         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
27008         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
27009         FD_ISSET.
27010         * debug/fdelt_chk.c: New file.
27012         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
27013         * wcsmbs/test-wmemcmp.c: Likewise.
27014         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
27015         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
27017 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
27019         * string/Makefile (strop-tests): Add memcmp.
27020         * string/test-wmemcmp.c: New file.
27021         * string/test-memcmp.c: Add wmemcmp support.
27023 2011-09-08  Roland McGrath  <roland@hack.frob.com>
27025         [BZ #13153]
27026         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
27027         2011-07-19 change.
27029         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
27030         garbage value in a __mach_port_mod_refs call in the cases of the
27031         task-self and thread-self ports.
27033 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
27035         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
27037 2011-09-08  Andreas Schwab  <schwab@redhat.com>
27039         * elf/dl-load.c (lose): Check for non-null L.
27041 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
27043         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
27045         * elf/dl-libc.c (dlerror_run): Pass back error code from
27046         dl_catch_error.
27048         [BZ #13123]
27049         * elf/dl-load.c (lose): Free l_origin if it is valid.
27051         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
27052         names.
27053         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
27054         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
27055         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
27056         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
27057         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
27058         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
27060 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27062         * sysdeps/powerpc/fpu/e_hypot.c: New file.
27063         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
27064         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
27065         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
27066         * sysdeps/powerpc/fpu/k_cosf.c: New file.
27067         * sysdeps/powerpc/fpu/k_sinf.c: New file.
27068         * sysdeps/powerpc/fpu/s_cosf.c: New file.
27069         * sysdeps/powerpc/fpu/s_sinf.c: New file.
27070         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
27071         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
27073 2011-08-15  Alan Modra  <amodra@gmail.com>
27075         [BZ #13092]
27076         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
27077         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
27078         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
27079         ppc_mcount to static-only-routines.
27080         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
27081         __mcount_internal.
27082         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
27083         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
27085 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
27087         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
27088         for finite and infinity parameters.
27090 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
27092         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
27093         and add nop instructions for throughput optimization.
27094         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
27096 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
27098         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
27099         aligned copy for power7 with vector-scalar instructions.
27100         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
27102 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
27104         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
27105         AVX check.
27107 2011-09-07  Andreas Schwab  <schwab@redhat.com>
27109         [BZ #13144]
27110         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
27111         last change.
27113 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
27115         * sysdeps/unix/sysv/linux/x86_64/init-first.c
27116         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
27117         syscall wrapper around clock_gettime in __vdso_clock_gettime.
27118         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
27119         clock_gettime.
27121 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
27123         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
27124         Forgot to demangle the pointer.
27126         * sysdeps/i386/sysdep.h: Define atom_text_section.
27127         * sysdeps/x86_64/sysdep.h: Likewise.
27128         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
27129         section with atom_text_section.
27130         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
27131         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
27132         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
27133         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
27134         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
27136         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
27137         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
27138         already be defined.  Change to take two parameters and don't assign
27139         result to variable.  Adjust all users.
27140         Define INTERNAL_GETTIME if not already defined.
27141         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
27142         call.
27143         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
27144         HAVE_CLOCK_GETTIME_VSYSCALL.
27145         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
27147         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
27148         gettimeofday vsyscall, just use time.
27150 2011-09-06  Andreas Schwab  <schwab@redhat.com>
27152         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
27153         <errno.h>.
27155 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
27157         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
27158         syscall on x86-64.
27159         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
27160         syscall.
27161         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
27162         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
27163         syscall if possible.
27165 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
27167         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
27168         e_ident.  Don't pass to find_mapsXX.
27169         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
27171 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
27173         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
27174         strchr-sse2-no-bsf strrchr-sse2-no-bsf
27175         * sysdeps/x86_64/multiarch/strchr.S: Update.
27176         Check bit_slow_BSF bit.
27177         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
27178         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
27179         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
27181 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
27183         [BZ #13134]
27184         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
27185         before glibc 2.15.
27186         (tryshell): Define.
27187         (__spawni): Change last parameter to be flag.  Test
27188         SPAWN_XFLAGS_USE_PATH flag to use path or not.
27189         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
27190         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
27191         * posix/spawni.c: Likewise.
27192         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
27193         * posix/spawnp.c: Likewise.  Change normal version to use
27194         SPAWN_XFLAGS_USE_PATH.
27195         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
27196         SPAWN_XFLAGS_TRY_SHELL.
27198         [BZ #13150]
27199         * posix/glob.h: Remove gcc 1.x support.
27201         [BZ #13068]
27202         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
27204 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
27206         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
27207         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
27208         strrchr-sse2-bsf
27209         * sysdeps/i386/i686/multiarch/strchr.S: New file.
27210         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
27211         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
27212         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
27213         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
27214         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
27216 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
27218         * sysdeps/x86_64/wcscmp.S: New file.
27220         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
27221         wcscmp-c wcscmp-sse2
27222         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
27223         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
27224         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
27225         * wcsmbs/wcscmp.c: Allow renaming.
27227 2011-09-05  David S. Miller  <davem@davemloft.net>
27229         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
27230         stack slot, rather than the struct return pointer slot.
27231         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
27232         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
27233         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
27234         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
27236 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
27238         * po/ja.po: Update from translation team.
27240         [BZ #13144]
27241         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
27242         kernel in 64-bit binaries.
27244 2011-09-01  David S. Miller  <davem@davemloft.net>
27246         * elf/elf.h (HWCAP_SPARC_*): Move to..
27247         * sysdeps/sparc/sysdep.h: this new file and add new values.
27248         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
27249         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
27250         _DL_HWCAP_COUNT to 24.
27251         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
27252         entries.
27253         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
27254         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
27255         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
27256         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
27257         instead of magic constants.
27258         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
27260 2011-08-31  David S. Miller  <davem@davemloft.net>
27262         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
27263         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
27264         Reimplement to do errno handling inline.
27265         (SYSCALL_ERROR_HANDLER): New macro.
27266         (__SYSCALL_STRING): Do not do errno handling in asm.
27267         (__CLONE_SYSCALL_STRING): Delete.
27268         (__INTERNAL_SYSCALL_STRING): Delete.
27269         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
27270         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
27271         (PSEUDO): Reimplement to do errno handling inline.
27272         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
27273         (SYSCALL_ERROR_HANDLER): New macro.
27274         (__SYSCALL_STRING): Do not do errno handling in asm.
27275         (__CLONE_SYSCALL_STRING): Delete.
27276         (__INTERNAL_SYSCALL_STRING): Delete.
27277         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
27278         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
27279         i386.
27280         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
27281         (inline_syscall*): Add 'err' argument.
27282         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
27283         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
27284         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
27285         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
27287         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
27288         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
27290 2011-08-30  Andreas Schwab  <schwab@redhat.com>
27292         * elf/rtld.c (dl_main): Relocate objects in dependency order.
27294 2011-08-29  Jiri Olsa <jolsa@redhat.com>
27296         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
27297         directive.
27299 2011-08-24  David S. Miller  <davem@davemloft.net>
27301         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
27303 2011-08-24  Andreas Schwab  <schwab@redhat.com>
27305         * elf/Makefile: Add rules to build and run unload8 test.
27306         * elf/unload8.c: New file.
27307         * elf/unload8mod1.c: New file.
27308         * elf/unload8mod1x.c: New file.
27309         * elf/unload8mod2.c: New file.
27310         * elf/unload8mod3.c: New file.
27312         * elf/dl-close.c (_dl_close_worker): Reset private search list if
27313         it wasn't used.
27315 2011-08-23  David S. Miller  <davem@davemloft.net>
27317         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
27318         subtract stack bias.
27319         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
27320         %sp not %fp in calculations.
27321         (_JMPBUF_UNWINDS_ADJ): Likewise.
27323         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
27324         (aio_suspend): Call it to force an exception region around the
27325         AIO_MISC_WAIT() invocation.
27327 2011-08-23  Andreas Schwab  <schwab@redhat.com>
27329         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
27330         backslash.
27332 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
27334         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
27335         protection macro.
27336         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
27337         and <dl-machine.h>.
27338         (Elf64_FuncDesc): Remove.
27340 2011-08-22  David S. Miller  <davem@davemloft.net>
27342         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
27343         sigaltstack check, add missing cfi directives.
27344         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
27345         missing cfi directives, and sigaltstack handling.
27347 2011-08-16  Andreas Schwab  <schwab@redhat.com>
27349         [BZ #11724]
27350         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
27351         object is seen twice.
27352         * elf/dl-fini.c (_dl_sort_fini): Likewise.
27354         * elf/Makefile (distribute): Add tst-initorder2.c.
27355         (tests): Add tst-initorder2.
27356         (modules-names): Add tst-initorder2a tst-initorder2b
27357         tst-initorder2c tst-initorder2d.  Add rules to build them.
27358         ($(objpfx)tst-initorder2.out): New rule.
27359         * elf/tst-initorder2.c: New file.
27360         * elf/tst-initorder2.exp: New file.
27362 2011-08-22  Andreas Schwab  <schwab@redhat.com>
27364         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
27366         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
27367         dependencies back to end of function.
27369         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
27370         $(elfobjdir)/ld.so.
27372 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
27374         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
27375         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
27376         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
27377         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
27378         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
27379         of __vdso_gettimeofday.
27380         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
27381         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
27382         attribute_hidden.
27383         (_libc_vdso_platform_setup): Remove initialization of
27384         __vdso_gettimeofday and __vdso_time.
27386 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
27388         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
27389         and fgetc_unlocked.
27390         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
27391         getc_unlocked.
27393         * elf/dl-open.c (add_to_global): Report additions to the global scope
27394         for LD_DEBUG=scopes.
27395         (dl_open_worker): Also print scope of newly loaded dependencies.
27396         (_dl_show_scope): Indicate if there is no scope.
27398         [BZ #13114]
27399         * stdio-common/Makefile (tests): Add bug24.
27400         * stdio-common/bug24.c: New file.
27402 2011-08-19  Andreas Jaeger  <aj@suse.de>
27404         [BZ #13114]
27405         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
27406         non-existant file when using close-on-exec mode.
27408 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
27410         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
27411         the very first instruction.
27413         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
27414         the CFI state in the end.
27415         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
27416         inclusion of dl-trampoline.h.
27417         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
27419 2011-08-19  Andreas Schwab  <schwab@redhat.com>
27421         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
27422         expectations for long double.
27424         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
27425         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
27427 2011-08-14  David S. Miller  <davem@davemloft.net>
27429         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
27430         artificual limit depends upon the system page size.
27432 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
27434         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
27435         * resolv/Makefile: Define CFLAGS-libresolv.
27437 2011-08-17  Andreas Schwab  <schwab@redhat.com>
27439         * nss/makedb.c (compute_tables): Make variables used in nested
27440         function static.
27442 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
27444         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
27445         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
27446         if buffer was too small.
27448         * elf/pldd.c (main): Attach to all threads in the process.
27449         Rewrite /proc handling to use *at functions.
27451 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
27453         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
27454         specifies first scope to show.
27455         (dl_open_worker): Update callers.  Move printing scope of new
27456         object to before the relocation.
27457         * elf/rtld.c (dl_main): Update _dl_show_scope call.
27458         * sysdeps/generic/ldsodefs.h: Update declaration.
27460         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
27461         string for the scope number.
27463 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
27465         * nscd/servicescache.c (cache_addserv): Make sure written is always
27466         initialized.
27468 2011-08-14  Roland McGrath  <roland@hack.frob.com>
27470         * sysdeps/i386/i486/bits/atomic.h
27471         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
27472         statement expression, so as to suppress "set but not used" warning.
27473         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
27475         * string/strncat.c (STRNCAT): Use prototype definition.
27477         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
27478         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
27479         -Iprograms here.
27480         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
27481         (localedef-modules): Add localedef.
27482         (locale-modules): Add locale.
27484         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
27485         * elf/rtld.c (dl_main): Invert order of assignment in last change,
27486         to avoid a warning.
27488 2011-08-14  David S. Miller  <davem@davemloft.net>
27490         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
27491         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
27493 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
27495         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
27496         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
27497         * elf/rtld.c (dl_main): Set l_name of vDSO.
27498         Call _dl_show_scope when DL_DEBUG_SCOPES.
27499         (process_dl_debug): Recognize scopes flag and also set it for all.
27500         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
27501         Declare _dl_show_scope.
27503         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
27504         (do_dlopen): Pass caller_dlopen to dl_open.
27505         (__libc_dlopen_mode): Initialize caller_dlopen.
27507         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
27508         of libc.  Make tolower call locale-independent.  Optimize a bit by
27509         using isdigit instead of isalnum.
27510         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
27512 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
27514         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
27515         was a dependency or dynamically loaded.
27517 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
27519         * intl/l10nflist.c: Allow architecture-specific pop function.
27520         * sysdeps/x86_64/l10nflist.c: New file.
27522         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
27523         classification.
27525 2011-08-10  Andreas Schwab  <schwab@redhat.com>
27527         * include/dirent.h: Add libc_hidden_proto for scandirat and
27528         scandirat64.  Don't declare __scandirat64.
27529         * dirent/scandirat.c: Add libc_hidden_def.
27530         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
27531         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
27533 2011-08-10  David S. Miller  <davem@davemloft.net>
27535         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
27536         enum.
27537         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
27538         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
27539         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
27541 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
27543         * Versions.def [libc]: Add GLIBC_2.15.
27544         * dirent/Makefile (routines): Add scandirat and scandirat64.
27545         * dirent/Versions [libc]: Export scandirat and scandirat64 for
27546         GLIBC_2.15.
27547         * dirent/dirent.h: Declare scandirat and scandirat64.
27548         * dirent/scandirat.c: New file.
27549         * dirent/scandirat64.c: New file.
27550         * sysdeps/wordsize-64/scandirat.c: New file.
27551         * sysdeps/wordsize-64/scandirat64.c: New file.
27552         * dirent/opendir.c: Define opendirat.
27553         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
27554         using scandirat.
27555         * dirent/scandir64.c: Adjust for scandir.c change.
27556         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
27557         __scandirat64, and __scandir_cancel_handler.
27558         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
27559         additional parameter and use openat instead of open (outside of ld.so).
27560         Add new __opendir as wrapper around __opendirat.
27561         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
27562         here without requiring old scandirat implementation.
27564 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
27566         * dirent/scandir.c (cancel_handler): Renamed to
27567         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
27568         defined.  Adjust users.
27569         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
27570         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
27572 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
27574         * string/test-string.h (IMPL): Use __STRING to expand name and then
27575         stringify it.
27577         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
27578         of cleanups.
27580 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
27582         * string/Makefile: Update.
27583         (strop-tests): Append strncat.
27584         * string/test-wcscmp.c: New file.
27585         New comprehensive test for wcscmp.
27586         * string/test-strcmp.c: Update.
27587         (WIDE): New define.
27589 2011-07-22  Andreas Schwab  <schwab@redhat.com>
27591         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
27592         line.
27594 2011-07-26  Andreas Schwab  <schwab@redhat.com>
27596         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
27597         encoding to ACE if AI_IDN.
27599 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
27601         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
27602         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
27604 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
27606         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
27607         Fix overflow bug in strncat.
27608         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
27610         * string/test-strncat.c: Update.
27611         Add new tests for checking overflow bugs.
27613 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
27615         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
27616         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
27617         * sysdeps/i386/i686/multiarch/strcat.S: New file.
27618         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
27619         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
27620         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
27621         * sysdeps/i386/i686/multiarch/strncat.S: New file.
27622         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
27623         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
27625         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
27626         (USE_AS_STRCAT): Define.
27627         Add strcat and strncat support.
27628         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
27630 2011-07-25  Andreas Schwab  <schwab@redhat.com>
27632         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
27633         __n bigger than INT_MAX+1.
27634         (__strncmp_g): Likewise.
27636 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
27638         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
27639         * libio/stido.h: Likewise.
27641         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
27642         (AF_NFC): Define.
27643         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
27644         (AF_NFC): Define.
27646         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
27647         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
27648         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
27649         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
27650         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
27652         [BZ #13021]
27653         * scripts/test-installation.pl: Don't expect libnss_test1 to be
27654         installed.
27656         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
27657         typo.
27658         (_dl_x86_64_save_sse): Likewise.
27660 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
27662         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
27663         OSXSAVE.
27664         (_dl_x86_64_save_sse): Likewise.
27666         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
27668         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
27670 2011-07-21  Andreas Schwab  <schwab@redhat.com>
27672         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
27673         change.
27674         (_dl_x86_64_save_sse): Use correct AVX check.
27676 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
27678         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
27679         bug in strncpy/strncat.
27680         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
27682 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
27684         * string/tester.c (test_strcat): Add tests for different alignments
27685         of source and destination.
27686         (test_strncat): Likewise.
27688 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
27690         [BZ #12852]
27691         * posix/glob.c (glob): Check passed in values before using them in
27692         expressions to avoid some overflows.
27693         (glob_in_dir): Likewise.
27695         [BZ #13007]
27696         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
27697         check for AVX enablement so that we don't crash with old kernels and
27698         new hardware.
27699         * elf/tst-audit4.c: Add same checks here.
27700         * elf/tst-audit6.c: Likewise.
27702         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
27704 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
27706         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
27708 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
27710         * po/cs.po: Update from translation team.
27711         * po/bg.po: Likewise.
27713 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
27715         * misc/sys/cdefs.h: Add support for const attribute.
27716         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
27717         to gnu_dev_{major,minor,makedev} functions.
27719 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
27721         * intl/dcigettext.c (get_output_charset): Add missing bracket.
27723 2011-07-20  Andreas Schwab  <schwab@redhat.com>
27725         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
27726         strlen results.
27728 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
27730         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
27731         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
27732         register in order to avoid conflicts with the soft frame pointer
27733         being held in r11 when necessary.
27734         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
27735         (INTERNAL_VSYSCALL_NCS): Likewise.
27737 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
27739         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
27740         * elf/dl-fini.c (_dl_fini): Adjust caller.
27741         * elf/dl-close.c (_dl_close_worker): Likewise.
27742         * sysdeps/generic/ldsodefs.h: Adjust declaration.
27744 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
27746         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
27747         "aux_cache->nlibs < 0".
27749         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
27750         in the reload-count case.
27752 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
27754         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
27755         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
27756         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
27757         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
27758         * sysdeps/x86_64/multiarch/strcat.S: New file.
27759         * sysdeps/x86_64/multiarch/strncat.S: New file.
27760         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
27761         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
27762         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
27763         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
27764         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
27765         (USE_AS_STRCAT): Define.
27766         Add strcat and strncat support.
27767         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
27768         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
27769         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
27770         * string/strncat.c: Update.
27771         (USE_AS_STRNCAT): Define.
27772         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
27773         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
27774         and i7.
27775         * sysdeps/x86_64/multiarch/init-arch.h
27776         (bit_Prefer_PMINUB_for_stringop): New.
27777         (index_Prefer_PMINUB_for_stringop): Likewise.
27778         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
27779         bit_Prefer_PMINUB_for_stringop.
27781 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
27783         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
27784         buffer64.
27785         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
27786         of casting of buffer.
27787         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
27788         buffer32 and buffer64.
27789         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
27790         writes instead of casting of buffer.
27791         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
27792         buffer32.
27793         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
27794         casting of buffer.
27796 2011-07-19  Andreas Schwab  <schwab@redhat.com>
27798         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
27800 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
27802         * nscd/nscd.c (termination_handler): Don't do anything for a database
27803         if it has not yet been initialized.
27805 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
27807         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
27809 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
27811         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
27813 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
27815         * po/nl.po: Update from translation team.
27816         * po/sv.po: Likewise.
27818 2011-07-16  Roland McGrath  <roland@hack.frob.com>
27820         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
27821         now disallowed by GCC.
27823         * configure.in (use-default-link): Default to yes if a test -shared
27824         link meets our qualifications.
27825         * configure: Regenerated.
27827         * config.make.in (output-format): New variable.
27828         * configure.in: Check for ld --print-output-format support.
27829         * configure: Regenerated.
27830         * Makerules ($(common-objpfx)format.lds)
27831         [$(output-format) != unknown]: Just use $(output-format),
27832         instead of the linker-script munging.
27834 2011-07-14  Roland McGrath  <roland@hack.frob.com>
27836         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
27837         of $(common-objpfx)shlib.lds.
27838         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
27840         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
27841         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
27843         * configure.in (-z relro check): Adjust test code to add a large
27844         writable data section after it.
27845         * configure: Regenerated.
27847 2011-07-11  Roland McGrath  <roland@hack.frob.com>
27849         * configure.in (-z relro check): Fix test code to make the variable
27850         truly const.
27851         * configure: Regenerated.
27853 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
27855         * nscd/nscd.h (struct traced_file): Define.
27856         (struct database_dyn): Remove inotify_descr, reset_res, and filename
27857         elements.  Add traced_files.
27858         (inotify_fd): Declare.
27859         (register_traced_file): Declare.
27860         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
27861         (inotify_fd): Export.
27862         (resolv_conf_descr): Remove.
27863         (nscd_init): Move inotify descriptor creation to main.
27864         Don't register files for notification here.
27865         (register_traced_file): New function.
27866         (invalidate_cache): Don't use reset_res to determine whether to call
27867         res_init, go through the list of registered files.
27868         (main_loop_poll): The inotify descriptors are now stored in the
27869         structures for the traced files.
27870         (main_loop_epoll): Likewise
27871         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
27872         to __nss_disable_nscd.
27873         * nscd/cache.c (prune_cache): There is no single inotify descriptor
27874         for a database anymore.  Check the records for all the registered
27875         files instead.
27876         * nss/Makefile (libnss_files-routines): Add files-init.
27877         (libnss_db-routines): Add db-init.
27878         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
27879         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
27880         * nss/nss_db/db-init.c: New file.
27881         * nss/nss_files/files-init.c: New file.
27882         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
27883         __nss_lookup_function.
27884         (__nss_lookup_function): Call nss_load_library.
27885         (nss_load_all_libraries): New function.
27886         (__nss_disable_nscd): Take parameter with callback function for files
27887         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
27888         used for the cached services.
27889         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
27890         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
27891         options for features to all the files in nscd.
27893         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
27895 2011-07-10  Roland McGrath  <roland@hack.frob.com>
27897         * csu/elf-init.c (__libc_csu_init): Comment typo.
27899 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
27901         * po/pl.po: Update from translation team.
27902         * po/ja.po: Likewise.
27903         * po/ru.po: Likewise.
27904         * po/ko.po: Likewise.
27905         * po/fr.po: Likewise.
27907 2011-07-09  Roland McGrath  <roland@hack.frob.com>
27909         * configure.in (.ctors/.dtors header and trailer check):
27910         Use an empirical test on a built program.
27911         * configure: Regenerated.
27913         * configure.in (-z relro check): Use an empirical test on a built DSO.
27914         Detect, but do not require, on ia64.
27915         * configure: Regenerated.
27917         * configure.in (READELF): Find it with AC_CHECK_TOOL.
27918         Update tests that use readelf to use $READELF instead.
27919         * configure: Regenerated.
27921 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
27923         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
27924         if the result is not used.
27926 2011-07-05  Andreas Jaeger  <aj@suse.de>
27928         [BZ#9696]
27929         * stdlib/tst-strtod.c: Add testcase.
27931 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
27933         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
27934         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
27935         The latter has a higher limit.  Take additional parameter to pass to
27936         the new function.
27937         (__pathconf): Pass file to __statfs_link_max.
27938         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
27939         __statfs_link_max.
27940         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
27941         __statfs_link_max.
27943         [BZ #12868]
27944         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
27945         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
27946         Handle Lustre.
27947         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
27948         (__statfs_filesize_max): Likewise.
27949         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
27951 2011-07-05  Andreas Jaeger  <aj@suse.de>
27953         * resolv/res_comp.c (dn_skipname): Remove unused variable.
27955 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
27957         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
27958         `status' variable.
27959         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
27960         Likewise.
27962 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
27964         * Makefile (strop-tests): Add strncat.
27965         * string/test-strncat.c: New file.
27967 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
27969         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
27971 2011-06-21  Andreas Jaeger  <aj@suse.de>
27973         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
27974         Copy rule from iconvdata/Makefile.
27976 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
27978         [BZ #12922]
27979         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
27980         but no long options are defined, just return 'W'.
27982 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
27984         [BZ #9696]
27985         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
27987 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
27989         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
27990         netgroups to read.
27991         (innetgr): Likewise.
27993 2011-07-05  Roland McGrath  <roland@hack.frob.com>
27995         * config.make.in (install_root): Default to $(DESTDIR).
27997 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
27999         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
28001 2011-07-02  Roland McGrath  <roland@hack.frob.com>
28003         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
28005         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
28006         containing directory rather than embedding absolute directory names.
28008         * scripts/check-local-headers.sh: Rewritten using awk.
28009         Match by word, not by line.  Print error messages for matches.
28010         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
28012         * Makerules [shlib-lds-flags empty]:
28013         ($(common-objpfx)libc_pic.opts): New target.
28014         ($(common-objpfx)libc_pic.os.clean): New target.
28015         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
28017         * config.make.in (OBJCOPY): New variable.
28018         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
28019         * configure: Regenerated.
28021         * config.make.in (use-default-link): New variable.
28022         * configure.in (use_default_link): Grok --with-default-link to set it.
28023         * configure: Regenerated.
28024         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
28025         (shlib-lds, shlib-lds-flags): Define to empty.
28027         * Makerules (shlib-lds): New variable.
28028         (shlib-lds-flags): New variable.
28029         (build-shlib, build-moduile, build-module-asneeded): Use it.
28030         ($(common-objpfx)libc.so): Use $(shlib-lds).
28031         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
28032         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
28034         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
28035         DT_FLAGS/DT_FLAGS_1 with zero flags.
28037         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
28038         linker script munging.
28040 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
28042         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
28043         as 128-bit value.
28044         * crypt/sha512.c (sha512_process_block): Perform total addition using
28045         128-bit if possible.
28046         (__sha512_finish_ctx): Likewise.
28047         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
28048         as 64-bit value.
28049         * crypt/sha256.c (SWAP64): Define.
28050         (sha256_process_block): Perform total addition using 64-bit if
28051         possible.
28052         (__sha256_finish_ctx): Likewise.
28054 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
28056         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
28057         * nscd/initgrcache.c (addinitgroupsX): Likewise.
28058         * nscd/hstcache.c (cache_addhst): Likewise.
28059         * nscd/grpcache.c (cache_addgr): Likewise.
28060         * nscd/aicache.c (addhstaiX): Likewise
28061         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
28063 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
28065         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
28066         * nscd/initgrcache.c (addinitgroupsX): Likewise.
28067         * nscd/hstcache.c (cache_addhst): Likewise.
28068         * nscd/grpcache.c (cache_addgr): Likewise.
28069         * nscd/aicache.c (addhstaiX): Likewise
28071 2011-07-01  Andreas Schwab  <schwab@redhat.com>
28073         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
28074         domain only when needed.
28076 2011-06-30  Andreas Schwab  <schwab@redhat.com>
28078         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
28079         is always restored.
28081 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
28083         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
28084         are re-adding the entry.
28085         * nscd/servicescache.c (cache_addserv): Likewise.
28087 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
28089         * sysdeps/generic/dl-irel.h: fix protection against multiple
28090         inclusions.
28091         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
28093 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
28095         [BZ #12935]
28096         * malloc/memusage.sh: Fix quoting in message.
28097         * debug/xtrace.sh: Likewise.
28099         * configure.in: Remove support for --experimental-malloc option, make
28100         it the default.
28101         * config.make.in: Likewise.
28102         * malloc/Makefile: Likewise.
28104 2011-06-27  Andreas Schwab  <schwab@redhat.com>
28106         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
28107         two-byte characters.
28109 2011-06-27  Roland McGrath  <roland@hack.frob.com>
28111         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
28112         AC_CACHE_CHECK invocation.
28113         * configure: Regenerated.
28115         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
28117 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
28119         [BZ #12350]
28120         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
28121         bit from old_res_options.
28123         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
28125         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
28126         value type for setfct.
28128 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
28130         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
28131         __gettimeofday instead of gettimeofday.
28133 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
28135         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
28137 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
28139         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
28141         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
28142         info.
28144 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
28146         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
28147         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
28148         strcpy-sse2-unaligned strncpy-sse2-unaligned
28149         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
28150         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
28151         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
28152         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
28153         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
28154         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
28155         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
28156         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
28157         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
28158         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
28159         (STRCPY): Support SSE2 and SSSE3 versions.
28161 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
28163         [BZ #12874]
28164         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
28165         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
28166         kernels which artificially limit size of requests.
28168 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
28170         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
28171         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
28172         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
28173         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
28174         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
28175         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
28176         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
28177         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
28178         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
28179         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
28180         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
28181         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
28182         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
28183         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
28184         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
28185         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
28186         Enable unaligned load optimization for Intel Core i3, i5 and i7
28187         processors.
28188         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
28189         Define.
28190         (index_Fast_Unaligned_Load): Define.
28191         (HAS_FAST_UNALIGNED_LOAD): Define.
28193 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
28195         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
28197 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
28199         [BZ #12907]
28200         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
28201         until it is clear that the information is realy needed.
28202         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
28204 2011-06-22  Andreas Schwab  <schwab@redhat.com>
28206         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
28208 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
28210         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
28211         /sys/devices/system/cpu/online if it is usable.
28213         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
28214         reading the information from the /proc filesystem to once a second.
28216 2011-06-21  Andreas Jaeger  <aj@suse.de>
28218         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
28219         NULL after inclusion of kernel headers.
28221 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
28223         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
28224         calls to internal_setent.
28226         [BZ #12885]
28227         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
28228         addresses using gethostbyname4_r ignore IPv4 addresses.
28230         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
28231         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
28233         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
28235 2011-06-20  David S. Miller  <davem@davemloft.net>
28237         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
28238         inclusions.
28239         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
28241         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
28242         (elf_irel): Use it.
28243         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
28244         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
28245         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
28246         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
28247         * sysdeps/x86_64/dl-irel.h: Likewise.
28249         * elf/dl-runtime.c: Use elf_ifunc_invoke.
28250         * elf/dl-sym.c: Likewise.
28252 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
28254         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
28255         need to dereference resplen2.
28257 2011-06-14  Andreas Schwab  <schwab@redhat.com>
28259         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
28261 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
28263         * Makeconfig: Define vardbdir and inst_vardbdir.
28264         * nss/Makefile: Add rules to install db-Makefile.
28266         * nss/nss_db/db-XXX.c: Cleanup.
28268         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
28269         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
28270         GLIBC_PRIVATE.
28271         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
28272         * nss/makedb.c: Implement -g option to specify that value strings
28273         are generated and should not be added to table iterated over for
28274         get*ent calls.
28275         * nss/nss_db/db-initgroups.c: New file.
28277         * nss/getent.c: Add support for initgroups lookups through getgrouplist
28278         interface.
28280         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
28281         (internal_getgrouplist): Adjust to name change.
28282         Update use_initgroups_entry if this is not the first call.
28283         * nss/databases.def: Add initgroups entry.
28285         * nss/makedb.c (compute_tables): Check result of multiple hash table
28286         sizes to minimize maximum chain length.
28288 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
28290         * Versions.def: Add entry for libnss_db.
28291         * shlib-versions: Likewise.
28292         * nss/Makefile: Add rules to build libnss_db.
28293         * nss/Versions: Add libnss_db information.  Organize libnss_files
28294         entries better.
28295         * nss/db-Makefile: Add gshadow support.  Change rules for the new
28296         makedb progra.  Some minor improvements to generate smaller files.
28297         * nss/nss_db/nss_db.h: Move NSS database header data structures to
28298         here from...
28299         * nss/makedb.c: ...here.
28300         Improve database format to be smaller and require less memory at
28301         runtime.
28302         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
28303         db anymore.
28304         * nss/nss_db/db-netgrp.c: Likewise.
28305         * nss/nss_db/db-open.c: Likewise.
28306         * nss/nss_files/flies-XXX.x: Adjust comments.
28307         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
28308         * nss/nss_files/files-grp.c: Likewise.
28309         * nss/nss_files/files-hosts.c: Likewise.
28310         * nss/nss_files/files-network.c: Likewise.
28311         * nss/nss_files/files-proto.c: Likewise.
28312         * nss/nss_files/files-pwd.c: Likewise.
28313         * nss/nss_files/files-rpc.c: Likewise.
28314         * nss/nss_files/files-service.c: Likewise.
28315         * nss/nss_files/files-sgrp.c: Likewise.
28316         * nss/nss_files/files-spwd.c: Likewise.
28317         * nss/nss_db/db-alias.c: Removed.
28318         * nss/nss_db/dummy-db.h: Removed.
28320 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
28322         * nss/makedb.c: Rewritten to not use database library.
28323         * nss/Makefile: Update to build new makedb program.
28325 2011-06-14  Andreas Jaeger  <aj@suse.de>
28327         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
28328         memset declaration.
28330 2011-06-10  Andreas Schwab  <schwab@redhat.com>
28332         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
28333         tmpbuf.
28335 2011-06-10  Roland McGrath  <roland@hack.frob.com>
28337         * Makerules (shlib.lds): Fail if the linker script comes out empty.
28338         * elf/Makefile ($(objpfx)ld.so): Likewise.
28340         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
28341         Don't list ld.so twice in dependencies.
28343         * posix/bug-regex31.c: Include <stdlib.h>.
28345         * nscd/hstcache.c (cache_addhst): Remove unused variable.
28347         * nis/nss_compat/compat-spwd.c
28348         (getspent_next_nss_netgr): Remove unused variable.
28349         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
28351         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
28352         nonmembers" output to use the right array.
28354         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
28356         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
28358         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
28359         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
28360         * catgets/gencat.c (read_input_file): Likewise.
28361         * locale/programs/locarchive.c (enlarge_archive): Likewise.
28363         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
28364         variable definition inside #if's controlling its use.
28366         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
28368         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
28370         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
28372         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
28373         unreachable code.
28375         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
28377         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
28378         * configure: Regenerated.
28380         * Makerules: Revert last change.
28381         * elf/Makefile: Likewise.
28383 2011-06-09  Roland McGrath  <roland@hack.frob.com>
28385         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
28386         * elf/Makefile ($(objpfx)librtld.os): Likewise.
28387         (reloc-link): Likewise.
28389 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
28391         * elf/Makefile: Add rules to build pldd.
28392         * elf/pldd.c: New file.
28393         * elf/pldd-xx.c: New file.
28395 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
28397         * version.h: Update for 2.15 development version.
28399 2011-06-07  David S. Miller  <davem@davemloft.net>
28401         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
28402         ifuncs.
28403         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
28404         elf_machine_lazy_rel): Likewise.
28405         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
28406         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
28407         elf_machine_lazy_rel): Likewise.
28408         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
28409         dl_hwcap via passed in argument.
28410         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
28411         Likewise.
28413 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
28415         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
28417 2011-06-06  Roland McGrath  <roland@hack.frob.com>
28419         [BZ #12849]
28420         * manual/fdl-1.1.texi: New file, verbatim from:
28421         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
28422         * manual/lgpl-2.1.texi: New file, verbatim from:
28423         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
28424         * manual/Makefile (licenses): New variable, list those new file names.
28425         (texis): Use it.
28426         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
28428         * manual/fdl.texi: File removed.
28429         * manual/lesser.texi: File removed.
28430         * manual/libc.texinfo (Copying, Documentation License):
28431         Use new @include file names, put @appendix directive before @include.
28433 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
28435         [BZ #12841]
28436         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
28437         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
28438         (mq_open): Add __NTH.
28440 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
28442         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
28443         Assume Intel Core i3/i5/i7 processor if AVX is available.
28445 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
28447         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
28448         typo.
28450 2011-05-31  Andreas Schwab  <schwab@redhat.com>
28452         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
28453         memory.  Use alloca_account.  Fix memory leak when retrying.
28455 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
28457         * version.h (RELEASE): Bump for 2.14 release.
28458         * include/features.h (__GLIBC_MINOR__): Bump to 14.
28460         * config.make.in (RANLIB): Remove entry.
28462 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
28464         * po/Makefile (po-sed-cmd): Add ksh to extensions.
28465         (libc.pot): Work around missing support for .ksh extension in xgettext.
28467         [BZ #12684]
28468         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
28469         if both request failed.
28470         (send_dg): In case of server errors clear resplen or *resplen2.
28472         [BZ #12454]
28473         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
28474         when there are multiple maps.
28475         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
28476         (_dl_fini): Remove test here.
28478         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
28480 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
28482         [BZ #12350]
28483         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
28484         bit from old_res_options.
28485         (gaih_inet): Likewise.
28487         [BZ #11099]
28488         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
28489         as signed.
28491         * resolv/res_init.c (res_setoptions): Make the code more compact.
28493         [BZ #11558]
28494         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
28495         set RES_USEVC.
28497         [BZ #11634]
28498         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
28500         * malloc/malloc.h: Mark malloc hook variables as deprecated.
28502         [BZ #11781]
28503         * malloc/malloc.h: Declare malloc hook variables as volatile.
28505         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
28506         in last patch.
28508         [BZ #11799]
28509         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
28510         raise in the comment.
28511         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
28512         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
28513         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
28515 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
28517         [BZ #12811]
28518         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
28519         grow the buffers more if it already has to be sufficient.
28520         (build_wcs_upper_buffer): Likewise.
28521         * posix/regexec.c (check_matching): Likewise.
28522         (clean_state_log_if_needed): Likewise.
28523         (extend_buffers): Don't enlarge buffers beyond size of the input
28524         buffer.
28525         Patches mostly by Emil Wojak <emil@wojak.eu>.
28526         * posix/bug-regex32.c: New file.
28527         * posix/Makefile (tests): Add bug-regex32.
28529         * locale/findlocale.c (_nl_find_locale): Return right away if
28530         _nl_explode_name failed.
28531         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
28533         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
28535         * debug/xtrace.sh: Unify messages.
28536         * malloc/memusage.sh: Likewise.
28538         [BZ #12813]
28539         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
28540         time symbol from vDSO.  Substitute with vsyscall if not available.
28541         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
28542         __vdso_time.
28544         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
28545         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
28546         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
28547         Add sendmmsg and internal_sendmmsg.
28548         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
28549         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
28550         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
28552         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
28553         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
28554         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
28556 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
28558         [BZ #12813]
28559         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
28560         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
28561         available.
28562         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
28563         __vdso_getcpu.
28565         [BZ #12814]
28566         * iconvdata/Makefile (tests): Add bug-iconv9.
28567         * iconvdata/bug-iconv9.c: New file.
28569 2011-05-27  Andreas Schwab  <schwab@redhat.com>
28571         [BZ #12814]
28572         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
28574 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
28576         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
28577         (struct user_regs_struct): Change intcs field back to cs.
28579 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
28581         * po/ja.po: Update from translation team.
28583 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
28585         [BZ #12795]
28586         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
28587         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
28589 2011-05-20  Andreas Schwab  <schwab@redhat.com>
28591         * stdlib/longlong.h: Update from GCC.
28593 2011-05-23  Andreas Schwab  <schwab@redhat.com>
28595         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
28596         parameter name.
28597         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
28598         Add parameter name.
28599         (__sysconf): Pass it down.
28601 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
28603         [BZ #12671]
28604         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
28605         some situations.
28606         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
28607         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
28608         add in in __libc_use_alloca calls.  Adjust callers.
28609         (glob): Use malloc in some situations.
28611         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
28612         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
28613         pltexit.
28615 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
28617         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
28618         and CLOCK_BOOTTIME_ALARM.
28620         [BZ #12782]
28621         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
28622         is returned.
28624         * string/_strerror.c (__strerror_r): Print negative errors as signed
28625         numbers.
28627         [BZ #12777]
28628         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
28629         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
28630         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
28632         * configure.in: Fix typo in redirection and correct removal of test
28633         files in two cases.
28635         [BZ #12788]
28636         * locale/setlocale.c (new_composite_name): Fix test to check for
28637         identical name of all categories.
28639         [BZ #12792]
28640         * libio/filedoalloc.c (local_isatty): New function.
28641         (_IO_file_doallocate): Use local_isatty.
28642         * stdio-common/perror.c (perror): In case a new stream is used
28643         forward the stream error.
28644         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
28645         error flag.
28647 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
28649         [BZ #11869]
28650         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
28651         alloca.
28652         * include/alloca.h (extend_alloca_account): Define.
28654         [BZ #11857]
28655         * posix/regex.h: Fix comments with documentation of user-accessible
28656         fields after compilation and describe correct free'ing of pattern
28657         after re_compile_pattern.
28658         Patch by Reuben Thomas <rrt@sc3d.org>.
28660 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
28662         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
28663         and -mno-altivec to prevent the compiler from using Altivec and/or
28664         VSX instructions when the corresponding registers are not available.
28666 2011-05-19  Andreas Schwab  <schwab@redhat.com>
28668         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
28670 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
28672         * libio/freopen.c (freopen): Use __dup2, not dup2.
28673         * libio/freopen64.c (freopen64): Likewise.
28675 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
28677         [BZ #12775]
28678         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
28679         * math/Makefile (tests): Add test-powl.
28680         (CFLAGS-test-powl.c): Define.
28681         * math/test-powl.c: New file.
28683 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
28685         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
28687 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
28689         [BZ #11837]
28690         * iconvdata/gb18030.c: Update to GB18020-2005.
28692 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
28694         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
28695         RE_SYNTAX_POSIX_AWK): Update to match recent development.
28696         Patch by Aharon Robbins <arnold@skeeve.com>.
28698         [BZ #11892]
28699         * stdlib/putenv.c (putenv): Don't always create copy of the variable
28700         on the stack.
28702         [BZ #11895]
28703         * misc/pselect.c (__pselect): Handle timeout value errors hidden
28704         through underflows.
28706         [BZ #12766]
28707         * misc/error.c (error_at_line): Ensure file_name and old_file_name
28708         point to strings before performing equality test for error_one_per_line
28709         mode.
28711         [BZ #11697]
28712         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
28714         [BZ #11820]
28715         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
28716         (struct user_fpregs_struct): Avoid __uint*_t types.
28718         [BZ #6420]
28719         * malloc/mtrace.c (tr_where): Add additional parameter to point to
28720         symbol info.  Use it instead of calling _dl_addr locally.
28721         (lock_and_info): New function.
28722         (tr_freehook): Call lock_and_info and pass symbol info as additional
28723         parameter to tr_where.
28724         (tr_mallochook): Likewise.
28725         (tr_reallochook): Likewise.
28726         (tr_memalignhook): Likewise.
28728         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
28729         used and couldn't be at all thread-safe.
28731 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
28733         * libio/freopen.c (freopen): Don't close old file descriptor
28734         before the new one is opened.  Instead dup the new file descriptor
28735         to the old one after the new stream is created.
28736         * libio/freopen64.c (freopen64): Likewise.
28737         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
28738         * libio/fileops.c (_IO_new_file_close_it): Handle new
28739         _IO_FLAGS2_NOCLOSE flag.
28740         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
28741         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
28742         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
28743         _IO_FLAGS2_NOCLOSE flag.
28744         * include/unistd.h: Add hidden_proto for dup3.
28745         Define __have_dup3.
28746         * io/dup3.c: Define hidden symbol.
28747         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
28749         [BZ #7101]
28750         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
28751         when an incomplete long option is used.
28752         * posix/tst-getopt_long1.c: New file.
28753         * posix/Makefile (tests): Add tst-getopt_long1.
28755         [BZ #10138]
28756         * scripts/config.guess: Update from autoconf-2.68.
28757         * scripts/config.sub: Likewise.
28759         [BZ #10157]
28760         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
28761         tests into ...
28762         (has_cpuclock): ...this.  New function.
28763         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
28764         macro here based on has_cpuclock code.
28766         [BZ #10149]
28767         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
28768         First byte (not low byte) is now always NUL.
28769         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
28771         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
28772         Use non-cancelable interfaces.
28774         [BZ #9809]
28775         * locale/iso-639.def: Add entry for Sorani.
28777         [BZ #11901]
28778         * include/stdlib.h: Move include protection to the right place.
28779         Define abort_msg_s.  Declare __abort_msg with it.
28780         * stdlib/abort.c (__abort_msg): Adjust type.
28781         * assert/assert.c (__assert_fail_base): New function.  Majority
28782         of code from __assert_fail.  Allocate memory for __abort_msg with
28783         mmap.
28784         (__assert_fail): Now call __assert_fail_base.
28785         * assert/assert-perr.c: Remove bulk of implementation.  Use
28786         __assert_fail_base.
28787         * include/assert.hL Declare __assert_fail_base.
28788         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
28789         mmap.
28790         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
28792 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
28794         [BZ #11952]
28795         [BZ #12453]
28796         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
28797         until all modules are registered in the DTV.
28798         * elf/Makefile: Add rules to build and run tst-tls19.
28799         * elf/tst-tls19.c: New file.
28800         * elf/tst-tls19mod1.c: New file.
28801         * elf/tst-tls19mod2.c: New file.
28802         * elf/tst-tls19mod3.c: New file.
28803         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
28805         [BZ #12083]
28806         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
28807         correctly.
28809         [BZ #12601]
28810         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
28811         two-byte sequence errors.
28812         * iconvdata/Makefile (tests): Add bug-iconv8.
28813         * iconvdata/bug-iconv8.c: New file.
28815         [BZ #12626]
28816         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
28817         buf2 definition.
28819         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
28821         [BZ #12432]
28822         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
28823         (dummy_getcfa): New function.
28824         (init): Get _Unwind_GetCFA address, use dummy if not found.
28825         (backtrace_helper): In recursion check, also check whether CFA changes.
28826         (__backtrace): Completely initialize arg.
28828         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
28829         storing incomplete byte sequence in state object.  Avoid testing for
28830         guaranteed too small input if we know there is enough data available.
28832 2011-05-11  Andreas Schwab  <schwab@redhat.com>
28834         * Makeconfig (+link-pie): Indent.
28835         * Rules (binaries-pie): Define if $(have-fpie) and
28836         $(build-shared).
28837         (binaries-shared): Also filter out $(binaries-pie).
28838         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
28839         * nscd/Makefile (others-pie): Add nscd.
28840         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
28841         ($(objpfx)nscd): Remove command override.
28842         * login/Makefile (others-pie): Add pt_chown.
28843         ($(objpfx)pt_chown): Remove command override.
28844         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
28845         remove command overrides.
28847 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
28849         * libio/tst_putwc.c: Fix error messages.
28851         [BZ #12724]
28852         * libio/fileops.c (_IO_new_file_close_it): Always flush when
28853         currently writing and seek to current position when not.
28854         * libio/Makefile (tests): Add bug-fclose1.
28855         * libio/bug-fclose1.c: New file.
28857 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
28859         [BZ #12511]
28860         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
28861         don't set DF_1_NODELETE here.
28862         (do_lookup_x): When entering new entry test for copy relocation
28863         and if necessary set DF_1_NODELETE flag.
28864         * elf/tst-unique4.cc: New file.
28865         * elf/tst-unique4.h: New file.
28866         * elf/tst-unique4lib.cc: New file.
28867         * elf/Makefile: Add rules to build and run tst-unique4.
28868         Patch by Piotr Bury <pbury@goahead.com>.
28870 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
28872         [BZ #12052]
28873         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
28875         [BZ #12625]
28876         * misc/mntent_r.c (addmntent): Flush the stream after the output
28878         [BZ #12393]
28879         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
28880         (is_trusted_path_normalize): Skip initial colon.  Append slash
28881         to empty buffer.  Duplicate is_trusted_path code but allow
28882         constructed patch to be prefix.
28883         (is_dst): Allow $ORIGIN followed by /.
28884         (_dl_dst_substitute): Correct clearing of check_for_trusted.
28885         Correct testing of result of is_trusted_path_normalize
28886         (decompose_rpath): Fix warning.
28888 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
28890         [BZ #11257]
28891         * grp/initgroups.c (internal_getgrouplist): When we found the service
28892         list through the initgroups entry in nsswitch.conf do not always
28893         continue on a successful lookup.  Don't always use the
28894         __nss_group_database value if it is set.
28895         * nss/nsswitch.conf (initgroups): Change action for successful db
28896         lookup to continue for compatibility.
28898 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
28900         [BZ #11532]
28901         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
28902         and CP774 modules.
28903         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
28904         and CP774 modules.
28905         * iconvdata/tst-tables.sh: Likewise.
28906         * iconvdata/cp770.c: New file.
28907         * iconvdata/cp771.c: New file.
28908         * iconvdata/cp772.c: New file.
28909         * iconvdata/cp773.c: New file.
28910         * iconvdata/cp774.c: New file.
28911         * iconvdata/testdata/CP770: New file.
28912         * iconvdata/testdata/CP770..UTF8: New file.
28913         * iconvdata/testdata/CP771: New file.
28914         * iconvdata/testdata/CP771..UTF8: New file.
28915         * iconvdata/testdata/CP772: New file.
28916         * iconvdata/testdata/CP772..UTF8: New file.
28917         * iconvdata/testdata/CP773: New file.
28918         * iconvdata/testdata/CP773..UTF8: New file.
28919         * iconvdata/testdata/CP774: New file.
28920         * iconvdata/testdata/CP774..UTF8: New file.
28922         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
28923         END CHARMAP line.
28924         * iconvdata/gen-8bit-gap.sh: Likewise.
28925         * iconvdata/gen-8bit.sh: Likewise.
28927         * locale/iso-639.def: Add ary entry.
28929         [BZ #11258]
28930         * locale/C-translit.h.in: Add U20A1 transliteration.
28932         [BZ #12178]
28933         * locale/iso-639.def: Add wae entry.
28934         Patch by Kevin Bortis <bortis@translate-wae.ch>.
28936         [BZ #12545]
28937         * locale/programs/localedef.c (construct_output_path): Use ssize_t
28938         for n.
28940         [BZ #12711]
28941         * locale/C-translit.h.in: Add entry for U20B9.
28942         Patch by pravin.d.s@gmail.com.
28944 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
28946         [BZ #12713]
28947         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
28948         ENAMETOOLONG use generic getcwd.
28949         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
28950         in rtld.  Use *stat64.
28951         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
28952         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
28953         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
28954         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
28955         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
28956         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
28957         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
28958         __fstatat64 macros.
28959         * include/dirent.h: Add libc_hidden_proto for rewinddir.
28960         * dirent/rewinddir.c: Add libc_hidden_def.
28961         * sysdeps/mach/hurd/rewinddir.c: Likewise.
28962         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
28964         * include/dirent.h (__alloc_dir): Add flags parameter.
28965         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
28966         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
28967         __alloc_dir.
28968         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
28969         from fdopendir if O_CLOEXEC is already set.
28971 2011-03-15  Alan Modra  <amodra@gmail.com>
28973         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
28974         l_tls_firstbyte_offset non-zero.  Save padding offset in
28975         l_tls_firstbyte_offset for later use.
28976         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
28977         freeing static tls block.
28979 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
28981         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
28982         where #ifdef was intended.  The intent is to prevent ARG_MAX from
28983         being defined by the kernel headers.
28985 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
28987         [BZ #12734]
28988         * resolv/resolv.h: Define RES_NOTLDQUERY.
28989         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
28990         no-tld-query and set RES_NOTLDQUERY.
28991         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
28992         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
28993         modern BIND to search name as TLD unless forbidden.
28995 2011-05-07  Petr Baudis  <pasky@suse.cz>
28996             Ulrich Drepper  <drepper@gmail.com>
28998         [BZ #12393]
28999         * elf/dl-load.c (fillin_rpath): Move trusted path check...
29000         (is_trusted_path): ...to here.
29001         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
29002         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
29003         using is_trusted_path_normalize() in setuid scripts.
29005 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
29007         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
29008         __BEGIN/__END_DECLS.
29010 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
29012         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
29013         NSS_STATUS_NOTFOUND if no record was found.
29015 2011-05-05  Andreas Schwab  <schwab@redhat.com>
29017         * sunrpc/Makefile (headers): Add rpc/netdb.h.
29018         (headers-not-in-tirpc): Remove rpc/netdb.h
29019         * resolv/netdb.h: Revert last change.
29021 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
29023         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
29024         circular dependency between libgcc.a and libc.a.
29026 2011-05-05  Andreas Schwab  <schwab@redhat.com>
29028         * resolv/netdb.h: Don't include <rpc/netdb.h>.
29029         * nis/Makefile: Don't install rpcsvc/*.
29030         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
29031         instead of <rpc/types.h>.
29032         (MAXHOSTNAMELEN): Define.
29034 2011-05-03  Andreas Schwab  <schwab@redhat.com>
29036         * elf/ldconfig.c (add_dir): Don't crash on empty path.
29038 2011-04-28  Maciej Babinski  <mbabinski@google.com>
29040         [BZ #12714]
29041         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
29042         gethostbyname4_r when IPv6 results are possible.
29044 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
29046         [BZ #12723]
29047         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
29048         _PC_PIPE_BUF handling.
29050 2011-04-30  Bruno Haible  <bruno@clisp.org>
29052         [BZ #12717]
29053         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
29054         * resolv/netdb.h (getnameinfo): Change type of flags parameter
29055         to 'int'.
29056         * inet/getnameinfo.c (getnameinfo): Likewise.
29058 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
29060         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
29061         to groups setting in database lookup.
29062         * nss/nsswitch.conf: Add initgroups entry.
29064 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
29066         [BZ #12685]
29067         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
29068         mode string.
29069         Patch by Eric Blake <eblake@redhat.com>.
29071 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
29073         * sunrpc/Makefile (need-export-routines): Add svc_run.
29074         (routines): Remove svc_run.
29075         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
29076         * sunrpc/clnt_perr.c (clnt_perrno): Export.
29077         * sunrpc/svc_run.c (svc_run): Likewise.
29078         * sunrpc/svc_udp.c (svcudp_create): Likewise.
29080 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
29082         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
29083         problem in reallocation in last patch.
29085 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
29087         * sunrpc/Makefile: Move inclusion of Rules.
29089 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
29091         * nss/nss_files/files-initgroups.c: New file.
29092         * nss/Makefile (libnss_files-routines): Add files-initgroups.
29093         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
29094         _nss_files_initgroups_dyn.
29096 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
29098         * elf/elf.h (R_ARM_IRELATIVE): Define.
29100 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
29102         * po/ru.po: Update from translation team.
29104 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
29106         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
29107         dependencies.
29109 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
29111         [BZ #12653]
29112         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
29113         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
29114         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
29115         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
29116         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
29118 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
29120         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
29121         differing bytes.
29122         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
29123         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
29124         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
29126 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
29128         [BZ #12420]
29129         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
29130         storing it.
29131         * stdlib/bug-getcontext.c: New file.
29132         * stdlib/Makefile: Add rules to build and run bug-getcontext.
29134 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
29136         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
29137         instructions into .machine "z9-109".
29138         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
29139         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
29141 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
29143         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
29144         between environment variables and auxiliary vector.
29146 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
29148         * Makefile: Add rules to build linkobj/libc.so.
29149         * include/libc-symbols.h: Define libc_hidden_nolink.
29150         * include/rpc/auth.h: Mark functions which are to be hidden.
29151         * include/rpc/auth_des.h: Likewise.
29152         * include/rpc/auth_unix.h: Likewise.
29153         * include/rpc/clnt.h: Likewise.
29154         * include/rpc/des_crypt.h: Likewise.
29155         * include/rpc/key_prot.h: Likewise.
29156         * include/rpc/pmap_clnt.h: Likewise.
29157         * include/rpc/pmap_prot.h: Likewise.
29158         * include/rpc/pmap_rmt.h: Likewise.
29159         * include/rpc/rpc_msg.h: Likewise.
29160         * include/rpc/svc.h: Likewise.
29161         * include/rpc/svc_auth.h: Likewise.
29162         * include/rpc/xdr.h: Likewise.
29163         * nis/Makefile: Link all DSOs against linkobj/libc.so.
29164         * nss/Makefile: Likewise.
29165         * sunrpc/Makefile: Don't install headers.  Build library with normal
29166         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
29167         * sunrpc/auth_des.c: Hide exported symbols by default, export some
29168         for the compat linking library.  Remove use of INTDEF/INTUSE.
29169         * sunrpc/auth_none.c: Likewise.
29170         * sunrpc/auth_unix.c: Likewise.
29171         * sunrpc/authdes_prot.c: Likewise.
29172         * sunrpc/authuxprot.c: Likewise.
29173         * sunrpc/clnt_gen.c: Likewise.
29174         * sunrpc/clnt_perr.c: Likewise.
29175         * sunrpc/clnt_raw.c: Likewise.
29176         * sunrpc/clnt_simp.c: Likewise.
29177         * sunrpc/clnt_tcp.c: Likewise.
29178         * sunrpc/clnt_udp.c: Likewise.
29179         * sunrpc/clnt_unix.c: Likewise.
29180         * sunrpc/des_crypt.c: Likewise.
29181         * sunrpc/des_soft.c: Likewise.
29182         * sunrpc/get_myaddr.c: Likewise.
29183         * sunrpc/key_call.c: Likewise.
29184         * sunrpc/key_prot.c: Likewise.
29185         * sunrpc/netname.c: Likewise.
29186         * sunrpc/pm_getmaps.c: Likewise.
29187         * sunrpc/pm_getport.c: Likewise.
29188         * sunrpc/pmap_clnt.c: Likewise.
29189         * sunrpc/pmap_prot.c: Likewise.
29190         * sunrpc/pmap_prot2.c: Likewise.
29191         * sunrpc/pmap_rmt.c: Likewise.
29192         * sunrpc/publickey.c: Likewise.
29193         * sunrpc/rpc_cmsg.c: Likewise.
29194         * sunrpc/rpc_common.c: Likewise.
29195         * sunrpc/rpc_dtable.c: Likewise.
29196         * sunrpc/rpc_prot.c: Likewise.
29197         * sunrpc/rpc_thread.c: Likewise.
29198         * sunrpc/rtime.c: Likewise.
29199         * sunrpc/svc.c: Likewise.
29200         * sunrpc/svc_auth.c: Likewise.
29201         * sunrpc/svc_authux.c: Likewise.
29202         * sunrpc/svc_raw.c: Likewise.
29203         * sunrpc/svc_run.c: Likewise.
29204         * sunrpc/svc_simple.c: Likewise.
29205         * sunrpc/svc_tcp.c: Likewise.
29206         * sunrpc/svc_udp.c: Likewise.
29207         * sunrpc/svc_unix.c: Likewise.
29208         * sunrpc/svcauth_des.c: Likewise.
29209         * sunrpc/xcrypt.c: Likewise.
29210         * sunrpc/xdr.c: Likewise.
29211         * sunrpc/xdr_array.c: Likewise.
29212         * sunrpc/xdr_float.c: Likewise.
29213         * sunrpc/xdr_intXX_t.c: Likewise.
29214         * sunrpc/xdr_mem.c: Likewise.
29215         * sunrpc/xdr_rec.c: Likewise.
29216         * sunrpc/xdr_ref.c: Likewise.
29217         * sunrpc/xdr_sizeof.c: Likewise.
29218         * sunrpc/xdr_stdio.c: Likewise.
29220 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
29222         [BZ #12650]
29223         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
29224         * sysdeps/ia64/dl-tls.h: Likewise.
29225         * sysdeps/powerpc/dl-tls.h: Likewise.
29226         * sysdeps/s390/dl-tls.h: Likewise.
29227         * sysdeps/sh/dl-tls.h: Likewise.
29228         * sysdeps/sparc/dl-tls.h: Likewise.
29229         * sysdeps/x86_64/dl-tls.h: Likewise.
29230         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
29232 2011-03-14  Andreas Schwab  <schwab@redhat.com>
29234         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
29235         rpath element also skip the following colon.
29236         (expand_dynamic_string_token): Add is_path parameter and pass
29237         down to DL_DST_REQUIRED and _dl_dst_substitute.
29238         (decompose_rpath): Call expand_dynamic_string_token with
29239         non-zero is_path.  Ignore empty rpaths.
29240         (_dl_map_object_from_fd): Call expand_dynamic_string_token
29241         with zero is_path.
29243 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
29245         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
29246         Make cancelable.
29248 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
29250         [BZ #12655]
29251         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
29252         Patch by Filipe David Manana <fdmanana@apache.org>.
29254 2011-04-07  Andreas Schwab  <schwab@redhat.com>
29256         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
29257         Maintain aligned stack.
29258         (CHECK_RSP): Remove unused macro.
29260 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
29262         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
29263         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
29265 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
29267         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
29269         * include/features.h: Mention __USE_XOPEN2K8 in comment.
29271 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
29273         [BZ #12518]
29274         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
29275         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
29276         * sysdeps/x86_64/memmove.c: New file.
29277         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
29278         (memcpy): Renamed to ...
29279         (__new_memcpy): This.
29280         (memcpy): Provide GLIBC_2_14 memcpy.
29281         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
29282         (memcpy): Provide GLIBC_2_2_5 memcpy.
29284 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
29286         [BZ #12631]
29287         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
29289 2011-03-30  Andreas Schwab  <schwab@redhat.com>
29291         * misc/syncfs.c: New file.
29292         * misc/Makefile (routines): Add syncfs.
29293         * posix/unistd.h: Declare syncfs.
29294         * sysdeps/unix/syscalls.list: Add syncfs.
29296 2011-04-01  Andreas Schwab  <schwab@redhat.com>
29298         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
29299         open_by_handle_at.
29300         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
29301         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
29302         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
29303         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
29304         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
29305         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
29306         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
29308 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
29310         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
29311         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
29312         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
29313         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
29314         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
29315         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
29316         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
29318         * io/Makefile: Compile fallocate.c, fallocate64.c, and
29319         sync_file_range.c with -fexceptions.
29320         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
29321         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
29322         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
29323         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
29324         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
29325         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
29326         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
29327         sync_file_range as cancellation point
29328         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
29329         now a wrapper around __call_sync_file_range with cancellation handling.
29330         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
29331         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
29332         function name to __call_sync_file_range.
29333         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
29334         Add call_sync_file_range.
29336 2011-04-01  Andreas Schwab  <schwab@redhat.com>
29338         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
29339         bits/timex.h.
29341 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
29343         * iconv/iconv.h: Fix typo in comment.
29344         * io/fcntl.h: Likewise.
29345         * libio/stdio.h: Likewise.
29346         * posix/spawn.h: Likewise.
29347         * posix/unistd.h: Likewise.
29348         * stdlib/stdlib.h: Likewise.
29349         * time/time.h: Likewise.
29350         * wcsmbs/wchar.h: Likewise.
29352         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
29353         open_by_handle): Add.
29354         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
29355         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
29356         Augment a few comments.
29357         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
29358         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
29359         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
29360         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
29361         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
29362         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
29363         open_by_handle.
29365         * io/fcntl.h (AT_EMPTY_PATH): Define.
29367 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
29369         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
29370         * sysdeps/unix/sysv/linux/bits/time.h: New file.
29371         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
29372         to...
29373         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
29374         * Versions.def: Add GLIBC_2.14.
29375         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
29376         Export.
29378 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
29380         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
29381         round counter.
29382         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
29384 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
29386         [BZ #12597]
29387         * string/test-strncmp.c (do_page_test): New function.
29388         (check2): Likewise.
29389         (test_main): Call check2.
29390         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
29392 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
29394         [BZ #12587]
29395         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
29396         Handle cache information in CPU leaf 4.
29397         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
29399 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
29401         [BZ #12583]
29402         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
29403         character representation.
29404         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
29406 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
29408         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
29409         END(__isnan) to END(__isnanf) to match function entry point/label
29410         EALIGN(__isnanf,...).
29412 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
29414         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
29416 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
29418         [BZ #12510]
29419         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
29420         copy from the symbol referenced in the relocation to initialize the
29421         used variable.
29422         Patch by Piotr Bury <pbury@goahead.com>.
29423         * elf/Makefile: Add rules to build and tst-unique3.
29424         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
29425         * elf/tst-unique3.cc: New file.
29426         * elf/tst-unique3.h: New file.
29427         * elf/tst-unique3lib.cc: New file.
29428         * elf/tst-unique3lib2.cc: New file.
29430         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
29432 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
29434         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
29435         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
29436         to _start.
29438 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
29440         * elf/dl-load.c (_dl_map_object): If we are looking for the first
29441         to-be-loaded object along a path to loader is ld.so.
29443 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
29444             Ulrich Drepper  <drepper@gmail.com>
29446         * sysdeps/x86_64/memset.S: After aligning destination, code
29447         branches to different locations depending on the value of
29448         misalignment, when multiarch is enabled. Fix this.
29450 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
29452         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
29453         Set _x86_64_preferred_memory_instruction for AMD processsors.
29454         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
29455         Set bit_Prefer_SSE_for_memop for AMD processors.
29457 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
29459         * libio/fmemopen.c (fmemopen): Optimize a bit.
29461 2011-03-03  Andreas Schwab  <schwab@redhat.com>
29463         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
29465 2011-03-03  Roland McGrath  <roland@redhat.com>
29467         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
29469 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
29471         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
29472         __bzero_ultra1 instead of __memset_ultra1.
29474 2011-02-23  Andreas Schwab  <schwab@redhat.com>
29475             Ulrich Drepper  <drepper@gmail.com>
29477         [BZ #12509]
29478         * include/link.h (struct link_map): Add l_orig_initfini.
29479         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
29480         returning unsuccessfully.
29481         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
29482         close of a file loaded at startup, restore the original l_initfini
29483         list.
29484         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
29485         list, store the pointer.
29486         * elf/Makefile ($(objpfx)noload-mem): New rule.
29487         (noload-ENV): Define.
29488         (tests): Add $(objpfx)noload-mem.
29489         * elf/noload.c: Include <memcheck.h>.
29490         (main): Call mtrace.  Close all opened handles.
29492 2011-02-17  Andreas Schwab  <schwab@redhat.com>
29494         [BZ #12454]
29495         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
29496         dependencies are missing.
29498 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
29500         Fix __if_freereq crash: Unlike the generic version which uses free,
29501         Hurd needs munmap.
29502         * sysdeps/mach/hurd/ifreq.h: New file.
29504 2011-01-27  Petr Baudis  <pasky@suse.cz>
29505             Ulrich Drepper  <drepper@gmail.com>
29507         [BZ 12445]#
29508         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
29509         to extend_alloca().
29510         * stdio-common/bug23.c: New file.
29511         * stdio-common/Makefile (tests): Add bug23.
29513 2010-09-28  Andreas Schwab  <schwab@redhat.com>
29514             Ulrich Drepper  <drepper@gmail.com>
29516         [BZ #12489]
29517         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
29518         before performing relro protection.  At old place add assertion
29519         to make sure nothing changed.
29521 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
29522             Glauber de Oliveira Costa  <glommer@gmail.com>
29524         * elf/elf.h: Add new ARM TLS relocs.
29526 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
29528         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
29529         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
29530         cast from r3.
29531         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
29532         'tests' variable.
29533         * sysdeps/wordsize-64/tst-writev.c: New file.
29535 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
29537         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
29538         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
29539         insns in _dl_start to prevent a TOC reference before relocs are
29540         resolved.
29542 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
29544         [BZ #12469]
29545         * Makeconfig: Remove RANLIB definition.
29546         * Makerules: Don't use RANLIB.
29547         * aclocal.m4: Remove ranlib test.
29548         * configure.in: No need to check for ranlib.
29549         * elf/rtld-Rules: Don't use RANLIB.
29551 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
29553         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
29554         protection macro.
29555         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
29556         inclusion protection macro.
29558         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
29559         SIGRTMIN and SIGRTMAX and print information in that case only when
29560         SIGRTMIN is defined.
29562 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
29564         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
29565         arginfo fn returning -1.
29567         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
29568         and thousands string is zero terminated.
29570 2011-02-03  Andreas Schwab  <schwab@redhat.com>
29572         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
29573         sysdeps/unix/sysv/linux/bits/socket.h.
29575 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
29577         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
29578         (__CPU_COUNT): Remove old macros.
29579         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
29580         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
29581         (__CPU_ALLOC, __CPU_FREE): Add macros.
29582         (__sched_cpualloc, __sched_cpufree): Add declarations.
29584 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
29586         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
29587         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
29588         * nscd/aicache.c (addhstaiX): Return timeout of added value.
29589         (readdhstai): Return value of addhstaiX call.
29590         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
29591         (addgrbyX): Return value returned by cache_addgr.
29592         (readdgrbyname): Return value returned by addgrbyX.
29593         (readdgrbygid): Likewise.
29594         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
29595         (addpwbyX): Return value returned by cache_addpw.
29596         (readdpwbyname): Return value returned by addhstbyX.
29597         (readdpwbyuid): Likewise.
29598         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
29599         (addservbyX): Return value returned by cache_addserv.
29600         (readdservbyname): Return value returned by addservbyX:
29601         (readdservbyport): Likewise.
29602         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
29603         (addhstbyX): Return value returned by cache_addhst.
29604         (readdhstbyname): Return value returned by addhstbyX.
29605         (readdhstbyaddr): Likewise.
29606         (readdhstbynamev6): Likewise.
29607         (readdhstbyaddrv6): Likewise.
29608         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
29609         (readdinitgroups): Return value returned by addinitgroupsX.
29610         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
29611         (prune_cache): Keep track of timeout value of re-added entries.
29612         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
29613         * nscd/nscd.h: Adjust prototypes of readd* functions.
29615 2011-02-04  Roland McGrath  <roland@redhat.com>
29617         * nis/nis_server.c (nis_servstate): Use the right name for 0.
29618         (nis_stats): Likewise.
29619         * nis/nis_modify.c (nis_modify): Likewise.
29620         * nis/nis_remove.c (nis_remove): Likewise.
29621         * nis/nis_add.c (nis_add): Likewise.
29623         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
29625         * posix/fnmatch_loop.c: Add some consts.
29627         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
29629 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
29631         [BZ #12460]
29632         * config.make.in (config-cflags-novzeroupper): Define.
29633         * configure.in: Substitute libc_cv_cc_novzeroupper.
29634         * elf/Makefile (AVX-CFLAGS): Define.
29635         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
29636         (CFLAGS-tst-auditmod4a.c): Likewise.
29637         (CFLAGS-tst-auditmod4b.c): Likewise.
29638         (CFLAGS-tst-auditmod6b.c): Likewise.
29639         (CFLAGS-tst-auditmod6c.c): Likewise.
29640         (CFLAGS-tst-auditmod7b.c): Likewise.
29641         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
29643 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
29645         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
29646         function to the callback.
29647         Patch partly by Jiri Olsa <jolsa@redhat.com>.
29649 2011-02-02  Andreas Schwab  <schwab@redhat.com>
29651         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
29652         of errno.
29654 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
29656         [BZ #11724]
29657         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
29658         of constructors.
29659         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
29660         of destructors.
29661         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
29663         [BZ #11724]
29664         * elf/Makefile: Add rules to build and run new test.
29665         * elf/tst-initorder.c: New file.
29666         * elf/tst-initorder.exp: New file.
29667         * elf/tst-initordera1.c: New file.
29668         * elf/tst-initordera2.c: New file.
29669         * elf/tst-initordera3.c: New file.
29670         * elf/tst-initordera4.c: New file.
29671         * elf/tst-initorderb1.c: New file.
29672         * elf/tst-initorderb2.c: New file.
29673         * elf/tst-order-a1.c: New file.
29674         * elf/tst-order-a2.c: New file.
29675         * elf/tst-order-a3.c: New file.
29676         * elf/tst-order-a4.c: New file.
29677         * elf/tst-order-b1.c: New file.
29678         * elf/tst-order-b2.c: New file.
29679         * elf/tst-order-main.c: New file.
29680         New test case by George Gensure <werkt0@gmail.com>.
29682 2010-10-01  Andreas Schwab  <schwab@redhat.com>
29684         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
29685         decoding ACE if AI_CANONIDN.
29687 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
29689         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
29691 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
29693         * version.h (RELEASE): Bump for 2.13 release.
29694         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
29696         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
29698         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
29699         MADV_NOHUGEPAGE.
29700         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
29701         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
29702         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
29703         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
29704         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
29705         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
29707         * posix/getconf.c: Update copyright year.
29708         * catgets/gencat.c: Likewise.
29709         * csu/version.c: Likewise.
29710         * debug/catchsegv.sh: Likewise.
29711         * debug/xtrace.sh: Likewise.
29712         * elf/ldconfig.c: Likewise.
29713         * elf/ldd.bash.in: Likewise.
29714         * elf/sprof.c (print_version): Likewise.
29715         * iconv/iconv_prog.c: Likewise.
29716         * iconv/iconvconfig.c: Likewise.
29717         * locale/programs/locale.c: Likewise.
29718         * locale/programs/localedef.c: Likewise.
29719         * malloc/memusage.sh: Likewise.
29720         * malloc/mtrace.pl: Likewise.
29721         * nscd/nscd.c (print_version): Likewise.
29722         * nss/getent.c: Likewise.
29724         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
29725         PF_CAIF, and PF_ALG.
29726         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
29728 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
29730         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
29731         (modules-names): Use them.
29732         (ifunc-test-modules, ifunc-pie-tests): Define.
29733         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
29734         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
29735         (test-extras): Likewise.
29736         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
29737         $(compile-command.c).
29738         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
29739         (all-built-dso): Define.
29740         (check-textrel.out, check-execstack.out): Depend on it.
29742         * configure.in: Don't override --enable-multi-arch.
29744 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
29746         [BZ #6812]
29747         * nscd/hstcache.c (tryagain): Define.
29748         (cache_addhst): Return tryagain not notfound for temporary errors.
29749         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
29750         failed.
29752 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
29754         [BZ #10563]
29755         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
29756         to make the syscall.
29757         * sysdeps/unix/sysv/linux/setgroups.c: New file.
29759         [BZ #12378]
29760         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
29761         and fall back to matching as normal character if the string ends before
29762         the matching ']' is found.  This is what POSIX requires.
29763         * posix/testfnm.c: Adjust test result.
29764         * posix/globtest.sh: Adjust test result.  Add new test.
29765         * posix/tst-fnmatch.input: Likewise.
29766         * posix/tst-fnmatch2.c: Add new test.
29768 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
29770         * elf/Makefile (check-execstack): Revert last change.  Depend on
29771         check-execstack.h.
29772         (check-execstack.h): New target.
29773         (generated): Add check-execstack.h.
29774         * elf/check-execstack.c: Include "check-execstack.h".
29775         (main): Revert last change.
29776         (handle_file): Return zero if GNU_STACK is absent and
29777         DEFAULT_STACK_PERMS doesn't include PF_X.
29779 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
29781         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
29782         in child fails because the descriptor is already closed.
29783         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
29784         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
29785         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
29787         [BZ #12397]
29788         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
29789         syscall.
29791         [BZ #10484]
29792         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
29793         temporary buffer used to handle multi lookups locally.
29794         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
29796 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
29798         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
29799         loader is ld.so.
29801 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
29803         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
29804         alignment for SSE2.
29806 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
29808         [BZ #12394]
29809         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
29810         characters.  When rounding increased number of integer digits recompute
29811         number of groups.
29812         * stdio-common/tst-grouping.c: New file.
29813         * stdio-common/Makefile: Add rules to build and run tst-grouping.
29815 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
29817         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
29818         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
29820         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
29821         void.
29822         * bits/select.h: Likewise.
29824 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
29826         * po/ja.po: Update from translation team.
29828 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
29830         [BZ #11155]
29831         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
29832         implementation just like for lxstat, fxstatat, et al.
29834 2010-12-27  Jim Meyering  <meyering@redhat.com>
29836         [BZ #12348]
29837         * posix/regexec.c (build_trtable): Return failure indication upon
29838         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
29840 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
29842         [BZ #12201]
29843         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
29844         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
29845         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
29846         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
29848         [BZ #12207]
29849         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
29851         [BZ #12204]
29852         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
29853         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
29855 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
29857         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
29858         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
29859         script has SORT_BY_INIT_PRIORITY.
29860         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
29861         NO_CTORS_DTORS_SECTIONS is defined.
29862         * elf/soinit.c: Likewise.
29863         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
29864         NO_CTORS_DTORS_SECTIONS is defined.
29865         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
29866         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
29867         * sysdeps/sh/init-first.c: Likewise.
29868         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
29870 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
29872         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
29873         always use the slow path.
29875 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
29877         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
29878         similar rule which adds the sysdep directories to the header search in
29879         order to pick up the correct platform stackinfo.h.
29880         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
29881         perform test if it is, otherwise return successfully without testing.
29882         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
29883         DEFAULT_STACK_PERMS define in stackinfo.h.
29884         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
29885         defined in stackinfo.h.
29886         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
29887         DEFAULT_STACK_PERMS defined in stackinfo.h.
29888         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
29889         * sysdeps/ia64/stackinfo.h: Likewise.
29890         * sysdeps/s390/stackinfo.h: Likewise.
29891         * sysdeps/sh/stackinfo.h: Likewise.
29892         * sysdeps/sparc/stackinfo.h: Likewise.
29893         * sysdeps/x86_64/stackinfo.h: Likewise.
29894         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
29895         PF_X for powerpc64.  Retain PF_X for powerpc32.
29897 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
29899         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
29900         accurately.
29901         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
29902         GETDENTS_64BIT_ALIGNED.
29904 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
29906         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
29908 2010-12-10  Andreas Schwab  <schwab@redhat.com>
29910         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
29911         _GNU_SOURCE.
29913         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
29914         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
29915         Remove __restrict.
29916         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
29917         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
29919 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
29921         [BZ #11655]
29922         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
29923         are initialized.
29925 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
29927         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
29929 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
29931         * po/it.po: Update from translation team.
29933 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
29935         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
29936         unused codes.
29938 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
29940         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
29942 2010-11-24  Andreas Schwab  <schwab@redhat.com>
29944         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
29945         specially.
29946         (gaih_getanswer_slice): Likewise.
29948 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
29950         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
29952 2010-05-31  Petr Baudis  <pasky@suse.cz>
29954         [BZ #11149]
29955         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
29956         silently even in the chroot mode.
29958 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
29960         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
29961         last patch a bit.  Pretty printing
29963 2010-05-31  Petr Baudis <pasky@suse.cz>
29965         [BZ #10085]
29966         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
29967         initialization of skip_initgroups_dyn.
29969 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
29971         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
29972         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
29974 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
29976         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
29978 2010-11-11  Andreas Schwab  <schwab@redhat.com>
29980         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
29981         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
29982         (tst-fnmatch-ENV): Set MALLOC_TRACE.
29983         ($(objpfx)tst-fnmatch-mem): New rule.
29984         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
29985         * posix/tst-fnmatch.c (main): Call mtrace.
29987 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
29989         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
29990         Support Intel processor model 6 and model 0x2c.
29992 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
29994         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
29995           signed comparison.
29997 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
29999         [BZ #12205]
30000         * string/test-strncasecmp.c (check_result): New function.
30001         (do_one_test): Use it.
30002         (check1): New function.
30003         (test_main): Use it.
30004         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
30005         Support strcasecmp and strncasecmp.
30007 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
30009         [BZ #12194]
30010         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
30011         * sysdeps/x86_64/bits/byteswap.h: Likewise.
30013 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
30015         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
30016         IFUNC support.
30017         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
30018         memset-x86-64.
30019         * sysdeps/x86_64/multiarch/bzero.S: New file.
30020         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
30021         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
30022         * sysdeps/x86_64/multiarch/memset.S: New file.
30023         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
30024         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
30025         Set bit_Prefer_SSE_for_memop for Intel processors.
30026         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
30027         Define.
30028         (index_Prefer_SSE_for_memop): Define.
30029         (HAS_PREFER_SSE_FOR_MEMOP): Define.
30031 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
30033         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
30034         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
30036 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
30038         [BZ #12191]
30039         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
30040         (__x86_64_raw_data_cache_size_half): Likewise.
30041         (__x86_64_raw_shared_cache_size): Likewise.
30042         (__x86_64_raw_shared_cache_size_half): Likewise.
30044         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
30045         (__x86_64_raw_data_cache_size_half): Likewise.
30046         (__x86_64_raw_shared_cache_size): Likewise.
30047         (__x86_64_raw_shared_cache_size_half): Likewise.
30048         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
30049         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
30050         and __x86_64_raw_shared_cache_size_half.  Round
30051         __x86_64_data_cache_size_half, __x86_64_data_cache_size
30052         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
30053         to multiple of 256 bytes.
30055 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
30057         [BZ #12167]
30058         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
30059         of inacessible symlinks.  Verify result of symlink before returning it.
30060         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
30061         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
30063 2010-10-28  Erich Ritz  <erichritz@gmail.com>
30065         * math/math.h (isinf): Fix typo in comment.
30067 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
30069         * po/da.po: Update from translation team.
30071 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
30073         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
30074         is added to the list.
30076 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
30077             Ulrich Drepper  <drepper@gmail.com>
30079         * elf/dl-object.c (_dl_new_object): Don't append the new object to
30080         the global list here.  Move code to...
30081         (_dl_add_to_namespace_list): ...here.  New function.
30082         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
30083         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
30084         * elf/dl-load.c (lose): Don't remove the element from the list.
30085         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
30086         (_dl_map_object): Likewise.
30088 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
30090         [BZ #12159]
30091         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
30092         into all bytes of SSE register.
30093         Patch by Richard Li <richardpku@gmail.com>.
30095 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
30097         [BZ #12140]
30098         * malloc/malloc.c (_int_free): Fill correct number of bytes when
30099         perturbing.
30101 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
30103         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
30104         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
30105         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
30106         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
30107         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
30108         submachine.
30109         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
30111 2010-10-22  Andreas Schwab  <schwab@redhat.com>
30113         * include/dlfcn.h (__RTLD_SECURE): Define.
30114         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
30115         mode & __RTLD_SECURE instead.
30116         (open_path): Rename preloaded parameter to secure.
30117         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
30118         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
30119         * elf/dl-deps.c (openaux): Likewise.
30120         * elf/rtld.c (struct map_args): Remove is_preloaded.
30121         (map_doit): Don't use it.
30122         (dl_main): Likewise.
30123         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
30124         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
30126 2010-09-09  Andreas Schwab  <schwab@redhat.com>
30128         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
30129         (sysd-rules-targets): Remove duplicates.
30130         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
30131         rtld-%.$o dependency.
30133 2010-10-18  Andreas Schwab  <schwab@redhat.com>
30135         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
30136         _dl_map_object do it.
30138 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
30140         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
30141         fast fma builtins, define the macros in the C99 standard.
30142         (FP_FAST_FMAF): Likewise.
30143         (FP_FAST_FMAL): Likewise.
30144         * sysdeps/x86_64/bits/mathdef.h: Likewise.
30146         * bits/mathdef.h: Update copyright year.
30147         * sysdeps/powerpc/bits/mathdef.h: Likewise.
30149 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
30151         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
30152         builtins, define the macros in the C99 standard.
30153         (FP_FAST_FMAF): Likewise.
30154         (FP_FAST_FMAL): Likewise.
30155         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
30156         multiply/add.
30157         (FP_FAST_FMAF): Likewise.
30159 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
30161         [BZ #3268]
30162         * math/libm-test.inc (fma_test): Some new testcases.
30163         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
30164         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
30165         y and infinite z.  Do multiplication by C already in long double.
30166         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
30167         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
30168         y and infinite z.  Do bitwise or of inexact bit into u.d.
30169         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
30170         * sysdeps/i386/fpu/s_fmaf.S: Removed.
30171         * sysdeps/i386/fpu/s_fma.S: Removed.
30172         * sysdeps/i386/fpu/s_fmal.S: Removed.
30174 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
30176         [BZ #3268]
30177         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
30178         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
30179         computation is not scheduled after fetestexcept.  Fix value
30180         of minimum denormal long double.
30182 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
30184         [BZ #3268]
30185         * math/libm-test.inc (fma_test): Add some more tests.
30186         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
30187         correctly.
30189 2010-10-15  Andreas Schwab  <schwab@redhat.com>
30191         * scripts/data/localplt-s390-linux-gnu.data: New file.
30192         * scripts/data/localplt-s390x-linux-gnu.data: New file.
30194 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
30196         [BZ #3268]
30197         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
30198         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
30199         instead of dbl-64.
30200         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
30201         inlines.
30202         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
30203         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
30204         if one of x and y is very large and the other is subnormal.
30205         * sysdeps/s390/fpu/s_fmaf.c: New file.
30206         * sysdeps/s390/fpu/s_fma.c: New file.
30207         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
30208         * sysdeps/powerpc/fpu/s_fma.S: New file.
30209         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
30210         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
30211         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
30213 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
30215         [BZ #3268]
30216         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
30217         fma tests.
30218         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
30219         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
30220         * sysdeps/i386/i686/multiarch/s_fma.c: Include
30221         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
30222         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
30223         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
30224         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
30226 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
30228         [BZ #12078]
30229         * posix/regcomp.c (parse_branch): One more memory leak plugged.
30230         * posix/bug-regex31.input: Add test case.
30232 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
30234         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
30235         * posix/bug-regex31.input: New file.
30237         [BZ #12078]
30238         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
30239         (parse_sub_exp): Fix last change, use postorder.
30241         * posix/bug-regex31.c: New file.
30242         * posix/Makefile: Add rules to build and run bug-regex31.
30244         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
30246         [BZ #12078]
30247         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
30249         [BZ #12108]
30250         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
30251         to have entries in sys_siglist.
30253         [BZ #12093]
30254         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
30255         be NULL.
30257 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
30259         [BZ #3268]
30260         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
30261         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
30262         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
30263         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
30264         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
30265         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
30266         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
30267         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
30268         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
30269         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
30270         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
30271         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
30272         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
30273         * math/ftestexcept.c (fetestexcept): Likewise.
30274         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
30275         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
30276         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
30277         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
30278         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
30279         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
30280         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
30282 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
30284         [BZ #12107]
30285         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
30286         newline.
30288 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
30290         * string/bug-strstr1.c: New file.
30291         * string/Makefile: Add rules to build and run bug-strstr1.
30293 2010-10-05  Eric Blake  <eblake@redhat.com>
30295         [BZ #12092]
30296         * string/str-two-way.h (two_way_long_needle): Always clear memory
30297         when skipping input due to the shift table.
30299 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
30301         [BZ #12005]
30302         * malloc/mcheck.c: Handle large requests.
30304         [BZ #12077]
30305         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
30306         for strncmp and strncasecmp.
30307         * string/stratcliff.c: Add tests for strcmp and strncmp.
30308         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
30310 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
30312         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
30313         __set_fpscr.
30315 2010-09-30  Andreas Jaeger  <aj@suse.de>
30317         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
30318         (CGROUP_SUPER_MAGIC): Define.
30319         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
30320         Handle btrfs and cgroup file systems.
30321         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
30322         Likewise.
30324 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
30326         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
30327         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
30329 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
30331         [BZ #12067]
30332         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
30333         trying to locate the ELF header.
30335 2010-09-27  Andreas Schwab  <schwab@redhat.com>
30337         [BZ #11611]
30338         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
30339         Mask out sign-bit copies when constructing f_fsid.
30341 2010-09-24  Petr Baudis <pasky@suse.cz>
30343         * debug/stack_chk_fail_local.c: Add missing licence exception.
30344         * debug/warning-nop.c: Likewise.
30346 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
30348         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
30349         implementing getdents64 using getdents syscall, set d_type if
30350         __ASSUME_GETDENTS32_D_TYPE.
30352 2010-09-16  Andreas Schwab  <schwab@redhat.com>
30354         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
30355         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
30357 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
30359         [BZ #12037]
30360         * posix/unistd.h: Undo change of feature selection for ftruncate from
30361         2010-01-11.
30363 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
30365         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
30366         detection.
30368 2010-09-20  Andreas Schwab  <schwab@redhat.com>
30370         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
30371         fanotify_mark.
30372         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
30374 2010-09-14  Andreas Schwab  <schwab@redhat.com>
30376         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
30377         variables after CHECK_SP call.
30378         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
30380 2010-09-13  Andreas Schwab  <schwab@redhat.com>
30381             Ulrich Drepper  <drepper@redhat.com>
30383         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
30384         re-relocationg ld.so.
30385         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
30386         _dl_init_paths call.
30387         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
30388         here anymore.
30390 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
30392         * resolv/res_init.c (__res_vinit): Count the default server we added.
30394 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
30395             Ulrich Drepper  <drepper@redhat.com>
30397         [BZ #11968]
30398         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
30399         (____longjmp_chk): Use %ebx for saving value across system call.
30400         Add unwind info.
30402 2010-09-06  Andreas Schwab  <schwab@redhat.com>
30404         * manual/Makefile: Don't mix pattern rules with normal rules.
30406 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
30408         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
30409         operation.
30410         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
30411         * libio/iofopncook.c (_IO_cookie_init): Likewise.
30412         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
30413         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
30414         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
30415         Likewise.
30417 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
30419         [BZ #11979]
30420         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
30421         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
30423 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
30425         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
30426         * sysdeps/x86_64/addmul_1.S: Likewise.
30427         * sysdeps/x86_64/lshift.S: Likewise.
30428         * sysdeps/x86_64/mul_1.S: Likewise.
30429         * sysdeps/x86_64/rshift.S: Likewise.
30430         * sysdeps/x86_64/sub_n.S: Likewise.
30431         * sysdeps/x86_64/submul_1.S: Likewise.
30433 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
30435         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
30436         Define __sched_param instead of SCHED_* and sched_param when
30437         <bits/sched.h> is included with __need_schedparam defined.
30438         * bits/sched.h [__need_schedparam]
30439         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
30440         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
30441         (__defined_schedparam): Define to 1.
30442         (__sched_param): New structure, identical to sched_param.
30443         (__need_schedparam): Undefine.
30445 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
30447         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
30448         (epoll_create1): Declare.
30450         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
30452 2010-08-31  Andreas Schwab  <schwab@redhat.com>
30454         [BZ #7066]
30455         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
30456         shifting retval into place.
30458 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
30460         * nis/rpcsvc/nis.h: Update copyright notice.
30461         * nis/rpcsvc/nis.x: Likewise.
30462         * nis/rpcsvc/nis_callback.h: Likewise.
30463         * nis/rpcsvc/nis_callback.x: Likewise.
30464         * nis/rpcsvc/nis_object.x: Likewise.
30465         * nis/rpcsvc/nis_tags.h: Likewise.
30466         * nis/rpcsvc/yp.h: Likewise.
30467         * nis/rpcsvc/yp.x: Likewise.
30468         * nis/rpcsvc/ypupd.h: Likewise.
30469         * nis/yp_xdr.c: Likewise.
30470         * nis/ypupdate_xdr.c: Likewise.
30472         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
30473         mainly the body of pmap_getport.  Add parameters to specify timeouts.
30474         (pmap_getport): Use __libc_rpc_getport.
30475         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
30476         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
30477         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
30479 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
30481         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
30482         fanotify_mark.
30484 2010-08-27  Roland McGrath  <roland@redhat.com>
30486         * sysdeps/i386/i686/multiarch/Makefile
30487         (CFLAGS-varshift.c): New variable.
30489 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
30491         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
30492         * sysdeps/i386/i686/multiarch/varshift.c: New file.
30494         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
30496         * sysdeps/x86_64/strlen.S: Minimal code improvement.
30498 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
30500         * sysdeps/x86_64/strlen.S: Unroll the loop.
30501         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
30502         strlen-sse2 strlen-sse2-bsf.
30503         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
30504         __strlen_no_bsf if bit_Slow_BSF is set.
30505         (__strlen_sse42): Removed.
30506         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
30507         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
30509 2010-08-25  Roland McGrath  <roland@redhat.com>
30511         * sysdeps/x86_64/multiarch/varshift.S: File removed.
30512         * sysdeps/x86_64/multiarch/varshift.c: New file.
30513         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
30514         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
30515         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
30516         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
30518 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
30520         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
30521         strlen-sse2 strlen-sse2-bsf.
30522         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
30523         __strlen_sse2_bsf if bit_Slow_BSF is unset.
30524         (__strlen_sse2): Removed.
30525         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
30526         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
30527         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
30528         bit_Slow_BSF for Atom.
30529         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
30530         (index_Slow_BSF): Define.
30531         (HAS_SLOW_BSF): Define.
30533 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
30535         [BZ #10851]
30536         * resolv/res_init.c (__res_vinit): When no server address at all
30537         is given default to loopback.
30539 2010-08-24  Roland McGrath  <roland@redhat.com>
30541         * configure.in: Remove config-name.h generation.
30542         * configure: Regenerated.
30543         * config-name.in: File removed.
30544         * scripts/config-uname.sh: New file.
30545         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
30546         ($(objdir)config-name.h): New target.
30548         * sunrpc/rpc_parse.h: Avoid nested comment.
30550 2010-08-24  Richard Henderson  <rth@redhat.com>
30551             Ulrich Drepper  <drepper@redhat.com>
30552             H.J. Lu  <hongjiu.lu@intel.com>
30554         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
30555         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
30556         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
30557         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
30558         _mm_alignr_epi8 with _mm_loadu_si128.
30559         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
30560         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
30561         (__m128i_shift_right): Removed.
30562         * sysdeps/i386/i686/multiarch/varshift.h: New file.
30563         * sysdeps/i386/i686/multiarch/varshift.S: New file.
30564         * sysdeps/x86_64/multiarch/varshift.h: New file.
30565         * sysdeps/x86_64/multiarch/varshift.S: New file.
30567 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
30569         * configure.in: Move assembler checks to before sysdep dir checking.
30571 2010-08-20  Petr Baudis  <pasky@suse.cz>
30573         * LICENSES: Sync the sunrpc license.
30575 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
30577         * sunrpc/auth_des.c: Update copyright notice once again.
30578         * sunrpc/auth_none.c: Likewise.
30579         * sunrpc/auth_unix.c: Likewise.
30580         * sunrpc/authdes_prot.c: Likewise.
30581         * sunrpc/authuxprot.c: Likewise.
30582         * sunrpc/bindrsvprt.c: Likewise.
30583         * sunrpc/clnt_gen.c: Likewise.
30584         * sunrpc/clnt_perr.c: Likewise.
30585         * sunrpc/clnt_raw.c: Likewise.
30586         * sunrpc/clnt_simp.c: Likewise.
30587         * sunrpc/clnt_tcp.c: Likewise.
30588         * sunrpc/clnt_udp.c: Likewise.
30589         * sunrpc/clnt_unix.c: Likewise.
30590         * sunrpc/des_crypt.c: Likewise.
30591         * sunrpc/des_soft.c: Likewise.
30592         * sunrpc/get_myaddr.c: Likewise.
30593         * sunrpc/getrpcport.c: Likewise.
30594         * sunrpc/key_call.c: Likewise.
30595         * sunrpc/key_prot.c: Likewise.
30596         * sunrpc/openchild.c: Likewise.
30597         * sunrpc/pm_getmaps.c: Likewise.
30598         * sunrpc/pm_getport.c: Likewise.
30599         * sunrpc/pmap_clnt.c: Likewise.
30600         * sunrpc/pmap_prot.c: Likewise.
30601         * sunrpc/pmap_prot2.c: Likewise.
30602         * sunrpc/pmap_rmt.c: Likewise.
30603         * sunrpc/rpc/auth.h: Likewise.
30604         * sunrpc/rpc/auth_unix.h: Likewise.
30605         * sunrpc/rpc/clnt.h: Likewise.
30606         * sunrpc/rpc/des_crypt.h: Likewise.
30607         * sunrpc/rpc/key_prot.h: Likewise.
30608         * sunrpc/rpc/netdb.h: Likewise.
30609         * sunrpc/rpc/pmap_clnt.h: Likewise.
30610         * sunrpc/rpc/pmap_prot.h: Likewise.
30611         * sunrpc/rpc/pmap_rmt.h: Likewise.
30612         * sunrpc/rpc/rpc.h: Likewise.
30613         * sunrpc/rpc/rpc_des.h: Likewise.
30614         * sunrpc/rpc/rpc_msg.h: Likewise.
30615         * sunrpc/rpc/svc.h: Likewise.
30616         * sunrpc/rpc/svc_auth.h: Likewise.
30617         * sunrpc/rpc/types.h: Likewise.
30618         * sunrpc/rpc/xdr.h: Likewise.
30619         * sunrpc/rpc_clntout.c: Likewise.
30620         * sunrpc/rpc_cmsg.c: Likewise.
30621         * sunrpc/rpc_common.c: Likewise.
30622         * sunrpc/rpc_cout.c: Likewise.
30623         * sunrpc/rpc_dtable.c: Likewise.
30624         * sunrpc/rpc_hout.c: Likewise.
30625         * sunrpc/rpc_main.c: Likewise.
30626         * sunrpc/rpc_parse.c: Likewise.
30627         * sunrpc/rpc_parse.h: Likewise.
30628         * sunrpc/rpc_prot.c: Likewise.
30629         * sunrpc/rpc_sample.c: Likewise.
30630         * sunrpc/rpc_scan.c: Likewise.
30631         * sunrpc/rpc_scan.h: Likewise.
30632         * sunrpc/rpc_svcout.c: Likewise.
30633         * sunrpc/rpc_tblout.c: Likewise.
30634         * sunrpc/rpc_util.c: Likewise.
30635         * sunrpc/rpc_util.h: Likewise.
30636         * sunrpc/rpcinfo.c: Likewise.
30637         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
30638         * sunrpc/rpcsvc/key_prot.x: Likewise.
30639         * sunrpc/rpcsvc/klm_prot.x: Likewise.
30640         * sunrpc/rpcsvc/mount.x: Likewise.
30641         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
30642         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
30643         * sunrpc/rpcsvc/rex.x: Likewise.
30644         * sunrpc/rpcsvc/rstat.x: Likewise.
30645         * sunrpc/rpcsvc/rusers.x: Likewise.
30646         * sunrpc/rpcsvc/sm_inter.x: Likewise.
30647         * sunrpc/rpcsvc/spray.x: Likewise.
30648         * sunrpc/rpcsvc/yppasswd.x: Likewise.
30649         * sunrpc/rtime.c: Likewise.
30650         * sunrpc/svc.c: Likewise.
30651         * sunrpc/svc_auth.c: Likewise.
30652         * sunrpc/svc_authux.c: Likewise.
30653         * sunrpc/svc_raw.c: Likewise.
30654         * sunrpc/svc_run.c: Likewise.
30655         * sunrpc/svc_simple.c: Likewise.
30656         * sunrpc/svc_tcp.c: Likewise.
30657         * sunrpc/svc_udp.c: Likewise.
30658         * sunrpc/svc_unix.c: Likewise.
30659         * sunrpc/svcauth_des.c: Likewise.
30660         * sunrpc/xcrypt.c: Likewise.
30661         * sunrpc/xdr.c: Likewise.
30662         * sunrpc/xdr_array.c: Likewise.
30663         * sunrpc/xdr_float.c: Likewise.
30664         * sunrpc/xdr_mem.c: Likewise.
30665         * sunrpc/xdr_rec.c: Likewise.
30666         * sunrpc/xdr_ref.c: Likewise.
30667         * sunrpc/xdr_sizeof.c: Likewise.
30668         * sunrpc/xdr_stdio.c: Likewise.
30670         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
30671         handling.
30673 2010-08-19  Andreas Schwab  <schwab@redhat.com>
30675         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
30677 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
30679         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
30680         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
30681         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
30682         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
30683         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
30684         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
30685         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
30686         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
30687         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
30688         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
30689         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
30690         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
30691         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
30692         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
30694 2010-07-26  Anton Blanchard  <anton@samba.org>
30696         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
30697         * malloc/arena.c (heap_trim): Likewise.
30699 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
30701         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
30702         here.  Not...
30703         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
30704         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
30706 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
30708         * sysdeps/i386/elf/Makefile: New file.
30710 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
30712         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
30713         from fanotify_init.
30714         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
30715         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
30717 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
30719         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
30720         of strncasecmp_l.
30721         * sysdeps/multiarch/strcmp.S: Likewise.
30723 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
30725         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
30726         strncase_l-nonascii.
30727         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
30728         Add strncase_l-ssse3.
30729         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
30730         * sysdeps/x86_64/strcmp.S: Likewise.
30731         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
30732         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
30733         * sysdeps/x86_64/strncase.S: New file.
30734         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
30735         * sysdeps/x86_64/strncase_l.S: New file.
30736         * string/Makefile (strop-tests): Add strncasecmp.
30737         * string/test-strncasecmp.c: New file.
30739         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
30740         warning.
30742         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
30743         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
30745 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
30747         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
30749 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
30751         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
30752         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
30753         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
30755 2010-05-01  Alan Modra  <amodra@gmail.com>
30757         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
30758         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
30759         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
30760         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
30761         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
30762         tidying.  Don't tail-call __sigjmp_save for static lib.
30763         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
30764         save location.
30765         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
30766         (CALL_MCOUNT): Add eh info, and nop after bl.
30767         (TAIL_CALL_SYSCALL_ERROR): New macro.
30768         (PSEUDO_RET): Use it.
30769         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
30770         Correct save location of integer regs and cr.
30771         (_dl_profile_resolve): Correct cr save location.  Delete nops
30772         after bl when SHARED.  Reduce cfi size a little by better
30773         placement of cfi directives.
30774         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
30775         make a stack frame.  Instead use parm save area as a temp.
30776         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
30777         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
30778         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
30779         Don't make a stack frame for parent, use parm save area.
30780         Increase child stack frame to 112 bytes.  Don't save unused reg,
30781         and adjust reg usage.  Set up cfi on error recovery and
30782         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
30783         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
30784         (__makecontext): Add dummy nop after jump to exit.
30785         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
30786         Use correct parm save area and cr save, reduce stack frame.
30787         Correct cfi for possible PSEUDO_RET frame setup.
30788         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
30789         Branch to local label emitted by PSEUDO_RET rather than
30790         __syscall_error.
30792 2010-08-12  Andreas Schwab  <schwab@redhat.com>
30794         [BZ #11904]
30795         * locale/programs/locale.c (print_assignment): New function.
30796         (show_locale_vars): Use it.
30798 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
30800         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
30801         field.
30802         (struct statfs64): Likewise.
30803         (_STATFS_F_FLAGS): Define.
30804         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
30805         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
30806         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
30807         (ST_VALID): Define locally.
30808         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
30809         __statvfs_getflags, use the provided value.
30810         * sysdeps/unix/sysv/linux/kernel-features.h: Define
30811         __ASSUME_STATFS_F_FLAGS.
30813         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
30815         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
30816         Add sys/fanotify.h.
30817         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
30818         fanotify_mask for GLIBC_2.13.
30819         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
30820         fanotify_init and fanotify_mark.
30821         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
30822         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
30824         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
30825         Add prlimit.
30826         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
30827         prlimit64 for GLIBC_2.13.
30828         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
30829         prlimit64.
30830         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
30831         syscall.
30832         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
30833         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
30834         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
30835         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
30836         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
30837         add prlimit alias.
30838         * sysdeps/unix/sysv/linux/prlimit.c: New file.
30840         [BZ #11903]
30841         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
30842         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
30844         * nss/Makefile: Add rules to build and run tst-nss-test1.
30845         * shlib-versions: Add entry for libnss_test1.
30846         * nss/nss_test1.c: New file.
30847         * nss/tst-nss-test1.c: New file.
30849         * nss/nsswitch.c (__nss_database_custom): Define new variable.
30850         (__nss_configure_lookup): Set appropriate entry in
30851         __nss_configure_lookup to true.
30852         * nss/nsswitch.h: Define enum with indeces of databases in
30853         databases and __nss_database_custom arrays.  Declare
30854         __nss_database_custom.
30855         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
30856         to avoid using nscd when custom rules are installed.
30857         * nss/getXXbyYY_r.c: Likewise.
30858         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
30860         * nss/nss_files/files-parse.c: Whitespace fixes.
30862 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
30864         [BZ #11883]
30865         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
30866         * posix/fnmatch_loop.c: Likewise.
30868 2010-07-17  Andi Kleen  <ak@linux.intel.com>
30870         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
30871         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
30872         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
30873         * Versions.def [GLIBC_2.13]: Add.
30875 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
30877         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
30878         Also fail if tpwd after pwuid call is NULL.
30880 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
30882         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
30883         when converting to ms.
30885 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
30887         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
30888         EOPNOTSUPP errors with ENOTTY.
30889         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
30890         EOPNOTSUPP errors with ENOTTY.
30892 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
30894         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
30895         Add strcasecmp_l-ssse3.
30896         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
30897         strcasecmp.
30898         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
30899         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
30900         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
30902 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
30904         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
30906         * string/Makefile (strop-tests): Add strcasecmp.
30907         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
30908         strcasecmp_l-nonascii.
30909         (gen-as-const-headers): Add locale-defines.sym.
30910         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
30911         * sysdeps/x86_64/strcasecmp.S: New file.
30912         * sysdeps/x86_64/strcasecmp_l.S: New file.
30913         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
30914         * sysdeps/x86_64/locale-defines.sym: New file.
30915         * string/test-strcasecmp.c: New file.
30917         * string/test-strcasestr.c: Test both ends of the range of characters.
30918         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
30920 2010-07-29  Roland McGrath  <roland@redhat.com>
30922         [BZ #11856]
30923         * manual/locale.texi (Yes-or-No Questions): Fix example code.
30925 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
30927         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
30928         for ld.so.
30930 2010-07-27  Andreas Schwab  <schwab@redhat.com>
30932         * manual/memory.texi (Malloc Tunable Parameters): Document
30933         M_PERTURB.
30935 2010-07-26  Roland McGrath  <roland@redhat.com>
30937         [BZ #11840]
30938         * configure.in (-fgnu89-inline check): Set and substitute
30939         gnu89_inline, not libc_cv_gnu89_inline.
30940         * configure: Regenerated.
30941         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
30943 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
30945         * string/test-strnlen.c: New file.
30946         * string/Makefile (strop-tests): Add strnlen.
30947         * string/tester.c (test_strnlen): Add a few more test cases.
30948         * string/tst-strlen.c: Better error reporting.
30950         * sysdeps/x86_64/strnlen.S: New file.
30952 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
30954         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
30955         lower-latency instructions.
30957 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
30959         * string/test-strcasestr.c: New file.
30960         * string/test-strstr.c: New file.
30961         * string/Makefile (strop-tests): Add strstr and strcasestr.
30962         * string/str-two-way.h: Don't undefine MAX.
30963         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
30965 2010-07-21  Andreas Schwab  <schwab@redhat.com>
30967         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
30968         strcasestr-nonascii.
30969         (CFLAGS-strcasestr-nonascii.c): Define.
30970         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
30971         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
30972         Remove unused attribute.
30974 2010-07-20  Roland McGrath  <roland@redhat.com>
30976         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
30977         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
30978         ld.so.cache was broken.  With it, there is no way to disable dsocaps
30979         like LD_HWCAP_MASK can disable hwcaps.
30981 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
30983         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
30985 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
30987         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
30988         call in strcasestr.
30989         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
30990         __strcasestr_sse42_nonascii.
30991         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
30992         strcasestr-nonascii.c.
30993         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
30995 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
30997         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
30998         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
30999         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
31000         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
31002 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
31004         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
31005         fcntl.
31007 2010-07-06  Andreas Schwab  <schwab@redhat.com>
31009         [BZ #11577]
31010         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
31011         dl_signal_cerror.
31013 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
31015         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
31016         _PC_PIPE_BUF using F_GETPIPE_SZ.
31018 2010-07-05  Roland McGrath  <roland@redhat.com>
31020         * manual/arith.texi (Rounding Functions): Fix rint description
31021         implicit in round description.
31023 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
31025         * elf/Makefile: Fix linking for a few tests to make recent linker
31026         happy.
31028 2010-06-30  Andreas Schwab  <schwab@redhat.com>
31030         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
31031         $(common-objpfx)libc_nonshared.a.
31033 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
31035         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
31036         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
31037         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
31038         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
31039         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
31040         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
31041         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
31042         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
31043         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
31044         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
31045         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
31046         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
31047         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
31048         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
31049         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
31050         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
31051         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
31052         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
31053         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
31054         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
31055         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
31056         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
31057         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
31058         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
31059         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
31060         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
31061         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
31062         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
31063         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
31064         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
31065         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
31066         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
31067         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
31068         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
31069         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
31070         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
31071         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
31072         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
31073         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
31074         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
31075         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
31076         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
31077         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
31078         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
31079         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
31080         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
31081         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
31082         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
31084 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
31086         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
31087         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
31088         * string/memmove.c (memmove): Renamed to ...
31089         (MEMMOVE): ...this.  Default to memmove.
31090         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
31091         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
31092         (END_CHK): Define.
31093         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
31094         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
31095         mempcpy-ssse3-back memmove-ssse3-back.
31096         * sysdeps/x86_64/multiarch/bcopy.S: New file .
31097         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
31098         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
31099         * sysdeps/x86_64/multiarch/memcpy.S: New file.
31100         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
31101         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
31102         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
31103         * sysdeps/x86_64/multiarch/memmove.c: New file.
31104         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
31105         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
31106         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
31107         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
31108         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
31109         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
31110         Define.
31111         (index_Fast_Copy_Backward): Define.
31112         (HAS_ARCH_FEATURE): Define.
31113         (HAS_FAST_REP_STRING): Define.
31114         (HAS_FAST_COPY_BACKWARD): Define.
31116 2010-06-21  Andreas Schwab  <schwab@redhat.com>
31118         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
31119         Restore proper fallback handling.
31121 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
31123         [BZ #11701]
31124         * posix/group_member.c (__group_member): Correct checking loop.
31126         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
31127         OOM in getpwuid_r correctly.  Return error number when the caller
31128         should return, otherwise -1.
31129         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
31130         call returning > 0 value.
31131         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
31133 2010-06-07  Andreas Schwab  <schwab@redhat.com>
31135         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
31136         libc_nonshared.a from targets in modules-names.
31138 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
31140         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
31141         requires it.
31143 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
31145         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
31146         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
31147         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
31148         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
31150 2010-06-02  Andreas Schwab  <schwab@redhat.com>
31152         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
31154 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
31156         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
31157         and F_GETPIPE_SZ.
31158         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
31159         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
31160         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
31161         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
31162         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
31163         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
31165 2010-06-14  Roland McGrath  <roland@redhat.com>
31167         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
31169 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
31171         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
31172         __REDIRECT followed by __THROW.
31173         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
31174         * posix/getopt.h (getopt): Likewise.
31176 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
31178         * hurd/lookup-at.c (__file_name_lookup_at): Accept
31179         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
31180         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
31181         in AT_FLAGS.
31182         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
31183         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
31185 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
31187         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
31189 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
31191         [BZ #11640]
31192         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
31193         Properly check family and model.
31195 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
31197         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
31199 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
31201         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
31203 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
31205         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
31206         symbol reference.
31208 2010-05-19  Andreas Schwab  <schwab@redhat.com>
31210         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
31211         symbol reference.
31213 2010-05-21  Andreas Schwab  <schwab@redhat.com>
31215         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
31216         and internal_recvmmsg.
31217         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
31218         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
31219         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
31220         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
31222         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
31223         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
31224         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
31226 2010-05-20  Andreas Schwab  <schwab@redhat.com>
31228         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
31230 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
31232         POWER7 optimizations.
31233         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
31234         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
31236 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
31238         * version.h: Update for 2.13 development version.
31240 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
31242         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
31243         exceptions.  Return 0.
31245 2010-05-07  Roland McGrath  <roland@redhat.com>
31247         * elf/ldconfig.c (main): Add a const.
31249 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
31251         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
31252         (args_options): Add no-idn option.
31253         (ahosts_keys_int): Add idn_flags to ai_flags.
31254         (parse_option): Handle 'i' option to clear idn_flags.
31256         * malloc/malloc.c (_int_free): Possible race in the most recently
31257         added check.  Only act on the data if no current modification
31258         happened.
31260 See ChangeLog.17 for earlier changes.