Move mips from ports to libc.
[glibc.git] / ChangeLog
blobc457d8b72f9fa2294b4f436dd19b365562a81ba0
1 2014-02-10  Joseph Myers  <joseph@codesourcery.com>
3         * sysdeps/mips: Move directory from ports/sysdeps/mips.
4         * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
5         * sysdeps/unix/sysv/linux/mips: Move directory from
6         ports/sysdeps/unix/sysv/linux/mips.
7         * README: Update listing for mips-*-linux-gnu and
8         mips64-*-linux-gnu.
10 2014-02-10  Andreas Schwab  <schwab@linux-m68k.org>
12         * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
13         * sysdeps/unix/sysv/linux/m68k: Move directory from
14         ports/sysdeps/unix/sysv/linux/m68k.
15         * README: Update listing for m68k-*-linux-gnu.
17 2014-02-10  Chris Metcalf  <cmetcalf@tilera.com>
19         * sysdeps/tile: Move directory from ports/sysdeps/tile.
20         * sysdeps/unix/sysv/linux/generic: Move directory from
21         ports/sysdeps/unix/sysv/linux/generic.
22         * sysdeps/unix/sysv/linux/tile: Move directory from
23         ports/sysdeps/unix/sysv/linux/tile.
24         * README: Update listing for tile*-*-linux-gnu.
26 2014-02-10  Ondřej Bílka  <neleai@seznam.cz>
28         * assert/assert.c (__assert_fail_base): Use glibc_likely instead __builtin_expect.
29         * benchtests/bench-memmem.c (simple_memmem): Likewise.
30         * catgets/open_catalog.c (__open_catalog): Likewise.
31         * csu/libc-start.c (LIBC_START_MAIN): Likewise.
32         * debug/confstr_chk.c: Likewise.
33         * debug/fread_chk.c (__fread_chk): Likewise.
34         * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
35         * debug/getgroups_chk.c: Likewise.
36         * debug/mbsnrtowcs_chk.c: Likewise.
37         * debug/mbsrtowcs_chk.c: Likewise.
38         * debug/mbstowcs_chk.c: Likewise.
39         * debug/memcpy_chk.c: Likewise.
40         * debug/memmove_chk.c: Likewise.
41         * debug/mempcpy_chk.c: Likewise.
42         * debug/memset_chk.c: Likewise.
43         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
44         * debug/strcat_chk.c (__strcat_chk): Likewise.
45         * debug/strcpy_chk.c (__strcpy_chk): Likewise.
46         * debug/strncat_chk.c (__strncat_chk): Likewise.
47         * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
48         * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
49         * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
50         * debug/wcpncpy_chk.c: Likewise.
51         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
52         * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
53         * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
54         * debug/wcsncpy_chk.c: Likewise.
55         * debug/wcsnrtombs_chk.c: Likewise.
56         * debug/wcsrtombs_chk.c: Likewise.
57         * debug/wcstombs_chk.c: Likewise.
58         * debug/wmemcpy_chk.c: Likewise.
59         * debug/wmemmove_chk.c: Likewise.
60         * debug/wmempcpy_chk.c: Likewise.
61         * debug/wmemset_chk.c: Likewise.
62         * dirent/scandirat.c (SCANDIRAT): Likewise.
63         * dlfcn/dladdr1.c (dladdr1): Likewise.
64         * dlfcn/dladdr.c (dladdr): Likewise.
65         * dlfcn/dlclose.c (dlclose_doit): Likewise.
66         * dlfcn/dlerror.c (__dlerror): Likewise.
67         * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
68         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
69         * dlfcn/dlopen.c (dlopen_doit): Likewise.
70         * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
71         * dlfcn/dlsym.c (dlsym_doit): Likewise.
72         * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
73         * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
74         * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
75         Likewise.
76         * elf/dl-conflict.c: Likewise.
77         * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
78         * elf/dl-dst.h: Likewise.
79         * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
80         * elf/dl-fptr.c (_dl_make_fptr): Likewise.
81         * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
82         * elf/dl-init.c (call_init, _dl_init): Likewise.
83         * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
84         * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths,
85         _dl_map_object_from_fd, open_verify, open_path,
86         _dl_map_object): Likewise.
87         * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
88         Likewise.
89         * elf/dl-minimal.c (__libc_memalign): Likewise.
90         * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
91         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
92         * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
93         * elf/dl-sym.c (do_sym): Likewise.
94         * elf/dl-tls.c (tls_get_addr_tail, update_get_addr, __tls_get_addr,
95         _dl_tls_get_addr_soft): Likewise.
96         * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
97         * elf/dl-writev.h (_dl_writev): Likewise.
98         * elf/ldconfig.c (search_dir): Likewise.
99         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload,
100         dl_main): Likewise.
101         * elf/setup-vdso.h (setup_vdso): Likewise.
102         * grp/compat-initgroups.c (compat_call): Likewise.
103         * grp/fgetgrent.c (fgetgrent): Likewise.
104         * grp/initgroups.c (getgrouplist, initgroups): Likewise.
105         * grp/putgrent.c (putgrent): Likewise.
106         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
107         Likewise.
108         * hurd/hurdinit.c: Likewise.
109         * iconvdata/8bit-gap.c (struct): Likewise.
110         * iconvdata/ansi_x3.110.c : Likewise.
111         * iconvdata/big5.c : Likewise.
112         * iconvdata/big5hkscs.c : Likewise.
113         * iconvdata/cp1255.c: Likewise.
114         * iconvdata/cp1258.c : Likewise.
115         * iconvdata/cp932.c : Likewise.
116         * iconvdata/euc-cn.c: Likewise.
117         * iconvdata/euc-jisx0213.c : Likewise.
118         * iconvdata/euc-jp.c: Likewise.
119         * iconvdata/euc-jp-ms.c : Likewise.
120         * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
121         * iconvdata/gb18030.c : Likewise.
122         * iconvdata/gbbig5.c (const): Likewise.
123         * iconvdata/gbgbk.c: Likewise.
124         * iconvdata/gbk.c : Likewise.
125         * iconvdata/ibm1364.c : Likewise.
126         * iconvdata/ibm930.c : Likewise.
127         * iconvdata/ibm932.c: Likewise.
128         * iconvdata/ibm933.c : Likewise.
129         * iconvdata/ibm935.c : Likewise.
130         * iconvdata/ibm937.c : Likewise.
131         * iconvdata/ibm939.c : Likewise.
132         * iconvdata/ibm943.c: Likewise.
133         * iconvdata/iso_11548-1.c: Likewise.
134         * iconvdata/iso-2022-cn.c : Likewise.
135         * iconvdata/iso-2022-cn-ext.c : Likewise.
136         * iconvdata/iso-2022-jp-3.c: Likewise.
137         * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
138         * iconvdata/iso-2022-kr.c : Likewise.
139         * iconvdata/iso646.c (gconv_end): Likewise.
140         * iconvdata/iso_6937-2.c : Likewise.
141         * iconvdata/iso_6937.c : Likewise.
142         * iconvdata/iso8859-1.c: Likewise.
143         * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
144         * iconvdata/shift_jisx0213.c : Likewise.
145         * iconvdata/sjis.c : Likewise.
146         * iconvdata/t.61.c : Likewise.
147         * iconvdata/tcvn5712-1.c : Likewise.
148         * iconvdata/tscii.c: Likewise.
149         * iconvdata/uhc.c : Likewise.
150         * iconvdata/unicode.c (gconv_end): Likewise.
151         * iconvdata/utf-16.c (gconv_end): Likewise.
152         * iconvdata/utf-32.c (gconv_end): Likewise.
153         * iconvdata/utf-7.c (base64): Likewise.
154         * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
155         * iconv/gconv_close.c (__gconv_close): Likewise.
156         * iconv/gconv_open.c (__gconv_open): Likewise.
157         * iconv/gconv_simple.c (internal_ucs4_loop_single, ucs4_internal_loop,
158         ucs4_internal_loop_unaligned, ucs4_internal_loop_single,
159         internal_ucs4le_loop_single, ucs4le_internal_loop,
160         ucs4le_internal_loop_unaligned, ucs4le_internal_loop_single): Likewise.
161         * iconv/iconv.c (iconv): Likewise.
162         * iconv/iconv_close.c: Likewise.
163         * iconv/loop.c (SINGLE): Likewise.
164         * iconv/skeleton.c (FUNCTION_NAME): Likewise.
165         * include/atomic.h: Likewise.
166         * inet/inet6_option.c (option_alloc): Likewise.
167         * intl/bindtextdom.c (set_binding_values): Likewise.
168         * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
169         * intl/loadmsgcat.c (_nl_load_domain): Likewise.
170         * intl/localealias.c (read_alias_file): Likewise.
171         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
172         * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap,
173         _IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
174         * libio/fmemopen.c (fmemopen): Likewise.
175         * libio/iofgets.c (_IO_fgets): Likewise.
176         * libio/iofgets_u.c (fgets_unlocked): Likewise.
177         * libio/iofgetws.c (fgetws): Likewise.
178         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
179         * libio/iogetdelim.c (_IO_getdelim): Likewise.
180         * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap,
181         adjust_wide_data, _IO_wfile_seekoff): Likewise.
182         * locale/findlocale.c (_nl_find_locale): Likewise.
183         * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
184         * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
185         Likewise.
186         * locale/setlocale.c (setlocale): Likewise.
187         * login/programs/pt_chown.c (main): Likewise.
188         * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
189         * malloc/malloc.c (_int_malloc, _int_free): Likewise.
190         * malloc/memusage.c (update_data, malloc, realloc, calloc, free,
191         mmap, mmap64, mremap, munmap): Likewise.
192         * math/e_exp2l.c: Likewise.
193         * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
194         * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
195         * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
196         * math/s_catan.c (__catan): Likewise.
197         * math/s_catanf.c (__catanf): Likewise.
198         * math/s_catanh.c (__catanh): Likewise.
199         * math/s_catanhf.c (__catanhf): Likewise.
200         * math/s_catanhl.c (__catanhl): Likewise.
201         * math/s_catanl.c (__catanl): Likewise.
202         * math/s_ccosh.c (__ccosh): Likewise.
203         * math/s_ccoshf.c (__ccoshf): Likewise.
204         * math/s_ccoshl.c (__ccoshl): Likewise.
205         * math/s_cexp.c (__cexp): Likewise.
206         * math/s_cexpf.c (__cexpf): Likewise.
207         * math/s_cexpl.c (__cexpl): Likewise.
208         * math/s_clog10.c (__clog10): Likewise.
209         * math/s_clog10f.c (__clog10f): Likewise.
210         * math/s_clog10l.c (__clog10l): Likewise.
211         * math/s_clog.c (__clog): Likewise.
212         * math/s_clogf.c (__clogf): Likewise.
213         * math/s_clogl.c (__clogl): Likewise.
214         * math/s_csin.c (__csin): Likewise.
215         * math/s_csinf.c (__csinf): Likewise.
216         * math/s_csinh.c (__csinh): Likewise.
217         * math/s_csinhf.c (__csinhf): Likewise.
218         * math/s_csinhl.c (__csinhl): Likewise.
219         * math/s_csinl.c (__csinl): Likewise.
220         * math/s_csqrt.c (__csqrt): Likewise.
221         * math/s_csqrtf.c (__csqrtf): Likewise.
222         * math/s_csqrtl.c (__csqrtl): Likewise.
223         * math/s_ctan.c (__ctan): Likewise.
224         * math/s_ctanf.c (__ctanf): Likewise.
225         * math/s_ctanh.c (__ctanh): Likewise.
226         * math/s_ctanhf.c (__ctanhf): Likewise.
227         * math/s_ctanhl.c (__ctanhl): Likewise.
228         * math/s_ctanl.c (__ctanl): Likewise.
229         * math/w_pow.c: Likewise.
230         * math/w_powf.c: Likewise.
231         * math/w_powl.c: Likewise.
232         * math/w_scalb.c (sysv_scalb): Likewise.
233         * math/w_scalbf.c (sysv_scalbf): Likewise.
234         * math/w_scalbl.c (sysv_scalbl): Likewise.
235         * misc/error.c (error_tail): Likewise.
236         * misc/pselect.c (__pselect): Likewise.
237         * nis/nis_callback.c (__nis_create_callback): Likewise.
238         * nis/nis_call.c (__nisfind_server): Likewise.
239         * nis/nis_creategroup.c (nis_creategroup): Likewise.
240         * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
241         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
242         * nis/nis_getservlist.c (nis_getservlist): Likewise.
243         * nis/nis_lookup.c (nis_lookup): Likewise.
244         * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
245         * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry,
246         nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
247         * nis/nis_xdr.c (xdr_endpoint): Likewise.
248         * nis/nss_compat/compat-grp.c (getgrent_next_file, internal_getgrnam_r,
249         internal_getgrgid_r): Likewise.
250         * nis/nss_compat/compat-initgroups.c (add_group, internal_getgrent_r):
251         Likewise.
252         * nis/nss_compat/compat-pwd.c (getpwent_next_file, internal_getpwnam_r,
253         internal_getpwuid_r): Likewise.
254         * nis/nss_compat/compat-spwd.c (getspent_next_file,
255         internal_getspnam_r): Likewise.
256         * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r,
257         _nss_nis_getaliasbyname_r): Likewise.
258         * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r,
259         _nss_nis_getntohost_r): Likewise.
260         * nis/nss_nis/nis-grp.c (internal_nis_setgrent,
261         internal_nis_getgrent_r, _nss_nis_getgrnam_r, _nss_nis_getgrgid_r):
262         Likewise.
263         * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent,
264         internal_nis_gethostent_r, internal_gethostbyname2_r,
265         _nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r,
266         _nss_nis_gethostbyname4_r): Likewise.
267         * nis/nss_nis/nis-initgroups.c (internal_getgrent_r,
268         initgroups_netid): Likewise.
269         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
270         * nis/nss_nis/nis-network.c (internal_nis_getnetent_r,
271         _nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
272         * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r,
273         _nss_nis_getprotobynumber_r): Likewise.
274         * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey,
275         _nss_nis_getsecretkey): Likewise.
276         * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent,
277         internal_nis_getpwent_r, _nss_nis_getpwnam_r, _nss_nis_getpwuid_r):
278         Likewise.
279         * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r,
280         _nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
281         * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r,
282         _nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
283         * nis/nss_nis/nis-spwd.c (_nss_nis_setspent, internal_nis_getspent_r,
284         _nss_nis_getspnam_r): Likewise.
285         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
286         Likewise.
287         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r,
288         _nss_nisplus_getntohost_r): Likewise.
289         * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r,
290         _nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
291         * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r,
292         _nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r): Likewise.
293         * nis/nss_nisplus/nisplus-initgroups.c (_nss_nisplus_initgroups_dyn):
294         Likewise.
295         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r,
296         _nss_nisplus_getnetbyaddr_r): Likewise.
297         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r,
298         _nss_nisplus_getprotobynumber_r): Likewise.
299         * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r,
300         _nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
301         * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
302         Likewise.
303         * nis/nss_nisplus/nisplus-service.c (internal_nisplus_getservent_r,
304         _nss_nisplus_getservbyname_r, _nss_nisplus_getservbyport_r): Likewise.
305         * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r,
306         _nss_nisplus_getspnam_r): Likewise.
307         * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist): Likewise.
308         * nscd/aicache.c (addhstaiX): Likewise.
309         * nscd/cache.c (cache_search, prune_cache): Likewise.
310         * nscd/connections.c (register_traced_file, send_ro_fd, handle_request,
311         nscd_run_prune, nscd_run_worker, fd_ready, main_loop_epoll): Likewise.
312         * nscd/grpcache.c (addgrbyX): Likewise.
313         * nscd/hstcache.c (addhstbyX): Likewise.
314         * nscd/initgrcache.c (addinitgroupsX): Likewise.
315         * nscd/mem.c (gc, mempool_alloc): Likewise.
316         * nscd/netgroupcache.c (do_notfound, addgetnetgrentX, addinnetgrX):
317         Likewise.
318         * nscd/nscd-client.h (__nscd_acquire_maplock, __nscd_drop_map_ref):
319         Likewise.
320         * nscd/nscd_getai.c (__nscd_getai): Likewise.
321         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
322         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
323         Likewise.
324         * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
325         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
326         * nscd/nscd_helper.c (__readvall, open_socket,
327         __nscd_get_mapping, __nscd_get_map_ref): Likewise.
328         * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
329         * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr): Likewise.
330         * nscd/pwdcache.c (addpwbyX): Likewise.
331         * nscd/selinux.c (preserve_capabilities): Likewise.
332         * nscd/servicescache.c (addservbyX): Likewise.
333         * nss/nss_files/files-XXX.c (internal_getent): Likewise.
334         * posix/fnmatch.c (fnmatch): Likewise.
335         * posix/getopt.c (_getopt_internal_r): Likewise.
336         * posix/glob.c (glob, glob_in_dir): Likewise.
337         * posix/wordexp.c (exec_comm_child): Likewise.
338         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r, getanswer_r,
339         gaih_getanswer_slice): Likewise.
340         * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
341         * resolv/res_init.c: Likewise.
342         * resolv/res_mkquery.c (res_nmkquery): Likewise.
343         * resolv/res_query.c (__libc_res_nquery): Likewise.
344         * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
345         Likewise.
346         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
347         * stdio-common/perror.c (perror): Likewise.
348         * stdio-common/printf_fp.c (___printf_fp): Likewise.
349         * stdio-common/tmpnam.c (tmpnam): Likewise.
350         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
351         * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
352         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl): Likewise.
353         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
354         * stdlib/putenv.c (putenv): Likewise.
355         * stdlib/setenv.c (__add_to_environ): Likewise.
356         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
357         * stdlib/strtol_l.c (INTERNAL): Likewise.
358         * string/memmem.c (memmem): Likewise.
359         * string/strerror.c (strerror): Likewise.
360         * string/strnlen.c (__strnlen): Likewise.
361         * string/test-memmem.c (simple_memmem): Likewise.
362         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
363         * sunrpc/pm_getport.c (__get_socket): Likewise.
364         * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
365         * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
366         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup,
367         elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
368         Likewise.
369         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
370         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
371         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
372         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
373         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
374         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1): Likewise.
375         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn): Likewise.
376         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
377         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
378         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
379         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
380         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
381         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
382         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
383         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
384         * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
385         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
386         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
387         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
388         Likewise.
389         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
390         Likewise.
391         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
392         Likewise.
393         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
394         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
395         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
396         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
397         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
398         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
399         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
400         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
401         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
402         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
403         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
404         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
405         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
406         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
407         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
408         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r): Likewise.
409         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
410         Likewise.
411         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
412         Likewise.
413         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
414         Likewise.
415         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
416         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
417         * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
418         Likewise.
419         * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
420         * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
421         * sysdeps/posix/opendir.c (__opendirat): Likewise.
422         * sysdeps/posix/sleep.c: Likewise.
423         * sysdeps/posix/tempname.c: Likewise.
424         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
425         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
426         Likewise.
427         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_runtime_setup,
428         elf_machine_rela): Likewise.
429         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
430         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
431         * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
432         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
433         Likewise.
434         * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
435         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup,
436         elf_machine_rela, elf_machine_lazy_rel): Likewise.
437         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup,
438         elf_machine_rela, elf_machine_lazy_rel): Likewise.
439         * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
440         * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
441         * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
442         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
443         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
444         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
445         elf_machine_lazy_rel): Likewise.
446         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
447         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
448         elf_machine_lazy_rel): Likewise.
449         * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
450         * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
451         * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
452         * sysdeps/unix/grantpt.c (grantpt): Likewise.
453         * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
454         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
455         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
456         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
457         Likewise.
458         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
459         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
460         * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
461         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
462         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
463         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
464         * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
465         * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
466         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
467         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
468         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
469         Likewise.
470         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
471         (__posix_fallocate64_l64): Likewise.
472         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
473         (posix_fallocate): Likewise.
474         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64): Likewise.
475         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
476         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request,
477         getifaddrs_internal): Likewise.
478         * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
479         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
480         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
481         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
482         * sysdeps/unix/sysv/linux/posix_fallocate64.c
483         (__posix_fallocate64_l64): Likewise.
484         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
485         Likewise.
486         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
487         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
488         Likewise.
489         * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
490         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
491         * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
492         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
493         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
494         * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
495         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
496         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
497         Likewise.
498         * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
499         * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
500         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
501         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
502         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
503         * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
504         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
505         Likewise.
506         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
507         (posix_fallocate): Likewise.
508         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
509         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
510         * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
511         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup,
512         elf_machine_rela, elf_machine_rela_relative, elf_machine_lazy_rel):
513         Likewise.
514         * time/asctime.c (asctime_internal): Likewise.
515         * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
516         * time/tzset.c (__tzset_parse_tz): Likewise.
517         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
518         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
519         * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
520         * wcsmbs/wcsmbsload.h: Likewise.
522 2014-02-10  Ondřej Bílka  <neleai@seznam.cz>
524         [BZ #15894]
525         * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
527 2014-02-10  Ondřej Bílka  <neleai@seznam.cz>
529         * malloc/arena.c (grow_heap, get_free_list, reused_arena,
530         arena_get2): Remove THREAD_STATS conditionals.
531         * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free,
532         __malloc_stats, int): Likewise.
534 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
536         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
537         f.f_type to RAMFS_MAGIC too.  Compare mp->mnt_type to shm too.
539 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
541         * manual/setjmp.texi: Fix typos/grammar errors.
543 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
545         * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
546         Only return early when n is <= 0.  Delete unused return statement.
548 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
550         * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
551         (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
552         * debug/tst-longjmp_chk3.c: New file.
554 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
556         * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
557         (test_main): Replace code with set_fortify_handler call.
558         * debug/test-strcpy_chk.c: Likewise.
559         * debug/tst-chk1.c: Likewise.
560         * debug/tst-longjmp_chk.c: Likewise.
561         * test-skeleton.c: Include fcntl.h & paths.h
562         (set_fortify_handler): Define.
564 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
566         * debug/tst-longjmp_chk.c: Add header comment and include
567         ../test-skeleton.c.
568         (do_test): Mark static.
569         (TEST_FUNCTION): Define.
571 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
573         * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
574         (IP_PMTUDISC_INTERFACE): Likewise.
575         (IP_MULTICAST_IF): Likewise.
576         (IP_MULTICAST_TTL): Likewise.
577         (IP_MULTICAST_LOOP): Likewise.
578         (IP_ADD_MEMBERSHIP): Likewise.
579         (IP_DROP_MEMBERSHIP): Likewise.
580         (IP_UNBLOCK_SOURCE): Likewise.
581         (IP_BLOCK_SOURCE): Likewise.
582         (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
583         (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
584         (IP_MSFILTER): Likewise.
585         (MCAST_JOIN_GROUP): Likewise.
586         (MCAST_BLOCK_SOURCE): Likewise.
587         (MCAST_UNBLOCK_SOURCE): Likewise.
588         (MCAST_LEAVE_GROUP): Likewise.
589         (MCAST_JOIN_SOURCE_GROUP): Likewise.
590         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
591         (MCAST_MSFILTER): Likewise.
592         (IP_MULTICAST_ALL): Likewise.
593         (IP_UNICAST_IF): Likewise.
595 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
597         * timezone/Makefile: Delete $(have-ksh) check.
598         ($(objpfx)tzselect): Change $(KSH) to $(BASH).
599         * timezone/tzselect.ksh: Add +x mode bits.
601 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
603         * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
604         (ANON_INODE_FS_MAGIC): Likewise.
605         (BDEVFS_MAGIC): Likewise.
606         (BINFMTFS_MAGIC): Likewise.
607         (BTRFS_TEST_MAGIC): Likewise.
608         (CRAMFS_MAGIC_WEND): Likewise.
609         (DEBUGFS_MAGIC): Likewise.
610         (ECRYPTFS_SUPER_MAGIC): Likewise.
611         (EXT3_SUPER_MAGIC): Likewise.
612         (EXT4_SUPER_MAGIC): Likewise.
613         (FUTEXFS_SUPER_MAGIC): Likewise.
614         (HOSTFS_SUPER_MAGIC): Likewise.
615         (HUGETLBFS_MAGIC): Likewise.
616         (MINIX3_SUPER_MAGIC): Likewise.
617         (MTD_INODE_FS_MAGIC): Likewise.
618         (NILFS_SUPER_MAGIC): Likewise.
619         (OPENPROM_SUPER_MAGIC): Likewise.
620         (PIPEFS_MAGIC): Likewise.
621         (PSTOREFS_MAGIC): Likewise.
622         (QNX6_SUPER_MAGIC): Likewise.
623         (RAMFS_MAGIC): Likewise.
624         (REISERFS_SUPER_MAGIC_STRING): Likewise.
625         (REISER2FS_SUPER_MAGIC_STRING): Likewise.
626         (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
627         (SECURITYFS_MAGIC): Likewise.
628         (SELINUX_MAGIC): Likewise.
629         (SMACK_MAGIC): Likewise.
630         (SOCKFS_MAGIC): Likewise.
631         (SQUASHFS_MAGIC): Likewise.
632         (STACK_END_MAGIC): Likewise.
633         (TMPFS_MAGIC): Likewise.
634         (USBDEVICE_SUPER_MAGIC): Likewise.
635         (V9FS_MAGIC): Likewise.
636         (XENFS_SUPER_MAGIC): Likewise.
637         (CRAMFS_MAGIC): Fix typo in comment.
638         (EXT2_SUPER_MAGIC): Update comment.
639         (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
641 2014-02-08  Joseph Myers  <joseph@codesourcery.com>
643         * sysdeps/arm: Move directory from ports/sysdeps/arm.
644         * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
645         * sysdeps/unix/sysv/linux/arm: Move directory from
646         ports/sysdeps/unix/sysv/linux/arm.
647         * README: Update listing for arm-*-linux-gnueabi.
649         * README: Remove mention of am33.
651 2014-02-07  Roland McGrath  <roland@hack.frob.com>
653         * bits/sigset.h (__sigemptyset): Use a statement expression rather
654         than the comma operator, to avoid "rhs of comma has no effect"
655         compiler warnings.
656         (__sigfillset, __sigandset, __sigorset): Likewise.
657         * include/signal.h (__sigemptyset): Likewise.
658         * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
660 2014-02-07  Allan McRae  <allan@archlinux.org>
662         * version.h (RELEASE): Set to "development".
663         (VERSION): Set to "2.19.90"
664         * NEWS: Add 2.20 section.
666 2014-02-06  Carlos O'Donell  <carlos@redhat.com>
668         [BZ #16529]
669         * inet/netinet/in.h: Remove comma after IPPROTO_MH.
671 2014-02-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
673         * manual/contrib.texi: Update entry for Carlos O'Donell,
674         Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
676 2014-02-05  Carlos O'Donell  <carlos@rehdat.com>
678         * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
680         * sysdeps/unix/sysv/linux/kernel-features.h
681         [__LINUX_KERNEL_VERSION >= 0x020621]
682         (__ASSUME_PROC_PID_TASK_COMM): Define.
684 2014-02-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
686         * manual/contrib.texi: Update entry for Ondrej Bilka, Will
687         Newton and Alexandre Oliva.  Add entries for Steve Ellcey, Chris
688         Leonard and Allan McRae.
690 2014-02-04  David S. Miller  <davem@davemloft.net>
692         * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
693         32-bit.
695 2014-02-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
697         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist: New
698         file
699         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
700         New file
701         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist: New
702         file.
703         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist: New
704         file.
705         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
706         New file.
707         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist: New
708         file.
709         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist: New
710         file.
711         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
712         New file.
713         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
714         New file.
715         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
716         New file.
717         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
718         New file.
719         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
720         New file.
721         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
722         New file.
724 2014-02-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
726         * nptl/shlib-versions: Change powerpc*le start to 2.17.
727         * shlib-versions: Likewise.
729 2014-02-04  Roland McGrath  <roland@hack.frob.com>
730             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
732         * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
733         (abilist-pattern): New variable, set to %-le.abilist.
735         * Makerules (abilist-pattern): New variable.
736         (vpath): Use $(abilist-pattern) in place of %.abilist.
737         (check-abi-% pattern rule): Likewise.
738         (check-abi, update-abi): Likewise.
740 2014-02-04  Eric Wong  <normalperson@yhbt.net>
742         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
744 2014-02-04  Eric Wong  <normalperson@yhbt.net>
746         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
748 2014-02-03  Carlos O'Donell  <carlos@redhat.com>
750         * manual/startup.texi: Add next, previous, and top entries for
751         the `Program Arguments' and `Environment Variables' nodes.
753 2014-02-03  Alexandre Oliva <aoliva@redhat.com>
755         * manual/macros.texi: Add comments before MTASC-safety macros.
757         * manual/users.texi: Document MTASC-safety properties.
759         * manual/threads.texi (pthread_key_create, pthread_key_delete,
760         pthread_getspecific, pthread_setspecific): Format with
761         @deftypefun, and add @safety note.
762         * manual/signal.texi: Move comments that analyze the above
763         functions to their home place.
765 2014-02-03  Allan McRae  <allan@archlinux.org>
767         * po/sl.po: Update Slovenian translation from translation project.
769 2014-02-02  Alexandre Oliva <aoliva@redhat.com>
771         * manual/time.texi (timegm): Add missing blank after @c.
772         Reported by Joseph Myers <joseph@codesourcery.com>.
774 2014-02-01  Alexandre Oliva <aoliva@redhat.com>
776         * manual/check-safety.sh: New.
777         * manual/Makefile ($(objpfx)stamp-summary): Run it.
779         * manual/terminal.texi: Document MTASC-safety properties.
781         * manual/filesys.texi: Document MTASC-safety properties.
783         * manual/errno.texi: Document MTASC-safety properties.
785         * manual/intro.texi: Document safety identifiers and
786         conditionals.
788         * manual/string.texi (wcstok): Fix prototype.
789         (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
791         * manual/time.texi: Document MTASC-safety properties.
793         * manual/string.texi: Document MTASC-safety properties.
795         * manual/threads.texi: Document MTASC-safety properties.
797         * manual/stdio.texi: Document MTASC-safety properties.
799         * manual/syslog.texi: Document MTASC-safety properties.
801         * manual/sysinfo.texi: Document MTASC-safety properties.
803         * manual/startup.texi: Document MTASC-safety properties.
805         * manual/socket.texi: Document MTASC-safety properties.
807         * manual/signal.texi: Document MTASC-safety properties.
809 2014-01-31  Alexandre Oliva <aoliva@redhat.com>
811         * manual/setjmp.texi: Document MTASC-safety properties.
813         * manual/search.texi: Document MTASC-safety properties.
815         * manual/resource.texi: Document MTASC-safety properties.
817         * manual/process.texi: Document MTASC-safety properties.
819         * manual/platform.texi: Document MTASC-safety properties.
821         * manual/pipe.texi: Document MTASC-safety properties.
823         * manual/pattern.texi: Document MTASC-safety properties.
825         * manual/message.texi: Document MTASC-safety properties.
827         [BZ #12751]
828         * manual/memory.texi: Document MTASC-safety properties.
830         * manual/math.texi: Document MTASC-safety properties.
832         * manual/locale.texi: Document MTASC-safety properties.
834         * manual/llio.texi: Document MTASC-safety properties.
836         * manual/libdl.texi: New.
838         * manual/lang.texi: Document MTASC-safety properties.
840         * manual/job.texi: Document MTASC-safety properties.
842         * manual/getopt.texi: Document MTASC-safety properties.
844         * manual/ctype.texi: Document MTASC-safety properties.
846 2014-01-31  Maciej W. Rozycki  <macro@codesourcery.com>
848         [BZ #16046]
849         * csu/libc-tls.c (static_map): Remove variable.
850         (__libc_setup_tls): Use main executable's link map for TLS data.
851         * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
852         casing for LM_ID_BASE and GL(dl_nns).
853         * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
854         function.  Alias dl_iterate_phdr to __dl_iterate_phdr.
855         * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
856         casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
857         * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
858         member.
859         (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
860         l_phnum members.
862 2014-01-30  Alexandre Oliva <aoliva@redhat.com>
864         * manual/debug.texi: Document MTASC-safety properties.
866 2014-01-29  H.J. Lu  <hongjiu.lu@intel.com>
868         [BZ #16510]
869         * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
870         of __x86_64__ when disabling x87 inline functions.
872 2014-01-29  Alexandre Oliva <aoliva@redhat.com>
874         * manual/charset.texi: Document MTASC-safety properties.
876         * manual/crypt.texi: Document MTASC-safety properties.
878         * manual/conf.texi: Document MTASC-safety properties.
880         * manual/arith.texi: Document MTASC-safety properties.
882         * manual/argp.texi: Document MTASC-safety properties.
884         * manual/macros.texi: Introduce macros to document multi
885         thread, asynchronous signal and asynchronous cancellation
886         safety properties.
887         * manual/intro.texi: Introduce the properties themselves.
889 2014-01-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
891         * sysdeps/sh/sh4/Makefile: New file.
893 2014-01-27  Andreas Schwab  <schwab@linux-m68k.org>
895         * math/gen-libm-test.pl ($srcdir): New variable.
896         ($auto_input): Use it.
898 2014-01-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
900         [BZ #16506]
901         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
902         access beyond array bounds when parsing netgroups file.
904         * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
905         the old buffer before realloc.
907 2014-01-27  Allan McRae  <allan@archlinux.org>
909         * po/fr.po: Update French translation from translation project.
911 2014-01-26  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
913         * sysdeps/sh/libm-test-ulps: Regenerate.
915 2014-01-24  David S. Miller  <davem@davemloft.net>
917         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
919 2014-01-25  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
921         * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
922         * sysdeps/sh/libm-test-ulps: ... here and regenerated.
924 2013-01-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
926         [BZ #16474]
927         * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
928         string pointers after reallocation.
930 2014-01-24  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
932         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
933         __SH4A__ instead of __SH_FPU_ANY__.
935 2014-01-23  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
937         * sysdeps/sh/fpu_control.h: New file.
938         * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
939         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
940         * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
941         * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
942         * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
943         * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
944         * sysdeps/sh/sys/ucontext.h: Remove.
945         * sysdeps/sh/sys: Remove directory.
947 2014-01-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
949         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
950         s390/sys/ucontext.h.
951         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
952         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
954 2014-01-20  H.J. Lu  <hongjiu.lu@intel.com>
956         [BZ #15605]
957         * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
959 2014-01-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
961         [BZ#16431]
962         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
963         Adjust the vDSO correctly for internal calls.
964         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
966 2014-01-20  Allan McRae  <allan@archlinux.org>
968         * po/ca.po: Update Catalan translation from translation project.
970 2014-01-16  Mike Frysinger  <vapier@gentoo.org>
972         * sysdeps/s390/sotruss-lib.c: New file.
974 2014-01-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
976         [BZ#16430]
977         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
978         (__GI___gettimeofday): Alias for a different internal symbol to avoid
979         local calls issues by not having a PLT stub required for IFUNC calls.
980         * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
982 2014-01-16 Joseph Myers  <joseph@codesourcery.com>
984         * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
985         * math/test-fpucw-static.c: Likewise.
987 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
989         [BZ #16453]
990         * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
992 2014-01-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
994         * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
995         implementation for powerpc.
997 2014-01-15  Ondřej Bílka  <neleai@seznam.cz>
999         [BZ #14782]
1000         * sysdeps/posix/system.c (__libc_system): Do not enable
1001         asynchronous cancellation.
1003 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
1005         [BZ #16427]
1006         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
1007         handling only for numbers special also in the IEEE case.
1009 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
1011         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
1013 2014-01-11  Allan McRae  <allan@archlinux.org>
1015         * po/bg.po: Update Bulgarian translation from translation project.
1017         * po/de.po: Update German translation from translation project.
1019 2014-01-10  Roland McGrath  <roland@hack.frob.com>
1021         * sysdeps/generic/gcc-compat.h: New file.
1023 2014-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
1025         * benchtests/asin-inputs: Correct slow inputs.
1026         * benchtests/acos-inputs: Likewise.
1028 2014-01-10  Allan McRae  <allan@archlinux.org>
1030         * po:sv.po: Update Swedish translation from translation project.
1032         * po/vi.po: Update Vietnamese translation from translation project.
1034         * po/eo.po: Update Esperanto translation from translation project.
1036         * po/cs.po: Update Czech translation from translation project.
1038         * po/nl.po: Update Dutch translation from translation project.
1040         * po/pl.po: Update Polish translation from translation project.
1042         * po/ru.po: Update Russian translation from translation project.
1044         * po/uk.po: Update Ukrainian translation from translation project.
1046 2014-01-08  Brooks Moses  <bmoses@google.com>
1048         * elf/dl-load.c: Fix comment typo.
1050 2014-01-08  Carlos O'Donell  <carlos@redhat.com>
1052         * po/header.pot: Rename to...
1053         * po/pot.header: ... this.
1054         * po/Makefile: Use pot.header.
1056 2014-01-08  Yuriy Kaminskiy  <yumkam@gmail.com>
1057             Maxim Kuvyrkov  <maxim@kugelworks.com>
1059         [BZ #16394]
1060         * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
1061         SRC and DEST against LEN.
1063 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1065         [BZ #16414]
1066         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
1067         implementation.
1068         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
1070 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1072         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1074 2014-01-08  Joseph Myers  <joseph@codesourcery.com>
1076         [BZ #16408]
1077         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
1078         for large positive arguments.
1080 2014-01-07  Joseph Myers  <joseph@codesourcery.com>
1082         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
1084         * math/auto-libm-test-in: Mark various tests with
1085         xfail-rounding:ldbl-128ibm.
1086         * math/auto-libm-test-out: Regenerated.
1088         [BZ #16407]
1089         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
1090         Increase overflow threshold.
1092 2014-01-07  Ondřej Bílka  <neleai@seznam.cz>
1094         [BZ #14286]
1095         * stdio-common/vfprintf.c: Check for integer overflow.
1097 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
1099         * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
1100         the first argument and return value of __tls_get_addr_internal.
1102 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
1104         * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
1105         also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
1107 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
1109         * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
1110         * sysdeps/s390/rtld-global-offsets.sym: New file.
1111         * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
1112         GLIBC_2.19 symbol.
1113         * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
1114         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
1115         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
1116         ... this.
1117         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
1118         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
1119         ... this.
1120         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
1121         Regenerate.
1122         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
1123         Regenerate.
1124         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
1125         halfs of GPRs for high_gprs contexts.
1126         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
1127         restore upper halfs of GPRs for high_gprs contexts.  Copy uc_flags
1128         field.
1129         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
1130         uc_flags field.
1131         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
1132         64 bit versions:
1133         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
1134         for high GPRs (uc_high_gprs) and for future extensions
1135         (__reserved).
1136         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
1137         for future extensions (__reserved).
1138         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
1139         64 bit versions:
1140         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
1141         SC_HIGHGPRS offset definition.
1142         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
1143         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
1145 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
1147         * Versions.def: Add GLIBC_2.19 for libpthread.
1148         * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
1149         siglongjmp for libpthread with GLIBC_2.19 symver.
1150         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
1151         * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
1152         * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
1153         * sysdeps/s390/__longjmp.c: New file.
1154         * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
1155         * sysdeps/s390/longjmp.c: New file.
1156         * sysdeps/s390/setjmp.S: New file.
1157         * sysdeps/s390/sigjmp.S: New file.
1158         * sysdeps/s390/v1-longjmp.c: New file.
1159         * sysdeps/s390/v1-setjmp.h: New file.
1160         * sysdeps/s390/v1-sigjmp.c: New file.
1161         * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
1162         * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
1163         GLIBC_2.19 version.
1164         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
1165         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
1166         versioned symbols for ____longjmp_chk.
1167         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
1168         Likewise.
1169         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
1170         Regenerate.
1171         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
1172         Regenerate.
1173         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
1174         Regenerate.
1175         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
1176         Regenerate.
1177         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
1178         * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
1179         * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
1180         * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
1181         * sysdeps/s390/s390-32/setjmp-common.S: ... this.
1182         * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
1183         * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
1184         * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
1185         * sysdeps/s390/s390-64/setjmp-common.S: ... this.
1186         * sysdeps/s390/rtld-__longjmp.c: New file.
1187         * sysdeps/s390/rtld-setjmp.S: New file.
1189 2014-01-06  Joseph Myers  <joseph@codesourcery.com>
1191         [BZ #16400]
1192         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
1193         Return -__logl (x) for small positive arguments without evaluating
1194         a polynomial.
1196 2014-01-06  Mike Frysinger  <vapier@gentoo.org>
1198         * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
1199         Rename to ...
1200         (__ptrace_peeksiginfo_args): ... this.
1201         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
1202         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
1203         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
1205 2014-01-06  Allan McRae  <allan@archlinux.org>
1207         * inet/netinet/in.h: Fix typo in comment.
1209 2014-01-05  Andreas Jaeger  <aj@suse.de>
1211         * sysdeps/i386/fpu/libm-test-ulps: Update.
1213 2014-01-05  Allan McRae  <allan@archlinux.org>
1215         * po/libc.pot: Regenerated.
1217         * malloc/memusagestat.c: Fix gettext call formatting.
1219 2014-01-04  Sami Kerola  <kerolasa@iki.fi>
1221         * nscd/nscd.c: Improve usage() output.
1223 2014-01-04  Mike Frysinger  <vapier@gentoo.org>
1225         * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
1226         * sysdeps/unix/sysv/linux/configure: Regenerated.
1227         * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
1228         * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
1230 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
1232         [BZ #16390]
1233         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
1234         (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
1236 2014-01-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1238         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
1239         extra tokens at end of #undef directive.
1240         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
1241         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
1242         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
1244 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
1246         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
1248         * math/auto-libm-test-in: Mark various tests with
1249         xfail-rounding:ldbl-128ibm.
1250         * math/auto-libm-test-out: Regenerated.
1252 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
1254         [BZ #16386]
1255         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
1256         numbers with subnormal high part when calculating exponent.
1258         [BZ #16385]
1259         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
1260         fabs.
1262         [BZ #16384]
1263         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
1264         M_LN2l.
1265         (__ieee754_acoshl): Use __log1pl not __log1p.
1267 2013-01-02  Ondřej Bílka  <neleai@seznam.cz>
1269         * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all,
1270         ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry,
1271         __failing_morecore, ptmalloc_init, dump_heap, new_heap, grow_heap,
1272         heap_trim, _int_new_arena, get_free_list, reused_arena, arena_get2):
1273         Convert to GNU style.
1274         * malloc/hooks.c (memalign_hook_ini, __malloc_check_init,
1275         mem2mem_check, mem2chunk_check, top_check, realloc_check,
1276         memalign_check, __malloc_set_state): Likewise.
1277         * malloc/mallocbug.c (main): Likewise.
1278         * malloc/malloc.c (__malloc_assert, malloc_init_state, free_perturb,
1279         do_check_malloced_chunk, do_check_malloc_state, sysmalloc, systrim,
1280         mremap_chunk, __libc_malloc, __libc_free, __libc_realloc, _mid_memalign,
1281         _int_malloc, malloc_consolidate, _int_realloc, _int_memalign, mtrim,
1282         musable, __libc_mallopt, __posix_memalign, malloc_info): Likewise.
1283         * malloc/malloc.h: Likewise.
1284         * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook, mallochook,
1285         memalignhook, reallochook, mabort): Likewise.
1286         * malloc/mcheck.h: Likewise.
1287         * malloc/memusage.c (update_data, me, malloc, realloc, calloc, free, mmap,
1288         mmap64, mremap, munmap, dest): Likewise.
1289         * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
1290         * malloc/morecore.c (__default_morecore): Likewise.
1291         * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
1292         * malloc/obstack.c (_obstack_begin, _obstack_newchunk,
1293         _obstack_allocated_p, obstack_free, _obstack_memory_used,
1294         print_and_abort): Likewise.
1295         * malloc/obstack.h: Likewise.
1296         * malloc/set-freeres.c (__libc_freeres): Likewise.
1297         * malloc/tst-mallocstate.c (main): Likewise.
1298         * malloc/tst-mtrace.c (main): Likewise.
1299         * malloc/tst-realloc.c (do_test): Likewise.
1301 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
1303         [BZ #16366]
1304         * nscd/netgroupcache.c (do_notfound): New function.
1305         (addgetnetgrentX): Use it.
1307         [BZ # 16365]
1308         * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
1309         NSS_STATUS_NOTFOUND.
1311 2014-01-01  Joseph Myers  <joseph@codesourcery.com>
1313         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
1314         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1316 2014-01-01  Allan McRae  <allan@archlinux.org>
1318         * scripts/update-copyrights: Update configure input file suffix.
1320         * NEWS: Update copyright year.
1321         * catgets/gencat.c: Likewise.
1322         * csu/version.c: Likewise.
1323         * debug/catchsegv.sh: Likewise.
1324         * debug/pcprofiledump.c: Likewise.
1325         * debug/xtrace.sh: Likewise.
1326         * elf/ldconfig.c: Likewise.
1327         * elf/ldd.bash.in: Likewise.
1328         * elf/pldd.c: Likewise.
1329         * elf/sotruss.ksh: Likewise.
1330         * elf/sprof.c: Likewise.
1331         * iconv/iconv_prog.c: Likewise.
1332         * iconv/iconvconfig.c: Likewise.
1333         * locale/programs/locale.c: Likewise.
1334         * locale/programs/localedef.c: Likewise.
1335         * login/programs/pt_chown.c: Likewise.
1336         * malloc/memusage.sh: Likewise.
1337         * malloc/memusagestat.c: Likewise.
1338         * malloc/mtrace.pl: Likewise.
1339         * manual/libc.texinfo: Likewise.
1340         * nscd/nscd.c: Likewise.
1341         * nss/getent.c: Likewise.
1342         * nss/makedb.c: Likewise.
1343         * posix/getconf.c: Likewise.
1344         * scripts/test-installation.pl: Likewise.
1346         * All files with FSF copyright notices: Update copyright dates
1347         using scripts/update-copyrights.
1348         * intl/plural.c: Regenerated.
1349         * locale/programs/charmap-kw.h: Likewise.
1350         * locale/programs/locfile-kw.h: Likewise.
1352 2013-12-31  Mike Frysinger  <vapier@gentoo.org>
1354         * sysdeps/unix/sysv/linux/configure: Regenerated.
1355         * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
1356         the linux/fanotify.h header.
1357         * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
1358         HAVE_LINUX_FANOTIFY_H is defined.
1360 2013-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
1362         * benchtests/cos-inputs: New inputs.
1363         * benchtests/sin-inputs: Likewise.
1365         * benchtests/atan-inputs: New inputs. Fix name of multiple
1366         precision fallback inputs.
1368         * benchtests/atanh-inputs: New inputs.
1369         * benchtests/tanh-inputs: Likewise.
1371         * benchtests/acosh-inputs: New inputs.
1372         * benchtests/asinh-inputs: Likewise.
1374         * benchtests/cosh-inputs: New inputs.
1375         * benchtests/sinh-inputs: Likewise.
1377         * benchtests/acos-inputs: Add more inputs.
1378         * benchtests/asin-inputs: Likewise.
1380 2013-12-30  Ville Skytta  <ville.skytta@iki.fi>
1382         [BZ #16375]
1383         * manual/arith.texi: Fix spelling.
1384         * manual/charset.texi: Likewise.
1385         * manual/errno.texi: Likewise.
1386         * manual/filesys.texi: Likewise.
1387         * manual/lang.texi: Likewise.
1388         * manual/llio.texi: Likewise.
1389         * manual/locale.texi: Likewise.
1390         * manual/message.texi: Likewise.
1391         * manual/resource.texi: Likewise.
1392         * manual/search.texi: Likewise.
1393         * manual/setjmp.texi: Likewise.
1394         * manual/stdio.texi: Likewise.
1395         * manual/string.texi: Likewise.
1396         * manual/sysinfo.texi: Likewise.
1397         * manual/time.texi: Likewise.
1399 2013-12-27  Carlos O'Donell  <carlos@redhat.com>
1401         * po/sl.po: New file.
1403 2013-12-27  Mike Frysinger  <vapier@gentoo.org>
1405         * .gitignore: Add core/.gdbinit/.gdb_history.
1407 2013-12-27  Allan McRae  <allan@archlinux.org>
1409         [BZ #16369]
1410         * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
1411         Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
1413 2013-12-24  Brooks Moses  <bmoses@google.com>
1415         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
1416         all compilers that claim C++98 compliance, not just GCC.
1417         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
1418         Likewise.
1420 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
1422         * NEWS: Restore accidentally deleted bug-fix entries.
1424 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
1425             Ondřej Bílka  <neleai@seznam.cz>
1427         [BZ #15073]
1428         * malloc/malloc.c (_int_free): Perform sanity check only if we
1429         have_lock.
1431 2013-12-23  Ondřej Bílka  <neleai@seznam.cz>
1433         [BZ #12986]
1434         * manual/stdio.texi (String Input Conversions): Clarify that character
1435         classes are not supported.
1437 2013-12-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1439         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1441 2013-12-22  Joseph Myers  <joseph@codesourcery.com>
1443         [BZ #16337]
1444         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
1445         Calculate results for small negative arguments directly rather
1446         than using reflection formula with special underflow handling.
1448         * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
1449         * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
1450         sysdeps/unix/bsd/bsd4.4/syscalls.list.
1451         (fchflags): Likewise.
1452         (revoke): Likewise.
1453         (setlogin): Likewise.
1454         (sigaltstack): Likewise.
1455         (wait4): Likewise.
1456         (sigblock): Remove.
1457         (sigsetmask): Likewise.
1458         (wait3): Likewise.
1459         (waitpid): Likewise.
1460         * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
1461         * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
1462         file.
1463         * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
1464         * sysdeps/unix/bsd/Makefile: ... here.
1465         * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
1466         * sysdeps/unix/bsd/Versions: ... here.
1467         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
1468         * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
1469         * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
1470         * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
1471         * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
1472         * sysdeps/unix/bsd/sigblock.c: ... here.
1473         * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
1474         * sysdeps/unix/bsd/sigsetmask.c: ... here.
1475         * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
1476         * sysdeps/unix/bsd/sigvec.c: ... here.
1477         * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
1478         * sysdeps/unix/bsd/tcdrain.c: ... here.
1479         * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
1480         * sysdeps/unix/bsd/tcgetattr.c: ... here.
1481         * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
1482         * sysdeps/unix/bsd/tcsetattr.c: ... here.
1483         * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
1484         * sysdeps/unix/bsd/wait.c: ... here.
1485         * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
1486         * sysdeps/unix/bsd/wait3.c: ... here.
1487         * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
1488         * sysdeps/unix/bsd/waitpid.c: ... here.
1490 2013-12-21  Joseph Myers  <joseph@codesourcery.com>
1492         [BZ #16356]
1493         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
1494         round-to-nearest for [!USE_AS_EXPM1L].
1495         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
1496         * math/auto-libm-test-in: Do not expect cosh tests to fail.  Add
1497         more tests of exp and exp10.  Expect some exp10 tests to miss
1498         exceptions or fail in directed rounding modes.
1499         * math/auto-libm-test-out: Regenerated.
1500         * math/libm-test.inc (exp10_tonearest_test_data): New array.
1501         (exp10_test_tonearest): New function.
1502         (exp10_towardzero_test_data): New array.
1503         (exp10_test_towardzero): New function.
1504         (exp10_downward_test_data): New array.
1505         (exp10_test_downward): New function.
1506         (exp10_upward_test_data): New array.
1507         (exp10_test_upward): New function.
1508         (main): Call the new functions.
1509         * sysdeps/i386/fpu/libm-test-ulps: Update.
1510         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1512 2013-12-20  Joseph Myers  <joseph@codesourcery.com>
1514         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
1515         asinh, atan, atan2, atanh, cbrt, cos and cosh.
1516         * math/auto-libm-test-out: Regenerated.
1517         * math/libm-test.inc (acosh_test_data): Add more tests.
1518         (atanh_test_data): Likewise.
1519         (ceil_test_data): Likewise.
1520         (copysign_test_data): Likewise.
1521         * sysdeps/i386/fpu/libm-test-ulps: Update.
1522         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1524         * timezone/checktab.awk: Update from tzcode 2013i.
1525         * timezone/private.h: Likewise.
1526         * timezone/scheck.c: Likewise.
1527         * timezone/tzfile.h: Likewise.
1528         * timezone/tzselect.ksh: Likewise.
1529         * timezone/zdump.c: Likewise.
1530         * timezone/zic.c: Likewise.
1532         * math/auto-libm-test-in: Add tests of cpow.
1533         * math/auto-libm-test-out: Regenerated.
1534         * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
1535         * * math/gen-auto-libm-tests.c (func_calc_method): Add value
1536         mpc_cc_c.
1537         (func_calc_desc): Add mpc_cc_c union field.
1538         (test_functions): Add cpow.
1539         (special_fill_2pi): New function.
1540         (special_real_inputs): Add 2pi.
1541         (calc_generic_results): Handle mpc_cc_c.
1542         * sysdeps/i386/fpu/libm-test-ulps: Update.
1543         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1545         * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
1546         csqrt, ctan and ctanh.
1547         * math/auto-libm-test-out: Regenerated.
1548         * math/libm-test.inc (TEST_COND_x86_64): New macro.
1549         (TEST_COND_x86): Likewise.
1550         (ccos_test_data): Use AUTO_TESTS_c_c.
1551         (ccosh_test_data): Likewise.
1552         (cexp_test_data): Likewise.
1553         (clog_test_data): Likewise.
1554         (csqrt_test_data): Likewise.
1555         (ctan_test_data): Likewise.
1556         (ctan_tonearest_test_data): Likewise.
1557         (ctan_towardzero_test_data): Likewise.
1558         (ctan_downward_test_data): Likewise.
1559         (ctan_upward_test_data): Likewise.
1560         (ctanh_test_data): Likewise.
1561         (ctanh_tonearest_test_data): Likewise.
1562         (ctanh_towardzero_test_data): Likewise.
1563         (ctanh_downward_test_data): Likewise.
1564         (ctanh_upward_test_data): Likewise.
1565         * math/gen-auto-libm-tests.c (func_calc_method): Add value
1566         mpc_c_c.
1567         (func_calc_desc): Add mpc_c_c union field.
1568         (FUNC_mpc_c_c): New macro.
1569         (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
1570         ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
1571         ctanh.
1572         (special_fill_min_subnorm_p120): New function.
1573         (special_real_inputs): Add min_subnorm_p120.
1574         (calc_generic_results): Handle mpc_c_c.
1575         * sysdeps/i386/fpu/libm-test-ulps: Update.
1576         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1578 2013-12-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
1580         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin,
1581         do_sin_slow): New functions.
1582         (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2,
1583         cslow2, csloww1, csloww2): Use the new functions.
1585         * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
1586         Use M to change sign of result instead of X.  Assume X is
1587         positive.
1588         (csloww1): Likewise.
1589         (__sin): Adjust.
1590         (__cos): Adjust.
1592         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
1593         arguments A and DA.
1594         (__sin): Adjust.
1595         (__cos): Likewise.
1597         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
1598         (__cos): Likewise.
1599         (sloww1): Don't adjust sign of DX.
1600         (csloww1): Likewise.
1601         (sloww2): Use X directly and don't adjust sign of DX.
1602         (csloww2): Likewise.
1604 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
1606         * math/auto-libm-test-in: Add tests of cabs and carg.
1607         * math/auto-libm-test-out: Regenerated.
1608         * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
1609         (carg_test_data): Likewise.
1610         * math/gen-auto-libm-tests.c (func_calc_method): Add value
1611         mpc_c_f.
1612         (func_calc_desc): Add mpc_c_f union field.
1613         (test_functions): Add cabs and carg.
1614         (calc_generic_results): Handle mpc_c_f.
1616         * sysdeps/powerpc/powerpc32/libgcc-compat.S
1617         [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
1618         as a macro and a compat symbol.
1619         [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
1620         [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
1621         [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
1622         [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
1623         [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
1624         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
1625         not use .hidden.
1626         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
1627         Likewise.
1628         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
1629         Likewise.
1630         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
1631         Likewise.
1632         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
1633         Likewise.
1634         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
1635         Likewise.
1636         * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
1637         __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
1638         from GLIBC_2.3.2.
1640 2013-12-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1642         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1644 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
1646         * manual/texinfo.tex: Update to version 2013-11-26.10 with
1647         trailing whitespace removed.
1648         * scripts/config.guess: Update to version 2013-11-29.
1649         * scripts/config.sub: Update to version 2013-10-01.
1651         * math/auto-libm-test-in: Add tests of sincos.
1652         * math/auto-libm-test-out: Regenerated.
1653         * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
1654         * math/gen-auto-libm-tests.c (func_calc_method): Add value
1655         mpfr_f_11.
1656         (func_calc_desc): Add mpfr_f_11 union field.
1657         (test_functions): Add sincos.
1658         (calc_generic_results): Handle mpfr_f_11.
1659         * sysdeps/i386/fpu/libm-test-ulps: Update.
1660         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1662 2013-12-19  Andreas Schwab  <schwab@suse.de>
1664         * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
1665         CALL_MCOUNT.
1666         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
1667         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
1668         [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
1670 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
1672         * math/gen-libm-test.pl (%beautify): Remove M_* constants.
1673         * sysdeps/i386/fpu/libm-test-ulps: Update.
1674         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1676         [BZ #16293]
1677         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
1678         round-to-nearest mode when using frndint.
1679         * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
1680         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
1681         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
1682         Likewise.
1683         * math/auto-libm-test-in: Add more tests of expm1.  Do not expect
1684         sinh test to fail.
1685         * math/auto-libm-test-out: Regenerated.
1686         * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
1687         (TEST_COND_x86): Likewise.
1688         (expm1_tonearest_test_data): New array.
1689         (expm1_test_tonearest): New function.
1690         (expm1_towardzero_test_data): New array.
1691         (expm1_test_towardzero): New function.
1692         (expm1_downward_test_data): New array.
1693         (expm1_test_downward): New function.
1694         (expm1_upward_test_data): New array.
1695         (expm1_test_upward): New function.
1696         (main): Run the new test functions.
1697         * sysdeps/i386/fpu/libm-test-ulps: Update.
1698         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1700         * include/features.h: Update comment documenting feature test
1701         macros.  Mention _DEFAULT_SOURCE in comment.
1702         [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
1703         [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
1704         _BSD_SOURCE and _SVID_SOURCE.
1705         [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
1706         !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
1707         !_SVID_SOURCE]: Likewise.
1708         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
1709         (__USE_POSIX_IMPLICITLY): Define.
1710         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
1711         (_POSIX_SOURCE): Undefine and redefine.
1712         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
1713         (_POSIX_C_SOURCE): Likewise.
1714         * manual/creature.texi (_DEFAULT_SOURCE): Document.
1715         (Feature Test Macros): Update documentation of default features.
1717 2013-12-19  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
1719         * benchtests/Makefile: Add bench-strtok.
1720         * benchtests/bench-strtok.c: New file: strtok benchtest.
1722 2013-12-19  Allan McRae  <allan@archlinux.org>
1724         * manual/install.texi: Suppress menu for plain text output.
1725         * INSTALL: Regenerated.
1727 2013-12-18  Brooks Moses  <bmoses@google.com>
1729         [BZ #15846]
1730         * misc/getauxval.c: Include errno.h.
1731         (__getauxval): Set errno to ENOENT if the requested type is not
1732         found.
1733         * misc/sys/auxv.h (getauxval): Document that it may set errno;
1734         don't declare with __attribute_const__.
1735         * elf/tst-auxv.c: Add tests for errno and type-not-found case.
1736         * manual/startup.texi: Document that getauxval sets errno.
1738 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
1740         * math/auto-libm-test-in: Add tests of jn and yn.
1741         * math/auto-libm-test-out: Regenerated.
1742         * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
1743         (yn_test_data): Likewise.
1744         * math/gen-auto-libm-tests.c (func_calc_method): Add value
1745         mpfr_if_f.
1746         (func_calc_desc): Add mpfr_if_f union field.
1747         (FUNC_mpfr_if_f): New macro.
1748         (test_functions): Add jn and yn.
1749         (calc_generic_results): Assert type of second input for
1750         mpfr_ff_f.  Handle mpfr_if_f.
1751         (output_for_one_input_case): Disable all checking for arguments
1752         fitting floating-point types in case of an integer argument.
1753         * sysdeps/i386/fpu/libm-test-ulps: Update.
1754         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1756         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
1757         Don't expect fegetround reference in libm.so.
1759 2013-12-17  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
1761         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
1762         $(config-cflags-nofma).
1764 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
1766         * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
1767         * math/auto-libm-test-out: Regenerated.
1769         [BZ #16338]
1770         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
1771         to determine exponent and adjust argument to have exponent of -1.
1772         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
1773         log2.
1774         * math/auto-libm-test-out: Regenerated.
1775         * sysdeps/i386/fpu/libm-test-ulps: Update.
1776         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1778 2013-12-18  Ondřej Bílka  <neleai@seznam.cz>
1780         * manual/probes.texi: Remove cases when per-thread arenas are
1781         disabled.
1783 2013-12-18  Andreas Schwab  <schwab@suse.de>
1785         * sysdeps/i386/i686/multiarch/strstr.c: Remove.
1786         * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
1787         * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
1788         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
1789         * sysdeps/i386/i686/multiarch/Makefile: Update.
1790         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
1792 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
1794         * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
1795         * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
1797 2013-12-17  Paul Eggert  <eggert@cs.ucla.edu>
1799         [BZ #15968]
1800         Support TZ transition times < 00:00:00.
1801         This is needed for version-3 tz-format files; it supports time
1802         stamps past 2037 for America/Godthab (the only entry in the tz
1803         database for which this change is relevant).
1804         * manual/time.texi (TZ Variable): Document transition times
1805         from -167:59:59 through -00:00:01.
1806         * time/tzset.c (tz_rule): Time of day is now signed.
1807         (__tzset_parse_tz): Parse negative time of day.
1809         Document TZ transition times >= 25:00:00.
1810         * manual/time.texi (TZ Variable): Document transition times from
1811         25:00:00 through 167:59:59.  These are already supported, and this
1812         support will help with version-3 tz-format files.
1814         * manual/time.texi (TZ Variable): Modernize North America example
1815         to reflect current (i.e., 2007-and-later) daylight saving rules.
1817         * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
1819 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
1821         * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
1822         * sysdeps/unix/bsd/bits/stat.h: Likewise.
1823         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
1824         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
1825         * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
1826         * sysdeps/unix/bsd/bsdstat.h: Likewise.
1827         * sysdeps/unix/bsd/clock.c: Likewise.
1828         * sysdeps/unix/bsd/i386/vfork.S: Likewise.
1829         * sysdeps/unix/bsd/i386/wait3.S: Likewise.
1830         * sysdeps/unix/bsd/init-posix.c: Likewise.
1831         * sysdeps/unix/bsd/poll.c: Likewise.
1832         * sysdeps/unix/bsd/ptsname.c: Likewise.
1833         * sysdeps/unix/bsd/seekdir.c: Likewise.
1834         * sysdeps/unix/bsd/setegid.c: Likewise.
1835         * sysdeps/unix/bsd/seteuid.c: Likewise.
1836         * sysdeps/unix/bsd/setgid.c: Likewise.
1837         * sysdeps/unix/bsd/setrgid.c: Likewise.
1838         * sysdeps/unix/bsd/setruid.c: Likewise.
1839         * sysdeps/unix/bsd/setsid.c: Likewise.
1840         * sysdeps/unix/bsd/setuid.c: Likewise.
1841         * sysdeps/unix/bsd/sigaction.c: Likewise.
1842         * sysdeps/unix/bsd/sigprocmask.c: Likewise.
1843         * sysdeps/unix/bsd/sigsuspend.c: Likewise.
1844         * sysdeps/unix/bsd/sys/reboot.h: Likewise.
1845         * sysdeps/unix/bsd/telldir.c: Likewise.
1846         * sysdeps/unix/bsd/times.c: Likewise.
1847         * sysdeps/unix/bsd/usleep.c: Likewise.
1849         * misc/Makefile (install-lib): Remove libbsd-compat.a.
1850         ($(objpfx)libbsd-compat.a): Remove rule.
1852         * include/features.h (__FAVOR_BSD): Do not define.
1853         * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
1854         features conflicting with POSIX.
1855         (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
1856         (_BSD_SOURCE): Remove description of not being a subset of other
1857         feature test macros.
1858         * manual/job.texi (getpgrp): Do not document BSD version.
1859         (getpgid): Do not document by reference to BSD getpgrp.
1860         * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
1861         * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
1862         * signal/signal.h [__FAVOR_BSD]: Likewise.
1863         * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
1864         instead of making contents conditional on [__FAVOR_BSD].
1865         * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
1867 2013-12-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1869         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1871 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
1873         [BZ #16314]
1874         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
1875         values below 2**-450, not 2**-500.
1876         * math/auto-libm-test-in: Don't allow spurious underflow from
1877         hypot.
1878         * math/auto-libm-test-out: Regenerated.
1880         [BZ #16316]
1881         [BZ #16330]
1882         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
1883         values of ha and hb and sort them after adjusting subnormal
1884         arguments.
1885         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
1886         Likewise.
1887         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
1888         values of ea and eb and sort them after adjusting subnormal
1889         arguments.
1890         * math/auto-libm-test-in: Do not expect some hypot tests of
1891         subnormals to fail.  Add more hypot tests.
1892         * math/auto-libm-test-out: Regenerated.
1894 2013-12-16  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
1896         [BZ #13304]
1897         * sysdeps/sh/s_fma.c: New file.
1898         * sysdeps/sh/s_fmaf.c: New file.
1899         * sysdeps/sh/soft-fp/sfp-machine.h: New file.  Based on arm
1900         version.
1901         * sysdeps/sh/Implies: Add sh/soft-fp.
1903 2013-12-16  Roland McGrath  <roland@hack.frob.com>
1905         * elf/dl-error.c (struct catch): Add new member `errcode'.  Add a
1906         level of indirection to members `objname', `errstring', `malloced'.
1907         (_dl_signal_error): Store through pointers in *LCATCH rather modifying
1908         *LCATCH itself.  Set *LCATCH->errcode to ERRCODE rather than passing
1909         it as the __longjmp argument (just pass 1 instead).
1910         (_dl_catch_error): Initialize C with argument pointers and address of
1911         volatile local ERRCODE rather than copying values out of C at return.
1913 2013-12-16  Joseph Myers  <joseph@codesourcery.com>
1915         * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
1916         * math/auto-libm-test-out: Regenerated.
1917         * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
1918         (hypot_test_data): Likewise.
1919         (pow_test_data): Likewise.
1920         (pow_tonearest_test_data): Likewise.
1921         * math/gen-auto-libm-tests.c (func_calc_method): Add value
1922         mpfr_ff_f.
1923         (func_calc_desc): Add mpfr_ff_f union field.
1924         (FUNC_mpfr_ff_f): New macro.
1925         (test_functions): Add atan2, hypot and pow.
1926         (special_fill_min): New function.
1927         (special_fill_minus_min): Likewise.
1928         (special_fill_min_subnorm): Likewise.
1929         (special_fill_minus_min_subnorm): Likewise.
1930         (special_real_inputs): Add min, -min, min_subnorm and
1931         -min_subnorm.
1932         (calc_generic_results): Handle mpfr_ff_f.
1933         * sysdeps/i386/fpu/libm-test-ulps: Update.
1934         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1936 2013-12-16  Will Newton  <will.newton@linaro.org>
1938         * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
1939         (Aligned Memory Blocks): Add documentation for aligned_alloc
1940         and suggest it as an alternative to posix_memalign.
1941         (Hooks for Malloc): Document __memalign_hook is also called
1942         for aligned_alloc.  (Summary of Malloc): Add summary for
1943         aligned alloc.  Document __memalign_hook is also called
1944         for aligned_alloc.
1946 2013-12-16  Will Newton  <will.newton@linaro.org>
1948         * manual/memory.texi (Malloc Examples): Clarify default
1949         alignment documentation.  Suggest posix_memalign rather
1950         than memalign or valloc.
1951         (Aligned Memory Blocks): Remove suggestion to use memalign
1952         or valloc.  Remove obsolete comment about BSD.
1953         Document memalign errno values and mark the function obsolete.
1954         Document posix_memalign returned error codes.  Mark valloc
1955         as obsolete.  (Hooks for Malloc): __memalign_hook is also
1956         called for posix_memalign and valloc.
1957         (Summary of Malloc): Add posix_memalign to function summary.
1958         __memalign_hook is also called for posix_memalign and valloc.
1960 2013-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
1962         * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
1963         TAYLOR_SIN.
1964         (__sin): Adjust.
1965         (__cos): Likewise.
1966         (sloww): Use mynumber union.  Expand ternary operator into
1967         if-else statements.
1968         (cslow): use mynumber union.
1970 2013-12-16  Allan McRae  <allan@archlinux.org>
1972         * configure.ac: Set AUTOCONF when maintainer-mode is not used.
1973         * configure: Regenerated.
1975         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
1977         [BZ #14120]
1978         * configure.ac: Added --enable-maintainer-mode. Check for
1979         autoconf when enabled.
1980         * configure: Regenerated.
1982         * nscd/nscd.service: New file.
1983         * nscd/nscd.tmpfiles: New file.
1985 2013-12-14  Ondřej Bílka  <neleai@seznam.cz>
1987         [BZ #12100]
1988         * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
1989         * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
1990         * sysdeps/x86_64/multiarch/strstr.c: ... here.
1991         (strstr): Add __strstr_sse2_unaligned ifunc.
1992         * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
1993         * sysdeps/x86_64/multiarch/strcasestr.c ... here.
1994         (strcasestr): Remove __strcasestr_sse42 ifunc.
1995         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
1996         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
1997         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
1999 2013-12-14  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
2001         * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
2002         * sysdeps/sh/bits/fenv.h: ... here.
2003         * sysdeps/sh/sh4/fpu/bits: Remove directory.
2005 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2007         * NEWS: Mention ppc64 STT_GNU_IFUNC support.
2009 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2011         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
2012         hypotf multiarch implementations.
2013         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
2014         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
2015         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
2016         multiarch hypot for PPC64.
2017         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
2018         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
2019         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
2020         multiarch hypotf for PPC64.
2022 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2024         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
2025         modff multiarch implementations.
2026         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
2027         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
2028         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
2029         multiarch modf for PPC64.
2030         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
2031         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
2032         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
2033         multiarch modff for PPC64.
2035 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2037         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
2038         and logl multiarch implementations.
2039         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
2040         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
2041         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
2042         multiarch logb for PPC64.
2043         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
2044         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
2045         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
2046         multiarch logb for PPC64.
2047         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
2048         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
2049         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
2050         multiarch logb for PPC64.
2052 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2054         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
2055         isinff multiarch implementation.
2056         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
2057         file.
2058         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
2059         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
2060         multiarch isinf for PPC64.
2061         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
2062         file.
2063         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
2064         multiarch isinff for PPC64.
2066 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2068         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
2069         finitef multiarch implementation.
2070         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
2071         file.
2072         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
2073         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
2074         multiarch finite for PPC64.
2075         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
2076         file.
2077         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
2078         multiarch finitef for PPC64.
2080 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2082         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
2083         lrint multiarch implementation.
2084         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
2085         file.
2086         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
2087         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
2088         multiarch llrint for PPC64.
2089         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
2090         multiarch lrint for PPC64.
2092 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2094         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
2095         copysignf multiarch implementation.
2096         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
2097         file.
2098         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
2099         file.
2100         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
2101         multiarch copysign for PPC64.
2102         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
2103         multiarch copysignf for PPC64.
2105 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2107         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
2108         multiarch implementation.
2109         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
2110         file.
2111         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
2112         file.
2113         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
2114         file.
2115         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
2116         file.
2117         multiarch llround for PPC64.
2118         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
2119         multiarch trunc for PPC64.
2120         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
2121         multiarch truncf for PPC64.
2123 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2125         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
2126         multiarch implementation.
2127         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
2128         file.
2129         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
2130         file.
2131         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
2132         file.
2133         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
2134         file.
2135         multiarch llround for PPC64.
2136         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
2137         multiarch round for PPC64.
2138         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
2139         multiarch roundf for PPC64.
2141 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2143         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
2144         multiarch implementation.
2145         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
2146         file.
2147         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
2148         file.
2149         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
2150         file.
2151         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
2152         file.
2153         multiarch llround for PPC64.
2154         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
2155         multiarch floor for PPC64.
2156         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
2157         multiarch floorf for PPC64.
2159 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2161         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
2162         multiarch implementation.
2163         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
2164         file.
2165         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
2166         file.
2167         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
2168         file.
2169         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
2170         file.
2171         multiarch llround for PPC64.
2172         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
2173         multiarch ceil for PPC64.
2174         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
2175         multiarch ceilf for PPC64.
2177 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2179         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
2180         multiarch implementation.
2181         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
2182         file.
2183         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
2184         file.
2185         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
2186         file.
2187         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
2188         multiarch llround for PPC64.
2189         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
2190         multiarch lround for PPC64.
2192 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2194         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
2195         multiarch implementation.
2196         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
2197         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
2198         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
2199         file.
2200         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
2201         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
2202         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
2203         multiarch isnan for PPC64.
2204         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
2205         multiarch isnanf for PPC64.
2207 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2209         * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
2210         * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
2211         * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
2212         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
2213         * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
2214         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
2216 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2218         * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
2219         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
2220         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
2221         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
2223 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2225         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
2226         multiarch implementations.
2227         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2228         (__libc_ifunc_impl_list): Likewise.
2229         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
2230         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
2231         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
2232         multiarch stpcpy for PPC64.
2234 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2236         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
2237         multiarch implementations.
2238         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2239         (__libc_ifunc_impl_list): Likewise.
2240         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
2241         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
2242         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
2243         multiarch strcpy for PPC64.
2245 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2247         * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
2248         redefine function name.
2249         (_wordcopy_fwd_dest_aligned): Likewise.
2250         (_wordcopy_bwd_aligned): Likewise.
2251         (_wordcopy_bwd_dest_aligned): Likewise.
2252         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
2253         multiarch implementations.
2254         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2255         (__libc_ifunc_impl_list): Likewise.
2256         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
2257         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
2258         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
2259         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
2260         multiarch wcscpy for PPC64.
2262 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2264         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
2265         multiarch implementations.
2266         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2267         (__libc_ifunc_impl_list): Likewise.
2268         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
2269         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
2270         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
2271         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
2272         multiarch wcscpy for PPC64.
2274 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2276         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
2277         multiarch implementations.
2278         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2279         (__libc_ifunc_impl_list): Likewise.
2280         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
2281         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
2282         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
2283         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
2284         multiarch wcsrchr for PPC64.
2286 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2288         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
2289         multiarch implementations.
2290         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2291         (__libc_ifunc_impl_list): Likewise.
2292         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
2293         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
2294         * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
2295         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
2296         multiarch wcschr for PPC64.
2298 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2300         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
2301         multiarch implementations.
2302         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2303         (__libc_ifunc_impl_list): Likewise.
2304         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
2305         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
2306         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
2307         multiarch strchrnul for PPC64.
2309 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2311         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
2312         implementations.
2313         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2314         (__libc_ifunc_impl_list): Likewise.
2315         * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
2316         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
2317         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
2318         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
2319         strchr for PPC64.
2321 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2323         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
2324         implementations.
2325         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2326         (__libc_ifunc_impl_list): Likewise.
2327         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
2328         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
2329         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
2330         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
2331         strncmp for PPC64.
2333 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2335         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
2336         multiarch implementations.
2337         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2338         (__libc_ifunc_impl_list): Likewise.
2339         * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
2340         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
2341         strncasecmp for PPC64.
2342         * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
2343         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
2344         multiarch strncasecmp_l for PPC64.
2346 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2348         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
2349         multiarch implementations.
2350         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
2351         (__libc_ifunc_impl_list): Likewise.
2352         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
2353         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
2354         multiarch strcasecmp for PPC64.
2355         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
2356         file.
2357         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
2358         multiarch strcasecmp_l for PPC64.
2360 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2362         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
2363         implementations.
2364         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2365         (__libc_ifunc_impl_list): Likewise.
2366         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
2367         * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
2368         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
2369         strnlen for PPC64.
2371 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2373         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
2374         implementations.
2375         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2376         (__libc_ifunc_impl_list): Likewise.
2377         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
2378         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
2379         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
2380         strlen for PPC64.
2382 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2384         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
2385         implementations.
2386         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2387         (__libc_ifunc_impl_list): Likewise.
2388         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
2389         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
2390         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
2391         rawmemrchr for PPC64.
2393 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2395         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
2396         implementation.
2397         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2398         (__libc_ifunc_impl_list): Likewise.
2399         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
2400         * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
2401         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
2402         memrchr for PPC64.
2404 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2406         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
2407         implementation.
2408         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2409         (__libc_ifunc_impl_list): Likewise.
2410         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
2411         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
2412         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
2413         memchr for PPC64.
2415 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2417         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
2418         implementation.
2419         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2420         (__libc_ifunc_impl_list): Likewise.
2421         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
2422         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
2423         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
2424         mempcpy for PPC64.
2426 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2428         * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
2429         avoid cretion of __bzero symbol.
2430         * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
2431         Likewise.
2432         * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
2433         Likewise.
2434         * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
2435         Likewise.
2436         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
2437         multiarch implementations.
2438         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2439         (__libc_ifunc_impl_list): Likewise.
2440         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
2441         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
2442         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
2443         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
2444         bzero for PPC32.
2445         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
2446         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
2447         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
2448         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
2449         * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
2450         memset for PPC64.
2451         * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
2453 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2455         * string/memcmp.c (memcmp): Using macro to redefine symbol name.
2456         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
2457         implementations.
2458         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2459         (__libc_ifunc_impl_list): Likewise.
2460         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
2461         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
2462         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
2463         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
2464         memcmp for PPC64.
2466 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2468         * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
2469         multiarch for POWER/PPC64.
2470         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
2471         * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
2472         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
2473         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
2474         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
2475         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
2476         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
2477         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
2478         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
2479         memcpy for PPC64.
2481 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2483         * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
2484         * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
2485         * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
2486         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
2487         * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
2488         * sysdeps/powerpc/powerpc64/power5/Implies: New File.
2489         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
2490         * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
2491         * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
2492         * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
2493         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
2494         * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
2495         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
2496         * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
2497         * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
2498         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
2499         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
2500         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
2501         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
2502         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
2503         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
2504         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
2506 2013-12-12  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
2508         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
2510 2013-12-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
2512         * benchtests/Makefile (bench): Add exp2 and log2.
2513         (LDLIBS-bench-exp2): Add -lm.
2514         (LDLIBS-bench-log2): Likewise.
2515         * benchtests/exp2-inputs: New inputs file.
2516         * benchtests/log2-inputs: New inputs file.
2517         * benchtests/log-inputs: Add new inputs.
2518         * benchtests/tan-inputs: Likewise.
2520 2013-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
2522         * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
2523         definition...
2524         (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2,
2525         csloww1, csloww2): ... from here.
2527         * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
2528         instead of structures.
2529         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
2530         (POLYNOMIAL): Likewise.
2531         (TAYLOR_SLOW): Likewise.
2532         (__sin): Likewise.
2533         (__cos): Likewise.
2534         (slow1): Likewise.
2535         (slow2): Likewise.
2536         (sloww): Likewise.
2537         (sloww1); Likewise.
2538         (sloww2): Likewise.
2539         (bsloww1): Likewise.
2540         (bsloww2): Likewise.
2541         (cslow2): Likewise.
2542         (csloww): Likewise.
2543         (csloww1): Likewise.
2544         (csloww2): Likewise.
2546 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
2548         * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
2549         (__malloc_assert, __libc_realloc, __libc_calloc,
2550         _int_realloc): Expand MALLOC_COPY and MALLOC_ZERO to
2551         memcpy and memset.
2552         * malloc/hooks.c (realloc_check): Likewise.
2554 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
2556         * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
2557         * malloc/arena.c: Remove PER_THREAD conditional.
2558         [!PER_THREAD]: Remove code.
2559         (ptmalloc_unlock_all2): Likewise.
2560         (ptmalloc_init): Likewise.
2561         (_int_new_arena): Likewise.
2562         (arena_get2): Likewise.
2563         * malloc/hooks.c (__malloc_get_state): Likewise.
2564         (__malloc_set_state): Likewise.
2565         * malloc/malloc.c: Likewise.
2566         (struct malloc_state): Likewise.
2567         (struct malloc_par): Likewise.
2568         (__libc_realloc): Likewise.
2569         (__libc_mallopt): Likewise.
2571 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2573         * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
2575 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
2577         * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
2578         macro to a function.  Check for zero perturb_byte.
2579         (_int_malloc, _int_free): Remove zero perturb_byte checks.
2581 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
2583         * malloc/malloc.c: (force_reg): Remove.
2584         (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc,
2585         _mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
2586         force_reg by atomic_forced_read.
2587         * malloc/arena.c (ptmalloc_init): Likewise.
2588         * malloc/hooks.c (top_check): Likewise.
2590 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2592         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2594 2013-12-09  Markus Trippelsdorf  <markus@trippelsdorf.de>
2596         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2598 2013-12-08  Joseph Myers  <joseph@codesourcery.com>
2600         * math/auto-libm-test-in: Add tests of lgamma.
2601         * math/auto-libm-test-out: Regenerated.
2602         * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
2603         (M_LOG_2_SQRT_PIl): Likewise.
2604         (lgamma_test_data): Use AUTO_TESTS_f_f1.
2605         * math/gen-auto-libm-tests.c (func_calc_method): Add value
2606         mpfr_f_f1.
2607         (func_calc_desc): Add mpfr_f_f1 union field.
2608         (ARGS1): New macro.
2609         (ARGS2): Likewise.
2610         (ARGS3): Likewise.
2611         (ARGS4): Likewise.
2612         (RET1): Likewise.
2613         (RET2): Likewise.
2614         (CALC): Likewise.
2615         (FUNC): Likewise.
2616         (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
2617         (test_functions): Add lgamma.
2618         (calc_generic_results): Handle mpfr_f_f1.
2619         * sysdeps/i386/fpu/libm-test-ulps: Update.
2620         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2622 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2624         * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
2625         __mpn_add_n for PowerPC64/POWER7.
2626         * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
2627         __mpn_sub_n for PowerPC64/POWER7.
2629 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2631         * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
2632         __mpn_addmul_1 for PowerPC64.
2633         * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
2634         __mpn_submul_1 for PowerPC64.
2635         * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
2636         for PowerPC64.
2637         * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
2638         for PowerPC64.
2640 2013-12-06  Fernando J. V. da Silva  <fernandojvdasilva@gmail.com>
2642         [BZ #15089]
2643         * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
2645 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2647         * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
2649 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2651         * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
2652         add multiarch folders.
2653         * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
2654         * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
2655         * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
2656         * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
2657         * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
2658         * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
2659         * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
2660         * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
2661         * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
2662         * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
2663         * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
2664         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
2665         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
2666         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
2667         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
2668         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
2669         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
2671 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2673         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
2674         __ieee754_hypot and __ieee754_hypotf multiarch implementations.
2675         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
2676         New file.
2677         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
2678         New file.
2679         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
2680         multiarch __ieee754_hypot for PowerPC32.
2681         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
2682         New file.
2683         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
2684         New file.
2685         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
2686         multiarch __ieee754_hypotf for PowerPC32.
2688 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2690         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
2691         long_double_symbol only if __logbl is defined.
2692         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
2693         * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
2694         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
2695         * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
2696         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
2697         * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
2698         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
2699         path for implementation.
2700         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
2701         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
2702         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
2703         logb, and logbl multiarch implementations for PowerPC32.
2704         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
2705         file.
2706         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
2707         file.
2708         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
2709         multiarch logb for PowerPC32.
2710         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
2711         file.
2712         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
2713         file.
2714         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
2715         multiarch logbf for PowerPC32.
2716         * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
2717         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
2718         file.
2719         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
2720         multiarch logbl implementation for PowerPC32.
2722 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2724         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
2725         and modff multiarch implementations.
2726         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
2727         New file.
2728         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
2729         New file.
2730         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
2731         multiarch modf for PowerPC32.
2732         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
2733         New file.
2734         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
2735         New file.
2736         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
2737         multiarch modff for PowerPC32.
2739 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2741         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
2742         and lrintf multiarch implementations.
2743         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
2744         New file.
2745         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
2746         New file.
2747         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
2748         multiarch lrint for PowerPC32.
2749         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
2750         file: multiarch lrintf for PowerPC32.
2752 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2754         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
2755         and lroundf multiarch implementations.
2756         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
2757         New file.
2758         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
2759         New file.
2760         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
2761         New file.
2762         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
2763         multiarch lround for PowerPC32.
2764         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
2765         file: multiarch lroundf for PowerPC32.
2767 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2769         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
2770         copysign and copysignf multiarch implementations.
2771         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
2772         New file.
2773         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
2774         New file.
2775         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
2776         file: multiarch copysign for PowerPC32.
2777         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
2778         file: multiarch copysignf for PowerPC32.
2780 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2782         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
2783         and truncf multiarch implementations.
2784         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
2785         New file.
2786         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
2787         file.
2788         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
2789         multiarch trunc for PowerPC32.
2790         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
2791         New file.
2792         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
2793         New file.
2794         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
2795         multiarch truncf for PowerPC32.
2797 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2799         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
2800         and roundf multiarch implementations.
2801         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
2802         New file.
2803         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
2804         file.
2805         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
2806         multiarch round for PowerPC32.
2807         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
2808         New file.
2809         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
2810         New file.
2811         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
2812         multiarch roundf for PowerPC32.
2814 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2816         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
2817         and floorf multiarch implementations.
2818         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
2819         New file.
2820         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
2821         file.
2822         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
2823         multiarch floor for PowerPC32.
2824         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
2825         New file.
2826         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
2827         New file.
2828         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
2829         multiarch floorf for PowerPC32.
2831 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2833         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
2834         and ceilf multiarch implementations.
2835         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
2836         New file.
2837         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
2838         file.
2839         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
2840         multiarch ceil for PowerPC32.
2841         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
2842         New file.
2843         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
2844         file.
2845         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
2846         multiarch ceilf for PowerPC32.
2848 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2850         * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
2851         is defined.
2852         * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
2853         FINITEF is defined.
2854         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
2855         and finitef multiarch implementations.
2856         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
2857         New file.
2858         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
2859         file.
2860         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
2861         multiarch finite for PowerPC32.
2862         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
2863         New file.
2864         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
2865         file: multiarch finitef for PowerPC32.
2867 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2869         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
2870         and isinff multiarch implementations.
2871         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
2872         file.
2873         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
2874         file.
2875         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
2876         multiarch isinf for PowerPC32.
2877         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
2878         New file.
2879         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
2880         multiarch isinff for PowerPC32.
2882 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2884         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
2885         alias when __isnan is defined.
2886         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
2887         and isnanf multiarch implementations.
2888         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
2889         file.
2890         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
2891         file.
2892         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
2893         file.
2894         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
2895         file.
2896         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
2897         multiarch isnan for PowerPC32.
2898         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
2899         New file.
2900         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
2901         New file.
2902         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
2903         multiarch isnanf for PowerPC32.
2905 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2907         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
2908         and sqrtf multiarch implementations.
2909         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
2910         file.
2911         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
2912         file.
2913         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
2914         multiarch sqrt for PowerPC32.
2915         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
2916         file.
2917         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
2918         file.
2919         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
2920         multiarch sqrtf for PowerPC32.
2922 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2924         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
2925         and llroundf multiarch implementations.
2926         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
2927         New file.
2928         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
2929         New file.
2930         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
2931         New file.
2932         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
2933         file: multiarch llround for PowerPC32.
2934         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
2935         file: multiarch llroundf for PowerPC32.
2937 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2939         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
2940         multiarch PowerPC32 fpu implementations.
2941         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
2942         New file.
2943         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
2944         New file.
2945         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
2946         multiarch llrint for PowerPC32.
2947         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
2948         New file.
2949         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
2950         New file.
2951         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
2952         file.
2954 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2956         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
2958 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2960         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
2961         file.
2962         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
2963         file.
2964         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
2965         file.
2966         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
2967         multiarch wordcopy for PPC32.
2968         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
2969         wordcopy objects.
2970         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
2971         (__libc_ifunc_impl_list): Likewise.
2972         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
2973         * sysdeps/powerpc/power4/wordcopy.c: ... to here.
2974         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
2975         * sysdeps/powerpc/power6/wordcopy.c: ... to here.
2976         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
2977         * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
2979 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2981         * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
2982         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
2983         file.
2984         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
2985         file.
2986         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
2987         file.
2988         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
2989         multiarch wcscpy for PPC32.
2990         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
2991         multiarch objects.
2992         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
2993         (__libc_ifunc_impl_list): Likewise.
2994         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
2995         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
2996         * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
2997         sysdeps/powerpc/power6/wcscpy.c.
2999 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3001         * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
3002         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
3003         file.
3004         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
3005         file.
3006         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
3007         file.
3008         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
3009         multiarch wcsrchr for PPC32.
3010         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
3011         multiarch objects.
3012         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
3013         (__libc_ifunc_impl_list): Likewise.
3014         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
3015         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
3016         * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
3017         sysdeps/powerpc/power6/wcsrchr.c.
3019 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3021         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
3022         file.
3023         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
3024         file.
3025         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
3026         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
3027         multiarch wcschr for PPc32.
3028         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
3029         multiarch objects.
3030         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
3031         (__libc_ifunc_impl_list): Likewise.
3032         * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
3033         * sysdeps/powerpc/power6/wcschr.c: ... to here.
3034         * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
3035         sysdeps/powerpc/power6/wcschr.c.
3037 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3039         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
3040         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
3041         file.
3042         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
3043         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
3044         file: multiarch strchr for PPC32.
3045         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
3046         multiarch objects.
3047         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
3048         (__libc_ifunc_impl_list): Likewise.
3050 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3052         * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
3053         name.
3054         * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
3055         file.
3056         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
3057         file.
3058         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
3059         multiarch strchrnul for PPC32.
3060         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
3061         multiarch objects.
3062         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
3063         (__libc_ifunc_impl_list): Likewise.
3065 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3067         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
3068         file.
3069         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
3070         multiarch strncasecmp for PPC32.
3071         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
3072         file.
3073         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
3074         multiarch strncasecmp_l for PPC32.
3075         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
3076         strncasecmp multiarch objects.
3077         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
3078         (__libc_ifunc_impl_list): Likewise.
3080 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3082         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
3083         file.
3084         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
3085         multiarch strncasecmp for PPC32.
3086         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
3087         New file.
3088         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
3089         multiarch strcasecmp_l for PPC32.
3090         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
3091         multiarch objects.
3092         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
3093         (__libc_ifunc_impl_list): Likewise.
3095 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3097         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
3098         file.
3099         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
3100         file.
3101         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
3102         multiarch strncmp for PPC32.
3103         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
3104         multiarch objects.
3105         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
3106         (__libc_ifunc_impl_list): Likewise.
3108 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3110         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
3111         * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
3112         file.
3113         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
3114         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
3115         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
3116         multiarch objects.
3117         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
3118         (__libc_ifunc_impl_list): Likewise.
3120 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3122         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
3123         file.
3124         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
3125         file.
3126         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
3127         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
3128         multiarch objects.
3129         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
3130         (__libc_ifunc_impl_list): Likewise.
3132 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3134         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
3135         file.
3136         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
3137         file.
3138         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
3139         multiarch rawmemchr for PPC32.
3140         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
3141         multiarch objects.
3142         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
3143         (__libc_ifunc_impl_list): Likewise.
3145 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3147         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
3148         file.
3149         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
3150         file.
3151         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
3152         file: memrchr multiarch for PPC32.
3153         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
3154         multiarch objects.
3155         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
3156         (__libc_ifunc_impl_list): Likewise.
3158 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3160         * string/memchr.c (__memchr): Using macro to redefine symbol name.
3161         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
3162         file.
3163         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
3164         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
3165         multiarch memchr for PPC32.
3166         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
3167         multiarch objects.
3168         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
3169         (__libc_ifunc_impl_list): Likewise.
3171 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3173         * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
3174         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
3175         file.
3176         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
3177         file.
3178         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
3179         file: multiarch mempcpy for PPC32.
3180         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
3181         multiarch objects.
3182         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
3183         (__libc_ifunc_impl_list): Likewise.
3185 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3187         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
3188         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
3189         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
3190         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
3191         multiarch bzero for PPC32.
3192         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
3193         file.
3194         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
3195         file.
3196         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
3197         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
3198         file: multiarch memset for PPC32.
3199         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
3200         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
3201         memset multiarch objects.
3202         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
3203         (__libc_ifunc_impl_list): Likewise.
3205 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3207         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
3208         file.
3209         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
3210         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
3211         memcmp for PPC32.
3212         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
3213         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
3214         multiarch objects.
3215         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
3216         (__libc_ifunc_impl_list): Likewise.
3218 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3220         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
3221         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
3222         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
3223         file.
3224         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
3225         file.
3226         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
3227         file.
3228         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
3229         multiarch memcpy for PPC32.
3230         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
3231         multiarch objects.
3232         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
3233         (__libc_ifunc_impl_list): Likewise.
3235 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3237         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
3238         support multiarch for POWER/PPC32.
3239         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
3240         Likewise.
3241         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
3242         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
3243         Implies file to make multiarch folder appers before the fpu and
3244         default folder for power4 configuration.
3246 2013-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
3248         * scripts/bench.pl: Append volatile keyword to type.
3250 2013-12-05  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
3252         * sysdeps/sh/sotruss-lib.c: New file.
3253         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
3255 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3257         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3259 2013-12-05  Joseph Myers  <joseph@codesourcery.com>
3261         [BZ #6810]
3262         * math/w_tgamma.c: Include <errno.h>.
3263         (__tgamma): Use __glibc_unlikely.  Set errno on underflow to 0.
3264         * math/w_tgammaf.c: Include <errno.h>.
3265         (__tgammaf): Use __glibc_unlikely.  Set errno on underflow to 0.
3266         * math/w_tgammal.c: Include <errno.h>.
3267         (__tgammal): Use __glibc_unlikely.  Set errno on underflow to 0.
3268         * math/auto-libm-test-in: Do not allow missing errno on tgamma
3269         underflow.  Add more tgamma tests.
3270         * math/auto-libm-test-out: Regenerated.
3271         * sysdeps/i386/fpu/libm-test-ulps: Update.
3272         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3274         * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
3275         sin, sinh, tan, tanh, tgamma, y0 and y1.
3276         * math/auto-libm-test-out: Regenerated.
3277         * math/libm-test.inc (TEST_COND_x86_64): New macro.
3278         (TEST_COND_x86): Likewise.
3279         (M_E2l): Remove macro.
3280         (M_E3l): Likewise.
3281         (M_2_SQRT_PIl): Likewise.
3282         (M_SQRT_PIl): Likewise.
3283         (M_1_DIV_El): Likewise.
3284         (log_test_data): Use AUTO_TESTS_f_f.
3285         (log10_test_data): Likewise.
3286         (log1p_test_data): Likewise.
3287         (log2_test_data): Likewise.
3288         (sin_test_data): Likewise.
3289         (sin_tonearest_test_data): Likewise.
3290         (sin_towardzero_test_data): Likewise.
3291         (sin_downward_test_data): Likewise.
3292         (sin_upward_test_data): Likewise.
3293         (sinh_test_data): Likewise.
3294         (sinh_tonearest_test_data): Likewise.
3295         (sinh_towardzero_test_data): Likewise.
3296         (sinh_downward_test_data): Likewise.
3297         (sinh_upward_test_data): Likewise.
3298         (tan_test_data): Likewise.
3299         (tan_tonearest_test_data): Likewise.
3300         (tan_towardzero_test_data): Likewise.
3301         (tan_downward_test_data): Likewise.
3302         (tan_upward_test_data): Likewise.
3303         (tanh_test_data): Likewise.
3304         (tgamma_test_data): Likewise.
3305         (y0_test_data): Likewise.
3306         (y1_test_data): Likewise.
3307         * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
3308         (special_real_inputs): Add pi/4.
3309         * sysdeps/i386/fpu/libm-test-ulps: Update.
3310         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3312 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3314         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
3315         "longjmp_target" static probes.
3316         (__longjmp): Rename to __longjmp_symbol.
3317         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
3318         * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
3319         on which longjmp to generate.
3320         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
3321         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
3322         probe.
3323         (__sigsetjmp): Rename to __sigsetjmp_symbol.
3324         (__sigjmp_save): Rename to __sigjmp_save_symbol.
3325         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
3326         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
3327         and __sigjmp_save_symbol based on which sigsetjmp to generated.
3328         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
3329         * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
3330         __longjmp_symbol based on which __longjmp to generate.
3331         * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
3332         probe.
3333         (setjmp): Rename to setjmp_symbol.
3334         (__sigsetjmp): Rename to __sigsetjmp_symbol.
3335         (_setjmp): Rename to _setjmp_symbol.
3336         (__sigsetjmp): Rename to __sigsetjmp_symbol.
3337         * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
3338         _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
3339         which setjmp to generate.
3340         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
3341         "longjmp_target" static probes.
3343 2013-12-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
3345         * benchtests/README: Add note about output arguments.
3346         * benchtests/bench-sincos.c: Remove file.
3347         * benchtests/sincos-inputs: New file.
3348         * scripts/bench.pl: Identify output arguments and define
3349         static variables for them.
3351         * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
3353         [BZ #15941]
3354         * Makefile (INSTALL): Add install-plain.texi as the primary
3355         dependency.
3356         * manual/install-plain.texi: New file.
3357         * manual/install.texi: Include node directive only for
3358         non-plaintext output.
3360 2013-12-04  Joseph Myers  <joseph@codesourcery.com>
3362         * stdlib/longlong.h: Update from GCC.
3364         [BZ #6807]
3365         [BZ #15901]
3366         * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
3367         * math/w_j0f.c (y0f): Likewise.
3368         * math/w_j0l.c (__y0l): Likewise.
3369         * math/w_j1.c (y1): Likewise.
3370         * math/w_j1f.c (y1f): Likewise.
3371         * math/w_j1l.c (__y1l): Likewise
3372         * math/w_jn.c (yn): Likewise.
3373         * math/w_jnf.c (ynf): Likewise.
3374         * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
3375         Bessel function pole errors in _POSIX_ mode.  Use NAN as return
3376         value for Bessel function domain errors outside _SVID_ mode.
3377         Adjust sign of return value for yn (negative integer, 0).
3378         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
3379         by zero in return for negative x and set sign appropriately for
3380         negative n.
3381         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
3382         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
3383         * math/libm-test.inc (y0_test_data): Add more tests and adjust
3384         expectations in error cases.
3385         (y1_test_data): Likewise.
3386         (yn_test_data): Likewise.
3387         * sysdeps/i386/fpu/libm-test-ulps: Update.
3388         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3390 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
3392         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
3393         "64" to "64-v1".  Add "64-v2".
3394         (abi-64-options): Rename to ...
3395         (abi-64-v1-options): ... this.   Redefine _CALL_ELF.
3396         (abi-64-condition): Rename to ...
3397         (abi-64-v1-condition): ... this.  Add _CALL_ELF check.,
3398         (abi-64-ld-soname): Rename to ...
3399         (abi-64-v1-ld-soname): ... this.
3400         (abi-64-v2-options): Define.
3401         (abi-64-v2-condition): Likewise.
3402         (abi-64-v2-ld-soname): Likewise.
3403         * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
3404         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
3405         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
3406         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
3407         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
3409 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
3410             Alan Modra  <amodra@gmail.com>
3412         * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
3413         New versions for use with the ELFv2 ABI.
3414         (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
3415         * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
3416         declaration.
3417         (struct La_ppc64v2_retval): Likewise.
3418         (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
3419         (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
3420         * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
3421         to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
3422         (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
3423         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
3424         Do not save or restore CR.
3425         (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
3426         (_dl_profile_resolve): Do no save or restore CR.  Support extended
3427         return values for ELFv2 ABI.  Fix location of FPR return registers.
3428         * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
3429         updated values for _CALL_ELF == 2.
3430         (La_regs, La_retval, int_retval): Likewise.
3432 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
3434         * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
3435         (FRAME_MIN_SIZE_PARM): Likewise.
3436         (FRAME_BACKCHAIN): Likewise.
3437         (FRAME_CR_SAVE): Likewise.
3438         (FRAME_LR_SAVE): Likewise.
3439         (FRAME_TOC_SAVE): Likewise.
3440         (FRAME_PARM_SAVE): Likewise.
3441         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
3442         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
3443         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
3444         (call_mcount_parm_offset): New macro.
3445         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
3446         (PROF): Use symbolic stack frame offsets.
3447         (TAIL_CALL_SYSCALL_ERROR): Likewise.
3448         * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
3449         Redefine in terms of FRAME_MIN_SIZE.
3450         (_dl_runtime_resolve): Use symbolic stack frame offsets.
3451         (_dl_profile_resolve): Likewise.  Update comment.
3452         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
3453         symbols stack frame offsets.
3454         (__sigsetjmp): Likewise.
3455         * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
3456         * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
3457         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
3458         * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
3460         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
3461         (FRAME_BACKCHAIN): Remove.
3462         (FRAME_CR_SAVE): Likewise.
3463         (FRAME_LR_SAVE): Likewise.
3464         (FRAME_COMPILER_DW): Likewise.
3465         (FRAME_LINKER_DW): Likewise.
3466         (FRAME_TOC_SAVE): Likewise.
3467         (FRAME_PARM_SAVE): Likewise.
3468         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
3469         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
3470         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
3471         * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
3472         (CHECK_SP): Use symbolic stack frame offsets.
3473         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
3474         zone" instead of caller's parameter save area for temp storage.
3475         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
3476         Likewise.  Also, use symbolic stack frame offsets.
3477         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
3478         stackblock): Redefine for _CALL_ELF == 2 to save parameters into
3479         our own stack frame instead of the caller's.
3480         (__socket): Use symbolic stack frame offsets.
3482 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
3483             Alan Modra  <amodra@gmail.com>
3485         * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
3486         Define.
3487         (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK,
3488         PPC64_LOCAL_ENTRY_OFFSET): Define.
3489         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
3490         New function.
3491         (elf_machine_fixup_plt): Call it.
3492         (elf_machine_plt_conflict): Likewise.  Add map, sym_map, and
3493         reloc arguments.
3494         (elf_machine_rela): Update call to elf_machine_plt_conflict.
3495         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve,
3496         _dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
3497         r2 before calling target.
3499 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
3500             Alan Modra  <amodra@gmail.com>
3502         * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
3503         (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
3504         versions of macros to support ELFv2 ABI.
3505         (LOCALENTRY): New macro.
3506         (ENTRY, EALIGN): Use it.
3507         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
3508         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
3509         fall through into ENTRY entry point.
3510         * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
3511         Only define if _CALL_ELF != 2.
3513         (elf_machine_matches_host): Verify ABI version matches.
3514         (RTLD_START): Use LOCALENTRY.
3515         (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
3516         (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
3517         (PLT_ENTRY_WORDS): New macro.
3518         (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
3519         (elf_machine_runtime_setup): Support ELFv2 ABI.
3520         (elf_machine_fixup_plt): Likewise.
3521         (elf_machine_plt_conflict): Likewise.
3522         (resolve_ifunc): Likewise.
3523         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
3524         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
3525         Likewise.
3526         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
3527         (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
3528         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
3529         (makecontext): Support ELFv2 ABI.
3530         * elf/elf.h (EF_PPC64_ABI): Define.
3532 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
3534         * sysdeps/powerpc/powerpc64/sysdep.h [ASSEMBLER] (PPC64_LOAD_FUNCPTR):
3535         New assembler macro.
3536         [ASSEMBLER] (ENTRY_1): Do not switch to .text section here ...
3537         [ASSEMBLER] (ENTRY): ... but instead here ...
3538         [ASSEMBLER] (EALIGN): ... and here.
3539         [!ASSEMBLER] (PPC64_LOAD_FUNCPTR): New macro.
3540         [!ASSEMBLER] (ENTRY_1): New macro; set up .opd entry.
3541         [!ASSEMBLER] (ENTRY_2): Use it.
3542         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
3543         ENTRY_2 changes.  Use PPC64_LOAD_FUNCPTR.
3544         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve,
3545         _dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
3546         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
3547         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
3548         Use PPC64_LOAD_FUNCPTR.
3550 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
3552         * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
3554 2013-12-04  Alan Modra  <amodra@gmail.com>
3556         * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
3557         (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
3558         (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
3559         (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
3561         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
3562         overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
3563         R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
3564         Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
3565         R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
3566         Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
3568 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
3570         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
3571         (__makecontext): Fix incorrect CFI when backtracing out of
3572         context created via makecontext.
3573         * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
3574         (__setcontext): Fix incorrect CFI during switch to new context.
3575         (__novec_setcontext): Likewise.
3577 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
3579         [BZ #4772]
3580         * time/strptime_l.c (__strptime_internal): Allow modifiers
3581         in strptime.
3582         * time/tst-strptime.c (day_tests): Add testcase.
3585 2013-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
3587         * scripts/bench.pl: Skip over blank lines.
3589 2013-12-04  Paul Eggert  <eggert@cs.ucla.edu>
3591         [BZ #926]
3592         * manual/time.texi (Calendar Time): Clarify what timezone functions
3593         use.
3595 2013-12-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3597         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3599 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
3601         * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
3602         implementation.
3603         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
3604         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
3605         * debug/memset_chk.c (__memset_chk): Likewise.
3606         * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
3607         * debug/strncpy_chk.c: Likewise.
3609 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
3611         [BZ #15268]
3612         [BZ #15425]
3613         * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
3614         (__ieee754_exp): For possibly underflowing results, check size of
3615         result and force underflow exception if required.
3616         * math/auto-libm-test-in: Add more tests of exp.
3617         * math/auto-libm-test-out: Regenerated.
3618         * sysdeps/i386/fpu/libm-test-ulps: Update.
3619         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3621         [BZ #16283]
3622         * math/w_exp2.c (__exp2): Handle a zero result as underflow.
3623         * math/w_exp2f.c (__exp2f): Likewise.
3624         * math/w_exp2l.c (__exp2l): Likewise.
3625         * math/auto-libm-test-in: Do not allow missing errno on exp2
3626         underflow.
3627         * math/auto-libm-test-out: Regenerated.
3629 2013-12-03  Ondřej Bílka  <neleai@seznam.cz>
3631         [BZ #16274]
3632         * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
3633         handle filename validation.
3634         * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
3635         (do_open): Delete.
3637 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
3639         [BZ #6786]
3640         * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
3641         (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
3642         * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
3643         <float.h>.
3644         (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
3645         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
3646         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
3647         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
3648         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
3649         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
3650         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
3651         * math/auto-libm-test-in: Don't allow missing errno from erfc.
3652         Add more erfc tests.
3653         * math/auto-libm-test-out: Regenerated.
3654         * sysdeps/i386/fpu/libm-test-ulps: Update.
3655         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3657         * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
3658         exp2, expm1, j0 and j1.
3659         * math/auto-libm-test-out: Regenerated.
3660         * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
3661         (erfc_test_data): Likewise.
3662         (exp_test_data): Likewise.
3663         (exp_tonearest_test_data): Likewise.
3664         (exp_towardzero_test_data): Likewise.
3665         (exp_downward_test_data): Likewise.
3666         (exp_upward_test_data): Likewise.
3667         (exp10_test_data): Likewise.
3668         (exp2_test_data): Likewise.
3669         (expm1_test_data): Likewise.
3670         (j0_test_data): Likewise.
3671         (j1_test_data): Likewise.
3672         * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
3673         (input_flag_type): Add flag_xfail_rounding.
3674         (input_flags): Add xfail-rounding.
3675         (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
3676         (output_for_one_input_case): Handle flag_xfail_rounding.
3677         * sysdeps/i386/fpu/libm-test-ulps: Update.
3678         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3680 2013-12-03  Aurelien Jarno  <aurelien@aurel32.net>
3682         [BZ #16289]
3683         * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
3684         division by 0.
3686 2013-12-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
3688         [BZ #16195]
3689         * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
3690         (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
3691         (STAP_PROBE0): New macro.
3692         (STAP_PROBE1): Likewise.
3693         (STAP_PROBE2): Likewise.
3694         (STAP_PROBE3): Likewise.
3695         (STAP_PROBE4): Likewise.
3697 2013-12-02  Ondřej Bílka  <neleai@seznam.cz>
3699         * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
3701 2013-12-02  Steve Ellcey  <sellcey@mips.com>
3703         * benchtests/Makefile (bench): Add sqrt.
3704         (LDLIBS-bench-sqrt): New.
3705         * benchtests/sqrt-input: New.
3707 2013-12-02  Pavel Simerda  <psimerda@redhat.com>
3709         * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
3710         (GAIH_EAI): Likewise.
3711         (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
3712         (gaih_inet): Likewise.
3713         (getaddrinfo): Don't use GAIH_EAI.
3715         * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
3716         (struct gaih): Remove definition.
3718 2013-12-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
3720         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
3721         Use HERRNOP directly.
3723 2013-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3725         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3727 2013-11-30  Joseph Myers  <joseph@codesourcery.com>
3729         * math/gen-auto-libm-tests.c (test_functions): Add more
3730         single-argument functions.
3731         (special_fill_pi_2): New function.
3732         (special_fill_minus_pi_2): Likewise.
3733         (special_fill_pi_6): Likewise.
3734         (special_fill_minus_pi_6): Likewise.
3735         (special_fill_pi_3): Likewise.
3736         (special_fill_2pi_3): Likewise.
3737         (special_fill_e): Likewise.
3738         (special_fill_1_e): Likewise.
3739         (special_fill_e_minus_1): Likewise.
3740         (special_real_inputs): Add more special inputs.
3741         (output_for_one_input_case): Do not require ERANGE on underflow to
3742         zero if round-to-nearest result does not underflow to zero, unless
3743         exact results required.
3744         * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
3745         atan, atanh, cbrt, cos and cosh.
3746         * math/auto-libm-test-out: Regenerated.
3747         * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
3748         (acos_tonearest_test_data): Likewise.
3749         (acos_towardzero_test_data): Likewise.
3750         (acos_downward_test_data): Likewise.
3751         (acos_upward_test_data): Likewise.
3752         (acosh_test_data): Likewise.
3753         (asin_test_data): Likewise.
3754         (asin_tonearest_test_data): Likewise.
3755         (asin_towardzero_test_data): Likewise.
3756         (asin_upward_test_data): Likewise.
3757         (asinh_test_data): Likewise.
3758         (atan_test_data): Likewise.
3759         (atanh_test_data): Likewise.
3760         (cbrt_test_data): Likewise.
3761         (cos_test_data): Likewise.
3762         (cos_tonearest_test_data): Likewise.
3763         (cos_towardzero_test_data): Likewise.
3764         (cos_downward_test_data): Likewise.
3765         (cos_upward_test_data): Likewise.
3766         (cosh_test_data): Likewise.
3767         (cosh_tonearest_test_data): Likewise.
3768         (cosh_towardzero_test_data): Likewise.
3769         (cosh_downward_test_data): Likewise.
3770         (cosh_upward_test_data): Likewise.
3771         * sysdeps/i386/fpu/libm-test-ulps: Update.
3772         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3774 2013-11-29  Joseph Myers  <joseph@codesourcery.com>
3776         [BZ #6787]
3777         * math/w_exp10.c (__exp10): Handle a zero result as underflow.
3778         * math/w_exp10f.c (__exp10f): Likewise.
3779         * math/w_exp10l.c (__exp10l): Likewise.
3780         * math/libm-test.inc (exp10_test_data): Add more tests and expect
3781         errno settings in existing tests.
3783         [BZ #14032]
3784         * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
3785         precision control set to double precision.
3786         * sysdeps/i386/fpu/w_sqrt.c: New file.
3787         * math/auto-libm-test-in: Add more tests.
3788         * math/auto-libm-test-out: Update.
3790         * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
3791         (sqrt_test_tonearest): New function.
3792         (sqrt_towardzero_test_data): New variable.
3793         (sqrt_test_towardzero): New function.
3794         (sqrt_downward_test_data): New variable.
3795         (sqrt_test_downward): New function.
3796         (sqrt_upward_test_data): New variable.
3797         (sqrt_test_upward): New function.
3798         (main): Call the new functions.
3800         * math/gen-auto-libm-tests.c: New file.
3801         * math/auto-libm-test-in: Likewise.
3802         * math/auto-libm-test-out: New generated file.
3803         * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
3804         variables.
3805         (%beautify): Add generated representations of zero.
3806         (top level): Set $auto_input and call parse_auto_input.
3807         (beautify): Remove trailing "f" from hex float constants.
3808         (parse_args): Handle XFAIL_TEST.
3809         (convert_condition): New function.
3810         (or_value): Likewise.
3811         (or_cond_value): Likewise.
3812         (generate_testfile): Handle AUTO_TESTS_* lines.
3813         (parse_auto_input): New function.
3814         * math/libm-test.inc (XFAIL_TEST): New macro.
3815         (ERRNO_UNCHANGED): Update value.
3816         (ERRNO_EDOM): Likewise.
3817         (ERRNO_ERANGE): Likewise.
3818         (IGNORE_RESULT): Likewise.
3819         (TEST_COND_flt_32): New macro.
3820         (TEST_COND_dbl_64): Likewise.
3821         (TEST_COND_ldbl_96_intel): Likewise.
3822         (TEST_COND_ldbl_96_m68k): Likewise.
3823         (TEST_COND_ldbl_128): Likewise.
3824         (TEST_COND_ldbl_128ibm): Likewise.
3825         (TEST_COND_long32): Likewise.
3826         (TEST_COND_long64): Likewise.
3827         (TEST_COND_before_rounding): Likewise.
3828         (TEST_COND_after_rounding): Likewise.
3829         (enable_test): Handle XFAIL_TEST flag.
3830         (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
3831         with finite results.
3832         * math/Makefile ($(objpfx)libm-test.stmp): Depend on
3833         auto-libm-test-out.
3835 2013-11-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
3836             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
3838         [BZ #16214]
3839         * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
3840         __tls_get_addr_internal instead of __tls_get_offset in order to
3841         avoid GOT pointer dependency.  Make rtld export
3842         __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
3843         __tls_get_addr since we are a __tls_get_offset platform.
3844         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
3845         GOT pointer being set up before.
3846         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
3848 2013-11-28  Joseph Myers  <joseph@codesourcery.com>
3850         * manual/math.texi (Errors in Math Functions): Document accuracy
3851         goals.
3853         [BZ #15004]
3854         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
3855         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
3856         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
3857         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
3858         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
3859         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
3860         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
3861         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
3862         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
3863         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
3864         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
3865         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
3866         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
3867         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
3868         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
3869         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
3871         * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
3872         * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
3873         * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
3874         * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
3875         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
3876         Likewise.
3877         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
3878         Likewise.
3879         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
3880         Likewise.
3881         * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
3882         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
3883         (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
3884         atomic-feupdateenv and flt-rounds.
3885         * sysdeps/powerpc/nofpu/Versions (libc): Add
3886         __atomic_feholdexcept, __atomic_feclearexcept,
3887         __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
3888         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
3889         (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
3890         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
3891         (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
3892         here.
3893         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
3894         Update.
3896         * manual/arith.texi (FP Exceptions): Document that exceptions may
3897         not be raised when matherr is used.
3898         (Math Error Reporting): Document overflow in directed rounding
3899         modes.  Document that errno may not be set when finite values are
3900         returned on overflow.  Document intent to set errno on underflow
3901         only for underflow to zero.
3903         [BZ #16271]
3904         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
3905         round-to-nearest then adjust result for other rounding modes.
3906         * include/fenv.h (fegetround): Use libm_hidden_proto.
3907         * math/fegetround.c (fegetround): Use libm_hidden_def.
3908         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
3909         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
3910         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
3911         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
3912         Likewise.
3913         * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
3914         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
3915         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
3916         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
3918 2013-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
3920         [BZ #16077]
3921         * nss/Versions (libnss_files): Add
3922         _nss_files_gethostbyname3_r.
3923         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
3924         New function.
3925         (HOST_DB_LOOKUP): Remove macro.
3926         (_nss_files_gethostbyname_r): Implement function without the
3927         HOST_DB_LOOKUP macro.
3928         (_nss_files_gethostbyname2_r): Likewise.
3930 2013-11-28  Ondřej Bílka  <neleai@seznam.cz>
3932         * malloc/malloc.c (__libc_calloc): Make memset a tail call.
3934 2013-11-26  Uros Bizjak  <ubizjak@gmail.com>
3936         * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
3937         _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
3938         warning.
3940 2013-11-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3942         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
3943         __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
3944         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
3945         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
3946         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
3947         __fe_nomask_env_priv and attribute_hidden.
3948         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
3949         (libc_feupdateenv_test_ppc): Likewise.
3950         (libc_feresetround_ppc): Likewise.
3951         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
3952         (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
3953         compat_symbol macro.
3954         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
3955         (__fe_nomask_env): Likewise.
3956         * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
3958 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
3960         * string/Makefile: Remove ifunc tests.
3961         * string/test-string.h: Define TEST_IFUNC.
3962         * string/test-bcopy-ifunc.c: Remove.
3963         * string/test-bzero-ifunc.c: Likewise.
3964         * string/test-memccpy-ifunc.c: Likewise.
3965         * string/test-memchr-ifunc.c: Likewise.
3966         * string/test-memcmp-ifunc.c: Likewise.
3967         * string/test-memcpy-ifunc.c: Likewise.
3968         * string/test-memmem-ifunc.c: Likewise.
3969         * string/test-memmove-ifunc.c: Likewise.
3970         * string/test-mempcpy-ifunc.c: Likewise.
3971         * string/test-memrchr-ifunc.c: Likewise.
3972         * string/test-memset-ifunc.c: Likewise.
3973         * string/test-rawmemchr-ifunc.c: Likewise.
3974         * string/test-stpcpy-ifunc.c: Likewise.
3975         * string/test-stpncpy-ifunc.c: Likewise.
3976         * string/test-strcasecmp-ifunc.c: Likewise.
3977         * string/test-strcasestr-ifunc.c: Likewise.
3978         * string/test-strcat-ifunc.c: Likewise.
3979         * string/test-strchr-ifunc.c: Likewise.
3980         * string/test-strchrnul-ifunc.c: Likewise.
3981         * string/test-strcmp-ifunc.c: Likewise.
3982         * string/test-strcpy-ifunc.c: Likewise.
3983         * string/test-strcspn-ifunc.c: Likewise.
3984         * string/test-strlen-ifunc.c: Likewise.
3985         * string/test-strncasecmp-ifunc.c: Likewise.
3986         * string/test-strncat-ifunc.c: Likewise.
3987         * string/test-strncmp-ifunc.c: Likewise.
3988         * string/test-strncpy-ifunc.c: Likewise.
3989         * string/test-strnlen-ifunc.c: Likewise.
3990         * string/test-strpbrk-ifunc.c: Likewise.
3991         * string/test-strrchr-ifunc.c: Likewise.
3992         * string/test-strspn-ifunc.c: Likewise.
3993         * string/test-strstr-ifunc.c: Likewise.
3995 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
3997         * benchtests/Makefile: Remove ifunc tests.
3998         * benchtests/bench-string.h: Define TEST_IFUNC.
3999         * benchtests/bench-bcopy-ifunc.c: Remove.
4000         * benchtests/bench-bzero-ifunc.c: Likewise.
4001         * benchtests/bench-memccpy-ifunc.c: Likewise.
4002         * benchtests/bench-memchr-ifunc.c: Likewise.
4003         * benchtests/bench-memcmp-ifunc.c: Likewise.
4004         * benchtests/bench-memcpy-ifunc.c: Likewise.
4005         * benchtests/bench-memmem-ifunc.c: Likewise.
4006         * benchtests/bench-memmove-ifunc.c: Likewise.
4007         * benchtests/bench-mempcpy-ifunc.c: Likewise.
4008         * benchtests/bench-memrchr-ifunc.c: Likewise.
4009         * benchtests/bench-memset-ifunc.c: Likewise.
4010         * benchtests/bench-rawmemchr-ifunc.c: Likewise.
4011         * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
4012         * benchtests/bench-stpcpy-ifunc.c: Likewise.
4013         * benchtests/bench-stpncpy-ifunc.c: Likewise.
4014         * benchtests/bench-strcasecmp-ifunc.c: Likewise.
4015         * benchtests/bench-strcasestr-ifunc.c: Likewise.
4016         * benchtests/bench-strcat-ifunc.c: Likewise.
4017         * benchtests/bench-strchr-ifunc.c: Likewise.
4018         * benchtests/bench-strchrnul-ifunc.c: Likewise.
4019         * benchtests/bench-strcmp-ifunc.c: Likewise.
4020         * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
4021         * benchtests/bench-strcpy-ifunc.c: Likewise.
4022         * benchtests/bench-strcspn-ifunc.c: Likewise.
4023         * benchtests/bench-strlen-ifunc.c: Likewise.
4024         * benchtests/bench-strncasecmp-ifunc.c: Likewise.
4025         * benchtests/bench-strncat-ifunc.c: Likewise.
4026         * benchtests/bench-strncmp-ifunc.c: Likewise.
4027         * benchtests/bench-strncpy-ifunc.c: Likewise.
4028         * benchtests/bench-strnlen-ifunc.c: Likewise.
4029         * benchtests/bench-strpbrk-ifunc.c: Likewise.
4030         * benchtests/bench-strrchr-ifunc.c: Likewise.
4031         * benchtests/bench-strsep-ifunc.c: Likewise.
4032         * benchtests/bench-strspn-ifunc.c: Likewise.
4033         * benchtests/bench-strstr-ifunc.c: Likewise.
4035 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
4037         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
4039 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
4041         * resolv/netdb.h: Use __glibc_reserved instead __unused.
4042         * rt/aio.h: Likewise.
4043         * sysdeps/gnu/bits/utmp.h: Likewise.
4044         * sysdeps/gnu/bits/utmpx.h: Likewise.
4045         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
4046         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
4047         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
4048         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
4049         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
4050         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
4051         * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
4052         * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
4053         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
4054         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
4055         * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
4056         * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
4057         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
4058         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
4059         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
4060         * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
4061         * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
4062         * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
4063         * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
4064         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
4065         * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
4066         * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
4067         * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
4068         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
4069         * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
4070         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
4071         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
4072         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
4073         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
4074         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
4075         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
4076         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
4077         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
4078         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
4079         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
4080         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
4081         * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
4082         * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
4083         * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
4084         * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
4085         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
4086         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
4088 2013-11-25  Carlos O'Donell  <carlos@redhat.com>
4090         [BZ #16245]
4091         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
4092         Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
4094 2013-11-25  Joseph Myers  <joseph@codesourcery.com>
4096         * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
4097         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
4098         Likewise.
4100 2013-11-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4102         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
4103         SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
4104         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
4105         (__fesetround): Remove define.
4106         * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
4107         rounding and exceptions handling.
4108         * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
4109         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
4110         (__fe_nomask_env): Likewise.
4111         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
4112         __fegetround instead of fegetround.
4113         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
4114         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
4116 2013-11-21  Roland McGrath  <roland@hack.frob.com>
4118         * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
4119         it's there.
4121         * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
4123 2013-11-21  Meador Inge  <meadori@codesourcery.com>
4125         [BZ #11157]
4126         * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
4127         (encrypt_r): Likewise.
4128         * malloc/obstack.h (obstack_free): Likewise.
4129         * posix/unistd.h (encrypt): Likewise.
4131 2013-11-21  Guy Martin  <gmsoft@tuxicoman.be>
4133         * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
4134         DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
4135         DL_CALL_DT_FINI() that call the functions directly.
4136         * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
4137         * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
4138         * elf/dl-fini.c: Likewise.
4140 2013-11-20  Ondřej Bílka  <neleai@seznam.cz>
4142         * malloc/hooks.c (memalign_check): Add alignment rounding.
4143         * malloc/malloc.c (_mid_memalign): New function.
4144         (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
4145         Implement by calling _mid_memalign.
4146         * manual/probes.texi (Memory Allocation Probes): Remove
4147         memory_valloc_retry and memory_pvalloc_retry.
4149 2013-11-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
4151         * locale/programs/locarchive.c (open_archive): Add const
4152         qualifier to ARCHIVEFNAME and copy default fname to
4153         DEFAULT_FNAME.
4155         [BZ #15601]
4156         * libio/tst-widetext.input: Rename Oriya to Odia.
4157         * locale/iso-639.def: Likewise.
4159         * manual/probes.texi (Mathematical Function Probes): Add
4160         documentation for sin, cos, asin and acos probes.
4161         * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
4162         (__sin32): Add slowasin probe.
4163         (__cos32): Add slowacos probe.
4164         (__mpsin): Add slowsin probe.
4165         (__mpcos): Add slowcos probe.
4167 2013-11-19  Joseph Myers  <joseph@codesourcery.com>
4169         [BZ #15483]
4170         * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
4171         thread-local __sim_exceptions_thread and global
4172         __sim_exceptions_global.
4173         (__sim_disabled_exceptions): Change to thread-local
4174         __sim_disabled_exceptions_thread and global
4175         __sim_disabled_exceptions_global.
4176         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
4177         and global __sim_round_mode_global.
4178         (__simulate_exceptions): Use thread-local floating-point state and
4179         set global state from it as needed.
4180         * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
4181         __sim_exceptions_thread, __sim_disabled_exceptions_thread and
4182         __sim_round_mode_thread.
4183         * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
4184         (__sim_exceptions): Change to thread-local __sim_exceptions_thread
4185         and global __sim_exceptions_global.
4186         (__sim_disabled_exceptions): Change to thread-local
4187         __sim_disabled_exceptions_thread and global
4188         __sim_disabled_exceptions_global.
4189         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
4190         and global __sim_round_mode_global.
4191         [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
4192         (SIM_SET_GLOBAL): Likewise.
4193         * sysdeps/powerpc/soft-fp/sfp-machine.h
4194         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
4195         __sim_round_mode_thread.
4196         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
4197         __sim_disabled_exceptions_thread.
4198         (__sim_exceptions): Change to __sim_exceptions_thread.
4199         (__sim_disabled_exceptions): Change to
4200         __sim_disabled_exceptions_thread.
4201         (__sim_round_mode): Change to __sim_round_mode_thread.
4202         * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
4203         thread-local floating-point state and set global state from it as
4204         needed.
4205         * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
4206         * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
4207         (__sim_disabled_exceptions): Remove extern declaration.
4208         (feenableexcept): Use thread-local floating-point state and set
4209         global state from it as needed.
4210         * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
4211         extern declaration.
4212         (__sim_disabled_exceptions): Likewise.
4213         (__sim_round_mode): Likewise.
4214         (__fegetenv): Use thread-local floating-point state.
4215         * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
4216         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
4217         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
4218         floating-point state and set global state from it as needed.
4219         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
4220         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
4221         * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
4222         Likewise.
4223         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
4224         * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
4225         Likewise.
4226         sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
4227         * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
4228         Use __sim_round_mode_thread.
4229         * math/test-fenv-tls.c: New file.
4230         * math/Makefile (tests): Add test-fenv-tls.
4231         ($(objpfx)test-fenv-tls): Depend on
4232         $(common-objpfx)nptl/libpthread.so.
4234 2013-11-19  Andreas Schwab  <schwab@suse.de>
4236         * locale/programs/locale.c (show_info): Decode wordarray elements.
4237         * locale/categories.def (LC_MONETARY): Add element for
4238         _NL_MONETARY_CRNCYSTR.
4239         * locale/C-monetary.c (conversion_rate): New variable.
4240         (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
4241         element.
4243 2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
4245         * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
4246         Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
4248 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
4250         * elf/Makefile (tst-auxv): New test.
4251         * elf/tst-auxv.c: New
4252         * elf/rtld.c (dl_main): Adjust AT_EXECFN
4254 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
4256         * include/libc-symbols.h (__hidden_proto): Add argument "thread".
4257         (hidden_proto): Caller changed.
4258         (hidden_tls_proto): New macro.
4259         (libc_hidden_tls_proto): Likewise.
4260         (rtld_hidden_tls_proto): Likewise.
4261         (libm_hidden_tls_proto): Likewise.
4262         (libresolv_hidden_tls_proto): Likewise.
4263         (librt_hidden_tls_proto): Likewise.
4264         (libdl_hidden_tls_proto): Likewise.
4265         (libnss_files_hidden_tls_proto): Likewise.
4266         (libnsl_hidden_tls_proto): Likewise.
4267         (libnss_nisplus_hidden_tls_proto): Likewise.
4268         (libutil_hidden_tls_proto): Likewise.
4270 2013-11-18  Ondřej Bílka  <neleai@seznam.cz>
4272         [BZ #10253]
4273         * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
4274         (decompose_rpath): Defer expansion to fillin_rpath.
4275         (_dl_init_paths): Pass linkmap to fillin_rpath.
4277 2013-11-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
4279         * benchtests/Makefile: Add strsep.
4280         * benchtests/bench-strsep.c: New file: strsep benchtest.
4281         * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
4283 2013-11-18  Andreas Schwab  <schwab@suse.de>
4285         * locale/programs/locale.c (show_info) [case byte]: Check for
4286         '\377' instead of '\177'.
4287         * locale/C-monetary.c (not_available): Always use "\377".
4288         * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
4289         unspecified p_sign_posn and n_sign_posn.  Check for '\377' to
4290         detect unavailable sign_posn locale elements.
4291         * locale/localeconv.c (__localeconv): For grouping and
4292         mon_grouping handle "\177" and "\377" like no grouping.
4293         (INT_ELEM): New macro.  Use it to set all numeric members.
4294         * locale/programs/ld-monetary.c (monetary_read)
4295         <tok_mon_grouping>: Normalize single -1 to the empty string.
4296         * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
4297         Likewise.
4299 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
4301         [BZ #16055]
4302         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
4303         when we match (nil).
4304         * stdio-common/tst-sscanf.c (struct test): Add testcase.
4306 2013-11-16  Joseph Myers  <joseph@codesourcery.com>
4308         * math/libm-test.inc (TEST_NAN_SIGN): New macro.
4309         (NO_TEST_INLINE): Update value.
4310         (ERRNO_UNCHANGED): Likewise.
4311         (ERRNO_EDOM): Likewise.
4312         (ERRNO_ERANGE): Likewise.
4313         (IGNORE_RESULT): Likewise.
4314         (check_float_internal): Check signs of NaN results if
4315         TEST_NAN_SIGN used.
4316         (check_complex): Pass TEST_NAN_SIGN flag through to second
4317         check_float_internal call.
4318         (copysign_test_data): Add tests with quiet NaNs as second
4319         argument.  Use TEST_NAN_SIGN.
4320         (fabs_test_data): Add test of negative quiet NaN argument.  Use
4321         TEST_NAN_SIGN.
4322         (signbit_test_data): Add tests of quiet NaN argument.
4323         * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
4325         * math/gen-libm-test.pl (show_exceptions): Take extra argument
4326         $ignore_result.
4327         (parse_args): Handle function results specified as IGNORE.
4328         * math/libm-test.inc (IGNORE_RESULT): New macro.
4329         (check_float_internal): Do not check numerical result if flag
4330         IGNORE_RESULT set.
4331         (check_complex): Pass through IGNORE_RESULT to second
4332         check_float_internal call.
4333         (check_int): Do not check numerical result if flag IGNORE_RESULT
4334         set.
4335         (check_long): Likewise.
4336         (check_bool): Likewise.
4337         (check_longlong): Likewise.
4338         (lrint_test_data): Add tests of infinite and NaN arguments.
4339         (lrint_tonearest_test_data): Likewise.
4340         (lrint_towardzero_test_data): Likewise.
4341         (lrint_downward_test_data): Likewise.
4342         (lrint_upward_test_data): Likewise.
4343         (llrint_test_data): Likewise.
4344         (llrint_tonearest_test_data): Likewise.
4345         (llrint_towardzero_test_data): Likewise.
4346         (llrint_downward_test_data): Likewise.
4347         (llrint_upward_test_data): Likewise.
4348         (lround_test_data): Likewise.
4349         (llround_test_data): Likewise.
4351         * math/libm-test.inc (NO_TEST_INLINE): New macro.
4352         (ERRNO_UNCHANGED): Update value.
4353         (ERRNO_EDOM): Likewise.
4354         (ERRNO_ERANGE): Likewise.
4355         (NO_TEST_INLINE_FLOAT): New macro.
4356         (NO_TEST_INLINE_DOUBLE): Likewise.
4357         (enable_test): New function.
4358         (RUN_TEST_f_f): Check enable_test before running test.
4359         (RUN_TEST_2_f): Likewise.
4360         (RUN_TEST_fff_f): Likewise.
4361         (RUN_TEST_c_f): Likewise.
4362         (RUN_TEST_f_f1): Likewise.
4363         (RUN_TEST_fF_f1): Likewise.
4364         (RUN_TEST_fI_f1): Likewise.
4365         (RUN_TEST_ffI_f1): Likewise.
4366         (RUN_TEST_c_c): Likewise.
4367         (RUN_TEST_cc_c): Likewise.
4368         (RUN_TEST_f_i): Likewise.
4369         (RUN_TEST_f_i_tg): Likewise.
4370         (RUN_TEST_ff_i_tg): Likewise.
4371         (RUN_TEST_f_b): Likewise.
4372         (RUN_TEST_f_b_tg): Likewise.
4373         (RUN_TEST_f_l): Likewise.
4374         (RUN_TEST_f_L): Likewise.
4375         (RUN_TEST_fFF_11): Likewise.
4376         (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
4377         conditionals.
4378         (cosh_test_data): Likewise.
4379         (exp_test_data): Likewise.
4380         (expm1_test_data): Likewise.
4381         (hypot_test_data): Likewise.
4382         (pow_test_data): Likewise.
4383         (sinh_test_data): Likewise.
4384         (tanh_test_data): Likewise.
4385         * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
4386         flags argument.
4388         * libm-test.inc (acos_test_data): Disallow inexact exceptions for
4389         tests with quiet NaN input and output.
4390         (acosh_test_data): Likewise.
4391         (asin_test_data): Likewise.
4392         (asinh_test_data): Likewise.
4393         (atan_test_data): Likewise.
4394         (atanh_test_data): Likewise.
4395         (atan2_test_data): Likewise.
4396         (cbrt_test_data): Likewise.
4397         (cos_test_data): Likewise.
4398         (cosh_test_data): Likewise.
4399         (erf_test_data): Likewise.
4400         (erfc_test_data): Likewise.
4401         (exp_test_data): Likewise.
4402         (exp10_test_data): Likewise.
4403         (exp2_test_data): Likewise.
4404         (expm1_test_data): Likewise.
4405         (hypot_test_data): Likewise.
4406         (j0_test_data): Likewise.
4407         (j1_test_data): Likewise.
4408         (jn_test_data): Likewise.
4409         (lgamma_test_data): Likewise.
4410         (log_test_data): Likewise.
4411         (log10_test_data): Likewise.
4412         (log1p_test_data): Likewise.
4413         (log2_test_data): Likewise.
4414         (pow_test_data): Likewise.
4415         (scalb_test_data): Likewise.
4416         (sin_test_data): Likewise.
4417         (sincos_test_data): Likewise.
4418         (sinh_test_data): Likewise.
4419         (tan_test_data): Likewise.
4420         (tanh_test_data): Likewise.
4421         (tgamma_test_data): Likewise.
4422         (y0_test_data): Likewise.
4423         (y1_test_data): Likewise.
4424         (yn_test_data): Likewise.
4426         [BZ #16167]
4427         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
4428         argument being NaN and avoid computations with second argument in
4429         that case.
4430         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
4431         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
4432         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
4434 2013-11-15  Arun Kumar Pyasi <arun@chitwanix.com>
4436         * locale/iso-639.def: Add Chitwani Tharu (the).
4438 2013-11-14  Andreas Schwab  <schwab@suse.de>
4440         * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
4441         word instead of empty string.
4443 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4445         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
4446         (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
4447         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
4448         (__fe_nomask_env): Likewise.
4450 2013-11-13  Steve Ellcey  <sellcey@mips.com>
4452         * benchtests/bench-timing.h: Include time.h.
4454 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
4456         [BZ #15997]
4457         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
4458         to 3.4.0 for x32.
4459         * sysdeps/unix/sysv/linux/configure: Regenerated.
4461 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
4463         [BZ #16151]
4464         * stdlib/strtod_l.c (round_and_return): Do not consider
4465         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
4466         exponent one less than half the least subnormal exponent.
4467         * stdlib/test-strtod-round-data: Add more tests.
4468         * stdlib/tst-strtod-round.c (tests): Regenerated.
4470 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4472         [BZ #14143]
4473         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
4474         (__fe_mask_env): Likewise.
4475         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
4476         libm_hidden_proto and add function prototype.
4477         (__fe_mask_env): Add function prototype.
4478         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
4479         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
4480         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
4481         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
4482         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
4483         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
4485 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
4487         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
4488         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
4490 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
4492         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
4493         of htab_find_slot().
4495 2013-11-11  David S. Miller  <davem@davemloft.net>
4497         [BZ #16150]
4498         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
4499         symbol in the non-vis3 case in static builds.
4500         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
4501         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
4502         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
4503         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
4505 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
4507         [BZ #387]
4508         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
4509         it is empty.
4511 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4513         * benchtests/Makefile: Add bench-strtod.
4514         * benchtests/bench-strtod.c: New file: strtod benchtest
4516 2013-11-11  Andreas Schwab  <schwab@suse.de>
4518         [BZ #16153]
4519         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
4520         terminating NUL in key length.
4522 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4524         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
4525         Add artificial ODP entry for vDSO symbol for PPC64.
4526         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
4527         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
4529 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
4531         [BZ #15374]
4532         * nss/getent.c (services_keys): Recognize services starting with digit.
4534 2013-11-06  David S. Miller  <davem@davemloft.net>
4536         [BZ #15985]
4537         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
4538         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
4540 2013-11-06  Will Newton  <will.newton@linaro.org>
4542         * manual/memory.texi (Malloc Examples): Remove register
4543         keyword from examples.
4545 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
4547         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
4549 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
4551         [BZ #6981]
4552         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
4553         depending on [__GCC_IEC_559 > 0].
4554         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
4555         depending on [__GCC_IEC_559_COMPLEX > 0].
4557 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
4559         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
4560         to iso-639.def.
4562 2013-11-03  Ondřej Bílka  <neleai@seznam.cz>
4564         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
4566 2013-11-01  Ondřej Bílka  <neleai@seznam.cz>
4568         [BZ #16112]
4569         * malloc/malloc (malloc_info): Do not handle first bin as
4570         special case.
4572 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
4574         * locale/iso-639.def: Add Central Nahuatl (nhn).
4576 2013-11-01  Bruno Haible  <bruno@clisp.org>
4578         [BZ #7003]
4579         * manual/math.texi (BSD Random): Specify range upper bound as
4580         in POSIX.
4582 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
4584         * locale/iso-639.def: Add Meadow Mari (mhr).
4586 2013-10-31  Ondřej Bílka  <neleai@seznam.cz>
4588         [BZ #14752], [BZ #15763]
4589         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
4590         Validate name.
4591         * rt/tst_shm.c: Add test for escaping directory.
4593 2013-10-31  Andreas Schwab  <schwab@suse.de>
4595         [BZ #15917]
4596         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
4597         followed by 'x' as part of digit sequence.
4598         * stdio-common/tst-sscanf.c (double_tests2): New tests.
4600 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
4602         [BZ #16037]
4603         * configure.ac: allow GNU Make 4.0 and greater.
4604         * configure: Regenerated.
4606 2013-10-30  Will Newton  <will.newton@linaro.org>
4608         [BZ #16038]
4609         * malloc/hooks.c (memalign_check): Limit alignment to the
4610         maximum representable power of two.
4611         * malloc/malloc.c (__libc_memalign): Likewise.
4612         * malloc/tst-memalign.c (do_test): Add test for very
4613         large alignment values.
4614         * malloc/tst-posix_memalign.c (do_test): Likewise.
4616 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
4618         [BZ #11087]
4619         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
4620         (munmap_chunk): Likewise.
4621         (mremap_chunk): Likewise.
4623 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
4625         [BZ #15799]
4626         * stdlib/div.c (div): Remove obsolete code.
4627         * stdlib/ldiv.c (ldiv): Likewise.
4628         * stdlib/lldiv.c (lldiv): Likewise.
4630 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
4632         [BZ #16071]
4633         * nss/nss_files/files-XXX.c (get_contents_ret): New
4634         enumerator.
4635         (get_contents): New function.
4636         (internal_getent): Use it.  Expand size of LINEBUFLEN.
4638 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
4640         * configure.in: Moved to ...
4641         * configure.ac: ... here. Change reference to configure.in
4642         to configure.ac.
4643         * sysdeps/arm/preconfigure.ac: ... here.
4644         configure.in to configure.ac.
4645         * sysdeps/gnu/configure.in: Moved to ...
4646         * sysdeps/gnu/configure.ac: ... here.
4647         * sysdeps/i386/configure.in: Moved to ...
4648         * sysdeps/i386/configure.ac: ... here.
4649         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
4650         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
4651         * sysdeps/mach/configure.in: Moved to ...
4652         * sysdeps/mach/configure.ac: ... here.
4653         * sysdeps/mach/hurd/configure.in: Moved to ...
4654         * sysdeps/mach/hurd/configure.ac: ... here.
4655         * sysdeps/powerpc/configure.in: Moved to ...
4656         * sysdeps/powerpc/configure.ac: ... here.
4657         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
4658         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
4659         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
4660         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
4661         * sysdeps/s390/s390-32/configure.in: Moved to ...
4662         * sysdeps/s390/s390-32/configure.ac: ... here.
4663         * sysdeps/s390/s390-64/configure.in: Moved to ...
4664         * sysdeps/s390/s390-64/configure.ac: ... here.
4665         * sysdeps/sh/configure.in: Moved to ...
4666         * sysdeps/sh/configure.ac: ... here.
4667         * sysdeps/sparc/configure.in: Moved to ...
4668         * sysdeps/sparc/configure.ac: ... here.
4669         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
4670         * sysdeps/unix/sysv/linux/configure.ac: ... here.
4671         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
4672         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
4673         * sysdeps/x86_64/configure.in: Moved to ...
4674         * sysdeps/x86_64/configure.ac: ... here.
4675         * sysdeps/x86_64/preconfigure.in: Moved to ...
4676         * sysdeps/x86_64/preconfigure.ac: ... here.
4677         * aclocal.m4: Change reference to configure.in to configure.ac.
4678         * config.h.in: Likewise.
4679         * manual/install.texi: Likewise.
4680         * manual/maint.texi: Likewise.
4681         * Makefile: Likewise.
4682         * malloc/Makefile: Likewise.
4683         * nscd/Makefile: Likewise.
4684         * Makeconfig: Change reference to configure.in and
4685         preconfigure.in to configure.ac and preconfigure.ac
4686         respectively.
4687         * INSTALL: Regenerated.
4688         * configure: Likewise.
4689         * sysdeps/gnu/configure: Likewise.
4690         * sysdeps/i386/configure: Likewise.
4691         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
4692         * sysdeps/mach/configure: Likewise.
4693         * sysdeps/mach/hurd/configure: Likewise.
4694         * sysdeps/powerpc/configure: Likewise.
4695         * sysdeps/powerpc/powerpc32/configure: Likewise.
4696         * sysdeps/powerpc/powerpc64/configure: Likewise.
4697         * sysdeps/s390/s390-32/configure: Likewise.
4698         * sysdeps/s390/s390-64/configure: Likewise.
4699         * sysdeps/sh/configure: Likewise.
4700         * sysdeps/sparc/configure: Likewise.
4701         * sysdeps/unix/sysv/linux/configure: Likewise.
4702         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
4703         * sysdeps/x86_64/configure: Likewise.
4704         * sysdeps/x86_64/preconfigure: Likewise.
4706 2013-10-29  Andreas Schwab  <schwab@suse.de>
4708         * stdio-common/Makefile (tst-swscanf-ENV): Define.
4710 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
4712         * benchtests/pow-inputs: Add new inputs.
4714         * benchtests/exp-inputs: Add new inputs.
4716         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
4717         conditional check for return value.
4718         (__cos32): Likewise.
4720 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4722         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
4723         to provide a boost for large inputs with word alignment.
4724         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
4725         implementation based on optimized PPC64 strcpy.
4726         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
4727         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
4728         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
4729         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
4731 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
4733         [BZ #2801]
4734         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
4736 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
4738         [BZ #14876]
4739         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
4740         * time/tst-strptime.c (day_tests): Add testcase.
4742 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
4744         [BZ #14029]
4745         * manual/pattern.texi: Acknowledge that fnmatch can fail.
4747 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
4749         [BZ #16074]
4750         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
4751         MAP_FAILED on error.
4753 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
4755         [BZ #16072]
4756         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
4757         heap for large requests.
4759 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
4761         [BZ #9954]
4762         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
4763         result if the result has no associated interface.
4764         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
4765         interface for all 127.X.Y.Z addresses.
4767 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
4769         * locale/iso-639.def: Add Ligurian (lij)
4771 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
4773         [BZ #15825]
4774         * sunrpc/rpc_main.c: Document rpcgen -5.
4776 2013-10-19  Michael Stahl  <mstahl@redhat.com>
4778         * elf/rtld.c (do_preload): Print the reason why preloading failed.
4780 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
4782         [BZ #10278]
4783         * posix/glob.c: Match only directories when trailing slash is present.
4784         * posix/tst-gnuglob.c (my_opendir): Do not open files.
4785         (main): Add testcase.
4787 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
4789         [BZ #15670]
4790         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
4792 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
4794         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
4795         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
4796         AUTH_DES and cindex for FIPS 140-2.
4797         (DES Encryption): Add cindex FIPS 46-3.
4799         * locale/locarchive.h (struct locarhandle): Add fname.
4800         * locale/programs/localedef.c (main): Pass ARGV[remaining]
4801         if an optional argument was specified to --list-archive,
4802         otherwise NULL.
4803         * locale/programs/locarchive.c (show_archive_content): Take new
4804         argument fname and pass it via ah.fname to open_archive.
4805         * locale/programs/localedef.h: Update decl.
4806         (open_archive): If AH->fname is non-null, open that file
4807         rather than the default file name, and don't ignore ENOENT.
4808         (create_archive): Set AH.fname to NULL.
4809         (delete_locales_from_archive): Likewise.
4810         (add_locales_to_archive): Likewise.
4811         * locale/programs/locfile.c (write_all_categories): Likewise.
4813 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
4814             Aldy Hernandez  <aldyh@redhat.com>
4816         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
4817         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
4818         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
4819         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
4820         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
4821         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
4822         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
4823         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
4824         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
4825         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
4826         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
4827         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
4828         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
4829         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
4830         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
4831         Likewise.
4832         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
4833         Likewise.
4834         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
4835         Likewise.
4836         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
4837         Likewise.
4838         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
4839         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
4840         Likewise.
4841         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
4842         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
4843         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
4844         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
4845         Likewise.
4846         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
4847         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
4848         * sysdeps/powerpc/preconfigure: Likewise.
4849         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
4850         Likewise.
4851         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
4852         Replace contents of file by #include of <fenv_libc.h>.
4853         * sysdeps/powerpc/soft-fp/sfp-machine.h
4854         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
4855         and <sys/prctl.h>.
4856         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
4857         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
4858         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
4859         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
4860         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
4861         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
4862         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
4863         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
4864         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
4865         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
4866         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
4867         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
4868         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
4869         Allow copysignl PLT reference to be missing.
4871 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
4872             Joseph Myers  <joseph@codesourcery.com
4874         [BZ #15948]
4875         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
4876         single character.
4877         (add_to_tablewc): Assert sequence of wide characters is nonempty.
4879 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
4881         * elf/tst-tls-dlinfo.c: Don't include tls.h.
4882         * elf/tst-tls1.c: Likewise.
4883         * elf/tst-tls10.h: Likewise.
4884         * elf/tst-tls14.c: Likewise.
4885         * elf/tst-tls2.c: Likewise.
4886         * elf/tst-tls3.c: Likewise.
4887         * elf/tst-tls4.c: Likewise.
4888         * elf/tst-tls5.c: Likewise.
4889         * elf/tst-tls6.c: Likewise.
4890         * elf/tst-tls7.c: Likewise.
4891         * elf/tst-tls8.c: Likewise.
4892         * elf/tst-tls9.c: Likewise.
4893         * elf/tst-tlsmod1.c: Likewise.
4894         * elf/tst-tlsmod13.c: Likewise.
4895         * elf/tst-tlsmod13a.c: Likewise.
4896         * elf/tst-tlsmod14a.c: Likewise.
4897         * elf/tst-tlsmod16a.c: Likewise.
4898         * elf/tst-tlsmod16b.c: Likewise.
4899         * elf/tst-tlsmod2.c: Likewise.
4900         * elf/tst-tlsmod3.c: Likewise.
4901         * elf/tst-tlsmod4.c: Likewise.
4902         * elf/tst-tlsmod5.c: Likewise.
4903         * elf/tst-tlsmod6.c: Likewise.
4905 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
4907         [BZ #12486]
4908         * malloc/malloc.c: remove checks for statistics.
4910 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
4912         [BZ #15277]
4913         * inet/inet_net.c (inet_network): Detect additional invalid strings.
4914         * inet/tst-network.c: Add testcase.
4916 2013-10-17  Andreas Schwab  <schwab@suse.de>
4918         [BZ #15218]
4919         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
4920         to determine canonical name.
4922 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
4924         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
4925         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
4926         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
4927         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
4928         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
4929         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
4930         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
4931         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
4932         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
4933         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
4934         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
4935         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
4936         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
4937         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
4938         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
4939         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
4940         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
4941         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
4942         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
4943         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
4944         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
4945         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
4946         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
4947         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
4948         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
4949         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
4950         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
4951         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
4952         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
4953         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
4954         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
4955         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
4956         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
4957         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
4958         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
4959         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
4960         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
4961         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
4962         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
4963         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
4964         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
4965         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
4966         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
4967         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
4968         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
4969         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
4970         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
4971         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
4972         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
4973         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
4974         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
4975         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
4976         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
4977         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
4978         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
4979         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
4980         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
4981         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
4983 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
4985         [BZ #16041]
4986         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
4987         make result into a quiet NaN.
4989 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
4991         * soft-fp/adddf3.c: Fix horizontal whitespace.
4992         * soft-fp/addsf3.c: Likewise.
4993         * soft-fp/addtf3.c: Likewise.
4994         * soft-fp/divdf3.c: Likewise.
4995         * soft-fp/divsf3.c: Likewise.
4996         * soft-fp/divtf3.c: Likewise.
4997         * soft-fp/double.h: Likewise.
4998         * soft-fp/eqdf2.c: Likewise.
4999         * soft-fp/eqsf2.c: Likewise.
5000         * soft-fp/eqtf2.c: Likewise.
5001         * soft-fp/extenddftf2.c: Likewise.
5002         * soft-fp/extended.h: Likewise.
5003         * soft-fp/extendsfdf2.c: Likewise.
5004         * soft-fp/extendsftf2.c: Likewise.
5005         * soft-fp/extendxftf2.c: Likewise.
5006         * soft-fp/fixdfdi.c: Likewise.
5007         * soft-fp/fixdfsi.c: Likewise.
5008         * soft-fp/fixdfti.c: Likewise.
5009         * soft-fp/fixsfdi.c: Likewise.
5010         * soft-fp/fixsfsi.c: Likewise.
5011         * soft-fp/fixsfti.c: Likewise.
5012         * soft-fp/fixtfdi.c: Likewise.
5013         * soft-fp/fixtfsi.c: Likewise.
5014         * soft-fp/fixtfti.c: Likewise.
5015         * soft-fp/fixunsdfdi.c: Likewise.
5016         * soft-fp/fixunsdfsi.c: Likewise.
5017         * soft-fp/fixunsdfti.c: Likewise.
5018         * soft-fp/fixunssfdi.c: Likewise.
5019         * soft-fp/fixunssfsi.c: Likewise.
5020         * soft-fp/fixunssfti.c: Likewise.
5021         * soft-fp/fixunstfdi.c: Likewise.
5022         * soft-fp/fixunstfsi.c: Likewise.
5023         * soft-fp/fixunstfti.c: Likewise.
5024         * soft-fp/floatdidf.c: Likewise.
5025         * soft-fp/floatdisf.c: Likewise.
5026         * soft-fp/floatditf.c: Likewise.
5027         * soft-fp/floatsidf.c: Likewise.
5028         * soft-fp/floatsisf.c: Likewise.
5029         * soft-fp/floatsitf.c: Likewise.
5030         * soft-fp/floattidf.c: Likewise.
5031         * soft-fp/floattisf.c: Likewise.
5032         * soft-fp/floattitf.c: Likewise.
5033         * soft-fp/floatundidf.c: Likewise.
5034         * soft-fp/floatundisf.c: Likewise.
5035         * soft-fp/floatunditf.c: Likewise.
5036         * soft-fp/floatunsidf.c: Likewise.
5037         * soft-fp/floatunsisf.c: Likewise.
5038         * soft-fp/floatunsitf.c: Likewise.
5039         * soft-fp/floatuntidf.c: Likewise.
5040         * soft-fp/floatuntisf.c: Likewise.
5041         * soft-fp/floatuntitf.c: Likewise.
5042         * soft-fp/fmadf4.c: Likewise.
5043         * soft-fp/fmasf4.c: Likewise.
5044         * soft-fp/fmatf4.c: Likewise.
5045         * soft-fp/gedf2.c: Likewise.
5046         * soft-fp/gesf2.c: Likewise.
5047         * soft-fp/getf2.c: Likewise.
5048         * soft-fp/ledf2.c: Likewise.
5049         * soft-fp/lesf2.c: Likewise.
5050         * soft-fp/letf2.c: Likewise.
5051         * soft-fp/muldf3.c: Likewise.
5052         * soft-fp/mulsf3.c: Likewise.
5053         * soft-fp/multf3.c: Likewise.
5054         * soft-fp/negdf2.c: Likewise.
5055         * soft-fp/negsf2.c: Likewise.
5056         * soft-fp/negtf2.c: Likewise.
5057         * soft-fp/op-1.h: Likewise.
5058         * soft-fp/op-2.h: Likewise.
5059         * soft-fp/op-4.h: Likewise.
5060         * soft-fp/op-8.h: Likewise.
5061         * soft-fp/op-common.h: Likewise.
5062         * soft-fp/quad.h: Likewise.
5063         * soft-fp/single.h: Likewise.
5064         * soft-fp/soft-fp.h: Likewise.
5065         * soft-fp/sqrtdf2.c: Likewise.
5066         * soft-fp/sqrtsf2.c: Likewise.
5067         * soft-fp/sqrttf2.c: Likewise.
5068         * soft-fp/subdf3.c: Likewise.
5069         * soft-fp/subsf3.c: Likewise.
5070         * soft-fp/subtf3.c: Likewise.
5071         * soft-fp/truncdfsf2.c: Likewise.
5072         * soft-fp/trunctfdf2.c: Likewise.
5073         * soft-fp/trunctfsf2.c: Likewise.
5074         * soft-fp/trunctfxf2.c: Likewise.
5075         * soft-fp/unorddf2.c: Likewise.
5076         * soft-fp/unordsf2.c: Likewise.
5077         * soft-fp/unordtf2.c: Likewise.
5079 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
5081         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
5082         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
5084 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
5086         * elf/dl-libc.c: Clear initfini list after freeing.
5088 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
5090         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
5091         * soft-fp/addsf3.c: Likewise.
5092         * soft-fp/addtf3.c: Likewise.
5093         * soft-fp/divdf3.c: Likewise.
5094         * soft-fp/divsf3.c: Likewise.
5095         * soft-fp/divtf3.c: Likewise.
5096         * soft-fp/double.h: Likewise.
5097         * soft-fp/eqdf2.c: Likewise.
5098         * soft-fp/eqsf2.c: Likewise.
5099         * soft-fp/eqtf2.c: Likewise.
5100         * soft-fp/extenddftf2.c: Likewise.
5101         * soft-fp/extended.h: Likewise.
5102         * soft-fp/extendsfdf2.c: Likewise.
5103         * soft-fp/extendsftf2.c: Likewise.
5104         * soft-fp/extendxftf2.c: Likewise.
5105         * soft-fp/fixdfdi.c: Likewise.
5106         * soft-fp/fixdfsi.c: Likewise.
5107         * soft-fp/fixdfti.c: Likewise.
5108         * soft-fp/fixsfdi.c: Likewise.
5109         * soft-fp/fixsfsi.c: Likewise.
5110         * soft-fp/fixsfti.c: Likewise.
5111         * soft-fp/fixtfdi.c: Likewise.
5112         * soft-fp/fixtfsi.c: Likewise.
5113         * soft-fp/fixtfti.c: Likewise.
5114         * soft-fp/fixunsdfdi.c: Likewise.
5115         * soft-fp/fixunsdfsi.c: Likewise.
5116         * soft-fp/fixunsdfti.c: Likewise.
5117         * soft-fp/fixunssfdi.c: Likewise.
5118         * soft-fp/fixunssfsi.c: Likewise.
5119         * soft-fp/fixunssfti.c: Likewise.
5120         * soft-fp/fixunstfdi.c: Likewise.
5121         * soft-fp/fixunstfsi.c: Likewise.
5122         * soft-fp/fixunstfti.c: Likewise.
5123         * soft-fp/floatdidf.c: Likewise.
5124         * soft-fp/floatdisf.c: Likewise.
5125         * soft-fp/floatditf.c: Likewise.
5126         * soft-fp/floatsidf.c: Likewise.
5127         * soft-fp/floatsisf.c: Likewise.
5128         * soft-fp/floatsitf.c: Likewise.
5129         * soft-fp/floattidf.c: Likewise.
5130         * soft-fp/floattisf.c: Likewise.
5131         * soft-fp/floattitf.c: Likewise.
5132         * soft-fp/floatundidf.c: Likewise.
5133         * soft-fp/floatundisf.c: Likewise.
5134         * soft-fp/floatunsidf.c: Likewise.
5135         * soft-fp/floatunsisf.c: Likewise.
5136         * soft-fp/floatuntidf.c: Likewise.
5137         * soft-fp/floatuntisf.c: Likewise.
5138         * soft-fp/floatuntitf.c: Likewise.
5139         * soft-fp/fmadf4.c: Likewise.
5140         * soft-fp/fmasf4.c: Likewise.
5141         * soft-fp/fmatf4.c: Likewise.
5142         * soft-fp/gedf2.c: Likewise.
5143         * soft-fp/gesf2.c: Likewise.
5144         * soft-fp/getf2.c: Likewise.
5145         * soft-fp/ledf2.c: Likewise.
5146         * soft-fp/lesf2.c: Likewise.
5147         * soft-fp/letf2.c: Likewise.
5148         * soft-fp/muldf3.c: Likewise.
5149         * soft-fp/mulsf3.c: Likewise.
5150         * soft-fp/multf3.c: Likewise.
5151         * soft-fp/negdf2.c: Likewise.
5152         * soft-fp/negsf2.c: Likewise.
5153         * soft-fp/negtf2.c: Likewise.
5154         * soft-fp/op-1.h: Likewise.
5155         * soft-fp/op-2.h: Likewise.
5156         * soft-fp/op-4.h: Likewise.
5157         * soft-fp/op-8.h: Likewise.
5158         * soft-fp/op-common.h: Likewise.
5159         * soft-fp/quad.h: Likewise.
5160         * soft-fp/single.h: Likewise.
5161         * soft-fp/soft-fp.h: Likewise.
5162         * soft-fp/sqrtdf2.c: Likewise.
5163         * soft-fp/sqrtsf2.c: Likewise.
5164         * soft-fp/sqrttf2.c: Likewise.
5165         * soft-fp/subdf3.c: Likewise.
5166         * soft-fp/subsf3.c: Likewise.
5167         * soft-fp/subtf3.c: Likewise.
5168         * soft-fp/truncdfsf2.c: Likewise.
5169         * soft-fp/trunctfdf2.c: Likewise.
5170         * soft-fp/trunctfsf2.c: Likewise.
5171         * soft-fp/trunctfxf2.c: Likewise.
5172         * soft-fp/unorddf2.c: Likewise.
5173         * soft-fp/unordsf2.c: Likewise.
5174         * soft-fp/unordtf2.c: Likewise.
5176 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
5178         [BZ #15672]
5179         * misc/error.c (error_tail): Fix possible buffer overflow.
5181 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
5183         [BZ #13028]
5184         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
5185         address.
5187 2013-10-14  P. J. McDermott  <pj@pehjota.net>
5189         [BZ #832]
5190         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
5191         testing pipefail option.
5193 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
5195         * soft-fp/double.h: Indent preprocessor directives inside #if.
5196         * soft-fp/extended.h: Likewise.
5197         * soft-fp/op-2.h: Likewise.
5198         * soft-fp/op-4.h: Likewise.
5199         * soft-fp/op-common.h: Likewise.
5200         * soft-fp/quad.h: Likewise.
5201         * soft-fp/single.h: Likewise.
5202         * soft-fp/soft-fp.h: Likewise.
5204 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
5206         * iconv/iconv_prog.c: Fix typos.
5207         * stdio-common/psiginfo-data.h: Likewise.
5209 2013-10-12   Reuben Thomas <rrt@sc3d.org>
5211         [BZ #15764]
5212         * locale/setlocale.c: Fix typo.
5214 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
5216         [BZ #16036]
5217         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
5218         signaling NaN arguments.
5219         * soft-fp/unordsf2.c (__unordsf2): Likewise.
5220         * soft-fp/unordtf2.c (__unordtf2): Likewise.
5222         [BZ #14910]
5223         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
5224         unordered operands.
5225         * soft-fp/gesf2.c (__gesf2): Likewise.
5226         * soft-fp/getf2.c (__getf2): Likewise.
5227         * soft-fp/ledf2.c (__ledf2): Likewise.
5228         * soft-fp/lesf2.c (__lesf2): Likewise.
5229         * soft-fp/letf2.c (__letf2): Likewise.
5231         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
5232         * soft-fp/eqsf2.c (__eqsf2): Likewise.
5233         * soft-fp/eqtf2.c (__eqtf2): Likewise.
5234         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
5235         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
5236         * soft-fp/fixdfti.c (__fixdfti): Likewise.
5237         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
5238         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
5239         * soft-fp/fixsfti.c (__fixsfti): Likewise.
5240         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
5241         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
5242         * soft-fp/fixtfti.c (__fixtfti): Likewise.
5243         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
5244         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
5245         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
5246         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
5247         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
5248         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
5249         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
5250         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
5251         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
5252         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
5253         * soft-fp/floatdisf.c (__floatdisf): Likewise.
5254         * soft-fp/floatsisf.c (__floatsisf): Likewise.
5255         * soft-fp/floattidf.c (__floattidf): Likewise.
5256         * soft-fp/floattisf.c (__floattisf): Likewise.
5257         * soft-fp/floattitf.c (__floattitf): Likewise.
5258         * soft-fp/floatundidf.c (__floatundidf): Likewise.
5259         * soft-fp/floatundisf.c (__floatundisf): Likewise.
5260         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
5261         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
5262         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
5263         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
5264         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
5265         * soft-fp/gesf2.c (__gesf2): Likewise.
5266         * soft-fp/getf2.c (__getf2): Likewise.
5267         * soft-fp/ledf2.c (__ledf2): Likewise.
5268         * soft-fp/lesf2.c (__lesf2): Likewise.
5269         * soft-fp/letf2.c (__letf2): Likewise.
5271         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
5272         Undefine and redefine.
5273         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
5274         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
5275         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
5276         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
5277         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
5278         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
5279         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
5280         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
5281         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
5282         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
5283         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
5284         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
5285         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
5286         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
5287         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
5289         [BZ #16032]
5290         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
5291         without decrementing exponent if mantissa >= that for the
5292         denominator, not >.
5293         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
5294         denominator, not >.  Decrement exponent in < case instead of
5295         incrementing in >= case.
5296         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
5297         without decrementing exponent if mantissa >= that for the
5298         denominator, not >.
5300         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
5301         computing saturated result for unsigned overflow.
5303 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
5304             Jeff Law  <law@redhat.com>
5306         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
5307         (atan2Mp): Add systemtap probe marker.
5308         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
5309         (__ieee754_log): Add systemtap probe marker.
5310         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
5311         (atanMp): Add systemtap probe marker.
5312         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
5313         (tanMp): Add systemtap probe marker.
5314         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
5315         (__slowexp): Add systemtap probe marker.
5316         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
5317         (__slowpow): Add systemtap probe marker.
5318         * manual/probes.texi: Document probes.
5320 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
5322         [BZ #15362]
5323         * libio/fileops.c (_IO_new_file_write): Return count of bytes
5324         written.
5325         (_IO_new_file_xsputn): Don't return EOF if nothing has been
5326         written.
5327         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
5328         written to buffer but not flushed.
5329         * libio/iofwrite_u.c:  Likewise.
5330         * libio/iopadn.c:  Return bytes returned even if EOF was
5331         encountered.
5332         * libio/iowpadn.c:  Likewise.
5333         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
5334         if _IO_padn does not write the whole buffer.
5335         [!COMPILE_WPRINTF] (PAD): Likewise.
5337 2013-10-10  David S. Miller  <davem@davemloft.net>
5339         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
5340         directory block.
5342 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
5344         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
5345         instead of FSF address.
5346         * soft-fp/fixdfti.c: Likewise.
5347         * soft-fp/fixsfti.c: Likewise.
5348         * soft-fp/fixtfti.c: Likewise.
5349         * soft-fp/fixunsdfti.c: Likewise.
5350         * soft-fp/fixunssfti.c: Likewise.
5351         * soft-fp/fixunstfti.c: Likewise.
5352         * soft-fp/floattidf.c: Likewise.
5353         * soft-fp/floattisf.c: Likewise.
5354         * soft-fp/floattitf.c: Likewise.
5355         * soft-fp/floatuntidf.c: Likewise.
5356         * soft-fp/floatuntisf.c: Likewise.
5357         * soft-fp/floatuntitf.c: Likewise.
5358         * soft-fp/trunctfxf2.c: Likewise.
5360         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
5361         * soft-fp/fixdfti.c: Likewise.
5362         * soft-fp/fixsfti.c: Likewise.
5363         * soft-fp/fixtfti.c: Likewise.
5364         * soft-fp/fixunsdfti.c: Likewise.
5365         * soft-fp/fixunssfti.c: Likewise.
5366         * soft-fp/fixunstfti.c: Likewise.
5367         * soft-fp/floattidf.c: Likewise.
5368         * soft-fp/floattisf.c: Likewise.
5369         * soft-fp/floattitf.c: Likewise.
5370         * soft-fp/floatuntidf.c: Likewise.
5371         * soft-fp/floatuntisf.c: Likewise.
5372         * soft-fp/floatuntitf.c: Likewise.
5373         * soft-fp/trunctfxf2.c: Likewise.
5375 2013-10-10  David S. Miller  <davem@davemloft.net>
5377         * sysdeps/sparc/fpu/libm-test-ulps: Update.
5379 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
5381         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
5382         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
5383         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
5384         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
5385         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
5386         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
5387         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
5389         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
5390         for NaNs before doing comparisons on argument.
5391         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
5392         Likewise.
5394 2013-10-10  Will Newton  <will.newton@linaro.org>
5396         * malloc/hooks.c (memalign_check): Ensure the value of bytes
5397         passed to _int_memalign does not overflow.
5399 2013-10-10  Torvald Riegel  <triegel@redhat.com>
5401         * scripts/bench.pl: Add include-sources directive.
5402         * benchtests/README: Update documentation.
5404 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
5406         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
5407         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
5408         instead of FP_INIT_ROUNDMODE.
5409         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
5410         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
5412         [BZ #16034]
5413         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
5414         copy class of input value.
5415         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
5416         not handle exceptions.
5417         * soft-fp/negsf2.c (__negsf2): Likewise.
5418         * soft-fp/negtf2.c (__negtf2): Likewise.
5419         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
5421 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
5423         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
5424         semicolon.  From Linux kernel.
5426 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
5428         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
5430 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
5432         [BZ #156]
5433         * manual/socket.texi: Added statement about buffer
5434         for gethostbyname2_r.
5436 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
5438         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
5439         Use .p2align directive instead, throughout.
5440         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
5441         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
5442         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
5443         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
5444         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
5445         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
5446         * sysdeps/x86_64/strchr.S: Likewise.
5447         * sysdeps/x86_64/strrchr.S: Likewise.
5449 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
5451         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
5453         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
5455         * sysdeps/generic/math_private.h (__mpsin1): Remove
5456         declaration.
5457         (__mpcos1): Likewise.
5458         (__mpsin): New argument __range_reduce.
5459         (__mpcos): Likewise.
5460         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
5461         (slow): Use __mpsin and __mpcos.
5462         (slow1): Likewise.
5463         (slow2): Likewise.
5464         (sloww): Likewise.
5465         (sloww1): Likewise.
5466         (sloww2): Likewise.
5467         (bsloww): Likewise.
5468         (bsloww1): Likewise.
5469         (bsloww2): Likewise.
5470         (cslow2): Likewise.
5471         (csloww): Likewise.
5472         (csloww1): Likewise.
5473         (csloww2): Likewise.
5474         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
5475         range_reduce.  Merge in __mpsin1.
5476         (__mpcos): Likewise.
5477         (__mpsin1): Remove.
5478         (__mpcos1): Likewise.
5480 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
5482         * locale/loadlocale.c (_nl_intern_locale_data): Use
5483         LOCFILE_ALIGNED_P.
5484         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
5485         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
5486         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
5487         obstack data is appropriately aligned.
5488         (obstack_int32_grow_fast): Likewise.
5489         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
5490         * locale/programs/locfile.c (add_locale_uint32): Likewise.
5491         (add_locale_uint32_array): Likewise.
5493 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
5495         * benchtests/Makefile: Remove ARGLIST and RET variables.
5496         ($(objpfx)bench-%.c): Pass only function name to the script.
5497         * benchtests/README: Update documentation.
5498         * benchtests/acos-inputs: Add new directives.
5499         * benchtests/acosh-inputs: Likewise.
5500         * benchtests/asin-inputs: Likewise.
5501         * benchtests/asinh-inputs: Likewise.
5502         * benchtests/atan-inputs: Likewise.
5503         * benchtests/atanh-inputs: Likewise.
5504         * benchtests/cos-inputs: Likewise.
5505         * benchtests/cosh-inputs: Likewise.
5506         * benchtests/exp-inputs: Likewise.
5507         * benchtests/log-inputs: Likewise.
5508         * benchtests/pow-inputs: Likewise.
5509         * benchtests/rint-inputs: Likewise.
5510         * benchtests/sin-inputs: Likewise.
5511         * benchtests/sinh-inputs: Likewise.
5512         * benchtests/tan-inputs: Likewise.
5513         * benchtests/tanh-inputs: Likewise.
5514         * scripts/bench.pl: Add support for new directives.
5516 2013-10-07  Alan Modra  <amodra@gmail.com>
5518         * README: Fix careless merge.
5520 2013-10-05  Alan Modra  <amodra@gmail.com>
5522         * NEWS: Mention powerpc64le support and bugs fixed.
5523         * README: Both big-endian and little-endian powerpc64 supported.
5525 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
5527         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook,
5528         _hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
5529         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
5530         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
5532 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
5534         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
5535         match prototype.
5537 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
5539         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
5540         Move -mhard-float appending from
5541         ports/sysdeps/powerpc/powerpc32/Makefile.
5542         [$(with-fp) = yes] (ASFLAGS): Likewise.
5543         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
5544         * sysdeps/powerpc/nofpu: Move directory from
5545         ports/sysdeps/powerpc/nofpu.
5546         * sysdeps/powerpc/soft-fp: Move directory from
5547         ports/sysdeps/powerpc/soft-fp.
5548         * sysdeps/powerpc/powerpc32/405: Move directory from
5549         ports/sysdeps/powerpc/powerpc32/405.
5550         * sysdeps/powerpc/powerpc32/440: Move directory from
5551         ports/sysdeps/powerpc/powerpc32/440.
5552         * sysdeps/powerpc/powerpc32/464: Move directory from
5553         ports/sysdeps/powerpc/powerpc32/464.
5554         * sysdeps/powerpc/powerpc32/476: Move directory from
5555         ports/sysdeps/powerpc/powerpc32/476.
5556         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
5557         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
5558         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
5559         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
5560         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
5561         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
5562         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
5563         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
5564         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
5565         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
5566         * README: Update for powerpc-*-linux-gnu software floating point
5567         support in libc.
5569         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
5570         case to powerpc/powerpc32*.
5571         * sysdeps/unix/sysv/linux/configure: Regenerated.
5573         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
5574         (_FPU_MASK_OM): Define as 0x04.
5575         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
5576         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
5577         0x00c10080.
5578         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
5579         0x0000003c.
5580         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
5582         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
5583         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
5584         getcontext_e500.
5585         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
5586         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
5587         setcontext_e500.
5588         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
5589         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
5590         and setcontext_e500.
5592 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
5594         * locale/iso-3166.def: Update iso-1366.def and related occurrences
5596 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
5598         * manual/threads.texi (Default Thread Attributes): Fix typo.
5600 2013-10-04  Will Newton  <will.newton@linaro.org>
5602         * malloc/Makefile: Add tst-memalign.
5603         * malloc/tst-memalign.c: New file.
5605         * malloc/tst-posix_memalign.c: Add comments.
5606         (do_test): Add comments and call free on all potentially
5607         allocated pointers. Add space after cast.
5609         * malloc/tst-pvalloc.c: Add comments.
5610         (do_test): Add comments and call free on all potentially
5611         allocated pointers. Remove duplicate check for NULL pointer.
5612         Add space after cast.
5614         * malloc/tst-valloc.c: Add comments.
5615         (do_test): Add comments and call free on all potentially
5616         allocated pointers. Remove duplicate check for NULL pointer.
5617         Add space after cast.
5619 2013-10-04  Alan Modra  <amodra@gmail.com>
5621         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
5622         Use stdint types in rather than __attribute__((mode())).
5623         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
5625 2013-10-04  Alan Modra  <amodra@gmail.com>
5627         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
5628         Correct handling of unaligned relocs for little-endian.
5629         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
5631 2013-10-04  Alan Modra  <amodra@gmail.com>
5633         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
5634         * configure: Regenerate.
5635         * nptl/shlib-versions: Powerpc*le starts at 2.18.
5636         * shlib-versions: Likewise.
5638 2013-10-04  Alan Modra  <amodra@gmail.com>
5640         * string/tester.c (test_memrchr): Increment reported test cycle.
5642 2013-10-04  Alan Modra  <amodra@gmail.com>
5644         * string/test-memcpy.c (do_one_test): When reporting errors, print
5645         string address and don't overrun end of string.
5647 2013-10-04  Alan Modra  <amodra@gmail.com>
5649         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
5650         insrdi.  Make better use of reg selection to speed exit slightly.
5651         Schedule entry path a little better.  Remove useless "are we done"
5652         checks on entry to main loop.  Handle wrapping around zero address.
5653         Correct main loop count.  Handle single left-over word from main
5654         loop inline rather than by using loop_small.  Remove extra word
5655         case in loop_small caused by wrong loop count.  Add little-endian
5656         support.
5657         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
5658         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
5659         cache hint.
5660         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
5661         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
5662         support.  Avoid rlwimi.
5663         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
5665 2013-10-04  Alan Modra  <amodra@gmail.com>
5667         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
5668         insrdi.  Formatting.
5669         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
5670         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
5671         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
5672         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
5673         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
5674         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
5676 2013-10-04  Alan Modra  <amodra@gmail.com>
5678         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
5679         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
5680         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
5681         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
5682         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
5683         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
5684         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
5685         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
5686         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
5687         use of regs.  Use power7 mtocrf.  Tidy function tails.
5689 2013-10-04  Alan Modra  <amodra@gmail.com>
5691         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
5692         Formatting.  Consistently use rXXX register defines or rN defines.
5693         Use early exit labels that avoid restoring unused non-volatile regs.
5694         Make cr field use more consistent with rWORDn compares.  Rename
5695         regs used as shift registers for unaligned loop, using rN defines
5696         for short lifetime/multiple use regs.
5697         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
5698         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
5699         addi 1,1,64 to pop stack frame.  Simplify return value code.
5700         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
5702 2013-10-04  Alan Modra  <amodra@gmail.com>
5704         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
5705         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
5706         rather than rlwimi.
5707         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
5708         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
5709         little-endian support.  Correct typos.
5710         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
5711         rather than rlwimi.
5712         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
5713         in loop and entry code to keep "and." results.
5714         (strchr): Add little-endian support.  Comment.  Move cntlzd
5715         earlier in tail.
5716         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
5718 2013-10-04  Alan Modra  <amodra@gmail.com>
5720         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
5721         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
5722         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
5723         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
5725 2013-10-04  Alan Modra  <amodra@gmail.com>
5727         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
5728         (rTMP): Define as r11.
5729         (strcmp): Add little-endian support.  Optimise tail.
5730         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
5731         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
5732         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
5733         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
5734         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
5735         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
5736         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
5738 2013-10-04  Alan Modra  <amodra@gmail.com>
5740         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
5741         little-endian support.  Remove unnecessary "are we done" tests.
5742         Handle "s" wrapping around zero and extremely large "size".
5743         Correct main loop count.  Handle single left-over word from main
5744         loop inline rather than by using small_loop.  Correct comments.
5745         Delete "zero" tail, use "end_max" instead.
5746         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
5748 2013-10-04  Alan Modra  <amodra@gmail.com>
5750         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
5751         support.  Don't branch over align.
5752         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
5753         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
5754         support.  Rearrange tmp reg use to suit.  Comment.
5755         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
5757 2013-10-04  Alan Modra  <amodra@gmail.com>
5759         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
5761 2013-10-04  Alan Modra  <amodra@gmail.com>
5763         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
5764         conditional form of branch and link when obtaining pc.
5765         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
5767 2013-10-04  Alan Modra  <amodra@gmail.com>
5769         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
5770         HIWORD/LOWORD.
5771         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
5772         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
5774 2013-10-04  Alan Modra  <amodra@gmail.com>
5776         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
5777         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
5778         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
5779         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
5780         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
5781         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
5782         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
5783         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
5784         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
5785         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
5787 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
5788             Alistair Popple <alistair@ozlabs.au.ibm.com>
5789             Alan Modra <amodra@gmail.com>
5791         [BZ #15723]
5792         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
5793         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
5794         _dl_hwcap access for little-endian.
5795         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
5796         destroy vmx regs when saving unaligned.
5797         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
5798         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
5799         destroy vmx regs when saving unaligned.
5801 2013-10-04  Alan Modra  <amodra@gmail.com>
5803         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
5804         Don't use a union to pack hi/low value.
5806 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
5808         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
5809         for little-endian.
5810         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
5811         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
5812         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
5813         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
5814         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
5816 2013-10-04  Alan Modra  <amodra@gmail.com>
5818         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
5819         constants to usual value for .cst8 section, and remove redundant
5820         high address load.
5821         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
5822         constant for 0x1p52.  Load little-endian words of double from
5823         correct stack offsets.
5825 2013-10-04  Alan Modra  <amodra@gmail.com>
5827         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
5828         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
5829         words of double from correct stack offsets.
5830         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
5831         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
5832         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
5833         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
5834         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
5835         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
5836         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
5837         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
5838         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
5839         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
5840         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
5841         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
5842         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
5843         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
5844         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
5845         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
5846         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
5848 2013-10-04  Alan Modra  <amodra@gmail.com>
5850         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
5851         64-bit int/double union.
5852         (_FPU_SETCW): Likewise.
5853         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
5854         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
5856 2013-10-04  Alan Modra  <amodra@gmail.com>
5858         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
5859         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
5861 2013-10-04  Alan Modra  <amodra@gmail.com>
5863         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
5864         use vector int constants.
5865         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
5867 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
5869         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
5870         array with long long.
5871         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
5872         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
5873         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
5874         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
5875         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
5876         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
5877         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
5878         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
5879         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
5880         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
5881         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
5882         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
5883         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
5885 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
5887         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
5888         (__signbit): Likewise.  Correct for little-endian.
5889         (__signbitl): Call __signbit.
5890         (lrint): Correct for little-endian.
5891         (lrintf): Call lrint.
5893 2013-10-04  Alan Modra  <amodra@gmail.com>
5895         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
5896         union 32-bit int array member with 64-bit int array.
5897         (t515, tm256): Double rather than long double.
5898         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
5900 2013-10-04  Alan Modra  <amodra@gmail.com>
5902         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
5903         Delete.
5904         (IEEE854_LONG_DOUBLE_BIAS): Delete.
5905         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
5906         version of math_ldbl.h.
5908 2013-10-04  Alan Modra  <amodra@gmail.com>
5910         [BZ #15734], [BZ #15735]
5911         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
5912         all uses of ieee875 long double macros and unions.  Simplify test
5913         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
5914         ldbl_extract_mantissa value for ix,iy exponents.  Properly
5915         normalize after ldbl_extract_mantissa, and don't add hidden bit
5916         already handled.  Don't treat low word of ieee854 mantissa like
5917         low word of IBM long double and mask off bit when testing for
5918         zero.
5919         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
5920         all uses of ieee875 long double macros and unions.  Simplify tests
5921         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
5922         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
5923         two1022, instead use their values.  Recognise that tests for large
5924         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
5925         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
5926         Rewrite all uses of ieee875 long double macros and unions.  Simplify
5927         test for 0.0L and nan.  Correct negation.
5928         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
5929         ieee875 long double macros and unions.  Correct output for large
5930         magnitude x.  Correct absolute value calculation.
5931         (__erfcl): Likewise.
5932         * math/libm-test.inc: Add tests for errors discovered in IBM long
5933         double versions of fmodl, remainderl, erfl and erfcl.
5935 2013-10-04  Alan Modra  <amodra@gmail.com>
5937         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
5938         all uses of ieee854 long double macros and unions.  Simplify tests
5939         for long doubles that are fully specified by the high double.
5940         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
5941         Likewise.
5942         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
5943         Remove dead code too.
5944         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
5945         (__ieee754_ynl): Likewise.
5946         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
5947         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
5948         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
5949         Remove dead code too.
5950         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
5951         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
5952         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
5953         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
5954         Simplify.
5955         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
5956         Simplify.
5957         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
5958         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
5959         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
5960         Comment on variable precision.
5961         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
5962         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
5963         Likewise.
5964         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
5965         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
5966         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
5967         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
5968         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
5970 2013-10-04  Alan Modra  <amodra@gmail.com>
5972         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
5973         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
5974         all uses of ieee854 long double macros and unions.
5975         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
5976         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
5977         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
5978         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
5979         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
5980         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
5981         Likewise.
5982         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
5983         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
5984         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
5985         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
5986         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
5987         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
5988         Simplify sign and nan test too.
5989         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
5990         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
5991         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
5992         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
5993         Likewise.
5994         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
5995         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
5996         Likewise.
5997         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
5998         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
5999         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
6000         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
6001         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
6002         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
6004 2013-10-04  Alan Modra  <amodra@gmail.com>
6006         * stdio-common/printf_size.c (__printf_size): Don't use
6007         union ieee854_long_double in fpnum union.
6008         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
6009         signbit macro to retrieve sign from long double.
6010         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
6011         retrieve sign from long double.
6012         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
6013         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
6014         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
6015         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
6016         * math/test-misc.c (main): Don't use union ieee854_long_double.
6018 2013-10-04  Alan Modra  <amodra@gmail.com>
6020         [BZ #15680]
6021         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
6022         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
6023         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
6024         calculation.  Remove unnecessary test for denormal exponent.
6025         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
6026         Correct handling of denormals.  Avoid undefined shift behaviour.
6027         Correct normalisation of low mantissa when low double is denormal.
6028         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
6029         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
6030         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
6031         Correct normalisation of low mantissa.  Test for overflow of high
6032         mantissa and normalise.
6033         (ldbl_nearbyint): Use more readable constant for two52.
6034         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
6035         (__mpn_construct_long_double): Fix test for overflow of high
6036         mantissa and correct normalisation.  Avoid undefined shift.
6038 2013-10-04  Alan Modra  <amodra@gmail.com>
6040         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
6041         (union ibm_extended_long_double): Define as an array of ieee754_double.
6042         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
6043         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
6044         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
6045         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
6046         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
6047         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
6048         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
6049         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
6050         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
6051         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
6052         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
6054 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
6056         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
6057         page size instead of calling getpagesize.
6059         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
6060         (LOCFILE_ALIGN_MASK): Likewise.
6061         (LOCFILE_ALIGN_UP): Likewise.
6062         (LOCFILE_ALIGNED_P): Likewise.
6063         * locale/programs/ld-collate.c (collate_output): Use the new
6064         macros instead of __alignof__ (int32_t).
6065         * locale/weight.h (findidx): Likewise.
6067 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
6069         [BZ #431]
6070         * manual/string.texi: Fix strncat and wcsncat.
6072 2013-10-03  Brooks Moses  <bmoses@google.com>
6074         [BZ #15915]
6075         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
6076         * Makerules: ...here, and adjust associated comments.
6078 2013-10-02  Will Newton  <will.newton@linaro.org>
6080         * malloc/Makefile: Add tst-pvalloc.
6081         * malloc/tst-pvalloc.c: New file.
6083 2013-10-02  Will Newton  <will.newton@linaro.org>
6085         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
6086         improve test coverage.
6088 2013-10-02  Will Newton  <will.newton@linaro.org>
6090         * malloc/Makefile: Add tst-posix_memalign.
6091         * malloc/tst-posix_memalign.c: New file.
6093 2013-10-01  Eric Blake  <eblake@redhat.com>
6095         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
6096         Use __THROWNL rather than __THROW on static functions.
6098 2013-09-30  Petr Machata  <pmachata@redhat.com>
6100         * elf/elf.h (R_AARCH64_ABS16): New macro.
6101         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
6102         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
6103         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
6104         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
6105         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
6106         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
6107         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
6108         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
6109         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
6110         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
6111         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
6112         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
6113         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
6114         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
6115         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
6116         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
6117         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
6118         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
6119         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
6120         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
6121         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
6122         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
6123         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
6124         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
6125         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
6126         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
6127         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
6128         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
6129         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
6130         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
6131         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
6132         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
6133         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
6134         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
6135         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
6136         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
6137         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
6138         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
6139         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
6140         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
6141         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
6142         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
6143         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
6144         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
6145         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
6146         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
6147         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
6148         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
6149         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
6150         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
6151         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
6152         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
6153         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
6154         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
6155         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
6156         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
6157         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
6158         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
6159         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
6160         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
6161         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
6162         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
6163         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
6164         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
6165         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
6166         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
6167         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
6168         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
6169         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
6170         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
6171         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
6172         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
6173         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
6174         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
6175         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
6176         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
6177         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
6178         (R_AARCH64_TLSDESC_LDR): Likewise.
6179         (R_AARCH64_TLSDESC_ADD): Likewise.
6180         (R_AARCH64_TLSDESC_CALL): Likewise.
6182 2013-09-30  Andreas Schwab  <schwab@suse.de>
6184         [BZ #15048]
6185         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
6186         the nss database lookup.
6187         * nscd/initgrcache.c (addinitgroupsX): Likewise.
6188         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
6190 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
6192         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
6194 2013-09-28  P. J. McDermott  <pj@pehjota.net>
6196         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
6197         ${Bash-specific parameter/pattern/string} parameter expansion.
6198         * sysdeps/unix/make-syscalls.sh: Likewise.
6200 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
6202         * sysdeps/sh/stackguard-macros.h: New file.
6204 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
6206         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
6207         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
6208         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
6209         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
6210         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
6211         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
6213 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6215         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
6216         Fix thread ID register.
6218 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
6220         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
6221         [POSIX || UNIX98]: Require rather than permitting all symbols from
6222         <time.h>.
6223         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
6224         element of struct sched_param.
6225         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
6226         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
6227         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
6228         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
6229         constant.
6231 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
6233         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
6234         argument calculation.
6236 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
6238         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
6239         Expect macro.
6240         [POSIX] (pthread_attr_t): Do not require type.
6241         [POSIX] (pthread_cond_t): Likewise.
6242         [POSIX] (pthread_condattr_t): Likewise.
6243         [POSIX] (pthread_key_t): Likewise.
6244         [POSIX] (pthread_mutex_t): Likewise.
6245         [POSIX] (pthread_mutexattr_t): Likewise.
6246         [POSIX] (pthread_once_t): Likewise.
6247         [POSIX] (pthread_t): Likewise.
6248         [POSIX-based standards] (pthread_atfork): Expect function.
6250 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
6251             Richard Sandiford  <richard@codesourcery.com>
6253         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
6254         (swap_endianness_p): New extern variable.
6255         (set_big_endian): New inline function.
6256         (maybe_swap_uint32): Likewise.
6257         (maybe_swap_uint32_array): Likewise.
6258         (maybe_swap_uint32_obstack): Likewise.
6259         * locale/programs/locfile.c: Include <stdbool.h>.
6260         (swap_endianness_p): New variable.
6261         (add_locale_uint32): Call maybe_swap_uint32.
6262         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
6263         (write_locale_data): Call maybe_swap_uint32_array.
6264         * locale/programs/ld-collate.c (obstack_int32_grow): Call
6265         maybe_swap_uint32.
6266         (obstack_int32_grow_fast): Likewise.
6267         (output_weightwc): Call maybe_swap_uint32_obstack.
6268         (collate_output): Likewise.
6269         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
6270         (OPT_LITTLE_ENDIAN): Likewise.
6271         (options): Add --little-endian and --big-endian options.
6272         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
6273         * locale/programs/locarchive.c: Include "locfile.h".
6274         (GET): New macro.
6275         (SET): Likewise.
6276         (INC): Likewise.
6277         (create_archive): Use the new macros to access fields of
6278         structures directly mapped from or written to locale archives.
6279         (oldlocrecentcmp): Likewise.
6280         (enlarge_archive): Likewise.
6281         (insert_name): Likewise.
6282         (add_alias): Likewise.
6283         (add_locale): Likewise.
6284         (delete_locales_from_archive): Likewise.
6285         (show_archive_content): Likewise.
6286         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
6287         locale data.
6289 2013-09-24  Roland McGrath  <roland@hack.frob.com>
6291         * manual/freemanuals.texi: Updated from (newly) canonical copy at
6292         http://www.gnu.org/doc/freemanuals.texi.
6293         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
6295 2013-09-24  Will Newton  <will.newton@linaro.org>
6297         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
6298         macro.
6300 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
6302         * locale/hashval.h (compute_hashval): Interpret bytes of key as
6303         unsigned char.
6305 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
6307         * manual/threads.texi (POSIX Threads): Fix a typo.
6309 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
6311         [BZ #14547]
6312         * string/tst-strcoll-overflow.c: New test case.
6313         * string/Makefile (xtests): Add tst-strcoll-overflow.
6314         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
6315         cache if string sizes may cause integer overflow.
6317         [BZ #14547]
6318         * string/strcoll_l.c (coll_seq): New members rule, idx,
6319         save_idx and back_us.
6320         (get_next_seq_nocache): New function.
6321         (do_compare_nocache): New function.
6322         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
6323         when malloc fails.
6325 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
6327         [BZ #15754]
6328         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
6329         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
6330         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
6332         [BZ #15754]
6333         * elf/Makefile (tests): Add tst-ptrguard1.
6334         (tests-static): Add tst-ptrguard1-static.
6335         (tst-ptrguard1-ARGS): Define.
6336         (tst-ptrguard1-static-ARGS): Define.
6337         * elf/tst-ptrguard1.c: New file.
6338         * elf/tst-ptrguard1-static.c: New file.
6339         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
6340         * sysdeps/i386/stackguard-macros.h: Likewise.
6341         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
6342         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
6343         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
6344         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
6345         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
6346         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
6348 2013-09-23  Hector Marco  <hecmargi@upv.es>
6349             Ismael Ripoll  <iripoll@disca.upv.es>
6350             Carlos O'Donell  <carlos@redhat.com>
6352         [BZ #15754]
6353         * sysdeps/generic/stackguard-macros.h: Define
6354         __pointer_chk_guard_local and POINTER_CHK_GUARD.
6355         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
6356         Define __pointer_chk_guard_local.
6357         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
6358         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
6360 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
6362         [BZ #15859]
6363         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
6365 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
6367         * include/string.h (__ffs): Declare as hidden.
6368         * string/ffs.c (__ffs): Define as hidden.
6369         * sysdeps/i386/ffs.c (__ffs): Likewise.
6370         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
6371         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
6372         * sysdeps/s390/ffs.c (__ffs): Likewise.
6373         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
6375 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
6377         * NEWS: Mention malloc probes.
6379         * malloc/arena.c (new_heap): New memory_heap_new probe.
6380         (grow_heap): New memory_heap_more probe.
6381         (shrink_heap): New memory_heap_less probe.
6382         (heap_trim): New memory_heap_free probe.
6383         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
6384         (systrim): New memory_sbrk_less probe.
6385         * manual/probes.texi: Document them.
6387         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
6388         * manual/probes.texi: Document it.
6390         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
6391         (__libc_realloc): Add memory_realloc_retry probe.
6392         (__libc_memalign): Add memory_memalign_retry probe.
6393         (__libc_valloc): Add memory_valloc_retry probe.
6394         (__libc_pvalloc): Add memory_pvalloc_retry probe.
6395         (__libc_calloc): Add memory_calloc_retry probe.
6396         * manual/probes.texi: Document them.
6398         * malloc/arena.c (get_free_list): Add probe
6399         memory_arena_reuse_free_list.
6400         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
6401         and memory_arena_reuse.
6402         (arena_get2) [!PER_THREAD]: Likewise.
6403         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
6404         memory_arena_reuse_realloc.
6405         * manual/probes.texi: Document them.
6407         * malloc/malloc.c (__libc_free): Add
6408         memory_mallopt_free_dyn_thresholds probe.
6409         (__libc_mallopt): Add multiple memory_mallopt probes.
6410         * manual/probes.texi: Document them.
6412         * malloc/malloc.c: Include stap-probe.h.
6413         (__libc_mallopt): Add memory_mallopt probe.
6414         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
6415         * manual/probes.texi: New.
6416         * manual/Makefile (chapters): Add probes.
6417         * manual/threads.texi: Set next node.
6419 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
6421         [BZ #15963, #13985]
6422         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
6423         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
6424         Add `Chinese' to `nan' entry name.
6426 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
6428         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
6429         (POLYNOMIAL): Likewise.
6430         (TAYLOR_SINCOS): Likewise.
6431         (TAYLOR_SLOW): Likewise.
6432         (__sin): Use TAYLOR_SINCOS.
6433         (__cos): Likewise.
6434         (slow): Use TAYLOR_SLOW.
6435         (sloww): Likewise.
6436         (bsloww): Likewise.
6437         (csloww): Likewise.
6439 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
6441         * stdlib/strtod_l.c: Fix buffer overrun.
6443 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
6445         * benchtests/Makefile (bench): Add sincos.
6446         * benchtests/bench-sincos.c: New file.
6448         * math/libm-test.inc (cos_test_data): New test inputs.
6449         (sin_test_data): Likewise.
6451         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
6452         macro.
6453         (__sin): Use it.
6454         (__cos): Likewise.
6455         (slow1): Likewise.
6456         (slow2): Likewise.
6457         (sloww1): Likewise.
6458         (sloww2): Likewise.
6459         (bsloww1): Likewise.
6460         (bsloww2): Likewise.
6461         (cslow2): Likewise.
6462         (csloww1): Likewise.
6463         (csloww2): Likewise.
6465         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
6466         function.
6467         (__sin): Use it.
6468         (__cos): Likewise.
6470         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
6471         gotos.
6472         (__cos): Likewise.
6474 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
6476         * config.h.in (HAVE_MIPS_NAN2008): New macro.
6477         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
6478         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
6479         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
6480         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
6481         * elf/cache.c (print_entry): Handle the new cache flags.
6483 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
6484             Aldy Hernandez  <aldyh@redhat.com>
6486         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
6487         Change condition to [_SOFT_FLOAT].
6488         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
6489         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
6490         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
6491         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
6492         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
6493         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
6494         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
6495         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
6496         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
6497         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
6498         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
6499         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
6500         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
6501         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
6502         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
6503         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
6504         declaration.
6506 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
6508         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
6509         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
6510         (__longjmp): Use LOAD_GP to load saved GPRs.
6511         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
6512         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
6513         (__sigsetjmp): Use SAVE_GP to save GPRs.
6515         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
6516         Do not append -msoft-float.
6517         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
6519 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
6521         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
6523 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
6525         [BZ #15966]
6526         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
6527         (_FPU_GETCW): Use initial "__" on variable and field names but not
6528         on macro parameter name.
6529         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
6530         parentheses around reference to macro parameter.
6532 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
6534         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
6535         prototype.
6536         (ctype_startup): Use uint32_t in cast and sizeof for
6537         ctype->charnames.
6539 2013-09-11  Jia Liu  <proljc@gmail.com>
6541         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
6542         __daddr_t_defined.
6543         [__FreeBSD__]: Likewise.
6545 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
6547         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
6548         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
6549         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
6550         (strchr): Remove __strchr_sse42 ifunc selection.
6551         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
6552         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
6554 2013-09-11  Will Newton  <will.newton@linaro.org>
6556         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
6557         parameter to RES. Remove hardcoded 1000 value.
6558         * benchtests/bench-skeleton.c (main): Pass RES parameter
6559         to TIMING_INIT and multiply result by 1000.
6561 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6563         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6565 2013-09-11  Andreas Schwab  <schwab@suse.de>
6567         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
6568         if not defined.
6569         (O_TMPFILE) [__USE_GNU]: Define.
6570         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
6571         Define.
6573 2013-09-11  Will Newton  <will.newton@linaro.org>
6575         [BZ #15857]
6576         * malloc/malloc.c (__libc_memalign): Check the value of bytes
6577         does not overflow.
6579 2013-09-11  Will Newton  <will.newton@linaro.org>
6581         [BZ #15856]
6582         * malloc/malloc.c (__libc_valloc): Check the value of bytes
6583         does not overflow.
6585 2013-09-11  Will Newton  <will.newton@linaro.org>
6587         [BZ #15855]
6588         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
6589         does not overflow.
6591 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
6593         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
6594         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
6595         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
6596         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
6597         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
6599 2013-09-10  Allan McRae  <allan@archlinux.org>
6601         [BZ #15748]
6602         * manual/arith.texi (Parsing of Floats): Clarify
6603         cross-reference.
6605         [BZ #15849]
6606         * manual/install.texi (Running make install): Mention
6607         --enable-pt-chown.
6608         * INSTALL: Regenerated.
6610 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
6612         * csu/init-first.c (_init): Remove the !SHARED condition around
6613         FPU control word initialization.
6614         * elf/dl-support.c (_dl_fpu_control): New variable.
6615         (_dl_aux_init) <AT_FPUCW>: Initialize it.
6616         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
6617         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
6618         * math/test-fpucw-static.c: New file.
6619         * math/test-fpucw-ieee.c: New file.
6620         * math/test-fpucw-ieee-static.c: New file.
6621         * math/Makefile (tests): Add `test-fpucw-ieee' and
6622         `$(tests-static)'.
6623         (tests-static): New variable.
6624         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
6625         dependency to...
6626         [($(build-shared),yes)]
6627         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
6628         ... this.
6629         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
6630         New dependency.
6632 2013-09-09  Allan McRae  <allan@archlinux.org>
6634         [BZ #15939]
6635         * manual/string.texi (Collation Functions): Fix typo in
6636         strcoll example.
6637         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
6639         [BZ #15893]
6640         * stdlib/isomac.c (get_null_defines): Fix memory leak.
6642         [BZ #15892]
6643         * libio/memstream.c (open_memstream): Fix memory leak.
6644         * libio/wmemstream.c (open_wmemstream): Likewise.
6646         [BZ #15895]
6647         * nscd/netgroupcache.c: Fix nesting of ifdefs.
6649 2013-09-09  Will Newton  <will.newton@linaro.org>
6651         * malloc/Makefile: Add tst-realloc to tests.
6652         * malloc/tst-realloc.c: New file.
6654 2013-09-09  Allan McRae  <allan@archlinux.org>
6656         [BZ #15844]
6657         * COPYING: Update from GNU website to fix FSF address.
6658         * COPYING.LIB: Likewise.
6660 2013-09-06  David S. Miller  <davem@davemloft.net>
6662         * po/zh_TW.po: Update Chinese (traditional) translation from
6663         translation project.
6665 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
6666             Joseph Myers  <joseph@codesourcery.com>
6668         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
6669         "localeinfo.h".
6670         (obstack_chunk_alloc): New macro.
6671         (obstack_chunk_free): Likewise.
6672         (record_offset): New function.
6673         (init_locale_data): Likewise.
6674         (align_locale_data): Likewise.
6675         (add_locale_empty): Likewise.
6676         (add_locale_raw_data): Likewise.
6677         (add_locale_raw_obstack): Likewise.
6678         (add_locale_string): Likewise.
6679         (add_locale_wstring): Likewise.
6680         (add_locale_uint32): Likewise.
6681         (add_locale_uint32_array): Likewise.
6682         (add_locale_char): Likewise.
6683         (start_locale_structure): Likewise.
6684         (end_locale_structure): Likewise.
6685         (start_locale_prelude): Likewise.
6686         (end_locale_prelude): Likewise.
6687         (write_locale_data): Take locale_file structure rather than an
6688         iovec.
6689         * locale/programs/locfile.h: Include "obstack.h".
6690         (struct locale_file): Change to store locale file contents instead
6691         of header.
6692         (init_locale_data): New prototype.
6693         (align_locale_data): Likewise.
6694         (add_locale_empty): Likewise.
6695         (add_locale_raw_data): Likewise.
6696         (add_locale_raw_obstack): Likewise.
6697         (add_locale_string): Likewise.
6698         (add_locale_wstring): Likewise.
6699         (add_locale_uint32): Likewise.
6700         (add_locale_uint32_array): Likewise.
6701         (add_locale_char): Likewise.
6702         (start_locale_structure): Likewise.
6703         (end_locale_structure): Likewise.
6704         (start_locale_prelude): Likewise.
6705         (end_locale_prelude): Likewise.
6706         (write_locale_data): Update prototype.
6707         * locale/programs/3level.h (struct TABLE): Remove result field.
6708         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
6709         Use new locale_file interface.
6710         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
6711         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
6712         * locale/programs/ld-address.c (address_output): Use new
6713         locale_file interface.
6714         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
6715         NO_ADD_LOCALE.
6716         (collate_finish): Don't call collseq_table_finalize.
6717         (collate_output): Use new locale_file interface.
6718         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
6719         in file.
6720         (NO_FINALIZE): Change to NO_ADD_LOCALE.
6721         (TABLE): Move defines earlier in file.
6722         (ELEMENT): Likewise.
6723         (DEFAULT): Likewise.
6724         (wctrans_table_add): Move macro and inline function earlier in
6725         file.
6726         (struct wctype_table): Move type earlier in file.
6727         (add_locale_wctype_table): New static prototype.
6728         (struct locale_ctype_t): Use logical types instead of struct iovec
6729         pointers for members.
6730         (ctype_output): Use new locale_file interface.
6731         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
6732         new locale_file interface.
6733         (allocate_arrays): Update for use of new locale_file interface.
6734         * locale/programs/ld-identification.c (identification_output): Use
6735         new locale_file interface.
6736         * locale/programs/ld-measurement.c (measurement_output): Likewise.
6737         * locale/programs/ld-messages.c (messages_output): Likewise.
6738         * locale/programs/ld-monetary.c (monetary_output): Likewise.
6739         * locale/programs/ld-name.c (name_output): Likewise.
6740         * locale/programs/ld-numeric.c (numeric_output): Likewise.
6741         * locale/programs/ld-paper.c (paper_output): Likewise.
6742         * locale/programs/ld-telephone.c (telephone_output): Likewise.
6743         * locale/programs/ld-time.c (time_output): Likewise.
6745 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6747         * benchtests/Makefile: Add memrchr benchmark.
6748         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
6749         benchmark as memrchr.
6750         * benchtests/bench-memrchr-ifunc.c: New file.
6751         * benchtests/bench-memrchr.c: New file.
6753 2013-09-06   Will Newton  <will.newton@linaro.org>
6755         * benchtests/Makefile (string-bench): Add memcpy.
6757 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
6758             Cong Wang  <amwang@redhat.com>
6760         [BZ #15850]
6761         * sysdeps/unix/sysv/linux/bits/in.h
6762         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
6763         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
6764         before __USE_KERNEL_IPV6_DEFS uses.
6765         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
6766         IPPROTO_BEETPH.
6767         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
6768         sockaddr_in6, or ipv6_mreq.
6770 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6772         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
6773         memory access for final bytes in some large inputs.
6774         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
6776 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6778         * string/test-memrchr.c: New file.
6779         * string/test-memrchr-ifunc.c: New file.
6780         * string/Makefile: Add new memrchr testcase.
6782 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
6784         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
6785         fanotify_init returns EPERM.
6787 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
6789         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
6790         errors.
6791         (top level): Treat second token from macro or constant entries for
6792         allowed headers as allowed.
6793         * include/complex.h: Condition internal declarations on
6794         [!_ISOMAC].
6795         * include/fenv.h: Condition include of <stdbool.h> and internal
6796         declarations on [!_ISOMAC].
6798 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
6800         [BZ #15923]
6801         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
6803 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
6805         * configure.in (--enable-versioning): Remove configure option.
6806         (libc_cv_asm_symver_directive): Remove configure test.
6807         (libc_cv_ld_version_script_option): Likewise.
6808         (VERSIONING): Remove variable and AC_SUBST.
6809         (DO_VERSIONING): Remove AC_DEFINE.
6810         * configure: Regenerated.
6811         * config.h.in (DO_VERSIONING): Remove macro.
6812         * Makerules [$(versioning) = yes]: Change conditionals to
6813         [$(build-shared) = yes].
6814         * config.make.in (versioning): Remove variable.
6815         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
6816         [$(build-shared) = yes].
6817         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
6818         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
6819         * elf/Makefile [$(versioning) = yes]: Change conditionals to
6820         [$(build-shared) = yes].
6821         * extra-lib.mk [$(versioning) = yes]: Likewise.
6822         * hurd/Makefile [$(versioning) = yes]: Likewise.
6823         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
6824         [SHARED].
6825         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
6826         [SHARED].
6827         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
6828         [SHARED && !NO_HIDDEN].
6829         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
6830         [SHARED].
6831         [SHARED && DO_VERSIONING]: Likewise..
6832         * libio/Makefile [$(versioning) = yes]: Change conditionals to
6833         [$(build-shared) = yes].
6834         * manual/install.texi (--disable-versioning): Remove
6835         documentation.
6836         * INSTALL: Regenerated.
6837         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
6838         to [SHARED].
6839         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
6840         [$(build-shared) = yes].
6841         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
6842         * sysdeps/i386/i686/multiarch/strstr-c.c
6843         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
6844         [SHARED && !NO_HIDDEN].
6845         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
6846         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
6847         * sysdeps/powerpc/powerpc32/dl-machine.c
6848         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
6849         * sysdeps/powerpc/powerpc32/sysdep.h
6850         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
6851         to [SHARED && PIC && !NO_HIDDEN].
6852         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
6853         conditional to [SHARED].
6855 2013-09-04   Will Newton  <will.newton@linaro.org>
6857         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
6858         * benchtests/bench-string.h: Include bench-timing.h instead
6859         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
6860         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
6861         call to HP_TIMING_DIFF_INIT.
6862         * benchtests/bench-memccpy.c: Use bench-timing.h macros
6863         instead of hp-timing.h macros.
6864         * benchtests/bench-memchr.c: Likewise.
6865         * benchtests/bench-memcmp.c: Likewise.
6866         * benchtests/bench-memcpy.c: Likewise.
6867         * benchtests/bench-memmem.c: Likewise.
6868         * benchtests/bench-memmove.c: Likewise.
6869         * benchtests/bench-memset.c: Likewise.
6870         * benchtests/bench-rawmemchr.c: Likewise.
6871         * benchtests/bench-strcasecmp.c: Likewise.
6872         * benchtests/bench-strcasestr.c: Likewise.
6873         * benchtests/bench-strcat.c: Likewise.
6874         * benchtests/bench-strchr.c: Likewise.
6875         * benchtests/bench-strcmp.c: Likewise.
6876         * benchtests/bench-strcpy.c: Likewise.
6877         * benchtests/bench-strcpy_chk.c: Likewise.
6878         * benchtests/bench-strlen.c: Likewise.
6879         * benchtests/bench-strncasecmp.c: Likewise.
6880         * benchtests/bench-strncat.c: Likewise.
6881         * benchtests/bench-strncmp.c: Likewise.
6882         * benchtests/bench-strncpy.c: Likewise.
6883         * benchtests/bench-strnlen.c: Likewise.
6884         * benchtests/bench-strpbrk.c: Likewise.
6885         * benchtests/bench-strrchr.c: Likewise.
6886         * benchtests/bench-strspn.c: Likewise.
6887         * benchtests/bench-strstr.c: Likewise.
6889 2013-09-04  Will Newton  <will.newton@linaro.org>
6891         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
6893 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
6895         [BZ #15427]
6896         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
6897         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
6898         * math/libm-test.inc (lgamma_test_data): Add more tests.
6899         * sysdeps/i386/fpu/libm-test-ulps: Update.
6900         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6902 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
6904         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
6905         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
6906         Add ifunc.
6907         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
6908         Add strcmp-sse2-unaligned
6909         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
6911 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
6913         * Versions.def (libc): Add GLIBC_2.19.
6915 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
6917         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
6918         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
6920 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
6922         [BZ #14155]
6923         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
6924         intermediate calculations in recurrence.
6925         (__ieee754_ynf): Likewise.
6926         * math/libm-test.inc (jn_test_data): Do not allow spurious
6927         underflow exception.  Add more tests.
6928         (yn_test_data): Add more tests.
6929         * sysdeps/i386/fpu/libm-test-ulps: Update.
6930         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6932 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
6934         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
6936 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
6938         * csu/init-first.c: Fix then/than typos.
6939         * locale/programs/ld-collate.c: Likewise.
6940         * locale/programs/linereader.h: Likewise.
6941         * manual/charset.texi: Likewise.
6942         * manual/filesys.texi: Likewise.
6943         * manual/stdio.texi: Likewise.
6944         * manual/string.texi: Likewise.
6945         * stdlib/fmtmsg.c: Likewise.
6946         * sysdeps/i386/stpncpy.S: Likewise.
6947         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
6948         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
6949         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
6950         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
6952 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
6954         * elf/dl-open.c: Fix typos.
6955         * iconvdata/gbbig5.c: Likewise.
6956         * iconvdata/iso-2022-jp.c: Likewise.
6957         * iconv/gconv_int.h: Likewise.
6958         * iconv/loop.c: Likewise.
6959         * nis/rpcsvc/nis.h: Likewise.
6960         * resolv/ns_name.c: Likewise.
6961         * stdio-common/vfscanf.c: Likewise.
6962         * streams/stropts.h: Likewise.
6963         * sunrpc/rpc_thread.c: Likewise.
6964         * sysdeps/i386/strpbrk.S: Likewise.
6965         * sysdeps/ieee754/k_standard.c: Likewise.
6966         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
6967         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
6968         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
6969         * sysdeps/mach/hurd/profil.c: Likewise.
6970         * sysdeps/s390/dl-procinfo.h: Likewise.
6971         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
6972         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
6973         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
6974         * sysdeps/x86_64/dl-trampoline.S: Likewise.
6975         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
6977 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
6979         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
6980         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
6982 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
6984         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
6985         aix specific files.
6986         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
6987         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
6988         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
6989         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
6990         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
6991         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
6992         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
6993         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
6995 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
6996             Roland McGrath  <roland@hack.frob.com>
6998         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
6999         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
7001 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
7003         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
7004         __executable_start symbol instead of _start.
7006 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
7008         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
7009         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
7010         Move macros to...
7011         * sysdeps/gnu/ldsodefs.h: ... this new file.
7013         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
7014         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
7015         instead of ELFOSABI_LINUX.
7017         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
7018         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
7019         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
7020         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
7021         Likewise.
7022         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
7023         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
7024         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
7025         Likewise.
7026         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
7027         (ibm_extended_long_double): Add ieee_nan member.
7028         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
7029         (do_test): New function.
7031         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
7032         TEST_TRUNC.
7033         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
7034         functions, renamed from truncdfsf_test, trunctfsf_test,
7035         trunctfdf_test.
7036         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
7037         functions.
7038         (do_test): Run all these.
7040 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
7042         * argp/argp-help.c: Fix typos.
7043         * argp/argp-parse.c: Likewise.
7044         * debug/backtracesyms.c: Likewise.
7045         * elf/elf.h: Likewise.
7046         * malloc/malloc.c: Likewise.
7047         * nis/nis_print.c: Likewise.
7048         * resolv/res_comp.c: Likewise.
7049         * stdlib/stdlib.h: Likewise.
7050         * sunrpc/clnt_tcp.c: Likewise.
7051         * sunrpc/clnt_udp.c: Likewise.
7052         * sunrpc/clnt_unix.c: Likewise.
7053         * sysdeps/unix/bsd/ptsname.c: Likewise.
7054         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
7055         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
7056         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
7057         Likewise.
7058         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
7059         Likewise.
7060         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
7061         Likewise.
7062         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
7064 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
7066         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
7067         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
7069 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
7071         [BZ #15897]
7072         * dlfcn/Makefile (tests): Add bug-dl-leaf.
7073         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
7074         ($(objpfx)bug-dl-leaf): New rule.
7075         ($(objpfx)bug-dl-leaf.so): Likewise.
7076         ($(objpfx)bug-dl-leaf.out): Likewise.
7077         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
7078         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
7079         * dlfcn/bug-dl-leaf.c: New test.
7080         * dlfcn/bug-dl-leaf-lib.c: Likewise.
7081         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
7082         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
7083         (dlclose): Likewise.
7084         (dlmopen): Likewise.
7086 2013-08-27  Roland McGrath  <roland@hack.frob.com>
7088         * include/netdb.h [!_ISOMAC]:
7089         Don't include <tls.h>.
7090         (h_errno, __libc_h_errno): Move declaration and macros out of
7091         [_LIBC_REENTRANT].
7093         * include/resolv.h [_RESOLV_H_]:
7094         Don't include <tls.h>.
7095         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
7096         * resolv/res_libc.c: Don't include <tls.h>.
7097         (_res): Use __attribute__ ((nocommon)) in place of
7098         __attribute__ ((section (".bss"))).
7100         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
7101         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
7103         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
7105         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
7106         only under [SIOCGIFCONF && SIOCGIFNETMASK].
7108         * resolv/res_mkquery.c: Include <sys/time.h>.
7110         * inet/ifreq.c: Moved to ...
7111         * sysdeps/unix/ifreq.c: ... here.
7112         * inet/ifreq.c: New file, true stub version.
7114         * socket/sa_len.c: New file.
7115         * socket/Makefile (aux): Add it.
7116         * sysdeps/unix/sysv/linux/Makefile
7117         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
7118         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
7119         and #include <socket/sa_len.c>.
7120         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
7121         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
7123         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
7124         * bits/socket.h: ... here.
7126         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
7127         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
7128         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
7130 2013-08-27  Andreas Schwab  <schwab@suse.de>
7132         [BZ #15736]
7133         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
7134         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
7135         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
7136         * string/test-strcasecmp.c (test_main): Run tests in several
7137         locales.
7138         * string/test-strncasecmp.c (test_main): Likewise.
7140         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
7141         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
7142         to __strcasecmp_nonascii and __strncasecmp_nonascii.
7143         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
7144         (__strncasecmp_ssse3) [PIC]: Likewise.
7146 2013-08-26  Roland McGrath  <roland@hack.frob.com>
7148         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
7150         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
7151         instead of explicitly declaring xdecrypt.
7152         * nis/nss_nis/nis-publickey.c: Likewise.
7154 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
7156         [BZ #15890]
7157         * nscd/aicache.c: Include res_hconf.h.
7158         (addhstaiX): Initialize res_hconf.
7160 2013-08-26  Andreas Schwab  <schwab@suse.de>
7162         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
7163         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
7165 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
7167         * nscd/aicache.c (addhstaiX): Fix indentation.
7169 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
7171         * configure.ac: Quote $build_pt_chown test.
7172         * configure: Regenerated.
7174 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
7176         [BZ #15532]
7177         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
7178         * math/s_cexpf.c (__cexpf): Likewise.
7179         * math/s_cexpl.c (__cexpl): Likewise.
7180         * math/libm-test.inc (cexp_test_data): Correct expected return
7181         value for NaN + i0.  Add another test.
7183 2013-08-22  David S. Miller  <davem@davemloft.net>
7185         * po/ca.po: Update Catalan translation from translation project.
7186         * po/uk.po: Add Ukrainian translations from translation project.
7188 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
7190         [BZ #15797]
7191         * math/s_fdim.c (__fdim): Check for infinite arguments if result
7192         is infinite, not alongside NaN test.
7193         * math/s_fdimf.c (__fdimf): Likewise.
7194         * math/s_fdiml.c (__fdiml): Likewise.
7195         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
7196         errno is unchanged.
7198 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
7200         * argp/argp-help.c: Fix typos.
7201         * crypt/speeds.c: Likewise.
7202         * csu/check_fds.c: Likewise.
7203         * elf/dl-load.c: Likewise.
7204         * elf/dl-open.c: Likewise.
7205         * elf/reldep3.c: Likewise.
7206         * elf/reldep.c: Likewise.
7207         * elf/sprof.c: Likewise.
7208         * iconv/iconv_charmap.c: Likewise.
7209         * iconv/skeleton.c: Likewise.
7210         * iconv/strtab.c: Likewise.
7211         * io/lockf64.c: Likewise.
7212         * libio/libioP.h: Likewise.
7213         * resolv/gai_notify.c: Likewise.
7214         * resolv/ns_name.c: Likewise.
7215         * resolv/ns_samedomain.c: Likewise.
7216         * resolv/res_send.c: Likewise.
7217         * stdlib/random.c: Likewise.
7218         * sunrpc/rpc/xdr.h: Likewise.
7219         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
7220         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
7221         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
7222         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
7223         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
7224         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
7225         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
7226         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
7227         * sysdeps/mach/hurd/check_fds.c: Likewise.
7228         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
7229         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
7230         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
7231         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
7232         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
7233         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
7234         * sysdeps/pthread/aio_notify.c: Likewise.
7235         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
7236         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
7237         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
7238         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
7239         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
7241 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
7243         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
7244         version if bit_Slow_SSE4_2 is set.
7245         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
7246         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
7248 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7250         [BZ #15867]
7251         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
7252         trampoline stack frame information.
7253         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
7254         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
7255         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
7256         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
7257         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
7258         * sysdeps/unix/sysv/linux/powerpc/init-first.c
7259         (_libc_vdso_platform_setup): Initialize the signal trampolines.
7260         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
7261         sa_flags value.
7262         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
7263         interrupting a syscall and set with option SA_SIGINFO.
7265 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
7267         [BZ #15531]
7268         * math/s_cproj.c (__cproj): Only return an infinity if one part of
7269         argument is infinite.
7270         * math/s_cprojf.c (__cprojf): Likewise.
7271         * math/s_cprojl.c (__cprojl): Likewise.
7272         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
7273         * math/libm-test.inc (cproj_test_data): Add more tests.
7275         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
7277         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
7278         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
7279         size.  Use __ffs to determine corresponding shift.
7281 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
7282             Roland McGrath  <roland@hack.frob.com>
7284         * Makefile (INSTALL): Remove trailing blank lines from output of
7285         makeinfo.
7287 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
7289         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
7290         Align 32 bit compat elf_greg to 8 bytes.
7292 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
7294         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
7296 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
7298         * string/strcoll_l.c (coll_seq): New structure.
7299         (get_next_seq_cached): New function.
7300         (get_next_seq): New function.
7301         (do_compare): New function.
7302         (STRCOLL): Use GNU style definition.  Simplify implementation
7303         by using get_next_seq, get_next_seq_cached and do_compare.
7305 2013-08-16  Florian Weimer  <fweimer@redhat.com>
7307         [BZ #14699]
7308         CVE-2013-4237
7309         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
7310         member.
7311         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
7312         member.
7313         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
7314         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
7315         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
7316         conditional.
7317         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
7318         GETDENTS_64BIT_ALIGNED.
7319         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
7320         * manual/filesys.texi (Reading/Closing Directory): Document
7321         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
7322         strongly.
7323         * manual/conf.texi (Limits for Files): Add portability note to
7324         NAME_MAX, PATH_MAX.
7325         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
7327 2013-08-13  Andreas Schwab  <schwab@suse.de>
7329         [BZ #15749]
7330         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
7331         of fabs.
7332         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
7333         LDBL_MAX_EXP >= 16384]: Add tests for it.
7335 2013-08-12  David S. Miller  <davem@davemloft.net>
7337         * version.h (RELEASE): Set to "development".
7338         (VERSION): Set to "2.18.90".
7339         * NEWS: Add 2.19 section.
7341 2013-08-03  David S. Miller  <davem@davemloft.net>
7343         * po/ko.po: Update Korean translation from translation project.
7345 2013-08-01  David S. Miller  <davem@davemloft.net>
7347         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
7348         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
7349         Bilka.
7351 2013-07-30  David S. Miller  <davem@davemloft.net>
7353         * po/fr.po: Update French translation from translation project.
7355 2013-07-28  David S. Miller  <davem@davemloft.net>
7357         * po/cs.po: Update Czech translation from translation project.
7359         * po/sv.po: Update Swedish translation from translation project.
7361 2013-07-27  David S. Miller  <davem@davemloft.net>
7363         * po/eo.po: Update Esperanto translation from translation project.
7365         * po/vi.po: Update Vietnamese translation from translation project.
7367         * po/de.po: Update German translation from translation project.
7369 2013-07-26  David S. Miller  <davem@davemloft.net>
7371         * po/bg.po: Update Bulgarian translation from translation project.
7373         * po/nl.po: Update Dutch translation from translation project.
7374         * po/pl.po: Update Polish translation from translation project.
7375         * po/ru.po: Update Russian translation from translation project.
7377 2013-07-24  David S. Miller  <davem@davemloft.net>
7379         * po/libc.pot: Update.
7381 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7383         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
7384         variable page size.
7385         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
7386         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
7387         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
7389 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
7391         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
7393 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
7394             Andreas Schwab  <schwab@suse.de>
7395             Roland McGrath  <roland@hack.frob.com>
7396             Joseph Myers  <joseph@codesourcery.com>
7397             Carlos O'Donell  <carlos@redhat.com>
7399         [BZ #15755]
7400         * config.h.in: Define HAVE_PT_CHOWN.
7401         * config.make.in (build-pt-chown): New variable.
7402         * configure.in (--enable-pt_chown): New configure option.
7403         * configure: Regenerate.
7404         * login/Makefile: Include Makeconfig.  Build pt_chown only if
7405         build-pt-chown is enabled.
7406         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
7407         pt_chown to fix pty ownership.
7408         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
7409         CLOSE_ALL_FDS.
7410         * manual/install.texi (Configuring and compiling): Mention
7411         --enable-pt_chown. Add @findex for grantpt.
7412         * INSTALL: Regenerate.
7414 2013-07-20  David S. Miller  <davem@davemloft.net>
7416         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
7417         difference between 32-bit and 64-bit.
7419 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
7421         [BZ #15711]
7422         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
7423         Avoid system header dependency with -ffreestanding.
7424         ($(objpfx)bits/syscall%d): Likewise.
7426 2013-07-13  David S. Miller  <davem@davemloft.net>
7428         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
7429         underflows from atanl/atan2l due to bug 15319.
7430         (casinh_test_data): Likewise.
7432 2013-07-07  David S. Miller  <davem@davemloft.net>
7434         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
7436 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
7438         * sysdeps/i386/fpu/libm-test-ulps: Update.
7439         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7441 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
7443         * configure.in (--enable-lock-elision): Fix message text.
7444         * INSTALL: Regenerate.
7445         * configure: Regenerate.
7447 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7449         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7451 2013-07-03  Andreas Jaeger  <aj@suse.de>
7453         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
7454         define.
7455         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
7456         (ptrace_peeksiginfo_args): Add.
7457         (__ptrace_peeksiginfo_flags): Add.
7458         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
7459         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
7460         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
7462 2013-07-03  Allan McRae  <allan@archlinux.org>
7464         * sysdeps/i386/fpu/libm-test-ulps: Update.
7466 2013-07-02  David S. Miller  <davem@davemloft.net>
7468         * sysdeps/sparc/fpu/libm-test-ulps: Update.
7470 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
7472         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7474 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
7476         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
7477         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7479 2013-07-02  Andi Kleen <ak@linux.intel.com>
7481         * config.h.in (ENABLE_LOCK_ELISION): Add.
7482         * configure.in (--enable-lock-elision): Add option.
7483         * manual/install.texi: Document --enable lock elision.
7484         * configure: Regenerate
7485         * INSTALL: Regenerate.
7487 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
7489         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
7490         SSE4.2 strcasecmp for libc.a.
7491         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
7493 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
7495         [BZ #13304]
7496         * soft-fp/op-common.h (_FP_FMA): New macro.
7497         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
7498         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
7499         (_FP_MUL_MEAT_1_imm): ... here.
7500         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
7501         (_FP_MUL_MEAT_1_wide): ... here.
7502         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
7503         (_FP_MUL_MEAT_1_hard): ... here.
7504         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
7505         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
7506         (_FP_MUL_MEAT_2_wide): ... here.
7507         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
7508         (_FP_MUL_MEAT_2_wide_3mul): ... here.
7509         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
7510         (_FP_MUL_MEAT_2_gmp): ... here.
7511         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
7512         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
7513         (_FP_MUL_MEAT_4_wide): ... here.
7514         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
7515         (_FP_MUL_MEAT_4_gmp): ... here.
7516         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
7517         (_FP_WFRACBITS_DW_S): Likewise.
7518         (_FP_WFRACXBITS_DW_S): Likewise.
7519         (_FP_HIGHBIT_DW_S): Likewise.
7520         (FP_FMA_S): Likewise.
7521         (_FP_FRAC_HIGH_DW_S): Likewise.
7522         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
7523         (_FP_WFRACBITS_DW_D): Likewise.
7524         (_FP_WFRACXBITS_DW_D): Likewise.
7525         (_FP_HIGHBIT_DW_D): Likewise.
7526         (FP_FMA_D): Likewise.
7527         (_FP_FRAC_HIGH_DW_D): Likewise.
7528         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
7529         (_FP_WFRACBITS_DW_E): Likewise.
7530         (_FP_WFRACXBITS_DW_E): Likewise.
7531         (_FP_HIGHBIT_DW_E): Likewise.
7532         (FP_FMA_E): Likewise.
7533         (_FP_FRAC_HIGH_DW_E): Likewise.
7534         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
7535         (_FP_WFRACBITS_DW_Q): Likewise.
7536         (_FP_WFRACXBITS_DW_Q): Likewise.
7537         (_FP_HIGHBIT_DW_Q): Likewise.
7538         (FP_FMA_Q): Likewise.
7539         (_FP_FRAC_HIGH_DW_Q): Likewise.
7540         * soft-fp/fmasf4.c: New file.
7541         * soft-fp/fmadf4.c: Likewise.
7542         * soft-fp/fmatf4.c: Likewise.
7544 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
7546         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
7547         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
7548         Silvermont.
7549         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
7550         macro.
7551         (index_Slow_SSE4_2): Likewise.
7552         (index_Prefer_PMINUB_for_stringop): Likewise.
7553         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
7554         bit_Slow_SSE4_2 is set.
7555         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
7556         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
7558 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
7560         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
7561         rtld_global._dl_hwcap2.
7562         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
7563         POWER8.
7564         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
7565         POWER8 feature descriptions defined in _dl_hwcap2.
7566         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
7567         string handling for POWER8 feature bits.
7568         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
7569         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
7570         _dl_powerpc_cap_flags.
7571         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
7572         * sysdeps/powerpc/rtld-global-offsets.sym
7573         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
7574         _dl_hwcap2 in the rtld_global_ro structure.
7576 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
7578         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
7579         hardware capabilities in support of AT_HWCAP2.
7580         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
7581         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
7582         GLRO(dl_hwcap2).
7583         (_dl_show_auxv): Add support for calling _dl_procinfo to display
7584         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
7585         explicitly the unknown a_type display mechanism is used.
7586         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
7587         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
7588         struct member.
7589         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
7590         to macro prototype for AT_HWCAP2 support.
7591         * sysdeps/i386/dl-procinfo.h: Likewise.
7592         * sysdeps/s390/dl-procinfo.h: Likewise.
7593         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
7594         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
7595         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
7596         return -1 for unknown a_type display fallback.
7597         * sysdeps/sparc/dl-procinfo.h: Likewise.
7598         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
7599         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
7601 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
7603         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
7604         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
7606 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
7608         [BZ #12492]
7609         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
7610         mprotect making __stack_prot writable.
7612 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
7613             Joseph Myers  <joseph@codesourcery.com>
7615         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
7616         as being properly aligned.
7618 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
7620         * dlfcn/modstatic5.c: New file.
7621         * dlfcn/tststatic5.c: New file.
7622         * dlfcn/Makefile (tests): Add tststatic5.
7623         (tests-static): Likewise.
7624         (modules-names): Add modstatic5.
7625         (tststatic5-ENV): New variable.
7626         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
7628         [BZ #15022]
7629         * elf/dl-support.c (_dl_main_map): New variable.
7630         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
7631         (_dl_nns, _dl_load_adds): Set to 1.
7632         (_dl_initial_searchlist): Refer to _dl_main_map.
7633         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
7634         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
7635         call to _dl_get_origin.
7636         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
7637         around call_map.
7638         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
7639         * dlfcn/modstatic3.c: New file.
7640         * dlfcn/tststatic3.c: New file.
7641         * dlfcn/tststatic4.c: New file.
7642         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
7643         (tests-static): Likewise.
7644         (modules-names): Add modstatic3.
7645         (tststatic3-ENV, tststatic4-ENV): New variables.
7646         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
7647         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
7649 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
7651         * configure.in (CC): Require GCC version 4.4 or later.
7652         * configure: Regenerated.
7653         * manual/install.texi (Tools for Compilation): Update GCC version
7654         requirement.
7655         * INSTALL: Regenerated.
7657 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
7659         [BZ #15674]
7660         * string/test-memcmp.c (check2): New.
7661         (main): Call check2.
7663         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
7665 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
7667         [BZ #15022]
7668         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
7669         over to...
7670         (dl_open_worker) [!SHARED]: ... here.
7672 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
7674         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
7676 2013-06-25  Richard Henderson  <rth@redhat.com>
7678         * locale/programs/locarchive.c: Include <libc-internal.h>
7680 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
7682         * manual/texinfo.tex: Update to version 2013-06-21.17, with
7683         trailing whitespace removed.
7685 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
7687         [BZ #10283]
7688         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
7689         * locale/programs/locarchive.c: Include libc-mmap.h.
7690         (prepare_address_space): Take two new outputs (the mmap base and len).
7691         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
7692         values.
7693         (create_archive): Declare new mmap base and len values for
7694         prepare_address_space, and store the result in ah.
7695         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
7696         (enlarge_archive): If ah->mmap_base is not NULL, use that and
7697         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
7698         Declare new mmap base and len values for
7699         prepare_address_space, and store the result in new_ah.
7700         (open_archive): Declare new mmap base and len values for
7701         prepare_address_space, and store the result in ah.
7702         (close_archive): If ah->mmap_base is not NULL, use that and
7703         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
7704         * sysdeps/generic/libc-mmap.h: New file.
7706 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
7708         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
7709         (ALIGN_UP): Likewise.
7710         (PTR_ALIGN_DOWN): Likewise.
7711         (PTR_ALIGN_UP): Likewise.
7713 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
7715         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
7716         entry mapped to PPC_PLATFORM_POWER8.
7717         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
7718         POWER8.
7719         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
7720         (_dl_string_platform): Add case for exporting platform position for
7721         POWER8.
7722         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
7723         search path to sysdeps/powerpc/powerpc32/power8 directory.
7724         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
7725         search path to sysdeps/powerpc/powerpc64/power8 directory.
7726         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
7727         power7 directories.
7728         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
7729         power7 directories.
7731 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
7733         * INSTALL: Regenerate.
7735         * nscd/connections.c (nscd_init): Fix comment.
7737 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
7739         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
7741         [BZ #15667]
7742         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
7743         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
7745 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
7747         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
7748         DL_DST_REQ_STATIC.
7749         (DL_DST_REQ_STATIC): Remove macro.
7751 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
7753         [BZ #7006]
7754         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
7755         with a shift of 0 bits.
7757 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
7759         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
7760         $(tststatic-ENV).
7762 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
7764         [BZ #15655]
7765         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
7767 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7769         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
7770         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
7771         accepts -fno-tree-loop-distribute-patterns.
7772         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
7773         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
7774         recursive call.
7775         * string/memset.c (memset): Likewise.
7776         * string/test-memmove.c (simple_memmove): Disable loop transformation
7777         to library calls.
7778         * string/test-memset.c (simple_memset): Likewise.
7779         * benchtests/bench-memmove.c (simple_memmove): Likewise.
7780         * benchtests/bench-memset.c (simple_memset): Likewise.
7781         * configure: Regenerated.
7783 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
7785         * math/test-misc.c (main): Ignore fesetround failure when failures
7786         of subsequent rounding tests would be ignored.
7788         [BZ #15654]
7789         * math/fedisblxcpt.c (fedisableexcept): Return 0.
7790         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
7791         * math/fegetenv.c (__fegetenv): Return 0.
7792         * math/fegetexcept.c (fegetexcept): Return 0.
7793         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
7794         FE_TONEAREST.
7795         * math/feholdexcpt.c (feholdexcept): Return 0.
7796         * math/fesetenv.c (__fesetenv): Return 0.
7797         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
7798         argument FE_TONEAREST.
7799         * math/feupdateenv.c (__feupdateenv): Return 0.
7800         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
7802 2013-06-18  Roland McGrath  <roland@hack.frob.com>
7804         * elf/rtld-Rules (rtld-compile-command.S): New variable.
7805         (rtld-compile-command.s, rtld-compile-command.c): New variables.
7806         ($(objpfx)rtld-%.os rules): Use them.
7808 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7810         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
7811         fields.
7813 2013-06-17  Roland McGrath  <roland@hack.frob.com>
7815         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
7816         length of target pattern, then descending length of dependency pattern.
7817         * configure.in (AWK): Require gawk 3.1.2 or newer.
7818         * manual/install.texi (Tools for Compilation): Say that we do.
7819         * configure: Regenerated.
7821         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
7822         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
7823         * scripts/sysd-rules.awk: ... this new script.
7824         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
7825         than a glob-style pattern.
7827 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
7829         * math/test-misc.c (main): Do not treat incorrectly rounded
7830         conversions as failure unless ROUNDING_TESTS passes.
7832 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
7834         [BZ #15631]
7835         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
7836         restore exception state around main square root computation, then
7837         check for inexactness explicitly.
7839         * math/libm-test.inc (fma_test_data): Add another test.
7841 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
7843         * manual/threads.texi (Non-POSIX Extensions): New document
7844         node.  Document pthread_getattr_default_np and
7845         pthread_setattr_default_np.
7847         * Versions.def (libpthread): Add GLIBC_2.18.
7848         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
7849         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
7850         Likewise.
7851         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
7852         Likewise.
7853         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
7854         Likewise.
7855         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
7856         Likewise.
7857         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
7858         Likewise.
7859         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
7860         Likewise.
7861         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
7862         Likewise.
7863         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
7864         Likewise.
7865         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
7866         Likewise.
7868 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
7870         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
7871         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
7873 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
7874             H.J. Lu  <hjl.tools@gmail.com>
7876         [BZ #15627]
7877         * sysdeps/x86_64/rtld-memset.c: Remove file.
7878         * sysdeps/x86_64/rtld-memset.S: New file.
7880 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
7882         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
7883         (test_in_one_mode): Take arguments for whether the rounding mode
7884         is supported for each floating-point type.
7885         (do_test): Pass new arguments to test_in_one_mode using
7886         ROUNDING_TESTS.
7888 2013-06-13  Roland McGrath  <roland@hack.frob.com>
7890         * posix/tst-waitid.c (do_test): Distinguish different instances of
7891         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
7892         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
7893         before entering the kernel for waitpid.
7895 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
7897         * NEWS: Fix note on clock function precision.  Text by Roland
7898         McGrath.
7900 2013-06-13  Roland McGrath  <roland@hack.frob.com>
7902         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
7903         it into place only when and if the sanity check passes.
7905 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
7907         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
7908         output for whether conversion result is exact.  Take argument
7909         indicating whether type is IBM long double.
7910         (round_for_all): Change need_exact field to ibm_ld.
7911         * stdlib/tst-strtod-round.c (struct exactness): New type.
7912         (struct test): Change bool ld_ok field to struct exactness exact.
7913         (TEST): Update all definitions for change to field.
7914         (tests): Regenerate array contents.
7915         (test_in_one_mode): Take pointer to new field instead of old ld_ok
7916         field value.  Check for IBM long double here.
7917         (do_test): Update calls to test_in_one_mode.
7919 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
7921         [BZ #12515]
7922         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
7923         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
7925 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7927         [BZ #15605]
7928         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
7929         generated by the compiler on loop optimizations.
7930         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
7931         general definitions.
7933 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
7935         * math/bug-nextafter.c: Include <math-tests.h>.
7936         (main): Only test for exceptions if EXCEPTION_TESTS is true for
7937         the relevant type.
7938         * math/bug-nexttoward.c: Include <math-tests.h>.
7939         (main): Only test for exceptions if EXCEPTION_TESTS is true for
7940         the relevant type.
7941         * math/test-misc.c: Include <math-tests.h>.
7942         (main): Only test for exceptions if EXCEPTION_TESTS is true for
7943         the relevant type.
7945 2013-06-12  Andreas Jaeger  <aj@suse.de>
7947         * po/ia.po: Update Interlingua translation from translation
7948         project.
7950 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
7952         * include/fenv.h: Include stdbool.h.
7953         (struct rm_ctx): New structure.
7954         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
7955         Define macro.
7956         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
7957         (SET_RESTORE_ROUNDF): Likewise.
7958         (SET_RESTORE_ROUNDL): Likewise.
7959         (SET_RESTORE_ROUND_NOEX): Likewise.
7960         (SET_RESTORE_ROUND_NOEXF): Likewise.
7961         (SET_RESTORE_ROUND_NOEXL): Likewise.
7962         (SET_RESTORE_ROUND_53BIT): Likewise.
7963         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
7964         (libc_feresetround_noexf_ctx): Likewise.
7965         (libc_feresetround_noexl_ctx): Likewise.
7966         (libc_feholdsetround_53bit_ctx): Likewise.
7967         (libc_feresetround_53bit_ctx): Likewise.
7968         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
7969         (libc_feholdexcept_setround_sse_ctx): New function.
7970         (libc_fesetenv_sse_ctx): Likewise.
7971         (libc_feupdateenv_sse_ctx): Likewise.
7972         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
7973         (libc_feholdexcept_setround_387_ctx): Likewise.
7974         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
7975         (libc_feholdsetround_387_prec_ctx): Likewise.
7976         (libc_feholdsetround_387_ctx): Likewise.
7977         (libc_feholdsetround_387_53bit_ctx): Likewise.
7978         (libc_feholdsetround_sse_ctx): Likewise.
7979         (libc_feresetround_sse_ctx): Likewise.
7980         (libc_feresetround_387_ctx): Likewise.
7981         (libc_feupdateenv_387_ctx): Likewise.
7982         (libc_feholdexcept_setroundf_ctx): Define macro.
7983         (libc_fesetenvf_ctx): Likewise.
7984         (libc_feupdateenvf_ctx): Likewise.
7985         (libc_feholdsetroundf_ctx): Likewise.
7986         (libc_feresetroundf_ctx): Likewise.
7987         (libc_feholdexcept_setround_ctx): Likewise.
7988         (libc_fesetenv_ctx): Likewise.
7989         (libc_feupdateenv_ctx): Likewise.
7990         (libc_feholdsetround_ctx): Likewise.
7991         (libc_feresetround_ctx): Likewise.
7992         (libc_feholdexcept_setroundl_ctx): Likewise.
7993         (libc_feupdateenvl_ctx): Likewise.
7994         (libc_feholdsetroundl_ctx): Likewise.
7995         (libc_feresetroundl_ctx): Likewise.
7996         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
7997         (libc_feresetround_53bit_ctx): Likewise.
7999 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
8001         * locale/iso-639.def: Convert to UTF-8.
8003 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
8005         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
8006         (EXCEPTION_TESTS_double): Likewise.
8007         (EXCEPTION_TESTS_long_double): Likewise.
8008         (EXCEPTION_TESTS): Likewise.
8009         * math/libm-test.inc (test_exceptions): Only test exceptions if
8010         EXCEPTION_TESTS (FLOAT).
8012 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
8014         * benchtests/Makefile (string-bench): Add strcpy_chk and
8015         stpcpy_chk.
8016         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
8017         * benchtests/bench-stpcpy_chk.c: New file.
8018         * benchtests/bench-strcpy_chk-ifunc.c: New file.
8019         * benchtests/bench-strcpy_chk.c: New file.
8020         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
8021         code.
8022         (do_test): Likewise.
8024 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
8026         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
8027         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
8028         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
8029         with tabs where appropriate.
8030         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
8031         dl-procinfo.h.
8032         [PPC_PLATFORM_PPC440]: Likewise.
8033         [PPC_PLATFORM_PPC464]: Likewise.
8034         [PPC_PLATFORM_PPC476]: Likewise.
8035         (_dl_string_platform): Add support for detecting ppc405, ppc440,
8036         ppc464, and ppc476 platform strings merging from ports/
8037         dl-procinfo.h.
8039 2013-06-11  Andreas Schwab  <schwab@suse.de>
8041         [BZ #14991]
8042         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
8043         (from_ucs4_idx): Regenerate.
8044         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
8045         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
8046         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
8047         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
8048         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
8049         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
8050         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
8051         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
8052         from FROM_LOOP and TO_LOOP specific macros.
8053         (BODY): Handle combining characters.
8054         * iconvdata/BIG5HKSCS.irreversible: Update.
8055         * iconvdata/BIG5HKSCS.precomposed: New file.
8056         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
8057         characters.
8058         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
8060 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
8062         * include/sys/time.h: Fix indentation and add copyright header.
8064         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
8065         (do_test): Likewise.
8066         * string/test-memchr.c (do_one_test): Likewise.
8067         (do_test): Likewise.
8068         * string/test-memcmp.c (do_one_test): Likewise.
8069         (do_test): Likewise.
8070         * string/test-memcpy.c (do_one_test): Likewise.
8071         (do_test): Likewise.
8072         * string/test-memmem.c (do_one_test): Likewise.
8073         (do_test): Likewise.
8074         (do_random_tests): Likewise.
8075         * string/test-memmove.c (do_one_test): Likewise.
8076         (do_test): Likewise.
8077         * string/test-memset.c (do_one_test): Likewise.
8078         (do_test): Likewise.
8079         * string/test-rawmemchr.c (do_one_test): Likewise.
8080         (do_test): Likewise.
8081         * string/test-strcasecmp.c (do_one_test): Likewise.
8082         (do_test): Likewise.
8083         * string/test-strcasestr.c (do_one_test): Likewise.
8084         (do_test): Likewise.
8085         * string/test-strcat.c (do_one_test): Likewise.
8086         (do_test): Likewise.
8087         * string/test-strchr.c (do_one_test): Likewise.
8088         (do_test): Likewise.
8089         * string/test-strcmp.c (do_one_test): Likewise.
8090         (do_test): Likewise.
8091         * string/test-strcpy.c (do_one_test): Likewise.
8092         (do_test): Likewise.
8093         * string/test-string.h: Likewise.
8094         (test_init): Likewise.
8095         * string/test-strlen.c (do_one_test): Likewise.
8096         (do_test): Likewise.
8097         * string/test-strncasecmp.c (do_one_test): Likewise.
8098         (do_test): Likewise.
8099         * string/test-strncat.c (do_one_test): Likewise.
8100         (do_test): Likewise.
8101         * string/test-strncmp.c (do_one_test): Likewise.
8102         (do_test_limit): Likewise.
8103         (do_test): Likewise.
8104         * string/test-strncpy.c (do_one_test): Likewise.
8105         (do_test): Likewise.
8106         * string/test-strnlen.c (do_one_test): Likewise.
8107         (do_test): Likewise.
8108         * string/test-strpbrk.c (do_one_test): Likewise.
8109         (do_test): Likewise.
8110         * string/test-strrchr.c (do_one_test): Likewise.
8111         (do_test): Likewise.
8112         * string/test-strspn.c (do_one_test): Likewise.
8113         (do_test): Likewise.
8114         * string/test-strstr.c (do_one_test): Likewise.
8115         (do_test): Likewise.
8117         * benchtests/Makefile (string-bench): Add string benchmarks.
8118         * benchtests/bench-bcopy-ifunc.c: New file.
8119         * benchtests/bench-bcopy.c: New file.
8120         * benchtests/bench-bzero-ifunc.c: New file.
8121         * benchtests/bench-bzero.c: New file.
8122         * benchtests/bench-memccpy-ifunc.c: New file.
8123         * benchtests/bench-memccpy.c: New file.
8124         * benchtests/bench-memchr-ifunc.c: New file.
8125         * benchtests/bench-memchr.c: New file.
8126         * benchtests/bench-memcmp-ifunc.c: New file.
8127         * benchtests/bench-memcmp.c: New file.
8128         * benchtests/bench-memmem-ifunc.c: New file.
8129         * benchtests/bench-memmem.c: New file.
8130         * benchtests/bench-memmove-ifunc.c: New file.
8131         * benchtests/bench-memmove.c: New file.
8132         * benchtests/bench-mempcpy-ifunc.c: New file.
8133         * benchtests/bench-mempcpy.c: New file.
8134         * benchtests/bench-memset-ifunc.c: New file.
8135         * benchtests/bench-memset.c: New file.
8136         * benchtests/bench-rawmemchr-ifunc.c: New file.
8137         * benchtests/bench-rawmemchr.c: New file.
8138         * benchtests/bench-stpcpy-ifunc.c: New file.
8139         * benchtests/bench-stpcpy.c: New file.
8140         * benchtests/bench-stpncpy-ifunc.c: New file.
8141         * benchtests/bench-stpncpy.c: New file.
8142         * benchtests/bench-strcasecmp-ifunc.c: New file.
8143         * benchtests/bench-strcasecmp.c: New file.
8144         * benchtests/bench-strcasestr-ifunc.c: New file.
8145         * benchtests/bench-strcasestr.c: New file.
8146         * benchtests/bench-strcat-ifunc.c: New file.
8147         * benchtests/bench-strcat.c: New file.
8148         * benchtests/bench-strchr-ifunc.c: New file.
8149         * benchtests/bench-strchr.c: New file.
8150         * benchtests/bench-strchrnul-ifunc.c: New file.
8151         * benchtests/bench-strchrnul.c: New file.
8152         * benchtests/bench-strcmp-ifunc.c: New file.
8153         * benchtests/bench-strcmp.c: New file.
8154         * benchtests/bench-strcpy-ifunc.c: New file.
8155         * benchtests/bench-strcpy.c: New file.
8156         * benchtests/bench-strcspn-ifunc.c: New file.
8157         * benchtests/bench-strcspn.c: New file.
8158         * benchtests/bench-strlen-ifunc.c: New file.
8159         * benchtests/bench-strlen.c: New file.
8160         * benchtests/bench-strncasecmp-ifunc.c: New file.
8161         * benchtests/bench-strncasecmp.c: New file.
8162         * benchtests/bench-strncat-ifunc.c: New file.
8163         * benchtests/bench-strncat.c: New file.
8164         * benchtests/bench-strncmp-ifunc.c: New file.
8165         * benchtests/bench-strncmp.c: New file.
8166         * benchtests/bench-strncpy-ifunc.c: New file.
8167         * benchtests/bench-strncpy.c: New file.
8168         * benchtests/bench-strnlen-ifunc.c: New file.
8169         * benchtests/bench-strnlen.c: New file.
8170         * benchtests/bench-strpbrk-ifunc.c: New file.
8171         * benchtests/bench-strpbrk.c: New file.
8172         * benchtests/bench-strrchr-ifunc.c: New file.
8173         * benchtests/bench-strrchr.c: New file.
8174         * benchtests/bench-strspn-ifunc.c: New file.
8175         * benchtests/bench-strspn.c: New file.
8176         * benchtests/bench-strstr-ifunc.c: New file.
8177         * benchtests/bench-strstr.c: New file.
8179         * benchtests/Makefile: Disable parallel execution of targets.
8180         (string-bench): Add memcpy.
8181         (benchset): New variable to store a list of benchmark sets.
8182         (bench-func): Renamed from bench.
8183         (bench-set): New target.
8184         (bench): Depend on bench-func and bench-set.
8185         * benchtests/README: Add section on benchmark sets.
8186         * benchtests/bench-memcpy-ifunc.c: New file.
8187         * benchtests/bench-memcpy.c: New file.
8188         * benchtests/bench-string.h: New file.
8190 2013-06-11  Andreas Schwab  <schwab@suse.de>
8192         [BZ #15577]
8193         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
8194         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
8195         values in the triple.
8196         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
8197         terminator in the group key.
8199 2013-06-11  Andreas Jaeger  <aj@suse.de>
8201         * po/zh_TW.po: Update Chinese (traditional) translation from
8202         translation project.
8204 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
8206         * include/time.h (__clock_gettime): Add libc_hidden_proto.
8207         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
8208         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
8209         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
8210         (clock_getcpuclockid): Likewise.
8211         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
8212         Add weak_alias and libc_hidden_def.
8213         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
8214         * rt/clock_gettime.c (clock_gettime): Rename to
8215         __clock_gettime.  Add weak_alias and libc_hidden_def.
8216         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
8217         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
8218         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
8219         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
8220         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
8221         Likewise.
8222         * rt/clock_settime.c (clock_settime): Rename to
8223         __clock_settime.  Add weak_alias and libc_hidden_def.
8224         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
8226 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
8228         * mach/err_boot.sub: Remove trailing whitespace.
8229         * mach/err_ipc.sub: Likewise.
8230         * mach/err_mach.sub: Likewise.
8232         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
8233         (ROUNDING_TESTS_double): Likewise.
8234         (ROUNDING_TESTS_long_double): Likewise.
8235         (ROUNDING_TESTS): Likewise.
8236         * math/libm-test.inc: Include <math-tests.h>.
8237         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
8238         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
8239         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
8240         (IF_ROUND_INIT_FE_UPWARD): Likewise.
8242 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
8244         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
8245         of assigning.
8247 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
8249         * sysdeps/gnu/errlist.awk: Do not generate space at end of
8250         otherwise empty TRANS lines.
8251         * sysdeps/gnu/errlist.c: Regenerated.
8253         * catgets/gencat.c (error_print): Use (void) in function
8254         definition.
8255         * crypt/crypt_util.c (__init_des): Likewise.
8256         * crypt/speeds.c (Stop): Likewise.
8257         (main): Likewise.
8258         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
8259         * inet/ruserpass.c (token): Likewise.
8260         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
8261         * intl/localealias.c (extend_alias_table): Likewise.
8262         * intl/plural-exp.c (init_germanic_plural): Likewise.
8263         * libio/fcloseall.c (__fcloseall): Likewise.
8264         * libio/genops.c (_IO_flush_all): Likewise.
8265         (_IO_flush_all_linebuffered): Likewise.
8266         (_IO_cleanup): Likewise.
8267         (_IO_iter_begin): Likewise.
8268         (_IO_iter_end): Likewise.
8269         (_IO_list_lock): Likewise.
8270         (_IO_list_unlock): Likewise.
8271         (_IO_list_resetlock): Likewise.
8272         * libio/getchar.c (getchar): Likewise.
8273         * libio/getchar_u.c (getchar_unlocked): Likewise.
8274         * libio/getwchar.c (getwchar): Likewise.
8275         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
8276         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
8277         * login/getpt.c (__getpt): Likewise.
8278         * login/tst-utmp.c (main): Likewise.
8279         * malloc/hooks.c (__malloc_check_init): Likewise.
8280         * malloc/malloc.c (__malloc_stats): Likewise.
8281         * malloc/mtrace.c (tr_break): Likewise.
8282         (mtrace): Likewise.
8283         (muntrace): Likewise.
8284         * misc/fstab.c (endfsent): Likewise.
8285         * misc/getclktck.c (__getclktck): Likewise.
8286         * misc/getdtsz.c (__getdtablesize): Likewise.
8287         * misc/gethostid.c (gethostid): Likewise.
8288         * misc/getpagesize.c (__getpagesize): Likewise.
8289         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
8290         (__get_nprocs): Likewise.
8291         (__get_phys_pages): Likewise.
8292         (__get_avphys_pages): Likewise.
8293         * misc/getttyent.c (getttyent): Likewise.
8294         (setttyent): Likewise.
8295         (endttyent): Likewise.
8296         * misc/getusershell.c (getusershell): Likewise.
8297         (endusershell): Likewise.
8298         (setusershell): Likewise.
8299         (initshells): Likewise.
8300         * misc/hsearch.c (__hdestroy): Likewise.
8301         * misc/sync.c (sync): Likewise.
8302         * misc/syslog.c (closelog_internal): Likewise.
8303         (closelog): Likewise.
8304         * misc/ttyslot.c (ttyslot): Likewise.
8305         * misc/vhangup.c (vhangup): Likewise.
8306         * posix/fork.c (__fork): Likewise.
8307         * posix/getegid.c (__getegid): Likewise.
8308         * posix/geteuid.c (__geteuid): Likewise.
8309         * posix/getgid.c (__getgid): Likewise.
8310         * posix/getpid.c (__getpid): Likewise.
8311         * posix/getppid.c (__getppid): Likewise.
8312         * posix/getuid.c (__getuid): Likewise.
8313         * posix/pause.c (pause): Likewise.
8314         * posix/setpgrp.c (setpgrp): Likewise.
8315         * posix/setsid.c (__setsid): Likewise.
8316         * posix/test-vfork.c (noop): Likewise.
8317         * resolv/gethnamaddr.c (_endhtent): Likewise.
8318         (_gethtent): Likewise.
8319         (ht_endhostent): Likewise.
8320         (gethostent): Likewise.
8321         (dns_service): Likewise.
8322         * stdlib/drand48.c (drand48): Likewise.
8323         * stdlib/lrand48.c (lrand48): Likewise.
8324         * stdlib/mrand48.c (mrand48): Likewise.
8325         * stdlib/rand.c (rand): Likewise.
8326         * stdlib/random.c (__random): Likewise.
8327         * stdlib/setenv.c (clearenv): Likewise.
8328         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
8329         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
8330         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
8331         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
8332         (__get_nprocs): Likewise.
8333         (__get_phys_pages): Likewise.
8334         (__get_avphys_pages): Likewise.
8335         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
8336         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
8337         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
8338         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
8339         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
8340         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
8341         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
8342         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
8343         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
8344         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
8345         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
8346         * sysdeps/mach/hurd/sync.c (sync): Likewise.
8347         * sysdeps/posix/clock.c (clock): Likewise.
8348         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
8349         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
8350         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
8351         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
8352         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
8353         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
8354         (__get_nprocs_conf): Likewise.
8355         (__get_phys_pages): Likewise.
8356         (__get_avphys_pages): Likewise.
8357         * time/clock.c (clock): Likewise.
8358         * time/tzset.c (__tzname_max): Likewise.
8360 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
8362         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
8363         (__bswap_32): Do not use "register".
8364         * crypt/crypt.c (_ufc_doit_r): Likewise.
8365         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
8366         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
8367         * gmon/gmon.c (__monstartup): Likewise.
8368         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
8369         * hurd/hurdmalloc.c (more_memory): Likewise.
8370         (malloc): Likewise.
8371         (free): Likewise.
8372         (realloc): Likewise.
8373         (malloc_fork_prepare): Likewise.
8374         (malloc_fork_parent): Likewise.
8375         (malloc_fork_child): Likewise.
8376         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
8377         (_svcauth_des): Likewise.
8378         * inet/inet_lnaof.c (inet_lnaof): Likewise.
8379         * inet/inet_net.c (inet_network): Likewise.
8380         * inet/inet_netof.c (inet_netof): Likewise.
8381         * inet/rcmd.c (__validuser2_sa): Likewise.
8382         * io/fts.c (fts_open): Likewise.
8383         (fts_load): Likewise.
8384         (fts_close): Likewise.
8385         (fts_read): Likewise.
8386         (fts_children): Likewise.
8387         (fts_build): Likewise.
8388         (fts_stat): Likewise.
8389         (fts_sort): Likewise.
8390         (fts_alloc): Likewise.
8391         (fts_lfree): Likewise.
8392         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
8393         (_IO_file_xsgetn): Likewise.
8394         (_IO_file_xsgetn_mmap): Likewise.
8395         * libio/iofopncook.c (_IO_cookie_read): Likewise.
8396         (_IO_cookie_write): Likewise.
8397         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
8398         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
8399         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
8400         * malloc/obstack.c (_obstack_begin): Likewise.
8401         (_obstack_begin_1): Likewise.
8402         (_obstack_newchunk): Likewise.
8403         (_obstack_allocated_p): Likewise.
8404         (obstack_free): Likewise.
8405         (_obstack_memory_used): Likewise.
8406         * misc/getttyent.c (getttynam): Likewise.
8407         (getttyent): Likewise.
8408         (skip): Likewise.
8409         (value): Likewise.
8410         * misc/getusershell.c (initshells): Likewise.
8411         * misc/syslog.c (__vsyslog_chk): Likewise.
8412         * misc/ttyslot.c (ttyslot): Likewise.
8413         * nis/nis_hash.c (__nis_hash): Likewise.
8414         * posix/fnmatch_loop.c (FCT): Likewise.
8415         * posix/getconf.c (print_all): Likewise.
8416         (main): Likewise.
8417         * posix/getopt.c (exchange): Likewise.
8418         * posix/glob.c (globfree): Likewise.
8419         (prefix_array): Likewise.
8420         (__glob_pattern_type): Likewise.
8421         * resolv/arpa/nameser.h (NS_GET16): Likewise.
8422         (NS_GET32): Likewise.
8423         (NS_PUT16): Likewise.
8424         (NS_PUT32): Likewise.
8425         * resolv/gethnamaddr.c (getanswer): Likewise.
8426         (gethostbyname2): Likewise.
8427         (gethostbyaddr): Likewise.
8428         (_gethtent): Likewise.
8429         (_gethtbyname2): Likewise.
8430         (_gethtbyaddr): Likewise.
8431         * resolv/ns_print.c (dst_s_get_int16): Likewise.
8432         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
8433         * resolv/res_init.c (__res_vinit): Likewise.
8434         (net_mask): Likewise.
8435         * resolv/res_mkquery.c (outchar): Likewise.
8436         (PRINT): Likewise.
8437         * stdio-common/printf_fp.c (outchar): Likewise.
8438         (PRINT): Likewise.
8439         * stdio-common/printf_fphex.c (outchar): Likewise.
8440         (PRINT): Likewise.
8441         * stdio-common/printf_size.c (outchar): Likewise.
8442         (PRINT): Likewise.
8443         * stdio-common/test_rdwr.c (main): Likewise.
8444         * stdio-common/tfformat.c (matches): Likewise.
8445         * stdio-common/vfprintf.c (outchar): Likewise.
8446         (printf_unknown): Likewise.
8447         (buffered_vfprintf): Likewise.
8448         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
8449         * stdio-common/xbug.c (AppendToBuffer): Likewise.
8450         (ReadFile): Likewise.
8451         * stdlib/qsort.c (SWAP): Likewise.
8452         (_quicksort): Likewise.
8453         * stdlib/setenv.c (__add_to_environ): Likewise.
8454         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
8455         * stdlib/strtol_l.c (__strtol_l): Likewise.
8456         * stdlib/tst-strtod.c (main): Likewise.
8457         * stdlib/tst-strtol.c (main): Likewise.
8458         * stdlib/tst-strtoll.c (main): Likewise.
8459         * string/bits/string2.h (__strcmp_cc): Likewise.
8460         (__strcmp_cg): Likewise.
8461         (__strcspn_c1): Likewise.
8462         (__strcspn_c2): Likewise.
8463         (__strcspn_c3): Likewise.
8464         (__strspn_c1): Likewise.
8465         (__strspn_c2): Likewise.
8466         (__strspn_c3): Likewise.
8467         (__strsep_1c): Likewise.
8468         (__strsep_2c): Likewise.
8469         (__strsep_3c): Likewise.
8470         * string/memccpy.c (__memccpy): Likewise.
8471         * string/stpcpy.c (__stpcpy): Likewise.
8472         * string/strcmp.c (strcmp): Likewise.
8473         * string/strrchr.c (strrchr): Likewise.
8474         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
8475         Likewise.
8476         * sysdeps/mach/hurd/getcwd.c
8477         (_hurd_canonicalize_directory_name_internal): Likewise.
8478         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
8479         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
8480         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
8481         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
8482         Likewise, in both definitions.
8483         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
8484         definitions.
8485         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
8486         64] (__bswap_64): Likewise.
8487         * time/test_time.c (main): Likewise.
8488         * time/tzfile.c (__tzfile_read): Likewise.
8489         (__tzfile_compute): Likewise.
8490         * time/tzset.c (__tzset_parse_tz): Likewise.
8491         (tzset_internal): Likewise.
8492         (compute_change): Likewise.
8493         * wcsmbs/wcscat.c (__wcscat): Likewise.
8494         * wcsmbs/wcschr.c (wcschr): Likewise.
8495         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
8496         * wcsmbs/wcscspn.c (wcscspn): Likewise.
8497         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
8498         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
8499         * wcsmbs/wcsspn.c (wcsspn): Likewise.
8500         * wcsmbs/wcsstr.c (wcsstr): Likewise.
8501         * wcsmbs/wmemchr.c (wmemchr): Likewise.
8502         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
8503         * wcsmbs/wmemset.c (wmemset): Likewise.
8505 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
8507         * scripts/config.guess: Update to version 2013-05-16.
8508         * scripts/config.sub: Update to version 2013-04-24.
8509         * scripts/install-sh: Update to version 2011-11-20.07.
8510         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
8511         * scripts/move-if-change: Update to version 2012-01-06 07:23.
8513 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
8515         * debug/fgetws_u_chk.c: Fix leading whitespaces.
8516         * elf/sln.c: Likewise.
8517         * hurd/hurd/ioctl.h: Likewise.
8518         * hurd/hurdmalloc.c: Likewise.
8519         * hurd/xattr.c: Likewise.
8520         * include/shlib-compat.h: Likewise.
8521         * inet/ruserpass.c: Likewise.
8522         * libio/iofgets_u.c: Likewise.
8523         * libio/iofgetws_u.c: Likewise.
8524         * locale/programs/ld-identification.c: Likewise.
8525         * locale/programs/ld-time.c: Likewise.
8526         * mach/msg-destroy.c: Likewise.
8527         * nss/nss_files/files-netgrp.c: Likewise.
8528         * resolv/res_data.c: Likewise.
8529         * soft-fp/op-1.h: Likewise.
8530         * soft-fp/op-2.h: Likewise.
8531         * soft-fp/op-4.h: Likewise.
8532         * soft-fp/op-common.h: Likewise.
8533         * stdio-common/printf_fphex.c: Likewise.
8534         * stdlib/strtod_l.c: Likewise.
8535         * sunrpc/rpc/clnt.h: Likewise.
8536         * sysdeps/generic/framestate.c: Likewise.
8537         * sysdeps/i386/bsd-_setjmp.S: Likewise.
8538         * sysdeps/i386/bsd-setjmp.S: Likewise.
8539         * sysdeps/i386/__longjmp.S: Likewise.
8540         * sysdeps/i386/setjmp.S: Likewise.
8541         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
8542         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
8543         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
8544         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
8545         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
8546         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
8547         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
8548         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
8549         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
8550         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
8551         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
8552         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
8553         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
8554         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
8555         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
8556         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
8557         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
8558         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
8559         * sysdeps/ieee754/support.c: Likewise.
8560         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
8561         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
8562         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
8563         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
8564         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
8565         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
8566         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
8567         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
8568         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
8569         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
8570         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
8571         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
8572         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
8573         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
8574         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
8575         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
8576         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
8577         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
8579 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
8581         * posix/transbug.c: Remove executable mode.
8583 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
8585         * crypt/speeds.c: Remove trailing whitespace.
8586         * dlfcn/default.c: Likewise.
8587         * elf/ifuncdep2.c: Likewise.
8588         * elf/ifuncmain1.c: Likewise.
8589         * elf/ifuncmain1vis.c: Likewise.
8590         * elf/testobj.h: Likewise.
8591         * elf/tst-stackguard1.c: Likewise.
8592         * gmon/sys/gmon.h: Likewise.
8593         * hurd/hurdmsg.c: Likewise.
8594         * hurd/new-fd.c: Likewise.
8595         * hurd/ports-get.c: Likewise.
8596         * iconvdata/ibm1008_420.c: Likewise.
8597         * inet/tst-getni1.c: Likewise.
8598         * inet/tst-getni2.c: Likewise.
8599         * libio/ioungetc.c: Likewise.
8600         * libio/wfiledoalloc.c: Likewise.
8601         * manual/libm-err-tab.pl: Likewise.
8602         * math/w_dremf.c: Likewise.
8603         * misc/ftruncate.c: Likewise.
8604         * posix/bug-glob2.c: Likewise.
8605         * posix/tst-pcre.c: Likewise.
8606         * posix/wait4.c: Likewise.
8607         * resolv/README: Likewise.
8608         * resolv/res_debug.h: Likewise.
8609         * resolv/tst-inet_ntop.c: Likewise.
8610         * setjmp/bug269-setjmp.c: Likewise.
8611         * soft-fp/extended.h: Likewise.
8612         * soft-fp/op-1.h: Likewise.
8613         * soft-fp/op-2.h: Likewise.
8614         * soft-fp/op-4.h: Likewise.
8615         * soft-fp/op-8.h: Likewise.
8616         * soft-fp/testit.c: Likewise.
8617         * stdio-common/bug16.c: Likewise.
8618         * stdlib/random.c: Likewise.
8619         * sunrpc/rpcsvc/rquota.x: Likewise.
8620         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
8621         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
8622         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
8623         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
8624         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
8625         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
8626         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
8627         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
8628         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
8629         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
8630         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
8631         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
8632         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
8633         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
8634         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
8635         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
8636         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
8637         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
8638         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
8639         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
8640         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
8641         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
8642         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
8643         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
8644         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
8645         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
8646         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
8647         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
8648         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
8649         * sysdeps/ieee754/s_lib_version.c: Likewise.
8650         * sysdeps/mach/hurd/check_fds.c: Likewise.
8651         * sysdeps/mach/hurd/getsockname.c: Likewise.
8652         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
8653         * sysdeps/mach/hurd/recvfrom.c: Likewise.
8654         * sysdeps/powerpc/bits/link.h: Likewise.
8655         * sysdeps/powerpc/dl-procinfo.c: Likewise.
8656         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
8657         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
8658         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
8659         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
8660         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
8661         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
8662         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
8663         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
8664         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
8665         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
8666         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
8667         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
8668         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
8669         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
8670         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
8671         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
8672         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
8673         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
8674         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
8675         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
8676         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
8677         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
8678         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
8679         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
8680         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
8681         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
8682         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
8683         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
8684         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
8685         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
8686         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
8687         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
8688         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
8689         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
8690         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
8691         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
8692         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
8693         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
8694         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
8695         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
8696         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
8697         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
8698         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
8699         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
8700         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
8701         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
8702         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
8703         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
8704         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
8705         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
8706         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
8707         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
8708         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
8709         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
8710         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
8711         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
8712         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
8713         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
8714         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
8715         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
8716         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
8717         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
8718         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
8719         * sysdeps/powerpc/sysdep.h: Likewise.
8720         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
8721         * sysdeps/s390/s390-64/sub_n.S: Likewise.
8722         * sysdeps/sh/dl-trampoline.S: Likewise.
8723         * sysdeps/sh/memset.S: Likewise.
8724         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
8725         * sysdeps/sh/strlen.S: Likewise.
8726         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
8727         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
8728         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
8729         * sysdeps/sparc/sparc32/rem.S: Likewise.
8730         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
8731         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
8732         * sysdeps/sparc/sparc32/strchr.S: Likewise.
8733         * sysdeps/sparc/sparc32/udiv.S: Likewise.
8734         * sysdeps/sparc/sparc32/urem.S: Likewise.
8735         * sysdeps/sparc/sparc64/add_n.S: Likewise.
8736         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
8737         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
8738         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
8739         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
8740         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
8741         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
8742         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
8743         * sysdeps/unix/bsd/times.c: Likewise.
8744         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
8745         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
8746         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
8747         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
8748         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
8749         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
8750         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
8751         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
8752         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
8753         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
8754         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
8755         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
8756         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
8757         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
8758         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
8759         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
8760         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
8761         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
8762         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
8763         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
8764         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
8765         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
8766         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
8767         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
8768         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
8769         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
8770         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
8771         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
8772         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
8773         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
8774         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
8775         * sysdeps/x86_64/strcspn.S: Likewise.
8777 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
8779         * locale/C-translit.h: Revert #include <stdint.h> because this is a
8780         generated file.  Regenerate properly from gen-translit.pl.
8781         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
8782         locale/C-translit.h.
8784 2013-06-05  Andreas Schwab  <schwab@suse.de>
8786         [BZ #15100]
8787         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
8788         week as 6 instead of -1.
8789         * time/tst-strptime.c (day_tests): Add test case.
8791 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
8793         * sysdeps/generic/math_private.h
8794         (libc_feholdexcept_setround_53bit): Replace with
8795         libc_feholdsetround_53bit.
8796         (libc_feupdateenv_53bit): Replace with
8797         libc_feresetround_53bit.
8798         (SET_RESTORE_ROUND_53BIT): Adjust.
8800 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
8802         * string/test-strchrnul.c: Add copyright header.
8804         * posix/tst-getaddrinfo4.c: Increase test timeout.
8806 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
8808         [BZ #15536]
8809         * math/libm-test.inc (MAX_EXP): Remove
8810         (MIN_EXP): Define.
8811         (ulp): Use MIN_EXP - MANT_DIG.
8812         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
8814 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
8816         * po/be.po: Revert last change.
8817         * po/zh_CN.po: Likewise.
8818         * po/header.pot: Likewise.
8820 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
8822         * Makefile ($(common-objpfx)linkobj/libc.so): Define
8823         link-libc-deps to empty as target-specific variable.
8824         * Makerules (link-libc-args): New variable.
8825         (libc-for-link): Likewise.
8826         (link-libc-deps): Likewise.
8827         (lib%.so): Depend on $(link-libc-deps).  Link with
8828         $(link-libc-args).
8829         (build-module): Link with $(link-libc-args).
8830         (build-module-asneeded): Likewise.
8831         (build-module-helper-objlist): Filter out $(link-libc-deps) from
8832         list of objects.
8833         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
8834         target-specific variable.
8835         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
8836         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
8837         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
8838         libc.
8839         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
8840         libc and ld.so.
8841         ($(objpfx)libpcprofile.so): Likewise.
8842         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
8843         libc_nonshared.a.
8844         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
8845         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
8846         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
8847         $(link-libc-deps).
8848         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
8849         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
8850         * login/Makefile ($(objpfx)libutil.so): Likewise.
8851         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
8852         * math/Makefile ($(objpfx)libm.so): Likewise.
8853         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
8854         $(objpfx)libnsl.so): Define libc-for-link as target-specific
8855         variable instead of depending directly on libc.
8856         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
8857         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
8858         $(link-libc-deps).
8859         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
8860         libc.
8861         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
8862         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
8863         ($(objpfx)libanl.so): Likewise.
8864         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
8865         ld.so.
8866         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
8867         $(link-libc-deps).
8868         * sysdeps/i386/fpu/Makefile: Remove file.
8869         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
8870         ($(objpfx)libm.so): Remove dependency on ld.so.
8872 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
8874         [BZ # 15553]
8875         * nis/yp_xdr.c (XDRMAXNAME): Define.
8876         (XDRMAXRECORD): Define.
8877         (xdr_domainname): Use XDRMAXNAME.
8878         (xdr_mapname): Likewise.
8879         (xdr_peername): Likewise.
8880         (xdr_keydat): Use XDRMAXRECORD.
8881         (xdr_valdat): Likewise.
8883 2013-05-30  Jeff Law  <law@redhat.com>
8885         [BZ #14256]
8886         * manual/errno.texi (ESTALE): Update to account for more than
8887         just NFS file systems.
8888         * sysdeps/gnu/errlist.c: Regenerated.
8890 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
8892         [BZ #15465]
8893         * elf/Makefile (tests): Add tst-null-argv.
8894         (modules-names):  Add tst-null-argv-lib.
8895         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
8896         (tst-null-argv-ENV): Set environment for tst-null-argv.
8897         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
8898         (RTLD_PROGNAME): New macro.
8899         * elf/tst-null-argv.c: New test case.
8900         * elf/tst-null-argv-lib.c: Library for test case.
8901         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
8902         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
8903         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
8904         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
8905         * elf/dl-init.c (call_init): Likewise.
8906         (_dl_init): Likewise.
8907         * elf/dl-load.c (print_search_path): Likewise.
8908         (_dl_map_object): Likewise.
8909         * elf/dl-lookup.c (do_lookup_x): Likewise.
8910         (add_dependency): Likewise.
8911         (_dl_lookup_symbol_x): Likewise.
8912         (_dl_debug_bindings): Likewise.
8913         * elf/dl-open.c (_dl_show_scope): Likewise.
8914         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
8915         * elf/dl-version.c (match_symbol): Likewise.
8916         (_dl_check_map_versions): Likewise.
8917         * elf/rtld.c (dl_main): Likewise.
8918         (print_unresolved): Use RTLD_PROGNAME.
8919         (print_missing_version): Likewise.
8920         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
8921         (elf_machine_rela): Likewise.
8922         * sysdeps/powerpc/powerpc32/dl-machine.c
8923         (__process_machine_rela): Likewise.
8924         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
8925         Likewise.
8926         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
8927         Likewise.
8928         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
8929         Likewise.
8930         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
8931         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
8932         Likewise.
8933         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
8934         Likewise.
8935         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
8937 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
8939         * po/be.po: Add descriptive title.
8940         * po/zh_CN.po: Likewise.
8941         * po/header.pot: Likewise.
8943 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
8945         * locale/programs/locarchive.c (create_archive): Inlucde fname in
8946         error message.
8947         (enlarge_archive): Likewise.
8949 2013-05-28  Ben North  <ben@redfrontdoor.org>
8951         * manual/arith.texi (frexp): It is the magnitude of the return
8952         value which lies in [0.5, 1), not the return value itself.
8954 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8956         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8958 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
8960         * stdio-common/bug26.c (main): Correct fscanf template.
8962         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
8963         declare _dl_skip_args.
8965         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
8966         Don't declare.
8968         * manual/platform.texi: Add missing @end deftypefun.
8970 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
8972         [BZ #15529]
8973         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
8974         bit of mantissa of 2^16382.
8975         * math/libm-test.inc (hypot_test_data): Add more tests.
8977         * math/libm-test.inc: Add drem and pow10 to list of tested
8978         functions.
8979         (pow10_test): New function.
8980         (drem_test): Likewise.
8981         (drem_test_tonearest): Likewise.
8982         (drem_test_towardzero): Likewise.
8983         (drem_test_downward): Likewise.
8984         (drem_test_upward): Likewise.
8985         (main): Call the new functions.
8987         * math/libm-test.inc (finite_test_data): Remove.
8988         (finite_test): Run tests from isfinite_test_data.
8989         (gamma_test_data): Remove.
8990         (gamma_test): Run tests from lgamma_test_data.
8991         * sysdeps/i386/fpu/libm-test-ulps: Update.
8992         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8994 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8996         * manual/platform.texi: Add PowerPC PPR function set documentation.
8997         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
8998         implementation.
9000 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
9002         * math/libm-test.inc (MAX_EXP): Define.
9003         (ULPDIFF): Define.
9004         (ulp): New function.
9005         (check_float_internal): Use ULPDIFF.
9006         (cpow_test): Disable failing test.
9007         (check_ulp): Test ulp() implemetnation.
9008         (main): Call check_ulp before starting tests.
9010 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
9012         * math/gen-libm-test.pl (generate_testfile): Do not handle
9013         START_DATA and END_DATA.
9014         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
9015         END_DATA.
9016         (acos_tonearest_test_data): Likewise.
9017         (acos_towardzero_test_data): Likewise.
9018         (acos_downward_test_data): Likewise.
9019         (acos_upward_test_data): Likewise.
9020         (acosh_test_data): Likewise.
9021         (asin_test_data): Likewise.
9022         (asin_tonearest_test_data): Likewise.
9023         (asin_towardzero_test_data): Likewise.
9024         (asin_downward_test_data): Likewise.
9025         (asin_upward_test_data): Likewise.
9026         (asinh_test_data): Likewise.
9027         (atan_test_data): Likewise.
9028         (atanh_test_data): Likewise.
9029         (atan2_test_data): Likewise.
9030         (cabs_test_data): Likewise.
9031         (cacos_test_data): Likewise.
9032         (cacosh_test_data): Likewise.
9033         (carg_test_data): Likewise.
9034         (casin_test_data): Likewise.
9035         (casinh_test_data): Likewise.
9036         (catan_test_data): Likewise.
9037         (catanh_test_data): Likewise.
9038         (cbrt_test_data): Likewise.
9039         (ccos_test_data): Likewise.
9040         (ccosh_test_data): Likewise.
9041         (ceil_test_data): Likewise.
9042         (cexp_test_data): Likewise.
9043         (cimag_test_data): Likewise.
9044         (clog_test_data): Likewise.
9045         (clog10_test_data): Likewise.
9046         (conj_test_data): Likewise.
9047         (copysign_test_data): Likewise.
9048         (cos_test_data): Likewise.
9049         (cos_tonearest_test_data): Likewise.
9050         (cos_towardzero_test_data): Likewise.
9051         (cos_downward_test_data): Likewise.
9052         (cos_upward_test_data): Likewise.
9053         (cosh_test_data): Likewise.
9054         (cosh_tonearest_test_data): Likewise.
9055         (cosh_towardzero_test_data): Likewise.
9056         (cosh_downward_test_data): Likewise.
9057         (cosh_upward_test_data): Likewise.
9058         (cpow_test_data): Likewise.
9059         (cproj_test_data): Likewise.
9060         (creal_test_data): Likewise.
9061         (csin_test_data): Likewise.
9062         (csinh_test_data): Likewise.
9063         (csqrt_test_data): Likewise.
9064         (ctan_test_data): Likewise.
9065         (ctan_tonearest_test_data): Likewise.
9066         (ctan_towardzero_test_data): Likewise.
9067         (ctan_downward_test_data): Likewise.
9068         (ctan_upward_test_data): Likewise.
9069         (ctanh_test_data): Likewise.
9070         (ctanh_tonearest_test_data): Likewise.
9071         (ctanh_towardzero_test_data): Likewise.
9072         (ctanh_downward_test_data): Likewise.
9073         (ctanh_upward_test_data): Likewise.
9074         (erf_test_data): Likewise.
9075         (erfc_test_data): Likewise.
9076         (exp_test_data): Likewise.
9077         (exp_tonearest_test_data): Likewise.
9078         (exp_towardzero_test_data): Likewise.
9079         (exp_downward_test_data): Likewise.
9080         (exp_upward_test_data): Likewise.
9081         (exp10_test_data): Likewise.
9082         (exp2_test_data): Likewise.
9083         (expm1_test_data): Likewise.
9084         (fabs_test_data): Likewise.
9085         (fdim_test_data): Likewise.
9086         (finite_test_data): Likewise.
9087         (floor_test_data): Likewise.
9088         (fma_test_data): Likewise.
9089         (fma_towardzero_test_data): Likewise.
9090         (fma_downward_test_data): Likewise.
9091         (fma_upward_test_data): Likewise.
9092         (fmax_test_data): Likewise.
9093         (fmin_test_data): Likewise.
9094         (fmod_test_data): Likewise.
9095         (fpclassify_test_data): Likewise.
9096         (frexp_test_data): Likewise.
9097         (gamma_test_data): Likewise.
9098         (hypot_test_data): Likewise.
9099         (ilogb_test_data): Likewise.
9100         (isfinite_test_data): Likewise.
9101         (isgreater_test_data): Likewise.
9102         (isgreaterequal_test_data): Likewise.
9103         (isinf_test_data): Likewise.
9104         (isless_test_data): Likewise.
9105         (islessequal_test_data): Likewise.
9106         (islessgreater_test_data): Likewise.
9107         (isnan_test_data): Likewise.
9108         (isnormal_test_data): Likewise.
9109         (issignaling_test_data): Likewise.
9110         (isunordered_test_data): Likewise.
9111         (j0_test_data): Likewise.
9112         (j1_test_data): Likewise.
9113         (jn_test_data): Likewise.
9114         (ldexp_test_data): Likewise.
9115         (lgamma_test_data): Likewise.
9116         (lrint_test_data): Likewise.
9117         (lrint_tonearest_test_data): Likewise.
9118         (lrint_towardzero_test_data): Likewise.
9119         (lrint_downward_test_data): Likewise.
9120         (lrint_upward_test_data): Likewise.
9121         (llrint_test_data): Likewise.
9122         (llrint_tonearest_test_data): Likewise.
9123         (llrint_towardzero_test_data): Likewise.
9124         (llrint_downward_test_data): Likewise.
9125         (llrint_upward_test_data): Likewise.
9126         (log_test_data): Likewise.
9127         (log10_test_data): Likewise.
9128         (log1p_test_data): Likewise.
9129         (log2_test_data): Likewise.
9130         (logb_test_data): Likewise.
9131         (logb_downward_test_data): Likewise.
9132         (lround_test_data): Likewise.
9133         (llround_test_data): Likewise.
9134         (modf_test_data): Likewise.
9135         (nearbyint_test_data): Likewise.
9136         (nextafter_test_data): Likewise.
9137         (nexttoward_test_data): Likewise.
9138         (pow_test_data): Likewise.
9139         (pow_tonearest_test_data): Likewise.
9140         (pow_towardzero_test_data): Likewise.
9141         (pow_downward_test_data): Likewise.
9142         (pow_upward_test_data): Likewise.
9143         (remainder_test_data): Likewise.
9144         (remainder_tonearest_test_data): Likewise.
9145         (remainder_towardzero_test_data): Likewise.
9146         (remainder_downward_test_data): Likewise.
9147         (remainder_upward_test_data): Likewise.
9148         (remquo_test_data): Likewise.
9149         (rint_test_data): Likewise.
9150         (rint_tonearest_test_data): Likewise.
9151         (rint_towardzero_test_data): Likewise.
9152         (rint_downward_test_data): Likewise.
9153         (rint_upward_test_data): Likewise.
9154         (round_test_data): Likewise.
9155         (scalb_test_data): Likewise.
9156         (scalbn_test_data): Likewise.
9157         (scalbln_test_data): Likewise.
9158         (signbit_test_data): Likewise.
9159         (sin_test_data): Likewise.
9160         (sin_tonearest_test_data): Likewise.
9161         (sin_towardzero_test_data): Likewise.
9162         (sin_downward_test_data): Likewise.
9163         (sin_upward_test_data): Likewise.
9164         (sincos_test_data): Likewise.
9165         (sinh_test_data): Likewise.
9166         (sinh_tonearest_test_data): Likewise.
9167         (sinh_towardzero_test_data): Likewise.
9168         (sinh_downward_test_data): Likewise.
9169         (sinh_upward_test_data): Likewise.
9170         (sqrt_test_data): Likewise.
9171         (tan_test_data): Likewise.
9172         (tan_tonearest_test_data): Likewise.
9173         (tan_towardzero_test_data): Likewise.
9174         (tan_downward_test_data): Likewise.
9175         (tan_upward_test_data): Likewise.
9176         (tanh_test_data): Likewise.
9177         (tgamma_test_data): Likewise.
9178         (trunc_test_data): Likewise.
9179         (y0_test_data): Likewise.
9180         (y1_test_data): Likewise.
9181         (yn_test_data): Likewise.
9182         (significand_test_data): Likewise.
9184         * math/gen-libm-test.pl (@functions): Remove variable.
9185         (generate_testfile): Don't handle START and END lines.
9186         * math/libm-test.inc (START): New macro.
9187         (END): Likewise.
9188         (END_COMPLEX): Likewise.
9189         (acos_test): Use END macro without arguments.
9190         (acos_test_tonearest): Likewise.
9191         (acos_test_towardzero): Likewise.
9192         (acos_test_downward): Likewise.
9193         (acos_test_upward): Likewise.
9194         (acosh_test): Likewise.
9195         (asin_test): Likewise.
9196         (asin_test_tonearest): Likewise.
9197         (asin_test_towardzero): Likewise.
9198         (asin_test_downward): Likewise.
9199         (asin_test_upward): Likewise.
9200         (asinh_test): Likewise.
9201         (atan_test): Likewise.
9202         (atanh_test): Likewise.
9203         (atan2_test): Likewise.
9204         (cabs_test): Likewise.
9205         (cacos_test): Use END_COMPLEX macro without arguments.
9206         (cacosh_test): Likewise.
9207         (carg_test): Use END macro without arguments.
9208         (casin_test): Use END_COMPLEX macro without arguments.
9209         (casinh_test): Likewise.
9210         (catan_test): Likewise.
9211         (catanh_test): Likewise.
9212         (cbrt_test): Use END macro without arguments.
9213         (ccos_test): Use END_COMPLEX macro without arguments.
9214         (ccosh_test): Likewise.
9215         (ceil_test): Use END macro without arguments.
9216         (cexp_test): Use END_COMPLEX macro without arguments.
9217         (cimag_test): Use END macro without arguments.
9218         (clog_test): Use END_COMPLEX macro without arguments.
9219         (clog10_test): Likewise.
9220         (conj_test): Likewise.
9221         (copysign_test): Use END macro without arguments.
9222         (cos_test): Likewise.
9223         (cos_test_tonearest): Likewise.
9224         (cos_test_towardzero): Likewise.
9225         (cos_test_downward): Likewise.
9226         (cos_test_upward): Likewise.
9227         (cosh_test): Likewise.
9228         (cosh_test_tonearest): Likewise.
9229         (cosh_test_towardzero): Likewise.
9230         (cosh_test_downward): Likewise.
9231         (cosh_test_upward): Likewise.
9232         (cpow_test): Use END_COMPLEX macro without arguments.
9233         (cproj_test): Likewise.
9234         (creal_test): Use END macro without arguments.
9235         (csin_test): Use END_COMPLEX macro without arguments.
9236         (csinh_test): Likewise.
9237         (csqrt_test): Likewise.
9238         (ctan_test): Likewise.
9239         (ctan_test_tonearest): Likewise.
9240         (ctan_test_towardzero): Likewise.
9241         (ctan_test_downward): Likewise.
9242         (ctan_test_upward): Likewise.
9243         (ctanh_test): Likewise.
9244         (ctanh_test_tonearest): Likewise.
9245         (ctanh_test_towardzero): Likewise.
9246         (ctanh_test_downward): Likewise.
9247         (ctanh_test_upward): Likewise.
9248         (erf_test): Use END macro without arguments.
9249         (erfc_test): Likewise.
9250         (exp_test): Likewise.
9251         (exp_test_tonearest): Likewise.
9252         (exp_test_towardzero): Likewise.
9253         (exp_test_downward): Likewise.
9254         (exp_test_upward): Likewise.
9255         (exp10_test): Likewise.
9256         (exp2_test): Likewise.
9257         (expm1_test): Likewise.
9258         (fabs_test): Likewise.
9259         (fdim_test): Likewise.
9260         (finite_test): Likewise.
9261         (floor_test): Likewise.
9262         (fma_test): Likewise.
9263         (fma_test_towardzero): Likewise.
9264         (fma_test_downward): Likewise.
9265         (fma_test_upward): Likewise.
9266         (fmax_test): Likewise.
9267         (fmin_test): Likewise.
9268         (fmod_test): Likewise.
9269         (fpclassify_test): Likewise.
9270         (frexp_test): Likewise.
9271         (gamma_test): Likewise.
9272         (hypot_test): Likewise.
9273         (ilogb_test): Likewise.
9274         (isfinite_test): Likewise.
9275         (isgreater_test): Likewise.
9276         (isgreaterequal_test): Likewise.
9277         (isinf_test): Likewise.
9278         (isless_test): Likewise.
9279         (islessequal_test): Likewise.
9280         (islessgreater_test): Likewise.
9281         (isnan_test): Likewise.
9282         (isnormal_test): Likewise.
9283         (issignaling_test): Likewise.
9284         (isunordered_test): Likewise.
9285         (j0_test): Likewise.
9286         (j1_test): Likewise.
9287         (jn_test): Likewise.
9288         (ldexp_test): Likewise.
9289         (lgamma_test): Likewise.
9290         (lrint_test): Likewise.
9291         (lrint_test_tonearest): Likewise.
9292         (lrint_test_towardzero): Likewise.
9293         (lrint_test_downward): Likewise.
9294         (lrint_test_upward): Likewise.
9295         (llrint_test): Likewise.
9296         (llrint_test_tonearest): Likewise.
9297         (llrint_test_towardzero): Likewise.
9298         (llrint_test_downward): Likewise.
9299         (llrint_test_upward): Likewise.
9300         (log_test): Likewise.
9301         (log10_test): Likewise.
9302         (log1p_test): Likewise.
9303         (log2_test): Likewise.
9304         (logb_test): Likewise.
9305         (logb_test_downward): Likewise.
9306         (lround_test): Likewise.
9307         (llround_test): Likewise.
9308         (modf_test): Likewise.
9309         (nearbyint_test): Likewise.
9310         (nextafter_test): Likewise.
9311         (nexttoward_test): Likewise.
9312         (pow_test): Likewise.
9313         (pow_test_tonearest): Likewise.
9314         (pow_test_towardzero): Likewise.
9315         (pow_test_downward): Likewise.
9316         (pow_test_upward): Likewise.
9317         (remainder_test): Likewise.
9318         (remainder_test_tonearest): Likewise.
9319         (remainder_test_towardzero): Likewise.
9320         (remainder_test_downward): Likewise.
9321         (remainder_test_upward): Likewise.
9322         (remquo_test): Likewise.
9323         (rint_test): Likewise.
9324         (rint_test_tonearest): Likewise.
9325         (rint_test_towardzero): Likewise.
9326         (rint_test_downward): Likewise.
9327         (rint_test_upward): Likewise.
9328         (round_test): Likewise.
9329         (scalb_test): Likewise.
9330         (scalbn_test): Likewise.
9331         (scalbln_test): Likewise.
9332         (signbit_test): Likewise.
9333         (sin_test): Likewise.
9334         (sin_test_tonearest): Likewise.
9335         (sin_test_towardzero): Likewise.
9336         (sin_test_downward): Likewise.
9337         (sin_test_upward): Likewise.
9338         (sincos_test): Likewise.
9339         (sinh_test): Likewise.
9340         (sinh_test_tonearest): Likewise.
9341         (sinh_test_towardzero): Likewise.
9342         (sinh_test_downward): Likewise.
9343         (sinh_test_upward): Likewise.
9344         (sqrt_test): Likewise.
9345         (tan_test): Likewise.
9346         (tan_test_tonearest): Likewise.
9347         (tan_test_towardzero): Likewise.
9348         (tan_test_downward): Likewise.
9349         (tan_test_upward): Likewise.
9350         (tanh_test): Likewise.
9351         (tgamma_test): Likewise.
9352         (trunc_test): Likewise.
9353         (y0_test): Likewise.
9354         (y1_test): Likewise.
9355         (yn_test): Likewise.
9356         (significand_test): Likewise.
9358 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
9360         [BZ #15381]
9361         * libio/genops.c (_IO_no_init): Initialize wide struct info.
9363 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
9365         [BZ #14894]
9366         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
9367         __ppc_mdoio and __ppc_mdoom.
9368         * manual/platform.texi: Document new functions __ppc_yield,
9369         __ppc_mdoio and __ppc_mdoom.
9371 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
9373         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
9374         (main): Mention "tls" pseudo-hwcap is legacy.
9375         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
9377 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
9379         * math/gen-libm-test.pl (parse_args): Output only string of
9380         arguments as text for test name, not full call or descriptions of
9381         tests for extra outputs.
9382         (generate_testfile): Do not pass function name to parse_args.
9383         Generate this_func variable from START.
9384         * math/libm-test.inc (struct test_f_f_data): Rename test_name
9385         field to arg_str.
9386         (struct test_ff_f_data): Likewise.
9387         (test_ff_f_data_nexttoward): Likewise.
9388         (struct test_fi_f_data): Likewise.
9389         (struct test_fl_f_data): Likewise.
9390         (struct test_if_f_data): Likewise.
9391         (struct test_fff_f_data): Likewise.
9392         (struct test_c_f_data): Likewise.
9393         (struct test_f_f1_data): Likewise.  Remove field extra_name.
9394         (struct test_fF_f1_data): Likewise.
9395         (struct test_ffI_f1_data): Likewise.
9396         (struct test_c_c_data): Rename test_name field to arg_str.
9397         (struct test_cc_c_data): Likewise.
9398         (struct test_f_i_data): Likewise.
9399         (struct test_ff_i_data): Likewise.
9400         (struct test_f_l_data): Likewise.
9401         (struct test_f_L_data): Likewise.
9402         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
9403         and extra2_name.
9404         (COMMON_TEST_SETUP): New macro.
9405         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
9406         (COMMON_TEST_CLEANUP): Likewise.
9407         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
9408         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
9409         macros.
9410         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
9411         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
9412         macros.
9413         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
9414         (RUN_TEST_fff_f): Take argument string.  Call new setup and
9415         cleanup macros.
9416         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
9417         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
9418         macros.
9419         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
9420         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
9421         macros.
9422         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
9423         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
9424         cleanup macros.
9425         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
9426         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
9427         cleanup macros.
9428         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
9429         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
9430         cleanup macros.
9431         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
9432         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
9433         macros.
9434         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
9435         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
9436         macros.
9437         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
9438         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
9439         macros.
9440         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
9441         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
9442         cleanup macros.
9443         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
9444         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
9445         cleanup macros.
9446         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
9447         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
9448         macros.
9449         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
9450         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
9451         cleanup macros.
9452         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
9453         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
9454         macros.
9455         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
9456         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
9457         macros.
9458         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
9459         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
9460         cleanup macros.
9461         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
9463 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
9465         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
9466         to _sifields.sigfault.
9467         (si_addr_lsb): Define new macro.
9468         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
9469         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
9470         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
9472 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
9474         [BZ #15441]
9475         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
9476         returns -1.
9477         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
9478         null return -1.
9479         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
9480         loading the domain.
9482 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
9484         * math/gen-libm-test.pl (parse_args): Do not include expected
9485         result in test name.
9486         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
9487         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
9488         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
9489         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
9490         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
9491         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9493 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
9495         * benchtests/Makefile: Sort function entries.
9497         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
9498         tanh, asinh, acosh, atanh.
9499         * benchtests/acos-inputs: New file.
9500         * benchtests/acosh-inputs: New file.
9501         * benchtests/asin-inputs: New file.
9502         * benchtests/asinh-inputs: New file.
9503         * benchtests/atanh-inputs: New file.
9504         * benchtests/cosh-inputs: New file.
9505         * benchtests/log-inputs: New file.
9506         * benchtests/sinh-inputs: New file.
9507         * benchtests/tanh-inputs: New file.
9509 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
9511         [BZ #15339]
9512         * posix/tst-getaddrinfo4.c: New test.
9513         * posix/Makefile (tests): Add it.
9515 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
9517         [BZ #15339]
9518         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
9519         when no services were used.
9520         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
9521         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
9523 2013-05-21  Andreas Schwab  <schwab@suse.de>
9525         [BZ #15014]
9526         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
9527         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
9528         successful.
9529         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
9530         redundant variable declarations and reallocation of buffer when
9531         parsing as IPv6 address.  Always set NSS status when called from
9532         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
9533         buffer too small.  Correct computation of needed size.
9534         * nss/Makefile (tests): Add test-digits-dots.
9535         * nss/test-digits-dots.c: New test.
9537 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
9539         * benchtests/Makefile: Remove instructions for adding
9540         benchmark tests.
9541         * benchtests/README: New file to explain how to execute and
9542         enhance the benchmark tests.
9544 2013-05-21  Andreas Schwab  <schwab@suse.de>
9546         [BZ #15493]
9547         * setjmp/Makefile (tests): Add tst-sigsetjmp.
9548         * setjmp/tst-sigsetjmp.c: New test.
9550 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
9552         * sysdeps/x86_64/memset.S (memset): New implementation.
9553         (__bzero): Likewise.
9554         (__memset_tail): New function.
9556 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
9558         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
9559         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
9560         __memcpy_sse2_unaligned ifunc selection.
9561         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
9562         Add memcpy-sse2-unaligned.S.
9563         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
9564         Add: __memcpy_sse2_unaligned.
9566 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
9568         [BZ #15490]
9569         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
9570         math_force_eval before restoring floating-point envrionment.
9571         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
9572         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
9573         Likewise.
9574         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
9575         <math_private.h>.
9576         (__nearbyintl): Use math_force_eval before restoring
9577         floating-point environment.
9578         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
9580         * math/gen-libm-test.pl (special_functions): Remove.
9581         (parse_args): Don't handle TEST_extra.  Handle functions with no
9582         return value.
9583         * math/libm-test.inc (struct test_sincos_data): Replace with
9584         struct test_fFF_11_data.
9585         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
9586         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
9587         (sincos_test_data): Change element type to struct
9588         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
9589         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
9590         RUN_TEST_LOOP_sincos.
9591         * math/README.libm-test: Don't mention special handling of
9592         individual functions.
9593         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
9594         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
9595         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
9596         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
9597         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
9598         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9600         * math/gen-libm-test.pl (get_variable): Remove function.
9601         (parse_args): Don't show pointer parameters to call in test
9602         names.  Use "extra output N" in test names for extra outputs
9603         rather than naming variables.
9605 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
9607         [BZ #15488]
9608         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
9609         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
9610         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
9611         double tests.
9612         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
9613         disable.
9614         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
9615         check_long_double.
9617         * math/gen-libm-test.pl (@tests): Remove variable.
9618         ($count): Likewise.
9619         (new_test): Remove function.
9620         (show_exceptions): New function.
9621         (special_functions): Use show_exceptions instead of new_test.
9622         (parse_args): Likewise.
9623         (generate_testfile): Pass only function name in generated call to
9624         print_max_error or print_complex_max_error.
9625         (get_ulps): Do not handle complex tests specially.
9626         (output_test): Rename to ...
9627         (get_all_ulps_for_test): ... this.  Return a string rather than
9628         printing to a file.  Require ulps to be present.
9629         (output_ulps): Generate arrays rather than #defines.
9630         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
9631         (struct ulp_data): New type.
9632         (BUILD_COMPLEX_ULP): Remove macro.
9633         (compare_ulp_data): New function.
9634         (find_ulps): Likewise.
9635         (find_test_ulps): Likewise.
9636         (find_function_ulps): Likewise.
9637         (find_complex_function_ulps): Likewise.
9638         (print_max_error): Determine allowed ulps using
9639         find_function_ulps.
9640         (print_complex_max_error): Determine allowed ulps using
9641         find_complex_function_ulps.
9642         (check_float_internal): Determine max ulps using find_test_ulps.
9643         (check_float): Do not take max_ulp parameter.  Update call to
9644         check_float_internal.
9645         (check_complex): Likewise.
9646         (check_int): Do not take max_ulp parameter.
9647         (check_long): Likewise.
9648         (check_bool): Likewise.
9649         (check_longlong): Likewise.
9650         (struct test_f_f_data): Remove max_ulp field.
9651         (struct test_ff_f_data): Likewise.
9652         (struct test_ff_f_data_nexttoward): Likewise.
9653         (struct test_fi_f_data): Likewise.
9654         (struct test_fl_f_data): Likewise.
9655         (struct test_if_f_data): Likewise.
9656         (struct test_fff_f_data): Likewise.
9657         (struct test_c_f_data): Likewise.
9658         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
9659         (struct test_fF_f1_data): Likewise.
9660         (struct test_ffI_f1_data): Likewise.
9661         (struct test_c_c_data): Remove max_ulp field.
9662         (struct test_cc_c_data): Likewise.
9663         (struct test_f_i_data): Likewise.
9664         (struct test_ff_i_data): Likewise.
9665         (struct test_f_l_data): Likewise.
9666         (struct test_f_L_data): Likewise.
9667         (struct test_sincos_data): Likewise.
9668         (RUN_TEST_f_f): Do not handle ulps.
9669         (RUN_TEST_LOOP_f_f): Likewise.
9670         (RUN_TEST_2_f): Likewise.
9671         (RUN_TEST_LOOP_2_f): Likewise.
9672         (RUN_TEST_fff_f): Likewise.
9673         (RUN_TEST_LOOP_fff_f): Likewise.
9674         (RUN_TEST_c_f): Likewise.
9675         (RUN_TEST_LOOP_c_f): Likewise.
9676         (RUN_TEST_f_f1): Likewise.
9677         (RUN_TEST_LOOP_f_f1): Likewise.
9678         (RUN_TEST_fF_f1): Likewise.
9679         (RUN_TEST_LOOP_fF_f1): Likewise.
9680         (RUN_TEST_fI_f1): Likewise.
9681         (RUN_TEST_LOOP_fI_f1): Likewise.
9682         (RUN_TEST_ffI_f1): Likewise.
9683         (RUN_TEST_LOOP_ffI_f1): Likewise.
9684         (RUN_TEST_c_c): Likewise.
9685         (RUN_TEST_LOOP_c_c): Likewise.
9686         (RUN_TEST_cc_c): Likewise.
9687         (RUN_TEST_LOOP_cc_c): Likewise.
9688         (RUN_TEST_f_i): Likewise.
9689         (RUN_TEST_LOOP_f_i): Likewise.
9690         (RUN_TEST_f_i_tg): Likewise.
9691         (RUN_TEST_LOOP_f_i_tg): Likewise.
9692         (RUN_TEST_ff_i_tg): Likewise.
9693         (RUN_TEST_LOOP_ff_i_tg): Likewise.
9694         (RUN_TEST_f_b): Likewise.
9695         (RUN_TEST_LOOP_f_b): Likewise.
9696         (RUN_TEST_f_b_tg): Likewise.
9697         (RUN_TEST_LOOP_f_b_tg): Likewise.
9698         (RUN_TEST_f_l): Likewise.
9699         (RUN_TEST_LOOP_f_l): Likewise.
9700         (RUN_TEST_f_L): Likewise.
9701         (RUN_TEST_LOOP_f_L): Likewise.
9702         (RUN_TEST_sincos): Likewise.
9703         (RUN_TEST_LOOP_sincos): Likewise.
9705 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
9707         [BZ #15480]
9708         [BZ #15485]
9709         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
9710         main case of finite arguments, set rounding mode to FE_TONEAREST
9711         and discard exceptions.
9712         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
9713         exceptions.
9714         (remainder_tonearest_test_data): New variable.
9715         (remainder_test_tonearest): New function.
9716         (remainder_towardzero_test_data): New variable.
9717         (remainder_test_towardzero): New function.
9718         (remainder_downward_test_data): New variable.
9719         (remainder_test_downward): New function.
9720         (remainder_upward_test_data): New variable.
9721         (remainder_test_upward): New function.
9722         (main): Call the new test functions.
9724         * math/libm-test.inc (struct test_f_f1_data): Remove field
9725         extra_init.
9726         (struct test_fF_f1_data): Likewise.
9727         (struct test_ffI_f1_data): Likewise.
9728         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
9729         based on value of EXTRA_EXPECTED.
9730         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
9731         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
9732         EXTRA_VAR based on value of EXTRA_EXPECTED.
9733         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
9734         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
9735         EXTRA_VAR based on value of EXTRA_EXPECTED.
9736         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
9737         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
9738         EXTRA_VAR based on value of EXTRA_EXPECTED.
9739         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
9740         * math/gen-libm-test.pl (parse_args): Don't output initializers
9741         for extra output values.
9743         * math/libm-test.inc (check_int): Expect result to be exactly
9744         equal to expected value and do not handle ulps.
9745         (check_long): Likewise.
9746         (check_longlong): Likewise.
9748         * math/libm-test.inc (ceil_test_data): Test for "inexact"
9749         exceptions.
9750         (cimag_test_data): Likewise.
9751         (conj_test_data): Likewise.
9752         (copysign_test_data): Likewise.
9753         (cproj_test_data): Likewise.
9754         (creal_test_data): Likewise.
9755         (fabs_test_data): Likewise.
9756         (fdim_test_data): Likewise.
9757         (finite_test_data): Likewise.
9758         (floor_test_data): Likewise.
9759         (fmax_test_data): Likewise.
9760         (fmin_test_data): Likewise.
9761         (fmod_test_data): Likewise.
9762         (fpclassify_test_data): Likewise.
9763         (frexp_test_data): Likewise.
9764         (ilogb_test_data): Likewise.
9765         (isfinite_test_data): Likewise.
9766         (isgreater_test_data): Likewise.
9767         (isgreaterequal_test_data): Likewise.
9768         (isinf_test_data): Likewise.
9769         (isless_test_data): Likewise.
9770         (islessequal_test_data): Likewise.
9771         (islessgreater_test_data): Likewise.
9772         (isnan_test_data): Likewise.
9773         (isnormal_test_data): Likewise.
9774         (issignaling_test_data): Likewise.
9775         (isunordered_test_data): Likewise.
9776         (ldexp_test_data): Likewise.
9777         (lrint_test_data): Likewise.
9778         (lrint_test_data) [TEST_FLOAT]: Disable one test.
9779         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
9780         (lrint_tonearest_test_data): Test for "inexact" exceptions.
9781         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
9782         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
9783         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
9784         test input.
9785         (lrint_towardzero_test_data): Test for "inexact" exceptions.
9786         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
9787         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
9788         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
9789         that test input.
9790         (lrint_downward_test_data): Test for "inexact" exceptions.
9791         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
9792         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
9793         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
9794         test input.
9795         (lrint_upward_test_data): Test for "inexact" exceptions.
9796         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
9797         test input.
9798         (llrint_test_data): Test for "inexact" exceptions.
9799         (llrint_test_data) [TEST_FLOAT]: Disable one test.
9800         (llrint_tonearest_test_data): Test for "inexact" exceptions.
9801         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
9802         (llrint_towardzero_test_data): Test for "inexact" exceptions.
9803         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
9804         (llrint_downward_test_data): Test for "inexact" exceptions.
9805         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
9806         (llrint_upward_test_data): Test for "inexact" exceptions.
9807         (logb_test_data): Likewise.
9808         (logb_downward_test_data): Likewise.
9809         (nextafter_test_data): Likewise.
9810         (nexttoward_test_data): Likewise.
9811         (remainder_test_data): Likewise.
9812         (remquo_test_data): Likewise.
9813         (scalbn_test_data): Likewise.
9814         (scalbln_test_data): Likewise.
9815         (signbit_test_data): Likewise.
9816         (sqrt_test_data): Likewise.
9817         (significand_test_data): Likewise.
9819 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
9821         [BZ #15424]
9822         * benchtests/bench-modf.c (struct args): Mark arg0 as
9823         volatile.
9824         * scripts/bench.pl: Mark members of struct args as volatile.
9826 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9828         [BZ # 15497]
9829         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
9830         negative infinity on POWER6 or lower.
9831         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
9833 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
9835         [BZ #15442]
9836         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
9837         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
9838         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
9839         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
9840         (_FP_SETQNAN): New macro.
9841         (_FP_SETQNAN_SEMIRAW): Likewise.
9842         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
9843         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
9844         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
9845         (FP_EXTEND): Use _FP_FRAC_SNANP.
9846         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
9847         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
9848         into account.
9849         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
9850         New macro.
9851         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
9852         Likewise.
9854 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
9856         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
9857         with DIVIDE_BY_ZERO_EXCEPTION.
9858         (gamma_test_data): Likewise.
9859         (lgamma_test_data): Likewise.
9860         (log_test_data): Likewise.
9861         (log10_test_data): Likewise.
9862         (log2_test_data): Likewise.
9863         (tgamma_test_data): Likewise.
9865         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
9866         (acos_test_tonearest): Likewise.
9867         (acos_test_towardzero): Likewise.
9868         (acos_test_downward): Likewise.
9869         (acos_test_upward): Likewise.
9870         (acosh_test): Likewise.
9871         (asin_test): Likewise.
9872         (asin_test_tonearest): Likewise.
9873         (asin_test_towardzero): Likewise.
9874         (asin_test_downward): Likewise.
9875         (asin_test_upward): Likewise.
9876         (asinh_test): Likewise.
9877         (atan_test): Likewise.
9878         (atanh_test): Likewise.
9879         (atan2_test): Likewise.
9880         (cabs_test): Likewise.
9881         (cacos_test): Likewise.
9882         (cacosh_test): Likewise.
9883         (casin_test): Likewise.
9884         (casinh_test): Likewise.
9885         (catan_test): Likewise.
9886         (catanh_test): Likewise.
9887         (cbrt_test): Likewise.
9888         (ccos_test): Likewise.
9889         (ccosh_test): Likewise.
9890         (cexp_test): Likewise.
9891         (clog_test): Likewise.
9892         (clog10_test): Likewise.
9893         (cos_test): Likewise.
9894         (cos_test_tonearest): Likewise.
9895         (cos_test_towardzero): Likewise.
9896         (cos_test_downward): Likewise.
9897         (cos_test_upward): Likewise.
9898         (cosh_test): Likewise.
9899         (cosh_test_tonearest): Likewise.
9900         (cosh_test_towardzero): Likewise.
9901         (cosh_test_downward): Likewise.
9902         (cosh_test_upward): Likewise.
9903         (cpow_test): Likewise.
9904         (csin_test): Likewise.
9905         (csinh_test): Likewise.
9906         (csqrt_test): Likewise.
9907         (ctan_test): Likewise.
9908         (ctan_test_tonearest): Likewise.
9909         (ctan_test_towardzero): Likewise.
9910         (ctan_test_downward): Likewise.
9911         (ctan_test_upward): Likewise.
9912         (ctanh_test): Likewise.
9913         (ctanh_test_tonearest): Likewise.
9914         (ctanh_test_towardzero): Likewise.
9915         (ctanh_test_downward): Likewise.
9916         (ctanh_test_upward): Likewise.
9917         (erf_test): Likewise.
9918         (erfc_test): Likewise.
9919         (exp_test): Likewise.
9920         (exp_test_tonearest): Likewise.
9921         (exp_test_towardzero): Likewise.
9922         (exp_test_downward): Likewise.
9923         (exp_test_upward): Likewise.
9924         (exp10_test): Likewise.
9925         (exp2_test): Likewise.
9926         (expm1_test): Likewise.
9927         (fmod_test): Likewise.
9928         (gamma_test): Likewise.
9929         (hypot_test): Likewise.
9930         (j0_test): Likewise.
9931         (j1_test): Likewise.
9932         (jn_test): Likewise.
9933         (lgamma_test): Likewise.
9934         (log_test): Likewise.
9935         (log10_test): Likewise.
9936         (log1p_test): Likewise.
9937         (log2_test): Likewise.
9938         (logb_test_downward): Likewise.
9939         (pow_test): Likewise.
9940         (pow_test_tonearest): Likewise.
9941         (pow_test_towardzero): Likewise.
9942         (pow_test_downward): Likewise.
9943         (pow_test_upward): Likewise.
9944         (remainder_test): Likewise.
9945         (remquo_test): Likewise.
9946         (sin_test): Likewise.
9947         (sin_test_tonearest): Likewise.
9948         (sin_test_towardzero): Likewise.
9949         (sin_test_downward): Likewise.
9950         (sin_test_upward): Likewise.
9951         (sincos_test): Likewise.
9952         (sinh_test): Likewise.
9953         (sinh_test_tonearest): Likewise.
9954         (sinh_test_towardzero): Likewise.
9955         (sinh_test_downward): Likewise.
9956         (sinh_test_upward): Likewise.
9957         (sqrt_test): Likewise.
9958         (tan_test): Likewise.
9959         (tan_test_tonearest): Likewise.
9960         (tan_test_towardzero): Likewise.
9961         (tan_test_downward): Likewise.
9962         (tan_test_upward): Likewise.
9963         (tanh_test): Likewise.
9964         (tgamma_test): Likewise.
9965         (y0_test): Likewise.
9966         (y1_test): Likewise.
9967         (yn_test): Likewise.
9969         * math/gen-libm-test.pl (adjust_arg): Remove function.
9970         (special_function): Remove argument $in_func.  Only handle
9971         generating output for tables of tests, not inside functions.
9972         (parse_args): Likewise.
9973         (generate_testfile): Remove variable $in_func.  Update call to
9974         parse_args.
9975         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
9976         (MINUS_ZERO_INIT): Rename macro to minus_zero.
9977         (PLUS_INFTY_INIT): Rename macro to plus_infty.
9978         (MINUS_INFTY_INIT): Rename macro to minus_infty.
9979         (QNAN_VALUE_INIT): Rename macro to qnan_value.
9980         (MAX_VALUE_INIT): Rename macro to max_value.
9981         (MIN_VALUE_INIT): Rename macro to min_value.
9982         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
9983         (plus_zero): Remove variable.
9984         (minus_zero): Likewise.
9985         (plus_infty): Likewise.
9986         (minus_infty): Likewise.
9987         (qnan_value): Likewise.
9988         (max_value): Likewise.
9989         (min_value): Likewise.
9990         (min_subnorm_value): Likewise.
9992 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
9994         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
9995         uint64_t or uint32_t usage.
9996         * crypt/sha256-block.c: Likewise.
9997         * crypt/sha256-crypt.c: Likewise.
9998         * crypt/sha256.c: Likewise.
9999         * crypt/sha512-block.c: Likewise.
10000         * crypt/sha512-crypt.c: Likewise.
10001         * crypt/sha512.c: Likewise.
10002         * debug/backtrace-tst.c: Likewise.
10003         * debug/pcprofiledump.c: Likewise.
10004         * elf/cache.c: Likewise.
10005         * elf/dl-cache.c: Likewise.
10006         * elf/dl-misc.c: Likewise.
10007         * elf/dl-profile.c: Likewise.
10008         * elf/dl-support.c: Likewise.
10009         * elf/ldconfig.c: Likewise.
10010         * elf/sprof.c: Likewise.
10011         * iconv/dummy-repertoire.c: Likewise.
10012         * iconv/iconv_charmap.c: Likewise.
10013         * iconv/skeleton.c: Likewise.
10014         * iconvdata/8bit-generic.c: Likewise.
10015         * iconvdata/cp737.h: Likewise.
10016         * iconvdata/cp775.h: Likewise.
10017         * iconvdata/ibm1008.h: Likewise.
10018         * iconvdata/ibm1025.h: Likewise.
10019         * iconvdata/ibm1046.h: Likewise.
10020         * iconvdata/ibm1097.h: Likewise.
10021         * iconvdata/ibm1112.h: Likewise.
10022         * iconvdata/ibm1122.h: Likewise.
10023         * iconvdata/ibm1123.h: Likewise.
10024         * iconvdata/ibm1124.h: Likewise.
10025         * iconvdata/ibm1129.h: Likewise.
10026         * iconvdata/ibm1130.h: Likewise.
10027         * iconvdata/ibm1132.h: Likewise.
10028         * iconvdata/ibm1133.h: Likewise.
10029         * iconvdata/ibm1137.h: Likewise.
10030         * iconvdata/ibm1140.h: Likewise.
10031         * iconvdata/ibm1141.h: Likewise.
10032         * iconvdata/ibm1142.h: Likewise.
10033         * iconvdata/ibm1143.h: Likewise.
10034         * iconvdata/ibm1144.h: Likewise.
10035         * iconvdata/ibm1145.h: Likewise.
10036         * iconvdata/ibm1146.h: Likewise.
10037         * iconvdata/ibm1147.h: Likewise.
10038         * iconvdata/ibm1148.h: Likewise.
10039         * iconvdata/ibm1149.h: Likewise.
10040         * iconvdata/ibm1153.h: Likewise.
10041         * iconvdata/ibm1154.h: Likewise.
10042         * iconvdata/ibm1155.h: Likewise.
10043         * iconvdata/ibm1156.h: Likewise.
10044         * iconvdata/ibm1157.h: Likewise.
10045         * iconvdata/ibm1158.h: Likewise.
10046         * iconvdata/ibm1160.h: Likewise.
10047         * iconvdata/ibm1161.h: Likewise.
10048         * iconvdata/ibm1162.h: Likewise.
10049         * iconvdata/ibm1163.h: Likewise.
10050         * iconvdata/ibm1164.h: Likewise.
10051         * iconvdata/ibm1166.h: Likewise.
10052         * iconvdata/ibm1167.h: Likewise.
10053         * iconvdata/ibm12712.h: Likewise.
10054         * iconvdata/ibm1390.h: Likewise.
10055         * iconvdata/ibm1399.h: Likewise.
10056         * iconvdata/ibm16804.h: Likewise.
10057         * iconvdata/ibm4517.h: Likewise.
10058         * iconvdata/ibm4899.h: Likewise.
10059         * iconvdata/ibm4909.h: Likewise.
10060         * iconvdata/ibm4971.h: Likewise.
10061         * iconvdata/ibm5347.h: Likewise.
10062         * iconvdata/ibm803.h: Likewise.
10063         * iconvdata/ibm856.h: Likewise.
10064         * iconvdata/ibm901.h: Likewise.
10065         * iconvdata/ibm902.h: Likewise.
10066         * iconvdata/ibm9030.h: Likewise.
10067         * iconvdata/ibm9066.h: Likewise.
10068         * iconvdata/ibm921.h: Likewise.
10069         * iconvdata/ibm922.h: Likewise.
10070         * iconvdata/ibm9448.h: Likewise.
10071         * iconvdata/isiri-3342.h: Likewise.
10072         * iconvdata/jis0201.h: Likewise.
10073         * include/link.h: Likewise.
10074         * include/netdb.h: Likewise.
10075         * inet/check_native.c: Likewise.
10076         * inet/check_pf.c: Likewise.
10077         * inet/getipv4sourcefilter.c: Likewise.
10078         * inet/getnameinfo.c: Likewise.
10079         * inet/getsourcefilter.c: Likewise.
10080         * inet/htonl.c: Likewise.
10081         * inet/setipv4sourcefilter.c: Likewise.
10082         * inet/setsourcefilter.c: Likewise.
10083         * inet/test-inet6_opt.c: Likewise.
10084         * inet/tst-network.c: Likewise.
10085         * locale/C-collate.c: Likewise.
10086         * locale/C-ctype.c: Likewise.
10087         * locale/C-time.c: Likewise.
10088         * locale/C-translit.h: Likewise.
10089         * locale/loadarchive.c: Likewise.
10090         * locale/programs/3level.h: Likewise.
10091         * locale/programs/charmap.c: Likewise.
10092         * locale/programs/charmap.h: Likewise.
10093         * locale/programs/ld-address.c: Likewise.
10094         * locale/programs/ld-collate.c: Likewise.
10095         * locale/programs/ld-ctype.c: Likewise.
10096         * locale/programs/ld-identification.c: Likewise.
10097         * locale/programs/ld-measurement.c: Likewise.
10098         * locale/programs/ld-messages.c: Likewise.
10099         * locale/programs/ld-monetary.c: Likewise.
10100         * locale/programs/ld-name.c: Likewise.
10101         * locale/programs/ld-numeric.c: Likewise.
10102         * locale/programs/ld-paper.c: Likewise.
10103         * locale/programs/ld-telephone.c: Likewise.
10104         * locale/programs/ld-time.c: Likewise.
10105         * locale/programs/linereader.c: Likewise.
10106         * locale/programs/locale.c: Likewise.
10107         * locale/programs/locarchive.c: Likewise.
10108         * locale/programs/locfile.h: Likewise.
10109         * locale/programs/repertoire.c: Likewise.
10110         * locale/programs/simple-hash.c: Likewise.
10111         * locale/programs/simple-hash.h: Likewise.
10112         * malloc/memusage.c: Likewise.
10113         * malloc/memusagestat.c: Likewise.
10114         * nis/nis_defaults.c: Likewise.
10115         * nis/nis_hash.c: Likewise.
10116         * nis/nis_print.c: Likewise.
10117         * nis/nis_xdr.c: Likewise.
10118         * nscd/connections.c: Likewise.
10119         * nscd/hstcache.c: Likewise.
10120         * nscd/nscd_gethst_r.c: Likewise.
10121         * nscd/nscd_getserv_r.c: Likewise.
10122         * nscd/nscd_helper.c: Likewise.
10123         * nscd/servicescache.c: Likewise.
10124         * nss/makedb.c: Likewise.
10125         * nss/nss_db/db-XXX.c: Likewise.
10126         * nss/nss_db/db-initgroups.c: Likewise.
10127         * nss/nss_db/db-netgrp.c: Likewise.
10128         * nss/nss_files/files-network.c: Likewise.
10129         * nss/nss_files/files-parse.c: Likewise.
10130         * posix/bug-regex5.c: Likewise.
10131         * posix/fnmatch_loop.c: Likewise.
10132         * posix/regcomp.c: Likewise.
10133         * posix/regexec.c: Likewise.
10134         * posix/tst-rfc3484-2.c: Likewise.
10135         * posix/tst-rfc3484-3.c: Likewise.
10136         * posix/tst-rfc3484.c: Likewise.
10137         * resolv/nss_dns/dns-canon.c: Likewise.
10138         * resolv/nss_dns/dns-network.c: Likewise.
10139         * resolv/res_init.c: Likewise.
10140         * resolv/res_mkquery.c: Likewise.
10141         * resolv/tst-aton.c: Likewise.
10142         * stdlib/cxa_atexit.c: Likewise.
10143         * stdlib/cxa_finalize.c: Likewise.
10144         * stdlib/gen-fpioconst.c: Likewise.
10145         * stdlib/strtol_l.c: Likewise.
10146         * string/tst-endian.c: Likewise.
10147         * sunrpc/auth_des.c: Likewise.
10148         * sunrpc/clnt_udp.c: Likewise.
10149         * sunrpc/rtime.c: Likewise.
10150         * sunrpc/svcauth_des.c: Likewise.
10151         * sunrpc/xdr.c: Likewise.
10152         * sunrpc/xdr_intXX_t.c: Likewise.
10153         * sunrpc/xdr_rec.c: Likewise.
10154         * sysdeps/generic/ldconfig.h: Likewise.
10155         * sysdeps/generic/ldsodefs.h: Likewise.
10156         * sysdeps/generic/memusage.h: Likewise.
10157         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
10158         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
10159         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
10160         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
10161         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
10162         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
10163         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
10164         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
10165         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
10166         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
10167         * sysdeps/posix/getaddrinfo.c: Likewise.
10168         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
10169         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
10170         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
10171         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
10172         * sysdeps/powerpc/test-gettimebase.c: Likewise.
10173         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
10174         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
10175         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
10176         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
10177         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
10178         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
10179         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
10180         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
10181         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
10182         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
10183         * sysdeps/x86_64/dl-tls.h: Likewise.
10184         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
10185         * time/alt_digit.c: Likewise.
10186         * time/era.c: Likewise.
10187         * wcsmbs/tst-c16c32-1.c: Likewise.
10189 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
10191         * math/libm-test.inc (struct test_sincos_data): New type.
10192         (RUN_TEST_LOOP_sincos): New macro.
10193         (sincos_test_data): New variable.
10194         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
10196 2013-05-16  Richard Henderson  <rth@redhat.com>
10198         * math/atest-exp2.c (LIMB64): New macro.
10199         (CONSTSZ): New macro.
10200         (mp_exp1, mp_exp_m1, mp_log2): New variables.
10201         (hexdig): Move ...
10202         (print_mpn_fp): ... to function scope.
10203         (read_mpn_hex): Remove.
10204         (get_log2): Remove.
10205         (exp2_mpn): Use mp_log2.
10206         (main): Use mp_exp1.
10208 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
10210         * math/libm-test.inc: Remove comment about not testing "inexact"
10211         exceptions.
10212         (INEXACT_EXCEPTION): New macro.
10213         (NO_INEXACT_EXCEPTION): Likewise.
10214         (INVALID_EXCEPTION_OK): Update value.
10215         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
10216         (OVERFLOW_EXCEPTION_OK): Likewise.
10217         (UNDERFLOW_EXCEPTION_OK): Likewise.
10218         (IGNORE_ZERO_INF_SIGN): Likewise.
10219         (ERRNO_UNCHANGED): Likewise.
10220         (ERRNO_EDOM): Likewise.
10221         (ERRNO_ERANGE): Likewise.
10222         (test_exceptions): Handle testing "inexact" exceptions.
10223         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
10224         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
10225         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
10226         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
10227         INEXACT_EXCEPTION.
10228         (rint_towardzero_test_data): Likewise.
10229         (rint_downward_test_data): Likewise.
10230         (rint_upward_test_data): Likewise.
10232         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
10233         with OVERFLOW_EXCEPTION.
10234         (exp10_test_data): Likewise.
10235         (exp2_test_data): Likewise.
10236         (expm1_test_data): Likewise.
10237         (lgamma_test_data): Likewise.
10238         (pow_test_data): Likewise.
10239         (tgamma_test_data): Likewise.
10240         (yn_test_data): Remove duplicate test of overflow.
10242         * math/libm-test.inc (struct test_cc_c_data): New type.
10243         (RUN_TEST_LOOP_cc_c): New macro.
10244         (cpow_test_data): New variable.
10245         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
10247         * math/libm-test.inc (struct test_f_L_data): New type.
10248         (RUN_TEST_LOOP_f_L): New macro.
10249         (llrint_test_data): New variable.
10250         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
10251         (llrint_tonearest_test_data): New variable.
10252         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
10253         (llrint_towardzero_test_data): New variable.
10254         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
10255         (llrint_downward_test_data): New variable.
10256         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
10257         (llrint_upward_test_data): New variable.
10258         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
10259         (llround_test_data): New variable.
10260         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
10262 2013-05-13  Peter Collingbourne  <pcc@google.com>
10264         * math/atest-exp2.c (get_log2): Remove const attribute.
10266 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
10268         * math/libm-test.inc (struct test_f_l_data): New type.
10269         (RUN_TEST_LOOP_f_l): New macro.
10270         (lrint_test_data): New variable.
10271         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
10272         (lrint_tonearest_test_data): New variable.
10273         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
10274         (lrint_towardzero_test_data): New variable.
10275         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
10276         (lrint_downward_test_data): New variable.
10277         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
10278         (lrint_upward_test_data): New variable.
10279         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
10280         (lround_test_data): New variable.
10281         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
10283 2013-05-15  Peter Collingbourne  <pcc@google.com>
10285         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
10286         (EXTRACT_WORDS64) Use where appropriate.
10287         (INSERT_WORDS64) Likewise.
10289         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
10290         constraints with x constraints.
10291         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
10293         * malloc/obstack.c (_obstack_compat): Add initializer.
10295 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
10297         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
10298         si_trapno and add si_addr_lsb to _sifields.sigfault.
10299         (si_trapno): Remove macro.
10300         (si_addr_lsb): Define new macro.
10301         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
10303 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
10305         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
10306         instead of TEST_f_l.
10307         (llrint_test_tonearest): Likewise.
10308         (llrint_test_towardzero): Likewise.
10309         (llrint_test_downward): Likewise.
10310         (llrint_test_upward): Likewise.
10311         (llround_test): Likewise.
10313         * math/libm-test.inc (struct test_f_i_data): Add comment.
10314         (RUN_TEST_LOOP_f_b): New macro.
10315         (RUN_TEST_LOOP_f_b_tg): Likewise.
10316         (finite_test_data): New variable.
10317         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
10318         (isfinite_test_data): New variable.
10319         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
10320         (isinf_test_data): New variable.
10321         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
10322         (isnan_test_data): New variable.
10323         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
10324         (isnormal_test_data): New variable.
10325         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
10326         (issignaling_test_data): New variable.
10327         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
10328         (signbit_test_data): New variable.
10329         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
10331         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
10332         with INVALID_EXCEPTION.
10333         (acosh_test_data): Likewise.
10334         (asin_test_data): Likewise.
10335         (atanh_test_data): Likewise.
10336         (fmod_test_data): Likewise.
10337         (log_test_data): Likewise.
10338         (log10_test_data): Likewise.
10339         (log2_test_data): Likewise.
10340         (pow_test_data): Likewise.
10341         (sqrt_test_data): Likewise.
10342         (y0_test_data): Likewise.
10343         (y1_test_data): Likewise.
10344         (yn_test_data): Likewise.
10346         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
10347         function contents.
10349         * math/libm-test.inc (struct test_ff_i_data): New type.
10350         (RUN_TEST_LOOP_ff_i_tg): New macro.
10351         (isgreater_test_data): New variable.
10352         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
10353         (isgreaterequal_test_data): New variable.
10354         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
10355         (isless_test_data): New variable.
10356         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
10357         (islessequal_test_data): New variable.
10358         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
10359         (islessgreater_test_data): New variable.
10360         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
10361         (isunordered_test_data): New variable.
10362         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
10364 2013-05-14  David S. Miller  <davem@davemloft.net>
10366         * sysdeps/sparc/fpu/libm-test-ulps: Update.
10368 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
10370         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
10372         * math/libm-test.inc (struct test_fF_f1_data): Change type of
10373         extra_test to int.
10374         (struct test_f_i_data): Change type of max_ulp to int.
10376         * math/libm-test.inc (test_ffI_f1_data): New type.
10377         (RUN_TEST_LOOP_ffI_f1): New macro.
10378         (remquo_test_data): New variable.
10379         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
10381         * setjmp/tst-setjmp-fp.c: New file.
10382         * setjmp/Makefile (tests): Add tst-setjmp-fp.
10383         (link-libm): New variable.
10384         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
10386         * math/libm-test.inc (struct test_f_i_data): New type.
10387         (RUN_TEST_LOOP_f_i): New macro.
10388         (RUN_TEST_LOOP_f_i_tg): Likewise.
10389         (fpclassify_test_data): New variable.
10390         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
10391         (ilogb_test_data): New variable.
10392         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
10394         * math/libm-test.inc (scalbln_test): Correct function name in END
10395         call.
10397         * math/libm-test.inc (struct test_f_f1_data): Add comment.
10398         (RUN_TEST_LOOP_fI_f1): New macro.
10399         (frexp_test_data): New variable.
10400         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
10402         * math/libm-test.inc (struct test_fF_f1_data): New type.
10403         (RUN_TEST_LOOP_fF_f1): New macro.
10404         (modf_test_data): New variable.
10405         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
10407         * math/libm-test.inc (struct test_f_f1_data): New type.
10408         (RUN_TEST_LOOP_f_f1): New macro.
10409         (gamma_test_data): New variable.
10410         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
10411         (lgamma_test_data): New variable.
10412         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
10414 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
10416         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
10417         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
10418         (main): Comment "tls" pseudo-hwcap.
10420 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
10422         * math/libm-test.inc (struct test_fl_f_data): New type.
10423         (RUN_TEST_LOOP_fl_f): New variable.
10424         (scalbln_test_data): New variable.
10425         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
10427         * math/libm-test.inc (struct test_fi_f_data): New type.
10428         (RUN_TEST_LOOP_fi_f): New macro.
10429         (ldexp_test_data): New variable.
10430         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
10431         (scalbn_test_data): New variable.
10432         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
10434         * math/libm-test.inc (struct test_c_f_data): New type.
10435         (RUN_TEST_LOOP_c_f): New macro.
10436         (cabs_test_data): New variable.
10437         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
10438         (carg_test_data): New variable.
10439         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
10440         (cimag_test_data): New variable.
10441         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
10442         (creal_test_data): New variable.
10443         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
10445         * math/libm-test.inc (struct test_if_f_data): New type.
10446         (RUN_TEST_LOOP_if_f): New macro.
10447         (jn_test_data): New variable.
10448         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
10449         (yn_test_data): New variable.
10450         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
10452         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
10454 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10456         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
10457         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
10459 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
10461         * benchtests/Makefile (CPPFLAGS-nonlib): Add
10462         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
10463         (bench-deps): Add bench-timing.h.
10464         * benchtests-bench-skeleton.c: Include bench-timing.h.
10465         (main): Use TIMING_* macros instead of clock_gettime.
10466         * benchtests/bench-timing.h: New file.
10468         [BZ #14582]
10469         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
10470         Renamed from _LIB_VERSION.
10471         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
10473 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
10475         * math/libm-test.inc (struct test_fff_f_data): New type.
10476         (RUN_TEST_LOOP_fff_f): New macro.
10477         (fma_test_data): New variable.
10478         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
10479         (fma_towardzero_test_data): New variable.
10480         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
10481         (fma_downward_test_data): New variable.
10482         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
10483         (fma_upward_test_data): New variable.
10484         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
10486         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
10487         (struct test_c_c_data): New type.
10488         (RUN_TEST_LOOP_c_c): New macro.
10489         (cacos_test_data): New variable.
10490         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
10491         (cacosh_test_data): New variable.
10492         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
10493         (casin_test_data): New variable.
10494         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
10495         (casinh_test_data): New variable.
10496         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
10497         (catan_test_data): New variable.
10498         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
10499         (catanh_test_data): New variable.
10500         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
10501         (ccos_test_data): New variable.
10502         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
10503         (ccosh_test_data): New variable.
10504         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
10505         (cexp_test_data): New variable.
10506         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
10507         (clog_test_data): New variable.
10508         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
10509         (clog10_test_data): New variable.
10510         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
10511         (conj_test_data): New variable.
10512         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
10513         (cproj_test_data): New variable.
10514         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
10515         (csin_test_data): New variable.
10516         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
10517         (csinh_test_data): New variable.
10518         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
10519         (csqrt_test_data): New variable.
10520         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
10521         (ctan_test_data): New variable.
10522         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
10523         (ctan_tonearest_test_data): New variable.
10524         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
10525         (ctan_towardzero_test_data): New variable.
10526         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
10527         (ctan_downward_test_data): New variable.
10528         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
10529         (ctan_upward_test_data): New variable.
10530         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
10531         (ctanh_test_data): New variable.
10532         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
10533         (ctanh_tonearest_test_data): New variable.
10534         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
10535         (ctanh_towardzero_test_data): New variable.
10536         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
10537         (ctanh_downward_test_data): New variable.
10538         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
10539         (ctanh_upward_test_data): New variable.
10540         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
10541         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
10542         of BUILD_COMPLEX.
10544         * math/libm-test.inc (struct test_ff_f_data): New type.
10545         (struct test_ff_f_data_nexttoward): Likewise.
10546         (RUN_TEST_LOOP_2_f): New macro.
10547         (RUN_TEST_LOOP_ff_f): Likewise.
10548         (atan2_test_data): New variable.
10549         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
10550         (copysign_test_data): New variable.
10551         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
10552         (fdim_test_data): New variable.
10553         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
10554         (fmax_test_data): New variable.
10555         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
10556         (fmin_test_data): New variable.
10557         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
10558         (fmod_test_data): New variable.
10559         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
10560         (hypot_test_data): New variable.
10561         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
10562         (nextafter_test_data): New variable.
10563         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
10564         (nexttoward_test_data): New variable.
10565         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
10566         (pow_test_data): New variable.
10567         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
10568         (pow_tonearest_test_data): New variable.
10569         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
10570         (pow_towardzero_test_data): New variable.
10571         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
10572         (pow_downward_test_data): New variable.
10573         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
10574         (pow_upward_test_data): New variable.
10575         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
10576         (remainder_test_data): New variable.
10577         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
10578         (scalb_test_data): New variable.
10579         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
10580         * sysdeps/i386/fpu/libm-test-ulps: Update.
10582 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
10584         * math/libm-test.inc (fma_test): Use max_value instead of local
10585         variable fltmax.
10586         (nextafter_test): Likewise.
10588         * math/libm-test.inc (acos_towardzero_test_data): New variable.
10589         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
10590         (acos_downward_test_data): New variable.
10591         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
10592         (acos_upward_test_data): New variable.
10593         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
10594         (acosh_test_data): New variable.
10595         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
10596         (asin_test_data): New variable.
10597         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
10598         (asin_tonearest_test_data): New variable.
10599         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
10600         (asin_towardzero_test_data): New variable.
10601         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
10602         (asin_downward_test_data): New variable.
10603         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
10604         (asin_upward_test_data): New variable.
10605         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
10606         (asinh_test_data): New variable.
10607         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
10608         (atan_test_data): New variable.
10609         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
10610         (atanh_test_data): New variable.
10611         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
10612         (cbrt_test_data): New variable.
10613         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
10614         (ceil_test_data): New variable.
10615         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
10616         (cos_test_data): New variable.
10617         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
10618         (cos_tonearest_test_data): New variable.
10619         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
10620         (cos_towardzero_test_data): New variable.
10621         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
10622         (cos_downward_test_data): New variable.
10623         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
10624         (cos_upward_test_data): New variable.
10625         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
10626         (cosh_test_data): New variable.
10627         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
10628         (cosh_tonearest_test_data): New variable.
10629         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
10630         (cosh_towardzero_test_data): New variable.
10631         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
10632         (cosh_downward_test_data): New variable.
10633         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
10634         (cosh_upward_test_data): New variable.
10635         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
10636         (erf_test_data): New variable.
10637         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
10638         (erfc_test_data): New variable.
10639         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
10640         (exp_test_data): New variable.
10641         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
10642         (exp_tonearest_test_data): New variable.
10643         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
10644         (exp_towardzero_test_data): New variable.
10645         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
10646         (exp_downward_test_data): New variable.
10647         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
10648         (exp_upward_test_data): New variable.
10649         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
10650         (exp10_test_data): New variable.
10651         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
10652         (exp2_test_data): New variable.
10653         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
10654         (expm1_test_data): New variable.
10655         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
10656         (fabs_test_data): New variable.
10657         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
10658         (floor_test_data): New variable.
10659         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
10660         (j0_test_data): New variable.
10661         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
10662         (j1_test_data): New variable.
10663         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
10664         (log_test_data): New variable.
10665         (log_test): Run tests with RUN_TEST_LOOP_f_f.
10666         (log10_test_data): New variable.
10667         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
10668         (log1p_test_data): New variable.
10669         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
10670         (log2_test_data): New variable.
10671         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
10672         (logb_test_data): New variable.
10673         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
10674         (logb_downward_test_data): New variable.
10675         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
10676         (nearbyint_test_data): New variable.
10677         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
10678         (rint_test_data): New variable.
10679         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
10680         (rint_tonearest_test_data): New variable.
10681         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
10682         (rint_towardzero_test_data): New variable.
10683         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
10684         (rint_downward_test_data): New variable.
10685         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
10686         (rint_upward_test_data): New variable.
10687         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
10688         (round_test_data): New variable.
10689         (round_test): Run tests with RUN_TEST_LOOP_f_f.
10690         (sin_test_data): New variable.
10691         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
10692         (sin_tonearest_test_data): New variable.
10693         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
10694         (sin_towardzero_test_data): New variable.
10695         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
10696         (sin_downward_test_data): New variable.
10697         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
10698         (sin_upward_test_data): New variable.
10699         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
10700         (sinh_test_data): New variable.
10701         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
10702         (sinh_tonearest_test_data): New variable.
10703         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
10704         (sinh_towardzero_test_data): New variable.
10705         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
10706         (sinh_downward_test_data): New variable.
10707         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
10708         (sinh_upward_test_data): New variable.
10709         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
10710         (sqrt_test_data): New variable.
10711         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
10712         (tan_test_data): New variable.
10713         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
10714         (tan_tonearest_test_data): New variable.
10715         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
10716         (tan_towardzero_test_data): New variable.
10717         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
10718         (tan_downward_test_data): New variable.
10719         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
10720         (tan_upward_test_data): New variable.
10721         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
10722         (tanh_test_data): New variable.
10723         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
10724         (tgamma_test_data): New variable.
10725         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
10726         (trunc_test_data): New variable.
10727         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
10728         (y0_test_data): New variable.
10729         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
10730         (y1_test_data): New variable.
10731         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
10732         (significand_test_data): New variable.
10733         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
10735 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
10737         [BZ #12387]
10738         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
10740 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
10742         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
10744 2013-05-10  Andreas Jaeger  <aj@suse.de>
10746         [BZ #15448]
10747         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
10748         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
10750 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
10752         * math/gen-libm-test.pl (adjust_arg): New function.
10753         (special_functions): Handle generating output in both functions
10754         and arrays.
10755         (parse_args): Likewise.
10756         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
10757         $in_func argument to parse_args.
10758         * math/libm-test.inc (struct test_f_f_data): New type.
10759         (IF_ROUND_INIT_): New macro.
10760         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
10761         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
10762         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
10763         (IF_ROUND_INIT_FE_UPWARD): Likewise.
10764         (ROUND_RESTORE_): Likewise.
10765         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
10766         (ROUND_RESTORE_FE_TONEAREST): Likewise.
10767         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
10768         (ROUND_RESTORE_FE_UPWARD): Likewise.
10769         (RUN_TEST_LOOP_f_f): New macro.
10770         (acos_test_data): New variable.
10771         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
10772         (acos_tonearest_test_data): New variable.
10773         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
10775 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
10777         * benchtests/bench-skeleton.c (startup): Fix coding style.
10779 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
10781         [BZ #6809]
10782         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
10783         negative infinity argument.
10784         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
10785         negative infinity argument.
10786         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
10787         negative infinity argument.
10788         * math/libm-test.inc (tgamma_test): Expect errno to be set for
10789         domain errors.
10791 2013-05-10  Florian Weimer  <fweimer@redhat.com>
10793         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
10794         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
10795         * iconv/iconv_prog.c (main): Likewise.
10796         * locale/programs/charmap-dir.c (charmap_readdir)
10797         (fopen_uncompressed): Likewise.
10798         * locale/programs/locfile.c (siblings_uncached)
10799         (write_locale_data): Use lstat64 instead of lstat.
10800         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
10801         stat.
10803 2013-05-10  Andreas Jaeger  <aj@suse.de>
10805         [BZ #15395]
10806         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
10807         localization.
10808         Include <locale.h>.
10810 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
10812         * elf/dl-close.c (_dl_close_worker): Add comments.
10814 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
10816         [BZ #15359]
10817         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
10818         high part of pi/2.
10819         (__ieee754_rem_pio2l): Update comments.
10821         [BZ #15429]
10822         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
10823         high part of pi/2.
10824         (__ieee754_rem_pio2l): Update comments.
10826         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
10827         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
10829         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
10830         M_PI_4l.
10832         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
10833         (M_PI_34_LOG10El): Likewise.
10834         (M_PI2_LOG10El): Likewise.
10835         (M_PI4_LOG10El): Likewise.
10836         (M_PI_LOG10El): Likewise.
10838 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10840         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10842 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
10844         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
10845         (MINUS_ZERO_INIT): Likewise.
10846         (PLUS_INFTY_INIT): Likewise.
10847         (MINUS_INFTY_INIT): Likewise.
10848         (QNAN_VALUE_INIT): Likewise.
10849         (MAX_VALUE_INIT): Likewise.
10850         (MIN_VALUE_INIT): Likewise.
10851         (MIN_SUBNORM_VALUE_INIT): Likewise.
10852         (plus_zero): Initialize with PLUS_ZERO_INIT.
10853         (minus_zero): Initialize with MINUS_ZERO_INIT.
10854         (plus_infty): Initialize with PLUS_INFTY_INIT.
10855         (minus_infty): Initialize with MINUS_INFTY_INIT.
10856         (qnan_value): Initialize with QNAN_VALUE_INIT.
10857         (max_value): Initialize with MAX_VALUE_INIT.
10858         (min_value): Initialize with MIN_VALUE_INIT.
10859         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
10861         * math/libm-test.inc (RUN_TEST_if_f): New macro.
10862         (jn_test): Use TEST_if_f instead of TEST_ff_f.
10863         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
10864         (yn_test): Use TEST_if_f instead of TEST_ff_f.
10866         * math/libm-test.inc (RUN_TEST_f_f): New macro.
10867         (RUN_TEST_2_f): Likewise.
10868         (RUN_TEST_ff_f): Likewise.
10869         (RUN_TEST_fi_f): Likewise.
10870         (RUN_TEST_fl_f): Likewise.
10871         (RUN_TEST_fff_f): Likewise.
10872         (RUN_TEST_c_f): Likewise.
10873         (RUN_TEST_f_f1): Likewise.
10874         (RUN_TEST_fF_f1): Likewise.
10875         (RUN_TEST_fI_f1): Likewise.
10876         (RUN_TEST_ffI_f1): Likewise.
10877         (RUN_TEST_c_c): Likewise.
10878         (RUN_TEST_cc_c): Likewise.
10879         (RUN_TEST_f_i): Likewise.
10880         (RUN_TEST_f_i_tg): Likewise.
10881         (RUN_TEST_ff_i_tg): Likewise.
10882         (RUN_TEST_f_b): Likewise.
10883         (RUN_TEST_f_b_tg): Likewise.
10884         (RUN_TEST_f_l): Likewise.
10885         (RUN_TEST_f_L): Likewise.
10886         (RUN_TEST_sincos): Likewise.
10887         * math/gen-libm-test.pl (new_test): Take new argument to indicate
10888         whether to show exceptions.  Do not include ");\n" in return
10889         value.
10890         (special_functions): Output call to RUN_TEST_sincos instead of
10891         check_float calls.  Update calls to new_test.
10892         (parse_args): Output call to single RUN_TEST_* macro instead of
10893         check_* calls and other assignments.  Update calls to new_test.
10895         [BZ #2546]
10896         [BZ #2560]
10897         [BZ #5159]
10898         [BZ #15426]
10899         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
10900         input to result for tgamma overflow.
10901         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
10902         (gamma_coeff): New variable.
10903         (NCOEFF): New macro.
10904         (gamma_positive): New function.
10905         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
10906         underflow here.  Use gamma_positive instead of exp (lgamma) for
10907         other arguments.
10908         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
10909         (gamma_coeff): New variable.
10910         (NCOEFF): New macro.
10911         (gammaf_positive): New function.
10912         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
10913         underflow here.  Use gamma_positive instead of exp (lgamma) for
10914         other arguments.
10915         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
10916         (gamma_coeff): New variable.
10917         (NCOEFF): New macro.
10918         (gammal_positive): New function.
10919         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
10920         underflow here.  Use gamma_positive instead of exp (lgamma) for
10921         other arguments.
10922         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
10923         (gamma_coeff): New variable.
10924         (NCOEFF): New macro.
10925         (gammal_positive): New function.
10926         (__ieee754_gammal_r): Handle positive infinity, overflow and
10927         underflow here.  Handle NaN the same as positive infinity.  Remove
10928         check x < 0xffffffff for negative integers.  Use gamma_positive
10929         instead of exp (lgamma) for other arguments.
10930         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
10931         (gamma_coeff): New variable.
10932         (NCOEFF): New macro.
10933         (gammal_positive): New function.
10934         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
10935         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
10936         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
10937         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
10938         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
10939         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
10940         * sysdeps/generic/math_private.h (__gamma_productf): New
10941         prototype.
10942         (__gamma_product): Likewise.
10943         (__gamma_productl): Likewise.
10944         * math/Makefile (libm-calls): Add gamma_product.
10945         * math/libm-test.inc (tgamma_test): Add more tests.
10946         * sysdeps/i386/fpu/libm-test-ulps: Update.
10947         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10949 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
10951         * benchtests/bench-skeleton.c (main): Preheat CPU.
10953 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
10955         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
10957 2013-05-07  Roland McGrath  <roland@hack.frob.com>
10959         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
10960         and _dl_skip_args_internal.
10962 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
10964         * manual/message.texi (Message Translation): Talk about users.
10965         Message to key mapping impacts design.
10967 2013-05-06  Roland McGrath  <roland@hack.frob.com>
10969         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
10971         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
10973         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
10974         * sysdeps/wordsize-64/glob64.c: ... here.
10976         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
10977         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
10978         New macros.
10980         * debug/getlogin_r_chk.c: Moved to ...
10981         * login/getlogin_r_chk.c: ... here.
10982         * debug/Makefile (routines): Move getlogin_r_chk to ...
10983         * login/Makefile (routines): ... here.
10984         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
10985         * login/Versions (libc: GLIBC_2.4): ... here.
10987         * io/poll.c (__poll): Renamed from poll.
10988         Add libc_hidden_def.
10989         (poll): Define as weak alias.
10991         * debug/ptsname_r_chk.c: Moved to ...
10992         * login/ptsname_r_chk.c: ... here.
10993         * debug/Makefile (routines): Move ptsname_r_chk to ...
10994         * login/Makefile (routines): ... here.
10995         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
10996         * login/Versions (libc: GLIBC_2.4): ... here.
10998         * posix/getlogin.c: Moved to ...
10999         * login/getlogin.c: ... here.
11000         * posix/getlogin_r.c: Moved to ...
11001         * login/getlogin_r.c: ... here.
11002         * posix/getlogin_r.c: Moved to ...
11003         * login/getlogin_r.c: ... here.
11004         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
11005         * login/Makefile (routines): ... here.
11006         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
11007         * login/Versions (libc: GLIBC_2.0): ... here.
11009         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
11010         (setrlimit): Define as weak alias.
11012         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
11013         Call __ names for open, ftruncate, and close.
11014         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
11015         (truncate): Define as weak alias.
11017 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
11019         * math/gen-libm-test.pl (parse_args): Initialize x before each
11020         test of frexp, modf and remquo.
11022         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
11023         test signgam value.
11025 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11027         [BZ #15418]
11028         [BZ #15419]
11029         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
11030         internal tests.
11031         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
11033 2013-05-06  Roland McGrath  <roland@hack.frob.com>
11035         * elf/dl-writev.h: New file.
11036         * elf/dl-misc.c: Include it.
11037         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
11038         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
11040 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
11042         * math/libm-test.inc (noXFails): Remove variable.
11043         (noXPasses): Likewise.
11044         (BUILD_COMPLEX_INT): Remove macro.
11045         (print_screen): Remove xfail argument.
11046         (print_screen_max_error): Likewise.
11047         (update_stats): Likewise.
11048         (print_max_error): Likewise.  Update calls to other affected
11049         functions.
11050         (print_complex_max_error): Likewise.
11051         (test_single_exception): Update calls to print_screen.
11052         (test_single_errno): Likewise.
11053         (check_float_internal): Remove xfail argument.  Update calls to
11054         other affected functions.
11055         (check_float): Likewise.
11056         (check_complex): Likewise.
11057         (check_int): Likewise.
11058         (check_long): Likewise.
11059         (check_bool): Likewise.
11060         (check_longlong): Likewise.
11061         (main): Don't print noXFails and noXPasses.
11062         * math/gen-libm-test.pl (top level): Don't mention expected
11063         failure handling in comment.
11064         (new_test): Don't handle expected failures.
11065         (parse_args): Don't mention expected failure handling in comment.
11066         (generate_testfile): Don't handle expected failures.
11067         (parse_ulps): Likewise.
11068         (print_ulps_file): Likewise.
11069         (get_failure): Remove function.
11070         (output_test): Don't handle expected failures.
11071         * make/README.libm-test: Don't mention expected failure handling.
11073         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
11074         (minus_zero): Likewise.
11075         (plus_infty): Likewise.
11076         (minus_infty): Likewise.
11077         (qnan_value): Likewise.
11078         (max_value): Likewise.
11079         (min_value): Likewise.
11080         (min_subnorm_value): Likewise.
11081         (initialize): Do not initialize those variables dynamically.
11083 2013-05-03  Roland McGrath  <roland@hack.frob.com>
11085         * io/open.c (__open_2): Moved to ...
11086         * io/open_2.c: ... this new file.
11087         * io/open64.c (__open64_2): Moved to ...
11088         * io/open64_2.c: ... this new file.
11089         * io/openat.c (__openat_2): Moved to ...
11090         * io/openat_2.c: ... this new file.
11091         * io/openat64.c (__openat64_2): Moved to ...
11092         * io/openat64_2.c: ... this new file.
11093         * io/Makefile (routines): Add them.
11094         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
11095         * sysdeps/unix/sysv/linux/open_2.c: File removed.
11096         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
11097         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
11098         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
11099         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
11100         (__openat64): Add hidden_ver.
11101         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
11102         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
11104         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
11105         Separately conditionalize setting of GLRO(dl_sysinfo) so
11106         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
11107         as well, but the actual setting is only under [NEED_DL_SYSINFO].
11109 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11111         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
11112         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
11113         definition.
11114         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
11115         * sysdeps/unix/sysv/linux/powerpc/init-first.c
11116         (_libc_vdso_platform_setup): Add __vdso_time initialization.
11117         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
11118         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
11120 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
11122         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
11123         test signgam value.
11125         * math/libm-test.inc (hypot_test): Do not use
11126         IGNORE_ZERO_INF_SIGN.
11128 2013-05-03  Andreas Jaeger  <aj@suse.de>
11130         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
11131         Linux 3.9.
11132         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
11133         (PF_MAX): Adjust for VSOCK change.
11135 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11137         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11139 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
11141         [BZ #15264]
11142         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
11143         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
11144         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
11146 2013-05-02  David S. Miller  <davem@davemloft.net>
11148         * sysdeps/sparc/fpu/libm-test-ulps: Update.
11150 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
11152         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
11154 2013-05-01  Roland McGrath  <roland@hack.frob.com>
11156         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
11158 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
11160         [BZ #14952]
11161         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
11162         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
11163         Use __attribute__ ((__gnu_inline__)).
11164         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
11165         Don't use __attribute__ ((__gnu_inline__)).
11167 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
11169         [BZ #15423]
11170         * math/s_catan.c (__catan): Handle small real or imaginary part of
11171         input specially to avoid spurious underflow.
11172         * math/s_catanf.c (__catanf): Likewise.
11173         * math/s_catanh.c (__catanh): Likewise.
11174         * math/s_catanhf.c (__catanhf): Likewise.
11175         * math/s_catanhl.c (__catanhl): Likewise.
11176         * math/s_catanl.c (__catanl): Likewise.
11177         * math/libm-test.inc (catan_test): Add more tests.
11178         (catanh_test): Likewise.
11179         * sysdeps/i386/fpu/libm-test-ulps: Update.
11180         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11182 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11184         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11186 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
11188         [BZ #15416]
11189         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
11190         accurately for denominator in atan2.
11191         * math/s_catanf.c (__catanf): Likewise.
11192         * math/s_catanh.c (__catanh): Likewise.
11193         * math/s_catanhf.c (__catanhf): Likewise.
11194         * math/s_catanhl.c (__catanhl): Likewise.
11195         * math/s_catanl.c (__catanl): Likewise.
11196         * math/libm-test.inc (catan_test): Add more tests.
11197         (catanh_test): Likewise.
11198         * sysdeps/i386/fpu/libm-test-ulps: Update.
11199         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11201 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
11203         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
11205         * benchtests/Makefile (bench): Remove slow benchmarks.
11206         * benchtests/atan-inputs: Add slow benchmark inputs.
11207         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
11208         (BENCH_FUNC): Accept variant offset.
11209         (VARIANT): Define.
11210         * benchtests/bench-skeleton.c (main): Run benchmark for each
11211         variant.
11212         * benchtests/cos-inputs: Add slow benchmark inputs.
11213         * benchtests/exp-inputs: Likewise.
11214         * benchtests/pow-inputs: Likewise.
11215         * benchtests/sin-inputs: Likewise.
11216         * benchtests/slowatan-inputs: Remove.
11217         * benchtests/slowatan.c: Remove.
11218         * benchtests/slowcos-inputs: Remove.
11219         * benchtests/slowcos.c: Remove.
11220         * benchtests/slowexp-inputs: Remove.
11221         * benchtests/slowexp.c: Remove.
11222         * benchtests/slowpow-inputs: Remove.
11223         * benchtests/slowpow.c: Remove.
11224         * benchtests/slowsin-inputs: Remove.
11225         * benchtests/slowsin.c: Remove.
11226         * benchtests/slowtan-inputs: Remove.
11227         * benchtests/slowtan.c: Remove.
11228         * benchtests/tan-inputs: Add slow benchmark inputs.
11229         * scripts/bench.pl: Parse comments and directives.
11231         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
11232         in CPPFLAGS.
11233         ($(objpfx)bench-%.c): Remove *-ITER.
11234         * benchtests/bench-modf.c: Remove definition of ITER.
11235         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
11236         (main): Loop for DURATION seconds instead of fixed number of
11237         iterations.
11238         * scripts/bench.pl: Don't expect iterations in parameters.
11240 2013-04-29  Roland McGrath  <roland@hack.frob.com>
11242         * io/fchdir.c (__fchdir): Renamed from fchdir.
11243         (fchdir): Define as weak alias.
11245 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
11247         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
11248         (ERRNO_EDOM): Likewise.
11249         (ERRNO_ERANGE): Likewise.
11250         (noErrnoTests): New variable.
11251         (init_max_error): Set errno to 0.
11252         (test_single_errno): New function.
11253         (test_errno): Likewise.
11254         (check_float_internal): Call test_errno.  Set errno to 0.
11255         (check_complex): Refer to errno tests in comment.
11256         (check_int): Call test_errno.  Set errno to 0.
11257         (check_long): Likewise.
11258         (check_bool): Likewise.
11259         (check_longlong): Likewise.
11260         (cos_test): Use ERRNO_* flags for errno tests instead of
11261         check_int.
11262         (expm1_test): Likewise.
11263         (fmod_test): Likewise.
11264         (ilogb_test): Likewise.
11265         (lgamma_test): Likewise.
11266         (pow_test): Likewise.
11267         (remainder_test): Likewise.
11268         (sin_test): Likewise.
11269         (tan_test): Likewise.
11270         (yn_test): Likewise.
11271         (initialize): Set errno to 0.
11272         (main): Print number of errno tests.
11273         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
11275 2013-04-29  Andreas Jaeger  <aj@suse.de>
11277         [BZ #15084]
11278         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
11279         and RES_USEVC.
11281         [BZ #15085]
11282         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
11283         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
11284         unimplemented.
11286         [BZ #15380]
11287         * stdlib/random.c (__initstate): Return NULL if
11288         __initstate fails.
11290         [BZ #15086]
11291         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
11292         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
11293         RES_SNGLKUPREOP.
11295 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11297         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11299 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
11301         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
11302         of individual tests.
11303         (casin_test): Likewise.
11304         (casinh_test): Likewise.
11306 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
11308         [BZ #15409]
11309         * math/s_catan.c (__catan): Handle arguments with large real or
11310         imaginary part separately without squaring.
11311         * math/s_catanf.c (__catanf): Likewise.
11312         * math/s_catanh.c (__catanh): Likewise.
11313         * math/s_catanhf.c (__catanhf): Likewise.
11314         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
11315         and redefine.
11316         (__catanhl): Handle arguments with large real or imaginary part
11317         separately without squaring.
11318         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
11319         and redefine.
11320         (__catanl): Handle arguments with large real or imaginary part
11321         separately without squaring.
11322         * math/libm-test.inc (catan_test): Add more tests.
11323         (catanh_test): Likewise.
11324         * sysdeps/i386/fpu/libm-test-ulps: Update.
11325         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11327 2013-04-27  Andreas Jaeger  <aj@suse.de>
11329         [BZ #15007]
11330         * stdlib/stdlib.h: Update guards for qecvt.
11331         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
11332         <stdlib.h>.
11334 2013-04-27  Allan McRae  <allan@archlinux.org>
11336         * sysdeps/i386/fpu/libm-test-ulps: Update.
11338 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
11340         [BZ #15406]
11341         * math/s_catan.c: Include <float.h>.
11342         (__catan): Ensure underflow exception occurs for underflowed
11343         result.
11344         * math/s_catanf.c: Include <float.h>.
11345         (__catanf): Ensure underflow exception occurs for underflowed
11346         result.
11347         * math/s_catanh.c: Include <float.h>.
11348         (__catanh): Ensure underflow exception occurs for underflowed
11349         result.
11350         * math/s_catanhf.c: Include <float.h>.
11351         (__catanhf): Ensure underflow exception occurs for underflowed
11352         result.
11353         * math/s_catanhl.c: Include <float.h>.
11354         (__catanhl): Ensure underflow exception occurs for underflowed
11355         result.
11356         * math/s_catanl.c: Include <float.h>.
11357         (__catanl): Ensure underflow exception occurs for underflowed
11358         result.
11359         * math/libm-test.inc (catan_test): Add more tests.
11360         (catanh_test): Likewise.
11362         [BZ #15405]
11363         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
11364         underflowed result.
11365         * math/s_ccoshf.c (__ccoshf): Likewise.
11366         * math/s_ccoshl.c (__ccoshl): Likewise.
11367         * math/s_csin.c (__csin): Likewise.
11368         * math/s_csinf.c (__csinf): Likewise.
11369         * math/s_csinh.c (__csinh): Likewise.
11370         * math/s_csinhf.c (__csinhf): Likewise.
11371         * math/s_csinhl.c (__csinhl): Likewise.
11372         * math/s_csinl.c (__csinl): Likewise.
11373         * math/libm-test.inc (ccos_test): Add more tests.
11374         (ccosh_test): Likewise.
11375         (csin_test): Likewise.
11376         (csinh_test): Likewise.
11378 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11380         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
11381         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
11382         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
11383         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
11384         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
11385         powerpc/power5+/fpu folders.
11386         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
11389 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
11391         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11393 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
11395         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
11396         additions to variable.
11397         [$(config-machine) = x86_64] (modules-names): Likewise.
11398         ($(objpfx)tst-audit3): Remove dependency.
11399         ($(objpfx)tst-audit3.out): Likewise.
11400         ($(objpfx)tst-audit4): Likewise.
11401         ($(objpfx)tst-audit4.out): Likewise.
11402         ($(objpfx)tst-audit5): Likewise.
11403         ($(objpfx)tst-audit5.out): Likewise.
11404         ($(objpfx)tst-audit6): Likewise.
11405         ($(objpfx)tst-audit6.out): Likewise.
11406         ($(objpfx)tst-audit7): Likewise.
11407         ($(objpfx)tst-audit7.out): Likewise.
11408         (tst-audit3-ENV): Remove variable.
11409         (tst-audit4-ENV): Likewise.
11410         (tst-audit5-ENV): Likewise.
11411         (tst-audit6-ENV): Likewise.
11412         (tst-audit7-ENV): Likewise.
11413         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
11414         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
11415         addition to variable.
11416         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
11417         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
11418         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
11419         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
11420         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
11421         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
11422         tst-audit3, tst-audit4 and tst-audit5.
11423         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
11424         tst-audit6 and tst-audit7.
11425         [$(subdir) = elf] (modules-names): Add audit modules for those
11426         tests.
11427         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
11428         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
11429         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
11430         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
11431         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
11432         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
11433         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
11434         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
11435         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
11436         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
11437         [$(subdir) = elf] (tst-audit3-ENV): New variable.
11438         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
11439         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
11440         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
11441         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
11442         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
11443         Likewise.
11444         [$(subdir) = elf && $(config-cflags-avx) = yes]
11445         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
11446         [$(subdir) = elf && $(config-cflags-avx) = yes]
11447         (CFLAGS-tst-auditmod4a.c): Likewise.
11448         [$(subdir) = elf && $(config-cflags-avx) = yes]
11449         (CFLAGS-tst-auditmod4b.c): Likewise.
11450         [$(subdir) = elf && $(config-cflags-avx) = yes]
11451         (CFLAGS-tst-auditmod6b.c): Likewise.
11452         [$(subdir) = elf && $(config-cflags-avx) = yes]
11453         (CFLAGS-tst-auditmod6c.c): Likewise.
11454         [$(subdir) = elf && $(config-cflags-avx) = yes]
11455         (CFLAGS-tst-auditmod7b.c): Likewise.
11456         * elf/tst-audit3.c: Move to ...
11457         * sysdeps/x86_64/tst-audit3.c: ... here.
11458         * elf/tst-audit4.c: Move to ...
11459         * sysdeps/x86_64/tst-audit4.c: ... here.
11460         * elf/tst-audit5.c: Move to ...
11461         * sysdeps/x86_64/tst-audit5.c: ... here.
11462         * elf/tst-audit6.c: Move to ...
11463         * sysdeps/x86_64/tst-audit6.c: ... here.
11464         * elf/tst-audit7.c: Move to ...
11465         * sysdeps/x86_64/tst-audit7.c: ... here.
11466         * elf/tst-auditmod3a.c: Move to ...
11467         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
11468         * elf/tst-auditmod3b.c: Move to ...
11469         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
11470         * elf/tst-auditmod4a.c: Move to ...
11471         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
11472         * elf/tst-auditmod4b.c: Move to ...
11473         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
11474         * elf/tst-auditmod5a.c: Move to ...
11475         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
11476         * elf/tst-auditmod5b.c: Move to ...
11477         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
11478         * elf/tst-auditmod6a.c: Move to ...
11479         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
11480         * elf/tst-auditmod6b.c: Move to ...
11481         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
11482         * elf/tst-auditmod6c.c: Move to ...
11483         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
11484         * elf/tst-auditmod7a.c: Move to ...
11485         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
11486         * elf/tst-auditmod7b.c: Move to ...
11487         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
11489 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
11491         [BZ #15366]
11492         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
11493         define unconditionally.
11494         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
11495         define unconditionally.
11496         (INT8_C, INT16_C, etc.): Likewise.
11498 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
11500         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
11501         __ehdr_start with hidden visibility.
11503         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
11505 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
11507         * math/libm-test.inc (cos_test): Use accurate hex constants.
11508         (sincost_test): Likewise.
11510 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
11512         * math/libm-test.inc (catan_test): Add more tests.
11513         (catanh_test): Likewise.
11515         * math/s_catanf.c (__catanf): Use suffixed floating-point
11516         constants.
11517         * math/s_catanhf.c (__catanhf): Likewise.
11518         * math/s_catanhl.c (__catanhl): Likewise.
11519         * math/s_catanl.c (__catanl): Likewise.
11521         [BZ #15394]
11522         * math/s_catan.c (__catan): Calculate imaginary part of result
11523         with log1p not log unless computing log of number close to 0.
11524         * math/s_catanf.c (__catanf): Likewise.
11525         * math/s_catanl.c (__catanl): Likewise.
11526         * math/s_catanh.c (__catanh): Calculate real part of result with
11527         log1p not log unless computing log of number close to 0.
11528         * math/s_catanhf.c (__catanhf): Likewise.
11529         * math/s_catanhl.c (__catanhl): Likewise.
11530         * math/libm-test.inc (catan_test): Add more tests.
11531         (catanh_test): Likewise.
11532         * sysdeps/i386/fpu/libm-test-ulps: Update.
11533         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11535 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
11537         * benchtests/Makefile: Mention files in which fast and slow
11538         paths of math functions are implemented.
11540 2013-04-23  Roland McGrath  <roland@hack.frob.com>
11542         * sysdeps/posix/timespec_get.c: New file.
11544 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11546         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
11547         POWER.
11548         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
11549         for POWER.
11550         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
11551         powerpc/power5/fpu folders.
11552         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
11553         * benchtests/Makefile: Add modf testcase.
11554         * benchtests/bench-modf.c: New file: Benchmark test for mo
11556 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
11558         [BZ #14888]
11559         * time/Makefile (tests): Add tst-strptime-whitespace.
11560         * time/strptime_l.c (get_number): Use ISSPACE.
11561         (__strptime_internal): Likewise.
11562         * time/tst-strptime-whitespace.c: New test case.
11564 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
11566         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
11567         member.
11568         (_nss_files_init): Set it here.
11570 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
11572         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
11573         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
11574         unsigned.
11576 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
11578         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
11580 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
11582         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
11583         size just once.
11585 2013-04-21  David S. Miller  <davem@davemloft.net>
11587         * po/ru.po: Update Russion translation from translation project.
11589 2013-04-17  Adam Conrad  <adconrad@0c3.net>
11591         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
11592         and setfsgid.
11594 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
11596         * configure.in: Remove i386 configure warning. Remove i386 case.
11597         * configure: Regenerate.
11598         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
11599         Add example to error message.
11600         * sysdeps/i386/configure: Regenerate.
11602 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
11604         * benchtests/Makefile (bench): Add cos, tan, slowcos and
11605         slowtan.
11606         * benchtests/cos-inputs: New file.
11607         * benchtests/slowcos-inputs: New file.
11608         * benchtests/slowcos.c: New file.
11609         * benchtests/slowtan-inputs: New file.
11610         * benchtests/slowtan.c: New file.
11611         * benchtests/tan-inputs: New file.
11613 2013-04-16  Roland McGrath  <roland@hack.frob.com>
11615         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
11616         considered kosher.
11618 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
11620         * benchtests/Makefile: Include cppflags-iterator.mk to add
11621         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
11623         * Makefile.in (bench-clean): New target.
11624         * benchtests/Makefile (bench-clean): Likewise.
11626 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
11628         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
11630 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
11632         * stdio-common/tstdiomisc.c: Fix coding-style violation.
11634 2013-04-15  Andreas Schwab  <schwab@suse.de>
11636         * nscd/grpcache.c (cache_addgr): Properly check for short write.
11637         * nscd/initgrcache.c (addinitgroupsX): Likewise.
11638         * nscd/pwdcache.c (cache_addpw): Likewise.
11639         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
11640         more than recsize.
11642 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
11644         * benchtests/Makefile (bench): Write all output to
11645         bench-out.tmp together.
11647 2013-04-15  Andreas Schwab  <schwab@suse.de>
11649         * nscd/nscd.c (main): Don't fork again after closing files.
11651 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
11653         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
11655         * benchtests/Rules (bench-deps): Collect dependencies into a
11656         single variable.  Add Makefile to dependencies.
11657         ($(objpfx)bench-%.c): Depend on bench-deps.
11659 2013-04-12  Roland McGrath  <roland@hack.frob.com>
11660             Xavier Roche  <roche+kml2@exalead.com>
11662         [BZ #15361]
11663         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
11664         just that it's a file descriptor.
11665         * manual/llio.texi (Synchronizing AIO Operations): Update description
11666         for EBADF error from aio_fsync.
11668 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
11670         * Rules (bench): Move target definition...
11671         * benchtests/Makefile: ... here.
11673 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
11675         * math/libm-test.inc (cos_test): Fix PI/2 test.
11676         (sincos_test): Likewise.
11677         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
11678         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
11680 2013-04-11  Andreas Schwab  <schwab@suse.de>
11682         [BZ #13988]
11683         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
11684         accept exponent character only when digits were seen.
11685         * stdio-common/Makefile (tests): Add bug26.
11686         * stdio-common/bug26.c: New file.
11688         [BZ #14293]
11689         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
11690         non-freeable.
11692 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
11694         * Makeconfig (rtld-prefix): Define built linker prefix.
11695         * Rules (run-bench): Use it.
11696         * math/Makefile (run-regen-ulps): Likewise.
11698         * Rules (bench): Remove eval.
11700 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
11701             Roland McGrath  <roland@hack.frob.com>
11702             Ondrej Bilka  <neleai@seznam.cz>
11704         [BZ #15346]
11705         * time/getdate.c: Include ctype.h and alloca.h.
11706         (__getdate_r): Trim leading and trailing spaces of input.
11707         * time/tst-getdate.c (tests): Add tests with leading and
11708         trailing spaces.
11710 2013-04-08  Roland McGrath  <roland@hack.frob.com>
11712         [BZ #14280]
11713         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
11714         when computing value.
11716 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
11718         * math/README.libm-test (How can I generate "libm-test-ulps"?):
11719         Use testrun.sh to run libm tests.
11721         [BZ #15309]
11722         * elf/dl-open.c (dl_open_worker): memset all of seen array.
11724 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
11726         [BZ #15264]
11727         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
11729 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
11731         * Makefile.in (regen-ulps): New target.
11732         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
11733         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
11734         [ifneq (no,$(PERL)] (regen-ulps): New target.
11735         [ifeq (no,$(PERL)] (regen-ulps): New target.
11736         * math/libm-test.inc (ulps_file_name): Define.
11737         (output_dir): New variable.
11738         (options): Add "output-dir" option.
11739         (parse_opt): Handle 'o' case.
11740         (main): If output_dir is non-NULL use it as a prefix
11741         otherwise use "".
11742         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
11744 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
11746         [BZ #10060, #10062]
11747         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
11748         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
11749         fail configure if __sync_val_compare_and_swap is not inlined.
11750         * sysdeps/i386/configure: Regenerate.
11751         * configure.in: Build for i686 when configured for i386.
11752         * configure: Regenerate.
11753         * README: Remove i386 reference.
11755 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
11757         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
11758         * sysdeps/s390/s390-64/sysdep.h: Likewise.
11760 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
11762         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
11763         (lmsnanval): New variables.
11764         (F): Add conversion tests.
11765         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
11766         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
11768         * stdio-common/tstdiomisc.c (F): Properly collect individual
11769         tests' results.
11771         [BZ #14686, #15336]
11772         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
11773         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
11774         Instead, use input NaN values or generate a qNaN by arithmetic
11775         operation.  Also fix bugs to comply with the standard.
11776         * math/libm-test.inc (remainder_test): Add more tests.
11778         [BZ #15335, #15342]
11779         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
11780         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
11781         input NaN values or generate a qNaN by arithmetic operation.
11783         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
11784         unreachable code.
11786         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
11787         definitions.
11789 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
11791         [BZ #14478]
11792         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
11793         underflowed result.
11794         * math/s_cexpf.c (__cexpf): Likewise.
11795         * math/s_cexpl.c (__cexpl): Likewise.
11796         * math/libm-test.inc (cexp_test): Add more tests.
11798 2013-04-03  Andreas Schwab  <schwab@suse.de>
11800         [BZ #15330]
11801         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
11802         order arrays from heap if bigger than alloca cutoff.
11804 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
11806         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
11807         (SNAN_TESTS_double): Refer to GCC PR56831.
11808         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
11809         GCC PR56828.
11811 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
11813         * Rules (bench): Move bench.out after the run is complete.
11815         * Rules (bench): Echo currently running benchmark.
11817         * benchtests/Makefile (bench): Add atan and slowatan.
11818         * benchtests/atan-inputs: New file.
11819         * benchtests/slowatan-inputs: New file.
11820         * benchtests/slowatan.c: New file.
11822         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
11823         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
11824         its value.
11826         [BZ #15305]
11827         * sysdeps/unix/sysv/linux/kernel-features.h
11828         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
11829         __ASSUME_XFS_RESTRICTED_CHOWN.
11830         * sysdeps/unix/sysv/linux/pathconf.c
11831         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
11832         Save and restore errno.
11834 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
11836         [BZ #15327]
11837         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
11838         arguments using __kernel_casinh.
11839         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
11840         arguments using __kernel_casinhf.
11841         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
11842         arguments using __kernel_casinhl.
11843         * math/libm-test.inc (cacosh_test): Add more tests.
11844         * sysdeps/i386/fpu/libm-test-ulps: Update.
11845         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11847 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
11849         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
11850         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
11852         * bench/Makefile (bench): Add sin and slowsin.
11853         * benchtests/sin-inputs: New file.
11854         * benchtests/slowsin-inputs: New file.
11855         * benchtests/slowsin.c: New file.
11857         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
11858         (bench): Add slowexp and slowpow.
11859         (exp-ITER): Increase iterations.
11860         (pow-ITER): Likewise.
11861         * benchtests/exp-inputs: Change input.
11862         * benchtests/pow-inputs: Likewise.
11863         * benchtests/slowexp-inputs: New file.
11864         * benchtests/slowexp.c: New file.
11865         * benchtests/slowpow-inputs: New file.
11866         * benchtests/slowpow.c: New file.
11868 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11870         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
11871         instructions.
11872         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
11873         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
11874         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
11875         * benchtests/Makefile: Add rint benchtest.
11876         * benchtests/rint-inputs: Input for rint benchtest.
11878 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
11880         * Versions.def (libm): Add GLIBC_2.18.
11881         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
11882         hidden libm prototypes.
11883         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
11884         * math/Makefile (libm-calls): Add s_issignaling.
11885         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
11886         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
11887         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
11888         declaration.
11889         * math/math.h [__USE_GNU] (issignaling): New macro.
11890         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
11891         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
11892         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
11893         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
11894         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
11895         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
11896         * manual/arith.texi (issignaling): New section.
11897         * manual/libm-err-tab.pl (@all_functions): Update comment.
11898         * math/gen-libm-test.pl (parse_args): Apply special handling for
11899         issignaling.
11900         * math/libm-test.inc (print_float, issignaling_test): New
11901         functions.
11902         (check_float_internal): Add issignaling checks.
11903         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
11904         default definition.
11905         * sysdeps/powerpc/math-tests.h: New file.
11906         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
11907         tests.
11908         * math/test-snan.c (TEST_FUNC): Likewise.
11910 2013-03-30  David S. Miller  <davem@davemloft.net>
11912         * po/de.po: Update from translation team.
11914 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
11916         [BZ #10357]
11917         * math/k_casinh.c (__kernel_casinh): Handle arguments with
11918         imaginary part less than 1.0 and real part less than 0.5
11919         specially.
11920         * math/k_casinhf.c (__kernel_casinhf): Likewise.
11921         * math/k_casinhl.c (__kernel_casinhl): Likewise.
11922         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
11923         (cacos_test): Add more tests.
11924         (casin_test): Likewise.
11925         (casinh_test): Likewise.
11926         * sysdeps/i386/fpu/libm-test-ulps: Update.
11927         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11929 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
11931         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
11932         ONE with its value.
11934         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
11935         (__pow_mp): Replace ONE and MONE with their values.
11936         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
11937         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
11938         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
11939         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
11940         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
11941         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
11943         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
11945         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
11946         (__pow_mp): Replace ZERO and MZERO with their values.
11947         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
11948         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
11949         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
11950         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
11951         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
11952         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
11953         (__sqr): Likewise.
11955         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
11957         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
11959 2013-03-28  Roland McGrath  <roland@hack.frob.com>
11961         * include/stdlib.h [!SHARED] (__call_tls_dtors):
11962         Declare with __attribute__ ((weak)).
11963         * stdlib/exit.c (__libc_atexit) [!SHARED]:
11964         Call __call_tls_dtors only if it's not NULL.
11966 2013-03-28  Roland McGrath  <roland@hack.frob.com>
11968         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
11969         didn't do it already, then set _dl_phdr and _dl_phnum based on the
11970         magic __ehdr_start linker symbol if it's defined.
11971         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
11972         them up here if it was already done.
11974         * elf/dl-support.c (_dl_phdr): Make pointer to const.
11975         (_dl_aux_init): Use const in cast when setting it.
11976         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
11977         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
11978         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
11980         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
11981         Declare them here.
11982         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
11983         * csu/libc-tls.c: Nor here.
11984         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
11986         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
11987         (__libc_message): Never call vsyslog.
11989 2013-03-28  Alan Modra  <amodra@gmail.com>
11991         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
11992         Define as empty.
11993         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
11994         Likewise.
11996 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11998         [BZ #15214]
11999         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
12000         underflow.
12001         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12003 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
12005         [BZ #15304]
12006         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
12007         Don't add gid passed as argument.
12009         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
12011 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
12013         [BZ #15307]
12014         * math/k_casinh.c (__kernel_casinh): Handle arguments with
12015         imaginary part between 1.0 and 1.5 and real part less than 0.5
12016         specially.
12017         * math/k_casinhf.c (__kernel_casinhf): Likewise.
12018         * math/k_casinhl.c (__kernel_casinhl): Likewise.
12019         * math/libm-test.inc (cacos_test): Add more tests.
12020         (casin_test): Likewise.
12021         (casinh_test): Likewise.
12022         * sysdeps/i386/fpu/libm-test-ulps: Update.
12023         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12025 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
12027         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
12028         constants.
12029         (norm): Likewise.
12030         (denorm): Likewise.
12031         (__dbl_mp): Likewise.
12032         (add_magnitudes): Likewise.
12033         (sub_magnitudes): Likewise.
12034         (__add): Likewise.
12035         (__sub): Likewise.
12036         (__mul): Likewise.
12037         (__sqr): Likewise.
12038         (__inv): Likewise.
12039         (__dvd): Likewise.
12041         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
12042         commented code.
12043         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
12044         (__dubcos): Likewise.
12045         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
12046         (__ieee754_acos): Likewise.
12047         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
12048         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
12049         (__exp1): Likewise.
12050         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
12051         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
12052         (log1): Likewise.
12053         (my_log2): Likewise.
12054         (checkint): Likewise.
12055         * sysdeps/ieee754/dbl-64/e_remainder.c
12056         (__ieee754_remainder): Likewise.
12057         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
12058         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
12059         (bsloww): Likewise.
12060         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
12062         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
12063         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
12064         MANTISSA_STORE_T to store computations on mantissa.  Use
12065         macros for rounding and division.
12066         (denorm): Likewise.
12067         (__dbl_mp): Likewise.
12068         (add_magnitudes): Likewise.
12069         (sub_magnitudes): Likewise.
12070         (__mul): Likewise.
12071         (__sqr): Likewise.
12072         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
12073         powers of two in terms of TWOPOW macro.
12074         (mp_no): Make type of mantissa as MANTISSA_T.
12075         [!RADIXI]: Define RADIXI.
12076         [!TWO52]: Define TWO52.
12077         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
12079 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12081         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
12082         llroundl symbol when building for PPC32.
12084 2013-03-24  Mark H Weaver  <mhw@netris.org>
12086         * manual/arith.texi (Normalization Functions): Fix prototypes for
12087         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
12089 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12091         [BZ #13889]
12092         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
12093         high value to check if expl overflow.
12094         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
12095         to check for underflow and overflow.
12096         * math/libm-test.inc: Add exp test.
12098 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
12100         [BZ #11120]
12101         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
12102         with NOT_IN_libc.
12104 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12106         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
12107         symbol.
12109 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
12111         * math/gen-libm-test.pl (parse_args, special_functions): Properly
12112         wrap blocks consisting of several statements.
12114         * sysdeps/generic/math-tests.h: New file.
12115         * sysdeps/i386/fpu/math-tests.h: Likewise.
12116         * math/test-snan.c: Include it.
12117         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
12119 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
12121         [BZ #15285]
12122         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
12123         (__ieee754_j0l): Do not improve calculations using cos of twice
12124         input for inputs above LDBL_MAX / 2.0L.
12125         (__ieee754_y0l): Likewise.
12126         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
12127         (__ieee754_j1l): Do not improve calculations using cos of twice
12128         input for inputs above LDBL_MAX / 2.0L.
12129         (__ieee754_y1l): Likewise.
12130         * math/libm-test.inc (j0_test): Add another test.
12131         (j1_test): Likewise.
12132         (y0_test): Likewise.
12133         (y1_test): Likewise.
12134         * sysdeps/i386/fpu/libm-test-ulps: Update.
12136 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
12138         * Rules ($(objpfx)bench-%.c): Include code from a C source
12139         file.
12141 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
12143         [BZ #15287]
12144         * math/k_casinh.c (__kernel_casinh): Handle arguments with
12145         imaginary part 1.0 and real part less than 0.5 specially.
12146         * math/k_casinhf.c (__kernel_casinhf): Likewise.
12147         * math/k_casinhl.c (__kernel_casinhl): Likewise.
12148         * math/libm-test.inc (cacos_test): Add more tests.
12149         (casin_test): Likewise.
12150         (casinh_test): Likewise.
12151         * sysdeps/i386/fpu/libm-test-ulps: Update.
12152         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12154 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
12156         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
12157         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
12159 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
12161         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
12162         * config.make.in (config-cflags-sse4): Remove variable.
12163         (config-cflags-avx): Likewise.
12164         (config-cflags-sse2avx): Likewise.
12165         (config-cflags-novzeroupper): Likewise.
12166         (config-asflags-i686): Likewise.
12167         (have-mfma4): Likewise.
12168         (have-as-vis3): Likewise.
12169         (MIG): Likewise.
12170         * configure.in (MIG): Do not AC_SUBST.
12171         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
12172         (libc_cv_cc_sse4): Do not AC_SUBST.
12173         (libc_cv_cc_avx): Likewise.
12174         (libc_cv_cc_sse2avx): Likewise.
12175         (libc_cv_cc_novzeroupper): Likewise.
12176         (libc_cv_cc_fma4): Likewise.
12177         (libc_cv_as_i686): Likewise.
12178         (libc_cv_sparc_as_vis3): Likewise.
12179         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
12180         LIBC_CONFIG_VAR.
12181         (config-asflags-i686): Likewise.
12182         (config-cflags-avx): Likewise.
12183         (config-cflags-sse2avx): Likewise.
12184         (have-mfma4): Likewise.
12185         (config-cflags-novzeroupper): Likewise.
12186         * sysdeps/mach/configure.in (MIG): Likewise.
12187         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
12188         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
12189         LIBC_CONFIG_VAR.
12190         (config-cflags-avx): Likewise.
12191         (config-cflags-sse2avx): Likewise.
12192         (have-mfma4): Likewise.
12193         (config-cflags-novzeroupper): Likewise.
12194         * configure: Regenerated.
12195         * sysdeps/i386/configure: Likewise.
12196         * sysdeps/mach/configure: Likewise.
12197         * sysdeps/sparc/configure: Likewise.
12198         * sysdeps/x86_64/configure: Likewise.
12200 2013-03-20  Roland McGrath  <roland@hack.frob.com>
12202         [BZ #14812]
12203         * locale/programs/localedef.c (options): Put N_ translation marker
12204         on argument names, not just descriptions.
12206 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
12208         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
12210 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
12212         [BZ #14176]
12213         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
12215 2013-03-19  Roland McGrath  <roland@hack.frob.com>
12217         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
12218         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
12219         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
12220         [!BEFORE_ABORT] (before_abort): New function.
12221         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
12222         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
12223         (writev_for_fatal): New function.
12224         (WRITEV_FOR_FATAL): New macro; call that.
12225         (backtrace_and_maps): New function.
12226         (BEFORE_ABORT): New macro; call that.
12227         (struct str_list): Type removed.
12228         (__libc_message, __libc_fatal): Functions removed.
12229         Include <sysdeps/posix/libc_fatal.c> instead.
12231 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
12233         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
12234         constants.
12235         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
12236         double constants.
12238 2013-03-19  Andreas Schwab  <schwab@suse.de>
12240         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
12241         * sysdeps/gnu/configure: Regenerate.
12243         * configure.in: Substitute libc_cv_rtlddir.
12244         * configure: Regenerate.
12245         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
12246         * Makeconfig (rtlddir, inst_rtlddir): New variables.
12247         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
12248         * elf/Makefile (install-others, CFLAGS-interp.c)
12249         (ldso_install, common-ldd-rewrite): Likewise.
12250         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
12251         $(inst_slibdir)/$(rtld-installed-name).
12252         * scripts/rellns-sh: Add -p option.
12253         * Makerules (make-shlib-link): Use rellns-sh to get relative name
12254         for source.
12256 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
12258         * manual/nptl.texi: Renamed to ...
12259         * manual/threads.texi: ... this.
12260         * manual/Makefile (chapters): Update.
12262 2013-03-18  Roland McGrath  <roland@hack.frob.com>
12264         [BZ #14812]
12265         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
12266         on argument names, not just descriptions.
12267         * malloc/memusagestat.c (options): Likewise.
12268         * nss/getent.c (options): Likewise.
12270 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
12272         [BZ #14812]
12273         * iconv/iconv_prog.c (options): Put N_ translation marker
12274         on argument names, not just descriptions.
12275         * iconv/iconvconfig.c (options): Likewise.
12277 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
12279         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
12280         implementation which is faster on all x86_64 architectures.
12281         Tested on AMD, Intel Nehalem, SNB, IVB.
12282         * sysdeps/x86_64/strnlen.S: Likewise.
12284         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
12285         Remove all multiarch strlen and strnlen versions.
12286         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
12287         Remove strlen and strnlen related parts.
12289         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
12290         Inline strlen part.
12291         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
12293         * sysdeps/x86_64/multiarch/strlen.S: Remove.
12294         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
12295         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
12296         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
12297         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
12298         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
12300 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
12302         * manual/memory.texi (Malloc Tunable Parameters):
12303         Sort parameters alphabetically. Add comments for missing entries.
12305 2013-03-17  David S. Miller  <davem@davemloft.net>
12307         * sysdeps/sparc/fpu/libm-test-ulps: Update.
12309 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
12311         [BZ #15283]
12312         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
12313         for arguments at most half maximum finite value.
12314         * math/libm-test.inc (j0_test): Add more tests.
12315         (j1_test): Likewise.
12316         (y0_test): Likewise.
12317         (y1_test): Likewise.
12318         * sysdeps/i386/fpu/libm-test-ulps: Update.
12319         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12321         [BZ #14155]
12322         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
12323         1 / x and functions P and Q for arguments above 0x1p256L.
12324         (__ieee754_y0l): Likewise.
12325         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
12326         (__ieee754_y1l): Likewise.
12327         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
12328         (j1_test): Likewise.
12329         (y0_test): Likewise.
12330         (y1_test): Likewise.
12332 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
12334         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
12335         variable.
12337 2013-03-15  Roland McGrath  <roland@hack.frob.com>
12339         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
12340         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
12341         zero since it's initialized to EXEC_PAGESIZE.
12343         * sysdeps/unix/sysv/linux/ldsodefs.h
12344         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
12345         * sysdeps/generic/ldsodefs.h: ... here.
12347 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
12349         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
12351         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
12352         math/test-snan.c.
12353         * math/test-snan.c: Renamed from
12354         sysdeps/powerpc/fpu/test-powerpc-snan.c.
12355         * math/Makefile (tests): Add test-snan.
12356         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
12357         test-powerpc-snan.
12359         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
12360         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
12361         functions.
12362         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
12363         __builtin_nan family of functions.
12364         * math/libm-test.inc (initialize): Initialize qnan_value with
12365         __builtin_nan family of functions.
12366         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
12367         Remove variables.
12368         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
12369         Remove functions.
12370         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
12371         storage class.  Initialize qNaN_var and sNaN_var with
12372         __builtin_nan and __builtin_nans families of functions,
12373         respectively.
12375         * math/libm-test.inc (acosh_test): Also test with qNaN input.
12376         (sqrt_test): Remove duplicate test with qNaN input.
12377         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
12378         (round_test, signbit_test, significand_test): Note missing +/-Inf
12379         as well as qNaN tests.
12381         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
12382         qNaN_var.  Fix a few strings, too.
12383         * math/libm-test.inc (nan_value): Rename to qnan_value.
12384         * math/gen-libm-test.pl (%beautify): Adjust to that.
12385         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
12386         * math/test-misc.c (main): Likewise.
12387         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
12388         to __qnan_bytes, and __qnan_union, respectively.
12389         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
12390         Likewise.
12391         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
12392         and lqnanval, respectively.
12393         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
12394         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
12395         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
12396         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
12398         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
12399         * math/test-misc.c (main) [__x86_64__]: Enable test for long
12400         doubles.
12402         * math/test-misc.c (main): Fix copy'n'pastos.
12403         * misc/tst-efgcvt.c (special): Likewise.
12405         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
12406         Remove declarations.
12408 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
12410         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
12411         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
12412         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
12413         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
12415 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12417         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
12418         macro to return vdso values correctly in IFUNC implementations.
12419         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
12420         Optimization by using IFUNC.
12422 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
12423             Richard Henderson  <rth@redhat.com>
12424             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
12426         * Makefile.in (bench): New target.
12427         * NEWS: Mention the benchmark framework.
12428         * Rules (bench): Likewise.
12429         (binaries-bench): Generate binaries for functions to
12430         benchmark.
12431         * benchtests/Makefile: New makefile for benchmark tests.
12432         * benchtests/bench-skeleton.c: New skeleton file for benchmark
12433         programs.
12434         * benchtests/exp-inputs: New input file for EXP function.
12435         * benchtests/pow-inputs: New input file for POW function.
12436         * scripts/bench.pl: New script to generate source files for
12437         benchmark programs.
12439 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
12441         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
12442         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
12443         computations on mantissa.  Use macros for rounding and
12444         division.
12445         (denorm): Likewise.
12446         (__dbl_mp): Likewise.
12447         (add_magnitudes): Likewise.
12448         (sub_magnitudes): Likewise.
12449         (__mul): Likewise.
12450         (__sqr): Likewise.
12451         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
12452         powers of two in terms of TWOPOW macro.
12453         (mp_no): Make type of mantissa as MANTISSA_T.
12454         [!RADIXI]: Define RADIXI.
12455         [!TWO52]: Define TWO52.
12456         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
12458         * manual/nptl.texi (cindex): Modify threads to pthreads.
12460 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
12462         * sysdeps/x86_64/preconfigure: Regenerated.
12464 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
12466         [BZ #14155]
12467         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
12468         0x1p28 and above.
12469         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
12470         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
12471         0x1p28 and above.
12472         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
12473         * math/libm-test.inc (j0_test): Do not allow one spurious
12474         underflow exception.
12475         (y1_test): Likewise.
12477 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
12479         * manual/Makefile (chapters): Add nptl.
12480         * manual/debug.texi (Debugging Support): Add link to Threads
12481         chapter.
12482         * manual/nptl.texi: New file.
12484         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
12486 2013-03-14  Petr Baudis  <pasky@ucw.cz>
12488         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
12489         for non-NULL pointer before the memory validity test. Pointed
12490         out by Holger Brunck <holger.brunck@keymile.com>.
12492 2013-03-13  Andreas Schwab  <schwab@suse.de>
12494         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
12495         instead of .os.
12497 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
12499         * timezone/zic.c: Update from tzcode 2013b.
12501 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
12503         * manual/install.texi (Configuring and compiling):
12504         Mention i686 and i586.
12505         * INSTALL: Regenerate.
12507 2013-03-12  Roland McGrath  <roland@hack.frob.com>
12509         * sysdeps/init_array/elf-init.c: New file.
12510         * csu/elf-init.c
12511         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
12512         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
12514         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
12515         __gmon_start__ as global, but as static with a .preinit_array pointer.
12516         * sysdeps/init_array/gmon-start.c: New file.  Use that.
12517         * sysdeps/init_array/crti.S: New file, empty except for comments.
12518         * sysdeps/init_array/crtn.S: Likewise.
12520 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
12522         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
12523         definining bcopy.
12524         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
12525         Remove Prefer_SSE_for_memop.
12526         * sysdeps/x86_64/multiarch/init-arch.h: Remove
12527         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
12528         HAS_PREFER_SSE_FOR_MEMOP.
12529         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
12530         memset-x86-64.
12531         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
12532         Remove bzero, memset ifunc support.
12533         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
12534         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
12535         * sysdeps/x86_64/multiarch/memset.S: Likewise.
12536         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
12538 2013-03-11  Andreas Schwab  <schwab@suse.de>
12540         [BZ #15234]
12541         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
12542         by SHLIB_COMPAT.
12543         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
12544         (GLIBC_2.16): Remove pthread_atfork.
12546 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
12548         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
12549         (ptestcases.h): Likewise.
12551 2013-03-08  Roland McGrath  <roland@hack.frob.com>
12553         * Makeconfig ($(common-objpfx)config.status): Depend on
12554         sysdeps/*/preconfigure{,.in} too.
12556 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
12558         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
12559         (__free_hook): Use void * instead of __malloc_ptr_t.
12560         (__malloc_hook): Likewise.
12561         (__realloc_hook): Likewise.
12562         (__memalign_hook): Likewise.
12563         (__after_morecore_hook): Likewise.
12564         * malloc/arena.c (save_malloc_hook): Likewise.
12565         (save_free_hook): Likewise.
12566         * malloc/hooks.c (malloc_hook_ini): Likewise.
12567         (realloc_hook_ini): Likewise.
12568         (memalign_hook_ini): Likewise.
12569         * malloc/malloc.c (malloc_hook_ini): Likewise.
12570         (realloc_hook_ini): Likewise.
12571         (memalign_hook_ini): Likewise.
12572         (__free_hook): Likewise.
12573         (__malloc_hook): Likewise.
12574         (__realloc_hook): Likewise.
12575         (__memalign_hook): Likewise.
12576         (__libc_malloc): Likewise.
12577         (__libc_free): Likewise.
12578         (__libc_realloc): Likewise.
12579         (__libc_memalign): Likewise.
12580         (__libc_valloc): Likewise.
12581         (__libc_pvalloc): Likewise.
12582         (__libc_calloc): Likewise.
12583         (__posix_memalign): Likewise.
12584         * malloc/morecore.c (__sbrk): Likewise.
12585         (__default_morecore): Likewise.
12587         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
12589         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
12590         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
12591         __malloc_ptrdiff_t.
12593         * malloc/malloc.h (__malloc_size_t): Remove macro.
12594         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
12595         __malloc_size_t.
12596         (old_memalign_hook): Likewise.
12597         (old_realloc_hook): Likewise.
12598         (struct hdr): Likewise.
12599         (flood): Likewise.
12600         (mallochook): Likewise.
12601         (memalignhook): Likewise.
12602         (reallochook): Likewise.
12603         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
12604         (tr_old_realloc_hook): Likewise.
12605         (tr_old_memalign_hook): Likewise.
12606         (tr_mallochook): Likewise.
12607         (tr_reallochook): Likewise.
12608         (tr_memalignhook): Likewise.
12610 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12612         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
12613         default_ldbl_pack and using as default implementation.
12614         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
12615         implementation.
12616         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
12617         redundant definition.
12618         (ldbl_insert_mantissa): Likewise.
12619         (ldbl_canonicalize): Likewise.
12620         (ldbl_nearbyint): Likewise.
12621         (ldbl_pack): Rename to ldbl_pack_ppc.
12622         (ldbl_unpack): Rename to ldbl_unpack_ppc.
12623         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
12624         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
12626 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
12628         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
12629         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
12630         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
12631         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
12632         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
12633         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
12634         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
12635         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
12637 2013-03-07  Andreas Jaeger  <aj@suse.de>
12639         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
12640         bits/mman-linux.h.
12642 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
12644         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
12645         Include mpa.h and declare __MPEXP.
12646         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
12647         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
12648         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
12649         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
12650         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
12651         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
12652         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
12654         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
12655         (__slowpow): Use long double EXPL and LOGL functions to
12656         compute POW.
12657         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
12658         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
12659         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
12660         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
12661         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
12662         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
12664         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
12665         intermediate variable to calculate exponent.
12666         (__sqr): Likewise.
12667         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
12668         Likewise.
12669         (__sqr): Likewise.
12671         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
12672         [!NO__SQR]: Define __sqr.
12673         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
12674         and NO__SQR.  Remove all code except __mul and __sqr.  Include
12675         sysdeps/ieee754/dbl-64/mpa.c.
12676         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
12678         [BZ #12723]
12679         * posix/Makefile (tests): Add tst-pathconf.
12680         * posix/tst-pathconf.c: New test case.
12681         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
12682         _PC_PIPE_BUF.
12683         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
12685 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
12687         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
12689 2013-03-06  Andreas Jaeger  <aj@suse.de>
12691         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
12692         definition via __MAP_ANONYMOUS.
12694         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
12695         it's not part of Linux headers.
12697         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
12698         (MAP_HUGE_MASK): Define.
12700         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
12701         Define.
12702         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
12703         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
12704         Define.
12705         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
12706         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
12707         Define.
12708         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
12709         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
12710         Define.
12711         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
12713         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
12714         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
12715         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
12716         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
12717         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
12718         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
12720         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
12721         Handle f2fs.
12723         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
12724         Handle f2fs and efivarfs.
12726         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
12727         f2fs.
12729         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
12730         (EFIVARFS_MAGIC): Add.
12731         (F2FS_LINK_MAX): Add.
12733 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
12735         * stdio-common/vfprintf.c: Replace __builtin_expect with
12736         __glibc_unlikely.
12738 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
12740         [BZ #13550]
12741         * sysdeps/generic/bp-sym.h: Remove file.
12742         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
12743         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
12744         <bp-sym.h> and <bp-asm.h>.
12745         (__longjmp): Don't use BP_SYM.
12746         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
12747         and <bp-asm.h>.
12748         (memcpy): Don't use BP_SYM.
12749         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
12750         <bp-sym.h> and <bp-asm.h>.
12751         (memcpy): Don't use BP_SYM.
12752         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
12753         <bp-asm.h>.
12754         (memcpy): Don't use BP_SYM.
12755         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
12756         <bp-asm.h>.
12757         (memset): Don't use BP_SYM.
12758         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
12759         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
12760         (__bzero): Don't use BP_SYM.
12761         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
12762         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
12763         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
12764         <bp-sym.h> and <bp-asm.h>.
12765         (memcmp): Don't use BP_SYM.  Remove comment about bounded
12766         pointers.
12767         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
12768         <bp-sym.h> and <bp-asm.h>.
12769         (memcpy): Don't use BP_SYM.
12770         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
12771         <bp-sym.h> and <bp-asm.h>.
12772         (memset): Don't use BP_SYM.
12773         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
12774         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
12775         (__bzero): Don't use BP_SYM.
12776         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
12777         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
12778         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
12779         <bp-sym.h> and <bp-asm.h>.
12780         (strncmp): Don't use BP_SYM.  Remove comment about bounded
12781         pointers.
12782         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
12783         <bp-sym.h> and <bp-asm.h>.
12784         (memcpy): Don't use BP_SYM.
12785         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
12786         <bp-sym.h> and <bp-asm.h>.
12787         (memset): Don't use BP_SYM.
12788         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
12789         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
12790         (__bzero): Don't use BP_SYM.
12791         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
12792         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
12793         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
12794         <bp-sym.h> and <bp-asm.h>.
12795         (__memchr): Don't use BP_SYM.
12796         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
12797         <bp-sym.h> and <bp-asm.h>.
12798         (memcmp): Don't use BP_SYM.  Remove comment about bounded
12799         pointers.
12800         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
12801         <bp-sym.h> and <bp-asm.h>.
12802         (memcpy): Don't use BP_SYM.
12803         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
12804         <bp-sym.h> and <bp-asm.h>.
12805         (__mempcpy): Don't use BP_SYM.
12806         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
12807         <bp-sym.h> and <bp-asm.h>.
12808         (__memrchr): Don't use BP_SYM.
12809         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
12810         <bp-sym.h> and <bp-asm.h>.
12811         (memset): Don't use BP_SYM.
12812         (__bzero): Likewise.
12813         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
12814         <bp-sym.h> and <bp-asm.h>.
12815         (__rawmemchr): Don't use BP_SYM.
12816         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
12817         <bp-sym.h> and <bp-asm.h>.
12818         (__STRCMP): Don't use BP_SYM.
12819         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
12820         <bp-sym.h> and <bp-asm.h>.
12821         (strchr): Don't use BP_SYM.
12822         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
12823         <bp-sym.h> and <bp-asm.h>.
12824         (__strchrnul): Don't use BP_SYM.
12825         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
12826         <bp-sym.h> and <bp-asm.h>.
12827         (strlen): Don't use BP_SYM.
12828         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
12829         <bp-sym.h> and <bp-asm.h>.
12830         (strncmp): Don't use BP_SYM.  Remove comment about bounded
12831         pointers.
12832         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
12833         <bp-sym.h> and <bp-asm.h>.
12834         (__strnlen): Don't use BP_SYM.
12835         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
12836         <bp-sym.h> and <bp-asm.h>.
12837         (__GI__setjmp): Don't use BP_SYM.
12838         (_setjmp): Likewise.
12839         (__sigsetjmp): Likewise.
12840         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
12841         (L(start_addresses)): Don't use BP_SYM.
12842         (_start): Likewise.
12843         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
12844         <bp-asm.h>.
12845         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
12846         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
12847         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
12848         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
12849         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
12850         <bp-asm.h>.
12851         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
12852         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
12853         about bounded pointers.
12854         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
12855         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
12856         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
12857         <bp-asm.h>.
12858         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
12859         about bounded pointers.  Remove GKM FIXME comments.
12860         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
12861         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
12862         <bp-asm.h>.
12863         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
12864         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
12865         Remove GKM FIXME comments.
12866         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
12867         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
12868         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
12869         <bp-asm.h>.
12870         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
12871         about bounded pointers.  Remove GKM FIXME comment.
12872         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
12873         and <bp-asm.h>.
12874         (strncmp): Don't use BP_SYM.  Remove comment about bounded
12875         pointers.
12876         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
12877         <bp-sym.h> and <bp-asm.h>.
12878         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
12879         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
12880         <bp-sym.h> and <bp-asm.h>.
12881         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
12882         comment.
12884 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
12886         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
12887         call free(NULL).
12889 2013-03-05  David S. Miller  <davem@davemloft.net>
12891         * po/es.po: Update from translation team.
12893 2013-03-05  Andreas Jaeger  <aj@suse.de>
12895         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
12896         <bits/mman-linux.h>.
12897         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
12898         is fine.
12899         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
12900         <bits/mman-linux.h> to end of file.
12901         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
12902         is fine.
12903         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
12904         <bits/mman-linux.h> to end of file.
12905         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
12906         is fine.
12907         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
12908         <bits/mman-linux.h> to end of file.
12910         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
12911         (MCL_CURRENT, MCL_FUTURE): Define here.
12913 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
12915         [BZ #15232]
12916         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
12917         attribute_hidden.
12918         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
12920 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
12922         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
12923         fourth parameter needed for rt_sigprocmask syscall.
12924         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
12925         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
12926         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
12927         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
12928         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
12929         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
12931 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
12933         [BZ #13550]
12934         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
12935         comment about bounded pointers.
12936         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
12937         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
12939 2013-03-04  Andreas Jaeger  <aj@suse.de>
12941         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
12942         common definitions.
12944         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
12945         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
12946         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
12947         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
12948         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
12949         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
12951 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12953         [BZ #15055]
12954         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
12955         __ieee754_sqrl instead of __sqrl.
12957 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
12959         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
12960         * sysdeps/powerpc/fpu_control.h: ... here.
12961         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
12962         * sysdeps/powerpc/bits/fenvinline.h: ... here.
12963         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
12964         * sysdeps/powerpc/bits/mathinline.h: ... here.
12966 2013-03-01  Roland McGrath  <roland@hack.frob.com>
12968         * elf/dl-hwcaps.c (_dl_important_hwcaps):
12969         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
12970         to just [NEED_DL_SYSINFO_DSO].
12971         * elf/dl-support.c: Likewise.
12972         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
12973         * elf/rtld.c (dl_main): Likewise.
12974         * elf/setup-vdso.h (setup_vdso): Likewise.
12975         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
12976         * sysdeps/unix/sysv/linux/dl-sysdep.c
12977         (_dl_discover_osversion): Likewise.
12979 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
12981         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
12982         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
12984 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
12986         * NEWS: Mention libm performance improvements and non-x86 PI
12987         futex support.
12989         * csu/libc-start.c (__pthread_initialize_minimal): Change
12990         function arguments.
12991         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
12993 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
12995         [BZ #13550]
12996         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
12997         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
12998         <bp-sym.h> and <bp-asm.h>.
12999         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
13000         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
13001         and <bp-asm.h>.
13002         (memcpy): Don't use BP_SYM.
13003         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
13004         <bp-asm.h>.
13005         (__mpn_add_n): Don't use BP_SYM.
13006         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
13007         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
13008         and <bp-asm.h>.
13009         (__mpn_addmul_1): Don't use BP_SYM.
13010         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
13011         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
13012         <bp-sym.h>.
13013         (_setjmp): Don't use BP_SYM.
13014         (__novmx_setjmp): Likewise.
13015         (__GI__setjmp): Likewise.
13016         (__vmx_setjmp): Likewise.
13017         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
13018         <bp-sym.h>.
13019         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
13020         (__bzero): Don't use BP_SYM.
13021         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
13022         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
13023         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
13024         <bp-sym.h> and <bp-asm.h>.
13025         (memcpy): Don't use BP_SYM.
13026         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
13027         <bp-sym.h> and <bp-asm.h>.
13028         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
13029         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
13030         <bp-sym.h> and <bp-asm.h>.
13031         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
13032         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
13033         <bp-asm.h>.
13034         (__mpn_lshift): Don't use BP_SYM.
13035         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
13036         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
13037         <bp-asm.h>.
13038         (memset): Don't use BP_SYM.
13039         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
13040         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
13041         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
13042         <bp-asm.h>.
13043         (__mpn_mul_1): Don't use BP_SYM.
13044         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
13045         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
13046         <bp-sym.h> and <bp-asm.h>.
13047         (memcmp): Don't use BP_SYM.
13048         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
13049         <bp-sym.h> and <bp-asm.h>.
13050         (memcpy): Don't use BP_SYM.
13051         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
13052         <bp-sym.h> and <bp-asm.h>.
13053         (memset): Don't use BP_SYM.
13054         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
13055         <bp-sym.h> and <bp-asm.h>.
13056         (strncmp): Don't use BP_SYM.
13057         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
13058         <bp-sym.h> and <bp-asm.h>.
13059         (memcpy): Don't use BP_SYM.
13060         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
13061         <bp-sym.h> and <bp-asm.h>.
13062         (memset): Don't use BP_SYM.
13063         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
13064         <bp-sym.h> and <bp-asm.h>.
13065         (__memchr): Don't use BP_SYM.
13066         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
13067         <bp-sym.h> and <bp-asm.h>.
13068         (memcmp): Don't use BP_SYM.
13069         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
13070         <bp-sym.h> and <bp-asm.h>.
13071         (memcpy): Don't use BP_SYM.
13072         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
13073         <bp-sym.h> and <bp-asm.h>.
13074         (__mempcpy): Don't use BP_SYM.
13075         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
13076         <bp-sym.h> and <bp-asm.h>.
13077         (__memrchr): Don't use BP_SYM.
13078         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
13079         <bp-sym.h> and <bp-asm.h>.
13080         (memset): Don't use BP_SYM.
13081         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
13082         <bp-sym.h> and <bp-asm.h>.
13083         (__rawmemchr): Don't use BP_SYM.
13084         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
13085         <bp-sym.h> and <bp-asm.h>.
13086         (__STRCMP): Don't use BP_SYM.
13087         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
13088         <bp-sym.h> and <bp-asm.h>.
13089         (strchr): Don't use BP_SYM.
13090         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
13091         <bp-sym.h> and <bp-asm.h>.
13092         (__strchrnul): Don't use BP_SYM.
13093         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
13094         <bp-sym.h> and <bp-asm.h>.
13095         (strlen): Don't use BP_SYM.
13096         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
13097         <bp-sym.h> and <bp-asm.h>.
13098         (strncmp): Don't use BP_SYM.
13099         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
13100         <bp-sym.h> and <bp-asm.h>.
13101         (__strnlen): Don't use BP_SYM.
13102         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
13103         <bp-asm.h>.
13104         (__mpn_rshift): Don't use BP_SYM.
13105         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
13106         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
13107         <bp-sym.h> and <bp-asm.h>.
13108         (__sigsetjmp): Don't use BP_SYM.
13109         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
13110         (L(start_addresses)): Don't use BP_SYM.
13111         (_start): Likewise.
13112         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
13113         <bp-asm.h>.
13114         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
13115         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
13116         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
13117         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
13118         <bp-asm.h>.
13119         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
13120         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
13121         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
13122         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
13123         <bp-asm.h>.
13124         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
13125         comments.
13126         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
13127         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
13128         <bp-asm.h>.
13129         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
13130         FIXME comments.
13131         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
13132         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
13133         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
13134         <bp-asm.h>.
13135         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
13136         comment.
13137         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
13138         and <bp-asm.h>.
13139         (strncmp): Don't use BP_SYM,
13140         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
13141         <bp-asm.h>.
13142         (__mpn_sub_n): Don't use BP_SYM.
13143         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
13144         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
13145         and <bp-asm.h>.
13146         (__mpn_submul_1): Don't use BP_SYM.
13147         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
13148         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
13149         <bp-sym.h> and <bp-asm.h>.
13150         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
13151         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
13152         <bp-sym.h> and <bp-asm.h>.
13153         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
13154         comment.
13156 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
13158         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
13159         Use ZK to minimize writes to Z.
13160         (sub_magnitudes): Simplify code a bit.
13161         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
13162         Use ZK to minimize writes to Z.
13163         (sub_magnitudes): Simplify code a bit.
13165 2013-02-27  Roland McGrath  <roland@hack.frob.com>
13167         * csu/gmon-start.c: Add special exception to license text.
13169 2013-02-27  Richard Henderson  <rth@redhat.com>
13171         * scripts/config.guess: Update from config.git.
13172         * scripts/config.sub: Likewise.
13174 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
13176         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
13178         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
13180         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
13182         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
13184         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
13186 2013-02-26  Roland McGrath  <roland@hack.frob.com>
13188         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
13189         [$(build-shared = yes].
13191 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
13193         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
13194         (__mul): Reduce iterations for calculating mantissa.
13196         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
13197         MPTWO.
13198         (__mpranred): Likewise.
13200         [BZ #15160]
13201         * malloc/memusagestat.c (main): Draw graphs for heap and stack
13202         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
13204 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
13206         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
13207         Define __attribute__.
13209 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
13211         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
13212         unused.
13213         * posix/regex_internal.h (__attribute): Remove.
13214         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
13215         (re_string_context_at): Likewise.
13216         (bitset_not): Use __attribute__ and mark function as possibly
13217         unused.
13218         (bitset_merge): Likewise.
13219         (bitset_mask): Likewise.
13220         (re_string_char_size_at): Likewise.
13221         (re_string_wchar_at): Likewise.
13222         (re_string_elem_size_at): Likewise.
13224 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
13226         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
13227         code.
13228         (cc32): Likewise.
13230         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
13231         (__acr): Likewise.
13232         (__cpy): Likewise.
13233         (norm): Likewise.
13234         (denorm): Likewise.
13235         (__dbl_mp): Likewise.
13236         (add_magnitudes): Likewise.
13237         (sub_magnitudes): Likewise.
13238         (__mul): Likewise.
13239         (__inv): Likewise.
13241         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
13242         style.
13244         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
13245         style.
13247         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
13248         code.
13250         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
13251         up changes with default code.
13252         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
13253         Likewise.
13255 2013-02-24  Allan McRae  <allan@archlinux.org>
13257         * manual/socket.texi (The Internet Namespace): Order menu items
13258         to match that in the file.
13260         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
13261         node listing of the info page menu.
13263 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
13265         [BZ #13550]
13266         * sysdeps/i386/bp-asm.h: Remove file.
13267         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
13268         (PARMS): Do not use macros from bp-asm.h.
13269         (S1): Likewise.
13270         (S2): Likewise.
13271         (SIZE): Likewise.
13272         (__mpn_add_n): Do not use BP_SYM
13273         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
13274         "bp-asm.h".
13275         (PARMS): Do not use macros from bp-asm.h.
13276         (S1): Likewise.
13277         (SIZE): Likewise.
13278         (__mpn_addmul_1): Do not use BP_SYM
13279         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
13280         "bp-asm.h".
13281         (PARMS): Do not use macros from bp-asm.h.
13282         (SIGMSK): Likewise.
13283         (_setjmp): Likewise.  Do not use BP_SYM.
13284         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
13285         "bp-asm.h".
13286         (PARMS): Do not use macros from bp-asm.h.
13287         (SIGMSK): Likewise.
13288         (setjmp): Likewise.  Do not use BP_SYM.
13289         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
13290         "bp-asm.h".
13291         (PARMS): Do not use macros from bp-asm.h.
13292         (__frexp): Do not use BP_SYM.
13293         (frexp): Likewise.
13294         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
13295         "bp-asm.h".
13296         (PARMS): Do not use macros from bp-asm.h.
13297         (__frexpf): Do not use BP_SYM.
13298         (frexpf): Likewise.
13299         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
13300         "bp-asm.h".
13301         (PARMS): Do not use macros from bp-asm.h.
13302         (__frexpl): Do not use BP_SYM.
13303         (frexpl): Likewise.
13304         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
13305         "bp-asm.h".
13306         (PARMS): Do not use macros from bp-asm.h.
13307         (__remquo): Do not use BP_SYM.
13308         (remquo): Likewise.
13309         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
13310         "bp-asm.h".
13311         (PARMS): Do not use macros from bp-asm.h.
13312         (__remquof): Do not use BP_SYM.
13313         (remquof): Likewise.
13314         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
13315         "bp-asm.h".
13316         (PARMS): Do not use macros from bp-asm.h.
13317         (__remquol): Do not use BP_SYM.
13318         (remquol): Likewise.
13319         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
13320         "bp-asm.h".
13321         (PARMS): Do not use macros from bp-asm.h.
13322         (DEST): Likewise.
13323         (SRC): Likewise.
13324         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
13325         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
13326         "bp-asm.h".
13327         (PARMS): Do not use macros from bp-asm.h.
13328         (strlen): Do not use BP_SYM.
13329         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
13330         "bp-asm.h".
13331         (PARMS): Do not use macros from bp-asm.h.
13332         (S1): Likewise.
13333         (S2): Likewise.
13334         (SIZE): Likewise.
13335         (__mpn_add_n): Do not use BP_SYM.
13336         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
13337         "bp-asm.h".
13338         (PARMS): Do not use macros from bp-asm.h.
13339         (S1): Likewise.
13340         (SIZE): Likewise.
13341         (__mpn_addmul_1): Do not use BP_SYM.
13342         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
13343         weak_alias.
13344         (bzero): Likewise.
13345         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
13346         "bp-asm.h".
13347         (PARMS): Do not use macros from bp-asm.h.
13348         (S): Likewise.
13349         (SIZE): Likewise.
13350         (__mpn_lshift): Do not use BP_SYM.
13351         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
13352         "bp-asm.h".
13353         (PARMS): Do not use macros from bp-asm.h.
13354         (DEST): Likewise.
13355         (SRC): Likewise.
13356         (LEN): Likewise.
13357         (memcpy): Likewise.  Do not use BP_SYM.
13358         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
13359         libc_hidden_def and weak_alias.
13360         (mempcpy): Do not use BP_SYM in weak_alias.
13361         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
13362         "bp-asm.h".
13363         (PARMS): Do not use macros from bp-asm.h.
13364         (DEST): Likewise.
13365         (LEN): Likewise.
13366         [!BZERO_P] (CHR): Likewise.
13367         (memset): Likewise.  Do not use BP_SYM.
13368         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
13369         "bp-asm.h".
13370         (PARMS): Do not use macros from bp-asm.h.
13371         (S1): Likewise.
13372         (SIZE): Likewise.
13373         (__mpn_mul_1): Do not use BP_SYM.
13374         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
13375         "bp-asm.h".
13376         (PARMS): Do not use macros from bp-asm.h.
13377         (S): Likewise.
13378         (SIZE): Likewise.
13379         (__mpn_rshift): Do not use BP_SYM.
13380         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
13381         "bp-asm.h".
13382         (PARMS): Do not use macros from bp-asm.h.
13383         (STR): Likewise.
13384         (CHR): Likewise.
13385         (strchr): Likewise.  Do not use BP_SYM.
13386         (index): Do not use BP_SYM in weak_alias.
13387         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
13388         "bp-asm.h".
13389         (PARMS): Do not use macros from bp-asm.h.
13390         (DEST): Likewise.
13391         (SRC): Likewise.
13392         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
13393         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
13394         "bp-asm.h".
13395         (PARMS): Do not use macros from bp-asm.h.
13396         (strlen): Do not use BP_SYM.
13397         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
13398         "bp-asm.h".
13399         (PARMS): Do not use macros from bp-asm.h.
13400         (S1): Likewise.
13401         (S2): Likewise.
13402         (SIZE): Likewise.
13403         (__mpn_sub_n): Do not use BP_SYM.
13404         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
13405         "bp-asm.h".
13406         (PARMS): Do not use macros from bp-asm.h.
13407         (S1): Likewise.
13408         (SIZE): Likewise.
13409         (__mpn_submul_1): Do not use BP_SYM.
13410         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
13411         "bp-asm.h".
13412         (PARMS): Do not use macros from bp-asm.h.
13413         (S1): Likewise.
13414         (S2): Likewise.
13415         (SIZE): Likewise.
13416         (__mpn_add_n): Do not use BP_SYM.
13417         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
13418         weak_alias.
13419         (bzero): Likewise.
13420         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
13421         "bp-asm.h".
13422         (PARMS): Do not use macros from bp-asm.h.
13423         (BLK2): Likewise.
13424         (LEN): Likewise.
13425         (memcmp): Do not use BP_SYM.
13426         (bcmp): Do not use BP_SYM in weak_alias.
13427         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
13428         "bp-asm.h".
13429         (PARMS): Do not use macros from bp-asm.h.
13430         (DEST): Likewise.
13431         (SRC): Likewise.
13432         (LEN): Likewise.
13433         (memcpy): Likewise.  Do not use BP_SYM.
13434         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
13435         "bp-asm.h".
13436         (PARMS): Do not use macros from bp-asm.h.
13437         (DEST): Likewise.
13438         (SRC): Likewise.
13439         (LEN): Likewise.
13440         (memmove): Likewise.  Do not use BP_SYM.
13441         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
13442         "bp-asm.h".
13443         (PARMS): Do not use macros from bp-asm.h.
13444         (DEST): Likewise.
13445         (SRC): Likewise.
13446         (LEN): Likewise.
13447         (__mempcpy): Likewise.  Do not use BP_SYM.
13448         (mempcpy): Do not use BP_SYM in weak_alias.
13449         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
13450         "bp-asm.h".
13451         (PARMS): Do not use macros from bp-asm.h.
13452         (DEST): Likewise.
13453         (LEN): Likewise.
13454         [!BZERO_P] (CHR): Likewise.
13455         (memset): Likewise.  Do not use BP_SYM.
13456         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
13457         "bp-asm.h".
13458         (PARMS): Do not use macros from bp-asm.h.
13459         (STR2): Likewise.
13460         (strcmp): Do not use BP_SYM.
13461         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
13462         "bp-asm.h".
13463         (PARMS): Do not use macros from bp-asm.h.
13464         (STR): Likewise.
13465         (DELIM): Likewise.
13466         [USE_AS_STRTOK_R] (SAVE): Likewise.
13467         (FUNCTION): Likewise.  Do not use BP_SYM.
13468         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
13469         aliases.
13470         (strtok_r): Likewise.
13471         (__GI___strtok_r): Likewise.
13472         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
13473         (PARMS): Do not use macros from bp-asm.h.
13474         (S): Likewise.
13475         (SIZE): Likewise.
13476         (__mpn_lshift): Do not use BP_SYM.
13477         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
13478         (PARMS): Do not use macros from bp-asm.h.
13479         (STR): Likewise.
13480         (CHR): Likewise.
13481         (__memchr): Do not use BP_SYM.
13482         (memchr): Do not use BP_SYM in weak_alias.
13483         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
13484         (PARMS): Do not use macros from bp-asm.h.
13485         (BLK2): Likewise.
13486         (LEN): Likewise.
13487         (memcmp): Do not use BP_SYM.
13488         (bcmp): Do not use BP_SYM in weak_alias.
13489         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
13490         (PARMS): Do not use macros from bp-asm.h.
13491         (S1): Likewise.
13492         (SIZE): Likewise.
13493         (__mpn_mul_1): Do not use BP_SYM.
13494         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
13495         "bp-asm.h".
13496         (PARMS): Do not use macros from bp-asm.h.
13497         (STR): Likewise.
13498         (CHR): Likewise.
13499         (__rawmemchr): Do not use BP_SYM.
13500         (rawmemchr): Do not use BP_SYM in weak_alias.
13501         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
13502         (PARMS): Do not use macros from bp-asm.h.
13503         (S): Likewise.
13504         (SIZE): Likewise.
13505         (__mpn_rshift): Do not use BP_SYM.
13506         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
13507         (PARMS): Do not use macros from bp-asm.h.
13508         (SIGMSK): Likewise.
13509         (__sigsetjmp): Likewise.  Do not use BP_SYM.
13510         * sysdeps/i386/start.S: Do not include "bp-sym.h".
13511         (_start): Do not use BP_SYM.
13512         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
13513         (PARMS): Do not use macros from bp-asm.h.
13514         (DEST): Likewise.
13515         (SRC): Likewise.
13516         (__stpcpy): Likewise.  Do not use BP_SYM.
13517         (stpcpy): Do not use BP_SYM in weak_alias.
13518         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
13519         "bp-asm.h".
13520         (PARMS): Do not use macros from bp-asm.h.
13521         (DEST): Likewise.
13522         (SRC): Likewise.
13523         (LEN): Likewise.
13524         (__stpncpy): Likewise.  Do not use BP_SYM.
13525         (stpncpy): Do not use BP_SYM in weak_alias.
13526         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
13527         (PARMS): Do not use macros from bp-asm.h.
13528         (STR): Likewise.
13529         (CHR): Likewise.
13530         (strchr): Likewise.  Do not use BP_SYM.
13531         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
13532         "bp-asm.h".
13533         (PARMS): Do not use macros from bp-asm.h.
13534         (STR): Likewise.
13535         (CHR): Likewise.
13536         (__strchrnul): Likewise.  Do not use BP_SYM.
13537         (strchrnul): Do not use BP_SYM in weak_alias.
13538         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
13539         "bp-asm.h".
13540         (PARMS): Do not use macros from bp-asm.h.
13541         (STOP): Likewise.
13542         (strcspn): Do not use BP_SYM.
13543         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
13544         "bp-asm.h".
13545         (PARMS): Do not use macros from bp-asm.h.
13546         (STR): Likewise.
13547         (STOP): Likewise.
13548         (strpbrk): Likewise.  Do not use BP_SYM.
13549         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
13550         "bp-asm.h".
13551         (PARMS): Do not use macros from bp-asm.h.
13552         (STR): Likewise.
13553         (CHR): Likewise.
13554         (strrchr): Likewise.  Do not use BP_SYM.
13555         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
13556         (PARMS): Do not use macros from bp-asm.h.
13557         (SKIP): Likewise.
13558         (strspn): Do not use BP_SYM.
13559         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
13560         (PARMS): Do not use macros from bp-asm.h.
13561         (STR): Likewise.
13562         (DELIM): Likewise.
13563         (SAVE): Likewise.
13564         (FUNCTION): Likewise.  Do not use BP_SYM.
13565         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
13566         aliases.
13567         (strtok_r): Likewise.
13568         (__GI___strtok_r): Likewise.
13569         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
13570         (PARMS): Do not use macros from bp-asm.h.
13571         (S1): Likewise.
13572         (S2): Likewise.
13573         (SIZE): Likewise.
13574         (__mpn_sub_n): Do not use BP_SYM.
13575         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
13576         "bp-asm.h".
13577         (PARMS): Do not use macros from bp-asm.h.
13578         (S1): Likewise.
13579         (SIZE): Likewise.
13580         (__mpn_submul_1): Do not use BP_SYM.
13581         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
13582         <bp-sym.h>.
13583         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
13584         and <bp-asm.h>.
13585         (PARMS): Do not use macros from bp-asm.h.
13586         (FLAGS): Likewise.
13587         (PTID): Likewise.
13588         (TLS): Likewise.
13589         (CTID): Likewise.
13590         (__clone): Do not use BP_SYM.
13591         (clone): Do not use BP_SYM in weak_alias.
13592         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
13593         and <bp-asm.h>.
13594         (PARMS): Do not use macros from bp-asm.h.
13595         (LEN): Likewise.
13596         (__mmap64): Do not use BP_SYM.
13597         (mmap64): Do not use BP_SYM in weak_alias.
13598         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
13599         <bp-sym.h> and <bp-asm.h>.
13600         (PARMS): Do not use macros from bp-asm.h.
13601         (__posix_fadvise64_l64): Do not use BP_SYM.
13602         * sysdeps/unix/sysv/linux/i386/semtimedop.S
13603         (PARMS): Do not use macros from bp-asm.h.
13604         (NSOPS): Likewise.
13605         (semtimedop): Do not use BP_SYM.
13606         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
13607         and <bp-asm.h>.
13609 2013-02-21  Allan McRae  <allan@archlinux.org>
13611         * manual/message.texi (Charset conversion in gettext):
13612         Move @end statement to beginning of line.
13614 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
13616         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
13617         static.
13618         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
13619         Likewise.
13621         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
13622         (denorm): Likewise.
13623         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
13624         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
13626 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
13628         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
13629         tail-call to the resolved function if pltexit isn't needed.
13631 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
13633         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
13634         or Y being zero as being unlikely.
13635         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
13636         Likewise.
13638 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
13640         * manual/nss.texi (System Databases and Name Service Switch):
13641         Remove frobnicate @pxref.
13643 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
13645         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
13646         __attribute__ ((unused)) to __attribute__ ((__unused__)).
13648 2013-02-20  Petr Machata  <pmachata@redhat.com>
13650         * elf/elf.h (R_ARM_TARGET1): New macro.
13651         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
13652         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
13653         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
13654         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
13655         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
13656         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
13657         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
13658         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
13659         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
13660         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
13661         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
13662         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
13663         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
13664         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
13665         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
13666         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
13667         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
13668         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
13669         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
13670         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
13671         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
13672         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
13673         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
13674         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
13675         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
13676         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
13677         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
13678         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
13679         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
13680         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
13681         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
13682         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
13683         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
13684         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
13685         (R_ARM_THM_GOT_BREL12): Likewise.
13686         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
13687         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
13688         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
13689         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
13690         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
13691         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
13692         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
13693         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
13694         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
13696 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
13698         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
13699         __attribute_used__ to __attribute__ ((unused)).
13701 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
13703         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
13704         powerpc mpa.c.
13705         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
13706         comment formatting.
13707         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
13709 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
13711         [BZ #13550]
13712         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
13713         Remove macro.
13714         (ENTER): Remove both macro definitions.
13715         (LEAVE): Likewise.
13716         (CHECK_BOUNDS_LOW): Likewise.
13717         (CHECK_BOUNDS_HIGH): Likewise.
13718         (CHECK_BOUNDS_BOTH): Likewise.
13719         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
13720         (RETURN_BOUNDED_POINTER): Likewise.
13721         (RETURN_NULL_BOUNDED_POINTER): Likewise.
13722         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
13723         (POP_ERRNO_LOCATION_RETURN): Likewise.
13724         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
13725         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
13726         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
13727         macros.
13728         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
13729         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
13730         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
13731         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
13732         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
13733         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
13734         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
13735         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
13736         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
13737         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
13738         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
13739         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
13740         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
13741         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
13742         removed macros.
13743         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
13744         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
13745         macros.
13746         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
13747         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
13748         * sysdeps/i386/i586/memset.S (memset): Likewise.
13749         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
13750         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
13751         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
13752         macros.
13753         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
13754         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
13755         Change uses of L(2) to L(out).
13756         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
13757         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
13758         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
13759         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
13760         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
13761         removed macros.
13762         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
13763         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
13764         macros.
13765         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
13766         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
13767         (RETURN): Do not use macro LEAVE.
13768         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
13769         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
13770         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
13771         * sysdeps/i386/i686/memset.S (memset): Likewise.
13772         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
13773         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
13774         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
13775         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
13776         Likewise.
13777         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
13778         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
13779         L(1_2) and L(1_3) into L(1).
13780         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
13781         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
13782         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
13783         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
13784         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
13785         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
13786         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
13787         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
13788         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
13789         macros.
13790         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
13791         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
13792         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
13793         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
13794         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
13795         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
13796         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
13797         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
13798         * sysdeps/i386/strcspn.S (strcspn): Likewise.
13799         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
13800         * sysdeps/i386/strrchr.S (strrchr): Likewise.
13801         * sysdeps/i386/strspn.S (strspn): Likewise.
13802         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
13803         conditional code.
13804         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
13805         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
13806         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
13807         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
13808         L(1_3) into L(1_1).
13809         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
13810         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
13811         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
13812         macros.
13813         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
13815 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
13817         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
13818         macro.
13820 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
13822         * math/atest-exp.c (exp_mpn): Remove ROUND.
13823         * math/atest-exp2.c (exp_mpn): Likewise.
13824         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
13826         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
13827         * stdlib/tst-tls-atexit-lib.c: Likewise.
13828         * stdlib/tst-tls-atexit.c: Likewise.
13830 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
13832         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
13833         and __attribute_alloc_size__.
13835 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
13837         * include/programs/xmalloc.h: Change __attribute_alloc_size to
13838         __attribute_alloc_size__.
13839         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
13840         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
13842 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
13844         * include/programs/xmalloc.h: New file.
13845         * catgets/gencat.c: Include it.
13846         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
13847         * elf/pldd.c: Likewise.
13848         * iconv/iconv_charmap.c: Likewise.
13849         * iconv/iconvconfig.c: Likewise.
13850         * iconv/strtab.c: Likewise.
13851         * locale/programs/locale.c: Likewise.
13852         * locale/programs/localedef.h: Likewise.
13853         * locale/programs/simple-hash.c: Likewise.
13854         * nscd/nscd.h: Likewise.
13855         * nss/makedb.c: Likewise.
13856         * sysdeps/generic/ldconfig.h: Likewise.
13858 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
13860         * Versions.def: Add GLIBC_2.18.
13861         * include/link.h (struct link_map): New member l_tls_dtor_count.
13862         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
13863         (__call_tls_dtors): Likewise.
13864         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
13865         __cxa_thread_atexit_impl.
13866         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
13867         Likewise.
13868         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
13869         Likewise.
13870         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
13871         Likewise.
13872         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
13873         Likewise.
13874         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
13875         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
13876         Likewise.
13877         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
13878         Likewise.
13879         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
13880         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
13881         Likewise.
13882         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
13883         (tests): Add test case tst-tls-atexit.
13884         (modules-names): Add shared library for tst-tls-atexit.
13885         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
13886         (GLIBC_PRIVATE): Add __call_tls_dtors.
13887         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
13888         for libstdc++.
13889         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
13890         * stdlib/tst-tls-atexit.c: New test case.
13891         * stdlib/tst-tls-atexit-lib.c: New test case.
13893         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
13895         * elf/Versions (ld): Add _dl_find_dso_for_object.
13896         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
13897         * elf/dl-open.c (_dl_find_dso_for_object): New function.
13898         (dl_open_worker): Use _dl_find_dso_for_object.
13899         * elf/dl-sym.c (do_sym): Likewise.
13900         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
13902 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
13904         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
13905         Syntactic changes only.
13906         (_dl_runtime_profile): Do a tail-call to the resolved function.
13908 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
13910         [BZ #13550]
13911         * sysdeps/x86_64/bp-asm.h: Remove file.
13912         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
13913         <bp-sym.h> and <bp-asm.h>.
13914         (__clone): Do not use BP_SYM.
13915         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
13916         <bp-sym.h> and <bp-asm.h>.
13917         * sysdeps/unix/x86_64/sysdep.S: Likewise.
13918         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
13919         "bp-asm.h".
13920         (_setjmp): Do not use BP_SYM.
13921         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
13922         "bp-asm.h".
13923         (setjmp): Do not use BP_SYM.
13924         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
13925         libc_hidden_def.
13926         (mempcpy): Do not use BP_SYM in weak_alias.
13927         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
13928         "bp-asm.h".
13929         (strchr): Do not use BP_SYM.
13930         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
13931         "bp-asm.h".
13932         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
13933         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
13934         (_start): Do not use BP_SYM.
13935         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
13936         "bp-asm.h".
13937         (strcat): Do not use BP_SYM.
13938         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
13939         "bp-asm.h".
13940         (STRCMP): Do not use BP_SYM.
13941         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
13942         "bp-asm.h".
13943         (STRCPY): Do not use BP_SYM.
13944         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
13945         "bp-asm.h".
13946         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
13947         "bp-asm.h".
13948         (FUNCTION): Do not use BP_SYM.
13949         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
13950         weak_alias.
13951         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
13953 2013-02-17  Andreas Jaeger  <aj@suse.de>
13955         * time/Versions: Sort entries.
13956         * string/Versions: Likewise.
13957         * resolv/Versions: Likewise.
13958         * posix/Versions: Likewise.
13959         * iconv/Versions: Likewise.
13960         * elf/Versions: Likewise.
13961         * wcsmbs/Versions: Likewise.
13963 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
13965         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
13966         loop termination condition.
13968         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
13969         variable to calculate EZ.
13970         (__sqr): Likewise.
13972         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
13973         the lower precision input.
13975 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
13977         [BZ #13550]
13978         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
13979         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
13980         (run-via-rtld-prefix): Do not handle %-bp tests.
13981         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
13982         (all-object-suffixes): Remove .ob.
13983         (bppfx): Remove variable.
13984         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
13985         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
13986         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
13987         [$(build-bounded) = yes] (libtype.ob): Likewise.
13988         * Makerules (elide-routines.ob): Remove variable.
13989         (do-tests-clean): Do not handle *-bp.out.
13990         (common-mostlyclean): Do not handle *-bp and *-bp.out.
13991         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
13992         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
13993         (tests): Do not include $(tests-bp.out).
13994         (xtests): Do not include $(xtests-bp.out).
13995         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
13996         [$(build-bounded) = yes] ($(addprefix
13997         $(objpfx),$(binaries-bounded))): Remove rule.
13998         ($(objpfx)%-bp.out): Remove rule.
13999         * config.make.in (build-bounded): Remove variable.
14000         * crypt/Makefile [$(build-bounded) = yes]
14001         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
14002         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
14003         append to variable.
14004         [$(build-bounded) = yes] (install-lib): Likewise.
14005         [$(build-bounded) = yes] (generated): Likewise.
14006         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
14007         Remove rule.
14008         * intl/Makefile [$(build-bounded) = yes]
14009         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
14010         * math/Makefile [$(build-bounded) = yes]
14011         ($(tests:%=$(objpfx)%-bp): Likewise.
14012         * misc/Makefile [$(build-bounded) = yes]
14013         ($(objpfx)tst-tsearch-bp): Likewise.
14014         * nptl/Makeconfig (bounded-thread-library): Remove variable.
14015         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
14016         Remove dependency.
14017         * string/Makefile (o-objects.ob): Remove variable.
14018         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
14019         (CFLAGS-.ob): Remove variable.
14020         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
14021         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
14022         both definitions of variable.
14023         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
14024         (ASFLAGS-.ob): Remove variable.
14026 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
14028         [BZ #13550]
14029         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
14030         Remove __BOUNDED_POINTERS__ from condition.
14031         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
14032         * string/bits/string2.h [!__NO_STRING_INLINES &&
14033         !__BOUNDED_POINTERS__]: Likewise.
14034         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
14035         Likewise.
14036         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
14037         Remove conditional code.
14038         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
14039         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
14040         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
14041         condition.
14043         [BZ #13550]
14044         * csu/libc-start.c: Do not include <bp-sym.h>.
14045         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
14046         * elf/dl-open.c: Do not include <bp-sym.h>.
14047         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
14048         * math/fegetenv.c: Do not include <bp-sym.h>.
14049         (fegetenv): Do not use BP_SYM in versioned symbols.
14050         * nptl/sysdeps/pthread/bits/libc-lockP.h
14051         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
14052         <bp-sym.h>.
14053         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14054         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
14055         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14056         (__pthread_mutex_destroy): Likewise.
14057         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14058         (__pthread_mutex_lock): Likewise.
14059         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14060         (__pthread_mutex_trylock): Likewise.
14061         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14062         (__pthread_mutex_unlock): Likewise.
14063         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14064         (__pthread_mutexattr_init): Likewise.
14065         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14066         (__pthread_mutexattr_destroy): Likewise.
14067         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14068         (__pthread_mutexattr_settype): Likewise.
14069         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14070         (__pthread_rwlock_init): Likewise.
14071         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14072         (__pthread_rwlock_destroy): Likewise.
14073         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14074         (__pthread_rwlock_rdlock): Likewise.
14075         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14076         (__pthread_rwlock_tryrdlock): Likewise.
14077         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14078         (__pthread_rwlock_wrlock): Likewise.
14079         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14080         (__pthread_rwlock_trywrlock): Likewise.
14081         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14082         (__pthread_rwlock_unlock): Likewise.
14083         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14084         (__pthread_key_create): Likewise.
14085         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14086         (__pthread_setspecific): Likewise.
14087         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14088         (__pthread_getspecific): Likewise.
14089         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
14090         Likewise.
14091         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14092         (_pthread_cleanup_push_defer): Likewise.
14093         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14094         (_pthread_cleanup_pop_restore): Likewise.
14095         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14096         (pthread_setcancelstate): Likewise.
14097         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
14098         <bp-sym.h>.
14099         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
14100         (memchr): Do not use BP_SYM in weak_alias.
14101         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
14102         (fegetenv): Do not use BP_SYM in versioned symbols.
14103         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
14104         (fesetenv): Do not use BP_SYM in versioned symbols.
14105         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
14106         (feupdateenv): Do not use BP_SYM in versioned symbols.
14107         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
14108         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
14109         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
14110         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
14111         (open64): Do not use BP_SYM in weak_alias.
14112         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
14113         (fegetenv): Do not use BP_SYM in versioned symbols.
14114         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
14115         (fesetenv): Do not use BP_SYM in versioned symbols.
14116         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
14117         (feupdateenv): Do not use BP_SYM in versioned symbols.
14118         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
14119         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
14120         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
14121         (feraiseexcept): Do not use BP_SYM in versioned symbols.
14122         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
14123         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
14124         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
14125         <bp-sym.h>.
14126         (__libc_start_main): Do not use BP_SYM.
14128 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
14130         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
14131         redundant return line.
14132         (norm): Likewise.
14133         (denorm): Likewise.
14134         (dbl_mp): Likewise.
14135         (sub_magnitudes): Likewise.
14136         (__add): Likewise.
14137         (__sub): Likewise.
14138         (__mul): Likewise.
14139         (__inv): Likewise.
14140         (__dvd): Likewise.
14141         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
14142         (norm): Likewise.
14143         (denorm): Likewise.
14144         (dbl_mp): Likewise.
14145         (sub_magnitudes): Likewise.
14146         (__add): Likewise.
14147         (__sub): Likewise.
14148         (__mul): Likewise.
14149         (__inv): Likewise.
14150         (__dvd): Likewise.
14152         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
14153         instead of __mul.
14154         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
14155         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
14156         (cc32): Likewise.
14158         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
14159         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
14160         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
14161         of __mul for squares.
14162         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
14163         function
14164         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
14165         Likewise.
14166         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
14167         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
14169 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
14171         [BZ #13550]
14172         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
14173         code.
14174         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
14175         prototype or function definition.  Rename ubp_* variables and
14176         parameters.  Remove argv definitions conditional on
14177         [__BOUNDED_POINTERS__].
14178         * debug/backtrace.c (__backtrace): Do not use __unbounded.
14179         * elf/dl-runtime.c (_dl_fixup): Likewise.
14180         * include/set-hooks.h (RUN_HOOK): Likewise.
14181         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
14182         definition.
14183         * string/strcpy.c (strcpy): Do not use __unbounded.
14184         * sysdeps/generic/frame.h (struct layout): Likewise.
14185         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
14186         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
14187         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
14188         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
14189         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
14190         (__backtrace): Likewise.
14191         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
14192         use __ptrvalue.
14193         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
14194         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
14195         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
14196         Likewise.
14197         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
14198         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
14199         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
14200         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
14201         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
14202         Do not use __unbounded.
14203         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
14204         Rename __unboundedrlimits parameter to rlimits in prototype.
14205         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
14206         Do not use __unbounded.
14207         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
14208         not use __ptrvalue.
14209         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
14210         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
14211         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
14212         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
14213         __ptrvalue or __unbounded.
14214         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
14215         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
14216         use __unbounded.
14217         (__new_msgctl): Do not use __ptrvalue.
14218         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
14219         __unbounded.
14220         (__libc_msgrcv): Do not use __ptrvalue.
14221         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
14222         startup_info): Do not use __unbounded.
14223         (__libc_start_main): Likewise.  Rename ubp_* variables and
14224         parameters.  Remove argv definitions conditional on
14225         [__BOUNDED_POINTERS__].
14226         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
14227         __ptrvalue.
14228         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
14229         use __unbounded.
14230         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
14231         or __ptrvalue.
14232         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
14233         use __unbounded.
14234         (__new_shmctl): Do not use __ptrvalue.
14235         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
14236         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
14237         Likewise.
14238         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
14239         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
14240         (__libc_sigaction): Likewise.
14241         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
14242         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
14243         Likewise.
14244         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
14246 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
14248         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
14250         * string/mempcpy.c: Implement by calling memcpy.
14252 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
14254         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
14256         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
14257         evaluation.
14259         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
14260         values in the mantissa.
14262         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
14263         minimize writes to Z.
14264         (sub_magnitudes): Simplify code a bit.
14266 2013-02-12  Roland McGrath  <roland@hack.frob.com>
14268         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
14269         from the message.  The linker prefixes all warnings with that already.
14271 2013-02-12  Andreas Schwab  <schwab@suse.de>
14273         [BZ #15078]
14274         * posix/regexec.c (extend_buffers): Add parameter min_len.
14275         (check_matching): Pass minimum needed length.
14276         (clean_state_log_if_needed): Likewise.
14277         (get_subexp): Likewise.
14278         * posix/Makefile (tests): Add bug-regex34.
14279         (bug-regex34-ENV): Define.
14280         * posix/bug-regex34.c: New file.
14282         [BZ #11561]
14283         * posix/regcomp.c (parse_bracket_exp): When looking up collating
14284         elements compare against the byte sequence of it, not its name.
14285         * posix/Makefile (tests): Add bug-regex35.
14286         (bug-regex35-ENV): Define.
14287         * posix/bug-regex35.c: New file.
14289 2013-02-11  Tom de Vries  <tom@codesourcery.com>
14291         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
14292         comment.
14293         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
14294         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
14295         (CHECK_EOL): Add undef.
14297 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
14299         * bits/stdlib-bsearch.h: New file.
14300         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
14301         * stdlib/stdlib.h: Likewise.
14303 2013-02-11  Roland McGrath  <roland@hack.frob.com>
14305         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
14306         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
14307         declaration.
14308         * manual/search.texi (Array Search Function): Add missing const in
14309         lfind prototype.
14310         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
14311         declaration to use rlim_t.
14312         (Basic Scheduling Functions): Remove erroneous const from
14313         sched_getparam prototype.  Remove erroneous * from
14314         sched_get_priority_max and sched_get_priority_min prototypes.
14315         (Resource Usage): Fix summary @comment on vtimes to refer to
14316         sys/vtimes.h rather than vtimes.h.
14317         Add missing *s in vtimes prototype.
14318         (Limits on Resources): Fix ulimit prototype to return long int.
14319         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
14320         prototypes to use long int rather than double.
14321         (BSD Random): Fix initstate and setstate to use char *, not void *.
14322         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
14323         prototype to make second argument 'struct aiocb64 *const[]'.
14324         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
14325         (Status of AIO Operations): Remove erroneous const in aio_return and
14326         aio_return64 prototypes.
14327         (Synchronizing I/O): Fix sync prototype to return void.
14328         * manual/startup.texi (Suboptions): Remove an erroneous const in
14329         getsubopt prototype.
14330         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
14331         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
14332         use size_t rather than int.
14333         (Scanning All Users): Likewise for getpwent_r.
14334         (Setting Groups): Add missing const to setgroups prototype.
14335         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
14336         * manual/socket.texi (Host Names): Fix gethostbyaddr and
14337         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
14338         'const void *' rather than 'const char *'.
14339         (Host Address Functions): Likewise for inet_ntop.
14340         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
14341         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
14342         ssize_t for return value.
14343         (Sending Data): Likewise for send, sendto, sendmsg.
14344         (Socket Option Functions): Add a missing const in setsockopt prototype.
14345         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
14346         use wchar_t for the argument.
14347         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
14348         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
14349         take no arguments.
14350         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
14351         double/float/long double for second argument.
14352         Fix return types of significand, significandf, significandl.
14353         * manual/filesys.texi (Setting Permissions): Use mode_t for second
14354         argument in fchmod prototype.
14355         (File Owner): Use uid_t and gid_t in fchown prototype.
14356         (File Times): Add const to utimes, futimes, and lutimes prototypes.
14357         (Making Special Files): Use mode_t and dev_t in mknod prototype.
14358         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
14359         use 'const struct dirent **' as argument types to CMP function pointer
14360         argument.
14361         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
14362         (File Times): Fix summary magic @comment for struct utimbuf and utime
14363         to refer to utime.h, not time.h.
14364         * manual/string.texi (Argz Functions): Add missing const in
14365         argz_extract and argz_next prototypes.
14366         (Finding Tokens in a String): Likewise for basename.
14367         (String/Array Comparison): Fix typo in wcscasecmp prototype.
14368         (Copying and Concatenation): Fix typo in wmemmove prototype.
14369         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
14370         (Signal Stack): Remove erroneous const in sigstack prototype.
14371         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
14372         prototype.
14373         (Simple Calendar Time): Likewise for stime.
14374         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
14375         prototype.
14376         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
14377         say sys/sysctl.h instead.
14378         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
14379         and vsyslog prototypes.
14381 2013-02-11  Tom de Vries  <tom@codesourcery.com>
14383         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
14384         Remove.
14386 2013-02-11  Roland McGrath  <roland@hack.frob.com>
14388         * misc/sys/mman.h: Fix typo in mremap comment.
14390 2013-02-08  Roland McGrath  <roland@hack.frob.com>
14392         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
14393         the '\0' terminator.
14395 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
14397         [BZ #13550]
14398         * debug/segfault.c: Don't include <bp-checks.h>.
14399         * sysdeps/generic/bp-checks.h: Remove file.
14400         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
14401         (__GETDENTS): Don't use CHECK_N.
14402         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
14403         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
14404         (__getgroups): Don't use CHECK_N.
14405         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
14406         (setgroups): Don't use CHECK_N.
14407         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
14408         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
14409         (__libc_msgrcv): Don't use CHECK_N.
14410         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
14411         (__libc_msgsnd): Don't use CHECK_N.
14412         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
14413         <bp-checks.h>.
14414         (__libc_pread): Don't use CHECK_N.
14415         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
14416         include <bp-checks.h>.
14417         (__libc_pread64): Don't use CHECK_N.
14418         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
14419         include <bp-checks.h>.
14420         (__libc_pwrite): Don't use CHECK_N.
14421         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
14422         include <bp-checks.h>.
14423         (__libc_pwrite64): Don't use CHECK_N.
14424         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
14425         <bp-checks.h>.
14426         (__libc_pread): Don't use CHECK_N.
14427         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
14428         include <bp-checks.h>.
14429         (__libc_pread64): Don't use CHECK_N.
14430         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
14431         include <bp-checks.h>.
14432         (__libc_pwrite): Don't use CHECK_N.
14433         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
14434         include <bp-checks.h>.
14435         (__libc_pwrite64): Don't use CHECK_N.
14436         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
14437         (do_pread): Don't use CHECK_N.
14438         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
14439         (do_pread64): Don't use CHECK_N.
14440         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
14441         (do_pwrite): Don't use CHECK_N.
14442         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
14443         (do_pwrite64): Don't use CHECK_N.
14444         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
14445         (__libc_readv): Don't use CHECK_N.
14446         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
14447         (semop): Don't use CHECK_N.
14448         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
14449         <bp-checks.h>.
14450         (semtimedop): Don't use CHECK_N.
14451         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
14452         (__libc_pread): Don't use CHECK_N.
14453         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
14454         <bp-checks.h>.
14455         (__libc_pread64): Don't use CHECK_N.
14456         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
14457         <bp-checks.h>.
14458         (__libc_pwrite): Don't use CHECK_N.
14459         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
14460         <bp-checks.h>.
14461         (__libc_pwrite64): Don't use CHECK_N.
14462         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
14463         <bp-checks.h>.
14464         (__libc_msgrcv): Don't use CHECK_N.
14465         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
14466         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
14467         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
14468         (__libc_writev): Don't use CHECK_N.
14470 2013-02-08  Roland McGrath  <roland@hack.frob.com>
14472         * string/strcpy.c: Removed unused variable.
14474         * Makeconfig (+sysdep-includes): Define with := rather than =.
14475         Use an existing include/ subdir of each sysdeps dir before it.
14477 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
14479         * nscd/connection.c (register_traced_file): Comment function.
14480         [HAVE_INOTIFY] (union __inev): Define.
14481         [HAVE_INOTIFY] (inotify_check_files): New function.
14482         [HAVE_INOTIFY] (clear_db_cache): Likewise.
14483         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
14484         clear_db_cache.
14485         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
14487 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
14489         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
14490         loaded if not already and that a failure is permanent.
14492 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
14494         [BZ #15006]
14495         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
14496         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
14498 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
14500         [BZ #13550]
14501         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
14502         (CHECK_1_NULL_OK): Likewise.
14503         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
14504         (__fxstat): Do not use CHECK_1.
14505         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
14506         <bp-checks.h>.
14507         (___fxstat64): Do not use CHECK_1.
14508         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
14509         <bp-checks.h>.
14510         (__fxstatat): Do not use CHECK_1.
14511         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
14512         <bp-checks.h>.
14513         (__fxstatat64): Do not use CHECK_1.
14514         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
14515         <bp-checks.h>.
14516         (__fxstat): Do not use CHECK_1.
14517         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
14518         <bp-checks.h>.
14519         (__fxstatat): Do not use CHECK_1.
14520         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
14521         <bp-checks.h>.
14522         (__getresgid): Do not use CHECK_1.
14523         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
14524         <bp-checks.h>.
14525         (__getresuid): Do not use CHECK_1.
14526         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
14527         <bp-checks.h>.
14528         (__lxstat): Do not use CHECK_1.
14529         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
14530         <bp-checks.h>.
14531         (__old_msgctl): Do not use CHECK_1.
14532         (__new_msgctl): Likewise.
14533         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
14534         <bp-checks.h>.
14535         (__new_setrlimit): Do not use CHECK_1.
14536         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
14537         <bp-checks.h>.
14538         (__old_shmctl): Do not use CHECK_1.
14539         (__new_shmctl): Likewise.
14540         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
14541         <bp-checks.h>.
14542         (__xstat): Do not use CHECK_1.
14543         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
14544         (__lxstat): Do not use CHECK_1.
14545         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
14546         <bp-checks.h>.
14547         (___lxstat64): Do not use CHECK_1.
14548         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
14549         (__old_msgctl): Do not use CHECK_1.
14550         (__new_msgctl): Likewise.
14551         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
14552         <bp-checks.h>.
14553         (__gettimeofday): Do not use CHECK_1.
14554         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
14555         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
14556         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
14557         <bp-checks.h>.
14558         (__gettimeofday): Do not use CHECK_1.
14559         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
14560         (__old_shmctl): Do not use CHECK_1_NULL_OK.
14561         (__new_shmctl): Do not use CHECK_1.
14562         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
14563         <bp-checks.h>.
14564         (do_sigtimedwait): Do not use CHECK_1.
14565         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
14566         <bp-checks.h>.
14567         (do_sigwaitinfo): Do not use CHECK_1.
14568         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
14569         <bp-checks.h>.
14570         (msgctl): Do not use CHECK_1.
14571         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
14572         <bp-checks.h>.
14573         (shmctl): Do not use CHECK_1.
14574         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
14575         (ustat): Do not use CHECK_1.
14576         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
14577         <bp-checks.h>.
14578         (__fxstat): Do not use CHECK_1.
14579         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
14580         <bp-checks.h>.
14581         (__fxstatat): Do not use CHECK_1.
14582         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
14583         <bp-checks.h>.
14584         (__lxstat): Do not use CHECK_1.
14585         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
14586         <bp-checks.h>.
14587         (__xstat): Do not use CHECK_1.
14588         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
14589         (__xstat): Do not use CHECK_1.
14590         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
14591         (___xstat64): Do not use CHECK_1.
14593         [BZ #13550]
14594         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
14595         definitions.
14596         (CHECK_BOUNDS_HIGH): Likewise.
14597         * string/strcpy.c: Do not include <bp-checks.h>.
14598         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
14600 2013-02-07  Roland McGrath  <roland@hack.frob.com>
14602         * nscd/nscd-client.h (__nscd_drop_map_ref):
14603         Add __attribute__ ((unused)).
14604         * nis/nss-nisplus.h (niserr2nss): Likewise.
14606         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
14607         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
14609         * csu/libc-tls.c (init_static_tls, init_slotinfo):
14610         Remove inline keyword.
14611         * include/rounding-mode.h (round_away): Likewise.
14612         * libio/wfileops.c (adjust_wide_data): Likewise.
14613         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
14614         (__m128i_strloadu_tolower): Likewise.
14615         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
14616         (__m128i_strloadu_tolower): Likewise.
14617         * time/mktime.c (ydhms_diff): Likewise.
14618         * locale/elem-hash.h (elem_hash): Likewise.
14619         * locale/setlocale.c (setdata): Likewise.
14620         * posix/regex_internal.h (re_string_char_size_at): Likewise.
14621         (re_string_wchar_at): Likewise.
14622         (bitset_not, bitset_merge, bitset_mask): Likewise.
14623         [!(__GNUC__ > 3)] (inline): Remove macro.
14624         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
14625         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
14626         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
14627         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
14628         * string/memcmp.c (memcmp_bytes): Likewise.
14629         * locale/programs/locarchive.c (compute_hashval): Likewise.
14630         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
14631         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
14632         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
14633         * nss/getent.c (print_rpc, print_protocols): Likewise.
14634         (print_passwd, print_group, print_aliases): Likewise.
14635         * nis/nss-nisplus.h (niserr2nss): Likewise.
14636         * nscd/connections.c (restart_p): Likewise.
14637         Change return type to bool.
14639 2013-02-05  Roland McGrath  <roland@hack.frob.com>
14641         * Makeconfig (all-Depend-files): Add existing
14642         $(sorted-subdirs:=/Depend) files.
14643         (all-subdirs): Remove nss.
14644         * sysdeps/unix/inet/Subdirs: Add it here instead.
14645         * hesiod/Depend: New file.
14647         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
14648         instead of calling alloca.
14650         * io/lseek.c (__lseek): Rename to __libc_lseek.
14651         Define __lseek as an alias.
14653         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
14655 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
14657         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
14658         else clause and remove check for non-standard endianness.
14660 2013-02-04  David S. Miller  <davem@davemloft.net>
14662         * sysdeps/sparc/fpu/libm-test-ulps: Update.
14664 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
14666         [BZ #13550]
14667         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
14668         (__ubp_memchr): Remove prototype.
14669         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
14670         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
14671         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
14672         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
14673         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
14674         Remove alias.
14675         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
14676         (__ubp_memchr): Likewise.
14677         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
14678         (__ubp_memchr): Likewise.
14679         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
14680         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
14681         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
14682         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
14683         CHECK_STRING.
14684         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
14685         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
14686         (__getcwd): Do not use CHECK_STRING.
14687         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
14688         <bp-checks.h>.
14689         (__real_chown): Do not use CHECK_STRING.
14690         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
14691         <bp-checks.h>.
14692         (fchownat): Do not use CHECK_STRING.
14693         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
14694         CHECK_STRING.
14695         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
14696         <bp-checks.h>.
14697         (__lchown): Do not use CHECK_STRING.
14698         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
14699         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
14700         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
14701         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
14702         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
14703         include <bp-checks.h>.
14704         (truncate64): Do not use CHECK_STRING.
14705         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
14706         <bp-checks.h>.
14707         (__real_chown): Do not use CHECK_STRING.
14708         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
14709         <bp-checks.h>.
14710         (__lchown): Do not use CHECK_STRING.
14711         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
14712         <bp-checks.h>.
14713         (__chown): Do not use CHECK_STRING.
14714         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
14715         <bp-checks.h>.
14716         (truncate64): Do not use CHECK_STRING.
14717         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
14718         Likewise.
14719         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
14720         (__xmknod): Do not use CHECK_STRING.
14721         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
14722         <bp-checks.h>.
14723         (__xmknodat): Do not use CHECK_STRING.
14724         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
14725         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
14727 2013-02-04  Andreas Schwab  <schwab@suse.de>
14729         [BZ #14142]
14730         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
14731         * include/netdb.h: Likewise for h_errno.
14732         * elf/tst-stackguard1.c: Include <tls.h>.
14734 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
14736         * elf/link.h (struct link_map): Extend the l_addr comment.
14737         * include/link.h (struct link_map): Likewise.
14739 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
14741         [BZ #13550]
14742         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
14743         (BOUNDED_1): Remove macro.
14744         * debug/backtrace.c: Don't include <bp-checks.h>.
14745         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
14746         (__backtrace): Likewise.
14747         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
14748         <bp-checks.h>.
14749         (__backtrace): Don't use BOUNDED_1.
14750         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
14751         <bp-checks.h>.
14752         (__backtrace): Don't use BOUNDED_1.
14753         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
14754         (__backtrace): Don't use BOUNDED_1.
14755         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
14756         (shmat): Don't use BOUNDED_N.
14758 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
14760         [BZ #13550]
14761         * sysdeps/generic/bp-start.h: Remove file.
14762         * csu/libc-start.c: Don't include <bp-start.h>.
14763         (LIBC_START_MAIN): Set up __environ directly instead of using
14764         INIT_ARGV_and_ENVIRON.
14765         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
14766         <bp-start.h>.
14768         [BZ #13550]
14769         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
14770         definitions.
14771         (CHECK_FCNTL): Likewise.
14772         (CHECK_N_PAGES): Likewise.
14774         [BZ #13550]
14775         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
14776         definitions.
14777         (CHECK_SIGSET_NULL_OK): Likewise.
14778         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
14779         <bp-checks.h>.
14780         (sigpending): Don't use CHECK_SIGSET.
14781         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
14782         <bp-checks.h>.
14783         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
14784         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
14785         <bp-checks.h>.
14786         (do_sigsuspend): Don't use CHECK_SIGSET.
14787         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
14788         use CHECK_SIGSET.
14789         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
14790         (do_sigwait): Don't use CHECK_SIGSET.
14791         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
14792         use CHECK_SIGSET.
14793         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
14794         include <bp-checks.h>.
14795         (sigpending): Don't use CHECK_SIGSET.
14796         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
14797         include <bp-checks.h>.
14798         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
14799         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
14800         <bp-checks.h>.
14801         (sigpending): Don't use CHECK_SIGSET.
14802         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
14803         <bp-checks.h>.
14804         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
14806         [BZ #13550]
14807         * sysdeps/generic/bp-semctl.h: Remove file.
14808         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
14809         <bp-checks.h> and <bp-semctl.h>.
14810         (__old_semctl): Don't use CHECK_SEMCTL.
14811         (__new_semctl): Likewise.
14812         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
14813         and <bp-semctl.h>.
14814         (__old_semctl): Don't use CHECK_SEMCTL.
14815         (__new_semctl): Likewise.
14816         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
14817         <bp-checks.h> and <bp-semctl.h>.
14818         (__old_semctl): Don't use CHECK_SEMCTL.
14819         (__new_semctl): Likewise.
14820         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
14821         <bp-checks.h> and <bp-semctl.h>.
14822         (semctl): Don't use CHECK_SEMCTL.
14824         [BZ #13550]
14825         * Makerules (elide-bp-thunks): Remove variable.
14826         (elide-routines.oS): Don't use $(elide-bp-thunks).
14827         (elide-routines.os): Likewise.
14828         (elide-routines.o): Likewise.
14829         (elide-routines.op): Likewise.
14830         (elide-routines.og): Likewise.
14831         (objects): Don't use $(bp-thunks).
14832         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
14833         include.
14834         (common-generated): Do not add s-proto-bp.d.
14835         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
14836         (int): Likewise.
14837         (typ): Likewise.
14838         Do not generate makefile rules for bounded-pointer thunks.
14839         * sysdeps/generic/bp-thunks.h: Remove file.
14840         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
14841         * sysdeps/unix/s-proto-bp.S: Likewise.
14843         [BZ #15062]
14844         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
14845         parts of result separately when argument is not close to line from
14846         -i to i and one part of argument is small.
14847         * math/k_casinhf.c (__kernel_casinhf): Likewise.
14848         * math/k_casinhl.c (__kernel_casinhl): Likewise.
14849         * math/libm-test.inc (cacos_test): Add more tests.
14850         (casin_test): Likewise.
14851         (casinh_test): Likewise.
14852         * sysdeps/i386/fpu/libm-test-ulps: Update.
14853         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14855 2013-01-31  David S. Miller  <davem@davemloft.net>
14857         * po/de.po: Update from translation team.
14859 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
14861         * time/tzfile.c: Include stdint.h for SIZE_MAX.
14863 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
14865         * configure.in (_AC_PROG_CC_C89): New definition.
14866         * configure: Regenerate.
14868         * configure.in (AC_PROG_CPP): New definition.
14869         * configure: Regenerate.
14871 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
14873         * debug/tst-backtrace.h: New file.
14874         * debug/tst-backtrace2.c: Include tst-backtrace.h.
14875         (ret): Remove variable.
14876         (x): Likewise.
14877         (FAIL): Remove macro.
14878         (NO_INLINE): Likewise.
14879         (fn1): Use match function instead of strstr.
14880         * debug/tst-backtrace3.c: Include tst-backtrace.h.
14881         (ret): Remove variable.
14882         (x): Likewise.
14883         (FAIL): Remove macro.
14884         (NO_INLINE): Likewise.
14885         (fn): Use match function instead of strstr.
14886         * debug/tst-backtrace4.c: Include tst-backtrace.h.
14887         (ret): Remove variable.
14888         (x): Likewise.
14889         (FAIL): Remove macro.
14890         (NO_INLINE): Likewise.
14891         (handle_signal): Use match function instead of strstr.
14892         * debug/tst-backtrace5.c: Include tst-backtrace.h.
14893         (ret): Remove variable.
14894         (x): Likewise.
14895         (FAIL): Remove macro.
14896         (NO_INLINE): Likewise.
14897         (handle_signal): Use match function instead of strstr.
14899 2013-01-23  Roland McGrath  <roland@hack.frob.com>
14901         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
14903 2013-01-23  David S. Miller  <davem@davemloft.net>
14905         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
14906         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
14907         argument of CAS if possible.
14908         * sysdeps/sparc/sparc64/bits/atomic.h
14909         (__arch_compare_and_exchange_val_32_acq): Likewise.
14910         (__arch_compare_and_exchange_val_64_acq): Likewise.
14912 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
14914         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
14915         * sysdeps/posix/ulimit.c: ... this.
14916         Include <limits.h>.
14917         * sysdeps/unix/bsd/ulimit.c: Remove file.
14919 2013-01-23  Adam Conrad  <adconrad@0c3.net>
14921         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
14922         (LDFLAGS-tst-array5): Likewise.
14924 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
14926         [BZ #15036]
14927         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
14928         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
14929         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
14930         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
14932 2013-01-21  David S. Miller  <davem@davemloft.net>
14934         * sysdeps/sparc/backtrace.c: New file.
14935         * sysdeps/sparc/sparc32/backtrace.h: New file.
14936         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
14937         * sysdeps/sparc/sparc64/backtrace.h: New file.
14938         * sysdeps/sparc/sparc64/backtrace.c: Delete.
14939         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
14940         -funwind-tables.
14942 2013-01-21  Andreas Schwab  <schwab@suse.de>
14944         [BZ #15020]
14945         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
14946         closed its stdout.
14948 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
14950         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
14951         "mpa2.h".
14952         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
14954 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
14955             Mark Mitchell  <mark@codesourcery.com>
14956             Tom de Vries  <tom@codesourcery.com>
14957             Paul Pluzhnikov  <ppluzhnikov@google.com>
14959         * debug/tst-backtrace2.c: New file.
14960         * debug/tst-backtrace3.c: Likewise.
14961         * debug/tst-backtrace4.c: Likewise.
14962         * debug/tst-backtrace5.c: Likewise.
14963         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
14964         (CFLAGS-tst-backtrace3.c): Likewise.
14965         (CFLAGS-tst-backtrace4.c): Likewise.
14966         (CFLAGS-tst-backtrace5.c): Likewise.
14967         (LDFLAGS-tst-backtrace2): Likewise.
14968         (LDFLAGS-tst-backtrace3): Likewise.
14969         (LDFLAGS-tst-backtrace4): Likewise.
14970         (LDFLAGS-tst-backtrace5): Likewise.
14971         (tests): Add new tests tst-backtrace2, tst-backtrace3,
14972         tst-backtrace4 and tst-backtrace5.
14974 2013-01-18  Anton Blanchard  <anton@samba.org>
14975             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
14977         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
14978         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
14979         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
14980         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
14981         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
14982         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
14983         "+r" and remove output regs list as redundant.  Add explicit inline
14984         asm to specify register of return val to work around compiler codegen
14985         bug.  Remove (int) cast on return value.  Add return type parameter to
14986         use in macro so that this macro does not truncate return value for
14987         64-bit values.
14988         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
14989         pass to INTERNAL_VSYSCALL_NCS.
14990         (INLINE_VSYSCALL): Add 'long int' as return type to
14991         INTERNAL_VSYSCALL_NCS macro invocation.
14992         (INTERNAL_VSYSCALL): Add 'long int' as return type to
14993         INTERNAL_VSYSCALL_NCS macro invocation.
14994         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
14996 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
14998         [BZ #14496]
14999         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
15000         Fix application of SIMD FP exception mask.
15002         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
15003         mp_no from a power of two.
15004         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
15005         __mpexp_twomm1.  Use __pow_mp.
15007         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
15008         multiplication.
15010 2013-01-17  David S. Miller  <davem@davemloft.net>
15012         * sysdeps/sparc/fpu/libm-test-ulps: Update.
15014 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
15016         [BZ #15023]
15017         * include/complex.h: Condition contents on [!_COMPLEX_H].
15018         (__kernel_casinhf): New prototype.
15019         (__kernel_casinh): Likewise.
15020         (__kernel_casinhl): Likewise.
15021         * math/Makefile (libm_calls): Add k_casinh.
15022         * math/k_casinh.c: New file.
15023         * math/k_casinhf.c: Likewise.
15024         * math/k_casinhl.c: Likewise.
15025         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
15026         finite nonzero arguments.
15027         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
15028         finite nonzero arguments.
15029         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
15030         finite nonzero arguments.
15031         * math/s_casinh.c: Do not include <float.h>.
15032         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
15033         * math/s_casinhf.c: Do not include <float.h>.
15034         (__casinhf): Move code for finite nonzero arguments to
15035         k_casinhf.c.
15036         * math/s_casinhl.c: Do not include <float.h>.
15037         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
15038         redefine.
15039         (__casinhl): Move code for finite nonzero arguments to
15040         k_casinhl.c.
15041         * math/libm-test.inc (cacos_test): Add more tests.
15042         * sysdeps/i386/fpu/libm-test-ulps: Update.
15043         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15045 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
15047         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
15048         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
15049         [!HAVE_MREMAP]: Remove [defined linux] case.
15050         * malloc/arena.c: Do not include <malloc-sysdep.h>.
15052 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
15054         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
15056 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
15058         * elf/elf.h (R_386_SIZE32): New relocation.
15059         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
15060         R_386_SIZE32.
15061         (elf_machine_rela): Likewise.
15062         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
15063         R_X86_64_SIZE64 and R_X86_64_SIZE32.
15065 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
15067         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
15068         (FP_FAST_FMA): Do not define.
15069         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
15070         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
15071         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
15072         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
15073         !_SOFT_FLOAT]: Likewise.
15074         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
15075         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
15076         value.
15077         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
15078         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
15079         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
15080         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
15081         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
15082         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
15083         file.
15085 2013-01-16  Andreas Schwab  <schwab@suse.de>
15087         [BZ #14327]
15088         * include/stdlib.h (__mktemp): Add declaration.
15089         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
15090         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
15092 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
15094         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
15095         definitions.
15096         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
15097         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
15098         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
15099         definitions here.
15100         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
15101         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
15102         definitions.
15103         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
15104         and ONE.
15105         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
15106         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
15107         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
15108         definitions.
15109         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
15110         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
15111         definitions.
15112         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
15114         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
15116 2013-01-15  David S. Miller  <davem@davemloft.net>
15118         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
15119         trunc{,f} to libm-sysdep_routes.
15120         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
15121         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
15122         file.
15123         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
15124         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
15125         file.
15126         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
15127         file.
15128         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
15129         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
15130         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
15131         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
15132         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
15133         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
15134         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
15135         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
15137         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
15138         nearbyint{,f} to libm-sysdep_routes.
15139         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
15140         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
15141         New file.
15142         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
15143         file.
15144         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
15145         New file.
15146         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
15147         file.
15148         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
15149         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
15150         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
15151         file.
15152         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
15153         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
15154         file.
15155         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
15156         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
15157         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
15159         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
15160         libc_feholdexcept and libc_fesetenv.
15162 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
15164         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
15166 2013-01-14  David S. Miller  <davem@davemloft.net>
15168         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
15169         (SPARC_ASM_VIS2_IFUNC): Likewise.
15170         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
15171         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
15172         use of 'siam' instruction.
15173         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
15174         Likewise.
15175         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
15176         Likewise.
15177         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
15178         Likewise.
15179         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
15180         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
15181         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
15182         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
15183         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
15184         file.
15185         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
15186         file.
15187         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
15188         file.
15189         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
15190         file.
15191         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
15192         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
15193         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
15194         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
15195         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
15196         new VIS2 routines.
15197         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
15198         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
15199         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
15200         Likewise.
15201         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
15202         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
15203         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
15204         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
15205         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
15206         routines to libm-sysdep_routines.
15207         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
15209         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
15210         fdim/fdimf to libm-sysdep_routines.
15211         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
15212         file.
15213         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
15214         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
15215         file.
15216         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
15217         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
15218         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
15219         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
15220         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
15221         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
15222         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
15224 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
15226         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
15227         to optimize copies.
15229         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
15230         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
15231         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
15233         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
15234         local variable MPTWO.
15235         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
15236         Likewise.
15238 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
15240         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
15241         GLOB_NOESCAPE.
15243 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
15245         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
15247 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
15249         * manual/pattern.texi (glob_t): Document gl_flags.
15250         (glob64_t): Likewise.
15252 2013-01-11  David S. Miller  <davem@davemloft.net>
15254         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
15255         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
15256         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
15257         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
15258         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
15259         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
15260         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
15261         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
15262         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
15263         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
15264         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
15265         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
15266         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
15268         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
15269         sparc V9 rather than using V8 code.
15270         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
15271         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
15273         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
15274         Move to...
15275         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
15276         Here.
15278 2013-01-11  Roland McGrath  <roland@hack.frob.com>
15280         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
15281         not in the main loop.
15282         * configure: Regenerated.
15284 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
15286         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
15287         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
15288         to just #else.
15289         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
15290         [!__GLIBC_HAVE_LONG_LONG] case.
15291         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
15292         condition to just #else.
15293         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
15294         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
15295         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
15296         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
15297         unconditional.
15298         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
15299         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
15300         #elif condition to just #else.
15301         * sysdeps/unix/sysv/linux/sys/sysmacros.h
15302         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
15303         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
15304         #elif condition to just #else.
15306 2013-01-11  Steve Ellcey  <sellcey@mips.com>
15308         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
15309         (EF_MIPS_ARCH_64): Fix value.
15310         (EF_MIPS_ARCH_32R2): New.
15311         (EF_MIPS_ARCH_64R2): New.
15313 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
15315         * Makeconfig (+link-pie-before-libc): New.
15316         (+link-pie-after-libc): Likewise.
15317         (+link-pie-tests): Likewise.
15318         (+link-pie): Rewritten.
15319         (link-before-libc): Remove $(config-LDFLAGS).
15320         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
15321         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
15322         (config-LDFLAGS): Renamed to ...
15323         (rtld-LDFLAGS): This.
15324         (rtld-tests-LDFLAGS): New macro.
15325         (link-libc-rpath-link): Likewise.
15326         (link-libc-tests-rpath-link): Likewise.
15327         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
15328         (link-libc): Prepand $(link-libc-rpath-link).
15329         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
15330         (test-program-prefix): New macro.
15331         (test-via-rtld-prefix): Likewise.
15332         (test-program-cmd): Likewise.
15333         (host-test-program-cmd): Likewise.
15334         * Makefile ($(common-objpfx)testrun.sh): Replace
15335         $(run-program-prefix) with $(test-program-prefix).
15336         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
15337         $(rtld-LDFLAGS).
15338         ($(common-objpfx)shlib.lds): Likewise.
15339         (build-module-helper): Likewise.
15340         ($(common-objpfx)format.lds): Likewise.
15341         * Rules (binaries-pie-tests): New.
15342         (binaries-pie-notests): Likewise.
15343         (binaries-pie): Rewritten.
15344         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
15345         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
15346         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
15347         (make-test-out): Replace $(host-built-program-cmd) with
15348         $(host-test-program-cmd).
15349         * config.make.in (build-hardcoded-path-in-tests): New variable.
15350         * configure.in (--enable-hardcoded-path-in-tests): New configure
15351         option.
15352         (hardcoded_path_in_tests): New AC_SUBST.
15353         * configure: Regenerated.
15354         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
15355         $(built-program-cmd) with $(test-program-cmd).
15356         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
15357         (test_program_cmd): This.
15358         * elf/Makefile ($(objpfx)order.out): Run test with
15359         $(test-program-prefix).
15360         ($(objpfx)order2.out): Likewise.
15361         ($(objpfx)tst-initorder.out): Likewise.
15362         ($(objpfx)tst-initorder2.out): Likewise.
15363         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
15364         $(test-program-cmd).
15365         ($(objpfx)tst-array1-static.out): Likewise.
15366         ($(objpfx)tst-array2.out): Likewise.
15367         ($(objpfx)tst-array3.out): Likewise.
15368         ($(objpfx)tst-array4.out): Likewise.
15369         ($(objpfx)tst-array5.out): Likewise.
15370         ($(objpfx)tst-array5-static.out): Likewise.
15371         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
15372         $(test-program-cmd).
15373         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
15374         $(run-program-prefix) with $(test-program-prefix).
15375         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
15376         (test_program_prefix): This.
15377         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
15378         $(run-program-prefix) with $(test-program-prefix).
15379         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
15380         (test_program_prefix): This.
15381         * iconvdata/tst-tables.sh: Likewise.
15382         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
15383         $(run-program-prefix) with $(test-program-prefix).
15384         ($(objpfx)tst-translit.out): Likewise.
15385         ($(objpfx)tst-gettext2.out): Likewise.
15386         ($(objpfx)tst-gettext4.out): Likewise.
15387         ($(objpfx)tst-gettext6.out): Likewise.
15388         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
15389         (test_program_prefix): This.
15390         * intl/tst-gettext2.sh: Likewise.
15391         * intl/tst-gettext4.sh  Likewise.
15392         * intl/tst-gettext6.sh: Likewise.
15393         * intl/tst-translit.sh: Likewise.
15394         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
15395         with $(test-program-cmd).
15396         * libio/Makefile ($(objpfx)test-freopen.out): Replace
15397         $(run-program-prefix) with $(test-program-prefix).
15398         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
15399         (test_program_prefix): This.
15400         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
15401         $(run-program-prefix) with $(test-program-prefix).
15402         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
15403         (test_program_prefix): This.
15404         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
15405         * posix/Makefile ($(objpfx)globtest.out): Replace
15406         $(run-via-rtld-prefix) and $(test-wrapper) with
15407         $(test-program-prefix) and $(test-via-rtld-prefix).
15408         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
15409         $(test-program-prefix).
15410         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
15411         $(host-test-program-cmd).
15412         (tst-spawn-ARGS): Likewise.
15413         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
15414         $(test-program-prefix).
15415         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
15416         (test_via_rtld_prefix): This.
15417         (test_wrapper): Renamed to ...
15418         (test_program_prefix): This.
15419         (run_program_prefix): Replaced by test_program_prefix.
15420         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
15421         (test_program_prefix): This.
15422         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
15423         with $(host-test-program-cmd).
15424         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
15425         $(run-program-prefix) with $(test-program-prefix).
15426         ($(objpfx)tst-printf.out): Likewise.
15427         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
15428         $(test-program-cmd).
15429         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
15430         (test_program_prefix): This.
15431         * stdio-common/tst-unbputc.sh: Likewise.
15432         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
15433         $(run-program-prefix) with $(test-program-prefix).
15434         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
15435         (test_program_prefix): This.
15436         * string/Makefile ($(objpfx)tst-svc.out):  Replace
15437         $(built-program-cmd) with $(test-program-cmd).
15439 2013-01-11  Andreas Jaeger  <aj@suse.de>
15441         [BZ #15003]
15442         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
15443         value. Sync with Linux 3.7.
15445 2013-01-10  David S. Miller  <davem@davemloft.net>
15447         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
15448         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
15449         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
15451 2013-01-10  Roland McGrath  <roland@hack.frob.com>
15453         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
15454         never set.
15455         * configure: Regenerated.
15457 2013-01-10  David S. Miller  <davem@davemloft.net>
15459         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
15460         sparc V9 rather than using V8 code.
15461         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
15462         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
15464 2013-01-10  Roland McGrath  <roland@hack.frob.com>
15466         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
15467         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
15468         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
15469         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
15470         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
15471         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
15472         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
15473         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
15474         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
15475         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
15476         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
15477         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
15478         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
15479         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
15480         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
15481         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
15482         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
15483         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
15484         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
15485         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
15486         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
15487         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
15488         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
15489         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
15490         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
15491         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
15492         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
15494 2013-01-10  David S. Miller  <davem@davemloft.net>
15496         * sysdeps/sparc/fpu/libm-test-ulps: Update.
15498 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
15500         * posix/Makefile (tests-static): New variable.
15501         (tests): Add $(tests-static).
15502         (tst-exec-static-ARGS): New variable.
15503         (tst-spawn-static-ARGS): Likewise.
15504         * posix/tst-exec-static.c: New file.
15505         * posix/tst-spawn-static.c: Likewise.
15506         * posix/tst-exec.c: Support run directly.
15507         * posix/tst-spawn.c: Likewise.
15509 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
15511         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
15512         long.
15513         * math/bits/mathcalls.h (llrint): Likewise.
15514         (llround): Likewise.
15515         * stdlib/stdlib.h (struct drand48_data): Likewise.
15516         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
15517         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
15518         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
15519         Likewise.
15520         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
15521         Likewise.
15522         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
15523         (elf_greg_t): Likewise.
15524         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
15525         (__jmp_buf): Likewise.
15526         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
15527         definitions.
15528         (llrint): Likewise, for all definitions.
15529         (llrintl): Likewise.
15531         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
15532         Remove [__GNUC__] condition.
15533         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
15534         condition to just [__USE_ISOC99].
15535         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
15537 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
15539         [BZ #14200]
15540         * sysdeps/unix/sysv/linux/x86/bits/environments.h
15541         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
15542         defined.
15543         (_POSIX_V6_ILP32_OFF32): Likewise.
15544         (_XBS5_ILP32_OFF32): Likewise.
15545         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
15546         (__ILP32_OFFBIG_LDFLAGS): Likewise.
15548 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
15550         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
15552         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
15553         doubles __mpexp_twomm1.  Adjust usage.
15554         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
15555         Remove.
15557 2013-01-10  Andreas Schwab  <schwab@suse.de>
15559         [BZ #14964]
15560         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
15561         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
15563 2013-01-09  David S. Miller  <davem@davemloft.net>
15565         [BZ #15003]
15566         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
15567         TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
15568         TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
15569         TCP_FASTOPEN): Define.
15570         (tcp_repair_opt): New structure.
15571         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
15572         enum values.
15573         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
15574         TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
15575         TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
15576         (tcp_cookie_transactions): New structure.
15578 2013-01-09  Anton Blanchard  <anton@samba.org>
15580         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
15581         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
15582         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
15583         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
15585 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
15587         * include/features.h (__USE_ANSI): Remove.
15589 2013-01-09  Roland McGrath  <roland@hack.frob.com>
15591         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
15593         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
15595 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
15597         * sysdeps/s390/fpu/libm-test-ulps: Update.
15599         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15601         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
15602         (__acr): Likewise.
15603         (__cpy): Likewise.
15604         (norm): Likewise.
15605         (denorm): Likewise.
15606         (__mp_dbl): Likewise.
15607         (__dbl_mp): Likewise.
15608         (add_magnitudes): Likewise.
15609         (sub_magnitudes): Likewise.
15610         (__add): Likewise.
15611         (__sub): Likewise.
15612         (__mul): Likewise.
15613         (__inv): Likewise.
15614         (__dvd): Likewise.
15615         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
15616         (__acr): Likewise.
15617         (__cpy): Likewise.
15618         (norm): Likewise.
15619         (denorm): Likewise.
15620         (__mp_dbl): Likewise.
15621         (__dbl_mp): Likewise.
15622         (add_magnitudes): Likewise.
15623         (sub_magnitudes): Likewise.
15624         (__add): Likewise.
15625         (__sub): Likewise.
15626         (__mul): Likewise.
15627         (__inv): Likewise.
15628         (__dvd): Likewise.
15629         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
15630         (__acr): Likewise.
15631         (__cpy): Likewise.
15632         (norm): Likewise.
15633         (denorm): Likewise.
15634         (__mp_dbl): Likewise.
15635         (__dbl_mp): Likewise.
15636         (add_magnitudes): Likewise.
15637         (sub_magnitudes): Likewise.
15638         (__add): Likewise.
15639         (__sub): Likewise.
15640         (__mul): Likewise.
15641         (__inv): Likewise.
15642         (__dvd): Likewise.
15644 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
15646         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
15647         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
15648         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
15649         2 && __USE_EXTERN_INLINES]: Likewise.
15651 2013-01-08  Andreas Jaeger  <aj@suse.de>
15653         [BZ# 14985]
15654         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
15655         Remove.
15656         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
15657         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
15659 2013-01-07  Anton Blanchard  <anton@samba.org>
15661         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
15662         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
15663         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
15664         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
15665         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
15666         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
15667         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
15668         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
15669         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
15670         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
15671         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
15672         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
15673         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
15674         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
15675         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
15676         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
15677         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
15678         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
15679         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
15680         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
15681         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
15682         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
15683         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
15684         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
15685         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
15686         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
15687         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
15688         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
15689         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
15690         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
15691         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
15692         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
15693         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
15694         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
15695         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
15696         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
15697         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
15698         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
15699         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
15700         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
15701         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
15702         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
15703         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
15705 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
15707         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
15708         (__MALLOC_PMT): Likewise.
15709         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
15710         [__GNUC__], only on [_LIBC].
15711         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
15712         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
15713         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
15714         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
15715         forward declaration.
15716         (realloc_hook_ini): Likewise.
15717         (memalign_hook_ini): Likewise.
15718         (__libc_memalign): Do not use __MALLOC_PMT in variable
15719         declaration.
15720         (__libc_valloc): Likewise.
15721         (__libc_pvalloc): Likewise.
15722         (__libc_calloc): Likewise.
15723         (__posix_memalign): Likewise.
15725         [BZ #14996]
15726         * math/s_casinh.c: Include <float.h>.
15727         (__casinh): Do not do computation with squaring and square root
15728         for large arguments.
15729         * math/s_casinhf.c: Include <float.h>.
15730         (__casinhf): Do not do computation with squaring and square root
15731         for large arguments.
15732         * math/s_casinhl.c: Include <float.h>.
15733         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
15734         (__casinhl): Do not do computation with squaring and square root
15735         for large arguments.
15736         * math/libm-test.inc (casin_test): Add more tests.
15737         (casinh_test): Likewise.
15738         * sysdeps/i386/fpu/libm-test-ulps: Update.
15739         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15741 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
15743         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
15744         (__x86_64_raw_data_cache_size): Likewise.
15745         (__x86_64_data_cache_size_half): Likewise.
15746         (__x86_64_raw_data_cache_size_half): Likewise.
15747         (__x86_64_shared_cache_size): Likewise.
15748         (__x86_64_raw_shared_cache_size): Likewise.
15749         (__x86_64_shared_cache_size_half): Likewise.
15750         (__x86_64_raw_shared_cache_size_half): Likewise.
15751         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
15752         to ...
15753         (__x86_data_cache_size): This.
15754         (__x86_64_raw_data_cache_size): Renamed to ...
15755         (__x86_raw_data_cache_size): This.
15756         (__x86_64_data_cache_size_half): Renamed to ...
15757         (__x86_data_cache_size_half): This.
15758         (__x86_64_raw_data_cache_size_half): Renamed to ...
15759         (__x86_raw_data_cache_size_half): This.
15760         (__x86_64_shared_cache_size): Renamed to ...
15761         (__x86_shared_cache_size): This.
15762         (__x86_64_raw_shared_cache_size): Renamed to ...
15763         (__x86_raw_shared_cache_size): This.
15764         (__x86_64_shared_cache_size_half): Renamed to ...
15765         (__x86_shared_cache_size_half): This.
15766         (__x86_64_raw_shared_cache_size_half): Renamed to ...
15767         (__x86_raw_shared_cache_size_half): This.
15768         * sysdeps/x86_64/memcpy.S: Updated.
15769         * sysdeps/x86_64/memset.S: Likewise.
15770         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
15771         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
15772         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
15774 2013-01-04  David S. Miller  <davem@davemloft.net>
15776         * sysdeps/sparc/fpu/libm-test-ulps: Update.
15778 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
15780         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
15781         1 to avoid redefinition warning.
15782         (__USE_GNU): Don't define.
15783         (init_signaling_nan): Protoize.
15785         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15787 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
15789         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
15790         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
15791         (__cpymn): Likewise.
15792         (norm): Remove commented code.
15793         (denorm): Likewise.
15794         (__mp_dbl): Likewise.
15795         (__inv): Likewise.
15796         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
15797         (__cpymn): Likewise.
15798         (norm): Remove commented code.
15799         (denorm): Likewise.
15800         (__mp_dbl): Likewise.
15801         (__inv): Likewise.
15803         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
15804         mp_no value for 1.0 and 2.0.
15805         (norm): Use RADIXI instead of radixi.d.
15806         (denorm): Likewise.
15807         (__mul): Use 0.0 instead of zero.d.
15808         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
15809         mp_no value for 1.0 and 2.0.
15810         (norm): Use RADIXI instead of radixi.d.
15811         (denorm): Likewise.
15812         (__mul): Use 0.0 instead of zero.d.
15814 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
15816         [BZ #14994]
15817         * math/s_casinh.c (__casinh): Reduce finite argument to first
15818         quadrant then set signs of results at the end.
15819         * math/s_casinhf.c (__casinhf): Likewise.
15820         * math/s_casinhl.c (__casinhl): Likewise.
15821         * math/libm-test.inc (casin_test): Add more tests.
15822         (casinh_test): Likewise.
15823         * sysdeps/i386/fpu/libm-test-ulps: Update.
15824         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15826 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
15828         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
15830         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
15832         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
15833         declarations.
15834         (denorm): Likewise.
15835         (__mp_dbl): Likewise.
15836         (__inv): Likewise.
15838         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
15839         and adjust the header comment.
15841         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
15842         variable name from declaration.
15844 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
15846         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
15847         Initialize COMMON_CPUID_INDEX_7 element.
15848         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
15849         (CPUID_RTM): Likewise.
15850         (HAS_RTM): Likewise.
15851         (COMMON_CPUID_INDEX_7): New enum.
15853 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
15855         [BZ #14981]
15856         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
15857         size is zero, record memory as freed.
15859 2013-01-03  Andreas Jaeger  <aj@suse.de>
15861         * po/ia.po: Add new Interlingua translation.
15863 2012-01-03  Allan McRae  <allan@archlinux.org>
15865         * locale/programs/localedef.c: Fix description of '--posix' flag.
15867 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
15869         * NEWS: Update dates in second copyright notice.
15870         * README: Update copyright dates in example.
15871         * manual/libc.texinfo: Update copyright dates.
15872         * scripts/test-installation.pl: Update copyright date in --version
15873         output.
15875         * hurd/ctty-input.c: Fix copyright notice formatting.
15876         * hurd/ctty-output.c: Likewise.
15877         * hurd/dtable.c: Likewise.
15878         * hurd/hurd-raise.c: Likewise.
15879         * hurd/hurdprio.c: Likewise.
15880         * hurd/msgportdemux.c: Likewise.
15881         * misc/sys/file.h: Likewise.
15882         * misc/sys/ioctl.h: Likewise.
15883         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
15884         * sysdeps/mach/hurd/chdir.c: Likewise.
15885         * sysdeps/mach/hurd/fchdir.c: Likewise.
15886         * sysdeps/mach/hurd/rename.c: Likewise.
15887         * sysdeps/mach/hurd/rmdir.c: Likewise.
15888         * sysdeps/mach/hurd/seekdir.c: Likewise.
15889         * sysdeps/mach/hurd/setsid.c: Likewise.
15890         * sysdeps/posix/wait3.c: Likewise.
15892         * All files with FSF copyright notices: Update copyright dates
15893         using scripts/update-copyrights.
15894         * intl/plural.c: Regenerated.
15895         * locale/programs/charmap-kw.h: Likewise.
15896         * locale/programs/locfile-kw.h: Likewise.
15898 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
15900         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
15901         four values.
15903         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
15904         calculation loop and add branch prediction.
15906         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
15907         check access beyond bounds of m1np.
15909         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
15910         MPTWO.
15911         (__inv): Remove local variable MPTWO to use the global
15912         constant.
15913         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
15914         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
15915         variable MPTWO.
15916         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
15917         MP3HALFS static const.
15919 2013-01-01  David S. Miller  <davem@davemloft.net>
15921         * po/ca.po: Update from translation team.
15923 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
15925         * scripts/update-copyrights: New file.
15926         * Makeconfig: Reformat copyright notice.
15927         * ctype/ctype.h: Likewise.
15928         * debug/swprintf_chk.c: Likewise.
15929         * elf/dl-cache.c: Likewise.
15930         * elf/dl-debug.c: Likewise.
15931         * elf/dl-object.c: Likewise.
15932         * grp/initgroups.c: Likewise.
15933         * hurd/Makefile: Likewise.
15934         * hurd/hurd/signal.h: Likewise.
15935         * hurd/hurdfault.c: Likewise.
15936         * hurd/hurdioctl.c: Likewise.
15937         * hurd/hurdlookup.c: Likewise.
15938         * hurd/intr-msg.c: Likewise.
15939         * iconv/gconv_open.c: Likewise.
15940         * libio/swprintf.c: Likewise.
15941         * locale/lc-ctype.c: Likewise.
15942         * locale/nl_langinfo.c: Likewise.
15943         * mach/Machrules: Likewise.
15944         * mach/Makefile: Likewise.
15945         * malloc/obstack.h: Likewise.
15946         * manual/Makefile: Likewise.
15947         * manual/tsort.awk: Likewise.
15948         * misc/bits/stab.def: Likewise.
15949         * nis/nis_print_group_entry.c: Likewise.
15950         * nis/nis_table.c: Likewise.
15951         * nis/nss_compat/compat-pwd.c: Likewise.
15952         * nis/nss_compat/compat-spwd.c: Likewise.
15953         * po/Makefile: Likewise.
15954         * posix/fnmatch.c: Likewise.
15955         * posix/regex.h: Likewise.
15956         * resolv/Makefile: Likewise.
15957         * resolv/nss_dns/dns-network.c: Likewise.
15958         * resolv/res_hconf.c: Likewise.
15959         * scripts/gen-sorted.awk: Likewise.
15960         * soft-fp/soft-fp.h: Likewise.
15961         * stdio-common/printf.h: Likewise.
15962         * stdlib/monetary.h: Likewise.
15963         * stdlib/random.c: Likewise.
15964         * stdlib/random_r.c: Likewise.
15965         * sysdeps/generic/Makefile: Likewise.
15966         * sysdeps/gnu/Makefile: Likewise.
15967         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
15968         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
15969         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
15970         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
15971         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
15972         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
15973         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
15974         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
15975         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
15976         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
15977         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
15978         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
15979         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
15980         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
15981         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
15982         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
15983         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
15984         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
15985         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
15986         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
15987         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
15988         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
15989         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
15990         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
15991         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
15992         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
15993         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
15994         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
15995         * sysdeps/mach/hurd/errnos.awk: Likewise.
15996         * sysdeps/mach/hurd/fork.c: Likewise.
15997         * sysdeps/mach/hurd/getcwd.c: Likewise.
15998         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
15999         * sysdeps/mach/hurd/mmap.c: Likewise.
16000         * sysdeps/mach/hurd/utimes.c: Likewise.
16001         * sysdeps/mach/hurd/xmknod.c: Likewise.
16002         * sysdeps/posix/profil.c: Likewise.
16003         * sysdeps/posix/readdir_r.c: Likewise.
16004         * sysdeps/powerpc/bits/mathdef.h: Likewise.
16005         * sysdeps/powerpc/bits/setjmp.h: Likewise.
16006         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
16007         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
16008         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
16009         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
16010         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
16011         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
16012         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
16013         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
16014         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
16015         * sysdeps/pthread/lio_listio.c: Likewise.
16016         * sysdeps/sparc/dl-procinfo.h: Likewise.
16017         * sysdeps/unix/i386/sysdep.S: Likewise.
16018         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
16019         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
16020         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
16021         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
16022         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
16023         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
16024         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
16025         * sysdeps/unix/sysv/linux/speed.c: Likewise.
16026         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
16027         * sysdeps/wordsize-32/divdi3.c: Likewise.
16028         * time/sys/time.h: Likewise.
16029         * wcsmbs/Makefile: Likewise.
16031 2013-01-01  David S. Miller  <davem@davemloft.net>
16033         * po/fr.po: Update from translation team.
16035         * catgets/gencat.c: Update copyright year.
16036         * csu/version.c: Likewise.
16037         * debug/catchsegv.sh: Likewise.
16038         * debug/pcprofiledump.c: Likewise.
16039         * debug/xtrace.sh: Likewise.
16040         * elf/ldconfig.c: Likewise.
16041         * elf/ldd.bash.in: Likewise.
16042         * elf/pldd.c: Likewise.
16043         * elf/sotruss.ksh: Likewise.
16044         * elf/sprof.c: Likewise.
16045         * iconv/iconv_prog.c: Likewise.
16046         * iconv/iconvconfig.c: Likewise.
16047         * locale/programs/locale.c: Likewise.
16048         * locale/programs/localedef.c: Likewise.
16049         * login/programs/pt_chown.c: Likewise.
16050         * malloc/memusage.sh: Likewise.
16051         * malloc/memusagestat.c: Likewise.
16052         * malloc/mtrace.pl: Likewise.
16053         * nscd/nscd.c: Likewise.
16054         * nss/getent.c: Likewise.
16055         * nss/makedb.c: Likewise.
16056         * posix/getconf.c: Likewise.
16058 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
16060         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
16061         numbers.
16063 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
16065         * math/bits/mathcalls.h (modf): Use __nonnull.
16067 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
16069         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
16070         (split): Use macro CN instead of the bare value.
16071         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
16072         could be used.
16073         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
16074         instead of the bare value.
16075         (power1): Likewise.
16077 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
16079         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
16080         __ATAN_TWOM.
16081         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
16083         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
16084         their values.
16085         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
16086         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
16087         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
16088         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
16090 2012-12-28  Andreas Jaeger  <aj@suse.de>
16092         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
16093         values are from Linux 3.7.
16095         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
16096         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
16098 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
16100         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
16101         TRUE case.
16103         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
16104         (norm): Likewise.
16105         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
16106         variables with preprocessor constants.
16107         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
16108         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
16109         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
16111 2012-12-27  Bruno Haible  <bruno@clisp.org>
16113         [BZ #14317]
16114         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
16115         only if needed.
16117 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
16119         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
16120         and use variable directly.
16121         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
16123         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
16124         MPONE.
16125         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
16126         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
16127         variable MPONE.
16128         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
16129         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
16130         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
16131         include directive.  Remove local variable MPONE.
16132         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
16133         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
16134         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
16136 2012-12-25  David S. Miller  <davem@davemloft.net>
16138         * version.h (RELEASE): Set to "development".
16139         (VERSION): Set to "2.17.90".
16140         * NEWS: Add 2.18 section.
16142 2012-12-21  David S. Miller  <davem@davemloft.net>
16144         * po/hr.po: Update from translation team.
16146 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
16148         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
16150 2012-12-19  Steve Ellcey  <sellcey@mips.com>
16152         * NEWS:  Mention new memcpy for MIPS.
16154 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
16156         * manual/contrib.texi (Contributors): Spelling correction.
16158 2012-12-15  David S. Miller  <davem@davemloft.net>
16160         * po/ru.po: Update from translation team.
16162 2012-12-13  David S. Miller  <davem@davemloft.net>
16164         * NEWS: Mention IFUNC testsuite enhancements.
16166         * po/pl.po: Update from translation team.
16167         * po/bg.po: Likewise.
16169         * manual/contrib.texi (Contributors): Update entries for Hongjiu
16170         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
16172 2012-12-11  David S. Miller  <davem@davemloft.net>
16174         * po/sv.po: Update from translation team.
16176         * po/vi.po: Update from translation team.
16178         * po/cs.po: Update from translation team.
16180         * po/de.po: Update from translation team.
16181         * po/eo.po: Likewise.
16182         * po/nl.po: Likewise.
16184 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
16186         [BZ #14246]
16187         * manual/argp.texi (Argp Helper Functions): Move node to follow
16188         Argp Parsing State.
16190         [BZ #14872]
16191         * manual/conf.texi (Limits on File System Capacity): Mention if
16192         terminating null is included in the max size.
16194 2012-12-10  Andreas Jaeger  <aj@suse.de>
16196         * po/cs.po: Update from translation team.
16198 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
16200         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
16201         void pointer and cast to uintptr_t.
16202         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
16203         path.
16204         * sysdeps/s390/s390-64/memcpy.S: Likewise.
16205         * sysdeps/s390/s390-64/memset.S: Likewise.
16207 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
16209         [BZ #14833]
16210         * menual/message.texi (Message Translation): Fix typos.
16211         (Helper programs for gettext): Likewise.
16213 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
16215         [BZ #14898]
16216         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
16217         Change to -1.
16219 2012-12-07  David S. Miller  <davem@davemloft.net>
16221         * po/libc.pot: Update.
16223 2012-12-07  Richard Henderson  <rth@redhat.com>
16225         [BZ #10114]
16226         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
16227         normal/normal case to before the switch.
16228         (_FP_DIV): Likewise.
16230 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
16231             Mike Frysinger  <vapier@gentoo.org>
16233         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
16234         check for __NR_fadvise64_64.
16236 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
16238         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
16239         0, not just to plain "0" as a statement.
16240         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
16241         with cw.
16243 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
16245         * NEWS: Use sourceware.org in Bugzilla URL.
16247 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
16249         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
16250         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
16252         * stdio-common/tst-put-error.c (do_test): Add newline to the
16253         padded test to ensure flush.
16255 2012-12-05  Jeff Law  <law@redhat.com>
16257         * sunrpc/etc.rpc (fedfs_admin): Add entry.
16259 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
16261         * README: Don't refer to ports add-on as distributed separately.
16262         Mention AArch64 in list of systems supported in the ports add-on.
16264         * LICENSES: Add more non-FSF copyright and license notices.
16266         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
16267         ((unused)).
16269         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
16271         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
16272         10000 as width of padded output.
16274 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
16276         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
16278         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
16279         variable LX with __attribute__ ((unused)).
16280         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
16281         Likewise.
16282         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
16283         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
16284         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
16285         with __attribute__ ((unused)).
16287 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
16289         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
16291 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
16293         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
16294         (CFLAGS-nldbl-acos.c): New variable.
16295         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
16296         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
16297         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
16298         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
16299         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
16300         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
16301         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
16302         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
16303         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
16304         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
16305         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
16306         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
16307         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
16308         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
16309         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
16310         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
16311         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
16312         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
16313         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
16314         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
16315         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
16316         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
16317         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
16318         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
16319         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
16320         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
16321         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
16322         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
16323         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
16324         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
16325         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
16326         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
16327         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
16328         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
16329         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
16330         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
16331         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
16332         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
16333         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
16334         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
16335         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
16336         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
16337         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
16338         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
16339         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
16340         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
16341         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
16342         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
16343         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
16344         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
16345         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
16346         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
16347         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
16348         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
16349         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
16350         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
16351         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
16352         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
16353         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
16354         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
16355         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
16356         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
16357         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
16358         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
16359         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
16360         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
16361         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
16362         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
16363         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
16364         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
16365         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
16366         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
16367         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
16368         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
16369         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
16370         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
16371         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
16372         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
16373         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
16374         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
16375         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
16376         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
16377         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
16378         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
16379         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
16380         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
16381         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
16382         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
16383         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
16384         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
16385         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
16386         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
16387         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
16388         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
16389         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
16390         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
16391         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
16393         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
16394         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
16396         [BZ #14914]
16397         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
16398         whole low double instead of just low 47 bits when splitting values
16399         into two parts.
16401 2012-12-03  Allan McRae  <allan@archlinux.org>
16403         * manual/stdio.texi (Predefined Printf Handlers): Remove
16404         @hsep and @vsep usage.
16406 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
16408         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
16409         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
16411 2012-12-03  Jeff Law  <law@redhat.com>
16413         * time/sys/time.h (settimeofday): Do not mark TV argument
16414         as __nonnull.
16416 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
16418         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
16419         when currently writing and seek to current position when not.
16420         * libio/Makefile (tests): Remove bug-fclose1.
16421         * libio/bug-fclose1.c: Delete.
16423 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
16425         * manual/arith.texi (feenableexcept): Fix typo.
16426         (fedisableexcept): Likewise.
16428 2012-11-30  Roland McGrath  <roland@hack.frob.com>
16430         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
16431         second, differently-typed declaration, rather than a cast.
16433 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
16435         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
16436         * include/rpc/svc.h: ... here.
16438 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
16440         [BZ #13013]
16441         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
16442         depending n and resplen2 to catch cases where answer
16443         equals answerp2.
16445 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
16447         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
16448         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
16450 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
16452         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
16454 2012-11-29  Roland McGrath  <roland@hack.frob.com>
16456         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
16458 2012-11-28  Jeff Law  <law@redhat.com>
16460         [BZ #13761]
16461         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
16462         dataset_temporary.  Track alloca usage into alloca_used.
16463         If dataset is large allocate and release it via malloc/free.
16465 2012-06-04  Florian Weimer  <fweimer@redhat.com>
16467         [BZ #14197]
16468         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
16470 2012-11-28  David S. Miller  <davem@davemloft.net>
16472         * sysdeps/sparc/fpu/libm-test-ulps: Update.
16474 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
16476         [BZ #14803]
16477         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
16478         of pi/2 rounded to nearest to 64 bits.
16479         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
16480         nearest to 64 bits.
16481         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
16482         bits.
16484 2012-11-28  Jeff Law <law@redhat.com>
16485             Martin Osvald <mosvald@redhat.com>
16487         [BZ #14889]
16488         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
16489         * sunrpc/svc.c: Include time.h.
16490         (__svc_accept_failed): New function.
16491         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
16492         any reason other than EINTR, call __svc_accept_failed.
16493         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
16494         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
16496 2012-11-28  Andreas Schwab  <schwab@suse.de>
16498         * scripts/abilist.awk: Also handle indirect functions in .opd
16499         section.
16501 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
16503         [BZ #13881]
16504         * sysdeps/x86/fpu/powl_helper.c: New file.
16505         * sysdeps/x86/fpu/Makefile: Likewise.
16506         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
16507         (p3): New object.
16508         (__ieee754_powl): Use __powl_helper for finite arguments except
16509         integer exponents below 8.
16510         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
16511         (p3): New object.
16512         (__ieee754_powl): Use __powl_helper for finite arguments except
16513         integer exponents below 8.
16514         * math/libm-test.inc (pow_test): Add more tests and enable some
16515         previously disabled tests.
16516         * sysdeps/i386/fpu/libm-test-ulps: Update.
16517         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16519 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
16520             Carlos O'Donell  <carlos_odonell@mentor.com>
16522         * nss/makedb.c (is_prime): Assert that input is odd and greater
16523         than 4.  Note that fact in a comment too.
16524         (next_prime): Add 4 to input.
16526 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
16528         [BZ #11741]
16529         * libio/Makefile (tests): Add test case tst-fwrite-error.
16530         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
16531         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
16532         * libio/tst-fwrite-error.c: New test case.
16534 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
16536         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
16537         before casting to void *.
16538         * include/libc-internal.h (__pointer_type): New macro.
16539         (__integer_if_pointer_type_sub): Likewise.
16540         (__integer_if_pointer_type): Likewise.
16541         (cast_to_integer): Likewise.
16542         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
16543         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
16544         before casting to atomic64_t.
16545         (atomic_exchange_acq): Likewise.
16546         (__arch_exchange_and_add_body): Likewise.
16547         (__arch_add_body): Likewise.
16548         (atomic_add_negative): Likewise.
16549         (atomic_add_zero): Likewise.
16551 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
16553         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
16554         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
16555         (add_fdes): Likewise.
16556         (linear_search_fdes): Likewise.
16557         (binary_search_unencoded_fdes): Likewise.
16559 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
16561         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
16563 2012-11-24  Adam Conrad  <adconrad@0c3.net>
16565         * configure.in: Autodetect C++ header directories.
16566         * configure: Regenerated.
16568 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
16570         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
16572 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
16574         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16576 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
16578         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
16579         LDBL_MANT_DIG == 106]: Disable some tests.
16580         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
16581         Likewise.
16582         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
16583         Likewise.
16585         [BZ #14871]
16586         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
16587         input for small inputs.  Return +/- pi/2 for large inputs.
16588         * math/libm-test.inc (atan_test): Add more tests.
16590         * sysdeps/generic/unwind-dw2-fde-glibc.c
16591         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
16592         __attribute__ ((unused)).
16594         [BZ #14645]
16595         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
16596         x * y if x and y are nonzero and z is zero.
16598         [BZ #14811]
16599         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
16600         nonzero exponents with absolute value below 0x1p-117 to +/-
16601         0x1p-117.
16603         [BZ #14869]
16604         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
16605         up arguments below 2**-450, not just those below 2**-500.
16606         * math/libm-test.inc (hypot_test): Add another test.
16608         [BZ #14868]
16609         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
16610         Return a+b for ratio over 2**120, not 2**60.
16611         * math/libm-test.inc (hypot_test): Add another test.
16613         * math/libm-test.inc (clog_test): Use
16614         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
16615         (clog10_test): Likewise.
16617         [BZ #6778]
16618         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
16620 2012-11-22  Andreas Schwab  <schwab@suse.de>
16622         * sysdeps/i386/fpu/libm-test-ulps: Update.
16624 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
16626         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
16627         printf output with newline.
16629 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
16631         [BZ #14865]
16632         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
16633         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
16634         -z nodlopen, -z initfirst and -z execstack support.
16635         * configure: Regenerated.
16637         * elf/elf.h (DF_1_NODIRECT): New macro.
16638         (DF_1_IGNMULDEF): Likewise.
16639         (DF_1_NOKSYMS): Likewise.
16640         (DF_1_NOHDR): Likewise.
16641         (DF_1_EDITED): Likewise.
16642         (DF_1_NORELOC): Likewise.
16643         (DF_1_SYMINTPOSE): Likewise.
16644         (DF_1_GLOBAUDIT): Likewise.
16645         (DF_1_SINGLETON): Likewise.
16646         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
16647         DT_1_SUPPORTED_MASK bits.
16648         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
16650 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
16652         * sysdeps/unix/make-syscalls.sh: Document prefixes.
16654 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
16656         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
16657         macro.
16659         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
16660         (sendmmsg): Move declarations...
16661         * socket/sys/socket.h: ... here.
16662         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
16663         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
16664         include it from...
16665         * socket/recvmmsg.c: ... this new file.
16666         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
16667         (sendmmsg): Rename to __sendmmsg, create weak alias and make
16668         definition of __sendmmsg hidden.
16669         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
16670         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
16671         Move ENOSYS stub into and include it from...
16672         * socket/sendmmsg.c: ... this new file.
16673         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
16674         (sysdep_routines): Move recvmmsg and sendmmsg...
16675         * socket/Makefile (routines): ... here.
16676         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
16677         (GLIBC_PRIVATE): Add __sendmmsg.
16678         * include/sys/socket.h (__sendmmsg): Add declarations.
16679         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
16680         sendmmsg.
16682 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
16684         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
16685         variable I1 with __attribute__ ((unused)).
16686         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
16688 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
16690         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
16691         DUMMY variables with __attribute__ ((unused)).
16693         * bits/byteswap.h: Include <bits/types.h>.
16694         (__bswap_64): Use __uint64_t instead of unsigned long long int.
16696 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
16698         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
16699         string_t.  Do not manually set errno.
16700         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
16701         length with __strnlen.  Make sure to both set errno and return it on
16702         failure.
16704 2012-11-19  David S. Miller  <davem@davemloft.net>
16706         With help from Joseph Myers.
16707         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
16708         very large arguments properly.
16709         * math/libm-test.inc (atan_test): New tests.
16710         (atan2_test): New tests.
16711         * sysdeps/sparc/fpu/libm-test-ulps: Update.
16712         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16714 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
16716         [BZ #14856]
16717         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
16718         Define to 3.
16720         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
16721         [POSIX] (EADDRNOTAVAIL): Likewise.
16722         [POSIX] (EAFNOSUPPORT): Likewise.
16723         [POSIX] (EALREADY): Likewise.
16724         [POSIX] (ECONNABORTED): Likewise.
16725         [POSIX] (ECONNREFUSED): Likewise.
16726         [POSIX] (ECONNRESET): Likewise.
16727         [POSIX] (EDESTADDRREQ): Likewise.
16728         [POSIX] (EDQUOT): Likewise.
16729         [POSIX] (EHOSTUNREACH): Likewise.
16730         [POSIX] (EIDRM): Likewise.
16731         [POSIX] (EISCONN): Likewise.
16732         [POSIX] (ELOOP): Likewise.
16733         [POSIX] (EMULTIHOP): Likewise.
16734         [POSIX] (ENETDOWN): Likewise.
16735         [POSIX] (ENETUNREACH): Likewise.
16736         [POSIX] (ENOBUFS): Likewise.
16737         [POSIX] (ENODATA): Likewise.
16738         [POSIX] (ENOLINK): Likewise.
16739         [POSIX] (ENOMSG): Likewise.
16740         [POSIX] (ENOPROTOOPT): Likewise.
16741         [POSIX] (ENOSR): Likewise.
16742         [POSIX] (ENOSTR): Likewise.
16743         [POSIX] (ENOTCONN): Likewise.
16744         [POSIX] (ENOTSOCK): Likewise.
16745         [POSIX] (EOPNOTSUPP): Likewise.
16746         [POSIX] (EOVERFLOW): Likewise.
16747         [POSIX] (EPROTO): Likewise.
16748         [POSIX] (EPROTONOSUPPORT): Likewise.
16749         [POSIX] (EPROTOTYPE): Likewise.
16750         [POSIX] (ESTALE): Likewise.
16751         [POSIX] (ETIME): Likewise.
16752         [POSIX] (ETXTBSY): Likewise.
16753         [POSIX] (EWOULDBLOCK): Likewise.
16754         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
16755         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
16756         [POSIX] (SEEK_CUR): Likewise.
16757         [POSIX] (SEEK_END): Likewise.
16758         [POSIX || UNIX98] (mode_t): Do not require.
16759         [POSIX] (off_t): Likewise.
16760         [POSIX] (pid_t): Likewise.
16761         [POSIX] (sys/stat.h): Do not allow header.
16762         [POSIX] (unistd.h): Likewise.
16763         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
16764         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
16765         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
16766         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
16767         require.
16768         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
16769         sigevent): Specify elements.
16770         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
16771         entry.
16772         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
16773         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
16775         * conform/data/cpio.h-data [POSIX]: Disable whole file.
16776         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
16777         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
16778         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
16779         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
16780         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
16781         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
16782         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
16783         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
16784         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
16785         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
16786         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
16787         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
16788         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
16789         Likewise.
16790         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
16791         Likewise.
16792         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
16793         Likewise.
16794         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
16795         Likewise.
16796         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
16797         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
16798         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
16799         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
16800         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
16801         Specify lower bound on value.
16802         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
16803         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
16804         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
16805         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
16806         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
16807         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
16808         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
16809         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
16810         value.
16811         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
16812         as optional.
16813         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
16814         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
16815         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
16816         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
16817         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
16818         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
16819         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
16820         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
16821         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
16822         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
16823         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
16824         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
16825         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
16826         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
16827         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
16828         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
16829         entry.
16830         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
16831         optional.
16832         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
16833         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
16834         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
16835         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
16836         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
16837         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
16838         Likewise.
16839         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
16840         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
16841         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
16842         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
16843         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
16844         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
16845         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
16846         as optional.
16847         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
16848         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
16849         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
16850         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
16851         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
16852         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
16853         specify as optional.
16854         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
16855         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
16856         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
16857         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
16858         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
16859         [XPG3] (NL_LANGMAX): Likewise.
16860         [POSIX || XPG3] (NL_MSGMAX): Likewise.
16861         [POSIX || XPG3] (NL_NMAX): Likewise.
16862         [POSIX || XPG3] (NL_SETMAX): Likewise.
16863         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
16864         [XPG3] (NZERO): Likewise.
16865         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
16866         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
16867         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
16868         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
16869         (REG_ERANGE): Expect.
16870         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
16871         optional-constant.
16872         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
16873         Use (void) in prototype.
16874         [POSIX] (*_t): Allow.
16875         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
16876         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
16877         (WRDE_BADVAL): Expect.
16879         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
16880         expect.
16881         [XPG3 || XPG4] (O_RSYNC): Likewise.
16882         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
16883         Likewise.
16884         [XPG3 || XPG4] (pthread_sigmask): Likewise.
16885         [XPG3 || XPG4] (sigqueue): Likewise.
16886         [XPG3 || XPG4] (sigtimedwait): Likewise.
16887         [XPG3 || XPG4] (sigwaitinfo): Likewise.
16888         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
16889         [XPG3 || XPG4] (vsnprintf): Likewise.
16890         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
16891         Likewise.
16892         [XPG3 || XPG4] (blksize_t): Likewise.
16893         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
16894         Likewise.
16895         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
16896         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
16897         [XPG3 || XPG4] (struct itimerspec): Likewise.
16898         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
16899         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
16900         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
16901         [XPG3 || XPG4] (clockid_t): Likewise.
16902         [XPG3 || XPG4] (timer_t): Likewise.
16903         [XPG3 || XPG4] (clock_getres): Likewise.
16904         [XPG3 || XPG4] (clock_gettime): Likewise.
16905         [XPG3 || XPG4] (clock_settime): Likewise.
16906         [XPG3 || XPG4] (nanosleep): Likewise.
16907         [XPG3 || XPG4] (timer_create): Likewise.
16908         [XPG3 || XPG4] (timer_delete): Likewise.
16909         [XPG3 || XPG4] (timer_gettime): Likewise.
16910         [XPG3 || XPG4] (timer_getoverrun): Likewise.
16911         [XPG3 || XPG4] (timer_settime): Likewise.
16912         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
16913         [XPG3 || XPG4] (getlogin_r): Likewise.
16914         [XPG3 || XPG4] (pread): Likewise.
16915         [XPG3 || XPG4] (pthread_atfork): Likewise.
16916         [XPG3 || XPG4] (pwrite): Likewise.
16918         [BZ #14835]
16919         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
16920         <bits/siginfo.h>.
16922 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
16924         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
16925         finalizing MALLSTREAM.
16927         * sysdeps/mach/hurd/syncfs.c: New file.
16929 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
16931         [BZ #14719]
16932         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
16933         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
16934         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
16935         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
16936         (_nss_dns_gethostbyname4_r): Likewise.
16937         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
16938         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
16940 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
16942         [BZ #13763]
16943         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
16945 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
16947         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
16948         * elf/cache.c (print_entry): Print ",AArch64" for
16949         FLAG_AARCH64_LIB64
16951         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
16952         * elf/cache.c (print_entry): Print ",hard-float" for
16953         FLAG_ARM_LIBHF.
16955 2012-11-18  David S. Miller  <davem@davemloft.net>
16957         With help from Joseph Myers.
16958         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
16959         cutoff to 2**-13.
16960         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
16961         cutoff to 2**-25.
16962         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
16963         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
16964         small.
16965         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
16966         * math/libm-test.inc (y0_test): New tests.
16967         (y1_test): New tests.
16968         * sysdeps/i386/fpu/libm-test-ulps: Update.
16969         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16970         * sysdeps/sparc/fpu/libm-test-ulps: Update.
16972 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
16974         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
16975         64-bit targets.
16976         * configure: Regenerated.
16978 2012-11-17  David S. Miller  <davem@davemloft.net>
16980         [BZ #14811]
16981         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
16982         nonzero exponents with absolute value below 0x1p-128 to +/-
16983         0x1p-128.
16985 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
16987         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
16989         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
16991         * posix/getconf-speclist.c: New file.
16992         * posix/posix-envs.def: Likewise.
16993         * posix/confstr.c (START_ENV_GROUP): New macro.
16994         (END_ENV_GROUP): Likewise.
16995         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
16996         (KNOWN_PRESENT_ENV_STRING): Likewise.
16997         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
16998         (UNKNOWN_ENVIRONMENT): Likewise.
16999         (confstr): Include posix-envs.def instead of handling
17000         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
17001         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
17002         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
17003         (END_ENV_GROUP): Likewise.
17004         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
17005         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
17006         (UNKNOWN_ENVIRONMENT): Likewise.
17007         (__sysconf): Include posix-envs.def instead of handling associated
17008         cases directly here.
17009         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
17010         preprocessing getconf-speclist.c rather than running getconf or
17011         generating empty file.
17013 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
17015         * scripts/check-local-headers.sh: Ignore 'mach' headers.
17017 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
17019         [BZ #14672]
17020         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
17022 2012-11-16  David S. Miller  <davem@davemloft.net>
17024         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
17025         smaller than LDBL_EPSILON/2.0L, just return xm1.
17027 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
17029         * elf/tst-array1.c (init): Set constructor priority to 1000.
17030         (fini): Set destructor priority to 1000.
17031         * elf/tst-array2dep.c: Likewise.
17033 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
17035         [BZ #11741]
17036         * libio/fileops.c (_IO_new_file_write): Correctly return error.
17037         (_IO_new_file_xsputn): Also return EOF if none of the input
17038         data was written when overflow failed.
17039         * libio/iopadn.c (_IO_padn): Likewise.
17040         * libio/iowpadn.c (_IO_wpadn): Likewise.
17041         * stdio-common/tst-put-error.c: Add copyright notice.
17042         (do_test): Add case for printing padded string.
17043         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
17044         _IO_padn returned error.
17045         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
17046         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
17047         return EOF.
17049 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
17051         * libio/libioP.h: Add comment note that the references to C++
17052         bits are now obsolete.
17054 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
17056         * math/libm-test.inc (check_complex): Use asprintf.
17058 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
17060         * debug/pcprofiledump.c (print_version): Update copyright year.
17061         * malloc/memusagestat.c (print_version): Likewise.
17063 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
17065         [BZ #14831]
17066         * elf/Makefile (tests): Add tst-audit8.
17067         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
17068         ($(objpfx)tst-audit8.out): New target.
17069         (tst-audit8-ENV): New variable.
17070         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
17071         audit if l_reloc_result is NULL.
17072         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
17073         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
17074         * elf/tst-audit8.c: New file.
17076 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
17078         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
17079         * misc/Makefile (CFLAGS-select.c): Define.
17080         * posix/Makefile (CFLAGS-pause.c): Define.
17082 2012-11-13  David S. Miller  <davem@davemloft.net>
17084         * crypt/Makefile: Move test targets after toplevel Rules
17085         inclusion.  Grab any necessary sysdep routines when linking.
17086         * crypt/md5.c (md5_process_block): Remove define, we will always
17087         name it __md5_process_block.
17088         (md5_finish_ctx): Update md5_process_block call.
17089         (md5_stream): Likewise.
17090         (md5_process_bytes): Likewise.
17091         (md5_process_block): Rename to __md5_process_block and move to ...
17092         * crypt/md5-block.c: ... here.
17093         * crypt/sha256.c (sha256_process_block): Move to ...
17094         * crypt/sha256-block.c: ... here.
17095         * crypt/sha512.c (sha512_process_block): Move to ...
17096         * crypt/sha512-block.c: ... here.
17097         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
17098         path.
17099         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
17100         * sysdeps/sparc/sparc64/multiarch/Makefile
17101         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
17102         crypt subdir.
17103         (localedef-aux): Add md5 crypto assembler when in locale subdir.
17104         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
17105         multiarch changes.
17106         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
17107         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
17108         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
17109         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
17110         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
17111         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
17112         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
17113         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
17114         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
17115         file.
17116         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
17117         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
17118         file.
17119         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
17121 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
17123         * timezone/tzselect.ksh: Update from tzcode git revision
17124         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
17125         * timezone/zdump.c: Likewise.
17126         * timezone/zic.c: Likewise.
17127         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
17128         in TZVERSION setting, not $(PKGVERSION).
17129         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
17130         REPORT_BUGS_TO settings.
17132         [BZ #14838]
17133         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
17134         macro.
17136 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
17138         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
17139         detection to immediately after _FP_ROUND().
17140         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
17141         bits are 0.
17143 2012-11-11  David S. Miller  <davem@davemloft.net>
17145         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
17146         inttypes.h
17147         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
17148         __close rather than their public counterparts.
17150 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
17152         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
17153         file.
17154         [UNIX98] (sem_timedwait): Do not expect.
17155         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
17156         [XPG4 || UNIX98] (sockatmark): Do not expect.
17157         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
17158         (clock_getcpuclockid): Do not expect.
17159         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
17160         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
17161         Do not expect.
17162         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
17163         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
17164         [UNIX98] (vwscanf): Likewise.
17165         [UNIX98] (vswscanf): Likewise.
17167 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
17169         * timezone/version.h: Remove file.
17170         * timezone/README: Do not refer to version.h.
17171         * timezone/Makefile ($(objpfx)zic.o): New dependency on
17172         $(objpfx)version.h.
17173         ($(objpfx)zdump.o): Likewise.
17174         ($(objpfx)version.h): New target.
17176         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
17177         2012i.
17178         * timezone/README: Don't mention modification to tzselect.ksh.
17179         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
17180         work on unmodified tzselect.ksh.  Substitute version numbers in
17181         tzselect.ksh.
17183         * Makefile (format-me): Remove.
17184         (INSTALL): Adjust indentation.  Use commands directly instead of
17185         using $(format-me).
17187         * aclocal.m4 (ACX_PKGVERSION): New macro.
17188         (ACX_BUGURL): Likewise.
17189         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
17190         (PKGVERSION): New AC_DEFINE_UNQUOTED.
17191         (REPORT_BUGS_TO): Likewise.
17192         * configure: Regenerated.
17193         * config.h.in (PKGVERSION): New macro.
17194         (REPORT_BUGS_TO): Likewise.
17195         * config.make.in (PKGVERSION): New variable.
17196         (PKGVERSION_TEXI): Likewise.
17197         (REPORT_BUGS_TO): Likewise.
17198         (REPORT_BUGS_TEXI): Likewise.
17199         * Makefile (format-me): Use -I$(common-objpfx)manual.
17200         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
17201         ($(common-objpfx)manual/%): New target.
17202         (manual/%): Remove target.
17203         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
17204         (print_version): Use PKGVERSION.
17205         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
17206         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
17207         and REPORT_BUGS_TO.
17208         ($(objpfx)xtrace): Likewise.
17209         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
17210         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
17211         (print_version): Use PKGVERSION.
17212         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
17213         (do_version): Use PKGVERSION.
17214         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
17215         REPORT_BUGS_TO.
17216         (common-ldd-rewrite): Likewise.
17217         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
17218         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
17219         (print_version): Use PKGVERSION.
17220         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
17221         * elf/pldd.c (argp_program_bug_address): Remove variable.
17222         (more_help): New function.
17223         (argp): Use more_help.
17224         (print_version): Use PKGVERSION.
17225         * elf/sln.c (main): Use PKGVERSION.
17226         (usage): Use REPORT_BUGS_TO.
17227         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
17228         (top level): Use PKGVERSION.
17229         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
17230         (print_version): Use PKGVERSION.
17231         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
17232         (print_version): Use PKGVERSION.
17233         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
17234         (print_version): Use PKGVERSION.
17235         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
17236         (print_version): Use PKGVERSION.
17237         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
17238         (print_version): Use PKGVERSION.
17239         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
17240         (print_version): Use PKGVERSION.
17241         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
17242         and BUGURL.
17243         ($(objpfx)memusage): Likewise.
17244         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
17245         (do_version): Use PKGVERSION.
17246         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
17247         (print_version): Use PKGVERSION.
17248         * malloc/mtrace.pl ($PACKAGE): Remove variable.
17249         ($PKGVERSION): New variable.
17250         ($REPORT_BUGS_TO): Likewise.
17251         (usage): Use $REPORT_BUGS_TO.
17252         (top level): Use $PKGVERSION.
17253         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
17254         ($(objpfx)pkgvers.texi): New rule.
17255         ($(objpfx)stamp-pkgvers): Likewise.
17256         * manual/install.texi: Include pkgvers.texi.
17257         (--with-pkgversion): Document new configure option.
17258         (--with-bugurl): Likewise.
17259         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
17260         than necessarily for this particular distribution.  Use
17261         REPORT_BUGS_TO for where to report bugs.
17262         * INSTALL: Regenerated.
17263         * manual/libc.texinfo: Include pkgvers.texi.
17264         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
17265         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
17266         (print_version): Use PKGVERSION.
17267         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
17268         (print_version): Use PKGVERSION.
17269         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
17270         (print_version): Use PKGVERSION.
17271         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
17272         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
17273         macro.
17274         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
17275         (print_version): Use PKGVERSION.
17276         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
17277         (print_version): Use PKGVERSION.
17278         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
17279         and PKGVERSION.
17281         * timezone/checktab.awk: Update from tzcode 2012i.
17282         * timezone/ialloc.c: Likewise.
17283         * timezone/private.h: Likewise.
17284         * timezone/scheck.c: Likewise.
17285         * timezone/tzfile.h: Likewise.
17286         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
17287         (TZVERSION): Hardcode tzcode version number.
17288         * timezone/zdump.c: Update from tzcode 2012i.
17289         * timezone/zic.c: Likewise.
17290         * timezone/version.h: New file.
17291         * timezone/README: Describe version.h.  Update upstream location.
17293         [BZ #14824]
17294         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
17295         (mktemp): Enable declaration.
17296         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
17297         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
17298         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
17299         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
17300         Likewise.
17301         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
17302         Likewise.
17303         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
17304         Likewise.
17305         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
17306         Likewise.
17307         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
17308         Likewise.
17309         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
17310         Likewise.
17312         [BZ #14821]
17313         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
17314         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
17315         for copies of such integer values.
17316         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
17317         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
17319 2012-11-09  Andreas Jaeger  <aj@suse.de>
17321         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
17322         definitions and declarations that are provided by
17323         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
17325 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
17327         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
17328         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
17329         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
17330         definition.
17332 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
17334         * elf/elf.h: Update comment before AArch64 relocations.
17336 2012-11-07  David S. Miller  <davem@davemloft.net>
17338         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
17339         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
17340         (__start_context): Declare.
17341         (__makecontext_ret): Delete.
17342         (__makecontext): Hook up __start_context instead of
17343         __makecontext_ret.
17344         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
17345         (sysdep_routines): Add __start_context when in stdlib.
17347 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
17349         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
17350         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
17351         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
17352         hardcoded "nm".
17353         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
17354         (READELF): New variable.  Use it instead of hardcoded "readelf".
17356 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
17358         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
17359         * sysdeps/x86/Makefile: Here.
17360         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
17361         * sysdeps/x86/tst-xmmymm.sh: This.
17363 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
17365         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
17366         expectations.
17367         [UNIX98] (pthread_barrier_t): Do not expect.
17368         [UNIX98] (pthread_barrierattr_t): Likewise.
17369         [UNIX98] (pthread_spinlock_t): Likewise.
17370         [UNIX98] (pthread_barrier_destroy): Likewise.
17371         [UNIX98] (pthread_barrier_init): Likewise.
17372         [UNIX98] (pthread_barrier_wait): Likewise.
17373         [UNIX98] (pthread_barrierattr_destroy): Likewise.
17374         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
17375         [UNIX98] (pthread_barrierattr_init): Likewise.
17376         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
17377         [UNIX98] (pthread_getcpuclockid): Likewise.
17378         [UNIX98] (pthread_mutex_timedlock): Likewise.
17379         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
17380         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
17381         [UNIX98] (pthread_sigmask): Likewise.
17382         [UNIX98] (pthread_spin_destroy): Likewise.
17383         [UNIX98] (pthread_spin_init): Likewise.
17384         [UNIX98] (pthread_spin_lock): Likewise.
17385         [UNIX98] (pthread_spin_trylock): Likewise.
17386         [UNIX98] (pthread_spin_unlock): Likewise.
17387         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
17388         Do not expect.
17389         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
17390         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
17391         [XPG3 || XPG4] (pthread_cond_t): Likewise.
17392         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
17393         [XPG3 || XPG4] (pthread_key_t): Likewise.
17394         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
17395         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
17396         [XPG3 || XPG4] (pthread_once_t): Likewise.
17397         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
17398         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
17399         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
17400         [XPG3 || XPG4] (pthread_t): Likewise.
17402         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
17403         not expect.
17404         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
17406         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
17407         Change function return type to int.
17409         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
17410         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
17411         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
17412         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
17413         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
17414         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
17415         [!POSIX] (posix_madvise): Likewise.
17416         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
17417         && !UNIX98].
17418         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
17419         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
17420         (mode_t): Likewise.
17421         (posix_mem_offset): Likewise.
17422         (posix_typed_mem_get_info): Likewise.
17423         (posix_typed_mem_open): Likewise.
17425         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
17426         Change condition to [XOPEN2K8].
17428         * conform/conformtest.pl: Preprocess allow-header data with -x c
17429         instead of from stdin.
17430         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
17431         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
17432         [C99-based standards] (cerfc): Likewise.
17433         [C99-based standards] (cexp2): Likewise.
17434         [C99-based standards] (cexpm1): Likewise.
17435         [C99-based standards] (clog10): Likewise.
17436         [C99-based standards] (clog1p): Likewise.
17437         [C99-based standards] (clog2): Likewise.
17438         [C99-based standards] (clgamma): Likewise.
17439         [C99-based standards] (ctgamma): Likewise.
17440         [C99-based standards] (cerff): Likewise.
17441         [C99-based standards] (cerfcf): Likewise.
17442         [C99-based standards] (cexp2f): Likewise.
17443         [C99-based standards] (cexpm1f): Likewise.
17444         [C99-based standards] (clog10f): Likewise.
17445         [C99-based standards] (clog1pf): Likewise.
17446         [C99-based standards] (clog2f): Likewise.
17447         [C99-based standards] (clgammaf): Likewise.
17448         [C99-based standards] (ctgammaf): Likewise.
17449         [C99-based standards] (cerfl): Likewise.
17450         [C99-based standards] (cerfcl): Likewise.
17451         [C99-based standards] (cexp2l): Likewise.
17452         [C99-based standards] (cexpm1l): Likewise.
17453         [C99-based standards] (clog10l): Likewise.
17454         [C99-based standards] (clog1pl): Likewise.
17455         [C99-based standards] (clog2l): Likewise.
17456         [C99-based standards] (clgammal): Likewise.
17457         [C99-based standards] (ctgammal): Likewise.
17458         * conform/data/inttypes.h-data [C99-based standards]: Include
17459         stdint.h-data.  Remove all expectations for stdint.h contents.
17460         [C99-based standards] (PRI*): Do not allow.
17461         [C99-based standards] (SCN*): Likewise.
17462         [C99-based standards] (*_t): Likewise.
17463         [C99-based-standards] (PRId8): Expect macro.
17464         [C99-based-standards] (PRIi8): Likewise.
17465         [C99-based-standards] (PRIo8): Likewise.
17466         [C99-based-standards] (PRIu8): Likewise.
17467         [C99-based-standards] (PRIx8): Likewise.
17468         [C99-based-standards] (PRIX8): Likewise.
17469         [C99-based-standards] (SCNd8): Likewise.
17470         [C99-based-standards] (SCNi8): Likewise.
17471         [C99-based-standards] (SCNo8): Likewise.
17472         [C99-based-standards] (SCNu8): Likewise.
17473         [C99-based-standards] (SCNx8): Likewise.
17474         [C99-based-standards] (PRIdLEAST8): Likewise.
17475         [C99-based-standards] (PRIiLEAST8): Likewise.
17476         [C99-based-standards] (PRIoLEAST8): Likewise.
17477         [C99-based-standards] (PRIuLEAST8): Likewise.
17478         [C99-based-standards] (PRIxLEAST8): Likewise.
17479         [C99-based-standards] (PRIXLEAST8): Likewise.
17480         [C99-based-standards] (SCNdLEAST8): Likewise.
17481         [C99-based-standards] (SCNiLEAST8): Likewise.
17482         [C99-based-standards] (SCNoLEAST8): Likewise.
17483         [C99-based-standards] (SCNuLEAST8): Likewise.
17484         [C99-based-standards] (SCNxLEAST8): Likewise.
17485         [C99-based-standards] (PRIdFAST8): Likewise.
17486         [C99-based-standards] (PRIiFAST8): Likewise.
17487         [C99-based-standards] (PRIoFAST8): Likewise.
17488         [C99-based-standards] (PRIuFAST8): Likewise.
17489         [C99-based-standards] (PRIxFAST8): Likewise.
17490         [C99-based-standards] (PRIXFAST8): Likewise.
17491         [C99-based-standards] (SCNdFAST8): Likewise.
17492         [C99-based-standards] (SCNiFAST8): Likewise.
17493         [C99-based-standards] (SCNoFAST8): Likewise.
17494         [C99-based-standards] (SCNuFAST8): Likewise.
17495         [C99-based-standards] (SCNxFAST8): Likewise.
17496         [C99-based-standards] (PRId16): Likewise.
17497         [C99-based-standards] (PRIi16): Likewise.
17498         [C99-based-standards] (PRIo16): Likewise.
17499         [C99-based-standards] (PRIu16): Likewise.
17500         [C99-based-standards] (PRIx16): Likewise.
17501         [C99-based-standards] (PRIX16): Likewise.
17502         [C99-based-standards] (SCNd16): Likewise.
17503         [C99-based-standards] (SCNi16): Likewise.
17504         [C99-based-standards] (SCNo16): Likewise.
17505         [C99-based-standards] (SCNu16): Likewise.
17506         [C99-based-standards] (SCNx16): Likewise.
17507         [C99-based-standards] (PRIdLEAST16): Likewise.
17508         [C99-based-standards] (PRIiLEAST16): Likewise.
17509         [C99-based-standards] (PRIoLEAST16): Likewise.
17510         [C99-based-standards] (PRIuLEAST16): Likewise.
17511         [C99-based-standards] (PRIxLEAST16): Likewise.
17512         [C99-based-standards] (PRIXLEAST16): Likewise.
17513         [C99-based-standards] (SCNdLEAST16): Likewise.
17514         [C99-based-standards] (SCNiLEAST16): Likewise.
17515         [C99-based-standards] (SCNoLEAST16): Likewise.
17516         [C99-based-standards] (SCNuLEAST16): Likewise.
17517         [C99-based-standards] (SCNxLEAST16): Likewise.
17518         [C99-based-standards] (PRIdFAST16): Likewise.
17519         [C99-based-standards] (PRIiFAST16): Likewise.
17520         [C99-based-standards] (PRIoFAST16): Likewise.
17521         [C99-based-standards] (PRIuFAST16): Likewise.
17522         [C99-based-standards] (PRIxFAST16): Likewise.
17523         [C99-based-standards] (PRIXFAST16): Likewise.
17524         [C99-based-standards] (SCNdFAST16): Likewise.
17525         [C99-based-standards] (SCNiFAST16): Likewise.
17526         [C99-based-standards] (SCNoFAST16): Likewise.
17527         [C99-based-standards] (SCNuFAST16): Likewise.
17528         [C99-based-standards] (SCNxFAST16): Likewise.
17529         [C99-based-standards] (PRId32): Likewise.
17530         [C99-based-standards] (PRIi32): Likewise.
17531         [C99-based-standards] (PRIo32): Likewise.
17532         [C99-based-standards] (PRIu32): Likewise.
17533         [C99-based-standards] (PRIx32): Likewise.
17534         [C99-based-standards] (PRIX32): Likewise.
17535         [C99-based-standards] (SCNd32): Likewise.
17536         [C99-based-standards] (SCNi32): Likewise.
17537         [C99-based-standards] (SCNo32): Likewise.
17538         [C99-based-standards] (SCNu32): Likewise.
17539         [C99-based-standards] (SCNx32): Likewise.
17540         [C99-based-standards] (PRIdLEAST32): Likewise.
17541         [C99-based-standards] (PRIiLEAST32): Likewise.
17542         [C99-based-standards] (PRIoLEAST32): Likewise.
17543         [C99-based-standards] (PRIuLEAST32): Likewise.
17544         [C99-based-standards] (PRIxLEAST32): Likewise.
17545         [C99-based-standards] (PRIXLEAST32): Likewise.
17546         [C99-based-standards] (SCNdLEAST32): Likewise.
17547         [C99-based-standards] (SCNiLEAST32): Likewise.
17548         [C99-based-standards] (SCNoLEAST32): Likewise.
17549         [C99-based-standards] (SCNuLEAST32): Likewise.
17550         [C99-based-standards] (SCNxLEAST32): Likewise.
17551         [C99-based-standards] (PRIdFAST32): Likewise.
17552         [C99-based-standards] (PRIiFAST32): Likewise.
17553         [C99-based-standards] (PRIoFAST32): Likewise.
17554         [C99-based-standards] (PRIuFAST32): Likewise.
17555         [C99-based-standards] (PRIxFAST32): Likewise.
17556         [C99-based-standards] (PRIXFAST32): Likewise.
17557         [C99-based-standards] (SCNdFAST32): Likewise.
17558         [C99-based-standards] (SCNiFAST32): Likewise.
17559         [C99-based-standards] (SCNoFAST32): Likewise.
17560         [C99-based-standards] (SCNuFAST32): Likewise.
17561         [C99-based-standards] (SCNxFAST32): Likewise.
17562         [C99-based-standards] (PRId64): Likewise.
17563         [C99-based-standards] (PRIi64): Likewise.
17564         [C99-based-standards] (PRIo64): Likewise.
17565         [C99-based-standards] (PRIu64): Likewise.
17566         [C99-based-standards] (PRIx64): Likewise.
17567         [C99-based-standards] (PRIX64): Likewise.
17568         [C99-based-standards] (SCNd64): Likewise.
17569         [C99-based-standards] (SCNi64): Likewise.
17570         [C99-based-standards] (SCNo64): Likewise.
17571         [C99-based-standards] (SCNu64): Likewise.
17572         [C99-based-standards] (SCNx64): Likewise.
17573         [C99-based-standards] (PRIdLEAST64): Likewise.
17574         [C99-based-standards] (PRIiLEAST64): Likewise.
17575         [C99-based-standards] (PRIoLEAST64): Likewise.
17576         [C99-based-standards] (PRIuLEAST64): Likewise.
17577         [C99-based-standards] (PRIxLEAST64): Likewise.
17578         [C99-based-standards] (PRIXLEAST64): Likewise.
17579         [C99-based-standards] (SCNdLEAST64): Likewise.
17580         [C99-based-standards] (SCNiLEAST64): Likewise.
17581         [C99-based-standards] (SCNoLEAST64): Likewise.
17582         [C99-based-standards] (SCNuLEAST64): Likewise.
17583         [C99-based-standards] (SCNxLEAST64): Likewise.
17584         [C99-based-standards] (PRIdFAST64): Likewise.
17585         [C99-based-standards] (PRIiFAST64): Likewise.
17586         [C99-based-standards] (PRIoFAST64): Likewise.
17587         [C99-based-standards] (PRIuFAST64): Likewise.
17588         [C99-based-standards] (PRIxFAST64): Likewise.
17589         [C99-based-standards] (PRIXFAST64): Likewise.
17590         [C99-based-standards] (SCNdFAST64): Likewise.
17591         [C99-based-standards] (SCNiFAST64): Likewise.
17592         [C99-based-standards] (SCNoFAST64): Likewise.
17593         [C99-based-standards] (SCNuFAST64): Likewise.
17594         [C99-based-standards] (SCNxFAST64): Likewise.
17595         [C99-based-standards] (PRIdMAX): Likewise.
17596         [C99-based-standards] (PRIiMAX): Likewise.
17597         [C99-based-standards] (PRIoMAX): Likewise.
17598         [C99-based-standards] (PRIuMAX): Likewise.
17599         [C99-based-standards] (PRIxMAX): Likewise.
17600         [C99-based-standards] (PRIXMAX): Likewise.
17601         [C99-based-standards] (SCNdMAX): Likewise.
17602         [C99-based-standards] (SCNiMAX): Likewise.
17603         [C99-based-standards] (SCNoMAX): Likewise.
17604         [C99-based-standards] (SCNuMAX): Likewise.
17605         [C99-based-standards] (SCNxMAX): Likewise.
17606         [C99-based-standards] (PRIdPTR): Likewise.
17607         [C99-based-standards] (PRIiPTR): Likewise.
17608         [C99-based-standards] (PRIoPTR): Likewise.
17609         [C99-based-standards] (PRIuPTR): Likewise.
17610         [C99-based-standards] (PRIxPTR): Likewise.
17611         [C99-based-standards] (PRIXPTR): Likewise.
17612         [C99-based-standards] (SCNdPTR): Likewise.
17613         [C99-based-standards] (SCNiPTR): Likewise.
17614         [C99-based-standards] (SCNoPTR): Likewise.
17615         [C99-based-standards] (SCNuPTR): Likewise.
17616         [C99-based-standards] (SCNxPTR): Likewise.
17617         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
17618         allow.
17619         * conform/data/stdint.h-data: Update comments to clarify
17620         requirements.
17621         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
17622         type.
17623         [C99-based standards] (INT8_MAX): Likewise.
17624         [C99-based standards] (INT16_MIN): Likewise.
17625         [C99-based standards] (INT16_MAX): Likewise.
17626         [C99-based standards] (INT32_MIN): Likewise.
17627         [C99-based standards] (INT32_MAX): Likewise.
17628         [C99-based standards] (INT64_MIN): Likewise.
17629         [C99-based standards] (INT64_MAX): Likewise.
17630         [C99-based standards] (UINT8_MAX): Likewise.
17631         [C99-based standards] (UINT16_MAX): Likewise.
17632         [C99-based standards] (UINT32_MAX): Likewise.
17633         [C99-based standards] (UINT64_MAX): Likewise.
17634         [C99-based standards] (INT_LEAST8_MIN): Likewise.
17635         [C99-based standards] (INT_LEAST8_MAX): Likewise.
17636         [C99-based standards] (INT_LEAST16_MIN): Likewise.
17637         [C99-based standards] (INT_LEAST16_MAX): Likewise.
17638         [C99-based standards] (INT_LEAST32_MIN): Likewise.
17639         [C99-based standards] (INT_LEAST32_MAX): Likewise.
17640         [C99-based standards] (INT_LEAST64_MIN): Likewise.
17641         [C99-based standards] (INT_LEAST64_MAX): Likewise.
17642         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
17643         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
17644         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
17645         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
17646         [C99-based standards] (INT_FAST8_MIN): Likewise.
17647         [C99-based standards] (INT_FAST8_MAX): Likewise.
17648         [C99-based standards] (INT_FAST16_MIN): Likewise.
17649         [C99-based standards] (INT_FAST16_MAX): Likewise.
17650         [C99-based standards] (INT_FAST32_MIN): Likewise.
17651         [C99-based standards] (INT_FAST32_MAX): Likewise.
17652         [C99-based standards] (INT_FAST64_MIN): Likewise.
17653         [C99-based standards] (INT_FAST64_MAX): Likewise.
17654         [C99-based standards] (UINT_FAST8_MAX): Likewise.
17655         [C99-based standards] (UINT_FAST16_MAX): Likewise.
17656         [C99-based standards] (UINT_FAST32_MAX): Likewise.
17657         [C99-based standards] (UINT_FAST64_MAX): Likewise.
17658         [C99-based standards] (INTPTR_MIN): Likewise.
17659         [C99-based standards] (INTPTR_MAX): Likewise.
17660         [C99-based standards] (UINTPTR_MAX): Likewise.
17661         [C99-based standards] (INTMAX_MIN): Likewise.
17662         [C99-based standards] (INTMAX_MAX): Likewise.
17663         [C99-based standards] (UINTMAX_MAX): Likewise.
17664         [C99-based standards] (PTRDIFF_MIN): Likewise.
17665         [C99-based standards] (PTRDIFF_MAX): Likewise.
17666         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
17667         [C99-based standards] (SIZE_MAX): Likewise.
17668         [C99-based standards] (WCHAR_MAX): Likewise.
17669         [C99-based standards] (WINT_MAX): Likewise.
17670         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
17671         constraint on value.
17672         [C99-based standards] (WCHAR_MIN): Likewise.
17673         [C99-based standards] (WINT_MIN): Likewise.
17674         [C99-based standards] (*_t): Allow.
17675         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
17676         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
17677         Include math.h-data and complex.h-data.  Remove all expectations
17678         of math.h and complex.h contents.
17679         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
17680         at end of line.
17681         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
17682         (struct tm): Expect tag.
17683         [C99-based-standards] (wcstof): Expect function.
17684         [C99-based-standards] (wcstold): Likewise.
17685         [C99-based-standards] (wcstoll): Likewise.
17686         [C99-based-standards] (wcstoull): Likewise.
17687         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
17688         macro-int-constant.  Specify type.
17689         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
17690         constraint on value.
17691         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
17692         Specify type.
17693         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
17694         Specify value.
17695         [ISO C standards]: Do not allow headers.
17696         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
17697         wcs[abcdefghijklmnopqrstuvwxyz]*.
17698         [ISO C standards] (*_t): Do not allow.
17699         * conform/data/wctype.h-data [C99-based standards] (iswblank):
17700         Expect function.
17701         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
17702         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
17703         Specify type.
17704         [ISO C standards]: Do not allow headers.
17705         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
17706         is[abcdefghijklmnopqrstuvwxyz]*.
17707         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
17708         to[abcdefghijklmnopqrstuvwxyz]*.
17709         [ISO C standards] (*_t): Do not allow.
17710         * conform/data/stdalign.h-data: New file.
17711         * conform/data/stdbool.h-data: Likewise.
17712         * conform/data/stdnoreturn.h-data: Likewise.
17714 2012-11-07  Roland McGrath  <roland@hack.frob.com>
17716         [BZ #14815]
17717         * manual/filesys.texi (Directory Entries): Typo fix.
17718         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
17720 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
17722         * elf/elf.h (EM_AARCH64): New macro.
17723         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
17724         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
17725         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
17726         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
17727         (R_AARCH64_TLSDESC): Likewise.
17728         (NT_ARM_TLS): Likewise.
17729         (NT_ARM_HW_BREAK): Likewise.
17730         (NT_ARM_HW_WATCH): Likewise.
17732 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
17734         [BZ #14811]
17735         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
17736         (__ieee754_powl): Saturate nonzero exponents with absolute value
17737         below 0x1p-79 to +/- 0x1p-79.
17738         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
17739         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
17740         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
17741         nonzero exponents with absolute value below 0x1p-32 to +/-
17742         0x1p-32.
17743         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
17744         (__ieee754_powl): Saturate nonzero exponents with absolute value
17745         below 0x1p-79 to +/- 0x1p-79.
17746         * math/libm-test.inc (pow_test): Add more tests.
17748 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
17750         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
17751         _dl_s390_cap_flags with kernel. Increase string length.
17752         (_dl_s390_platforms): Add z196 and zEC12.
17754 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
17756         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
17757         Change XOPEN21K to XOPEN2K.
17759 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
17761         * string/memmove.c: Use memcpy when possible.
17763 2012-11-06  Andreas Jaeger  <aj@suse.de>
17765         * po/eo.po: Update from translation team.
17767 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
17769         [BZ #14793]
17770         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
17771         exponent and small x and y exponents, scale x or y up.  Increase
17772         by 2 the exponent used in scaling up.
17773         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
17774         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
17775         * math/libm-test.inc (fma_test): Add more tests.
17776         (fma_test_towardzero): Likewise.
17777         (fma_test_downward): Likewise.
17778         (fma_test_upward): Likewise.
17780 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
17782         [BZ #14805]
17783         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
17784         fenv_t *.
17786         [BZ #14801]
17787         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
17788         namespace for names of struct fields.
17789         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
17790         fenv_t fields.
17791         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
17792         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
17794 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
17796         [BZ #3665]
17797         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
17799 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
17801         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
17802         PTR_DEMANGLE.
17804         [BZ #5246]
17805         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
17806         PTR_DEMANGLE.
17808 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
17810         [BZ #14797]
17811         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
17812         definitely overflow as x * y not x * y + z.
17813         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
17814         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
17815         * math/libm-test.inc (fma_test): Add more tests.
17816         (fma_test_towardzero): Likewise.
17817         (fma_test_downward): Likewise.
17818         (fma_test_upward): Likewise.
17820 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
17822         [BZ #157]
17824         * include/stub-tag.h: Remove file.
17825         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
17826         '#include' of it.
17827         * manual/maint.texi (Porting): Don't reference it.
17828         * Makerules ($(objpfx)stubs): Likewise.
17829         * dirent/closedir.c: Don't include <stub-tag.h>.
17830         * dirent/dirfd.c: Likewise.
17831         * dirent/fdopendir.c: Likewise.
17832         * dirent/getdents.c: Likewise.
17833         * dirent/getdents64.c: Likewise.
17834         * dirent/opendir.c: Likewise.
17835         * dirent/readdir.c: Likewise.
17836         * dirent/readdir64.c: Likewise.
17837         * dirent/readdir64_r.c: Likewise.
17838         * dirent/readdir_r.c: Likewise.
17839         * dirent/rewinddir.c: Likewise.
17840         * dirent/seekdir.c: Likewise.
17841         * dirent/telldir.c: Likewise.
17842         * gmon/profil.c: Likewise.
17843         * grp/setgroups.c: Likewise.
17844         * inet/if_index.c: Likewise.
17845         * io/access.c: Likewise.
17846         * io/chdir.c: Likewise.
17847         * io/chmod.c: Likewise.
17848         * io/chown.c: Likewise.
17849         * io/close.c: Likewise.
17850         * io/dup.c: Likewise.
17851         * io/dup2.c: Likewise.
17852         * io/dup3.c: Likewise.
17853         * io/euidaccess.c: Likewise.
17854         * io/faccessat.c: Likewise.
17855         * io/fchdir.c: Likewise.
17856         * io/fchmod.c: Likewise.
17857         * io/fchmodat.c: Likewise.
17858         * io/fchown.c: Likewise.
17859         * io/fchownat.c: Likewise.
17860         * io/fcntl.c: Likewise.
17861         * io/flock.c: Likewise.
17862         * io/fstatfs.c: Likewise.
17863         * io/fstatfs64.c: Likewise.
17864         * io/fstatvfs.c: Likewise.
17865         * io/fstatvfs64.c: Likewise.
17866         * io/futimens.c: Likewise.
17867         * io/fxstat.c: Likewise.
17868         * io/fxstat64.c: Likewise.
17869         * io/fxstatat.c: Likewise.
17870         * io/fxstatat64.c: Likewise.
17871         * io/getcwd.c: Likewise.
17872         * io/isatty.c: Likewise.
17873         * io/lchmod.c: Likewise.
17874         * io/lchown.c: Likewise.
17875         * io/link.c: Likewise.
17876         * io/linkat.c: Likewise.
17877         * io/lseek.c: Likewise.
17878         * io/lseek64.c: Likewise.
17879         * io/lxstat64.c: Likewise.
17880         * io/mkdir.c: Likewise.
17881         * io/mkdirat.c: Likewise.
17882         * io/mkfifo.c: Likewise.
17883         * io/mkfifoat.c: Likewise.
17884         * io/open.c: Likewise.
17885         * io/open64.c: Likewise.
17886         * io/openat.c: Likewise.
17887         * io/openat64.c: Likewise.
17888         * io/pipe.c: Likewise.
17889         * io/pipe2.c: Likewise.
17890         * io/poll.c: Likewise.
17891         * io/posix_fadvise.c: Likewise.
17892         * io/posix_fadvise64.c: Likewise.
17893         * io/posix_fallocate.c: Likewise.
17894         * io/posix_fallocate64.c: Likewise.
17895         * io/read.c: Likewise.
17896         * io/readlink.c: Likewise.
17897         * io/readlinkat.c: Likewise.
17898         * io/rmdir.c: Likewise.
17899         * io/sendfile.c: Likewise.
17900         * io/sendfile64.c: Likewise.
17901         * io/statfs.c: Likewise.
17902         * io/statfs64.c: Likewise.
17903         * io/statvfs.c: Likewise.
17904         * io/statvfs64.c: Likewise.
17905         * io/symlink.c: Likewise.
17906         * io/symlinkat.c: Likewise.
17907         * io/ttyname.c: Likewise.
17908         * io/ttyname_r.c: Likewise.
17909         * io/umask.c: Likewise.
17910         * io/unlink.c: Likewise.
17911         * io/unlinkat.c: Likewise.
17912         * io/utime.c: Likewise.
17913         * io/utimensat.c: Likewise.
17914         * io/write.c: Likewise.
17915         * io/xmknod.c: Likewise.
17916         * io/xmknodat.c: Likewise.
17917         * io/xstat.c: Likewise.
17918         * io/xstat64.c: Likewise.
17919         * login/getpt.c: Likewise.
17920         * login/grantpt.c: Likewise.
17921         * login/unlockpt.c: Likewise.
17922         * math/e_acoshl.c: Likewise.
17923         * math/e_acosl.c: Likewise.
17924         * math/e_asinl.c: Likewise.
17925         * math/e_atan2l.c: Likewise.
17926         * math/e_atanhl.c: Likewise.
17927         * math/e_coshl.c: Likewise.
17928         * math/e_expl.c: Likewise.
17929         * math/e_fmodl.c: Likewise.
17930         * math/e_gammal_r.c: Likewise.
17931         * math/e_hypotl.c: Likewise.
17932         * math/e_j0l.c: Likewise.
17933         * math/e_j1l.c: Likewise.
17934         * math/e_jnl.c: Likewise.
17935         * math/e_lgammal_r.c: Likewise.
17936         * math/e_log10l.c: Likewise.
17937         * math/e_log2l.c: Likewise.
17938         * math/e_logl.c: Likewise.
17939         * math/e_powl.c: Likewise.
17940         * math/e_rem_pio2l.c: Likewise.
17941         * math/e_sinhl.c: Likewise.
17942         * math/e_sqrtl.c: Likewise.
17943         * math/fclrexcpt.c: Likewise.
17944         * math/fedisblxcpt.c: Likewise.
17945         * math/feenablxcpt.c: Likewise.
17946         * math/fegetenv.c: Likewise.
17947         * math/fegetexcept.c: Likewise.
17948         * math/fegetround.c: Likewise.
17949         * math/feholdexcpt.c: Likewise.
17950         * math/fesetenv.c: Likewise.
17951         * math/fesetround.c: Likewise.
17952         * math/feupdateenv.c: Likewise.
17953         * math/fgetexcptflg.c: Likewise.
17954         * math/fraiseexcpt.c: Likewise.
17955         * math/fsetexcptflg.c: Likewise.
17956         * math/ftestexcept.c: Likewise.
17957         * math/k_cosl.c: Likewise.
17958         * math/k_rem_pio2l.c: Likewise.
17959         * math/k_sinl.c: Likewise.
17960         * math/k_tanl.c: Likewise.
17961         * math/s_asinhl.c: Likewise.
17962         * math/s_atanl.c: Likewise.
17963         * math/s_cbrtl.c: Likewise.
17964         * math/s_erfl.c: Likewise.
17965         * math/s_expm1l.c: Likewise.
17966         * math/s_log1pl.c: Likewise.
17967         * math/s_tanhl.c: Likewise.
17968         * misc/acct.c: Likewise.
17969         * misc/brk.c: Likewise.
17970         * misc/chflags.c: Likewise.
17971         * misc/chroot.c: Likewise.
17972         * misc/fchflags.c: Likewise.
17973         * misc/fgetxattr.c: Likewise.
17974         * misc/flistxattr.c: Likewise.
17975         * misc/fremovexattr.c: Likewise.
17976         * misc/fsetxattr.c: Likewise.
17977         * misc/fsync.c: Likewise.
17978         * misc/ftruncate.c: Likewise.
17979         * misc/futimes.c: Likewise.
17980         * misc/futimesat.c: Likewise.
17981         * misc/getdomain.c: Likewise.
17982         * misc/getdtsz.c: Likewise.
17983         * misc/gethostid.c: Likewise.
17984         * misc/gethostname.c: Likewise.
17985         * misc/getloadavg.c: Likewise.
17986         * misc/getpagesize.c: Likewise.
17987         * misc/getsysstats.c: Likewise.
17988         * misc/getxattr.c: Likewise.
17989         * misc/gtty.c: Likewise.
17990         * misc/ioctl.c: Likewise.
17991         * misc/lgetxattr.c: Likewise.
17992         * misc/listxattr.c: Likewise.
17993         * misc/llistxattr.c: Likewise.
17994         * misc/lremovexattr.c: Likewise.
17995         * misc/lsetxattr.c: Likewise.
17996         * misc/lutimes.c: Likewise.
17997         * misc/madvise.c: Likewise.
17998         * misc/mincore.c: Likewise.
17999         * misc/mlock.c: Likewise.
18000         * misc/mlockall.c: Likewise.
18001         * misc/mmap.c: Likewise.
18002         * misc/mprotect.c: Likewise.
18003         * misc/msync.c: Likewise.
18004         * misc/munlock.c: Likewise.
18005         * misc/munlockall.c: Likewise.
18006         * misc/munmap.c: Likewise.
18007         * misc/preadv.c: Likewise.
18008         * misc/preadv64.c: Likewise.
18009         * misc/ptrace.c: Likewise.
18010         * misc/pwritev.c: Likewise.
18011         * misc/pwritev64.c: Likewise.
18012         * misc/readv.c: Likewise.
18013         * misc/reboot.c: Likewise.
18014         * misc/remap_file_pages.c: Likewise.
18015         * misc/removexattr.c: Likewise.
18016         * misc/revoke.c: Likewise.
18017         * misc/select.c: Likewise.
18018         * misc/setdomain.c: Likewise.
18019         * misc/setegid.c: Likewise.
18020         * misc/seteuid.c: Likewise.
18021         * misc/sethostid.c: Likewise.
18022         * misc/sethostname.c: Likewise.
18023         * misc/setregid.c: Likewise.
18024         * misc/setreuid.c: Likewise.
18025         * misc/setxattr.c: Likewise.
18026         * misc/sstk.c: Likewise.
18027         * misc/stty.c: Likewise.
18028         * misc/swapoff.c: Likewise.
18029         * misc/swapon.c: Likewise.
18030         * misc/sync.c: Likewise.
18031         * misc/syncfs.c: Likewise.
18032         * misc/syscall.c: Likewise.
18033         * misc/truncate.c: Likewise.
18034         * misc/ualarm.c: Likewise.
18035         * misc/usleep.c: Likewise.
18036         * misc/ustat.c: Likewise.
18037         * misc/utimes.c: Likewise.
18038         * misc/vhangup.c: Likewise.
18039         * misc/writev.c: Likewise.
18040         * posix/_exit.c: Likewise.
18041         * posix/alarm.c: Likewise.
18042         * posix/execve.c: Likewise.
18043         * posix/fexecve.c: Likewise.
18044         * posix/fork.c: Likewise.
18045         * posix/fpathconf.c: Likewise.
18046         * posix/getaddrinfo.c: Likewise.
18047         * posix/getegid.c: Likewise.
18048         * posix/geteuid.c: Likewise.
18049         * posix/getgid.c: Likewise.
18050         * posix/getgroups.c: Likewise.
18051         * posix/getlogin.c: Likewise.
18052         * posix/getlogin_r.c: Likewise.
18053         * posix/getpgid.c: Likewise.
18054         * posix/getpid.c: Likewise.
18055         * posix/getppid.c: Likewise.
18056         * posix/getresgid.c: Likewise.
18057         * posix/getresuid.c: Likewise.
18058         * posix/getsid.c: Likewise.
18059         * posix/getuid.c: Likewise.
18060         * posix/glob64.c: Likewise.
18061         * posix/nanosleep.c: Likewise.
18062         * posix/pathconf.c: Likewise.
18063         * posix/pause.c: Likewise.
18064         * posix/posix_madvise.c: Likewise.
18065         * posix/pread.c: Likewise.
18066         * posix/pread64.c: Likewise.
18067         * posix/pwrite.c: Likewise.
18068         * posix/pwrite64.c: Likewise.
18069         * posix/sched_getaffinity.c: Likewise.
18070         * posix/sched_getp.c: Likewise.
18071         * posix/sched_gets.c: Likewise.
18072         * posix/sched_primax.c: Likewise.
18073         * posix/sched_primin.c: Likewise.
18074         * posix/sched_rr_gi.c: Likewise.
18075         * posix/sched_setaffinity.c: Likewise.
18076         * posix/sched_setp.c: Likewise.
18077         * posix/sched_sets.c: Likewise.
18078         * posix/sched_yield.c: Likewise.
18079         * posix/setgid.c: Likewise.
18080         * posix/setlogin.c: Likewise.
18081         * posix/setpgid.c: Likewise.
18082         * posix/setresgid.c: Likewise.
18083         * posix/setresuid.c: Likewise.
18084         * posix/setsid.c: Likewise.
18085         * posix/setuid.c: Likewise.
18086         * posix/sleep.c: Likewise.
18087         * posix/spawni.c: Likewise.
18088         * posix/sysconf.c: Likewise.
18089         * posix/times.c: Likewise.
18090         * posix/wait.c: Likewise.
18091         * posix/wait3.c: Likewise.
18092         * posix/wait4.c: Likewise.
18093         * posix/waitpid.c: Likewise.
18094         * resolv/gai_sigqueue.c: Likewise.
18095         * resource/getpriority.c: Likewise.
18096         * resource/getrlimit.c: Likewise.
18097         * resource/getrusage.c: Likewise.
18098         * resource/nice.c: Likewise.
18099         * resource/setpriority.c: Likewise.
18100         * resource/setrlimit.c: Likewise.
18101         * resource/ulimit.c: Likewise.
18102         * rt/aio_cancel.c: Likewise.
18103         * rt/aio_fsync.c: Likewise.
18104         * rt/aio_read.c: Likewise.
18105         * rt/aio_sigqueue.c: Likewise.
18106         * rt/aio_suspend.c: Likewise.
18107         * rt/aio_write.c: Likewise.
18108         * rt/clock_getres.c: Likewise.
18109         * rt/clock_gettime.c: Likewise.
18110         * rt/clock_nanosleep.c: Likewise.
18111         * rt/clock_settime.c: Likewise.
18112         * rt/lio_listio.c: Likewise.
18113         * rt/mq_close.c: Likewise.
18114         * rt/mq_getattr.c: Likewise.
18115         * rt/mq_notify.c: Likewise.
18116         * rt/mq_open.c: Likewise.
18117         * rt/mq_receive.c: Likewise.
18118         * rt/mq_send.c: Likewise.
18119         * rt/mq_setattr.c: Likewise.
18120         * rt/mq_timedreceive.c: Likewise.
18121         * rt/mq_timedsend.c: Likewise.
18122         * rt/mq_unlink.c: Likewise.
18123         * rt/shm_open.c: Likewise.
18124         * rt/shm_unlink.c: Likewise.
18125         * rt/timer_create.c: Likewise.
18126         * rt/timer_delete.c: Likewise.
18127         * rt/timer_getoverr.c: Likewise.
18128         * rt/timer_gettime.c: Likewise.
18129         * rt/timer_settime.c: Likewise.
18130         * setjmp/__longjmp.c: Likewise.
18131         * setjmp/setjmp.c: Likewise.
18132         * signal/kill.c: Likewise.
18133         * signal/killpg.c: Likewise.
18134         * signal/raise.c: Likewise.
18135         * signal/sigaction.c: Likewise.
18136         * signal/sigaltstack.c: Likewise.
18137         * signal/sigblock.c: Likewise.
18138         * signal/sigignore.c: Likewise.
18139         * signal/sigintr.c: Likewise.
18140         * signal/signal.c: Likewise.
18141         * signal/sigpause.c: Likewise.
18142         * signal/sigpending.c: Likewise.
18143         * signal/sigqueue.c: Likewise.
18144         * signal/sigreturn.c: Likewise.
18145         * signal/sigset.c: Likewise.
18146         * signal/sigsetmask.c: Likewise.
18147         * signal/sigstack.c: Likewise.
18148         * signal/sigsuspend.c: Likewise.
18149         * signal/sigtimedwait.c: Likewise.
18150         * signal/sigvec.c: Likewise.
18151         * signal/sigwait.c: Likewise.
18152         * signal/sigwaitinfo.c: Likewise.
18153         * signal/sysv_signal.c: Likewise.
18154         * socket/accept.c: Likewise.
18155         * socket/accept4.c: Likewise.
18156         * socket/bind.c: Likewise.
18157         * socket/connect.c: Likewise.
18158         * socket/getpeername.c: Likewise.
18159         * socket/getsockname.c: Likewise.
18160         * socket/getsockopt.c: Likewise.
18161         * socket/isfdtype.c: Likewise.
18162         * socket/listen.c: Likewise.
18163         * socket/recv.c: Likewise.
18164         * socket/recvfrom.c: Likewise.
18165         * socket/recvmsg.c: Likewise.
18166         * socket/send.c: Likewise.
18167         * socket/sendmsg.c: Likewise.
18168         * socket/sendto.c: Likewise.
18169         * socket/setsockopt.c: Likewise.
18170         * socket/shutdown.c: Likewise.
18171         * socket/sockatmark.c: Likewise.
18172         * socket/socket.c: Likewise.
18173         * socket/socketpair.c: Likewise.
18174         * stdio-common/ctermid.c: Likewise.
18175         * stdio-common/cuserid.c: Likewise.
18176         * stdio-common/remove.c: Likewise.
18177         * stdio-common/rename.c: Likewise.
18178         * stdio-common/renameat.c: Likewise.
18179         * stdio-common/tempname.c: Likewise.
18180         * stdlib/getcontext.c: Likewise.
18181         * stdlib/makecontext.c: Likewise.
18182         * stdlib/setcontext.c: Likewise.
18183         * stdlib/swapcontext.c: Likewise.
18184         * stdlib/system.c: Likewise.
18185         * streams/fattach.c: Likewise.
18186         * streams/fdetach.c: Likewise.
18187         * streams/getmsg.c: Likewise.
18188         * streams/getpmsg.c: Likewise.
18189         * streams/putmsg.c: Likewise.
18190         * streams/putpmsg.c: Likewise.
18191         * sysdeps/unix/bsd/getpt.c: Likewise.
18192         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
18193         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
18194         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
18195         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
18196         Likewise.
18197         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
18198         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
18199         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
18200         * sysvipc/msgctl.c: Likewise.
18201         * sysvipc/msgget.c: Likewise.
18202         * sysvipc/msgrcv.c: Likewise.
18203         * sysvipc/msgsnd.c: Likewise.
18204         * sysvipc/semctl.c: Likewise.
18205         * sysvipc/semget.c: Likewise.
18206         * sysvipc/semop.c: Likewise.
18207         * sysvipc/semtimedop.c: Likewise.
18208         * sysvipc/shmat.c: Likewise.
18209         * sysvipc/shmctl.c: Likewise.
18210         * sysvipc/shmdt.c: Likewise.
18211         * sysvipc/shmget.c: Likewise.
18212         * termios/tcdrain.c: Likewise.
18213         * termios/tcflow.c: Likewise.
18214         * termios/tcflush.c: Likewise.
18215         * termios/tcgetattr.c: Likewise.
18216         * termios/tcgetpgrp.c: Likewise.
18217         * termios/tcsendbrk.c: Likewise.
18218         * termios/tcsetattr.c: Likewise.
18219         * termios/tcsetpgrp.c: Likewise.
18220         * time/adjtime.c: Likewise.
18221         * time/clock.c: Likewise.
18222         * time/getitimer.c: Likewise.
18223         * time/gettimeofday.c: Likewise.
18224         * time/setitimer.c: Likewise.
18225         * time/settimeofday.c: Likewise.
18226         * time/stime.c: Likewise.
18227         * time/time.c: Likewise.
18229 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
18231         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
18232         /usr/old/bin.
18234         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
18235         instead of spaces.
18236         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
18238 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
18240         [BZ #14796]
18241         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
18242         FE_TONEAREST before applying Dekker multiplication and Knuth
18243         addition.  Clear inexact exceptions and check for exact zero
18244         results afterwards.
18245         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
18246         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
18247         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
18248         * math/libm-test.inc (fma_test): Add more tests.
18249         (fma_test_towardzero): Likewise.
18250         (fma_test_downward): Likewise.
18251         (fma_test_upward): Likewise.
18252         * sysdeps/generic/math_private.h (default_libc_fesetround): New
18253         function.
18254         (libc_fesetround): New macro.
18255         (libc_fesetroundf): Likewise.
18256         (libc_fesetroundl): Likewise.
18257         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
18258         function.
18259         (libc_fesetround_387): Likewise.
18260         (libc_fesetroundf): New macro.
18261         (libc_fesetround): Likewise.
18262         (libc_fesetroundl): Likewise.
18263         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
18264         function.
18265         (libc_fesetroundf): New macro.
18266         (libc_fesetround): Likewise.
18267         (libc_fesetroundl): Likewise.
18268         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
18269         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
18270         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
18271         libm_hidden_ver.
18272         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
18273         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
18274         libm_hidden_def.
18275         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
18276         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
18277         libm_hidden_ver.
18278         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
18279         libm_hidden_def.
18281         [BZ #3439]
18282         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
18283         integer constant usable in #if and use that to give value to enum
18284         constant.
18285         (FE_DIVBYZERO): Likewise.
18286         (FE_UNDERFLOW): Likewise.
18287         (FE_OVERFLOW): Likewise.
18288         (FE_INVALID): Likewise.
18289         (FE_INVALID_SNAN): Likewise.
18290         (FE_INVALID_ISI): Likewise.
18291         (FE_INVALID_IDI): Likewise.
18292         (FE_INVALID_ZDZ): Likewise.
18293         (FE_INVALID_IMZ): Likewise.
18294         (FE_INVALID_COMPARE): Likewise.
18295         (FE_INVALID_SOFTWARE): Likewise.
18296         (FE_INVALID_SQRT): Likewise.
18297         (FE_INVALID_INTEGER_CONVERSION): Likewise.
18298         (FE_TONEAREST): Likewise.
18299         (FE_TOWARDZERO): Likewise.
18300         (FE_UPWARD): Likewise.
18301         (FE_DOWNWARD): Likewise.
18302         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
18303         (FE_DIVBYZERO): Likewise.
18304         (FE_OVERFLOW): Likewise.
18305         (FE_UNDERFLOW): Likewise.
18306         (FE_INEXACT): Likewise.
18307         (FE_TONEAREST): Likewise.
18308         (FE_DOWNWARD): Likewise.
18309         (FE_UPWARD): Likewise.
18310         (FE_TOWARDZERO): Likewise.
18311         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
18312         (FE_UNDERFLOW): Likewise.
18313         (FE_OVERFLOW): Likewise.
18314         (FE_DIVBYZERO): Likewise.
18315         (FE_INVALID): Likewise.
18316         (FE_TONEAREST): Likewise.
18317         (FE_TOWARDZERO): Likewise.
18318         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
18319         (FE_OVERFLOW): Likewise.
18320         (FE_UNDERFLOW): Likewise.
18321         (FE_DIVBYZERO): Likewise.
18322         (FE_INEXACT): Likewise.
18323         (FE_TONEAREST): Likewise.
18324         (FE_TOWARDZERO): Likewise.
18325         (FE_UPWARD): Likewise.
18326         (FE_DOWNWARD): Likewise.
18327         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
18328         (FE_DIVBYZERO): Likewise.
18329         (FE_OVERFLOW): Likewise.
18330         (FE_UNDERFLOW): Likewise.
18331         (FE_INEXACT): Likewise.
18332         (FE_TONEAREST): Likewise.
18333         (FE_DOWNWARD): Likewise.
18334         (FE_UPWARD): Likewise.
18335         (FE_TOWARDZERO): Likewise.
18337 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
18339         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
18341 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
18343         * scripts/cross-test-ssh.sh (command): Use newlines to separate
18344         commands.  Quote $PWD.
18345         (blacklist_exports): Don't use remove_newlines.  Replace "declare
18346         -x" by "export".
18347         (remove_newlines): Remove.
18349 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
18351         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
18352         * stdlib/stdlib.h (atof): Moved to ...
18353         * include/bits/stdlib-float.h: Here.  New file.
18354         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
18355         * stdlib/bits/stdlib-float.h: New file.
18356         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
18357         -mno-sse -mno-mmx.
18358         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
18359         <xmmintrin.h>.
18361 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
18363         * conform/conformtest.pl (@headers): Add fenv.h.
18364         * conform/data/fenv.h-data: New file.
18365         * include/fenv.h [_ISOMAC]: Disable all contents of file except
18366         include of <math/fenv.h>.
18368         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
18369         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
18370         && !UNIX98].  Enables tests for XOPEN2K8.
18371         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
18372         POSIX2008]: Likewise.
18374         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
18375         (struct rusage): Do not expect type or its members.
18377         [BZ #3439]
18378         * math/math.h (FP_NAN): Define macro to integer constant usable in
18379         #if and use that to give value to enum constant.
18380         (FP_INFINITE): Likewise.
18381         (FP_ZERO): Likewise.
18382         (FP_SUBNORMAL): Likewise.
18383         (FP_NORMAL): Likewise.
18385 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
18387         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
18388         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
18389         arguments.
18391 2012-11-02  Roland McGrath  <roland@hack.frob.com>
18393         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
18394         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
18395         autoconf-time if not.
18396         * configure.in: Remove AC_PREREQ.
18398 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
18400         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
18401         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
18402         of the internal implementation.
18404 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
18406         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
18407         except include of <misc/sys/syslog.h>.
18409 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
18411         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
18412         function returns with a NULL context exit with zero.
18414 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
18416         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
18418 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
18420         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
18421         (run_program_cmd): This.
18422         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
18423         (tst_langinfo): New variable.  Use it.
18425 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
18427         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
18428         floating point opcodes.
18430 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
18432         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
18433         variable.
18435         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
18437         * sysdeps/mach/hurd/powerpc: Remove directory.
18438         * sysdeps/mach/powerpc: Likewise.
18440 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
18442         * scripts/check-local-headers.sh: Ignore c++ headers.
18444 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
18446         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
18447         __libc_cleanup_region_start argument.
18449 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
18451         [BZ #14784]
18452         [BZ #14785]
18453         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
18454         x * y using scaling, not as x * y + z.
18455         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
18456         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
18457         * math/libm-test.inc (fma_test): Add more tests.
18458         (fma_test_towardzero): Likewise.
18459         (fma_test_downward): Likewise.
18460         (fma_test_upward): Likewise.
18462 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
18464         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
18466 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
18468         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
18469         New variable.
18471 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
18473         * rt/tst-shm.c (worker): Correct checking for mmap failure.
18475 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
18477         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
18478         Fix sort order.
18479         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
18480         Likewise.
18482 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
18484         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
18485         Fix the order of the list for glibc 2.17.
18486         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
18487         Likewise.
18489 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
18491         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18493 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
18495         [BZ #14610]
18496         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
18497         for low part of x being zero before using __atanl (y).
18498         * math/libm-test.inc (atan2_test): Add another test.
18500         * manual/install.texi (Configuring and compiling): Document
18501         general use of test-wrapper and test-wrapper-env.
18502         * INSTALL: Regenerated.
18504         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
18505         (__fma): Do not extract and scale down low bits on after-rounding
18506         systems when result rounded to normal precision would have normal
18507         exponent.
18508         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
18509         (__fmal): Do not extract and scale down low bits on after-rounding
18510         systems when result rounded to normal precision would have normal
18511         exponent.
18512         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
18513         (__fmal): Do not extract and scale down low bits on after-rounding
18514         systems when result rounded to normal precision would have normal
18515         exponent.
18516         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
18517         macro.
18518         (fma_test): Add more tests.
18519         (fma_test_towardzero): Likewise.
18520         (fma_test_downward): Likewise.
18521         (fma_test_upward): Likewise.
18523 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
18525         * sysdeps/i386/tininess.h: Renamed to ...
18526         * sysdeps/x86/tininess.h: This.
18527         * sysdeps/x86_64/tininess.h: Removed.
18529 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
18531         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
18532         input.  Use $(build-program-cmd).
18533         ($(objpfx)tst-array1-static.out): Likewise.
18534         ($(objpfx)tst-array2.out): Likewise.
18535         ($(objpfx)tst-array3.out): Likewise.
18536         ($(objpfx)tst-array4.out): Likewise.
18537         ($(objpfx)tst-array5.out): Likewise.
18538         ($(objpfx)tst-array5-static.out): Likewise.
18540 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
18542         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
18543         if defined.
18545         * nss/nsswitch.h (nss_interface_function): Provide new
18546         macro for use with NSS functions.
18547         * grp/initgroups.c: Use new macro.
18548         * nss/getXXbyYY.c: Likewise.
18549         * nss/getXXbyYY_r.c: Likewise.
18550         * nss/getXXent.c: Likewise.
18551         * nss/getXXent_r.c: Likewise.
18552         * sysdeps/posix/getaddrinfo.c: Likewise.
18554 2012-10-30  Andreas Jaeger  <aj@suse.de>
18556         * po/ru.po: Update Russion translation from translation project.
18558 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
18560         [BZ #14152]
18561         [BZ #14783]
18562         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
18563         result and shift together with sticky bit instead of replicating
18564         round-to-nearest rounding.
18565         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
18566         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
18567         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
18568         missing underflow exceptions.
18569         (fma_test_towardzero): Add more tests.
18570         (fma_test_downward): Likewise.
18571         (fma_test_upward): Likewise.
18573         [BZ #14047]
18574         * sysdeps/generic/tininess.h: New file.
18575         * sysdeps/i386/tininess.h: Likewise.
18576         * sysdeps/sh/tininess.h: Likewise.
18577         * sysdeps/x86_64/tininess.h: Likewise.
18578         * stdlib/tst-strtod-underflow.c: Likewise.
18579         * stdlib/tst-tininess.c: Likewise.
18580         * stdlib/strtod_l.c: Include <tininess.h>.
18581         (round_and_return): Do not set errno for exact underflow cases.
18582         Force an underflow exception when setting errno for underflow.
18583         Determine underflow based on rounding to normal precision if
18584         TININESS_AFTER_ROUNDING.
18585         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
18586         ERANGE for exact underflow cases.
18587         * stdlib/Makefile (tests): Add tst-tininess and
18588         tst-strtod-underflow.
18589         ($(objpfx)tst-tininess): Use $(link-libm).
18590         ($(objpfx)tst-strtod-underflow): Likewise.
18592 2012-10-30  Andreas Jaeger  <aj@suse.de>
18594         [BZ#14767]
18595         * elf/Makefile (tests): Remove conditional for have-initfini-array
18596         since this is now always required and the variable does not exist
18597         anymore.
18598         (tests-static): Likewise.
18599         (modules-names): Likewise.
18601         * po/eo.po: Add Esperanto translation from translation project.
18603         * elf/tst-array1.c (fini_array): Make writeable so that it can be
18604         merged with constructor/destructor.
18605         (init_array): Likewise.
18606         * elf/tst-array2dep.c (fini_array): Likewise.
18607         (init_array): Likewise.
18609 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
18611         * manual/message.texi: Delete @cartouche tags.
18613 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
18615         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
18616         EOPNOTSUPP.
18617         * sysdeps/mach/hurd/fsync.c: Likewise.
18619         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
18620         [_POSIX_REALTIME_SIGNALS]: Change condition to
18621         [_POSIX_REALTIME_SIGNALS > 0].
18623 2012-10-27  Andreas Jaeger  <aj@suse.de>
18625         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
18626         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
18627         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
18628         [__WORDSIZE != 64]: Likewise.
18630 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
18632         *  iconvdata/tst-table.sh: Remove ${SHELL}.
18633         *  iconvdata/tst-tables.sh: Likewise.
18635 2012-10-25  David S. Miller  <davem@davemloft.net>
18637         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
18638         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
18639         of strtoull.
18641         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
18642         ifunc-impl-list.c
18643         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
18644         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
18645         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
18646         file.
18648 2012-10-25  Roland McGrath  <roland@hack.frob.com>
18650         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
18651         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
18652         __getdirentries.
18654 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
18655             Jim Blandy  <jimb@codesourcery.com>
18657         * scripts/cross-test-ssh.sh: New file.
18658         * manual/install.texi (Configuring and compiling): Document use of
18659         cross-test-ssh.sh.
18660         * INSTALL: Regenerated.
18662 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
18664         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
18665         EOPNOTSUPP.
18667 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
18669         * Makeconfig (run-program-prefix): Fix comment.
18671 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
18672             Jim Blandy  <jimb@codesourcery.com>
18674         * Makeconfig (test-wrapper): New variable,
18675         (test-wrapper-env): Likewise.
18676         [$(cross-compiling) = yes && $(test-wrapper) != ""]
18677         (run-built-tests): Define to yes.
18678         (run-program-prefix): Use $(test-wrapper).
18679         (built-program-cmd): Likewise.
18680         * Rules (make-test-out): Use $(test-wrapper-env) and
18681         $(host-built-program-cmd).
18682         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
18683         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
18684         tst-pathopt.sh.
18685         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
18686         $(test-wrapper-env) to tst-rtld-load-self.sh.
18687         ($(objpfx)order2.out): Use $(test-wrapper).
18688         ($(objpfx)tst-initorder.out): Likewise.
18689         ($(objpfx)tst-initorder2.out): Likewise.
18690         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
18691         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
18692         (test_wrapper_env): New variable.  Use it to run ld.so.
18693         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
18694         Use it to run ld.so.
18695         (test_wrapper_env): Likewise.
18696         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
18697         $(test-wrapper) to run-iconv-test.sh.
18698         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
18699         (ICONV): Use $test_wrapper.
18700         * posix/Makefile ($(objpfx)globtest.out): Pass
18701         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
18702         globtest.sh, not $(run-program-prefix).
18703         * posix/globtest.sh (run_via_rtld_prefix): New variable.
18704         (test_wrapper): Likewise.
18705         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
18706         set together with run_via_rtld_prefix.
18707         (run_program_prefix): Define in terms of test_wrapper and
18708         run_via_rtld_prefix.
18710 2012-10-24  Roland McGrath  <roland@hack.frob.com>
18712         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
18713         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
18714         Targets removed.
18716         [BZ #14743]
18717         * include/time.h: Remove librt_hidden_proto (clock_gettime).
18718         Declare __clock_getres, __clock_gettime, __clock_settime,
18719         __clock_nanosleep, and __clock_getcpuclockid.
18720         * rt/clock_gettime.c: Define __clock_gettime as an alias.
18721         Remove librt_hidden_def (clock_gettime).
18722         * sysdeps/unix/clock_gettime.c: Likewise.
18723         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
18724         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
18725         * rt/clock_getres.c: Define __clock_getres as an alias.
18726         * sysdeps/posix/clock_getres.c: Likewise.
18727         * rt/clock_settime.c: Define __clock_settime as an alias.
18728         * sysdeps/unix/clock_settime.c: Likewise.
18729         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
18730         * sysdeps/unix/clock_nanosleep.c: Likewise.
18731         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
18732         * rt/clock-compat.c: New file.
18733         * rt/Makefile (librt-routines): Add clock-compat and move
18734         $(clock-routines) to ...
18735         (routines): ... here, new variable.
18736         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
18737         Don't add get_clockfreq here.
18738         * rt/Versions (libc: GLIBC_2.17): New version set.
18739         Add clock_* symbols here.
18740         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
18741         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
18742         (GLIBC_2.17): Add clock_* symbols.
18743         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
18744         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
18745         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
18746         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
18747         Likewise.
18748         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
18749         Likewise.
18750         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
18751         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
18752         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
18753         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
18754         * NEWS: Mention the move.
18756         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
18757         Use __open, __read, __close rather than their public counterparts.
18758         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
18759         (__get_clockfreq_via_cpuinfo): Likewise.
18760         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
18761         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
18763         * config.h.in (HAVE_IFUNC): New #undef.
18764         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
18765         was successful.
18766         * configure: Regenerated.
18768 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
18770         * configure.in: Move READELF check to start of file.
18771         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
18772         libc_cv_asm_gnu_indirect_function in the process.
18773         * configure: Regenerated.
18775 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
18777         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
18778         send the output to /dev/null.
18779         (libc_cv_cc_with_libunwind): Likewise.
18780         (libc_cv_as_noexecstack): Likewise.
18781         * configure: Regenerate.
18783 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
18785         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
18787         * posix/globtest.sh (TMPDIR): Do not set.
18788         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
18789         (testout): Likewise.
18791 2012-10-24  Andreas Jaeger  <aj@suse.de>
18793         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
18794         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
18795         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
18796         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
18797         posix_fadvise64, posix_fallocate64.
18799         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
18800         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
18801         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
18802         Likewise.
18803         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
18804         Likewise.
18805         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
18807         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
18808         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
18809         <bits/fcntl-linux.h>.
18810         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
18812         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
18813         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
18814         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
18815         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
18816         [__WORDSIZE != 64]: Likewise.
18818 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
18820         * Makeconfig (run-built-tests): New variable.
18821         * Rules [$(cross-compiling) = yes]: Change condition to
18822         [$(run-built-tests) = no].
18823         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
18824         to [$(run-built-tests) = yes].
18825         * elf/Makefile [$(cross-compiling) = no]: Likewise
18826         * grp/Makefile [$(cross-compiling) = no]: Likewise.
18827         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
18828         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
18829         * intl/Makefile [$(cross-compiling) = no]: Likewise.
18830         * io/Makefile [$(cross-compiling) = no]: Likewise.
18831         * libio/Makefile [$(cross-compiling) = no]: Likewise.
18832         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
18833         * misc/Makefile [$(cross-compiling) = no]: Likewise.
18834         * posix/Makefile [$(cross-compiling) = no]: Likewise.
18835         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
18836         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
18837         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
18838         * string/Makefile [$(cross-compiling) = no]: Likewise.
18840         * posix/Makefile ($(objpfx)globtest.out): Pass
18841         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
18842         $(rtld-installed-name).
18843         * posix/globtest.sh (elf_objpfx): Remove variable.
18844         (rtld_installed_name): Likewise.
18845         (library_path): Likewise.
18846         (run_program_prefix): New variable.  Use for running globtest
18847         binary.
18849 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
18850             Joseph Myers  <joseph@codesourcery.com>
18852         * Makeconfig (host-built-program-cmd): New variable.
18853         * elf/Makefile (tst-stackguard1-ARGS): Use
18854         $(host-built-program-cmd).
18855         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
18856         (tst-spawn-ARGS): Likewise.
18857         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
18859 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
18860             Jim Blandy  <jimb@codesourcery.com>
18862         * Makeconfig (run-via-rtld-prefix): New variable.
18863         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
18864         (built-program-cmd): Likewise.
18866 2012-10-22  Andreas Jaeger  <aj@suse.de>
18868         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
18869         __O_RSYNC if it exists, otherwise to O_SYNC.
18871 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
18872             Joseph Myers  <joseph@codesourcery.com>
18874         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
18875         /dev/null.
18876         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
18877         from /dev/null
18878         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
18879         /dev/null.
18881 2012-10-22  Andreas Jaeger  <aj@suse.de>
18883         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
18884         Define always.
18885         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
18887         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
18888         bits/fcntl-linux.h.
18890         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
18891         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
18893         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
18894         to __O_LARGEFILE.
18895         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
18896         to __O_LARGEFILE.
18898 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
18899             Joseph Myers  <joseph@codesourcery.com>
18901         * config.make.in (NM): New variable.
18903 2012-10-21  Andreas Jaeger  <aj@suse.de>
18905         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
18906         definitions and declarations that are provided by
18907         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
18909 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
18911         [BZ #14683]
18912         * elf/Makefile (tests-static): Add tst-leaks1-static.
18913         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
18914         ($(objpfx)tst-leaks1-static): New rule.
18915         ($(objpfx)tst-leaks1-static-mem): Likewise.
18916         (tst-leaks1-static-ENV): New macro.
18917         * elf/dl-open.c (dl_open_worker): Check the main application
18918         only if SHARED is defined.
18919         * elf/tst-leaks1-static.c: New file.
18921 2012-10-20  Andreas Jaeger  <aj@suse.de>
18923         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
18924         generic values for Linux.
18925         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
18926         and declarations that are provided by <bits/fcntl-linux.h> and
18927         include <bits/fcntl-linux.h>.
18928         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
18929         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
18931 2012-10-20  Roland McGrath  <roland@hack.frob.com>
18933         * io/fcntl.h: Move include of <bits/types.h> to the top and
18934         include it unconditionally.
18936 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
18938         * wcsmbs/Makefile (tests-ifunc): New variable.
18939         (tests): Add $(tests-ifunc).
18940         * wcsmbs/test-wcschr-ifunc.c: New file.
18941         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
18942         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
18943         * wcsmbs/test-wcslen-ifunc.c: Likewise.
18944         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
18945         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
18947         * string/Makefile (tests-ifunc): New variable.
18948         (tests): Add $(tests-ifunc).
18949         * string/test-memccpy.c (TEST_NAME): New macro.
18950         * string/test-memchr.c (TEST_NAME): Likewise.
18951         * string/test-memcmp.c (TEST_NAME): Likewise.
18952         * string/test-memcpy.c (TEST_NAME): Likewise.
18953         * string/test-memmem.c (TEST_NAME): Likewise.
18954         * string/test-memmove.c (TEST_NAME): Likewise.
18955         * string/test-memset.c (TEST_NAME): Likewise.
18956         * string/test-rawmemchr.c (TEST_NAME): Likewise.
18957         * string/test-stpcpy.c (TEST_NAME): Likewise.
18958         * string/test-stpncpy.c (TEST_NAME): Likewise.
18959         * string/test-strcasecmp.c (TEST_NAME): Likewise.
18960         * string/test-strcasestr.c (TEST_NAME): Likewise.
18961         * string/test-strcat.c (TEST_NAME): Likewise.
18962         * string/test-strchr.c (TEST_NAME): Likewise.
18963         * string/test-strcmp.c(TEST_NAME): Likewise.
18964         * string/test-strcpy.c (TEST_NAME): Likewise.
18965         * string/test-strcspn.c (TEST_NAME): Likewise.
18966         * string/test-strlen.c (TEST_NAME): Likewise.
18967         * string/test-strncasecmp.c (TEST_NAME): Likewise.
18968         * string/test-strncmp.c (TEST_NAME): Likewise.
18969         * string/test-strncpy.c (TEST_NAME): Likewise.
18970         * string/test-strnlen.c (TEST_NAME): Likewise.
18971         * string/test-strpbrk.c (TEST_NAME): Likewise.
18972         * string/test-strrchr.c (TEST_NAME): Likewise.
18973         * string/test-strspn.c (TEST_NAME): Likewise.
18974         * string/test-strstr.c (TEST_NAME): Likewise.
18975         * string/test-bcopy-ifunc.c: New file.
18976         * string/test-bzero-ifunc.c: Likewise.
18977         * string/test-memccpy-ifunc.c: Likewise.
18978         * string/test-memchr-ifunc.c: Likewise.
18979         * string/test-memcmp-ifunc.c: Likewise.
18980         * string/test-memcpy-ifunc.c: Likewise.
18981         * string/test-memmem-ifunc.c: Likewise.
18982         * string/test-memmove-ifunc.c: Likewise.
18983         * string/test-mempcpy-ifunc.c: Likewise.
18984         * string/test-memset-ifunc.c: Likewise.
18985         * string/test-rawmemchr-ifunc.c: Likewise.
18986         * string/test-stpcpy-ifunc.c: Likewise.
18987         * string/test-stpncpy-ifunc.c: Likewise.
18988         * string/test-strcasecmp-ifunc.c: Likewise.
18989         * string/test-strcasestr-ifunc.c: Likewise.
18990         * string/test-strcat-ifunc.c: Likewise.
18991         * string/test-strchr-ifunc.c: Likewise.
18992         * string/test-strchrnul-ifunc.c: Likewise.
18993         * string/test-strcmp-ifunc.c: Likewise.
18994         * string/test-strcpy-ifunc.c: Likewise.
18995         * string/test-strcspn-ifunc.c: Likewise.
18996         * string/test-strlen-ifunc.c: Likewise.
18997         * string/test-strncasecmp-ifunc.c: Likewise.
18998         * string/test-strncat-ifunc.c: Likewise.
18999         * string/test-strncmp-ifunc.c: Likewise.
19000         * string/test-strncpy-ifunc.c: Likewise.
19001         * string/test-strnlen-ifunc.c: Likewise.
19002         * string/test-strpbrk-ifunc.c: Likewise.
19003         * string/test-strrchr-ifunc.c: Likewise.
19004         * string/test-strspn-ifunc.c: Likewise.
19005         * string/test-strstr-ifunc.c: Likewise.
19007         * debug/Makefile (tests-ifunc): New variable.
19008         (tests): Add $(tests-ifunc).
19009         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
19010         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
19011         * debug/test-stpcpy_chk-ifunc.c: New file.
19012         * debug/test-strcpy_chk-ifunc.c: Likewise.
19014 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
19016         [BZ #13601]
19017         * elf/dl-load.c (open_verify): Retry read if the entire ELF
19018         header is not read in.
19020 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
19022         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
19023         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
19024         directly.  Pass built executable to script as
19025         $(built-program-cmd).
19026         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
19027         $testprogram without using LD_LIBRARY_PATH and $ldso.
19029         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
19030         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
19031         $(rtld-installed-name).
19032         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
19033         (rtld_installed_name): Likewise.
19034         (library_path): Likewise.
19035         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
19036         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
19037         $(run-program-prefix) to tst-tables.sh.
19038         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
19039         it to run tst-table-from and tst-table-to.
19040         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
19041         Pass it to tst-table.sh.
19042         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
19043         $(run-program-prefix) to tst-gettext.sh.
19044         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
19045         tst-translit.sh.
19046         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
19047         tst-gettext2.sh.
19048         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
19049         to run tst-gettext.
19050         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
19051         to run tst-gettext2.
19052         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
19053         to run tst-translit.
19054         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
19055         $(run-program-prefix) to tst-mtrace.sh.
19056         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
19057         to run tst-mtrace.
19058         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
19059         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
19060         $(rtld-installed-name).
19061         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
19062         (rtld_installed_name): Likewise.
19063         (run_program_prefix): New variable.  Use it to run wordexp-test.
19065         * Makeconfig (ARCH): Remove all definitions.
19066         (machine): Likewise.
19067         [ARCH]: Remove conditional code.
19068         [!objdir]: Give error.
19069         [!objdir] (objpfx): Remove.
19070         [!objdir] (common-objpfx): Likewise.
19071         [!objdir] (common-objdir): Likewise.
19072         * configure.in (config_makefile): Remove.  Hardcode Makefile in
19073         AC_CONFIG_FILES call.
19074         * configure: Regenerated.
19076         [BZ #13888]
19077         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
19078         or TMPDIR.
19079         (testout): Likewise.
19081         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
19082         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
19083         $(rtld-installed-name).
19084         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
19085         (rtld_installed_name): Likwise.
19086         (runit): Remove function.
19087         (run_getconf): New variable,  Use it for running getconf binary.
19089 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
19091         [BZ #14716]
19092         * string/test-memmem.c (check_result): New function.
19093         (do_one_test): Use it.
19094         (check1): New function.
19095         (test_main): Use it.
19097 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
19099         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
19101 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
19103         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
19104         (_G_LSEEK64): Likewise.
19105         (_G_MMAP64): Likewise.
19106         (_G_FSTAT64): Likewise.
19107         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
19108         (_G_LSEEK64): Likewise.
19109         (_G_MMAP64): Likewise.
19110         (_G_FSTAT64): Likewise.
19111         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
19112         unconditional.  Call __mmap64 directly.
19113         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
19114         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
19115         __lseek64 directly.
19116         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
19117         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
19118         __mmap64 directly.
19119         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
19120         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
19121         __lseek64 directly.
19122         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
19123         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
19124         __lseek64 directly.
19125         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
19126         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
19127         __lseek64 directly.
19128         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
19129         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
19130         __fxstat64 directly.
19131         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
19132         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
19133         unconditional.
19134         (freopen64) [!_G_OPEN64]: Remove conditional code.
19135         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
19136         unconditional.
19137         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
19138         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
19139         unconditional.
19140         (ftello64) [!_G_LSEEK64]: Remove conditional code.
19141         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
19142         unconditional.
19143         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
19144         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
19145         unconditional.
19146         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
19147         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
19148         unconditional.
19149         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
19150         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
19151         unconditional.
19152         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
19153         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
19154         unconditional.
19155         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
19157 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
19159         [BZ #12140]
19160         * manual/memory.texi (Malloc Tunable Parameters): Add note
19161         about free list pointers overwriting some perturb bytes.
19162         Wording suggested by Roland McGrath.
19164 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
19166         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
19167         (lgamma_test): Likewise.
19168         (tgamma_test): Likewise.
19170 2012-10-16  Florian Weimer  <fweimer@redhat.com>
19172         [BZ #14700]
19173         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
19174         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
19176 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
19178         * NEWS: Mention BZ #14716.
19179         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
19180         when removing AVAILABLE1_USES_J macro.
19182 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
19184         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
19185         (__bswap_64): __uint64_t for unsigned 64-bit int.
19187 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
19189         * include/string.h (memmem): Declare libc hidden alias.
19190         * string/memmem.c (memmem): Define libc hidden alias.
19191         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
19192         __read, __close instead of open, read, close.
19194 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
19196         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
19197         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
19198         global and hidden.
19199         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
19200         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
19201         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
19202         Likewise.
19203         (__rawmemchr_sse2): Likewise.
19204         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
19205         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
19206         (__strchr_sse2): Likewise.
19207         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
19208         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
19209         (__strcasecmp_sse2): Likewise.
19210         (__strncasecmp_sse2): Likewise.
19211         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
19212         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
19213         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
19214         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
19215         (__strrchr_sse2): Likewise.
19216         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
19217         ifunc-impl-list.c.
19218         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
19219         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
19220         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
19221         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
19222         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
19223         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
19224         * sysdeps/x86_64/multiarch/memset.S: Likewise.
19225         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
19226         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
19227         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
19228         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
19229         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
19230         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
19231         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
19232         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
19233         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
19234         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
19235         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
19236         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
19237         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
19238         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
19239         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
19240         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
19241         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
19242         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
19243         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
19244         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
19245         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
19246         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
19247         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
19249         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
19250         global and hidden.
19251         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
19252         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
19253         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
19254         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
19255         Likewise.
19256         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
19257         Likewise.
19258         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
19259         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
19260         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
19261         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
19262         ifunc-impl-list.c.
19263         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
19264         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
19265         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
19266         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
19267         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
19268         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
19269         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
19270         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
19271         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
19272         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
19273         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
19274         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
19275         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
19276         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
19277         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
19278         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
19279         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
19280         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
19281         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
19282         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
19283         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
19284         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
19285         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
19286         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
19287         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
19288         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
19289         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
19290         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
19291         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
19292         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
19293         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
19294         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
19295         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
19296         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
19297         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
19298         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
19299         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
19300         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
19301         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
19302         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
19303         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
19305         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
19306         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
19307         * include/ifunc-impl-list.h: New file.
19308         * misc/ifunc-impl-list.c: Likewise.
19309         * misc/Makefile (routines): Add ifunc-impl-list.
19310         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
19311         * string/test-string.h: Include <ifunc-impl-list.h>.
19312         [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
19313         impl_array): New variables.
19314         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
19315         are defined.
19316         (test_init): Call __libc_ifunc_impl_list to initialize
19317         func_list if TEST_IFUNC and TEST_NAME are defined.
19319         * string/Makefile (strop-tests): Add bcopy and bzero.
19320         * string/test-bcopy.c: New file.
19321         * string/test-bzero.c: Likewise.
19322         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
19323         defined.
19324         * string/test-memset.c: Support bzero test if TEST_BZERO is
19325         defined.
19326         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
19327         __libc_memmove.
19328         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
19329         __libc_memset.
19330         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
19331         of memset.
19333 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
19335         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
19336         * configure: Regenerated.
19338         * Makeconfig (+link-static-before-libc): Don't include
19339         $(link-static-libc).
19341         * libio/libio.h (_IO_pos_t): Remove.
19343 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
19345         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
19346         McGrath.
19348 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
19350         * crypt/crypt-entry.c: Include fips-private.h.
19351         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
19352         * crypt/md5c-test.c (main): Tolerate disabled MD5.
19353         * sysdeps/unix/sysv/linux/fips-private.h: New file.
19354         * sysdeps/generic/fips-private.h: New file, dummy fallback.
19356 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
19358         * crypt/crypt-private.h: Include stdbool.h.
19359         (_ufc_setup_salt_r): Return bool.
19360         * crypt/crypt-entry.c: Include errno.h.
19361         (__crypt_r): Return NULL with EINVAL for bad salt.
19362         * crypt/crypt_util.c (bad_for_salt): New.
19363         (_ufc_setup_salt_r): Check that salt is long enough and within
19364         the specified alphabet.
19365         * crypt/badsalttest.c: New file.
19366         * crypt/Makefile (tests): Add it.
19367         ($(objpfx)badsalttest): New.
19369 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
19371         * NEWS: Add entry for BZ #14602.
19373 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
19375         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
19376         type-generic.
19377         * math/libm-test.inc: Update comment listing what functions and
19378         macros are tested.
19379         (isgreater_test): New function.
19380         (isgreaterequal_test): Likewise.
19381         (isless_test): Likewise.
19382         (islessequal_test): Likewise.
19383         (islessgreater_test): Likewise.
19384         (isunordered_test): Likewise.
19385         (main): Call the new functions.
19387 2012-10-09  Roland McGrath  <roland@hack.frob.com>
19389         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
19390         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
19391         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
19392         * sysdeps/i386/configure: Regenerated.
19393         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
19394         * sysdeps/mach/configure: Regenerated.
19395         * sysdeps/mach/hurd/configure: Regenerated.
19396         * sysdeps/powerpc/configure: Regenerated.
19397         * sysdeps/powerpc/powerpc32/configure: Regenerated.
19398         * sysdeps/powerpc/powerpc64/configure: Regenerated.
19399         * sysdeps/s390/s390-32/configure: Regenerated.
19400         * sysdeps/s390/s390-64/configure: Regenerated.
19401         * sysdeps/sh/configure: Regenerated.
19402         * sysdeps/sparc/configure: Regenerated.
19403         * sysdeps/unix/sysv/linux/configure: Regenerated.
19404         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
19405         * sysdeps/x86_64/configure: Regenerated.
19407         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
19408         defined.  Don't check if MAP is NULL.
19410 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
19412         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
19413         (_G_stat64): Likewise.
19414         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
19415         (_G_stat64): Likewise.
19416         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
19417         instead of struct _G_stat64.
19418         * libio/fileops.c (mmap_remap_check): Likewise.
19419         (decide_maybe_mmap): Likewise.
19420         (_IO_new_file_seekoff): Likewise.
19421         (_IO_file_stat): Likewise.
19422         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
19423         _G_off64_t.
19424         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
19425         instead of struct _G_stat64.
19426         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
19428 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
19430         [BZ #14602]
19431         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
19432         Replace with ...
19433         (CHECK_EOL): New macro.
19434         (two_way_short_needle): Check beginning of haystack for EOL.  Use
19435         CHECK_EOL.
19436         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
19437         Replace with CHECK_EOL.
19438         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
19439         Replace with CHECK_EOL.
19441 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
19443         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
19444         type-generic.
19445         * math/libm-test.inc: Update comment listing what functions and
19446         macros are tested.
19447         (finite_test): New function.
19448         (isinf_test): Likewise.
19449         (isnan_test): Likewise.
19450         (fpclassify_test): Test subnormal input.
19451         (isfinite_test): Likewise.
19452         (isnormal_test): Likewise.
19453         (main): Call the new functions.
19455 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
19457         [BZ #14660]
19458         * Makerules (%.dynsym): Force C locale when running
19459         $(OBJDUMP) --dynamic-syms.
19461 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
19463         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
19464         <stdint.h>.
19466 2012-10-06  David S. Miller  <davem@davemloft.net>
19468         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
19469         upper 32-bits of the length value in %o2 since we use branch-on-register
19470         tests which consider the entire 64-bit register.
19472 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
19474         * string/test-strstr.c (check2): Add a test for page boundary.
19476 2012-10-05  David S. Miller  <davem@davemloft.net>
19478         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
19479         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
19480         file.
19481         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
19482         sysdep_routines.
19483         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
19484         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
19485         and bzero when HWCAP_SPARC_CRYPTO is present.
19487 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
19489         [BZ #14602]
19490         * string/test-strstr.c (check2): New function.
19491         (test_main): Call check2.
19493         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
19494         and bug-strchr1.
19495         * string/bug-strcasestr1.c (do_test): Moved to ...
19496         * string/test-strcasestr.c (check1): Here.  New function.
19497         (do_one_test): Break out result checking code into ...
19498         (check_result): This.  New function.
19499         (do_one_test): Call check_result.
19500         (test_main): Call check1.
19501         * string/bug-strchr1.c (do_test): Moved to ...
19502         * string/test-strchr.c (check1): Here.  New function.
19503         (do_one_test): Break out result checking code into ...
19504         (check_result): This.  New function.
19505         (do_one_test): Call check_result.
19506         (test_main): Call check1.
19507         * string/bug-strstr1.c (main): Moved to ...
19508         * string/test-strstr.c (check1): Here.  New function.
19509         (do_one_test): Break out result checking code into ...
19510         (check_result): This.  New function.
19511         (do_one_test): Call check_result.
19512         (test_main): Call check1.
19513         * string/bug-strcasestr1.c: Removed.
19514         * string/bug-strchr1.c: Likewise.
19515         * string/bug-strstr1.c: Likewise.
19517         * elf/Makefile (dl-routines): Add hwcaps.
19518         * elf/dl-support.c (_dl_important_hwcaps): Removed.
19519         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
19520         (_dl_important_hwcaps): Moved to ...
19521         * elf/dl-hwcaps.c: Here.  New file.
19522         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
19524         [BZ #14557]
19525         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
19526         if IS_IN_rtld isn't defined.
19528         * elf/dl-support.c (_dl_sysinfo_map): New.
19529         Include "get-dynamic-info.h" and "setup-vdso.h".
19530         (_dl_non_dynamic_init): Call setup_vdso.
19531         * elf/dynamic-link.h: Don't include <assert.h>.
19532         (elf_get_dynamic_info): Moved to ...
19533         * elf/get-dynamic-info.h: Here.  New file.
19534         * elf/dynamic-link.h: Include "get-dynamic-info.h".
19535         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
19536         * elf/setup-vdso.h: Here.  New file.
19537         * elf/rtld.c: Include "setup-vdso.h".
19538         (dl_main): Call setup_vdso.
19540 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
19542         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
19543         creal in comment listing functions tested.  List finite, isinf,
19544         isnan, isless, islessequal, isgreater, isgreaterequal,
19545         islessgreater, isunordered, lgamma_r and pow10 as functions and
19546         macros not tested.  Mention which functions not tested are aliases
19547         for other functions.  Fix typo.  Note that signs of NaNs are not
19548         tested.
19550         * scripts/config.guess: Update from config.git.
19551         * scripts/config.sub: Likewise.
19553 2012-10-04  Roland McGrath  <roland@hack.frob.com>
19555         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
19556         * misc/madvise.c (madvise): Renamed to __madvise.
19557         Make madvise a weak alias.
19558         * include/sys/mman.h: Declare __madvise.
19559         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
19560         * sysdeps/unix/syscalls.list
19561         (madvise): Make __madvise the strong name, and madvise a weak alias.
19562         * sysdeps/unix/sysv/linux/syscalls.list
19563         (madvise, mmap): Remove redundant entries.
19564         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
19565         * malloc/malloc.c (mtrim): Likewise.
19566         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
19568 2012-10-03  Roland McGrath  <roland@hack.frob.com>
19570         * sysdeps/mach/hurd/dl-cache.c: File removed.
19571         * config.h.in (USE_LDCONFIG): New #undef.
19572         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
19573         * configure: Regenerated.
19574         * elf/Makefile (dl-routines): Add dl-cache only under
19575         [$(use-ldconfig) = yes].
19576         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
19577         cache on [USE_LDCONFIG].
19578         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
19579         [USE_LDCONFIG].
19580         * elf/rtld.c (dl_main): Likewise.
19582 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
19584         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
19585         _SC_LEVEL4_CACHE_LINESIZE.
19587 2012-10-03  Roland McGrath  <roland@hack.frob.com>
19589         * sysdeps/unix/bsd/confstr.h: File removed.
19591 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
19593         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
19594         sys/sdt-config.h.
19596 2012-10-02  Roland McGrath  <roland@hack.frob.com>
19598         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
19599         Make 'mapoff' field ElfW(Off) rather than off_t.
19601 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
19603         * nscd/Makefile: Remove nscd-cflags and all its users.
19604         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
19605         (CFLAGS-nonlib): Add compiler flags for nscd modules.
19607         [BZ #10631]
19608         * malloc.c (malloc_printerr): Clarify error message.
19610 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
19612         [BZ #14648]
19613         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
19614         Set bit_FMA_Usable if FMA is supported.
19615         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
19616         macro.
19617         (bit_FMA4_Usable): Updated.
19618         (index_FMA_Usable): New macro.
19619         (CPUID_FMA): Likewise
19620         (HAS_FMA): Defined with bit_FMA_Usable.
19622 2012-10-01  Roland McGrath  <roland@hack.frob.com>
19624         * bits/types.h (__swblk_t): Type removed.
19625         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
19626         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
19627         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
19628         (__SWBLK_T_TYPE): Likewise.
19629         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
19630         (__SWBLK_T_TYPE): Likewise.
19631         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
19632         (__SWBLK_T_TYPE): Likewise.
19633         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
19634         (__SWBLK_T_TYPE): Likewise.
19636 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
19637             Honza Horak <hhorak@redhat.com>
19639         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
19640         (xdr_mapname): Use YPMAXMAP as maxsize.
19641         (xdr_peername): Use YPMAXPEER as maxsize.
19642         (xdr_keydat): Use YPAXRECORD as maxsize.
19643         (xdr_valdat): Use YPMAXRECORD as maxsize.
19645 2012-10-01  Roland McGrath  <roland@hack.frob.com>
19647         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
19649         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
19650         * csu/init-first.c: ... here.
19651         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
19652         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
19653         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
19654         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
19655         * sysdeps/i386/init-first.c: File removed.
19656         * sysdeps/sh/init-first.c: File removed.
19658 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
19660         [BZ #14645]
19661         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
19662         if x * y might underflow to zero and z is zero.
19663         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
19664         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
19665         * math/libm-test.inc (min_subnorm_value): New variable.
19666         (fma_test): Add more tests.
19667         (fma_test_towardzero): Likewise.
19668         (fma_test_downward): Likewise
19669         (fma_test_upward): Likewise.
19670         (initialize): Set min_subnorm_value.
19672 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
19674         [BZ #14638]
19675         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
19676         0 + 0.
19677         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
19678         mode for addition resulting in exact zero.
19679         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
19680         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
19681         exact 0 + 0.
19682         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
19683         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
19684         * math/libm-test.inc (fma_test): Add more tests.
19685         (fma_test_towardzero): New function.
19686         (fma_test_downward): Likewise.
19687         (fma_test_upward): Likewise.
19688         (main): Call the new functions.
19690 2012-09-28  David S. Miller  <davem@davemloft.net>
19692         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
19694 2012-09-28  Roland McGrath  <roland@hack.frob.com>
19696         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
19697         instead of SIGALRM.
19699         * sysdeps/gnu/_G_config.h: Moved to ...
19700         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
19701         * sysdeps/mach/hurd/_G_config.h: Moved to ...
19702         * sysdeps/generic/_G_config.h: ... here.
19704         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
19706         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
19708         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
19709         Conditionalize target on [libnss_test1.so-version].
19711         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
19713         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
19714         (elfobjdir): Move out of conditionals.
19716         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
19717         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
19718         (__nss_lookup_function): Conditionalize label remove_from_tree on
19719         [!DO_STATIC_NSS || SHARED], matching its only use.
19721 2012-09-28  David S. Miller  <davem@davemloft.net>
19723         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
19724         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
19725         file.
19726         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
19727         sysdep_routines.
19728         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
19729         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
19730         when HWCAP_SPARC_CRYPTO is present.
19732 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
19734         * io/tst-mknodat.c: Create a FIFO instead of a socket.
19736 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
19738         [BZ #6530]
19739         * stdio-common/vfprintf.c (process_string_arg): Revert
19740         2000-07-22 change.
19742 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
19744         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
19745         for testcase.
19746         * stdio-common/tst-sprintf.c: Include <locale.h>
19747         (main): Test sprintf's handling of incomplete multibyte
19748         characters.
19750 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
19752         * elf/dl-runtime.c (VERSYMIDX): Removed.
19753         * elf/dl-version.c (VERSYMIDX): Likewise.
19754         * elf/do-rel.h (VERSYMIDX): Likewise.
19755         (VALIDX): Likewise.
19756         * elf/dynamic-link.h (VERSYMIDX): Likewise.
19757         * elf/rtld.c (VALIDX): Likewise.
19758         (ADDRIDX): Likewise.
19759         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
19760         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
19761         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
19762         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
19763         (VALIDX): Likewise.
19764         (ADDRIDX): Likewise.
19766 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
19768         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
19770 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
19772         [BZ #11438]
19773         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
19774         to global scope.
19775         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
19776         addresses are in the same scope as 192.0.2/24.
19777         * posix/gai.conf: Document new scope table defaults.
19779 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
19781         [BZ #5298]
19782         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
19783         for ftell.  Compute offsets from write pointers instead.
19784         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
19786 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
19788         [BZ #14543]
19789         * libio/Makefile (tests): New test case tst-fseek.
19790         * libio/tst-fseek.c: New test case to verify that fseek/ftell
19791         combination works in wide mode.
19792         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
19793         state when the external buffer state changes.
19795 2012-09-27  David S. Miller  <davem@davemloft.net>
19797         [BZ #14376]
19798         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
19799         pass reloc->r_addend in as the 'high' argument to
19800         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
19802         * sysdeps/sparc/fpu/libm-test-ulps: Update.
19804 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
19806         * rt/tst-aio2.c: Include <pthread.h>.
19807         * rt/tst-aio3.c: Likewise.
19809 2012-09-27  Steve Ellcey  <sellcey@mips.com>
19811         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
19813 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
19815         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
19816         contents on [SHARED].
19818 2012-09-26  Marek Polacek  <polacek@redhat.com>
19820         [BZ #14530]
19821         [BZ #13741]
19822         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
19823         for C++ and GCC <4.3 as well as for non GCC compilers.
19825 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
19827         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19829 2012-09-25  Roland McGrath  <roland@hack.frob.com>
19831         * Makefile.in (all, install): Declare with .PHONY.
19832         Reported by Michael Hope <michael.hope@linaro.org>.
19834 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
19836         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
19837         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
19838         system header.
19839         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
19840         Likewise.
19841         (sydep_routines): Add the new and the internal functions.
19842         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
19843         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
19844         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
19845         (GLIBC_2.17): Add the new function.
19846         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
19847         (GLIBC_2.17): Likewise.
19848         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
19849         (GLIBC_2.17): Likewise.
19850         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
19851         (GLIBC_2.17): Likewise.
19852         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
19854 2012-09-25  Alan Modra  <amodra@gmail.com>
19856         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
19857         Add release barrier before setting once_control to say
19858         initialisation is done.  Add hints on lwarx.  Use macro in
19859         place of isync.
19860         (clear_once_control): Add release barrier.
19862 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
19864         [BZ #13629]
19865         * math/s_clog.c (__clog): Handle more values close to |z| = 1
19866         specially.
19867         * math/s_clog10.c (__clog10): Likewise.
19868         * math/s_clog10f.c (__clog10f): Likewise.
19869         * math/s_clog10l.c (__clog10l): Likewise.
19870         * math/s_clogf.c (__clogf): Likewise.
19871         * math/s_clogl.c (__clogl): Likewise.
19872         * math/Makefile (libm-calls): Add x2y2m1.
19873         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
19874         (__x2y2m1): Likewise.
19875         (__x2y2m1l): Likewise.
19876         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
19877         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
19878         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
19879         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
19880         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
19881         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
19882         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
19883         * sysdeps/i386/fpu/libm-test-ulps: Update.
19884         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19886         [BZ #14621]
19887         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
19888         int as type of variable DEPTH.
19889         (glob): Use size_t instead of int as type of variables NEWCOUNT
19890         and OLD_PATHC.
19892 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
19894         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
19895         Add s_sincosf-sse2.
19896         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
19897         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
19898         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
19899         macros for using routine as __sincosf_ia32.
19900         Use macro for function declaration and weak_alias.
19901         * sysdeps/i386/fpu/libm-test-ulps: Update.
19903         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
19904         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19906         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
19907         subnormal argument.
19908         * math/s_cexpf.c (__cexpf): Likewise.
19909         * math/s_csinf.c (__csinf): Likewise.
19910         * math/s_csinhf.c (__csinhf): Likewise.
19911         * math/s_ctanf.c (__ctanf): Likewise.
19912         * math/s_ctanhf.c (__ctanhf): Likewise.
19913         * math/s_ccosh.c (__ccoshf): Likewise.
19914         * math/s_cexp.c (__cexpl): Likewise.
19915         * math/s_csin.c (__csin): Likewise.
19916         * math/s_csinh.c (__csinh): Likewise.
19917         * math/s_ctan.c (__ctan): Likewise.
19918         * math/s_ctanh.c (ctanh): Likewise.
19919         * math/s_ccoshl.c (__ccoshl): Likewise.
19920         * math/s_cexpl.c (__cexpl): Likewise.
19921         * math/s_csinl.c (__csinl): Likewise.
19922         * math/s_csinhl.c (__csinhl): Likewise.
19923         * math/s_ctanl.c (__ctanl): Likewise.
19924         * math/s_ctanhl.c (__ctanhl): Likewise.
19926 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
19928         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
19929         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
19930         (_IO_off_t): Define to __off_t, not _G_off_t.
19931         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
19932         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
19933         (_IO_wint_t): Define to wint_t, not _G_wint_t.
19934         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
19935         type of __dummy and __dummy2 fields.
19936         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
19937         (_G_ssize_t): Likewise.
19938         (_G_off_t): Likewise.
19939         (_G_pid_t): Likewise.
19940         (_G_uid_t): Likewise.
19941         (_G_wchar_t): Likewise.
19942         (_G_wint_t): Likewise.
19943         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
19944         (_G_ssize_t): Likewise.
19945         (_G_off_t): Likewise.
19946         (_G_pid_t): Likewise.
19947         (_G_uid_t): Likewise.
19948         (_G_wchar_t): Likewise.
19949         (_G_wint_t): Likewise.
19950         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
19951         (_G_ssize_t): Likewise.
19952         (_G_off_t): Likewise.
19953         (_G_pid_t): Likewise.
19954         (_G_uid_t): Likewise.
19955         (_G_wchar_t): Likewise.
19956         (_G_wint_t): Likewise.
19958 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
19960         * malloc/arena.c: Include malloc-sysdep.h.
19961         (shrink_heap): Use check_may_shrink_heap to decide if madvise
19962         is sufficient to shrink the heap or an unmap is needed.
19963         * sysdeps/generic/malloc-sysdep.h: New file.  Define
19964         new function check_may_shrink_heap.
19965         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
19966         new function check_may_shrink_heap.
19968 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
19970         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
19971         comments.
19973 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
19975         * catgets/test-gencat.sh: Add "set -e".
19976         * elf/tst-pathopt.sh: Likewise.
19977         * grp/tst_fgetgrent.sh: Likewise.
19978         * iconvdata/run-iconv-test.sh: Likewise.
19979         * intl/tst-gettext.sh: Likewise.
19980         * intl/tst-gettext2.sh: Likewise.
19981         * intl/tst-gettext4.sh: Likewise.
19982         * intl/tst-gettext6.sh: Likewise.
19983         * intl/tst-translit.sh: Likewise.
19984         * io/ftwtest-sh: Likewise.
19985         * libio/test-freopen.sh: Likewise.
19986         * malloc/tst-mtrace.sh: Likewise.
19987         * posix/globtest.sh: Likewise.
19988         * posix/tst-getconf.sh: Likewise.
19989         * posix/wordexp-tst.sh: Likewise.
19990         * stdio-common/tst-printf.sh: Likewise.
19991         * stdio-common/tst-unbputc.sh: Likewise.
19992         * stdlib/tst-fmtmsg.sh: Likewise.
19993         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
19994         * catgets/Makefile: Do not specify -e option when running
19995         testsuite shell scripts.
19996         * elf/Makefile: Likewise.
19997         * grp/Makefile: Likewise.
19998         * iconvdata/Makefile: Likewise.
19999         * intl/Makefile: Likewise.
20000         * io/Makefile: Likewise.
20001         * libio/Makefile: Likewise.
20002         * malloc/Makefile: Likewise.
20003         * posix/Makefile: Likewise.
20004         * stdio-common/Makefile: Likewise.
20005         * stdlib/Makefile: Likewise.
20006         * sysdeps/x86_64/Makefile: Likewise.
20008         * io/ftwtest-sh: Add copyright header.
20009         * posix/globtest.sh: Likewise.
20010         * posix/tst-getconf.sh: Likewise.
20011         * posix/wordexp-tst.sh: Likewise.
20012         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
20014 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
20016         [BZ #13679]
20017         * Makeconfig (+link): Defined as $(+link-static) if
20018         $(build-shared) isn't yes.
20019         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
20020         isn't yes.
20021         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
20023         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
20025         [BZ #14562]
20026         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
20027         new chunk size with MALLOC_ALIGN_MASK.
20029 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
20031         [BZ #5044]
20032         * stdio-common/printf_fphex.c: Include <stdbool.h> and
20033         <rounding-mode.h>.
20034         (__printf_fphex): Determine rounding using get_rounding_mode and
20035         round_away.
20036         * stdio-common/tst-printf-round.c (struct hex_test): New
20037         structure.
20038         (hex_tests): New variable.
20039         (test_hex_in_one_mode): New function.
20040         (do_test): Also run tests for hex float output.
20042 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
20044         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
20045         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
20046         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
20047         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
20048         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
20049         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
20050         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
20051         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
20053 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
20055         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
20056         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
20057         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
20058         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
20060 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
20062         [BZ #14579]
20063         * elf/rtld.c (dl_main): Limit the check for self loading to normal
20064         mode only.
20065         * elf/tst-rtld-load-self.sh: New test.
20066         * elf/Makefile: Run it.
20068 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
20070         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
20071         (tst-writev-ENV): Remove.
20072         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
20074 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
20076         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
20078 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
20080         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
20081         unconditional.
20082         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
20083         Likewise.
20084         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
20085         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
20086         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
20087         Likewise.
20089 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
20091         [BZ #14587]
20092         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
20093         * config.make.in (have-cpp-asm-debuginfo): Removed.
20094         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
20095         * configure: Regenerated.
20097 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
20099         [BZ #5044]
20100         * stdio-common/printf_fp.c: Include <stdbool.h> and
20101         <rounding-mode.h>.
20102         (___printf_fp): Determine rounding using get_rounding_mode and
20103         round_away.
20104         * stdio-common/tst-printf-round.c: New file.
20105         * stdio-common/Makefile (tests): Add tst-printf-round.
20106         (link-libm): New variable.
20107         ($(objpfx)tst-printf-round): Depend in $(link-libm).
20109 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
20111         [BZ #14576]
20112         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
20113         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
20114         Likewise.
20115         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
20116         Likewise.
20118 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
20120         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
20121         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
20122         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
20123         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
20125 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
20127         [BZ #14518]
20128         * include/rounding-mode.h: New file.
20129         * sysdeps/generic/get-rounding-mode.h: Likewise.
20130         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
20131         * stdlib/strtod_l.c: Include <rounding-mode.h>.
20132         (MAX_VALUE): New macro.
20133         (MIN_VALUE): Likewise.
20134         (overflow_value): New function.
20135         (underflow_value): Likewise.
20136         (round_and_return): Use overflow_value and underflow_value to
20137         determine return values in overflow and underflow cases.  Use
20138         round_away to determine rounding depending on rounding mode.
20139         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
20140         determine return values in overflow and underflow cases.
20141         * stdlib/tst-strtod-round.c: Include <fenv.h>.
20142         (struct test_results): New structure.
20143         (struct test): Use struct test_results to store expected results
20144         for all rounding modes.
20145         (TEST): Include expected results for all rounding modes.
20146         (test_in_one_mode): New function.
20147         (do_test): Use test_in_one_mode to compute and check results.
20148         Check results for all rounding modes.
20149         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
20150         $(link-libm).
20152 2012-12-09  Allan McRae  <allan@archlinux.org>
20154         * sysdeps/i386/fpu/libm-test-ulps: Update
20156 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
20158         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
20159         (_G_int32_t): Likewise.
20160         (_G_uint16_t): Likewise.
20161         (_G_uint32_t): Likewise.
20162         (_G_HAVE_BOOL): Likewise.
20163         (_G_HAVE_ATEXIT): Likewise.
20164         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
20165         (_G_HAVE_IO_FILE_OPEN): Likewise.
20166         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
20167         (_G_int32_t): Likewise.
20168         (_G_uint16_t): Likewise.
20169         (_G_uint32_t): Likewise.
20170         (_G_HAVE_BOOL): Likewise.
20171         (_G_HAVE_ATEXIT): Likewise.
20172         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
20173         (_G_HAVE_IO_FILE_OPEN): Likewise.
20174         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
20175         (_G_int32_t): Likewise.
20176         (_G_uint16_t): Likewise.
20177         (_G_uint32_t): Likewise.
20178         (_G_HAVE_BOOL): Likewise.
20179         (_G_HAVE_ATEXIT): Likewise.
20180         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
20181         (_G_HAVE_IO_FILE_OPEN): Likewise.
20183 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
20185         * csu/libc-tls.c: Update copyright years.
20187 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
20189         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
20190         [!_G_USING_THUNKS]: Remove conditional code.
20191         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
20192         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
20194         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
20195         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
20196         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
20197         (_G_VTABLE_LABEL_PREFIX): Likewise.
20198         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
20199         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
20200         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
20201         (_G_VTABLE_LABEL_PREFIX): Likewise.
20202         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
20203         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
20204         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
20205         (_G_VTABLE_LABEL_PREFIX): Likewise.
20206         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
20208 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
20210         * libio/Makefile: Include ../Makeconfig before tests.
20211         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
20212         only if $(build-shared) is yes.
20214         * iconv/gconv_db.c: Update copyright years.
20216 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
20218         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
20219         unwind info if defined PIC. Fix special cases description.
20220         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
20222         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
20223         DP_HI_MASK entry.
20224         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
20226 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
20228         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
20230         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
20231         is NULL.
20233         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
20234         (LDLIBS-tst-chk4): This.
20235         (LDFLAGS-tst-chk5): Renamed to ...
20236         (LDLIBS-tst-chk5): This.
20237         (LDFLAGS-tst-chk6): Renamed to ...
20238         (LDLIBS-tst-chk6): This.
20239         (LDFLAGS-tst-lfschk4): Renamed to ...
20240         (LDLIBS-tst-lfschk4): This.
20241         (LDFLAGS-tst-lfschk5): Renamed to ...
20242         (LDLIBS-tst-lfschk5): This.
20243         (LDFLAGS-tst-lfschk6): Renamed to ...
20244         (LDLIBS-tst-lfschk6): This.
20246         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
20247         on $(common-objpfx)soversions.mk.
20249 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
20251         [BZ #10014]
20252         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
20253         example host name.
20255 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
20257         * malloc/arena.c (arena_get_retry): New function that gets
20258         another arena for the caller to try its request on.
20259         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
20260         current arena cannot fulfill the request.
20261         (__libc_memalign): Likewise.
20262         (__libc_memalign): Likewise.
20263         (__libc_pvalloc): Likewise.
20264         (__libc_calloc): Likewise.
20266 2012-09-05  John Tobey  <john.tobey@gmail.com>
20268         [BZ #13542]
20269         * manual/arith.texi (Operations on Complex): Fix description
20270         of carg branch cut.
20272 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
20274         [BZ #10014]
20275         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
20276         host name.
20278         [BZ #10038]
20279         * manual/memory.texi (Memory): Make order of menu items match
20280         order of sections.
20282 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
20284         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
20285         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
20286         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
20288 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
20290         * csu/libc-tls.c (static_dtv): Renamed to ...
20291         (_dl_static_dtv): This.  Make it global.
20292         (_dl_initial_dtv): Removed.
20293         (__libc_setup_tls): Updated.
20294         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
20295         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
20296         DL_INITIAL_DTV.
20298 2012-09-06  Petr Machata  <pmachata@redhat.com>
20300         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
20301         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
20302         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
20303         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
20305 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
20307         [BZ #14545]
20308         * csu/libc-tls.c (_dl_initial_dtv): New variable.
20309         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
20310         freeing dtv[-1].
20312 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
20314         [BZ #14544]
20315         * Makeconfig (link-static-before-libc): Replace $(+prector)
20316         with $(+prectorT).
20317         (link-static-after-libc): Replace $(+postctor) with
20318         $(+postctorT).
20319         (link-bounded): Replace $(+prector)/$(+postctor) with
20320         $(+prectorT)/$(+postctorT).
20321         (+prectorT): New macro.
20322         (+postctorT): Likewise.
20324 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
20326         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
20327         (round_str): Handle values above the maximum for IBM long double
20328         as inexact.
20329         * stdlib/tst-strtod-round.c (tests): Regenerated.
20331 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
20333         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
20334         assembler flag.
20335         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
20336         zarch_nohighgprs around the zarch optimized routines.
20337         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
20338         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
20339         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
20340         for zarch.
20342 2012-09-05  David S. Miller  <davem@davemloft.net>
20344         * sysdeps/sparc/fpu/libm-test-ulps: Update.
20346         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
20347         HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
20348         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
20349         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
20350         entries.
20352 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
20354         * malloc/arena.c: Fold copyright years.
20355         * malloc/mcheck.c, malloc/memusage.c: Likewise.
20357 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
20359         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
20361 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
20363         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
20365 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
20367         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
20368         change internal state upon failure.
20370 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
20372         * malloc/mcheck.c (mcheck_check_all): Fix typo.
20373         * malloc/memusage.c (mmap): Likewise.
20374         (mmap64, mremap): Likewise.  Adjust name in comment.
20376 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
20378         * libio/fileops.c: Fix typos in comments.
20379         * libio/oldfileops.c: Likewise.
20380         * libio/wfileops.c: Likewise.
20382 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
20384         [BZ #1349]
20385         * malloc/Makefile (tests): Add tst-malloc-usable test case.
20386         (tst-malloc-usable-ENV): Set environment for test case.
20387         * malloc/hooks.c (malloc_check_get_size): New function to get
20388         requested size.
20389         * malloc/malloc.c (musable): Use malloc_check_get_size.
20390         * malloc/tst-malloc-usable.c: New test case.
20392 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
20394         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
20396 2012-09-05  Allan McRae  <allan@archlinux.org>
20398         [BZ #13966]
20399         * configure.in (CXX_SYSINCLUDES): Use compiler output to
20400         determine header location.
20401         * configure: Regenerated.
20403 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
20405         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
20406         float format.
20407         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
20408         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
20409         format.
20410         (test): Regenerate.
20412 2012-09-04  David S. Miller  <davem@davemloft.net>
20414         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
20415         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
20416         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
20418 2012-09-04  Florian Weimer  <fweimer@redhat.com>
20420         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
20421         failures.
20423         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
20425 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
20427         [BZ #9914]
20428         * libio/iogetdelim.c: Include <limits.h>.
20429         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
20430         + len + 1 would overflow.
20432 2012-09-03  Andreas Jaeger  <aj@suse.de>
20434         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20435         * sysdeps/i386/fpu/libm-test-ulps: Update.
20437 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
20439         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
20440         Add s_sinf-sse2, s_conf-sse2.
20442         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
20443         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
20444         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
20445         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
20447         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
20448         for using routine as __sinf_ia32.
20449         Use macro for function declaration and weak_alias.
20450         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
20451         for using routine as __cosf_ia32.
20452         Use macro for function declaration and weak_alias.
20454         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
20455         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
20457         * sysdeps/x86_64/fpu/s_sinf.S: New file.
20458         * sysdeps/x86_64/fpu/s_cosf.S: New file.
20459         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20461         * math/libm-test.inc (cos_test): Add more test cases.
20462         (sin_test): Likewise.
20463         (sincos_test): Likewise.
20465 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
20467         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
20468         (IFUNC_RESOLVE): Make pointers to the specialized implementations
20469         hidden.
20470         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
20472 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
20474         [BZ #14538]
20475         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
20476         first element of the GOT.
20477         (elf_machine_load_address): Return the difference between
20478         the runtime address of _DYNAMIC and elf_machine_dynamic ().
20480 2012-09-01  Allan McRae  <allan@archlinux.org>
20482         [BZ #13412]
20483         * configure.in (AWK): Require gawk version 3.0 or later.
20484         * configure: Regenerated.
20486 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
20488         * sysdeps/unix/sysv/linux/kernel-features.h
20489         (__ASSUME_POSIX_CPU_TIMERS): Remove.
20490         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
20491         [__NR_clock_getres]: Make code unconditional.
20492         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
20493         (clock_getcpuclockid): Remove code left unreachable by removal of
20494         conditionals.
20495         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
20496         code unconditional.
20497         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
20498         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
20499         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
20500         Make code unconditional.
20501         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
20502         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
20503         * sysdeps/unix/sysv/linux/clock_settime.c
20504         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
20505         conditional code.
20506         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
20507         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
20509 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
20511         [BZ #14476]
20512         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
20513         scripts/test-installation.pl.
20515         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
20516         and $ld_so_version if it is set.
20518 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
20520         [BZ #14516]
20521         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
20522         failure if reading from procfs failed.
20523         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
20525 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
20527         * sysdeps/unix/sysv/linux/kernel-features.h
20528         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
20529         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
20530         Remove conditional code.
20531         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
20532         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
20533         Remove conditional code.
20534         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
20535         * sysdeps/unix/sysv/linux/i386/fxstat.c
20536         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
20537         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
20538         * sysdeps/unix/sysv/linux/i386/fxstatat.c
20539         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
20540         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
20541         * sysdeps/unix/sysv/linux/i386/lxstat.c
20542         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
20543         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
20544         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
20545         Remove conditional code.
20546         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
20547         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
20548         Remove conditional code.
20549         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
20550         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
20551         <kernel-features.h>.
20552         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
20553         Remove.
20554         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
20555         Remove conditional code.
20556         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
20557         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
20558         Remove conditional.
20560 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
20562         [BZ #5400]
20563         * NEWS: Add fixed bug number.
20565 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
20567         [BZ #14519]
20568         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
20569         underflowing exponent in case of negative sign.
20570         * stdlib/tst-strtod-round-data: Add more tests.
20571         * stdlib/tst-strtod-round.c (tests): Regenerated.
20573         [BZ #3479]
20574         * stdlib/strtod_l.c (NDIG): Remove.
20575         (HEXNDIG): Likewise.
20576         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
20577         smallest representable value.
20578         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
20579         lie within an exact representation of 1/2 ulp of the result.
20580         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
20581         unconditionally.
20582         (TENS_P9_IDX): Define unconditionally.
20583         (TENS_P9_SIZE): Likewise.
20584         (TENS_P10_IDX): Likewise.
20585         (TENS_P10_SIZE): Likewise.
20586         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
20587         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
20588         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
20589         entries for 10^2^13 and 10^2^14.
20590         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
20591         (TENS_P13_IDX): Define.
20592         (TENS_P13_SIZE): Likewise.
20593         (TENS_P14_IDX): Likewise.
20594         (TENS_P14_SIZE): Likewise.
20595         (_fpioconst_pow10): Change array size to
20596         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
20597         unconditional.
20598         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
20599         1024]: Add entries for 10^2^13 and 10^2^14.
20600         [LAST_POW10 > _LAST_POW10]: Remove #error.
20601         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
20602         (_fpioconst_pow10): Change array size to
20603         FPIOCONST_POW10_ARRAY_SIZE.
20604         * stdlib/gen-fpioconst.c: New file.
20605         * stdlib/gen-tst-strtod-round.c: Likewise.
20606         * stdlib/tst-strtod-round-data: Likewise.
20607         * stdlib/tst-strtod-round.c: Likewise.
20608         * stdlib/Makefile (tests): Add tst-strtod-round.
20610         [BZ #14459]
20611         * stdlib/strtod_l.c: Include <stdint.h>.
20612         (NDEBUG): Do not define.
20613         (round_and_return): Change EXPONENT parameter to type intmax_t.
20614         Rearrange calculations to avoid internal overflow possibilities.
20615         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
20616         Rearrange calculations to avoid internal overflow possibilities.
20617         Assert that number fits inside MPNSIZE limbs.
20618         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
20619         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
20620         calculations and add assertions to avoid internal overflow
20621         possibilities.  Add casts to avoid signed/unsigned operations.
20622         * stdlib/tst-strtod-overflow.c: New file.
20623         * stdlib/Makefile (tests): Add tst-strtod-overflow.
20625 2012-08-25  Marek Polacek  <polacek@redhat.com>
20627         * time/time.h: Fix some typos in comments.
20629 2012-08-23  Roland McGrath  <roland@hack.frob.com>
20631         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
20632         * posix/tst-rfc3484-2.c: Likewise.
20633         * posix/tst-rfc3484-3.c: Likewise.
20635 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
20637         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
20638         (EF_ARM_ABI_FLOAT_HARD): Likewise.
20640 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
20642         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
20643         #include of fxstatat64.c.
20645 2012-08-22  Roland McGrath  <roland@hack.frob.com>
20647         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
20648         * shadow/getspent_r.c: Likewise.
20649         * shadow/getspnam.c: Likewise.
20650         * shadow/getspnam_r.c: Likewise.
20651         * gshadow/getsgent.c: Likewise.
20652         * gshadow/getsgent_r.c: Likewise.
20653         * gshadow/getsgnam.c: Likewise.
20654         * gshadow/getsgnam_r.c: Likewise.
20655         * inet/getnetbyad.c: Likewise.
20656         * inet/getnetbyad_r.c: Likewise.
20657         * inet/getnetbynm.c: Likewise.
20658         * inet/getnetbynm_r.c: Likewise.
20659         * inet/getnetent.c: Likewise.
20660         * inet/getnetent_r.c: Likewise.
20661         * inet/getproto.c: Likewise.
20662         * inet/getproto_r.c: Likewise.
20663         * inet/getprtent.c: Likewise.
20664         * inet/getprtent_r.c: Likewise.
20665         * inet/getprtname.c: Likewise.
20666         * inet/getprtname_r.c: Likewise.
20667         * inet/getrpcbyname.c: Likewise.
20668         * inet/getrpcbyname_r.c: Likewise.
20669         * inet/getrpcbynumber.c: Likewise.
20670         * inet/getrpcbynumber_r.c: Likewise.
20671         * inet/getrpcent.c: Likewise.
20672         * inet/getrpcent_r.c: Likewise.
20673         * inet/getaliasent.c: Likewise.
20674         * inet/getaliasent_r.c: Likewise.
20675         * inet/getaliasname.c: Likewise.
20676         * inet/getaliasname_r.c: Likewise.
20677         * nscd/getgrgid_r.c: Likewise.
20678         * nscd/getgrnam_r.c: Likewise.
20679         * nscd/gethstbyad_r.c: Likewise.
20680         * nscd/gethstbynm3_r.c: Likewise.
20681         * nscd/getpwnam_r.c: Likewise.
20682         * nscd/getpwuid_r.c: Likewise.
20683         * nscd/getsrvbynm_r.c: Likewise.
20684         * nscd/getsrvbypt_r.c: Likewise.
20685         * nscd/gai.c: Likewise.
20687         * configure.in (build_nscd): New substituted variable, set
20688         by --disable-build-nscd and defaults to $use_nscd.
20689         * configure: Regenerated.
20690         * config.make.in (build-nscd): New substituted variable.
20691         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
20692         Change conditional to require [$(build-nscd) = yes] as well.
20693         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
20695         [BZ# 13696]
20696         * configure.in (use_nscd): New substituted variable, set by
20697         --disable-nscd.  If enabled, define USE_NSCD.
20698         * configure: Regenerated.
20699         * config.h.in: Add USE_NSCD.
20700         * config.make.in (use-nscd): New substituted variable.
20701         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
20702         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
20703         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
20704         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
20705         (CFLAGS-getgrnam_r.c): Likewise.
20706         (CFLAGS-initgroups.c): Likewise.
20707         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
20708         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
20709         Variables removed.
20710         * inet/getnetgrent_r.c
20711         (nscd_setnetgrent): New function, broken out of ...
20712         (setnetgrent): ... here.  Call it.
20713         (innetgr): Conditionalize nscd bits on [USE_NSCD].
20714         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
20715         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
20716         * nscd/Makefile (routines, aux): Move definitions after include of
20717         Makeconfig.  Conditionalize on [$(use-nscd) != no].
20718         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
20719         Conditionalize on [USE_NSCD].
20720         (is_nscd, nscd_init_cb): Likewise.
20721         (nss_load_library): Conditionalize init callback on [USE_NSCD].
20722         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
20723         * nss/nss_db/db-init.c: Likewise.
20724         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
20725         [USE_NSCD].
20726         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
20727         (make_request): Use it.
20728         (cache_valid_p): New function.
20729         (__check_pf): Use it.
20730         * NEWS: Add item for --disable-nscd.
20732 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
20734         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
20735         to support sed >= 4.2.1-20-ga9bf076.
20736         * configure: Regenerated.
20738 2012-08-22  Roland McGrath  <roland@hack.frob.com>
20740         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
20741         Conditionalize whole body on [IREL].
20743 2012-08-22  Jeff Law <law@redhat.com>
20745         [BZ #14505]
20746         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
20747         if the family is PF_UNSPEC.
20749 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
20751         * Makerules (lib-version): Rename from V.
20752         (install-lib-nosubdir): Change V to lib-version.
20754 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
20756         [BZ #14252]
20757         * powerpc32/power6/wcschr.c: New file.
20758         * powerpc32/power6/wcscpy.c: New file.
20759         * powerpc32/power6/wcsrchr.c: New file.
20760         * powerpc64/power6/wcschr.c: New file.
20761         * powerpc64/power6/wcscpy.c: New file.
20762         * powerpc64/power6/wcsrchr.c: New file.
20764 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
20766         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
20767         (two_way_short_needle): Use it.
20768         * string/strstr.c (AVAILABLE1_USES_J): Define.
20769         * string/strcasestr.c: Likewise.
20771         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
20772         array references.
20773         * string/strcasestr.c (TOLOWER): Make side-effect safe.
20775         [BZ #11607]
20776         * NEWS: Add an entry.
20777         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
20778         define their defaults.
20779         (two_way_short_needle): Detect end-of-string on-the-fly.
20780         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
20781         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
20782         * string/bug-strcasestr1.c: New test.
20783         * string/Makefile: Run it.
20785 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
20787         [BZ #11607]
20788         * string/str-two-way.h (two_way_short_needle): Optimize matching of
20789         the first character.
20791 2012-08-21  Roland McGrath  <roland@hack.frob.com>
20793         * csu/elf-init.c (__libc_csu_irel): Function removed.
20794         * csu/libc-start.c (apply_irel): New function.
20795         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
20797 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
20799         * sysdeps/unix/sysv/linux/kernel-features.h
20800         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
20801         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
20802         <kernel-features.h>.
20803         [__NR_fadvise64_64]: Make code unconditional.
20804         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
20805         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
20806         !__NR_fadvise64_64)]: Likewise.
20807         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
20808         !__NR_fadvise64_64))]: Likewise.
20809         [__NR_fadvise64]: Make code unconditional.
20810         [!__NR_fadvise64]: Remove conditional code.
20811         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
20812         <kernel-features.h>.
20813         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
20814         unconditional.
20815         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
20816         conditional code.
20817         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
20818         not include <kernel-features.h>.
20819         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
20820         unconditional.
20821         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
20822         conditional code.
20823         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
20824         include <kernel-features.h>.
20825         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
20826         unconditional.
20827         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
20828         conditional code.
20830 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
20832         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
20833         slight instruction rearrangements per scrollpipe analysis.
20834         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
20836 2012-08-20  Roland McGrath  <roland@hack.frob.com>
20838         * manual/syslog.texi (syslog; vsyslog, closelog):
20839         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
20840         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
20842         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
20843         DSOCAPS to match condition on defining it.
20845 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
20847         * sysdeps/unix/sysv/linux/kernel-features.h
20848         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
20849         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
20850         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
20851         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
20852         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
20853         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
20854         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
20855         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
20856         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
20857         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
20859         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
20860         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
20862         * sysdeps/unix/sysv/linux/kernel-features.h
20863         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
20864         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
20865         unconditional.
20866         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
20867         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
20868         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
20869         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
20870         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
20871         Make code unconditional.
20872         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
20873         (__mmap64) [!__NR_mmap2]: Likewise.
20874         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
20875         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
20876         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
20877         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
20878         [__NR_mmap2]: Make code unconditional.
20879         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
20880         (__mmap64) [!__NR_mmap2]: Likewise.
20882 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
20884         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
20886 2012-08-18  Andreas Jaeger  <aj@suse.de>
20888         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
20890 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
20892         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
20893         * include/unistd.h (__have_sock_cloexec): Likewise.
20894         (__have_pipe2): Likewise.
20895         (__have_dup3): Likewise.
20897 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
20899         [BZ #9685]
20900         * include/unistd.h (__have_pipe2): Change define into an extern int.
20901         (__have_dup3): Likewise.
20902         * socket/have_sock_cloexec.c: Include fcntl.h.
20903         (__have_pipe2): New variable.
20904         (__have_dup3): Likewise.
20906 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
20908         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
20910 2012-08-17  Marek Polacek  <polacek@redhat.com>
20912         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
20913         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
20915 2012-08-17  Roland McGrath  <roland@hack.frob.com>
20917         * configure.in: Add AC_SUBST for sysheaders.
20918         * configure: Regenerated.
20919         * config.make.in (sysheaders): New substituted variable.
20921         * sysdeps/unix/mkfifo.c: Moved ...
20922         * sysdeps/posix/mkfifo.c: ... here.
20923         * sysdeps/unix/mkfifoat.c: Moved ...
20924         * sysdeps/posix/mkfifoat.c: ... here.
20926         * sysdeps/unix/utime.c: Moved ...
20927         * sysdeps/posix/utime.c: ... here.
20929         * sysdeps/unix/time.c: Moved ...
20930         * sysdeps/posix/time.c: ... here.
20931         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
20932         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
20934         * sysdeps/unix/nice.c: Moved ...
20935         * sysdeps/posix/nice.c: ... here.
20937         * sysdeps/unix/alarm.c: Moved ...
20938         * sysdeps/posix/alarm.c: ... here.
20940         * intl/Makefile ($(codeset_mo)): Depend on the input file.
20942 2012-08-17  Jeff Law <law@redhat.com>
20944         * intl/Makefile (codeset_mo): New variable.
20945         ($(codeset_mo)): New target.
20946         (tst-codeset.out): Depend on that.  Remove explicit rule.
20947         (tst-gettext3.out, tst-gettext5.out): Likewise.
20948         (LOCPATH-ENV, tst-codeset-ENV): New variables.
20949         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
20950         * intl/tst-codeset.sh: Remove.
20951         * intl/tst-gettext3.sh: Likewise.
20952         * intl/tst-gettext5.sh: Likewise.
20954 2012-08-17  Roland McGrath  <roland@hack.frob.com>
20956         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
20957         * sysdeps/unix/syscalls.list: ... here.
20959         * sysdeps/posix/getaddrinfo.c
20960         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
20961         (gaiconf_init, gaiconf_reload): Use them.
20962         [!_STATBUF_ST_NSEC]
20963         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
20964         Define using time_t rather than struct timespec.
20966         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
20967         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
20968         Macros removed.
20969         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
20970         [!NO_THREADS].
20971         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
20972         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
20973         Likewise.
20975         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
20976         __libc_cleanup_push argument.
20978         * bits/param.h: New file.
20979         * misc/sys/param.h: New file.
20980         * include/sys/param.h: New file.
20981         * misc/Makefile (headers): Add bits/param.h.
20982         * sysdeps/generic/sys/param.h: File removed.
20983         * sysdeps/unix/sysv/linux/bits/param.h: New file.
20984         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
20985         * sysdeps/mach/hurd/bits/param.h: New file.
20986         * sysdeps/mach/hurd/sys/param.h: File removed.
20988         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
20989         last change.
20991         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
20992         [_IO_MTSAFE_IO].
20993         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
20994         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
20995         New macros.
20997         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
20998         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
20999         rather than -D_IO_MTSAFE_IO conditionally.
21000         * stdio-common/Makefile (CPPFLAGS): Likewise.
21001         * wcsmbs/Makefile (CPPFLAGS): Likewise.
21002         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
21003         Use $(libio-mtsafe).
21004         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
21005         of -D_IO_MTSAFE_IO.
21006         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
21007         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
21008         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
21009         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
21010         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
21011         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
21012         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
21013         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
21014         (CFLAGS-fread_u_chk.c): Likewise.
21015         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
21016         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
21017         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
21018         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
21019         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
21020         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
21021         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
21022         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
21023         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
21025         * libio/Makefile: Test [$(libc-reentrant) = yes]
21026         instead of [$(filter %REENTRANT, $(defines)) nonempty].
21028         * Makeconfig
21029         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
21030         * sysdeps/pthread/configure: File removed.
21031         * sysdeps/pthread/Makeconfig: New file.
21032         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
21033         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
21035 2012-08-16  Gary Benson  <gbenson@redhat.com>
21037         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
21038         unmapping the first object in a namespace.
21040 2012-08-16  Roland McGrath  <roland@hack.frob.com>
21042         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
21043         (__internal_setnetgrent): ... this.  Add internal_function to
21044         definition.  Add libc_hidden_def.
21045         (setnetgrent): Update caller.
21046         (internal_endnetgrent): Renamed to ...
21047         (__internal_endnetgrent): ... this.  Add internal_function to
21048         definition.  Add libc_hidden_def.
21049         (endnetgrent): Update caller.
21050         (internal_getnetgrent_r): Renamed to ...
21051         (__internal_getnetgrent_r): ... this.  Add internal_function to
21052         definition.  Add libc_hidden_def.
21053         (__getnetgrent_r): Update caller.
21054         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
21056 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
21058         * stdlib/longlong.h: Update from GCC.
21060 2012-08-16  Roland McGrath  <roland@hack.frob.com>
21062         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
21063         on _QL, which is set by umul_ppmm but never used.
21064         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
21065         variables, which are set by GMP macros but never used.
21066         * stdio-common/_itowa.c (_itowa): Likewise.
21067         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
21068         * stdlib/mod_1.c (mpn_mod_1): Likewise.
21070 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
21072         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
21073         struct La_sh_regs is not constant.
21074         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
21075         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
21076         and struct La_sparc64_regs are not constant.
21078 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
21080         * sysdeps/unix/sysv/linux/kernel-features.h
21081         (__ASSUME_POSIX_TIMERS): Remove.
21082         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
21083         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
21084         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
21085         Make code unconditional.
21086         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
21087         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
21088         Make code unconditional.
21089         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
21090         * sysdeps/unix/sysv/linux/clock_nanosleep.c
21091         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
21092         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
21093         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
21094         Make code unconditional.
21095         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
21096         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
21097         (__libc_missing_posix_timers): Remove.
21099 2012-08-15  Roland McGrath  <roland@hack.frob.com>
21101         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
21102         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
21104         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
21106         * elf/dl-sym.c: Include <stdlib.h>.
21108         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
21109         constants, which avoids warnings in 32-bit builds.
21111         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
21112         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
21114         * misc/lseek.c: File moved to ...
21115         * io/lseek.c: ... here.
21117         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
21119         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
21120         shifting LEN more than 31 bits at once.
21122 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
21124         [BZ #14195]
21125         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
21126         segmentation fault for a case of two empty input strings.
21127         * string/test-strncasecmp.c (check1): Renamed to...
21128         (bz12205): ...this.
21129         (bz14195): Add new testcase for two empty input strings and N > 0.
21130         (test_main): Call new testcase, adapt for renamed function.
21132 2012-08-15  Andreas Jaeger  <aj@suse.de>
21134         [BZ #14090]
21135         * crypt/md5test2.c: New test, based on test supplied by Serge
21136         Belyshev <belyshev@depni.sinp.msu.ru>.
21137         * crypt/Makefile (xtests): Add md5test-giant..
21138         * crypt/Makefile ($(objpfx)md5test-giant): Add.
21140 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
21142         [BZ #14090]
21143         * crypt/md5.c (md5_process_block): Don't assume the buffer
21144         length is less than 2**32.
21145         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
21146         length is less than 2**64.
21148 2012-08-15  Roland McGrath  <roland@hack.frob.com>
21150         * string/str-two-way.h: Include <sys/param.h>.
21151         (MAX): Macro removed.
21153         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
21154         Move #define and #undef of memmove to just before and after
21155         including <string.h>.
21157         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
21158         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
21159         and after including <string.h>.  Move declarations of
21160         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
21161         to before #include "string/memmove.c".
21163         * include/dirent.h: Declare __getdirentries.
21165         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
21166         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
21168 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
21170         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
21171         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
21172         * sysdeps/i386/configure: Regenerated.
21173         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
21174         STABS_CURRENT_FILE, and STABS_FUN.
21175         (END): Remove call to STABS_FUN_END.
21176         (STABS_CURRENT_FILE1): Delete.
21177         (STABS_CURRENT_FILE): Likewise.
21178         (STABS_FUN): Likewise.
21179         (STABS_FUN_END): Likewise.
21180         (STABS_FUN2): Likewise.
21181         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
21182         * sysdeps/x86_64/configure: Regenerated.
21184 2012-08-14  Roland McGrath  <roland@hack.frob.com>
21186         * elf/dl-open.c: Include <atomic.h>.
21187         * elf/dl-lookup.c: Likewise.
21189 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
21191         * sysdeps/unix/sysv/linux/kernel-features.h
21192         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
21193         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
21194         unconditionally.
21195         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
21196         unconditionally.
21197         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
21198         condition on __ASSUME_CLONE_THREAD_FLAGS.
21200 2012-08-14  Andreas Jaeger  <aj@suse.de>
21202         * sysdeps/i386/fpu/libm-test-ulps: Update.
21204 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
21206         * include/atomic.h (atomic_exchange_and_add): Split into ...
21207         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
21208         New atomic macros.
21210 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
21212         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21214 2012-08-13  Jeff Law <law@redhat.com>
21216         * manual/stdio.texi (snprintf): Clarify handling of the trailing
21217         null byte in the output string.
21219 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
21221         * sysdeps/unix/sysv/linux/kernel-features.h
21222         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
21223         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
21224         (__ASSUME_ARG_MAX_STACK_BASED): Define.
21225         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
21226         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
21227         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
21228         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
21230 2012-08-09  Jeff Law <law@redhat.com>
21232         [BZ #13939]
21233         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
21234         When avoid_arena is set, don't retry in the that arena.  Pick the
21235         next one, whatever it might be.
21236         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
21237         (arena_lock): Pass in new parameter to arena_get2.
21238         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
21239         arena_get2.
21240         (__libc_malloc): Unify retrying after main arena failure with
21241         __libc_memalign version.
21242         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
21244 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
21246         [BZ #14166]
21247         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
21248         to __redirect_strstr.
21249         (__strstr_sse42): Use typeof __redirect_strstr.
21250         (__strstr_ia32): Likewise.
21251         (__libc_strstr): New prototype.
21252         (strstr): Renamed to ...
21253         (__libc_strstr): This.
21254         (strstr): New strong alias of __libc_strstr.
21255         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
21256         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
21257         __redirect_time.
21258         Include <time.h>.
21259         (__libc_time): New prototype.
21260         (time_ifunc): Replace time with __libc_time.
21261         (time): New strong alias and hidden definition of __libc_time.
21262         (__GI_time): Remove strong alias.
21263         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
21264         Include <stddef.h>.
21265         (memmove): Redefined to __redirect_memmove.
21266         (__memmove_sse2): Use typeof __redirect_memmove.
21267         (__memmove_ssse3): Likewise.
21268         (__memmove_ssse3_back): Likewise.
21269         (__libc_memmove): New prototype.
21270         (memmove): Renamed to ...
21271         (__libc_memmove): This.
21272         (memmove): New strong alias of __libc_memmove.
21274 2012-08-08  Mark Salter  <msalter@redhat.com>
21276         * elf/elf.h
21277         (R_MN10300_TLS_GD): Define.
21278         (R_MN10300_TLS_LD): Likewise.
21279         (R_MN10300_TLS_LDO): Likewise.
21280         (R_MN10300_TLS_GOTIE): Likewise.
21281         (R_MN10300_TLS_IE): Likewise.
21282         (R_MN10300_TLS_LE): Likewise.
21283         (R_MN10300_TLS_DTPMOD): Likewise.
21284         (R_MN10300_TLS_DTPOFF): Likewise.
21285         (R_MN10300_TLS_TPOFF): Likewise.
21286         (R_MN10300_SYM_DIFF): Likewise.
21287         (R_MN10300_ALIGN): Likewise.
21288         (R_MN10300_NUM): Update.
21290 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
21292         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
21293         Remove.
21295 2012-08-08  Roland McGrath  <roland@hack.frob.com>
21297         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
21299         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
21300         sysdeps/unix -> sysdeps/posix move.
21301         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
21303 2012-08-07      Allan McRae     <allan@archlinux.org>
21305         [BZ #14303]
21306         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
21307         (SUNOS_CPP): Likewise.
21308         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
21309         not found.
21310         (open_input): Call CPP using execvp.
21312 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
21314         * sysdeps/unix/sysv/linux/kernel-features.h
21315         (__ASSUME_PROT_GROWSUPDOWN): Remove.
21316         (__ASSUME_NO_CLONE_DETACHED): Likewise.
21317         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
21318         (__ASSUME_WAITID_SYSCALL): Likewise.
21319         * sysdeps/unix/sysv/linux/dl-execstack.c
21320         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
21321         code unconditional.
21322         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
21323         conditional code.
21324         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
21325         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
21326         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
21327         code.
21328         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
21329         unconditional.
21330         [__ASSUME_WAITID_SYSCALL]: Likewise.
21331         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
21333 2012-08-07  Roland McGrath  <roland@hack.frob.com>
21335         * sysdeps/unix/closedir.c: Renamed to ...
21336         * sysdeps/posix/closedir.c: ... here.
21337         * sysdeps/unix/dirfd.c: Renamed to ...
21338         * sysdeps/posix/dirfd.c: ... here.
21339         * sysdeps/unix/dirstream.h: Renamed to ...
21340         * sysdeps/posix/dirstream.h: ... here.
21341         * sysdeps/unix/fdopendir.c: Renamed to ...
21342         * sysdeps/posix/fdopendir.c: ... here.
21343         * sysdeps/unix/opendir.c: Renamed to ...
21344         * sysdeps/posix/opendir.c: ... here.
21345         * sysdeps/unix/readdir.c: Renamed to ...
21346         * sysdeps/posix/readdir.c: ... here.
21347         * sysdeps/unix/readdir_r.c: Renamed to ...
21348         * sysdeps/posix/readdir_r.c: ... here.
21349         * sysdeps/unix/rewinddir.c: Renamed to ...
21350         * sysdeps/posix/rewinddir.c: ... here.
21351         * sysdeps/unix/seekdir.c: Renamed to ...
21352         * sysdeps/posix/seekdir.c: ... here.
21353         * sysdeps/unix/telldir.c: Renamed to ...
21354         * sysdeps/posix/telldir.c: ... here.
21355         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
21356         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
21357         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
21358         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
21360         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
21361         * bits/fcntl.h: ... here.
21363         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
21364         not 0.
21365         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
21366         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
21367         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
21368         (struct flock): Move l_start, l_len to the beginning.
21369         Use __pid_t for l_pid.
21370         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
21371         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
21372         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
21373         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
21374         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
21375         [__USE_LARGEFILE64] (struct flock64): New type.
21376         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
21378         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
21379         * bits/dirent.h: ... here.
21381         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
21382         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
21384 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
21386         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
21387         Change from 2.6.0 to 2.6.16.
21388         * sysdeps/unix/sysv/linux/configure: Regenerated.
21389         * sysdeps/unix/sysv/linux/kernel-features.h
21390         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
21391         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
21392         version.
21393         (__ASSUME_UTIMES): Likewise.
21394         (__ASSUME_CLONE_STOPPED): Remove.
21395         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
21396         architectures, not kernel version.
21397         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
21398         (__ASSUME_NO_CLONE_DETACHED): Likewise.
21399         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
21400         (__ASSUME_WAITID_SYSCALL): Likewise.
21401         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
21402         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
21403         * README: State 2.6.16 as minimum Linux kernel version.  Do not
21404         refer to older versions.
21406 2012-08-06  Roland McGrath  <roland@hack.frob.com>
21408         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
21409         Define alphasort64 as an alias.
21410         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
21411         Define versionsort64 as an alias.
21412         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
21413         Define scandir64 as an alias.
21414         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
21415         Define scandirat64 as an alias.
21416         * dirent/alphasort64.c (alphasort64):
21417         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
21418         * dirent/versionsort64.c: Likewise.
21419         * dirent/scandir64.c: Likewise.
21420         * dirent/scandirat64.c: Likewise.
21421         * sysdeps/wordsize-64/alphasort.c: File removed.
21422         * sysdeps/wordsize-64/alphasort64.c: File removed.
21423         * sysdeps/wordsize-64/scandir.c: File removed.
21424         * sysdeps/wordsize-64/scandir64.c: File removed.
21425         * sysdeps/wordsize-64/scandirat.c: File removed.
21426         * sysdeps/wordsize-64/scandirat64.c: File removed.
21427         * sysdeps/wordsize-64/versionsort.c: File removed.
21428         * sysdeps/wordsize-64/versionsort64.c: File removed.
21429         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
21430         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
21431         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
21432         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
21433         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
21434         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
21435         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
21436         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
21438         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
21439         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
21440         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
21441         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
21442         [defined __arch64__ || defined __sparcv9]
21443         (__INO_T_MATCHES_INO64_T): New macro.
21444         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
21445         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
21446         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
21447         * sysdeps/unix/sysv/linux/bits/dirent.h
21448         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
21449         (_DIRENT_MATCHES_DIRENT64): New macro.
21451         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
21452         Define lockf64 as an alias.
21453         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
21454         Define fseeko64 as an alias.
21455         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
21456         Define ftello64 as an alias.
21457         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
21458         Define _IO_fgetpos64 and fgetpos64 as aliases.
21459         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
21460         Define _IO_fsetpos64 and fsetpos64 as aliases.
21461         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
21462         Conditionalize body on this.
21463         * libio/fseeko64.c: Likewise.
21464         * libio/ftello64.c: Likewise.
21465         * libio/iofgetpos64.c: Likewise.
21466         * libio/iofsetpos64.c: Likewise.
21467         * sysdeps/wordsize-64/lockf.c: File removed.
21468         * sysdeps/wordsize-64/lockf64.c: File removed.
21469         * sysdeps/wordsize-64/fseeko.c: File removed.
21470         * sysdeps/wordsize-64/fseeko64.c: File removed.
21471         * sysdeps/wordsize-64/ftello.c: File removed.
21472         * sysdeps/wordsize-64/ftello64.c: File removed.
21473         * sysdeps/wordsize-64/iofgetpos.c: File removed.
21474         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
21475         * sysdeps/wordsize-64/iofsetpos.c: File removed.
21476         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
21477         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
21478         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
21479         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
21480         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
21481         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
21482         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
21483         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
21484         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
21485         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
21486         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
21488         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
21489         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
21490         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
21491         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
21492         [defined __arch64__ || defined __sparcv9]
21493         (__OFF_T_MATCHES_OFF64_T): New macro.
21494         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
21495         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
21496         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
21497         (__OFF_T_MATCHES_OFF64_T): New macro.
21499 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
21501         * stdlib/secure-getenv.c (__secure_getenv): Replace
21502         GLIBC_2_16 with GLIBC_2_17.
21504 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
21506         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
21507         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
21509 2012-08-03  David S. Miller  <davem@davemloft.net>
21511         * sysdeps/sparc/fpu/libm-test-ulps: Update.
21513 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
21515         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
21516         Remove.
21517         (__ASSUME_CORRECT_SI_PID): Likewise.
21518         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
21519         (__ASSUME_TMPFS_NAME): Likewise.
21520         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
21521         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
21522         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
21523         (HAVE_AUX_SECURE): Make definition unconditional.
21524         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
21525         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
21527 2012-08-03  Roland McGrath  <roland@hack.frob.com>
21529         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
21530         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
21531         * sysdeps/mach/hurd/eloop-threshold.h: New file.
21532         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
21533         __eloop_threshold instead of SYMLOOP_MAX.
21535         * sysdeps/generic/eloop-threshold.h: New file.
21536         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
21537         of MAXSYMLINKS.
21538         * elf/chroot_canon.c (chroot_canon): Likewise.
21540 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
21542         [BZ #13717]
21543         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
21544         Change to 2.6.0 everywhere.
21545         * sysdeps/unix/sysv/linux/configure: Regenerated.
21546         * sysdeps/unix/sysv/linux/kernel-features.h
21547         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
21548         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
21549         kernel versions.
21550         (__ASSUME_POSIX_TIMERS): Define unconditionally.
21551         (__ASSUME_FUTEX_REQUEUE): Remove.
21552         (__ASSUME_STATFS64): Define unconditionally.
21553         (__ASSUME_AT_SECURE): Likewise.
21554         (__ASSUME_CORRECT_SI_PID): Likewise.
21555         (__ASSUME_TGKILL): Define without depending on kernel version for
21556         i386.
21557         (__ASSUME_UTIMES): Likewise.
21558         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
21559         kernel version.
21560         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
21561         (__ASSUME_TMPFS_NAME): Likewise.
21562         * README: Update reference to Linux kernel versions.
21564 2012-08-02  Marek Polacek  <polacek@redhat.com>
21566         [BZ# 14150]
21567         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
21568         libc_cv_asm_type_prefix with %.
21569         * configure: Regenerated.
21570         * include/libc-symbols.h: Remove comment about
21571         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
21572         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
21573         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
21574         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
21575         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
21576         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
21577         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
21578         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
21579         * elf/tst-unique2mod1.c: Likewise.
21580         * elf/tst-unique1mod2.c: Likewise.
21581         * elf/tst-unique1mod1.c: Likewise.
21582         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
21583         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
21584         Replace ASM_TYPE_DIRECTIVE with .type.
21585         * sysdeps/s390/s390-64/sysdep.h: Likewise.
21586         * sysdeps/i386/sysdep.h: Likewise.
21587         * sysdeps/x86_64/sysdep.h: Likewise.
21588         * sysdeps/sh/sysdep.h: Likewise.
21589         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
21590         Do not define ASM_TYPE_DIRECTIVE.
21591         * sysdeps/powerpc/sysdep.h: Likewise.
21592         * sysdeps/powerpc/powerpc32/sysdep.h:
21593         Replace ASM_TYPE_DIRECTIVE with .type.
21594         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
21595         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
21596         * sysdeps/i386/fpu/e_powf.S: Likewise.
21597         * sysdeps/i386/fpu/e_expl.S: Likewise.
21598         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
21599         * sysdeps/i386/fpu/e_acosh.S: Likewise.
21600         * sysdeps/i386/fpu/e_pow.S: Likewise.
21601         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
21602         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
21603         * sysdeps/i386/fpu/s_expm1.S: Likewise.
21604         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
21605         * sysdeps/i386/fpu/e_log2.S: Likewise.
21606         * sysdeps/i386/fpu/e_log2l.S: Likewise.
21607         * sysdeps/i386/fpu/e_scalb.S: Likewise.
21608         * sysdeps/i386/fpu/e_powl.S: Likewise.
21609         * sysdeps/i386/fpu/e_log10f.S: Likewise.
21610         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
21611         * sysdeps/i386/fpu/e_logl.S: Likewise.
21612         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
21613         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
21614         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
21615         * sysdeps/i386/fpu/e_log2f.S: Likewise.
21616         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
21617         * sysdeps/i386/fpu/e_log.S: Likewise.
21618         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
21619         * sysdeps/i386/fpu/e_logf.S: Likewise.
21620         * sysdeps/i386/fpu/e_log10l.S: Likewise.
21621         * sysdeps/i386/fpu/e_atanh.S: Likewise.
21622         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
21623         * sysdeps/i386/fpu/e_log10.S: Likewise.
21624         * sysdeps/i386/fpu/s_frexp.S: Likewise.
21625         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
21626         * sysdeps/i386/fpu/s_asinh.S: Likewise.
21627         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
21628         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
21629         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
21630         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
21631         * sysdeps/i386/i686/strtok.S: Likewise.
21632         * sysdeps/i386/i386-mcount.S: Likewise.
21633         * sysdeps/i386/strtok.S: Likewise.
21634         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
21635         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
21636         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
21637         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
21638         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
21639         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
21640         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
21641         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
21642         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
21643         * sysdeps/x86_64/_mcount.S: Likewise.
21644         * sysdeps/x86_64/strtok.S: Likewise.
21645         * sysdeps/sh/_mcount.S: Likewise.
21647 2012-08-01  Roland McGrath  <roland@hack.frob.com>
21649         * libio/iofopen.c: Include <fcntl.h>.
21650         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
21651         (_IO_fopen64, fopen64): Define as aliases.
21652         * libio/iofopen64.c: Include <fcntl.h>.
21653         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
21654         Conditionalize body on this.
21655         * sysdeps/wordsize-64/iofopen.c: File removed.
21656         * sysdeps/wordsize-64/iofopen64.c: File removed.
21658 2012-08-01  Marek Polacek  <polacek@redhat.com>
21660         * libc/Makeconfig: Use elf in place of binfmt-subdir.
21661         Use dlfcn directly instead of a variable.
21662         (binfmt-subdir): Do not define.
21663         (dlfcn): Likewise.
21665 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
21667         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
21668         Remove all definitions.
21669         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
21670         <kernel-features.h>.
21671         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
21672         (miss_F_GETOWN_EX): Remove all definitions.
21673         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
21674         macro definition.
21675         [!__ASSUME_FCNTL64]: Remove conditional code.
21676         [__ASSUME_FCNTL64]: Make code unconditional.
21677         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
21678         <kernel-features.h>.
21679         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
21680         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
21681         (lockf64) [__NR_fcntl64]: Make code unconditional.
21682         (lockf64) [__ASSUME_FCNTL64]: Likewise.
21684         * sysdeps/unix/sysv/linux/kernel-features.h
21685         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
21686         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
21687         Make code unconditional.
21688         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
21689         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
21690         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
21691         [__NR_vfork]: Make code unconditional.
21692         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
21693         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
21694         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
21695         [__NR_vfork]: Make code unconditional.
21696         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
21697         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
21699 2012-08-01  Roland McGrath  <roland@hack.frob.com>
21701         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
21702         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
21704         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
21705         Define mkstemp64 as an alias.
21706         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
21707         Define mkstemps64 as an alias.
21708         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
21709         Define mkostemp64 as an alias.
21710         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
21711         Define mkostemps64 as an alias.
21712         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
21713         Conditionalize body on this.
21714         * misc/mkostemp64.c: Likewise.
21715         * misc/mkostemps64.c: Likewise.
21716         * misc/mkstemps64.c: Likewise.
21717         * sysdeps/wordsize-64/mkstemp64.c: File removed.
21718         * sysdeps/wordsize-64/mkostemp64.c: File removed.
21719         * sysdeps/wordsize-64/mkostemp.c: File removed.
21720         * sysdeps/wordsize-64/mkstemp.c: File removed.
21721         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
21722         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
21723         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
21724         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
21726         [BZ #14138]
21727         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
21728         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
21729         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
21730         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
21732         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
21733         compat_symbol macros from <shlib-compat.h> rather than the underlying
21734         default_symbol_version and symbol_version macros, so that DEFAULT
21735         lines in shlib-versions are respected.
21736         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
21738 2012-08-01  Florian Weimer  <fweimer@redhat.com>
21740         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
21741         Declare with warn_unused_result.
21742         (setgid, setregid, setegid, setresgid): Likewise.
21743         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
21744         Likewise.
21745         * WUR-REPORT: Remove set*id functions.
21747 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
21749         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
21751 2012-07-31  Roland McGrath  <roland@hack.frob.com>
21753         [BZ #10191]
21754         * include/sys/socket.h (__libc_accept, __libc_accept4):
21755         Add attribute_hidden.
21756         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
21758         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
21759         use of PTR_MANGLE.
21760         * inet/getnetgrent_r.c (setup): Likewise.
21762         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
21764 2012-07-31  David S. Miller  <davem@davemloft.net>
21766         * sysdeps/sparc/fpu/libm-test-ulps: Update.
21768 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
21770         [BZ #13629]
21771         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
21772         value between 1.0 and 2.0 and smaller part has absolute value less
21773         than 1.0.
21774         * math/s_clog10.c (__clog10): Likewise.
21775         * math/s_clog10f.c (__clog10f): Likewise.
21776         * math/s_clog10l.c (__clog10l): Likewise.
21777         * math/s_clogf.c (__clogf): Likewise.
21778         * math/s_clogl.c (__clogl): Likewise.
21779         * math/libm-test.inc (clog_test): Add more tests.
21780         (clog10_test): Likewise.
21781         * sysdeps/i386/fpu/libm-test-ulps: Update.
21782         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21784 2012-07-31  Florian Weimer  <fweimer@redhat.com>
21786         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
21787         Exit with zero in case no suitable GID is found, and write a
21788         message to standard error.
21790 2012-07-30  Roland McGrath  <roland@hack.frob.com>
21792         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
21793         rather than to 1.
21794         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
21795         (MAXPATHLEN): Removed.
21796         (NOGROUP, NODEV): New macros.
21797         (setbit, clrbit, isset, isclr): New macros.
21798         (howmany, roundup, powerof2): New macros.
21799         (DEV_BSIZE): New macro.
21801         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
21802         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
21804         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
21805         definition on [!__NO_LONG_DOUBLE_MATH].
21807         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
21808         PTR_MANGLE and PTR_DEMANGLE.
21810         * socket/accept4.c (accept4): Rename to __libc_accept4.
21811         Define accept4 as a weak alias.
21813         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
21814         on [_DIRENT_HAVE_D_TYPE].
21815         * io/ftw.c (ftw_dir): Likewise.
21817         * io/xmknod.c (__xmknod): Don't check PATH for being null.
21819         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
21821         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
21822         Use the BSD numbers rather than the arbitrary ones we had.
21823         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
21824         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
21825         (SIGXCPU, SIGXFSZ): New macros.
21826         (_NSIG): Now 32.
21828         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
21829         initializer on [_LIBC_REENTRANT].
21831         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
21832         definitions inside [_POSIX_MAPPED_FILES].
21834         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
21836         * dirent/opendir.c: Include <fcntl.h>.
21838         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
21839         (__libc_getspecific): Likewise.
21840         (__libc_key_create): Likewise.
21842         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
21843         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
21844         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
21845         (tmpfile64): Define as alias.
21846         * sysdeps/wordsize-64/tmpfile.c: File removed.
21847         * sysdeps/wordsize-64/tmpfile64.c: File removed.
21848         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
21849         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
21851         * stdio-common/vfscanf.c: Include <stdbool.h>.
21852         * nss/makedb.c: Likewise.
21853         * stdio-common/_i18n_number.h: Likewise.
21854         * argp/argp-help.c: Likewise.
21855         * posix/wordexp.c: Likewise.
21856         * sysdeps/posix/spawni.c: Likewise.
21857         * nss/nss_files/files-initgroups.c: Likewise.
21858         * stdio-common/reg-modifier.c: Include <stdlib.h>.
21859         * nss/nss_files/files-initgroups.c: Likewise.
21860         * nss/nss_db/db-netgrp.c: Likewise.
21861         * nss/nss_db/db-initgroups.c: Likewise.
21862         * io/fchmodat.c: Include <sys/stat.h>.
21864         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
21865         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
21867         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
21868         [HAVE_MMAP].
21870         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
21871         Add multiple inclusion protection.
21873 2012-07-27  David S. Miller  <davem@davemloft.net>
21875         * sysdeps/sparc/fpu/libm-test-ulps: Update.
21877 2012-07-27  Gary Benson  <gbenson@redhat.com>
21879         [BZ #14298]
21880         * elf/rtld.c: Include <stap-probe.h>.
21881         (dl_main): Added static probes "init_start" and "init_complete".
21882         * elf/dl-load.c: Include <stap-probe.h>.
21883         (lose): Take new parameter "nsid".
21884         Added static probe "map_failed".
21885         (_dl_map_object_from_fd): Pass namespace id to lose.
21886         Added static probe "map_start".
21887         (open_verify): Pass namespace id to lose.
21888         * elf/dl-open.c: Include <stap-probe.h>.
21889         (dl_open_worker) Added static probes "map_complete", "reloc_start"
21890         and "reloc_complete".
21891         * elf/dl-close.c: Include <stap-probe.h>.
21892         (_dl_close_worker): Added static probes "unmap_start" and
21893         "unmap_complete".
21894         * elf/rtld-debugger-interface.txt: New file documenting the above.
21896 2012-07-26  Roland McGrath  <roland@hack.frob.com>
21898         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
21899         rather than a string variable.
21900         * sunrpc/rpc_main.c (h_output): Likewise.
21901         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
21903 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
21905         * inet/check_native.c: New file.
21907 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
21909         [BZ #13629]
21910         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
21911         if larger part has absolute value 1.0.
21912         * math/s_clog10.c (__clog10): Likewise.
21913         * math/s_clog10f.c (__clog10f): Likewise.
21914         * math/s_clog10l.c (__clog10l): Likewise.
21915         * math/s_clogf.c (__clogf): Likewise.
21916         * math/s_clogl.c (__clogl): Likewise.
21917         * math/libm-test.inc (clog_test): Add more tests.
21918         (clog10_test): Likewise.
21919         * sysdeps/i386/fpu/libm-test-ulps: Update.
21920         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21922         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
21923         (pltexit): Likewise.
21924         (La_regs): Likewise.
21925         (La_retval): Likewise.
21926         (int_retval): Likewise.
21927         Update #error for removed macros to refer only to definitions in
21928         tst-audit.h.
21929         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
21930         macro.
21931         (pltexit): Likewise.
21932         (La_regs): Likewise.
21933         (La_retval): Likewise.
21934         (int_retval): Likewise.
21935         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
21936         macro.
21937         (pltexit): Likewise.
21938         (La_regs): Likewise.
21939         (La_retval): Likewise.
21940         (int_retval): Likewise.
21941         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
21942         macro.
21943         (pltexit): Likewise.
21944         (La_regs): Likewise.
21945         (La_retval): Likewise.
21946         (int_retval): Likewise.
21947         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
21948         macro.
21949         (pltexit): Likewise.
21950         (La_regs): Likewise.
21951         (La_retval): Likewise.
21952         (int_retval): Likewise.
21953         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
21954         macro.
21955         (pltexit): Likewise.
21956         (La_regs): Likewise.
21957         (La_retval): Likewise.
21958         (int_retval): Likewise.
21959         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
21960         macro.
21961         (pltexit): Likewise.
21962         (La_regs): Likewise.
21963         (La_retval): Likewise.
21964         (int_retval): Likewise.
21965         * sysdeps/generic/tst-audit.h: Update comment to refer only to
21966         macro definitions in tst-audit.h.
21967         * sysdeps/i386/tst-audit.h: New file.
21968         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
21969         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
21970         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
21971         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
21972         * sysdeps/sh/tst-audit.h: Likewise.
21973         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
21974         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
21975         * sysdeps/x86_64/tst-audit.h: Likewise.
21977 2012-07-26  Andreas Jaeger  <aj@suse.de>
21979         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
21980         ptrace.
21982         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
21983         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
21984         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
21985         PTRACE_O_MASK.
21986         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
21987         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
21988         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
21990         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
21991         value.
21993         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
21994         _sigsys.
21995         (si_call_addr, si_syscall, si_arch): Define new macro.
21996         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
21997         _sigsys.
21998         (si_call_addr, si_syscall, si_arch): Define new marcro.
21999         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
22000         _sigsys.
22001         (si_call_addr, si_syscall, si_arch): Define new macro.
22002         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
22003         _sigsys.
22004         (si_call_addr, si_syscall, si_arch): Define new macro.
22006 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
22008         [BZ #13717]
22009         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
22010         Change to 2.4.21 where previously 2.4.1.
22011         * sysdeps/unix/sysv/linux/configure: Regenerated.
22012         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
22013         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
22014         Linux kernel version.
22015         (__ASSUME_STD_AUXV): Remove.
22016         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
22017         kernel version.
22018         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
22019         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
22020         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
22021         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
22022         (__ASSUME_NETLINK_SUPPORT): Likewise.
22023         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
22024         (__no_netlink_support): Remove conditional definition.
22025         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
22026         Remove.
22027         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
22028         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
22029         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
22030         (if_nameindex_ioctl): Remove.
22031         (if_nameindex_netlink): Do not handle __no_netlink_support.
22032         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
22033         code.
22034         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
22035         Remove conditional code.
22036         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
22037         code.
22038         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
22039         unconditional.
22040         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
22041         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
22042         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
22043         Remove.
22044         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
22045         [!__ASSUME_STD_AUXV]: Remove conditional code.
22046         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
22047         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
22048         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
22049         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
22050         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
22051         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
22052         code.
22053         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
22054         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
22055         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
22056         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
22057         conditional code.
22058         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
22059         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
22060         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
22061         code.
22062         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
22063         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
22064         conditional code.
22065         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
22066         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
22067         code unconditional.
22068         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
22069         conditional code.
22070         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
22071         unconditional.
22072         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
22073         conditional code.
22074         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
22075         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
22076         unconditional.
22077         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
22078         conditional code.
22079         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
22080         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
22081         code unconditional.
22082         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
22083         conditional code.
22084         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
22085         unconditional.
22086         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
22087         conditional code.
22088         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
22089         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
22090         code unconditional.
22091         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
22092         conditional code.
22093         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
22094         unconditional.
22095         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
22096         conditional code.
22098 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
22100         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
22101         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
22102         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
22103         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
22104         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
22105         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
22106         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
22107         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
22108         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
22109         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
22110         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
22111         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
22112         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
22113         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
22114         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
22115         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
22116         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
22117         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
22118         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
22119         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
22120         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
22121         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
22122         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
22124 2012-07-25  Florian Weimer  <fweimer@redhat.com>
22126         * Versions.def: Add GLIBC_2.17.
22127         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
22128         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
22129         Introduce __libc_secure_getenv.
22130         * stdlib/Versions (2.17): Add secure_getenv
22131         (GLIBC_PRIVATE): Add __libc_secure_getenv.
22132         * stdlib/secure-getenv.c: Rename __secure_getenv to
22133         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
22134         symbol __secure_getenv for GLIBC_2.0.
22135         * stdlib/tst-secure-getenv.c: New.
22136         * stdlib/Makefile (tests): Add testcase.
22137         * manual/startup.texi (Environment Access): Document
22138         secure_getenv.
22139         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
22140         __libc_secure_getenv.
22141         * inet/ruserpass.c (ruserpass): Likewise.
22142         * malloc/mtrace.c (mtrace): Likewise.
22143         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
22144         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
22145         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
22146         * sysdeps/posix/tempname.c: Likewise.  Evaluate
22147         HAVE_SECURE_GETENV.
22148         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
22149         __secure_getenv to __libc_secure_getenv.
22150         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
22151         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
22152         Likewise.
22153         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
22154         Likewise.
22155         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
22156         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
22157         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
22158         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
22159         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
22160         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
22161         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
22163 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
22165         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
22166         (struct La_i86_retval): Likewise.
22167         (struct La_x86_64_regs): Likewise.
22168         (struct La_x86_64_retval): Likewise.
22169         (struct La_x32_regs): Likewise.
22170         (struct La_x32_retval): Likewise.
22171         (struct La_ppc32_regs): Likewise.
22172         (struct La_ppc32_retval): Likewise.
22173         (struct La_ppc64_regs): Likewise.
22174         (struct La_ppc64_retval): Likewise.
22175         (struct La_sh_regs): Likewise.
22176         (struct La_sh_retval): Likewise.
22177         (struct La_s390_32_regs): Likewise.
22178         (struct La_s390_32_retval): Likewise.
22179         (struct La_s390_64_regs): Likewise.
22180         (struct La_s390_64_retval): Likewise.
22181         (struct La_sparc32_regs): Likewise.
22182         (struct La_sparc32_retval): Likewise.
22183         (struct La_sparc64_regs): Likewise.
22184         (struct La_sparc64_retval): Likewise.
22185         (struct audit_ifaces): Remove architecture-specific pltenter and
22186         pltexit members.
22187         * sysdeps/i386/ldsodefs.h: New file.
22188         * sysdeps/powerpc/ldsodefs.h: Likewise.
22189         * sysdeps/s390/ldsodefs.h: Likewise.
22190         * sysdeps/sh/ldsodefs.h: Likewise.
22191         * sysdeps/sparc/ldsodefs.h: Likewise.
22192         * sysdeps/x86_64/ldsodefs.h: Likewise.
22194 2012-07-25  Marek Polacek  <polacek@redhat.com>
22196         [BZ #6808]
22197         * math/libm-test.inc (yn_test): Add another test.
22198         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
22199         to ERANGE when the result is +-Inf.
22200         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
22201         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
22202         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
22203         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
22205 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
22207         * conform/data/time.h-data (NULL): Use macro-constant.  Require
22208         equal to 0.
22209         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
22210         clock_t.
22211         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
22213 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
22215         * configure.in <sysdeps resolving>: Correct printing
22216         Implies_before.
22217         * configure: Regenerate.
22219 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
22221         * math/w_ilogb.c: Include <limits.h>.
22222         * math/w_ilogbl.c: Likewise.
22224 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
22226         * manual/lang.texi (__va_copy): Document primarily as ISO C99
22227         va_copy.  Document allowing for unavailable va_copy only as
22228         pre-C99 compatibility.
22229         * manual/string.texi (Copying and Concatenation): Use va_copy
22230         instead of __va_copy in concat example.
22232 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
22234         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
22235         (__sendto): Use create_address_port.  Initialize APORT and deallocate
22236         it if not null.
22238         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
22239         with O_NOLINK passed to __file_name_lookup.
22241         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
22242         with O_NOLINK passed to __file_name_lookup.
22244         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
22245         negative N or less than NGIDS.
22247         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
22248         type to string_t.  Set ERANGE as errno and return it if NAME is not big
22249         enough.  Use memcpy instead of strncpy.
22251 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
22253         * elf/Makefile (check-data): Remove.
22254         (localplt.data): New vpath directive.
22255         ($(objpfx)check-localplt.out): Use localplt.data from vpath
22256         instead of $(check-data).
22257         * scripts/data/localplt-generic.data: Move to ...
22258         * sysdeps/generic/localplt.data: ... here.
22259         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
22260         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
22261         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
22262         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
22263         ... here.
22264         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
22265         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
22266         ... here.
22267         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
22268         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
22269         ... here.
22270         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
22271         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
22272         ... here.
22273         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
22274         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
22275         ... here.
22276         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
22277         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
22278         ... here.
22280 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22282         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
22283         PPC32 and PPC64 files.
22284         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
22285         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
22287 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
22289         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
22290         __makecontext_ret to ...
22291         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
22292         ... here and call exit if uc_link is NULL.  New file.
22293         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
22294         __makecontext_ret.S.
22295         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
22296         __makecontext_ret to ...
22297         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
22298         ... here and call exit if uc_link is NULL.  New file.
22299         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
22300         __makecontext_ret.S.
22302 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
22304         * elf/elf.h (R_390_IRELATIVE): New definition.
22305         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
22306         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
22307         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
22308         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
22309         (elf_machine_lazy_rel): Likewise.
22310         * sysdeps/s390/dl-irel.h: New file.
22311         * sysdeps/s390/s390-64/memcpy.S: New asm code.
22312         * sysdeps/s390/s390-64/memset.S: New asm code.
22313         * sysdeps/s390/s390-64/memcmp.S: New asm code.
22314         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
22315         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
22316         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
22317         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
22318         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
22319         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
22320         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
22321         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
22322         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
22323         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
22324         * sysdeps/s390/s390-32/memcpy.S: New asm code.
22325         * sysdeps/s390/s390-32/memset.S: New asm code.
22326         * sysdeps/s390/s390-32/memcmp.S: New asm code.
22328 2012-07-17  Marek Polacek  <polacek@redhat.com>
22330         [BZ #14349]
22331         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
22332         * sysdeps/s390/s390-64/configure.in: Likewise.
22333         * sysdeps/sparc/configure.in: Likewise.
22334         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
22335         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
22336         * sysdeps/i386/configure.in: Likewise.
22337         * sysdeps/x86_64/configure.in: Likewise.
22338         * sysdeps/sh/configure.in: Likewise.
22339         * sysdeps/s390/s390-32/configure: Regenerated.
22340         * sysdeps/s390/s390-64/configure: Likewise.
22341         * sysdeps/x86_64/configure: Likewise.
22342         * sysdeps/sh/configure: Likewise.
22343         * sysdeps/powerpc/powerpc64/configure: Likewise.
22344         * sysdeps/powerpc/powerpc32/configure: Likewise.
22345         * sysdeps/sparc/configure: Likwise.
22346         * sysdeps/i386/configure: Likewise.
22348         * elf/dl-open.c: Comment fixes.
22350 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
22352         * Makefile [CXX] (check-data): Remove.
22353         [CXX] (c++-types.data): New vpath directive.
22354         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
22355         vpath.  Do not allow for C++ type data being missing.
22356         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
22357         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
22358         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
22359         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
22360         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
22361         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
22362         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
22363         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
22364         ... here.
22365         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
22366         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
22367         ... here.
22368         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
22369         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
22370         ... here.
22371         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
22372         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
22373         ... here.
22374         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
22375         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
22376         ... here.
22377         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
22378         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
22379         ... here.
22380         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
22381         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
22382         ... here.
22383         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
22384         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
22386         * elf/tls-macros.h (TLS_LE): Move architecture-specific
22387         definitions to architecture-specific files.
22388         (TLS_IE): Likewise.
22389         (TLS_LD): Likewise.
22390         (TLS_GD): Likewise.
22391         * sysdeps/i386/tls-macros.h: New file.
22392         * sysdeps/powerpc/tls-macros.h: Likewise.
22393         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
22394         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
22395         * sysdeps/sh/tls-macros.h: Likewise.
22396         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
22397         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
22398         * sysdeps/x86_64/tls-macros.h: Likewise.
22400 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
22402         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
22403         zero value for regular exit case.
22405         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
22406         (__start_context): Preserve zero value for regular exit case.
22408 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
22409             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
22411         * manual/setjmp.texi (setcontext): Clarify normal process
22412         termination when uc_link is the null pointer.
22413         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
22414         exit call.
22416 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
22418         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
22419         preprocessor.  Test for each exception mask separately.
22421 2012-07-16  Andreas Jaeger  <aj@suse.de>
22423         * po/ru.po: Update from translation team.
22425 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
22427         * conform/data/string.h-data (NULL): Use macro-constant.  Require
22428         equal to 0.
22429         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
22430         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
22431         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
22432         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
22433         [ISO || ISO99 || ISO11] (*_t): Do not allow.
22435 2012-07-13  Andreas Jaeger  <aj@suse.de>
22437         * po/fr.po: Update from translation team.
22439 2012-07-12  Marek Polacek  <polacek@redhat.com>
22441         [BZ #14173]
22442         * math/libm-test.inc (yn_test): Add test for BZ #14173.
22443         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
22444         loop condition.
22446 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
22448         [BZ #13717]
22449         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
22450         Change to 2.4.1 where previously 2.4.0.
22451         * sysdeps/unix/sysv/linux/configure: Regenerated.
22452         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
22453         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
22454         version.
22455         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
22456         (__ASSUME_AT_CLKTCK): Remove.
22457         (__ASSUME_AT_PAGESIZE): Likewise.
22458         (__ASSUME_AT_XID): Likewise.
22459         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
22460         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
22461         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
22462         unconditionally.
22463         (HAVE_AUX_PAGESIZE): Likewise.
22464         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
22465         [__ASSUME_AT_CLKTCK]: Make code unconditional.
22466         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
22468 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
22470         [BZ #14307]
22471         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
22472         the temporary buffer used to invoke __gethostbyname2_r,
22473         __gethostbyaddr_r and gethostbyname4_r to make room for struct
22474         host_data / struct gaih_addrtuple.
22475         * resolv/nss_dns/dns-host.c (global scope): Move definition of
22476         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
22477         header file nss/nsswitch.h.
22478         * nss/nsswitch.h (global scope): Add definition of implementation
22479         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
22480         resolv/nss_dns/dns-host.c).
22482 2012-07-11  Andreas Jaeger  <aj@suse.de>
22484         * po/fr.po: Update from translation team.
22486         * po/sv.po: Update from translation team
22487         * po/fr.po: Another update from translation team.
22489 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22491         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
22492         for subnormals or multiply small sinh result by itself.
22493         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
22494         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22496 2012-07-11  David S. Miller  <davem@davemloft.net>
22498         * sysdeps/sparc/fpu/libm-test-ulps: Update.
22500 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
22502         [BZ #14347]
22503         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
22504         (INTERNAL_MARK): Shift it here.
22506 2012-07-10  Marek Polacek  <polacek@redhat.com>
22508         [BZ #14151]
22509         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
22510         libc_cv_asm_global_directive with .globl.
22511         * configure: Regenerated.
22512         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
22513         with .globl.
22514         * sysdeps/i386/configure: Regenerated.
22515         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
22516         with .globl.
22517         * sysdeps/x86_64/configure: Regenerated.
22518         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
22519         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
22520         * elf/tst-unique2mod2.c: Likewise.
22521         * elf/tst-unique2mod1.c: Likewise.
22522         * elf/tst-unique1mod2.c: Likewise.
22523         * elf/tst-unique1mod1.c: Likewise.
22524         * sysdeps/s390/s390-32/sysdep.h: Likewise.
22525         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
22526         * sysdeps/s390/s390-64/sysdep.h: Likewise.
22527         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
22528         * sysdeps/mach/sysdep.h: Likewise.
22529         * sysdeps/i386/sysdep.h: Likewise.
22530         * sysdeps/i386/i386-mcount.S: Likewise.
22531         * sysdeps/x86_64/_mcount.S: Likewise.
22532         * sysdeps/x86_64/sysdep.h: Likewise.
22533         * sysdeps/sh/_mcount.S: Likewise.
22534         * sysdeps/sh/sysdep.h: Likewise.
22535         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
22536         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
22537         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
22538         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
22539         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
22540         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
22541         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
22542         * locale/localeinfo.h: Likewise.
22543         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
22544         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
22546 2012-07-09  Roland McGrath  <roland@hack.frob.com>
22548         [BZ #14336]
22549         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
22550         system".
22551         * manual/message.texi (The Uniforum approach): Likewise.
22552         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
22553         (glibc iconv Implementation): Likewise.
22555 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
22557         [BZ #14337]
22558         * math/s_clog.c (__clog): Avoid scaling a value down where that
22559         could result in underflow.
22560         * math/s_clog10.c (__clog10): Likewise.
22561         * math/s_clog10f.c (__clog10f): Likewise.
22562         * math/s_clog10l.c (__clog10l): Likewise.
22563         * math/s_clogf.c (__clogf): Likewise.
22564         * math/s_clogl.c (__clogl): Likewise.
22565         * math/libm-test.inc (clog_test): Add more tests.
22566         (clog10_test): Likewise.
22567         * sysdeps/i386/fpu/libm-test-ulps: Update.
22568         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22570 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
22572         [BZ #14283]
22573         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
22574         by 7 not 8 to examine high bit of fractional part.
22576         [BZ #14042]
22577         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
22578         for call to __mcount_internal.
22579         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
22580         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
22581         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
22583 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
22585         [BZ #14154]
22586         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
22587         approximation for values within 0x1p-13f of an odd multiple of
22588         pi/4.
22589         * math/libm-test.inc (tan_test): Do not allow spurious underflow
22590         exception.  Add more tests.
22591         * sysdeps/i386/fpu/libm-test-ulps: Update.
22593         [BZ #6778]
22594         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
22595         inputs and return -1 for them.  Do not check for +Inf in case not
22596         reachable for +Inf.
22597         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
22598         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
22599         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
22600         and return -1 for them.  Do not check for +Inf in case not
22601         reachable for +Inf.
22602         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
22603         define.
22604         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
22605         and return -1 for them.  Do not check for +Inf in case not
22606         reachable for +Inf.
22607         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
22608         spurious underflow.
22609         * sysdeps/i386/fpu/libm-test-ulps: Update.
22610         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22612 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
22614         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
22616 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
22618         [BZ #14157]
22619         [BZ #14331]
22620         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
22621         could result in spurious underflow.  Scale down values above
22622         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
22623         * math/s_csqrtf.c (__csqrtf): Likewise.
22624         * math/s_csqrtl.c (__csqrtl): Likewise.
22625         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
22626         spurious underflow.
22627         * sysdeps/i386/fpu/libm-test-ulps: Update.
22628         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22630 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
22632         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
22633         xopen-msg.sed.
22634         * catgets/xopen-msg.awk: New file.
22635         * catgets/xopen-msg.sed: Removed.
22637         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
22638         po2text.sed.
22639         * intl/po2test.awk: New file.
22640         * intl/po2test.sed: Removed.
22642 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
22644         [BZ #14328]
22645         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
22646         or multiply small sinh result by itself.
22647         * math/s_ctanf.c (__ctanf): Likewise.
22648         * math/s_ctanh.c (__ctanh): Likewise.
22649         * math/s_ctanhf.c (__ctanhf): Likewise.
22650         * math/s_ctanhl.c (__ctanhl): Likewise.
22651         * math/s_ctanl.c (__ctanl): Likewise.
22652         * math/libm-test.inc (ctan_test_tonearest): New function.
22653         (ctan_test_towardzero): Likewise.
22654         (ctan_test_downward): Likewise.
22655         (ctan_test_upward): Likewise.
22656         (ctanh_test_tonearest): Likewise.
22657         (ctanh_test_towardzero): Likewise.
22658         (ctanh_test_downward): Likewise.
22659         (ctanh_test_upward): Likewise.
22660         (main): Call these new functions.
22661         * sysdeps/i386/fpu/libm-test-ulps: Update.
22662         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22664 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
22666         * .gitignore: Delete /ports entry.
22668 2012-07-03  Andreas Jaeger  <aj@suse.de>
22670         * po/bg.po: Update from translation team.
22671         * po/cs.po: Likewise.
22672         * po/de.po: Likewise.
22673         * po/hr.po: Likewise.
22674         * po/nl.pl: Likewise.
22675         * po/pl.po: Likewise.
22676         * po/vi.po: Likewise.
22678 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
22680         * Makeconfig [!+link] (+link-before-libc): New variable.
22681         [!+link] (+link-after-libc): Likewise.
22682         [!+link] (+link-tests): Likewise.
22683         [!+link] (+link): Define in terms of $(+link-before-libc) and
22684         $(+link-after-libc).
22685         [!+link-static] (+link-static-before-libc): New variable.
22686         [!+link-static] (+link-static-after-libc): Likewise.
22687         [!+link-static] (+link-static-tests): Likewise.
22688         [!+link-static] (+link-static): Define in terms of
22689         $(+link-static-before-libc) and $(+link-static-after-libc).
22690         [build-shared] (link-libc-before-gnulib): New variable.
22691         [build-shared] (link-libc-tests): Likewise.
22692         [build-shared] (link-libc): Define in terms of
22693         $(link-libc-before-gnulib).
22694         [!build-shared] (link-libc-tests): New variable.
22695         (link-libc-static-tests): New variable.
22696         [!gnulib] (gnulib-arch): New variable.
22697         [!gnulib] (gnulib-tests): Likewise.
22698         [!gnulib] (static-gnulib-arch): Likewise.
22699         [!gnulib] (static-gnulib-tests): Likewise.
22700         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
22701         Define with "=" instead of ":=".
22702         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
22703         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
22704         * Rules (binaries-all-notests): New variable.
22705         (binaries-all-tests): Likewise.
22706         (binaries-static-notests): Likewise.
22707         (binaries-static-tests): Likewise.
22708         (binaries-all): Define using $(binaries-all-notests) and
22709         $(binaries-all-tests).
22710         (binaries-static): Define using $(binaries-static-notests) and
22711         $(binaries-static-tests).
22712         (binaries-shared-tests): New variable.
22713         (binaries-shared-notests): Likewise.
22714         (binaries-shared): Remove variable.
22715         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
22716         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
22717         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
22718         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
22719         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
22720         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
22721         * elf/Makefile (sln-modules): New variable.
22722         (extra-objs): Add $(sln-modules:=.o).
22723         (ldconfig-modules): Add static-stubs.
22724         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
22725         * elf/static-stubs.c: New file.
22727         [BZ #14283]
22728         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
22729         by 7 not 8 to examine high bit of fractional part.  Use volatile
22730         variables when splitting into final array of floats if
22731         __FLT_EVAL_METHOD__ != 0.
22732         * math/libm-test.inc (cos_test): Add another test.
22733         (sin_test): Likewise.
22734         * sysdeps/i386/fpu/libm-test-ulps: Update.
22736         [BZ #14273]
22737         * math/libm-test.inc (cosh_test): Add more tests.
22739         * version.h (RELEASE): Set to "development".
22740         (VERSION): Set to "2.16.90".
22742 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
22744         * NEWS: Update copyright. Remove last-updated date.
22745         Mention math library bug fixes and timezone data changes.
22746         * README: Mention GNU/Hurd, x32, and HPPA support status.
22748 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
22750         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
22752 2012-06-27  Andreas Jaeger  <aj@suse.de>
22754         * manual/contrib.texi (Contributors): Add Samuel Thibault.
22756 2012-06-25  Andreas Jaeger  <aj@suse.de>
22758         * sysdeps/s390/fpu/libm-test-ulps: Update.
22760 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
22761             Thomas Schwinge  <thomas@codesourcery.com>
22763         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
22764         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
22765         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
22766         fanotify_mark.
22768 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
22770         * sysdeps/mach/start.c: Remove file.
22771         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
22772         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
22773         * sysdeps/sh/init-first.c: Likewise.
22775         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
22776         registers for frame unwinding purposes, add CFI directives.
22777         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
22778         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
22779         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
22780         Likewise.
22782         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
22783         __fortify_fail returning.
22784         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
22786         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
22787         sysdeps/sh/____longjmp_chk.S.
22788         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
22789         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
22790         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
22791         (gen-as-const-headers): Append sigaltstack-offsets.sym.
22793         * sysdeps/sh/abort-instr.h: New file.
22794         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
22795         process in case exit returns.
22797         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
22798         initialize the GOT register before use.
22800         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
22801         calculation of ARGC > 4.
22803         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
22804         meaningful names to some local labels.
22806 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
22807             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
22809         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
22810         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
22811         (__arch_compare_and_exchange_val_16_acq): Likewise.
22812         (__arch_compare_and_exchange_val_32_acq): Likewise.
22813         (atomic_exchange_and_add): Fix gUSA sequence.
22814         (atomic_add): Likewise.
22815         (atomic_add_negative): Likewise.
22816         (atomic_add_zero): Likewise.
22817         (atomic_bit_test_set): Likewise.
22819 2012-06-22  Andreas Schwab  <schwab@redhat.com>
22821         [BZ #13579]
22822         * include/link.h (struct link_map): Add l_free_initfini.
22823         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
22824         l_initfini.
22825         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
22826         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
22827         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
22828         set.
22830 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
22832         * configure.in: Use AC_LANG_SOURCE.
22833         * configure: Regenerate.
22835 2012-06-22  Roland McGrath  <roland@hack.frob.com>
22837         * configure.in (libc_cv_localstatedir): New substituted variable.
22838         * configure: Regenerated.
22839         * config.make.in (localstatedir): New variable, substituted from
22840         libc_cv_localstatedir.
22841         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
22842         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
22843         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
22844         * sysdeps/gnu/configure: Regenerated.
22846 2012-06-21  Jeff Law  <law@redhat.com>
22848         [BZ #14277]
22849         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
22850         free.  Simplify list management for _LIBC case.
22852 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
22854         [BZ #14273]
22855         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
22856         Clear sign bit of 64-bit integer value before comparing against
22857         overflow value.
22859         * sysdeps/mach/configure: Regenerated.
22861 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
22863         [BZ #14278]
22864         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
22866 2012-06-21  Jeff Law  <law@redhat.com>
22868         [BZ #13882]
22869         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
22870         uint16_t for elements in the "seen" array to avoid char overflows.
22871         * elf/dl-fini.c (_dl_sort_fini): Likewise.
22872         * elf/dl-open.c (dl_open_worker): Likewise.
22874 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
22876         * scripts/list-sources.sh: Scan PORTS for translations.
22877         * po/libc.pot: Regenerated.
22879 2012-06-21  Andreas Jaeger  <aj@suse.de>
22881         [BZ #12194]
22882         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
22883         warning.
22884         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
22885         * bits/byteswap-16.h (__bswap_16): Likewise.
22886         * bits/byteswap.h (__bswap_constant_16): Likewise.
22888 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
22890         [BZ #14117]
22891         * sysdeps/i386/fpu_control.h: Removed.
22892         * sysdeps/x86_64/fpu_control.h: Moved to ...
22893         * sysdeps/x86/fpu_control.h: Here.
22895         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
22896         (_FPU_SETCW): Likewise.
22898 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
22900         [BZ #14117]
22901         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
22902         * sysdeps/x86/fpu/bits/mathinline.h: This.
22903         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
22905         [BZ #14050]
22906         [BZ #14117]
22907         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
22908         functions if __x86_64__ is defined.
22910 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
22912         * string/endian.h: Add !__ASSEMBLER__ condition for including
22913         conversion interfaces.
22915 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
22917         [BZ #14241]
22918         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
22919         of ABS(x) in calculating zero to negative powers other than odd
22920         integers.
22921         * math/libm-test.inc (pow_test): Add more tests.
22923 2012-06-15  Andreas Jaeger  <aj@suse.de>
22925         * manual/contrib.texi (Contributors): Update entry of Liubov
22926         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
22927         Machado Filho.
22929 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
22931         * string/string.h: Add __wur to GNU version of strerror_r.
22933 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
22935         [BZ #14229]
22936         * string/Makefile (tests): Add tst-strtok_r.
22937         * string/tst-strtok_r.c: New file.
22938         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
22939         RAX_LP/RDX_LP on SAVE_PTR.
22941 2012-06-14  Roland McGrath  <roland@hack.frob.com>
22943         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
22945 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
22947         * libm_test.inc (csqrt_test): Allow more spurious underflow
22948         exceptions.
22949         (j0_test): Likewise.
22950         (j1_test): Likewise.
22951         (y0_test): Likewise.
22952         (y1_test): Likewise.
22954 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
22956         * po/Makefile (libc.pot): Use UTF-8 charset.
22958 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
22960         [BZ #14210]
22961         Suppress sign-conversion warning from FD_SET.
22962         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
22963         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
22964         not unsigned long int.
22965         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
22967 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
22969         [BZ #14050]
22970         [BZ #14117]
22971         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
22972         __extern_always_inline instead of __extern_inline.
22973         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
22974         (__signbit): Likewise.
22975         (__signbitl): Support C++ namespace.
22976         (lrintf): New inline function.
22977         (lrint): Likewise.
22978         (llrintf): Likewise.
22979         (llrint): Likewise.
22980         (fmaxf): Likewise.
22981         (fmax): Likewise.
22982         (fminf): Likewise.
22983         (fmin): Likewise.
22984         (rint): Likewise.
22985         (rintf): Likewise.
22986         (ceil): Likewise.
22987         (ceilf): Likewise.
22988         (floor): Likewise.
22989         (floorf): Likewise.
22990         (nearbyint): Likewise.
22991         (nearbyintf): Likewise.
22993 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
22995         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
22996         non-default versions.
22998 2012-06-11  Roland McGrath  <roland@hack.frob.com>
23000         [BZ #14218]
23001         * manual/argp.texi (Argp): Reword argp_parse description slightly.
23003 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
23005         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
23006         (FE_UPWARD, FE_DOWNWARD): Don't define.
23007         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
23008         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
23010         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
23011         reading it.
23012         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
23013         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
23015 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
23017         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
23018         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
23019         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
23020         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
23022 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
23024         [BZ #14117]
23025         * sysdeps/i386/fpu/bits/fenv.h: Removed.
23026         * sysdeps/i386/fpu/Implies: New file.
23027         * sysdeps/x86_64/fpu/Implies: Likewise.
23028         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
23029         * sysdeps/x86/fpu/bits/fenv.h: This.
23031         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
23032         __SSE_MATH__.
23034 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
23036         [BZ #14134]
23037         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
23038         character 0xffff that matches the last element of the
23039         conversion table.
23041 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23043         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
23044         fmodl commit.
23046 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23048         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
23049         values higher than 25.6283.
23051 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23053         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
23054         subnormal exponent extraction and add some __builtin_expect.
23055         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
23056         Fix for subnormal mantissa calculation.
23058 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
23060         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
23061         cpu2 is -1 and errno is not ENOSYS.
23063 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
23065         [BZ #14117]
23066         * sysdeps/i386/i486/bits/string.h: Renamed to ...
23067         * sysdeps/x86/bits/string.h: This.
23068         * sysdeps/x86_64/bits/string.h: Removed.
23070         * sysdeps/i386/i486/bits/string.h: Define inline functions only
23071         if not compiling for x86-64, but compiling for >= i486.
23073         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
23074         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
23076         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
23077         New macro from Linux kernel 3.4.0.
23078         (FP_XSTATE_MAGIC2): Likewise.
23079         (FP_XSTATE_MAGIC2_SIZE): Likewise.
23080         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
23081         (struct _fpx_sw_bytes): New struct.
23082         (struct _xsave_hdr): Likewise.
23083         (struct _ymmh_state): Likewise.
23084         (struct _xstate): Likewise.
23086         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
23087         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
23088         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
23089         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
23090         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
23091         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
23093         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
23094         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
23095         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
23096         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
23097         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
23098         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
23100 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
23102         [BZ #13743]
23103         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
23104         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
23105         (sysdep_headers): Include sys/platform/ppc.h.
23106         * sysdeps/powerpc/test-gettimebase.c: Test for
23107         __ppc_get_timebase() to catch future ISA opcode/insn changes.
23108         * manual/Makefile (appendices): Include platform.texi.
23109         * manual/contrib.texi (Contributors): Update @node pointers.
23110         * manual/maint.texi (Maintenance): Likewise.
23111         (Platform): New node.
23112         * manual/platform.texi: New file.  Document the new features.
23114 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
23115             Jakub Jelinek  <jakub@redhat.com>
23117         [BZ #14188]
23118         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
23119         where __builtin_expect is unavailable.
23121 2012-06-03  David S. Miller  <davem@davemloft.net>
23123         * stdlib/longlong.h: Updated from GCC.
23125 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
23127         [BZ #14042]
23128         * sysdeps/powerpc/powerpc32/mcount.c: New file.
23129         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
23130         __mcount_internal.
23131         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
23132         (GLIBC_2.16): Likewise.
23134 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
23136         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
23138 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
23140         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
23141         (default-abi): New variable.
23142         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
23143         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
23144         variable.
23145         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
23146         Likewise.
23147         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
23148         Likewise.
23149         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
23150         Likewise.
23152         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
23153         definition.  Document in comment.
23155 2012-06-01  David S. Miller  <davem@davemloft.net>
23157         * stdlib/longlong.h: Updated from GCC.
23159 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
23161         [BZ #14117]
23162         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
23163         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
23164         sys/debugreg.h sys/io.h here.
23165         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
23166         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
23167         sys/io.h.
23168         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
23169         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
23170         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
23171         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
23172         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
23173         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
23175         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
23176         Define only if __x86_64__ is defined.
23178 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
23180         [BZ #14048]
23181         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
23182         Use int64_t for variable i.
23183         * math/libm-test.inc (fmod_test): Add more tests.
23185         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
23186         z computation is not scheduled after fetestexcept.
23187         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
23188         Use math_force_eval instead of asm to ensure calculation scheduled
23189         before exception test.
23190         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
23191         Ensure a1 + u.d computation is not scheduled after fetestexcept.
23193 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
23195         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
23196         computation is not scheduled after fetestexcept.
23198 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
23200         [BZ #14117]
23201         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
23202         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
23204 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23206         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
23207         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
23209 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
23211         [BZ #14117]
23212         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
23213         <bits/wordsize.h>.
23214         (__WCHAR_MIN): Support __WORDSIZE == 64.
23215         (__WCHAR_MAX): Likewise.
23217         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
23218         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
23220         [BZ #14183]
23221         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
23222         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
23224         [BZ #14117]
23225         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
23226         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
23228         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
23229         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
23231         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
23232         Defined to 1 if __x86_64__ isn't defined.
23233         (_STAT_VER_LINUX_OLD): New.
23234         (st_atime): Remove duplicate.
23235         (st_mtime): Likewise.
23236         (st_ctime): Likewise.
23238 2012-05-31  David S. Miller  <davem@davemloft.net>
23240         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
23241         entries.
23243 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
23245         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
23246         gen-libm-test.pl.
23248         [BZ #14132]
23249         * elf/dl-reloc.c: Include <_itoa.h>.
23250         (_dl_reloc_bad_type): Remove use of INTUSE.
23251         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
23252         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
23253         * stdio-common/psiginfo.c (psiginfo): Likewise.
23254         * stdio-common/psignal.c (psignal): Likewise.
23255         * string/strsignal.c (strsignal): Likewise.
23256         * include/signal.h (_sys_siglist): Declare hidden proto.
23257         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
23258         INTVARDEF with libc_hidden_data_def.
23259         * stdio-common/itoa-udigits.c: Likewise.
23260         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
23261         (_itoa_lower_digits_internal): Remove declaration.
23262         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
23263         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
23264         (_sys_sigabbrev_internal): Remove aliases.
23265         (_sys_siglist): Define hidden alias.
23267 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
23269         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
23270         bits/sysctl.h.
23272 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
23274         [BZ #14117]
23275         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
23276         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
23278         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
23279         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
23280         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
23281         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
23282         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
23283         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
23285         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
23286         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
23287         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
23289         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
23290         with __addr.
23291         (insw): Likewise.
23292         (insl): Likewise.
23293         (outsb): Likewise.
23294         (outsw): Likewise.
23295         (outsl): Likewise.
23297         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
23298         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
23299         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
23301         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
23302         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
23303         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
23304         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
23305         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
23306         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
23308         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
23309         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
23311         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
23312         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
23314         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
23315         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
23316         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
23318         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
23319         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
23320         to ...
23321         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
23323         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
23324         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
23325         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
23327         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
23328         for x86-64.
23329         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
23331 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
23333         * math/math.h (M_El): Use two more decimal places.
23334         (M_LOG2El): Likewise.
23335         (M_LOG10El): Likewise.
23336         (M_LN2l): Likewise.
23337         (M_LN10l): Likewise.
23338         (M_PIl): Likewise.
23339         (M_PI_2l): Likewise.
23340         (M_PI_4l): Likewise.
23341         (M_1_PIl): Likewise.
23342         (M_2_PIl): Likewise.
23343         (M_2_SQRTPIl): Likewise.
23344         (M_SQRT2l): Likewise.
23345         (M_SQRT1_2l): Likewise.
23347 2012-05-31  David S. Miller  <davem@davemloft.net>
23349         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
23350         values between float registers.
23351         * sysdeps/sparc/sparc64/memset.S: Likewise.
23352         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
23354 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
23356         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
23357         -D_FORTIFY_SOURCE=1.
23358         (CPPFLAGS-tst-longjmp_chk.c): Define.
23359         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
23360         (CPPFLAGS-tst-longjmp_chk2.c): Define.
23361         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
23362         CFLAGS-tst-wchar-h.c.
23364 2012-05-31  Marek Polacek  <polacek@redhat.com>
23366         [BZ #14132]
23367         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
23368         __endmntent_internal): Remove declaration.
23369         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
23370         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
23371         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
23373 2012-05-30  David S. Miller  <davem@davemloft.net>
23375         * sysdeps/sparc/sparc32/soft-fp/q_util.c
23376         (___Q_simulate_exceptions): Use real FP ops rather than writing
23377         into the %fsr.
23378         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
23379         Likewise.
23381 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
23383         [BZ #14117]
23384         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
23385         * sysdeps/x86/bits/xtitypes.h: This.
23387         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
23388         * sysdeps/x86/bits/wordsize.h: This.
23390         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
23391         * sysdeps/x86/bits/huge_vall.h: This.
23393         * sysdeps/i386/bits/select.h: Removed.
23394         * sysdeps/x86_64/bits/select.h: Renamed to ...
23395         * sysdeps/x86/bits/select.h: This.
23397         * sysdeps/i386/bits/setjmp.h: Removed.
23398         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
23399         * sysdeps/x86/bits/setjmp.h: This.
23401         * sysdeps/i386/bits/mathdef.h: Removed.
23402         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
23403         * sysdeps/x86/bits/mathdef.h: This.
23405 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
23407         [BZ #14132]
23408         * include/sys/socket.h (__connect_internal)
23409         (__libc_sa_len_internal): Remove declaration.
23410         (__connect, __libc_sa_len): Declare hidden_proto.
23411         (SA_LEN): Remove use of INTUSE.
23412         * socket/connect.c: Add libc_hidden_def.
23413         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
23414         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
23415         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
23416         alias.
23417         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
23418         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
23419         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
23420         of adding _internal alias.
23422 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
23424         [BZ #14117]
23425         * sysdeps/i386/bits/link.h: Removed.
23426         * sysdeps/i386/bits/linkmap.h: Likewise.
23427         * sysdeps/x86_64/bits/link.h: Renamed to ...
23428         * sysdeps/x86/bits/link.h: This.
23429         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
23430         * sysdeps/x86/bits/linkmap.h: This.
23432         * sysdeps/i386/bits/endian.h: Removed.
23433         * sysdeps/x86_64/bits/endian.h: Renamed to ...
23434         * sysdeps/x86/bits/endian.h: This.
23436         * sysdeps/i386/bits/byteswap.h: Removed.
23437         * sysdeps/i386/bits/byteswap-16.h: Likewise.
23438         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
23439         * sysdeps/x86/bits/byteswap.h: This.
23440         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
23441         * sysdeps/x86/bits/byteswap-16.h: This.
23442         * sysdeps/i386/Implies: Add x86.
23443         * sysdeps/x86_64/Implies: Likewise.
23445 2012-05-30  David S. Miller  <davem@davemloft.net>
23447         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
23448         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
23449         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
23450         (FP_TRAPPING_EXCEPTIONS): Define.
23451         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
23452         (FP_TRAPPING_EXCEPTIONS): Define.
23453         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
23454         subnormals only when inexact has been signalled or underflow
23455         exceptions are enabled.
23456         (_FP_PACK_CANONICAL): Likewise.
23458 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
23460         [BZ #14183]
23461         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
23462         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
23464 2012-05-30  Richard Henderson  <rth@twiddle.net>
23466         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
23467         with #ifndef NOT_IN_libc.
23469         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
23470         marked to avoid plt entry.
23472 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
23474         [BZ #14112]
23475         * Makeconfig (default-abi): New macro.
23476         (abi-includes): Likewise.
23477         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
23478         $(abi-$(default-abi)-lib-soname) for soname if defined.
23479         ($(common-objpfx)gnu/lib-names.stmp): Generate from
23480         abi-variants.
23481         * Makefile (installed-stubs): Likewise.
23482         * include/stubs-biarch.h: Removed.
23483         * scripts/lib-names.awk: Only handle one library at a time.
23484         * scripts/soversions.awk: Remove WORDSIZE support.
23485         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
23486         entries.
23487         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
23488         Removed.
23489         (syscall-list-default-condition): Likewise.
23490         (syscall-list-default-condition): Likewise.
23491         (syscall-list-includes): Likewise.
23492         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
23493         syscall-list-* with abi-*.  Handle undefined abi-variants.
23494         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
23495         * sysdeps/unix/sysv/linux/i386/Implies: New file.
23496         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
23497         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
23498         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
23499         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
23500         Removed.
23501         (syscall-list-32-options): Likewise.
23502         (syscall-list-32-condition): Likewise.
23503         (syscall-list-64-options): Likewise.
23504         (syscall-list-64-condition): Likewise.
23505         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
23506         macro.
23507         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
23508         Renamed to ...
23509         (abi-*): This.
23510         (abi-64-ld-soname): New macro.
23511         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
23512         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
23513         Renamed to ...
23514         (abi-*): This.
23515         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
23516         * sysdeps/x86_64/x32/shlib-versions: Likewise.
23518 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
23520         * sysdeps/unix/sysv/linux/kernel-features.h
23521         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
23522         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
23523         include <kernel-features.h>.
23524         [!__NR_ftruncate64]: Remove conditional code.
23525         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
23526         [__NR_ftruncate64]: Make code unconditional.
23527         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
23528         * sysdeps/unix/sysv/linux/truncate64.c: Do not
23529         include <kernel-features.h>.
23530         [!__NR_ftruncate64]: Remove conditional code.
23531         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
23532         [__NR_ftruncate64]: Make code unconditional.
23533         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
23534         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
23535         include <kernel-features.h>.
23536         [!__NR_ftruncate64]: Remove conditional code.
23537         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
23538         [__NR_ftruncate64]: Make code unconditional.
23539         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
23540         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
23541         include <kernel-features.h>.
23542         [!__NR_ftruncate64]: Remove conditional code.
23543         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
23544         [__NR_ftruncate64]: Make code unconditional.
23545         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
23547         * configure.in (libc_cv_fpie): Weaken to a compile test using
23548         LIBC_TRY_CC_OPTION.
23549         * configure: Regenerated.
23551 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
23553         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
23554         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
23555         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
23556         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
23557         Refreshed.
23558         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
23559         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
23560         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
23561         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
23562         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
23563         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
23564         Refreshed.
23566 2012-05-27  David S. Miller  <davem@davemloft.net>
23568         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
23569         (___Q_zero): New.
23570         (__Q_simulate_exceptions): Return void.  Change to simulate
23571         exceptions by writing into the %fsr.
23572         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
23573         (__Qp_handle_exceptions): Likewise.
23574         (numbers): Delete.
23575         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
23576         __Qp_handle_exceptions.
23577         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
23578         __Qp_handle_exceptions.
23579         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
23580         as unused and give dummy FP_RND_NEAREST initializer.
23581         (FP_INHIBIT_RESULTS): Define.
23582         (___Q_simulate_exceptions): Update declaration.
23583         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
23584         formatting.
23585         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
23586         as unused and give dummy FP_RND_NEAREST initializer.
23587         (__Qp_handle_exceptions): Update declaration.
23588         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
23589         formatting.
23591 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
23593         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
23594         the temporary FPU control word.
23595         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
23596         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
23597         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
23598         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
23599         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
23600         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
23601         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
23602         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
23603         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
23604         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
23605         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
23607 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
23609         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
23610         fields.
23612 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
23614         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
23615         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
23616         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
23617         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
23618         Likewise.
23619         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
23620         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
23621         Likewise.
23623 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
23625         * po/h.po: Update from translation team.
23627 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
23629         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
23631         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
23632         handling of denormals.
23633         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
23634         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
23635         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
23636         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
23637         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
23638         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
23639         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
23640         Likewise.
23642 2012-05-26  Marek Polacek  <polacek@redhat.com>
23644         [BZ #14152]
23645         * math/libm-test.inc (fma_test): Don't always expect underflow
23646         exception.
23648 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
23650         [BZ #12416]
23651         * elf/tst-execstack.c: Include stackinfo.h.
23652         (do_test): Adjust test case to ensure that pthread_getattr_np
23653         behaviour remains the same after marking stack executable.
23655 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
23657         * sysdeps/unix/sysv/linux/kernel-features.h
23658         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
23659         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
23660         kernel-features.h.
23661         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
23662         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
23663         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
23664         kernel-features.h.
23665         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
23666         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
23668 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
23670         * configure.in: Define the default includes to being none.
23671         * configure: Regenerated.
23673 2012-05-25  Roland McGrath  <roland@hack.frob.com>
23675         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
23676         * sysdeps/x86_64/setjmp.S: Likewise.
23677         * sysdeps/i386/bsd-setjmp.S: Likewise.
23678         * sysdeps/i386/bsd-_setjmp.S: Likewise.
23679         * sysdeps/i386/setjmp.S: Likewise.
23680         * sysdeps/i386/__longjmp.S: Likewise.
23681         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
23682         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
23684         * include/stap-probe.h: New file.
23685         * configure.in: Handle --enable-systemtap.
23686         * configure: Regenerated.
23687         * config.h.in (USE_STAP_PROBE): New #undef.
23688         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
23689         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
23690         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
23692 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
23694         [BZ #13717]
23695         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
23696         to 2.4.0 where earlier.
23697         * sysdeps/unix/sysv/linux/configure: Regenerated.
23698         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
23699         <kernel-features.h>.
23700         [__ASSUME_32BITUIDS]: Make code unconditional.
23701         [!__ASSUME_32BITUIDS]: Remove conditional code.
23702         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
23703         <kernel-features.h>.
23704         [__ASSUME_32BITUIDS]: Make code unconditional.
23705         [!__ASSUME_32BITUIDS]: Remove conditional code.
23706         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
23707         [__ASSUME_32BITUIDS]: Make code unconditional.
23708         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
23709         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
23710         <kernel-features.h>.
23711         [__ASSUME_32BITUIDS]: Make code unconditional.
23712         [!__ASSUME_32BITUIDS]: Remove conditional code.
23713         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
23714         <kernel-features.h>.
23715         [__ASSUME_32BITUIDS]: Make code unconditional.
23716         [!__ASSUME_32BITUIDS]: Remove conditional code.
23717         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
23718         <kernel-features.h>.
23719         [__ASSUME_32BITUIDS]: Make code unconditional.
23720         [!__ASSUME_32BITUIDS]: Remove conditional code.
23721         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
23722         <kernel-features.h>.
23723         [__ASSUME_32BITUIDS]: Make code unconditional.
23724         [!__ASSUME_32BITUIDS]: Remove conditional code.
23725         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
23726         <kernel-features.h>.
23727         [__ASSUME_32BITUIDS]: Make code unconditional.
23728         [!__ASSUME_32BITUIDS]: Remove conditional code.
23729         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
23730         <kernel-features.h>.
23731         [__ASSUME_32BITUIDS]: Make code unconditional.
23732         [!__ASSUME_32BITUIDS]: Remove conditional code.
23733         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
23734         <kernel-features.h>.
23735         [__ASSUME_32BITUIDS]: Make code unconditional.
23736         [!__ASSUME_32BITUIDS]: Remove conditional code.
23737         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
23738         <kernel-features.h>.
23739         [__ASSUME_32BITUIDS]: Make code unconditional.
23740         [!__ASSUME_32BITUIDS]: Remove conditional code.
23741         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
23742         <kernel-features.h>.
23743         [__ASSUME_32BITUIDS]: Make code unconditional.
23744         [!__ASSUME_32BITUIDS]: Remove conditional code.
23745         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
23746         <kernel-features.h>.
23747         [__ASSUME_32BITUIDS]: Make code unconditional.
23748         [!__ASSUME_32BITUIDS]: Remove conditional code.
23749         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
23750         <kernel-features.h>.
23751         [__NR_setresgid] (__setresgid): Do not declare.
23752         [__ASSUME_32BITUIDS]: Make code unconditional.
23753         [!__ASSUME_32BITUIDS]: Remove conditional code.
23754         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
23755         <kernel-features.h>.
23756         [__NR_setresuid] (__setresuid): Do not declare.
23757         [__ASSUME_32BITUIDS]: Make code unconditional.
23758         [!__ASSUME_32BITUIDS]: Remove conditional code.
23759         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
23760         <kernel-features.h>.
23761         [__ASSUME_32BITUIDS]: Make code unconditional.
23762         [!__ASSUME_32BITUIDS]: Remove conditional code.
23763         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
23764         <kernel-features.h>.
23765         [__ASSUME_32BITUIDS]: Make code unconditional.
23766         [!__ASSUME_32BITUIDS]: Remove conditional code.
23767         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
23768         <kernel-features.h>.
23769         [__ASSUME_32BITUIDS]: Make code unconditional.
23770         [!__ASSUME_32BITUIDS]: Remove conditional code.
23771         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
23772         <kernel-features.h>.
23773         [__ASSUME_32BITUIDS]: Make code unconditional.
23774         [!__ASSUME_32BITUIDS]: Remove conditional code.
23775         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
23776         <kernel-features.h>.
23777         [__ASSUME_32BITUIDS]: Make code unconditional.
23778         [!__ASSUME_32BITUIDS]: Remove conditional code.
23779         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
23780         <kernel-features.h>.
23781         [__ASSUME_32BITUIDS]: Make code unconditional.
23782         [!__ASSUME_32BITUIDS]: Remove conditional code.
23783         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
23784         <kernel-features.h>.
23785         [__ASSUME_32BITUIDS]: Make code unconditional.
23786         [!__ASSUME_32BITUIDS]: Remove conditional code.
23787         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
23788         <kernel-features.h>.
23789         [__ASSUME_32BITUIDS]: Make code unconditional.
23790         [!__ASSUME_32BITUIDS]: Remove conditional code.
23791         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
23792         <kernel-features.h>.
23793         [__ASSUME_32BITUIDS]: Make code unconditional.
23794         [!__ASSUME_32BITUIDS]: Remove conditional code.
23795         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
23796         <kernel-features.h>.
23797         [__ASSUME_32BITUIDS]: Make code unconditional.
23798         [!__ASSUME_32BITUIDS]: Remove conditional code.
23799         * sysdeps/unix/sysv/linux/kernel-features.h
23800         (__ASSUME_SETRESUID_SYSCALL): Remove.
23801         (__ASSUME_SETRESGID_SYSCALL): Likewise.
23802         (__ASSUME_32BITUIDS): Likewise.
23803         (__ASSUME_LDT_WORKS): Likewise.
23804         (__ASSUME_O_DIRECTORY): Likewise.
23805         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
23806         architecture but not kernel version.
23807         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
23808         (__ASSUME_MMAP2_SYSCALL): Likewise.
23809         (__ASSUME_STAT64_SYSCALL): Likewise.
23810         (__ASSUME_IPC64): Likewise.
23811         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
23812         <kernel-features.h>.
23813         [__ASSUME_32BITUIDS]: Make code unconditional.
23814         [!__ASSUME_32BITUIDS]: Remove conditional code.
23815         * sysdeps/unix/sysv/linux/opendir.c: Do not include
23816         <kernel-features.h>.
23817         [__ASSUME_O_DIRECTORY]: Make code unconditional.
23818         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
23819         132096]: Remove conditional code.
23820         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
23821         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
23822         <kernel-features.h>.
23823         [__ASSUME_32BITUIDS]: Make code unconditional.
23824         [!__ASSUME_32BITUIDS]: Remove conditional code.
23825         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
23826         <kernel-features.h>.
23827         [__ASSUME_32BITUIDS]: Make code unconditional.
23828         [!__ASSUME_32BITUIDS]: Remove conditional code.
23829         * sysdeps/unix/sysv/linux/setegid.c: Do not include
23830         <kernel-features.h>.
23831         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
23832         unconditional.
23833         (__setresgid): Do not declare.
23834         [__ASSUME_32BITUIDS]: Make code unconditional.
23835         [!__ASSUME_32BITUIDS]: Remove conditional code.
23836         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
23837         <kernel-features.h>.
23838         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
23839         unconditional.
23840         (__setresuid): Do not declare.
23841         [__ASSUME_32BITUIDS]: Make code unconditional.
23842         [!__ASSUME_32BITUIDS]: Remove conditional code.
23843         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
23844         <kernel-features.h>.
23845         [__ASSUME_32BITUIDS]: Make code unconditional.
23846         [!__ASSUME_32BITUIDS]: Remove conditional code.
23847         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
23848         <kernel-features.h>.
23849         [__ASSUME_32BITUIDS]: Make code unconditional.
23850         [!__ASSUME_32BITUIDS]: Remove conditional code.
23852 2012-05-25  Richard Henderson  <rth@twiddle.net>
23854         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
23855         dl_hwcap to ifunc resolver.
23856         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
23857         elf_ifunc_invoke.
23858         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
23859         dl_hwcap to ifunc resolver.
23860         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
23862 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
23864         [BZ #14153]
23865         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
23866         for |x| <= 2**-26, not 2**-57.
23867         * math/libm-test.inc (acos_test): Do not allow spurious underflow
23868         exception.
23870 2012-05-24  Jeff Law  <law@redhat.com>
23872         * stdio-common/Makefile (tests): Add bug25.
23873         * stdio-common/bug25.c: New test.
23875 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
23877         [BZ #13576]
23878         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
23879         multiple of MALLOC_ALIGNMENT in size.
23880         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
23882 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
23884         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
23885         Require >= 256.
23886         (FILENAME_MAX): Use macro-int-constant.
23887         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
23888         (_IOFBF): Use macro-int-constant.
23889         (_IOLBF): Likewise.
23890         (_IONBF): Likewise.
23891         (SEEK_CUR): Likewise.
23892         (SEEK_END): Likewise.
23893         (SEEK_SET): Likewise.
23894         (TMP_MAX): Likewise.
23895         (EOF): Use macro-int-constant.  Require < 0.
23896         (NULL): Use macro-constant.  Require == 0.
23897         (stdin): Require type to be FILE *.
23898         (stdout): Likewise.
23899         (stderr): Likewise.
23900         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
23901         macro-int-constant.
23902         (EXIT_SUCCESS): Likewise.
23903         (NULL): Use macro-constant.  Require == 0.
23904         (RAND_MAX): Use macro-int-constant.
23905         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
23906         [C99-based standards] (strtof): Require function.
23907         [C99-based standards] (strtold): Likewise.
23908         [C99-based standards] (strtoll): Likewise.
23909         [C99-based standards] (strtoull): Likewise.
23910         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
23911         [ISO || ISO99 || ISO11] (limits.h): Likewise.
23912         [ISO || ISO99 || ISO11] (math.h): Likewise.
23913         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
23914         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
23915         [ISO || ISO99 || ISO11] (*_t): Do not allow.
23917 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
23919         [BZ #14132]
23920         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
23921         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
23922         * intl/dgettext.c (DCGETTEXT): Likewise.
23923         * intl/gettext.c (DCGETTEXT): Likewise.
23924         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
23925         * posix/regex_internal.h (gettext): Likewise.
23926         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
23927         Remove declaration.
23928         * include/argz.h (__argz_count_internal)
23929         (__argz_stringify_internal): Remove declaration.
23930         (__argz_count, __argz_stringify): Declare hidden proto.
23931         * intl/dcgettext.c: Remove use of INTDEF.
23932         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
23933         * string/argz-stringify.c: Likewise.
23934         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
23935         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
23936         Declare hidden proto.
23937         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
23938         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
23939         Declare hidden proto.
23940         * include/stdio.h (__asprintf_internal): Don't declare.
23941         (__asprintf): Don't define as macro.  Declare hidden proto.
23942         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
23943         (__fsetlocking): Declare hidden proto.
23944         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
23945         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
23946         hidden proto.
23947         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
23948         (_IO_setlinebuf): Remove use of INTUSE.
23949         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
23950         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
23951         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
23952         Remove declaration.
23953         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
23954         (_IO_do_flush): Remove use of INTUSE.
23955         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
23956         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
23957         (_IO_adjust_column, _IO_least_wmarker)
23958         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
23959         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
23960         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
23961         (_IO_default_doallocate, _IO_wdefault_doallocate)
23962         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
23963         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
23964         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
23965         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
23966         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
23967         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
23968         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
23969         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
23970         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
23971         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
23972         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
23973         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
23974         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
23975         proto.
23976         (_IO_flush_all_internal, _IO_adjust_column_internal)
23977         (_IO_default_uflow_internal, _IO_default_finish_internal)
23978         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
23979         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
23980         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
23981         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
23982         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
23983         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
23984         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
23985         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
23986         (_IO_file_close_internal, _IO_file_close_it_internal)
23987         (_IO_file_underflow_internal, _IO_file_overflow_internal)
23988         (_IO_file_init_internal, _IO_file_attach_internal)
23989         (_IO_file_fopen_internal, _IO_file_read_internal)
23990         (_IO_file_sync_internal, _IO_file_seek_internal)
23991         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
23992         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
23993         (_IO_str_underflow_internal, _IO_str_overflow_internal)
23994         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
23995         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
23996         (_IO_list_all_internal, _IO_link_in_internal)
23997         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
23998         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
23999         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
24000         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
24001         (_IO_do_write_internal, _IO_padn_internal)
24002         (_IO_getline_info_internal, _IO_getline_internal)
24003         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
24004         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
24005         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
24006         (_IO_vfscanf_internal, _IO_vfprintf_internal)
24007         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
24008         (_IO_init_internal, _IO_un_link_internal): Don't declare.
24009         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
24010         with libc_hidden_ver, remove use of INTUSE.
24011         * libio/genops.c: Likewise.
24012         * libio/freopen.c: Likewise.
24013         * libio/freopen64.c: Likewise.
24014         * libio/iofclose.c: Likewise.
24015         * libio/iofdopen.c: Likewise.
24016         * libio/iofflush.c: Likewise.
24017         * libio/iofflush_u.c: Likewise.
24018         * libio/iofgets.c: Likewise.
24019         * libio/iofgets_u.c: Likewise.
24020         * libio/iofopen.c: Likewise.
24021         * libio/iofopncook.c: Likewise.
24022         * libio/iofread.c: Likewise.
24023         * libio/iofread_u.c: Likewise.
24024         * libio/ioftell.c: Likewise.
24025         * libio/iofwrite.c: Likewise.
24026         * libio/iogetline.c: Likewise.
24027         * libio/iogets.c: Likewise.
24028         * libio/iogetwline.c: Likewise.
24029         * libio/iopadn.c: Likewise.
24030         * libio/iopopen.c: Likewise.
24031         * libio/ioseekoff.c: Likewise.
24032         * libio/ioseekpos.c: Likewise.
24033         * libio/iosetbuffer.c: Likewise.
24034         * libio/iosetvbuf.c: Likewise.
24035         * libio/ioungetc.c: Likewise.
24036         * libio/ioungetwc.c: Likewise.
24037         * libio/iovdprintf.c: Likewise.
24038         * libio/iovsprintf.c: Likewise.
24039         * libio/iovsscanf.c: Likewise.
24040         * libio/memstream.c: Likewise.
24041         * libio/obprintf.c: Likewise.
24042         * libio/oldfileops.c: Likewise.
24043         * libio/oldiofclose.c: Likewise.
24044         * libio/oldiofdopen.c: Likewise.
24045         * libio/oldiofopen.c: Likewise.
24046         * libio/oldiopopen.c: Likewise.
24047         * libio/oldstdfiles.c: Likewise.
24048         * libio/putc.c: Likewise.
24049         * libio/setbuf.c: Likewise.
24050         * libio/setlinebuf.c: Likewise.
24051         * libio/stdfiles.c: Likewise.
24052         * libio/strops.c: Likewise.
24053         * libio/vasprintf.c: Likewise.
24054         * libio/vscanf.c: Likewise.
24055         * libio/vsnprintf.c: Likewise.
24056         * libio/vswprintf.c: Likewise.
24057         * libio/wfiledoalloc.c: Likewise.
24058         * libio/wfileops.c: Likewise.
24059         * libio/wgenops.c: Likewise.
24060         * libio/wmemstream.c: Likewise.
24061         * libio/wstrops.c: Likewise.
24062         * libio/__fpurge.c: Likewise.
24063         * libio/__fsetlocking.c: Likewise.
24064         * assert/assert.c: Likewise.
24065         * debug/fgets_chk.c: Likewise.
24066         * debug/fgets_u_chk.c: Likewise.
24067         * debug/fread_chk.c: Likewise.
24068         * debug/fread_u_chk.c: Likewise.
24069         * debug/gets_chk.c: Likewise.
24070         * debug/obprintf_chk.c: Likewise.
24071         * debug/vasprintf_chk.c: Likewise.
24072         * debug/vdprintf_chk.c: Likewise.
24073         * debug/vsnprintf_chk.c: Likewise.
24074         * debug/vsprintf_chk.c: Likewise.
24075         * malloc/mtrace.c: Likewise.
24076         * misc/error.c: Likewise.
24077         * misc/syslog.c: Likewise.
24078         * stdio-common/asprintf.c: Likewise.
24079         * stdio-common/fxprintf.c: Likewise.
24080         * stdio-common/getw.c: Likewise.
24081         * stdio-common/isoc99_fscanf.c: Likewise.
24082         * stdio-common/isoc99_scanf.c: Likewise.
24083         * stdio-common/isoc99_vfscanf.c: Likewise.
24084         * stdio-common/isoc99_vscanf.c: Likewise.
24085         * stdio-common/isoc99_vsscanf.c: Likewise.
24086         * stdio-common/printf-prs.c: Likewise.
24087         * stdio-common/printf_fp.c: Likewise.
24088         * stdio-common/printf_fphex.c: Likewise.
24089         * stdio-common/printf_size.c: Likewise.
24090         * stdio-common/putw.c: Likewise.
24091         * stdio-common/scanf.c: Likewise.
24092         * stdio-common/sprintf.c: Likewise.
24093         * stdio-common/tmpfile.c: Likewise.
24094         * stdio-common/vfprintf.c: Likewise.
24095         * stdio-common/vfscanf.c: Likewise.
24096         * stdlib/strfmon_l.c: Likewise.
24097         * sunrpc/openchild.c: Likewise.
24098         * sunrpc/xdr_stdio.c: Likewise.
24099         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
24100         * sysdeps/mach/hurd/tmpfile.c: Likewise.
24102 2012-05-24  Roland McGrath  <roland@hack.frob.com>
24104         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
24106         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
24107         in the third column, to generate for the shared library an IFUNC
24108         that uses _dl_vdso_vsym.
24109         * Makerules (COMPILE.c, compile-stdin.c): New variables.
24110         * Makeconfig (object-suffixes-noshared): New variable.
24112         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
24113         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
24114         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
24115         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
24117         [BZ #14132]
24118         * include/sys/time.h (__gettimeofday): Remove macro.
24119         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
24120         * time/gettimeofday.c (__gettimeofday): Remove #undef.
24121         Remove INTDEF.
24122         (__gettimeofday): Add libc_hidden_def.
24123         (gettimeofday): Add libc_hidden_weak.
24124         * sysdeps/mach/gettimeofday.c: Likewise.
24125         * sysdeps/posix/gettimeofday.c: Likewise.
24126         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
24127         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
24128         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
24129         (__gettimeofday_internal): Remove strong_alias.
24130         (__gettimeofday): Add libc_hidden_def.
24131         (gettimeofday): Add libc_hidden_weak.
24132         * sysdeps/unix/syscalls.list (gettimeofday):
24133         Remove __gettimeofday_internal alias.
24135 2012-05-24  Daniel Jacobowitz  <drow@false.org>
24136             H.J. Lu  <hongjiu.lu@intel.com>
24138         [BZ #12495]
24139         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
24140         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
24141         (largebin_index_32_big): New.
24142         (largebin_index): Use it for 16-byte alignment.
24143         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
24144         correction with front_misalign.
24146 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
24148         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
24149         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
24150         Likewise.
24151         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
24152         Likewise.
24153         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
24154         Likewise.
24155         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
24156         Likewise.
24157         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
24158         Likewise.
24159         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
24160         Likewise.
24161         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
24162         Likewise.
24163         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
24164         Likewise.
24165         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
24166         Likewise.
24167         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
24168         Likewise.
24169         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
24170         Likewise.
24171         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
24172         Likewise.
24174         * scripts/data/c++-types-x32-linux-gnu.data: New file.
24175         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
24177 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
24179         [BZ #10846]
24180         [BZ #14036]
24181         * math/libm-test.inc (exp_test): Add test from bug 14036.
24182         (pow_test): Add test from bug 10846.
24184         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
24185         and other flags.
24186         (special_function): Do not include flags in test name.
24187         (parse_args): Likewise.
24188         * sysdeps/i386/fpu/libm-test-ulps: Update.
24189         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
24190         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
24191         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
24192         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24194         * math/gen-libm-test.pl (%beautify): Add entries for underflow
24195         exceptions.
24196         * math/libm-test.inc ("Philosophy"): Update comment about
24197         exception testing.
24198         (UNDERFLOW_EXCEPTION): New macro.
24199         (UNDERFLOW_EXCEPTION_OK): Likewise.
24200         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
24201         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
24202         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
24203         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
24204         (INVALID_EXCEPTION_OK): Update value.
24205         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
24206         (OVERFLOW_EXCEPTION_OK): Likewise.
24207         (IGNORE_ZERO_INF_SIGN): Likewise.
24208         (test_exceptions): Handle underflow exceptions.
24209         (acos_test): Update for underflow exception expectations.
24210         (cexp_test): Likewise.
24211         (clog_test): Likewise.
24212         (clog10_test): Likewise.
24213         (csqrt_test): Likewise.
24214         (ctan_test): Likewise.
24215         (ctanh_test): Likewise.
24216         (exp_test): Likewise.
24217         (exp10_test): Likewise.
24218         (exp2_test): Likewise.
24219         (expm1_test): Likewise.
24220         (fma_test): Likewise.
24221         (j0_test): Likewise.
24222         (jn_test): Likewise.
24223         (nexttoward_test): Likewise.
24224         (pow_test): Likewise.
24225         (scalbn_test): Likewise.
24226         (scalbln_test): Likewise.
24227         (tan_test): Likewise.
24228         (y1_test): Likewise.
24229         * sysdeps/i386/fpu/libm-test-ulps: Update.
24230         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24232 2012-05-23  David S. Miller  <davem@davemloft.net>
24234         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
24235         (__libc_sigaction): Remove unused local variables.
24237 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
24239         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
24241 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
24243         mktime: avoid signed integer overflow
24244         * time/mktime.c (__mktime_internal): Do not mishandle the case
24245         where diff == INT_MIN.
24247         mktime: simplify computation of average
24248         * time/mktime.c (ranged_convert): Use new time_t_avg function
24249         instead of rolling our own (probably-slower) code.
24251         mktime: do not assume signed right shift propagates sign bit
24252         * time/mktime.c (isdst_differ): New static function.
24253         (__mktime_internal): No need to normalize tm_isdst now.
24254         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
24255         tm_isdst values.
24257         mktime: merge another wrapv change from gnulib
24258         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
24259         from some compilers.
24261         mktime: remove incorrect attempt at unusual arithmetics
24262         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
24263         The code didn't really work on such machines anyway.
24264         (TYPE_MINIMUM): Assume two's complement.
24265         (twos_complement_arithmetic): Verify that long_int and time_t
24266         are two's complement (or unsigned, in the latter case).
24268         mktime: check signed shifts on long_int and time_t, too
24269         * time/mktime.c (SHR): Check that shifts work as desired
24270         on the types long_int and time_t too, as SHR is used on
24271         such types.
24273         mktime: do not assume 'long' is wide enough
24274         * time/mktime.c (verify): Move decl up.
24275         (long_int): New type.
24276         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
24277         to remove assumption in the code that 'long' is wide enough to
24278         store year values.  This assumption is not true on x32 and on
24279         some non-glibc platforms.
24281         mktime: merge wrapv change from gnulib
24282         * time/mktime.c (WRAPV): New macro.
24283         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
24284         (guess_time_tm, __mktime_internal): Do not assume that signed
24285         integer overflow wraps around; modern compilers generate code
24286         where this assumption is no longer valid.
24288 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
24290         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
24291         Replace "jmp L(pseudo_end)" with "ret".
24292         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
24293         Likewise.
24295 2012-05-23  Andreas Jaeger  <aj@suse.de>
24297         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
24298         * sysdeps/unix/sysv/linux/poll.c: Remove file.
24300 2012-05-23  Andreas Jaeger  <aj@suse.de>
24301             Maximilian Attems  <max@stro.at>
24303         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
24304         New macros.
24306 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
24308         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
24309         code so that pseudo_end is just ret and the stack pointer is
24310         correct also for static library in error case.
24312 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
24314         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
24315         move to syscalls.list.
24316         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
24317         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
24318         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
24319         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
24321         * manual/install.texi (Running make install): Do not mention Linux
24322         kernel version for which pt_chown is not needed.
24323         (Linux): Do not mention problems with nscd with 2.0 kernels.
24324         * INSTALL: Regenerated.
24326 2012-05-23  Andreas Jaeger  <aj@suse.de>
24328         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
24329         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
24330         macro.
24331         * sysdeps/unix/sysv/linux/s390/bits/mman.h
24332         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
24333         * sysdeps/unix/sysv/linux/sh/bits/mman.h
24334         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
24335         * sysdeps/unix/sysv/linux/i386/bits/mman.h
24336         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
24337         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
24338         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
24339         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
24340         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
24341         * sysdeps/unix/sysv/linux/bits/in.h
24342         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
24344 2012-05-22  Roland McGrath  <roland@hack.frob.com>
24346         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
24347         (PREPARE_VERSION): Just use assert instead, it will be elided
24348         under [NDEBUG] anyway.
24350 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
24352         * sysdeps/unix/sysv/linux/Makefile: Include
24353         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
24354         (sysdep_routines): Remove sysctl.
24355         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
24356         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
24357         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
24358         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
24359         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
24361 2012-05-22  Andreas Jaeger  <aj@suse.de>
24363         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
24364         that pseudo_end is just ret and the stack pointer is correct also
24365         for static library in error case.
24367 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
24369         [BZ #14122]
24370         * nss/nsswitch.c (defconfig_entries): New variable.
24371         (__nss_database_lookup): Don't leak defconfig entries.
24372         (nss_parse_service_list): Don't leak on error paths.
24373         (free_database_entries): New function.
24374         (free_defconfig): New function.
24375         (free_mem): Move common code to free_database_entries.
24377 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
24379         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
24380         Add arch_prctl.
24381         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
24383         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
24384         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
24385         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
24386         New macro.
24387         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
24388         (INTERNAL_SYSCALL_TYPES): Likewise.
24389         (LOAD_ARGS_TYPES_[1-6]): Likewise.
24390         (LOAD_REGS_TYPES_[1-6]): Likewise.
24391         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
24392         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
24394 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24396         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
24397         copysignl for GLIBC_2_0.
24398         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
24399         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
24400         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
24401         logbl for GLIBC_2_0.
24402         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
24403         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
24405 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
24407         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
24408         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
24410         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
24411         Use "neg %eax".
24413         * time/mktime.c: Update copyright years.
24415 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
24417         mktime: merge comment-quoting-style change from gnulib
24418         * time/mktime.c: Quote 'like this' in comments.
24419         The GNU coding standards suggest that we no longer quote `like this',
24420         as "`" and "'" are typically rendered asymmetrically nowadays.
24421         The typical gnulib style is to quote 'like this' when quoting
24422         code, and "like this" when quoting English.
24424         * time/mktime.c (compile-command): Add "-I.".
24426         mktime: merge mktime-internal.h change from gnulib
24427         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
24429         mktime: merge time_r change from gnulib
24430         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
24432         mktime: merge DEBUG change from gnulib
24433         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
24434         case system <time.h> has a #define.
24436         mktime: merge <sys/types.h> change from gnulib
24437         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
24438         since <time.t> is now guaranteed to define time_t.
24440         mktime: merge HAVE_CONFIG_H change from gnulib
24441         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
24443 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
24445         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
24446         Use "neg %eax".
24448         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
24449         __rlim_t cast.
24450         (struct rusage): Use anonymous union to pad each field to
24451         __syscall_slong_t.
24453 2012-05-21  David S. Miller  <davem@davemloft.net>
24455         * Makefules (o-iterator): Remove .s cases.
24456         (compile-command.s): Delete.
24457         (COMPILE.s): Delete.
24458         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
24460 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
24462         * configure.in (libc_cv_predef_stack_protector): Only consider
24463         "foobar" and "__stack_chk_fail" lines in libc_undefs.
24464         * configure: Regenerated.
24466 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
24468         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
24469         New macro.  Use R*LP on int and pointer.
24470         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
24471         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
24472         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
24473         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
24475         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
24476         [__WORDSIZE_TIME64_COMPAT32] instead of
24477         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
24478         (struct utmp): Likewise.
24479         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
24480         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
24481         Renamed to ...
24482         (__WORDSIZE_TIME64_COMPAT32): This.
24483         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
24484         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
24485         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
24486         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
24487         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
24488         (__WORDSIZE_TIME64_COMPAT32): New macro.
24490 2012-05-21  Andreas Jaeger  <aj@suse.de>
24492         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
24493         only if [SHARED]. Add prototype for __wcschr_ia32.
24495 2012-05-21  Roland McGrath  <roland@hack.frob.com>
24497         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
24498         of %rbp unmolested in the jmp_buf while mangling the low bits.
24499         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
24500         unmolested high bits of %rbp while demangling the low bits.
24501         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
24503 2012-05-21  Andreas Jaeger  <aj@suse.de>
24505         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
24506         * sunrpc/svc_simple.c: Use it for registerrpc.
24507         * sunrpc/xcrypt.c: Use it for passwd2des.
24509         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
24511 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
24513         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
24514         Don't define if [__SYSCALL_WORDSIZE != 32].
24515         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
24516         New macro.
24518 2012-05-21  Bruno Haible  <bruno@clisp.org>
24519             Andreas Jaeger  <aj@suse.de>
24521         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
24522         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
24523         inptr and inend for must_buffer_ch.
24524         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
24525         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
24526         * stdio-common/Makefile (tests): Remove bug15.
24527         (bug15-ENV): Remove macro.
24528         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
24529         anymore.
24531 2012-05-19  Andreas Jaeger  <aj@suse.de>
24532             Roland McGrath  <roland@hack.frob.com>
24534         * manual/contrib.texi: Completely rewritten. It contains now an
24535         alphabetical list of contributors and their contributions.
24537 2012-05-21  Richard Henderson  <rth@twiddle.net>
24539         * misc/getauxval.c (__getauxval): Use unsigned long int.
24540         * misc/sys/auxv.h: Include <sys/cdefs.h>.
24541         (getauxval): Use unsigned long int.
24543 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
24545         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
24547 2012-05-21  Roland McGrath  <roland@hack.frob.com>
24549         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
24550         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
24551         __alignof__ (long double).
24553 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24555         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24557 2012-05-20  Richard Henderson  <rth@twiddle.net>
24559         * misc/getauxval.c: New file.
24560         * misc/sys/auxv.h: New file.
24561         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
24562         (routines): Add getauxval.
24563         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
24564         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
24565         * elf/dl-sysdep.c (_dl_auxv): Remove.
24566         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
24567         * elf/dl-support.c (_dl_auxv): New variable.
24568         (_dl_aux_init): Initialize it.
24569         * manual/startup.texi (Auxiliary Vector): New node.
24570         * sysdeps/generic/bits/hwcap.h: New file.
24571         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
24572         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
24573         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
24574         * sysdeps/sparc/sysdep.h: ... here.  Include it.
24575         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
24576         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
24577         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
24578         Update.
24579         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
24580         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
24581         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
24582         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
24583         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
24584         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
24585         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
24586         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
24588 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24590         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24592 2012-05-19  David S. Miller  <davem@davemloft.net>
24594         * sysdeps/sparc/fpu/libm-test-ulps: Update.
24596 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
24598         [BZ #14123]
24599         * math/s_ccosh.c: Include <float.h>
24600         (__ccosh): Avoid internal overflow calculating sinh and cosh
24601         values before multiplying by sin and cos values.
24602         * math/s_ccoshf.c: Likewise.
24603         * math/s_ccoshl.c: Likewise.
24604         * math/s_csin.c: Likewise.
24605         * math/s_csinf.c: Likewise.
24606         * math/s_csinl.c: Likewise.
24607         * math/s_csinh.c: Likewise.
24608         * math/s_csinhf.c: Likewise.
24609         * math/s_csinhl.c: Likewise.
24610         * math/libm-test.inc (ccos_test): Add more tests.
24611         (ccosh_test): Likewise.
24612         (csin_test): Likewise.
24613         (csinh_test): Likewise.
24614         * sysdeps/i386/fpu/libm-test-ulps: Update.
24615         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24617 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
24619         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
24620         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
24622         * sysdeps/x86_64/x32/_itoa.h: Add comment.
24624 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
24626         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
24627         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
24628         * sysdeps/powerpc/soft-fp/Versions: Likewise.
24629         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
24630         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
24631         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
24632         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
24633         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
24634         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
24635         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
24636         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
24637         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
24638         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
24639         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
24640         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
24641         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
24642         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
24643         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
24644         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
24645         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
24646         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
24647         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
24648         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
24649         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
24650         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
24651         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
24652         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
24653         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
24654         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
24655         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
24656         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
24658 2012-05-18  Andreas Jaeger  <aj@suse.de>
24660         * csu/.gitignore: Delete.
24662 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
24664         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
24665         (timex): Use __syscall_slong_t.
24667 2012-05-18  Andreas Jaeger  <aj@suse.de>
24668             Carlos O'Donell  <carlos_odonell@mentor.com>
24670         * manual/install.texi (Configuring and compiling): Update
24671         description about files modified in the source directory.
24672         * INSTALL: Regenerated.
24674 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
24676         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
24677         value.  Use "or" to set return value to -1.
24678         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
24679         negate return value.
24681 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
24683         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
24684         CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
24685         failure if the compiler has Graphite support disabled.
24686         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
24687         Likewise.
24688         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
24689         CFLAGS-memmove.c): Likewise.
24690         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
24691         Likewise.
24693 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
24695         * sysdeps/x86_64/x32/_itoa.h: New file.
24697         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
24698         getdents system call only if kernel and user dirents have the
24699         same d_ino and d_off.
24701         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
24702         LLONG_MAX != LONG_MAX.
24703         (_itoa_word): Use _ITOA_WORD_TYPE on value.
24704         (_fitoa_word): Likewise.
24706         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
24707         years.
24708         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
24709         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
24710         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
24712         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
24713         include <bits/wordsize.h>.  Check __x86_64__ instead of
24714         __WORDSIZE.
24715         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
24716         if __x86_64__ is defined.  Use anonymous union on fpstate.
24718         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
24719         anonymous union.
24721 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
24723         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
24724         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
24725         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
24726         Refer to _rtld_local_ro instead of _rtld_global_ro.
24727         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
24728         Likewise.
24729         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
24730         Likewise.
24731         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
24732         Likewise.
24733         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
24734         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
24735         of _rtld_global, and rtld_progname instead of _dl_argv[0].
24737         * sysdeps/powerpc/powerpc32/dl-machine.c
24738         (__elf_machine_runtime_setup) [PROF]: Don't reference
24739         _dl_prof_resolve.
24741 2012-05-18  Andreas Jaeger  <aj@suse.de>
24743         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
24744         function only available for GCCs before 3.4 since GCC 3.4
24745         introduced a builtin.
24746         (lrint): Likewise.
24747         (llrintf): Likewise.
24748         (llrint): Likewise.
24749         (fmaxf): Likewise.
24750         (fmax): Likewise.
24751         (fminf): Likewise.
24752         (fmin): Likewise.
24753         (rint): Likewise.
24754         (rintf): Likewise.
24755         (nearbyint): Likewise.
24756         (nearbyintf): Likewise.
24757         (ceil): Likewise.
24758         (ceilf): Likewise.
24759         (floor): Likewise.
24760         (floorf): Likewise.
24762 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
24764         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
24765         on both fields and cast pointer to __syscall_ulong_t.
24767         * bits/types.h (__fsword_t): New type.
24768         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
24769         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
24770         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
24771         (__FSWORD_T_TYPE): Likewise.
24772         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
24773         (__FSWORD_T_TYPE): Likewise.
24774         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
24775         (__FSWORD_T_TYPE): Likewise.
24776         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
24777         (__FSWORD_T_TYPE): Likewise.
24778         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
24779         __SWORD_TYPE with __fsword_t.
24780         (statfs64): Likewise.
24782 2012-05-17  David S. Miller  <davem@davemloft.net>
24784         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
24786 2012-05-17  Andreas Jaeger  <aj@suse.de>
24788         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
24789         warning.
24791 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
24793         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
24795 2012-05-17  Andreas Jaeger  <aj@suse.de>
24797         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
24798         when it is used.
24800 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
24802         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
24804 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
24806         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
24807         * sysdeps/x86_64/tst-mallocalign1.c: New file.
24809 2012-05-17  Andreas Jaeger  <aj@suse.de>
24810             Carlos O'Donell  <carlos_odonell@mentor.com>
24812         [BZ #14059]
24813         * sysdeps/x86_64/multiarch/init-arch.h
24814         (bit_YMM_Usable): Rename to...
24815         (bit_AVX_Usable): ... this.
24816         (bit_FMA4_Usable): New macro.
24817         (bit_XMM_state): New macro.
24818         (bit_YMM_state): New macro.
24819         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
24820         [__ASSEMBLER__] (index_AVX_Usable): ... this.
24821         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
24822         (CPUID_OSXSAVE): New macro.
24823         (CPUID_AVX): New macro.
24824         (CPUID_FMA4): New macro.
24825         (index_YMM_Usable): Rename to...
24826         (index_AVX_Usable): ... this.
24827         (HAS_AVX): Use HAS_ARCH_FEATURE.
24828         (HAS_FMA4): Likewise.
24829         (HAS_YMM_USABLE): Remove.
24830         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
24831         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
24832         are present.
24833         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
24834         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
24835         * sysdeps/x86_64/multiarch/Makefile: Likewise.
24836         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
24837         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
24839 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
24841         * math/libm-test.c: Support platforms without multiple rounding modes.
24842         * math/bug-nextafter.c: Support platforms without FP exceptions.
24843         * math/bug-nexttoward.c: Likewise.
24844         * math/test-fenv.c: Likewise.
24845         * math/test-misc.c: Likewise.
24846         * stdlib/bug-getcontext.c: Likewise.
24848 2012-05-17  Andreas Jaeger  <aj@suse.de>
24850         * manual/examples/search.c (critter_cmp): Change signature to
24851         avoid warnings.
24852         * manual/string.texi (Collation Functions): Likewise.
24854 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
24856         * bits/types.h: Fold copyright years.
24857         * bits/typesizes.h: Likewise.
24858         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
24859         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
24860         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
24861         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
24862         * time/time.h: Likewise.
24864 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
24866         [BZ #208]
24867         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
24868         in instead of returning them.  Return void.
24869         (__libc_mallinfo): Accumulate over all arenas.
24870         (__malloc_stats): Adjust for change in int_mallinfo interface.
24872 2012-05-16  Roland McGrath  <roland@hack.frob.com>
24874         [BZ #10375]
24875         * configure.in (NM): Add AC_CHECK_TOOL for it.
24876         (libc_extra_cflags): New substituted variable.
24877         Check for -fstack-protector being used implicitly.
24878         * configure: Regenerated.
24879         * config.make.in (config-extra-cflags): New variable,
24880         gets @libc_extra_cflags@.
24881         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
24883         [BZ #10375]
24884         * configure.in: Check for _FORTIFY_SOURCE being predefined.
24885         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
24886         * configure: Regenerated.
24887         * config.make.in (CPPUNDEFS): New substituted variable.
24888         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
24889         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
24890         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
24892 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
24894         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
24895         (mq_attr): Use __syscall_slong_t.
24897 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
24899         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
24900         Check __x86_64__ instead of __WORDSIZE.
24901         (_STAT_VER_LINUX): Likewise.
24902         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
24903         __syscall_ulong_t and __syscall_slong_t.
24904         (stat64): Likewise.
24906 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
24908         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
24910 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
24912         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
24914 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
24916         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
24917         __syscall_ulong_t.
24919         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
24920         include <bits/wordsize.h>.  Check __x86_64__ instead of
24921         __WORDSIZE.
24922         (greg_t): Use "__extension__ long long int" if __x86_64__ is
24923         defined.
24924         (mcontext_t): Replace "unsigned long" with "unsigned long long".
24926         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
24927         include <bits/wordsize.h>.  Check __x86_64__ instead of
24928         __WORDSIZE.
24929         (user_regs_struct): Use "__extension__ unsigned long long"
24930         instead of "unsigned long" if __x86_64__ is defined.
24931         (user): Likewise.  Pad after pointer field if __ILP32__ is
24932         defined.
24934 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
24936         * configure.in (makeinfo): Require version 4.5 or later.  Allow
24937         versions 5 to 9.
24938         * configure: Regenerated.
24939         * manual/install.texi (texinfo): Increase version requirement to
24940         4.5 or later.
24941         * INSTALL: Regenerated.
24943         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
24945 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
24947         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
24949         * sysdeps/x86_64/x32/ffs.c: New file.
24951         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
24952         __syscall_ulong_t.
24953         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
24954         defined.  Use __syscall_ulong_t.
24955         (shminfo): Use __syscall_ulong_t.
24956         (shm_info): Likewise.
24958         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
24959         __syscall_ulong_t.
24961         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
24962         <bits/wordsize.h>.
24963         (msgqnum_t): Use __syscall_ulong_t.
24964         (msglen_t): Likewise.
24965         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
24966         __syscall_ulong_t.
24968         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
24969         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
24971         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
24973         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
24974         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
24976         * sysvipc/sys/msg.h (msgbuf): Replace long int with
24977         __syscall_slong_t.
24979         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
24980         include <bits/wordsize.h>.  Check __x86_64__ instead of
24981         __WORDSIZE.
24983         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
24984         "unsigned long long int" if __x86_64__ is defined.
24985         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
24987         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
24988         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
24989         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
24991         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
24992         <stdint.h>.
24993         (GET_PC): Cast to uintptr_t first.
24994         (GET_FRAME): Likewise.
24995         (GET_STACK): Likewise.
24997         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
24998         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
24999         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
25000         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
25001         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
25002         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
25003         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
25004         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
25005         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
25006         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
25007         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
25008         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
25009         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
25010         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
25011         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
25012         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
25013         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
25014         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
25015         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
25016         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
25017         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
25018         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
25019         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
25020         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
25021         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
25022         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
25023         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
25024         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
25025         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
25027 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
25029         * Makerules (+depfiles): Also collect depfiles from .oS in
25030         $(extra-objs).
25031         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
25032         .oS, $(libnldbl-routines)).
25034         * Makerules (native-compile-mkdep-flags): Define.
25035         * sunrpc/Makefile (extra-objs): Add $(addprefix
25036         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
25037         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
25038         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
25039         calling $(make-target-directory).
25041 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
25043         * bits/types.h (__snseconds_t): Removed.
25044         * time/time.h (struct timespec): Replace __snseconds_t with
25045         __syscall_slong_t.
25046         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
25047         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
25048         Likewise.
25049         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
25050         (__SNSECONDS_T_TYPE): Likewise.
25051         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
25052         (__SNSECONDS_T_TYPE): Likewise.
25053         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
25054         (__SNSECONDS_T_TYPE): Likewise.
25056 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
25058         * sysdeps/mach/hurd/bits/typesizes.h
25059         (__SYSCALL_SLONG_TYPE): New macro.
25060         (__SYSCALL_ULONG_TYPE): Likewise.
25062 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
25064         * bits/types.h (__syscall_slong_t): New type.
25065         (__syscall_ulong_t): Likewise.
25067         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
25068         (__SYSCALL_ULONG_TYPE): Likewise.
25069         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
25070         (__SYSCALL_SLONG_TYPE): Likewise.
25071         (__SYSCALL_ULONG_TYPE): Likewise.
25072         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
25073         (__SYSCALL_SLONG_TYPE): Likewise.
25074         (__SYSCALL_ULONG_TYPE): Likewise.
25075         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
25076         (__SYSCALL_SLONG_TYPE): Likewise.
25077         (__SYSCALL_ULONG_TYPE): Likewise.
25079 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
25081         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
25082         Add sigaltstack-offsets.sym.
25083         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
25084         <sigaltstack-offsets.h>.
25085         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
25086         longjmp_msg pointer.
25087         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
25088         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
25089         signal stack.
25090         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
25092 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
25094         * elf/stackguard-macros.h: Remove file.
25095         * sysdeps/generic/stackguard-macros.h: New file.
25096         * sysdeps/i386/stackguard-macros.h: Likewise.
25097         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
25098         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
25099         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
25100         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
25101         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
25102         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
25103         * sysdeps/x86_64/stackguard-macros.h: Likewise.
25104         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
25105         <elf/stackguard-macros.h>.
25107         [BZ #14109]
25108         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
25109         __aligned__ in attribute.
25110         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
25111         (gregset_t): Likewise.
25113 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
25115         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
25116         * sysdeps/x86_64/64/Implies-after: Here.  New file.
25117         * sysdeps/x86_64/x32/Implies-after: New file.
25119 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
25121         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
25122         and access return value for _dl_profile_fixup.  Use R10_LP to
25123         load frame size.
25125 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
25127         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
25129 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
25131         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
25132         * sysdeps/x86_64/x32/sysdep.h: New file.
25134 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
25136         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
25137         * sysdeps/x86_64/setjmp.S: Likewise.
25139 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25141         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
25142         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
25143         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
25144         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
25145         remove unused global constant.
25147 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
25149         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
25150         include of <not-cancel.h>.
25152 2012-05-15  Roland McGrath  <roland@hack.frob.com>
25154         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
25156 2012-05-15  Jeff Law  <law@redhat.com>
25157             Andreas Jaeger  <aj@suse.de>
25159         [BZ #13594]
25160         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
25161         out from...
25162         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
25163         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
25164         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
25165         code changing __hst_map_handle.map.
25167 2012-05-15  Roland McGrath  <roland@hack.frob.com>
25169         * configure.in (sysnames): Look for Implies-before and Implies-after
25170         files.
25171         * configure: Regenerated.
25173 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
25175         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
25176         8-byte data alignment with LP_SIZE alignment.
25178 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
25180         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
25181         into R10_LP.
25183 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
25185         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
25187 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
25189         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
25190         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
25191         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
25192         Likewise.
25193         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
25195 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
25197         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
25198         (stackinfo_sub_sp): Likewise.
25200 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
25202         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
25203         RAX_LP.
25205 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
25207         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
25208         into R*_LP.
25210 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
25212         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
25213         sizes into R*_LP.
25215 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
25217         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
25219 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
25221         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
25222         into R11_LP and load __x86_64_shared_cache_size_half into
25223         R8_LP.
25225 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
25227         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
25228         R8_LP.
25230 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25232         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
25233         logb for POWER7.
25234         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
25235         logbf for POWER7.
25236         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
25237         logbl for POWER7.
25238         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
25239         powerpc32/power7/fpu/s_logb.c via #include.
25240         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
25241         powerpc32/power7/fpu/s_logbf.c via #include.
25242         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
25243         powerpc32/power7/fpu/s_logbl.c via #include.
25245 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
25247         * README.libm: Remove file.
25249 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
25251         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
25252         count for x32.  Use R*_LP and omit operand-size suffix.
25254 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
25256         * shlib-versions: Move x86_64-.*-linux.* entries to ...
25257         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
25258         * sysdeps/x86_64/x32/shlib-versions: New file.
25260 2012-05-14  Roland McGrath  <roland@hack.frob.com>
25262         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
25263         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
25264         Use _dl_fatal_printf instead.
25266 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
25268         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
25269         set if not set by the user.  Do not allow for being unset.
25270         * sysdeps/unix/sysv/linux/configure: Regenerated.
25272 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
25274         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
25275         the `q' suffix from lea and replace .quad with ASM_ADDR.
25277 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
25279         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
25280         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
25281         instead of $17.
25282         (PTR_DEMANGLE): Likewise.
25284 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
25286         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
25287         (LP_OP): Likewise.
25288         (ASM_ADDR): Likewise.
25289         (RAX_LP): Likewise.
25290         (RBP_LP): Likewise.
25291         (RBX_LP): Likewise.
25292         (RCX_LP): Likewise.
25293         (RDI_LP): Likewise.
25294         (RSI_LP): Likewise.
25295         (RSP_LP): Likewise.
25296         (R8_LP): Likewise.
25297         (R9_LP): Likewise.
25298         (R10_LP): Likewise.
25299         (R10_LP): Likewise.
25300         (R11_LP): Likewise.
25301         (R12_LP): Likewise.
25302         (R13_LP): Likewise.
25303         (R14_LP): Likewise.
25304         (R15_LP): Likewise.
25306 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
25308         * sysdeps/x86_64/x32/dl-machine.h: New file.
25310 2012-05-14  Andreas Jaeger  <aj@suse.de>
25312         * manual/Makefile (subdir): Remove export of subdir.
25313         (all): Remove target.
25314         (.PHONY): Remove all from list.
25315         (mkinstalldirs): Remove.
25316         (.PHONY): Remove installdirs from list.
25317         ($(inst_infodir)/libc.info): Use make-target-directory.
25318         (installdirs): Remove.
25319         (subdir_%): Remove.
25320         (glibc-targets): Remove.
25321         (lib): Remove.
25322         (stubs): Remove.
25323         ($(objpfx)stubs ../po/manual.pot): Remove.
25324         ($(objpfx)stamp%): Remove.
25325         (make-target-directory): Remove.
25326         (subdir_install): Remove.
25327         (routines): Remove.
25328         (aux): Remove.
25329         (sources): Remove.
25330         (objects): Remove.
25331         (headers): Remove.
25333         [BZ #13750]
25334         * manual/.gitignore: Remove, it's not needed anymore.
25335         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
25336         all files in it.
25337         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
25338         directory.
25339         (texis): Renamed to $(objpfx)texis.
25340         (texis-path): New, contains path to generated files.
25341         (chapters.%): Use texis-path for complete path, add extra argument
25342         libc-texinfo.sh.
25343         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
25344         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
25345         (summary,texi, stamp-summary): Use complete path of
25346         files. Generate files in build dir.
25347         (dir-add.texi): Build in build dir.
25348         (libm-err.texi,stamp-libm-err): Likewise.
25349         (version.texi, stamp-version): Likewise.
25350         (.%c.texi): Likewise.
25351         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
25352         (mostlyclean): Remove target.
25353         (realclean): Remove target.
25354         (generated): Add new variable with contents from mostlyclean and
25355         realclean, remove entries duplicated in common-mostlyclean, add
25356         stamp-libm-err and stamp-version.
25357         (generated-dirs): Add libc directory.
25358         ($(inst_infodir)/libc.info): Install files from build dir.
25360         * manual/install.texi (Configuring and compiling): Adjust since
25361         the info files are not part of the tar ball anymore.
25363 2012-05-14  Andreas Jaeger  <aj@suse.de>
25365         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
25366         variable.
25368 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
25370         [BZ #13717]
25371         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
25372         to 2.2.0 where earlier.
25373         * sysdeps/unix/sysv/linux/configure: Regenerated.
25374         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
25375         Remove conditional code.
25376         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
25377         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
25378         Remove conditional code.
25379         [!__NR_lchown]: Likewise.
25380         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
25381         [__NR_lchown]: Likewise.
25382         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
25383         comment referencing __ASSUME_LCHOWN_SYSCALL.
25384         * sysdeps/unix/sysv/linux/i386/sigaction.c
25385         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
25386         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
25387         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
25388         Remove conditional code.
25389         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
25390         (__protocol_available): Remove #if 0 code.
25391         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
25392         conditional code.
25393         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
25394         * sysdeps/unix/sysv/linux/kernel-features.h
25395         (__ASSUME_GETCWD_SYSCALL): Don't define.
25396         (__ASSUME_REALTIME_SIGNALS): Likewise.
25397         (__ASSUME_PREAD_SYSCALL): Likewise.
25398         (__ASSUME_PWRITE_SYSCALL): Likewise.
25399         (__ASSUME_POLL_SYSCALL): Likewise.
25400         (__ASSUME_LCHOWN_SYSCALL): Likewise.
25401         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
25402         non-SPARC.
25403         (__ASSUME_SIOCGIFNAME): Don't define.
25404         (__ASSUME_MSG_NOSIGNAL): Likewise.
25405         (__ASSUME_SENDFILE): Define unconditionally.
25406         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
25407         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
25408         conditional code.
25409         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
25410         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
25411         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
25412         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
25413         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
25414         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
25415         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
25416         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
25417         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
25418         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
25419         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
25420         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
25421         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
25422         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
25423         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
25424         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
25425         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
25426         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
25427         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
25428         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
25429         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
25430         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
25431         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
25432         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
25433         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
25434         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
25435         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
25436         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
25437         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
25438         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
25439         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
25440         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
25441         Remove conditional code.
25442         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
25443         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
25444         Remove conditional code.
25445         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
25446         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
25447         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
25448         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
25449         Remove conditional code.
25450         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
25451         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
25452         Remove conditional code.
25453         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
25454         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
25455         Remove conditional code.
25456         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
25457         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
25458         Remove conditional code.
25459         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
25460         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
25461         Remove conditional code.
25462         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
25463         * sysdeps/unix/sysv/linux/sh/pwrite64.c
25464         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
25465         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
25466         * sysdeps/unix/sysv/linux/sigaction.c
25467         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
25468         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
25469         * sysdeps/unix/sysv/linux/sigpending.c
25470         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
25471         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
25472         * sysdeps/unix/sysv/linux/sigprocmask.c
25473         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
25474         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
25475         * sysdeps/unix/sysv/linux/sigsuspend.c
25476         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
25477         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
25478         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
25479         (__libc_missing_rt_sigs): Remove.
25480         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
25481         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
25482         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
25483         Remove conditional code.
25484         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
25485         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
25486         return 1.
25487         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
25488         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
25489         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
25490         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
25492 2012-05-14  Andreas Jaeger  <aj@suse.de>
25494         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
25495         it's not used in glibc.
25496         (__coshm1): Likewise.
25497         (__acosh1p): Likewise.
25498         (__sgn): Likewise.
25500         * manual/string.texi (Copying and Concatenation): Add missing
25501         variable in concat example.
25502         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
25504 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
25506         [BZ #14103]
25507         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
25508         __builtin_clzl with __builtin_clzll.
25510 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
25512         [BZ #14104]
25513         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
25514         libc_freeres_ptr.
25516 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
25518         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
25519         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
25520         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
25521         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
25523 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
25525         * NEWS: Update ia64 info.
25527 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
25529         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
25530         used as bcopy.
25532 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
25534         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
25535         * sysdeps/unix/syscalls.list (dup3): Likewise.
25536         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
25537         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
25539 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
25541         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
25542         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
25544 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
25546         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
25547         thread pointer.
25548         (TLS_IE): Use mov/add instead of movq/addq to load thread
25549         pointer.
25550         (TLS_GD_PREFIX): New.
25551         (TLS_GD): Use it.
25553 2012-05-11  David S. Miller  <davem@davemloft.net>
25555         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
25556         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
25557         (_FPU_SETCW): Likewise.
25559 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
25561         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
25562         is 32-byte aligned.
25564 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
25566         [BZ #11837]
25567         * iconvdata/gb18030.c: Update tables.
25568         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
25569         characters specially.
25570         (BODY for TO_LOOP): Add encoding of missing ranges.
25572 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
25574         [BZ #13673]
25575         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
25576         * sysdeps/mach/hurd/dup3.c: Likewise.
25577         * sysdeps/mach/hurd/readlinkat.c: Likewise.
25578         * sysdeps/powerpc/memmove.c:: Likewise.
25580 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
25582         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
25583         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
25585 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
25587         * elf/elf.h (R_X86_64_RELATIVE64): New.
25588         (R_X86_64_NUM): Updated.
25589         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
25590         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
25591         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
25592         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
25593         tst-quad1pie tst-quad2pie
25594         (modules-names): Add tst-quadmod1 tst-quadmod2.
25595         ($(objpfx)tst-quad1): New dependency.
25596         ($(objpfx)tst-quad2): Likewise.
25597         ($(objpfx)tst-quad1pie): Likewise.
25598         ($(objpfx)tst-quad2pie): Likewise.
25599         * sysdeps/x86_64/tst-quad1.c: New file.
25600         * sysdeps/x86_64/tst-quad1pie.c: New file.
25601         * sysdeps/x86_64/tst-quad2.c: Likewise.
25602         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
25603         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
25604         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
25605         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
25606         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
25608 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
25610         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
25611         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
25612         * streams/stropts.h (t_scalar_t): Define type.
25614         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
25615         (_PATH_PRESERVE): Set to "/var/lib".
25616         (_PATH_RWHODIR): Set to "/var/spool/rwho".
25618         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
25619         instead of int.
25621         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
25622         if __dir_mkfile succeeded.
25624         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
25625         checking for _hurd_dtablesize.  Unlock it right after having
25626         finished _hurd_dtable allocation.
25628 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
25630         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
25631         * sysdeps/mach/hurd/configure: Regenerated.
25632         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
25633         special-casing to...
25634         * sysdeps/gnu/configure.in: ... this new file.
25635         * sysdeps/unix/sysv/linux/configure: Regenerated.
25636         * sysdeps/gnu/configure: New generated file.
25638         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
25639         for Linux: use nsec instead of usec, as well as:
25640         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
25641         members of type struct timespec.
25642         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
25643         New macros.
25644         (struct stat64): Likewise.
25645         (_STATBUF_ST_NSEC): New macro.
25646         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
25648         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
25649         __strtoul_internal rather than strtoul.
25651 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
25653         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
25654         and reject them.
25656 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
25658         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
25659         which preserves existing values.
25660         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
25662 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
25664         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
25665         TIMEOUT values.  Return EINVAL for NFDS values either negative or
25666         greater than FD_SETSIZE.
25668 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
25670         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
25671         allocated, call __vm_protect to finish enabling the existing space, and
25672         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
25673         allocate the remainder.
25675 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
25677         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
25678         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
25680 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
25682         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
25683         sysdeps/mach/hurd/readlink.c.
25685         * posix/tst-sysconf.c (posix_options): Only use
25686         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
25687         _POSIX_SYNCHRONIZED_IO when they are defined
25688         * sysdeps/mach/hurd/bits/posix_opt.h:
25689         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
25690         (_XOPEN_REALTIME): Undefine macro.
25691         (_XOPEN_REALTIME_THREADS): Undefine macro.
25692         (_XOPEN_SHM): Undefine macro.
25693         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
25694         macro to -1.
25695         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
25696         macro to -1.
25697         (_POSIX_ASYNC_IO): Undefine macro.
25698         (_POSIX_PRIORITIZED_IO): Undefine macro.
25699         (_POSIX_SPIN_LOCKS): Define macro to -1.
25701         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
25702         SA_NODEFER, SA_RESETHAND.
25703         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
25704         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
25705         F_DUPFD_CLOEXEC.
25707 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
25709         * elf/Makefile (pldd-modules): Define unconditionally.
25711 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
25713         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
25715 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
25717         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
25718         Return ENOENT when name is empty.
25719         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
25721 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
25723         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
25725         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
25727 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
25729         Fix mlock in all cases except non-readable pages.
25730         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
25731         instead of VM_PROT_ALL as parameter to __vm_wire function.
25733         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
25734         (__mkdir): When path is `/', just fail with EEXIST.
25735         * sysdeps/mach/hurd/mkdirat.c: Likewise.
25737 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
25739         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
25740         <sys/uio.h> (for writev).
25741         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
25742         and <sys/param.h> (for MIN).
25744 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
25746         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
25747         REQUESTED_TIME.  Properly set the remaining time and return EINTR
25748         if interrupted.
25750 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
25752         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
25753         Depend on against $(link-rpcuserlibs).
25755 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
25757         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
25758         (__libc_stack_end): Do not use attribute_relro.
25759         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
25760         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
25761         to libthread-provided value.
25762         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
25763         attribute_relro.
25765 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
25767         [BZ #3748]
25768         * bits/libc-lock.h (__libc_once_get): New macro.
25769         * sysdeps/mach/bits/libc-lock.h: Likewise.
25770         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
25771         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
25772         instead of using implementation details.
25774         * libio/fileops.c: Unconditionally include <kernel-features.h>.
25775         * libio/freopen.c: Likewise.
25776         * libio/freopen64.c: Likewise.
25777         * misc/syslog.c: Likewise.
25778         * nscd/connections.c: Likewise.
25779         * nscd/netgroupcache.c: Likewise.
25780         * sysdeps/posix/getcwd.c: Likewise.
25782 2012-05-10  Roland McGrath  <roland@hack.frob.com>
25784         * math/w_ilogbf.c: Add #include <limits.h>.
25786 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
25788         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
25789         path instead of returning without unlocking.
25791         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
25792         immediate-write ioctls.
25793         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
25795 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
25797         * sysdeps/mach/hurd/i386/init-first.c (init): Use
25798         __builtin_frame_address instead of making assumptions about the
25799         location of the return address relative to DATA.  Force early load of
25800         the return address.
25801         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
25802         __builtin_frame_address.
25804         dup3 for GNU Hurd.
25805         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
25806         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
25807         implement dup3 and do some further code clean-ups.
25808         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
25809         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
25811 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
25813         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
25815         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
25816         HURD_CRITICAL_END around holding _hurd_dtable_lock.
25817         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
25818         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
25819         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
25820         d->port.lock.
25822         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
25823         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
25824         when handler == SIG_ERR, not when handler != SIG_ERR.
25826 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
25828         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
25829         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
25830         definitions.
25832         accept4 for GNU Hurd.
25833         * include/sys/socket.h (__libc_accept4): New prototype.
25834         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
25835         to implement __libc_accept4.
25836         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
25837         __libc_accept4.
25838         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
25840         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
25841         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
25842         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
25843         signal-defines.sym.
25845 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
25847         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
25849 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
25851         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
25852         assertion on O_CLOEXEC flag.
25853         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
25854         * hurd/intern-fd.c: Likewise.
25855         * hurd/port2fd.c: Likewise.
25857 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
25859         [BZ #3906]
25860         * bits/in.h (IPV6_PKTINFO): Define new macro.
25861         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
25863 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25865         [BZ #13954]
25866         [BZ #13955]
25867         [BZ #13956]
25868         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
25869         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
25870         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
25871         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
25872         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
25873         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
25874         * math/libm-test.inc (logb_test) : Additional logb tests.
25876 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
25877             Andreas Jaeger  <aj@suse.de>
25879         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
25880         * configure: Regenerated.
25881         * config.h.in (LINK_OBSOLETE_RPC): New macro.
25882         * config.make.in (link-obsolete-rpc): New substituted variable.
25883         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
25884         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
25885         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
25886         (shared-only-routines): Don't set it under [link-obsolete-rpc],
25887         so that libc.a contains the symbols.
25888         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
25889         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
25890         * sunrpc/auth_none.c: Likewise.
25891         * sunrpc/auth_unix.c: Likewise.
25892         * sunrpc/authdes_prot.c: Likewise.
25893         * sunrpc/authuxprot.c: Likewise.
25894         * sunrpc/clnt_gen.c: Likewise.
25895         * sunrpc/clnt_perr.c: Likewise.
25896         * sunrpc/clnt_raw.c: Likewise.
25897         * sunrpc/clnt_simp.c: Likewise.
25898         * sunrpc/clnt_tcp.c: Likewise.
25899         * sunrpc/clnt_udp.c: Likewise.
25900         * sunrpc/clnt_unix.c: Likewise.
25901         * sunrpc/des_crypt.c: Likewise.
25902         * sunrpc/des_soft.c: Likewise.
25903         * sunrpc/get_myaddr.c: Likewise.
25904         * sunrpc/key_call.c: Likewise.
25905         * sunrpc/key_prot.c: Likewise.
25906         * sunrpc/netname.c: Likewise.
25907         * sunrpc/pm_getmaps.c: Likewise.
25908         * sunrpc/pm_getport.c: Likewise.
25909         * sunrpc/pmap_clnt.c: Likewise.
25910         * sunrpc/pmap_prot.c: Likewise.
25911         * sunrpc/pmap_prot2.c: Likewise.
25912         * sunrpc/pmap_rmt.c: Likewise.
25913         * sunrpc/publickey.c: Likewise.
25914         * sunrpc/rpc_cmsg.c: Likewise.
25915         * sunrpc/rpc_common.c: Likewise.
25916         * sunrpc/rpc_dtable.c: Likewise.
25917         * sunrpc/rpc_prot.c: Likewise.
25918         * sunrpc/rpc_thread.c: Likewise.
25919         * sunrpc/rtime.c: Likewise.
25920         * sunrpc/svc.c: Likewise.
25921         * sunrpc/svc_auth.c: Likewise.
25922         * sunrpc/svc_raw.c: Likewise.
25923         * sunrpc/svc_run.c: Likewise.
25924         * sunrpc/svc_tcp.c: Likewise.
25925         * sunrpc/svc_udp.c: Likewise.
25926         * sunrpc/svc_unix.c: Likewise.
25927         * sunrpc/svcauth_des.c: Likewise.
25928         * sunrpc/xcrypt.c: Likewise.
25929         * sunrpc/xdr.c: Likewise.
25930         * sunrpc/xdr_array.c: Likewise.
25931         * sunrpc/xdr_float.c: Likewise.
25932         * sunrpc/xdr_intXX_t.c: Likewise.
25933         * sunrpc/xdr_mem.c: Likewise.
25934         * sunrpc/xdr_rec.c: Likewise.
25935         * sunrpc/xdr_ref.c: Likewise.
25936         * sunrpc/xdr_sizeof.c: Likewise.
25937         * sunrpc/xdr_stdio.c: Likewise.
25939 2012-05-10  Roland McGrath  <roland@hack.frob.com>
25941         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
25942         change.  Update copyright years.
25944 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
25946         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
25948 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
25949             Joseph Myers  <joseph@codesourcery.com>
25950             Paul Pluzhnikov  <ppluzhnikov@google.com>
25952         [BZ #14012]
25953         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
25954         requiring rpcgen.
25955         [cross-compiling] (extra-libs): Likewise.
25956         [cross-compiling] (extra-libs-others): Likewise.
25957         [cross-compiling] (librpcsvc-routines): Likewise.
25958         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
25959         [cross-compiling] (omit-deps): Likewise.
25960         (sunrpc-CPPFLAGS): New variable.
25961         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
25962         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
25963         (cross-rpcgen-objs): New variable.
25964         (extra-objs): Append $(cross-rpcgen-objs).
25965         ($(cross-rpcgen-objs)): New rule.
25966         ($(objpfx)cross-rpcgen): Likewise.
25967         (rpcgen-cmd): Define to use $(built-program-file).  Expand
25968         comment.
25969         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
25970         ($(objpfx)x%.stmp): Likewise.
25971         * sunrpc/proto.h [IS_IN_build] (_): Define.
25972         [IS_IN_build] (_libc_intl_domainname): Likewise.
25974 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
25976         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
25977         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
25978         and R_X86_64_TPOFF64.
25980 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
25982         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
25983         sysdeps/unix/sysv/syscalls.list.
25984         (stime): Likewise.
25985         (utime): Likewise.
25986         * sysdeps/unix/sysv/syscalls.list: Remove file.
25988 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
25990         [BZ #3440]
25991         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
25992         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
25993         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
25994         (__LC_IDENTIFICATION): Make these macros useful in #if
25995         expressions, as required by C99.
25997 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
25999         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
26000         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
26001         after this.
26003 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
26005         * stdlib/longlong.h: Updated from GCC.
26007 2012-05-09  Andreas Jaeger  <aj@suse.de>
26009         * nscd/nscd.c (run_modes): Make named enum, reorder so that
26010         default is first entry.
26011         (run_mode): Set type.
26012         (main): Remove informal message about syslog.
26013         (options): Fix typo.
26015         [BZ #14053]
26016         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
26017         to asm.
26018         (lrint): Likewise.
26019         (llrintf): Likewise.
26020         (llrint): Likewise.
26021         (rint): Likewise.
26022         (rintf): Likewise.
26023         (nearbyint): Likewise.
26024         (nearbyintf): Likewise.
26026 2012-05-09  Andreas Jaeger  <aj@suse.de>
26027             Pedro Alves  <palves@redhat.com>
26029         * nscd/nscd.c (run_mode): Use enum.
26030         (main): Cleanup coding style issue.
26032 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
26033             Andreas Jaeger  <aj@suse.de>
26035         * nscd/nscd.c (go_background): Replaced with...
26036         (run_mode): ... this.
26037         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
26038         (options): Add -F --foreground.
26039         (main): Implement it.
26040         (parse_opt): Parse it.
26042 2012-05-09  Andreas Jaeger  <aj@suse.de>
26044         [BZ #14083]
26045         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
26046         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
26047         -Wconversion warning.
26048         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
26049         Likewise.
26051 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
26053         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
26054         == 0.
26055         (LC_ALL): Use macro-int-constant.
26056         (LC_COLLATE): Likewise.
26057         (LC_CTYPE): Likewise.
26058         (LC_MESSAGES): Likewise.
26059         (LC_MONETARY): Likewise.
26060         (LC_NUMERIC): Likewise.
26061         (LC_TIME): Likewise.
26062         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
26063         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
26064         [ISO || ISO99 || ISO11] (*_t): Do not allow.
26065         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
26066         Specify type.
26067         [C99-based standards] (float_t): Expect type.
26068         [C99-based standards] (double_t): Expect type.
26069         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
26070         type.
26071         [C99-based standards] (HUGE_VALL): Likewise.
26072         [C99-based standards] (INFINITY): Likewise.
26073         [C99-based standards] (NAN): Likewise.
26074         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
26075         [C99-based standards] (FP_NAN): Likewise.
26076         [C99-based standards] (FP_NORMAL): Likewise.
26077         [C99-based standards] (FP_SUBNORMAL): Likewise.
26078         [C99-based standards] (FP_ZERO): Likewise.
26079         [C99-based standards] (FP_FAST_FMA): Use
26080         optional-macro-int-constant.  Specify type.  Require == 1.
26081         [C99-based standards] (FP_FAST_FMAF): Likewise.
26082         [C99-based standards] (FP_FAST_FMAL): Likewise.
26083         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
26084         [C99-based standards] (FP_ILOGBNAN): Likewise.
26085         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
26086         Specify type.
26087         [C99-based standards] (MATH_ERREXCEPT): Likewise.
26088         [C99-based standards] (math_errhandling): Specify type.
26089         [ISO99 || ISO11] (signgam): Do not allow.
26090         [non-C99-based standards] (copysignf): Do not allow.
26091         [non-C99-based standards] (exp2f): Likewise.
26092         [non-C99-based standards] (log2f): Likewise.
26093         [non-C99-based standards] (modff): Allow.
26094         [non-C99-based standards] (erff): Do not allow.
26095         [non-C99-based standards] (erfcf): Likewise.
26096         [non-C99-based standards] (gammaf): Likewise.
26097         [non-C99-based standards] (hypotf): Likewise.
26098         [non-C99-based standards] (j0f): Likewise.
26099         [non-C99-based standards] (j1f): Likewise.
26100         [non-C99-based standards] (jnf): Likewise.
26101         [non-C99-based standards] (lgammaf): Likewise.
26102         [non-C99-based standards] (tgammaf): Likewise.
26103         [non-C99-based standards] (y0f): Likewise.
26104         [non-C99-based standards] (y1f): Likewise.
26105         [non-C99-based standards] (ynf): Likewise.
26106         [non-C99-based standards] (isnanf): Likewise.
26107         [non-C99-based standards] (acoshf): Likewise.
26108         [non-C99-based standards] (asinhf): Likewise.
26109         [non-C99-based standards] (atanhf): Likewise.
26110         [non-C99-based standards] (cbrtf): Likewise.
26111         [non-C99-based standards] (expm1f): Likewise.
26112         [non-C99-based standards] (ilogbf): Likewise.
26113         [non-C99-based standards] (log1pf): Likewise.
26114         [non-C99-based standards] (logbf): Likewise.
26115         [non-C99-based standards] (nextafterf): Likewise.
26116         [non-C99-based standards] (remainderf): Likewise.
26117         [non-C99-based standards] (rintf): Likewise.
26118         [non-C99-based standards] (scalbf): Likewise.
26119         [non-C99-based standards] (copysignl): Likewise.
26120         [non-C99-based standards] (exp2l): Likewise.
26121         [non-C99-based standards] (log2l): Likewise.
26122         [non-C99-based standards] (modfl): Allow.
26123         [non-C99-based standards] (erfl): Do not allow.
26124         [non-C99-based standards] (erfcl): Likewise.
26125         [non-C99-based standards] (gammal): Likewise.
26126         [non-C99-based standards] (hypotl): Likewise.
26127         [non-C99-based standards] (j0l): Likewise.
26128         [non-C99-based standards] (j1l): Likewise.
26129         [non-C99-based standards] (jnl): Likewise.
26130         [non-C99-based standards] (lgammal): Likewise.
26131         [non-C99-based standards] (tgammal): Likewise.
26132         [non-C99-based standards] (y0l): Likewise.
26133         [non-C99-based standards] (y1l): Likewise.
26134         [non-C99-based standards] (ynl): Likewise.
26135         [non-C99-based standards] (isnanl): Likewise.
26136         [non-C99-based standards] (acoshl): Likewise.
26137         [non-C99-based standards] (asinhl): Likewise.
26138         [non-C99-based standards] (atanhl): Likewise.
26139         [non-C99-based standards] (cbrtl): Likewise.
26140         [non-C99-based standards] (expm1l): Likewise.
26141         [non-C99-based standards] (ilogbl): Likewise.
26142         [non-C99-based standards] (log1pl): Likewise.
26143         [non-C99-based standards] (logbl): Likewise.
26144         [non-C99-based standards] (nextafterl): Likewise.
26145         [non-C99-based standards] (remainderl): Likewise.
26146         [non-C99-based standards] (rintl): Likewise.
26147         [non-C99-based standards] (scalbl): Likewise.
26148         [ISO || ISO99 || ISO11] (*_t): Do not allow.
26149         [non-C99-based standards] (FP_*): Do not allow.
26150         [C99-based standards] (FP_*): Change to
26151         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
26152         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
26153         allow.
26154         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
26155         (SIG_ERR): Likewise.
26156         [X/Open-based standards] (SIG_HOLD): Likewise.
26157         (SIG_IGN): Likewise.
26158         (SIGABRT): Use macro-int-constant.  Specify type.  Require
26159         positive value.
26160         (SIGFPE): Likewise.
26161         (SIGILL): Likewise.
26162         (SIGINT): Likewise.
26163         (SIGSEGV): Likewise.
26164         (SIGTER): Likewise.
26165         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
26166         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
26167         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
26168         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
26169         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
26170         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
26171         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
26172         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
26173         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
26174         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
26175         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
26176         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
26177         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
26178         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
26179         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
26180         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
26181         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
26182         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
26183         [X/Open-based standards] (SIGTRAP): Likewise.
26184         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
26185         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
26186         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
26187         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
26188         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
26189         allow.
26191 2012-05-08  Ian Wienand  <ianw@vmware.com>
26193         [BZ #14080]
26194         * time/tzset.c (__tzset_parse_tz): Update default rules for
26195         daylight time changes in the Energy Policy Act of 2005.
26197 2012-05-09  Andreas Jaeger  <aj@suse.de>
26199         [BZ #13983]
26200         * elf/ldconfig.c (parse_conf): Change string to make clear that
26201         ldconfig only issued a warning if ld.so.conf does not exist.
26203 2012-05-08  David S. Miller  <davem@davemloft.net>
26205         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
26206         movxtod instead of popping the value on the stack.
26208         * sysdeps/sparc/fpu/libm-test-ulps: Update.
26210 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
26212         * config.h.in: Add HAVE_ARM_PCS_VFP.
26214 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
26216         [BZ #13979]
26217         * include/features.h: Warn if user requests __FORTIFY_SOURCE
26218         checking but the checks are disabled for any reason.
26220 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
26222         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
26223         and ELF64_R_TYPE with ELFW(R_TYPE).
26225 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
26227         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
26228         (ulimit): Likewise.
26230         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
26231         (settimeofday): Likewise.
26233 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
26235         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
26236         a struct th_u2 inside the union, and move tu_block/tu_code into
26237         a new th_u3 union of tu_block/tu_code inside of that.  Move
26238         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
26239         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
26240         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
26241         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
26242         (th_stuff): Change to th_u1.tu_stuff.
26243         (th_data): Define.
26244         (th_msg): Change to th_u1.th_u2.tu_data.
26246 2012-05-07  David S. Miller  <davem@davemloft.net>
26248         * sysdeps/sparc/fpu/libm-test-ulps: Update.
26250         [BZ #14074]
26251         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
26252         (SETUP_PIC_REG): Use it.
26253         (SETUP_PIC_REG_LEAF): Use it.
26255 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
26257         [BZ #13885]
26258         [BZ #13923]
26259         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
26260         USE_AS_EXPM1L.
26261         (EXPL_FINITE): Likewise.
26262         (FLDLOG): Likewise.
26263         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
26264         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
26265         e_expl.S.
26266         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
26267         USE_AS_EXPM1L.
26268         (EXPL_FINITE): Likewise.
26269         (FLDLOG): Likewise.
26270         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
26271         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
26272         e_expl.S.
26273         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
26274         test of -max_value argument for long double.
26275         * sysdeps/i386/fpu/libm-test-ulps: Update.
26276         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26278 2012-05-06  David S. Miller  <davem@davemloft.net>
26280         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
26281         quad soft-float symbols whose references which are compiler
26282         generated.
26283         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
26285 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
26287         [BZ #13884]
26288         [BZ #13914]
26289         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
26290         USE_AS_EXP10L.
26291         (EXPL_FINITE): Likewise.
26292         (FLDLOG): Likewise.
26293         (c0): Likewise.
26294         (c1): Likewise.
26295         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
26296         Adjust comments for base varying.
26297         (__expl_finite): Change alias to EXPL_FINITE.
26298         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
26299         e_expl.S.
26300         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
26301         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
26302         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
26303         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
26304         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
26305         USE_AS_EXP10L.
26306         (EXPL_FINITE): Likewise.
26307         (FLDLOG): Likewise.
26308         (c0): Likewise.
26309         (c1): Likewise.
26310         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
26311         Adjust comments for base varying.
26312         (__expl_finite): Change alias to EXPL_FINITE.
26313         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
26314         tests for bugs.
26315         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26317         [BZ #14064]
26318         * math/libm-test.inc (check_float_internal): Correct ulp
26319         calculation for subnormal expected results.
26321 2012-05-06  Andreas Jaeger  <aj@suse.de>
26323         * Makeconfig (+math-flags): New, set to -frounding-math.
26324         (+cflags): Add +math-flags so that all of glibc gets compiled with
26325         it.
26327         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
26329 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
26331         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
26332         Disable one test.
26334         [BZ #13787]
26335         [BZ #13922]
26336         [BZ #14036]
26337         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
26338         (__ieee754_expl): Allow for and saturate large arguments.
26339         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
26340         (u_threshold): Likewise.
26341         (__exp): Call __ieee754_exp before checking for overflow and
26342         underflow.
26343         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
26344         (u_threshold): Likewise.
26345         (__expf): Call __ieee754_expf before checking for overflow and
26346         underflow.
26347         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
26348         (u_threshold): Likewise.
26349         (__expl): Call __ieee754_expl before checking for overflow and
26350         underflow.
26351         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
26352         (__ieee754_expl): Allow for and saturate large arguments.
26353         * math/libm-test.inc (exp_test): Add another test.  Do not allow
26354         missing overflow exception on overflow.
26355         (expm1_test): Do not allow missing overflow exception on overflow.
26357         * sysdeps/i386/fpu/e_expl.c: Move to ...
26358         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
26359         rather than using inline asm.
26360         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
26361         * sysdeps/x86_64/fpu/e_expl.S: Copy from
26362         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
26364         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
26365         (nice): Likewise.
26366         (poll): Likewise.
26367         (signal): Likewise.
26368         (time): Likewise.
26369         (times): Likewise.
26371 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
26373         * sysdeps/unix/syscalls.list (adjtime): Add entry from
26374         sysdeps/unix/common/syscalls.list.
26375         (fchmod): Likewise.
26376         (fchown): Likewise.
26377         (ftruncate): Likewise.
26378         (getrusage): Likewise.
26379         (gettimeofday): Likewise.
26380         (setpgid): Likewise.
26381         (setregid): Likewise.
26382         (setreuid): Likewise.
26383         (sigaction): Likewise.
26384         (truncate): Likewise.
26385         (vhangup): Likewise.
26386         * sysdeps/unix/common/syscalls.list: Remove file.
26387         * sysdeps/unix/bsd/Implies: Don't include unix/common.
26388         * sysdeps/unix/sysv/linux/Implies: Likewise.
26390 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
26392         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
26393         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
26394         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
26395         Moved to ...
26396         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
26397         Here.
26398         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
26399         to ...
26400         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
26401         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
26402         to ...
26403         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
26404         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
26405         to ...
26406         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
26407         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
26408         to ...
26409         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
26410         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
26411         to ...
26412         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
26413         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
26414         to ...
26415         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
26416         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
26417         to ...
26418         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
26419         Here.
26420         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
26421         to ...
26422         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
26423         Here.
26424         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
26425         to ...
26426         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
26427         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
26428         Moved to ...
26429         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
26430         Here.
26431         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
26432         to ...
26433         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
26435 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
26437         * sysdeps/unix/common/bits/dirent.h: Remove file.
26438         * sysdeps/unix/common/bits/fcntl.h: Likewise.
26440         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
26441         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
26442         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
26443         * sysdeps/unix/bsd/isatty.c: Likewise.
26444         * sysdeps/unix/bsd/tcdrain.c: Likewise.
26445         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
26446         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
26448 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26450         [BZ #13563]
26451         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
26452         long double comparison inaccuracies.
26453         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
26454         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26456 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
26458         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
26459         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
26461 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
26463         [BZ #14049]
26464         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
26465         nonzero digits before rounding a hex value.
26466         * stdlib/tst-strtod.c (tests): Add another test.
26468 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
26470         * sysdeps/s390/fpu/libm-test-ulps: Update.
26472 2012-05-03  Andreas Jaeger  <aj@suse.de>
26474         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
26475         does not get optimized out.
26476         (malloc_opt_barrier): New.
26478 2012-05-03  Andreas Jaeger  <aj@suse.de>
26479             Roland McGrath  <roland@hack.frob.com>
26481         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
26482         intermediate file deletion.
26483         (generated): Add .symlist files.
26485 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
26487         [BZ #13775]
26488         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
26489         Redirect under this condition.
26490         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
26491         [__USE_GNU] (__dprintf_chk): Not under this condition.
26492         [__USE_GNU] (__vdprintf_chk): Likewise.
26493         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
26494         under this condition.
26495         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
26496         [__USE_XOPEN2K8] (dprintf): Define under this condition.
26497         [__USE_XOPEN2K8] (vdprintf): Likewise.
26498         [__USE_GNU] (__dprintf_chk): Not under this condition.
26499         [__USE_GNU] (__vdprintf_chk): Likewise.
26500         [__USE_GNU] (dprintf): Likewise.
26501         [__USE_GNU] (vdprintf): Likewise.
26503 2012-05-03  Roland McGrath  <roland@hack.frob.com>
26505         * elf/Makefile (common-generated): Set this instead of generated for
26506         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
26507         $(all-built-dso)-derived lists.
26509 2012-05-03  Andreas Jaeger  <aj@suse.de>
26511         * sysdeps/i386/fpu/libm-test-ulps: Update.
26513         * FAQ: Removed.
26514         * FAQ.in: Likewise.
26515         * scripts/gen-FAQ.pl: Likewise.
26516         * manual/install.texi (Installation): Point to online location of
26517         FAQ.
26518         * Makefile (files-for-dist): Remove FAQ.
26519         (FAQ): Remove.
26521 2012-05-02  Allan McRae  <allan@archlinux.org>
26523         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
26524         (LDFLAGS-reldepmod5.so): Likewise.
26525         (LDFLAGS-reldep6mod1.so): Likewise.
26526         (LDFLAGS-reldep6mod4.so): Likewise.
26527         (LDFLAGS-reldep8mod3.so): Likewise.
26528         (LDFLAGS-unload4mod1.so): Likewise.
26529         (LDFLAGS-unload4mod2.so): Likewise.
26530         (LDFLAGS-tst-initorder): Likewise.
26531         (LDFLAGS-tst-initordera2.so): Likewise.
26532         (LDFLAGS-tst-initordera3.so): Likewise.
26533         (LDFLAGS-tst-initordera4.so): Likewise.
26534         (LDFLAGS-tst-initorderb2.so): Likewise.
26535         (LDFLAGS-noload): Likewise.
26536         (LDFLAGS-next): Likewise.
26537         (LDFLAGS-order2mod1.so): Likewise.
26538         (LDFLAGS-order2mod2.so): Likewise.
26539         (LDFLAGS-tst-initorder2): Likewise.
26540         (LDFLAGS-tst-initorder2a.so): Likewise.
26541         (LDFLAGS-tst-initorder2b.so): Likewise.
26542         (LDFLAGS-tst-initorder2c.so): Likewise.
26543         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
26545 2012-05-02  David S. Miller  <davem@davemloft.net>
26547         * sysdeps/sparc/fpu/libm-test-ulps: Update.
26549 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
26551         [BZ #14055]
26552         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
26554 2012-05-02  Andreas Jaeger  <aj@suse.de>
26556         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
26557         since we manipulate rounding mode.
26558         (CPPFLAGS-test-idouble.c): Likewise.
26559         (CPPFLAGS-test-ifloat.c): Likewise.
26560         (CFLAGS-test-ldouble.c): Likewise.
26561         (CFLAGS-test-double.c): Likewise.
26562         (CFLAGS-test-float.c): Likewise.
26563         (CFLAGS-test-misc.c): Likewise.
26564         (CFLAGS-test-test-fenv.c): Likewise.
26566 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26568         [BZ #2550]
26569         [BZ #2570]
26570         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
26571         comparisons to determine direction to adjust input.
26573 2012-05-01  Roland McGrath  <roland@hack.frob.com>
26575         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
26576         output to the target.
26578         * scripts/localplt.awk: New file.
26579         * elf/Makefile ($(objpfx)check-localplt): Target removed.
26580         (check-localplt-CFLAGS): Variable removed.
26581         ($(all-built-dso:=.jmprel)): New static pattern rule.
26582         (generated): Add those targets.
26583         (localplt-built-dso): New variable.
26584         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
26586         * elf/check-localplt.c: File removed.
26588         * scripts/check-execstack.awk: New file.
26589         * elf/Makefile ($(objpfx)check-execstack): Target removed.
26590         (check-execstack-CFLAGS): Variable removed.
26591         ($(objpfx)check-execstack.h): Target removed.
26592         ($(objpfx)execstack-default): New target.
26593         (generated): Add that instead of check-execstack.h.
26594         ($(all-built-dso:=.phdr)): New static pattern rule.
26595         (generated): Add those targets.
26596         * elf/check-execstack.c: File removed.
26598         * scripts/check-textrel.awk: New file.
26599         * elf/Makefile ($(objpfx)check-textrel): Target removed.
26600         (check-textrel-CFLAGS): Variable removed.
26601         (all-built-dso): Use := to define.o
26602         ($(all-built-dso:=.dyn)): New static pattern rule.
26603         (generated): Add those targets.
26604         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
26605         * config.make.in (READELF): New substituted variable.
26606         * elf/check-textrel.c: File removed.
26608 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
26610         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
26611         allow.
26612         * conform/data/ctype.h-data [C99-based standards] (isblank):
26613         Expect function.
26614         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
26615         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
26616         [ISO || ISO99 || ISO11] (*_t): Do not allow.
26617         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
26618         Specify type.  Require positive value.
26619         (EILSEQ): Likewise.
26620         (ERANGE): Likewise.
26621         [ISO || POSIX] (EILSEQ): Do not expect.
26622         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
26623         Specify type.  Require positive value.
26624         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
26625         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
26626         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
26627         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
26628         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
26629         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
26630         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
26631         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
26632         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
26633         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
26634         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
26635         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
26636         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
26637         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
26638         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
26639         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
26640         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
26641         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
26642         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
26643         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
26644         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
26645         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
26646         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
26647         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
26648         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
26649         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
26650         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
26651         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
26652         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
26653         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
26654         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
26655         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
26656         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
26657         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
26658         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
26659         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
26660         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
26661         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
26662         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
26663         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
26664         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
26665         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
26666         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
26667         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
26668         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
26669         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
26670         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
26671         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
26672         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
26673         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
26674         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
26675         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
26676         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
26677         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
26678         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
26679         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
26680         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
26681         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
26682         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
26683         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
26684         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
26685         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
26686         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
26687         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
26688         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
26689         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
26690         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
26691         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
26692         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
26693         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
26694         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
26695         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
26696         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
26697         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
26698         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
26699         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
26700         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
26701         Require >= 2.
26702         (FLT_ROUNDS): Expect as macro, not constant.
26703         (FLT_MANT_DIG): Use macro-int-constant.
26704         (DBL_MANT_DIG): Likewise.
26705         (LDBL_MANT_DIG): Likewise.
26706         (FLT_DIG): Likewise.
26707         (DBL_DIG): Likewise.
26708         (LDBL_DIG): Likewise.
26709         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
26710         (DBL_MIN_EXP): Likewise.
26711         (LDBL_MIN_EXP): Likewise.
26712         (FLT_MAX_EXP): Use macro-int-constant.
26713         (DBL_MAX_EXP): Likewise.
26714         (LDBL_MAX_EXP): Likewise.
26715         (FLT_MAX_10_EXP): Likewise.
26716         (DBL_MAX_10_EXP): Likewise.
26717         (LDBL_MAX_10_EXP): Likewise.
26718         (FLT_MAX): Use macro-constant.
26719         (DBL_MAX): Likewise.
26720         (LDBL_MAX): Likewise.
26721         (FLT_EPSILON): Use macro-constant.  Give upper bound.
26722         (DBL_EPSILON): Likewise.
26723         (LDBL_EPSILON): Likewise.
26724         (FLT_MIN): Likewise.
26725         (DBL_MIN): Likewise.
26726         (LDBL_MIN): Likewise.
26727         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
26728         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
26729         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
26730         [ISO11] (FLT_HAS_SUBNORM): Likewise.
26731         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
26732         [ISO11] (DBL_DECIMAL_DIG): Likewise.
26733         [ISO11] (FLT_DECIMAL_DIG): Likewise.
26734         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
26735         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
26736         [ISO11] (FLT_TRUE_MIN): Likewise.
26737         [ISO11] (LDBL_TRUE_MIN): Likewise.
26738         [ISO || ISO99 || ISO11] (*_t): Do not allow.
26739         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
26740         (SCHAR_MIN): Use macro-int-constant.  Specify type.
26741         (SCHAR_MAX): Likewise.
26742         (UCHAR_MAX): Likewise.
26743         (CHAR_MIN): Likewise.
26744         (CHAR_MAX): Likewise.
26745         (MB_LEN_MAX): Use macro-int-constant.
26746         (SHRT_MIN): Use macro-int-constant.  Specify type.
26747         (SHRT_MAX): Likewise.
26748         (USHRT_MAX): Likewise.
26749         (INT_MAX): Likewise.
26750         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
26751         bound negative.
26752         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
26753         bound with "U".
26754         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
26755         bound with "L".
26756         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
26757         bound negative.  Suffix upper bound with "L".
26758         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
26759         bound with "UL".
26760         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
26761         Specify type.
26762         [C99-based standards] (LLONG_MAX): Likewise.
26763         [C99-based standards] (ULLONG_MAX): Likewise.
26764         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
26765         == 0.
26766         [ISO11] (max_align_t): Require type.
26767         [ISO || ISO99 || ISO11] (*_t): Do not allow.
26769         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
26770         from $CFLAGS, without defining away __attribute__ calls.
26771         (checknamespace): Use $CFLAGS_namespace.
26773         * conform/conformtest.pl (@keywords): Only include C99 keywords
26774         for standards based on C99 or C11.
26776         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
26777         Disable tests.
26778         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
26779         UNIX98]: Likewise.
26781         * conform/conformtest.pl: Handle "macro-int-constant" and test for
26782         usability of symbols in #if.
26784         * conform/conformtest.pl: If macro or constant types start
26785         "promoted:", expect the symbol to be of the following type
26786         promoted by the integer promotions.
26788         * conform/conformtest.pl: Parse all "constant" and "macro" lines
26789         in one place.  Also handle "macro-constant".
26791         * conform/conformtest.pl: Only accept expected macro values with
26792         "==".  Parse all "macro" lines in one place.
26793         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
26795         * conform/conformtest.pl: Handle braced types on "constant" lines
26796         instead of handling "typed-constant".
26797         * conform/data/signal.h-data: Use "constant" instead of
26798         "typed-constant".
26800         * conform/conformtest.pl: Handle "optional-" at start of lines in
26801         one place rather than duplicating several cases.  Handle each
26802         format of "macro" line with initial "optional-".
26804         * conform/conformtest.pl: Only accept expected constant or
26805         optional-constant values with "==".  Parse all "constant" lines in
26806         one place.  Parse all "optional-constant" lines in one place.
26807         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
26808         * conform/data/fmtmsg.h-data: Likewise.
26809         * conform/data/netinet/in.h-data: Likewise.
26810         * conform/data/tar.h-data: Likewise.
26811         * conform/data/limits.h-data: Use "==" form on "constant" and
26812         "optional-constant" lines.
26814         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
26815         Use -std=c99 for XOPEN2K.
26816         (@knownproblems): Remove.
26817         (newtoken): Don't check %isknown.
26819         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
26820         Do not expect macro.
26821         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
26822         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
26823         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
26824         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
26825         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
26826         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
26827         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
26828         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
26829         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
26830         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
26831         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
26832         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
26833         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
26834         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
26835         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
26836         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
26837         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
26838         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
26839         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
26840         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
26841         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
26842         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
26843         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
26844         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
26845         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
26846         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
26847         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
26848         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
26849         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
26850         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
26851         [XPG3] (acosh): Likewise.
26852         [XPG3] (asinh): Likewise.
26853         [XPG3] (atanh): Likewise.
26854         [XPG3] (cbrt): Likewise.
26855         [XPG3] (expm1): Likewise.
26856         [XPG3] (ilogb): Likewise.
26857         [XPG3] (log1p): Likewise.
26858         [XPG3] (logb): Likewise.
26859         [XPG3] (nextafter): Likewise.
26860         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
26861         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
26862         [XPG3] (remainder): Likewise.
26863         [XPG3] (rint): Likewise.
26864         [XPG3 || XPG4 || UNIX98] (round): Likewise.
26865         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
26866         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
26867         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
26868         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
26869         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
26870         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
26871         [UNIX98 || XOPEN2K] (scalb): Expect.
26872         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
26873         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
26874         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
26875         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
26876         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
26877         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
26878         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
26879         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
26880         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
26881         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
26882         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
26883         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
26884         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
26885         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
26886         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
26887         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
26888         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
26889         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
26890         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
26891         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
26892         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
26893         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
26894         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
26895         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
26896         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
26897         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
26898         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
26899         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
26900         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
26901         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
26902         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
26903         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
26904         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
26905         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
26906         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
26907         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
26908         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
26909         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
26910         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
26911         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
26912         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
26913         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
26914         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
26915         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
26916         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
26917         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
26918         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
26919         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
26920         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
26921         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
26922         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
26923         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
26924         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
26925         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
26926         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
26927         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
26928         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
26929         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
26930         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
26931         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
26932         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
26933         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
26934         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
26935         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
26936         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
26937         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
26938         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
26939         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
26940         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
26941         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
26942         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
26943         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
26944         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
26945         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
26946         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
26947         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
26948         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
26949         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
26950         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
26951         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
26952         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
26953         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
26954         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
26955         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
26956         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
26957         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
26958         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
26959         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
26960         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
26961         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
26962         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
26963         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
26964         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
26965         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
26966         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
26967         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
26968         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
26969         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
26970         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
26971         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
26972         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
26973         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
26974         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
26975         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
26976         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
26977         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
26978         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
26979         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
26980         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
26981         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
26982         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
26983         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
26984         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
26985         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
26986         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
26987         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
26988         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
26989         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
26990         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
26991         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
26992         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
26993         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
26994         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
26995         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
26996         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
26997         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
26998         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
26999         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
27000         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
27001         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
27002         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
27003         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
27004         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
27005         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
27006         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
27007         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
27008         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
27010         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
27011         _XOPEN_SOURCE_EXTENDED for XPG4.
27013         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
27015         * Makeconfig (localtime): Remove variable.
27016         (inst_localtime-file): Likewise.
27018 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
27020         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
27021         Update.
27022         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
27023         Update.
27024         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
27025         Update.
27026         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
27027         Update.
27028         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
27029         Update.
27030         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
27031         Update.
27032         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
27033         Update.
27034         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
27035         Update.
27036         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
27037         Update.
27039 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
27041         [BZ #2550]
27042         [BZ #2570]
27043         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
27044         comparisons to determine direction to adjust input.
27045         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
27046         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
27047         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
27048         Likewise.
27049         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
27050         Likewise.
27051         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
27052         Likewise.
27053         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
27054         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
27055         Likewise.
27056         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
27057         Likewise.
27058         * math/libm-test.inc (nexttoward_test): Add more tests.
27060 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
27062         [BZ #14040]
27063         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
27064         in version GLIBC_2.1, not GLIBC_2.0.
27065         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
27066         Likewise.
27068 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
27070         [BZ #13942]
27071         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
27072         (1 - x) * (1 + x).
27073         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
27074         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
27075         * math/libm-test.inc (acos_test): Add more tests.
27076         (asin_test): Likewise.
27077         * sysdeps/i386/fpu/libm-test-ulps: Update.
27078         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27080         [BZ #14034]
27081         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
27082         of square root.
27083         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
27084         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
27085         * math/libm-test.inc (acos_test_tonearest): New function.
27086         (acos_test_towardzero): Likewise.
27087         (acos_test_downward): Likewise.
27088         (acos_test_upward): Likewise.
27089         (asin_test_tonearest): Likewise.
27090         (asin_test_towardzero): Likewise.
27091         (asin_test_downward): Likewise.
27092         (asin_test_upward): Likewise.
27093         (main): Call the new functions.
27094         * sysdeps/i386/fpu/libm-test-ulps: Update.
27095         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27097         [BZ #13884]
27098         [BZ #13924]
27099         * math/e_exp10.c: Include <float.h>.
27100         (__ieee754_exp10): Handle underflow here rather than multiplying
27101         large negative argument by M_LN10.
27102         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
27103         of __ieee754_expf.
27104         * math/e_exp10l.c: Include <float.h>.
27105         (__ieee754_exp10l): Handle underflow here rather than multiplying
27106         large negative argument by M_LN10l.
27107         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
27108         spurious overflow exception on underflow.
27110 2012-04-29  Marek Polacek  <polacek@redhat.com>
27112         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
27113         (__fortify_function): New macro.
27114         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
27115         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
27116         __extern_always_inline.
27117         * libio/bits/stdio2.h: Likewise.
27118         * libio/bits/stdio.h: Likewise.
27119         * string/string.h: Likewise.
27120         * string/bits/string3.h: Likewise.
27121         * include/stdio.h: Likewise.
27122         * stdlib/bits/stdlib.h: Likewise.
27123         * stdlib/stdlib.h: Likewise.
27124         * rt/bits/mqueue2.h: Likewise.
27125         * rt/mqueue.h: Likewise.
27126         * posix/bits/unistd.h: Likewise.
27127         * posix/unistd.h: Likewise.
27128         * io/bits/poll2.h: Likewise.
27129         * io/bits/fcntl2.h: Likewise.
27130         * io/fcntl.h: Likewise.
27131         * io/sys/poll.h: Likewise.
27132         * misc/bits/syslog.h: Likewise.
27133         * misc/bits/syslog-ldbl.h: Likewise.
27134         * misc/sys/syslog.h: Likewise.
27135         * socket/bits/socket2.h: Likewise.
27136         * socket/sys/socket.h: Likewise.
27137         * debug/tst-chk1.c: Likewise.
27138         * wcsmbs/bits/wchar2.h: Likewise.
27139         * wcsmbs/bits/wchar-ldbl.h: Likewise.
27140         * wcsmbs/wchar.h: Likewise.
27142 2012-04-29  Andreas Jaeger  <aj@suse.de>
27144         * Makerules (tests): Remove enable-check-abi protection.
27145         (check-abi-warn): Remove.
27146         (check-abi-%): Remove check-abi-warn usage.
27148         * configure.in: Remove check-abi configure option.
27149         * configure: Regenerated.
27150         * config.make.in (enable-check-abi): Remove.
27152 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
27154         [BZ #14033]
27155         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
27156         double functions to double *_finite functions.
27158         [BZ #13941]
27159         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
27160         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
27161         LDBL_MIN_EXP.
27162         * stdio-common/Makefile (tests): Add tst-sprintf3.
27163         * stdio-common/tst-sprintf3.c: New file.
27165         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
27166         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
27168 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
27170         * conform/conformtest.pl: Remove duplicate typed-constant
27171         handling.
27173 2012-04-28  David S. Miller  <davem@davemloft.net>
27175         * Makerules (%.abilist): Add vpath on sysdep_dirs.
27176         (check-abi-%): Remove AWK script prerequisite and explicit
27177         abilist directory.
27178         (check-abi): Rewrite to just diff the symlist with the abilist.
27179         (config-tls, config-abi-config): Delete, no longer used.
27180         (update-abi-%): Remove AWK script and explicit abilist directory.
27181         (update-abi): Rewrite to simply compare and conditionally copy the
27182         symlist and the sysdep abilist file.  Remove update-abi-config
27183         checks.
27184         * abilist/ld.abilist: Remove.
27185         * abilist/libBrokenLocale.abilist: Remove.
27186         * abilist/libanl.abilist: Remove.
27187         * abilist/libcrypt.abilist: Remove.
27188         * abilist/libdl.abilist: Remove.
27189         * abilist/librt.abilist: Remove.
27190         * abilist/libthread_db.abilist: Remove.
27191         * abilist/libutil.abilist: Remove.
27192         * scripts/extract-abilist.awk: Remove.
27193         * scripts/merge-abilist.awk: Remove.
27194         * sysdeps/generic/libcidn.abilist: New file.
27195         * sysdeps/generic/libnss_compat.abilist: New file.
27196         * sysdeps/generic/libnss_db.abilist: New file.
27197         * sysdeps/generic/libnss_dns.abilist: New file.
27198         * sysdeps/generic/libnss_files.abilist: New file.
27199         * sysdeps/generic/libnss_hesiod.abilist: New file.
27200         * sysdeps/generic/libnss_nis.abilist: New file.
27201         * sysdeps/generic/libnss_nisplus.abilist: New file.
27202         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
27203         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
27204         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
27205         file.
27206         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
27207         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
27208         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
27209         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
27210         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
27211         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
27212         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
27213         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
27214         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
27215         file.
27216         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
27217         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
27218         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
27219         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
27220         file.
27221         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
27222         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
27223         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
27224         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
27225         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
27226         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
27227         file.
27228         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
27229         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
27230         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
27231         file.
27232         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
27233         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
27234         New file.
27235         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
27236         New file.
27237         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
27238         New file.
27239         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
27240         New file.
27241         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
27242         New file.
27243         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
27244         New file.
27245         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
27246         New file.
27247         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
27248         New file.
27249         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
27250         New file.
27251         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
27252         New file.
27253         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
27254         New file.
27255         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
27256         New file.
27257         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
27258         New file.
27259         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
27260         file.
27261         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
27262         New file.
27263         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
27264         New file.
27265         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
27266         file.
27267         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
27268         New file.
27269         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
27270         New file.
27271         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
27272         file.
27273         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
27274         New file.
27275         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
27276         New file.
27277         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
27278         New file.
27279         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
27280         New file.
27281         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
27282         New file.
27283         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
27284         New file.
27285         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
27286         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
27287         file.
27288         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
27289         New file.
27290         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
27291         file.
27292         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
27293         file.
27294         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
27295         file.
27296         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
27297         file.
27298         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
27299         file.
27300         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
27301         New file.
27302         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
27303         file.
27304         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
27305         file.
27306         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
27307         New file.
27308         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
27309         file.
27310         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
27311         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
27312         file.
27313         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
27314         New file.
27315         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
27316         file.
27317         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
27318         file.
27319         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
27320         file.
27321         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
27322         file.
27323         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
27324         file.
27325         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
27326         New file.
27327         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
27328         file.
27329         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
27330         file.
27331         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
27332         New file.
27333         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
27334         file.
27335         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
27336         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
27337         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
27338         file.
27339         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
27340         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
27341         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
27342         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
27343         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
27344         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
27345         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
27346         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
27347         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
27348         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
27349         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
27350         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
27351         file.
27352         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
27353         New file.
27354         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
27355         file.
27356         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
27357         file.
27358         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
27359         file.
27360         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
27361         file.
27362         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
27363         file.
27364         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
27365         New file.
27366         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
27367         New file.
27368         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
27369         file.
27370         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
27371         New file.
27372         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
27373         file.
27374         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
27375         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
27376         file.
27377         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
27378         New file.
27379         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
27380         file.
27381         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
27382         file.
27383         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
27384         file.
27385         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
27386         file.
27387         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
27388         file.
27389         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
27390         New file.
27391         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
27392         New file.
27393         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
27394         file.
27395         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
27396         New file.
27397         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
27398         file.
27400 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
27402         * conform/conformtest.pl: Fix typo in handling typed-constant from
27403         allow-header.
27405 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
27407         * README: Cut down references to pre-2.6 Linux kernels and
27408         Linuxthreads.  Update lists of configurations in libc and ports
27409         and sort alphabetically.  Say "or newer" with Linux kernel version
27410         requirements.
27412         * config.h.in [IS_IN_build]: Allow compiling without optimization.
27414 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
27416         [BZ #887]
27417         * math/libm-test.inc (logb_test_downward): New test to expose
27418         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
27419         rounding mode.
27421 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
27423         [BZ #14027]
27424         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
27425         to be done.
27426         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
27427         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
27429 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
27431         * sysdeps/unix/i386/brk.S: Remove file.
27432         * sysdeps/unix/i386/dl-brk.S: Likewise.
27433         * sysdeps/unix/i386/pipe.S: Likewise.
27434         * sysdeps/unix/i386/sigreturn.S: Likewise.
27435         * sysdeps/unix/i386/syscall.S: Likewise.
27436         * sysdeps/unix/i386/vfork.S: Likewise.
27437         * sysdeps/unix/i386/wait.S: Likewise.
27439         * sysdeps/unix/common/tcsendbrk.c: Move to ...
27440         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
27442         * configure.in (arm*-none*): Do not allow without
27443         --enable-hacker-mode.
27444         (netbsd*): Remove case setting base_os.
27445         (386bsd*): Likewise.
27446         (freebsd*): Likewise.
27447         (bsdi*): Likewise.
27448         (osf*): Likewise.
27449         (sunos*): Likewise.
27450         (ultrix*): Likewise.
27451         (newsos*): Likewise.
27452         (dynix*): Likewise.
27453         (*bsd*): Likewise.
27454         (sysv*): Likewise.
27455         (isc*): Likewise.
27456         (esix*): Likewise.
27457         (sco*): Likewise.
27458         (minix*): Likewise.
27459         (irix4*): Likewise.
27460         (irix6*): Likewise.
27461         (solaris[2-9]*): Likewise.
27462         (none): Likewise.
27463         * configure: Regenerated.
27465 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27467         [BZ #11521]
27468         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
27469         overflow or cancellation in calculating denominator.
27470         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
27471         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
27472         down expression to avoid unexpected rounding in newer GCCs.
27473         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
27475 2012-04-26  David S. Miller  <davem@davemloft.net>
27477         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
27478         long-double compat symbols.
27479         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
27480         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
27481         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
27482         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
27483         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
27484         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
27485         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
27486         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
27487         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
27488         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
27489         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
27490         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
27491         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
27493 2012-04-25  David S. Miller  <davem@davemloft.net>
27495         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
27496         HWCAP_* values only after the memory barriers have been defined.
27497         (atomic_full_barrier): Define.
27498         (atomic_read_barrier): Define.
27499         (atomic_write_barrier): Define.
27501 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
27503         * shlib-versions: Add libgcc_s version information.
27504         * sysdeps/generic/libgcc_s.h: Remove.
27505         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
27506         libgcc_s.h.
27507         * sysdeps/gnu/unwind-resume.c: Likewise.
27508         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
27510 2012-04-25  David S. Miller  <davem@davemloft.net>
27512         * sysdeps/unix/sparc/brk.S: Delete.
27513         * sysdeps/unix/sparc/dl-brk.S: Delete.
27514         * sysdeps/unix/sparc/pipe.S: Delete.
27515         * sysdeps/unix/sparc/sysdep.S: Delete.
27516         * sysdeps/unix/sparc/sysdep.h: Delete.
27517         * sysdeps/unix/sparc/vfork.S: Delete.
27518         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
27519         SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
27520         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
27521         ret_ERRVAL, r0, r1, MOVE): Define.
27522         (JUMPTARGET): Remove.
27523         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
27524         sysdeps/unix/sparc/sysdep.h
27525         (ENTRY, END): Remove.
27526         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
27528 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
27530         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
27531         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
27532         -DIS_IN_build.
27534         * timezone/README: Update upstream location and email address for
27535         tzcode and tzdata.
27536         * timezone/zdump.c: Update from tzcode 2012b.
27537         * timezone/zic.c: Likewise.
27539         * configure.in (libc_cv_as_needed): Remove test.
27540         * configure: Regenerated.
27541         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
27542         conditional definition.
27543         [$(have-as-needed) != yes] (no-as-needed): Likewise.
27544         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
27545         * config.make.in (have-as-needed): Remove variable.
27547 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
27548             Paul Pluzhnikov  <ppluzhnikov@google.com>
27550         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
27551         strings correctly.
27553 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
27555         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
27556         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
27557         * sysdeps/sh/strlen.S: Likewise.
27559 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
27561         * sysdeps/unix/fork.S: Remove file.
27562         * sysdeps/unix/i386/fork.S: Likewise.
27563         * sysdeps/unix/sparc/fork.S: Likewise.
27565         * sysdeps/unix/system.c: Remove file.
27566         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
27568         * sysdeps/unix/getegid.S: Remove file.
27569         * sysdeps/unix/geteuid.S: Likewise.
27571 2012-04-24  Roland McGrath  <roland@hack.frob.com>
27573         * scripts/check-localplt.awk: New file.
27574         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
27575         of diff.
27576         * scripts/data/localplt-generic.data: Add a comment.
27578         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
27579         NODE when __dir_mkfile failed.
27580         * sysdeps/mach/hurd/symlinkat.c: Likewise.
27581         Reported by Ludovic Courtès <ludo@gnu.org>.
27583 2012-04-24  Andreas Jaeger  <aj@suse.de>
27585         * Makerules (common-clean): Also remove gen-as-const-headers
27586         files.
27588 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
27590         * Makerules (native-compile): Do not change working directory for
27591         build.  Use $(OUTPUT_OPTION) in command.
27592         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
27594 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27596         [BZ #13886]
27597         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
27598         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
27599         * math/libm-test.inc (floor_test): Add more tests.
27600         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
27602 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
27604         * sysdeps/unix/getdents.c: Remove file.
27605         * sysdeps/unix/sysv/getdents.c: Likewise.
27606         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
27608         * sysdeps/unix/syscalls.list (madvise): Add syscall from
27609         sysdeps/unix/mman/syscalls.list.
27610         (mmap): Likewise.
27611         (mprotect): Likewise.
27612         (msync): Likewise.
27613         (munmap): Likewise.
27614         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
27615         * sysdeps/unix/mman/syscalls.list: Remove.
27616         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
27618         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
27619         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
27620         * configure: Regenerated.
27621         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
27622         $(libgcc_s_suffix).
27623         * config.make.in (libgcc_s_suffix): Remove variable.
27625 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
27627         * sysdeps/unix/sysv/gethostname.c: Move to ...
27628         * sysdeps/posix/gethostname.c: ... here.
27630         * sysdeps/unix/execve.S: Remove file.
27632         * sysdeps/unix/_exit.S: Remove file.
27634 2012-04-23  Andreas Jaeger  <aj@suse.de>
27636         [BZ #13739]
27637         * manual/Makefile: Remove make dist support, there's no
27638         need for a stand-alone documentation tar ball.
27639         (TEXI2DVI): Define always, it's not in Makeconfig.
27640         (dist): Removed.
27641         (tar-it): Removed.
27642         (edition): Removed.
27643         (glibc-doc-$(edition).tar): Removed
27644         (%.Z): Removed.
27645         (%.gz): Removed.
27646         (%.uu): Removed.
27647         (ETAGS): Remove, it's in Makeconfig.
27648         (move-if-change): Remove, it's in Makeconfig.
27650 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
27652         [BZ #13970]
27653         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
27654         (strtod, strtof, strtold, strtol, strtoul, strtoq)
27655         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
27656         (strtod_l, strtof_l, strtold_l): Remove __wur.
27657         It is not necessarily an error to ignore strtol's return value.
27658         One can reliably look at the stored endptr to decide whether
27659         the number had valid syntax.
27661 2012-04-21  Andreas Jaeger  <aj@suse.de>
27663         [BZ #13739]
27664         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
27666 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
27668         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
27669         * sysdeps/unix/sysv/Versions: Remove file.
27671 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
27673         [BZ #13927]
27674         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27676 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
27678         [BZ #7064]
27679         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
27680         version from __vm86.
27682 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
27684         * sysdeps/unix/common/lxstat.c: Remove file.
27685         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
27687         * sysdeps/unix/sysv/Makefile: Remove file.
27689         * sysdeps/unix/sysv/direct.h: Remove file.
27691         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
27692         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
27693         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
27694         * sysdeps/unix/sysv/bits/signum.h: Likewise.
27695         * sysdeps/unix/sysv/bits/stat.h: Likewise.
27696         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
27697         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
27699         * sysdeps/unix/sysv/setrlimit.c: Remove file.
27701         * sysdeps/unix/xmknod.c: Remove file.
27702         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
27704         * sysdeps/unix/sysv/settimeofday.c: Remove file.
27706         * sysdeps/unix/sysv/i386/time.S: Remove file.
27708         * sysdeps/unix/fxstat.c: Remove file.
27709         * sysdeps/unix/xstat.c: Likewise.
27710         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
27712         * sysdeps/unix/sysv/sigaction.c: Remove file.
27714         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
27715         (sysdep_headers): Remove variable.
27716         [termio.h not in sysdep_headers] (generated): Likewise.
27717         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
27718         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
27719         * sysdeps/unix/sysv/tcdrain.c: Likewise.
27720         * sysdeps/unix/sysv/tcflow.c: Likewise.
27721         * sysdeps/unix/sysv/tcflush.c: Likewise.
27722         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
27723         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
27724         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
27725         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
27726         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
27728         * sysdeps/unix/siglist.c: Remove file.
27730         * sysdeps/unix/getppid.S: Remove file.
27732         * sysdeps/unix/mkdir.c: Remove file.
27733         * sysdeps/unix/rmdir.c: Likewise.
27735 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
27737         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
27738         ERR_MAX value.
27739         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
27740         errlist-compat value.
27742 2012-04-18  David S. Miller  <davem@davemloft.net>
27744         * sysdeps/generic/memcopy.h (reg_char): Delete.
27745         * debug/strcat_chk.c: Use char, not reg_char.
27746         * debug/strcpy_chk.c: Likewise.
27747         * debug/strncat_chk.c: Likewise.
27748         * debug/strncpy_chk.c: Likewise.
27749         * string/memchr.c: Likewise.
27750         * string/memrchr.c: Likewise.
27751         * string/rawmemchr.c: Likewise.
27752         * string/strcat.c: Likewise.
27753         * string/strchr.c: Likewise.
27754         * string/strchrnul.c: Likewise.
27755         * string/strcmp.c: Likewise.
27756         * string/strcpy.c: Likewise.
27757         * string/strncat.c: Likewise.
27758         * string/strncmp.c: Likewise.
27759         * string/strncpy.c: Likewise.
27761 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
27763         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
27764         __builtin_memcopy is called when src and dest ranges are known to not
27765         overlap.
27767 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
27769         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
27770         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
27771         fwd_align_merge macro call.
27772         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
27773         bwd_align_merge macro call.
27774         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
27776 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
27778         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
27779         bwd_align_merge macros.
27780         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
27781         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
27782         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
27784 2012-04-18  David S. Miller  <davem@davemloft.net>
27786         * sysdeps/sparc/sparc64/memcopy.h: Delete.
27788 2012-04-18  Andreas Jaeger  <aj@suse.de>
27790         [BZ# 6794]
27791         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
27792         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
27793         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
27795         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
27796         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
27797         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
27799         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
27800         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
27801         Adjust for changed ldbl-128 files.
27803         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
27804         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
27805         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
27807 2012-04-17  David S. Miller  <davem@davemloft.net>
27809         * sysdeps/sparc/sparc32/memcopy.h: Delete.
27811 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
27813         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
27814         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
27815         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
27816         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
27817         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
27818         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
27820 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27822         [BZ #6794]
27823         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
27824         * math/libm-test.inc: Add ilogb errno and exception tests.
27825         * math/w_ilogb.c: New file: ilogb wrapper.
27826         * math/w_ilogbf.c: New file: ilogbf wrapper.
27827         * math/w_ilogbl.c: New file: ilogbl wrapper.
27828         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
27829         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
27830         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
27831         exception being thrown with 0.0 as argument.
27832         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
27833         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
27834         exception being thrown with 0.0 as argument.
27835         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
27836         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
27837         exception being thrown with 0.0 as argument.
27838         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
27839         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
27840         exception being thrown with 0.0 as argument.
27841         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
27842         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
27843         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
27844         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
27845         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
27846         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
27847         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
27848         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
27849         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
27851 2012-04-17  Petr Baudis  <pasky@ucw.cz>
27853         * include/sys/uio.h: Change __vector to __iovec to avoid clash
27854         with altivec.
27856 2012-04-16  Marek Polacek  <polacek@redhat.com>
27858         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
27860 2012-04-16  Marek Polacek  <polacek@redhat.com>
27862         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
27863         operands of fdivp instruction.
27865 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
27867         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
27868         * elf/tst-auditmod3b.c: Likewise.
27869         * elf/tst-auditmod4b.c: Likewise.
27870         * elf/tst-auditmod5b.c: Likewise.
27871         * elf/tst-auditmod6b.c: Likewise.
27872         * elf/tst-auditmod6c.c: Likewise.
27873         * elf/tst-auditmod7b.c: Likewise.
27874         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
27875         * sysdeps/x86_64/preconfigure.in: Likewise.
27876         * sysdeps/x86_64/preconfigure: Regenerated.
27878 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
27880         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
27881         __ILP32__.
27883 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
27885         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
27886         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
27888 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
27890         [BZ #13973]
27891         * locale/iso-639.def: Fix gl language name. Spotted by
27892         Yaron Shahrabani.
27894 2012-04-12  Roland McGrath  <roland@hack.frob.com>
27896         [BZ #2074]
27897         * libio/libio.h (__io_write_fn): Update comment.
27899 2012-04-12  Petr Baudis  <pasky@ucw.cz>
27901         [BZ #2074]
27902         * stdio.texi (Hook Functions): The user provided writer function
27903         is not allowed to return -1.
27905 2012-04-11  David S. Miller  <davem@davemloft.net>
27907         * sysdeps/sparc/fpu/libm-test-ulps: Update.
27909 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
27911         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
27912         Add a leading slash to rtkaio.
27914 2012-04-11  Jim Meyering  <meyering@redhat.com>
27916         [BZ #11959]
27917         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
27918         It is not necessarily an error to ignore fwrite's return
27919         value.  One can reliably use ferror to test for errors after
27920         the fact.
27922 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
27924         * bits/types.h (__snseconds_t): New type.
27925         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
27927         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
27928         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
27929         (__SNSECONDS_T_TYPE): Likewise.
27930         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
27931         (__SNSECONDS_T_TYPE): Likewise.
27932         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
27933         (__SNSECONDS_T_TYPE): Likewise.
27935 2012-04-10  Andreas Jaeger  <aj@suse.de>
27937         [BZ #2636]
27938         * manual/time.texi (Processor Time): Return type of times is
27939         elapsed real time since an arbitrary point in the past.
27940         (CPU Time): Move CLK_TCK from here...
27941         (Processor Time): ...to here.  Correct description.
27942         * manual/conf.texi (Constants for Sysconf): Correct description of
27943         _SC_CLK_TCK.
27945 2012-04-10  David S. Miller  <davem@davemloft.net>
27947         [BZ #13967]
27948         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
27949         where the is a gap between DT_REL(A) and DT_JMPREL.
27951 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
27953         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
27954         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
27955         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
27957 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
27959         * elf/dl-support.c (_dl_inhibit_cache): New variable.
27960         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
27961         (dl_main): Handle --inhibit-cache.
27962         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
27963         _dl_inhibit_cache.
27964         * elf/dl-load.c (_dl_map_object): Use it.
27965         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
27967 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
27969         [BZ #13872]
27970         * sysdeps/i386/fpu/e_powl.S (p78): New object.
27971         (__ieee754_powl): Saturate large exponents rather than testing for
27972         overflow of y*log2(x).
27973         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
27974         * math/libm-test.inc (pow_test): Do not permit spurious overflow
27975         exceptions.
27977         [BZ #11521]
27978         * math/s_ctan.c: Include <float.h>.
27979         (__ctan): Avoid internal overflow or cancellation in calculating
27980         denominator.
27981         * math/s_ctanf.c: Likewise.
27982         * math/s_ctanl.c: Likewise.
27983         * math/s_ctanh.c: Likewise.
27984         * math/s_ctanhf.c: Likewise.
27985         * math/s_ctanhl.c: Likewise.
27986         * math/libm-test.inc (ctan_test): Add more tests.
27987         (ctanh_test): Likewise.
27988         * sysdeps/i386/fpu/libm-test-ulps: Update.
27989         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27991 2012-04-09  Andreas Jaeger  <aj@suse.de>
27993         [BZ #6894]
27994         * manual/filesys.texi (Directory Entries): Mention that d_namlen
27995         is an optional BSD extension.
27997         [BZ #10254]
27998         * manual/stdio.texi (Opening Streams): Document additional fopen
27999         parameters.
28001 2012-04-09  Roland McGrath  <roland@hack.frob.com>
28003         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
28004         %eax without telling the compiler.
28006 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
28008         [BZ # 13963]
28009         * manual/install.texi: Use sourceware.org.
28011 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
28013         [BZ #13873]
28014         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
28015         (__ieee754_pow): Generate overflow and underflow using huge*huge
28016         and tiny*tiny rather than just returning constant infinity or zero
28017         for large exponents.
28018         * math/libm-test.inc (pow_test): Require overflow exceptions for
28019         applicable cases of large exponents.
28021         [BZ #706]
28022         * sysdeps/i386/fpu/e_pow.S (p10): New object.
28023         (__ieee754_pow): Use iterative multiplication algorithm only for
28024         integer exponents with absolute value below 1024.  Check for odd
28025         integer exponents when using algorithm for real exponents.
28026         * math/libm-test.inc (pow_test): Add more tests.
28027         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
28029 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
28031         [BZ #13705]
28032         * math/libm-test.inc (exp_test): Do not allow overflow exception
28033         on underflow test.
28035 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
28037         [BZ #13705]
28038         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
28039         instead of __kernel_standard_f.
28041 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
28043         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
28044         * sysdeps/x86_64/memset_chk.S: Likewise.
28046 2012-04-08  Andreas Jaeger  <aj@suse.de>
28048         [BZ #10153]
28049         * manual/startup.texi (Environment Access): Describe return value
28050         for putenv and setenv.
28052         [BZ #6895]
28053         * manual/filesys.texi (Directory Entries): Add description for
28054         DT_LNK.
28056         [BZ #6890]
28057         * manual/filesys.texi (Directory Entries): Clarify that it's file
28058         system not operating system in the description of DT_UNKNOWN.
28060         [BZ #6578]
28061         * manual/syslog.texi (closelog): Fix reference, it's openlog.
28063 2012-04-08  Stephen Compall  <s11@member.fsf.org>
28065         [BZ #6649]
28066         * manual/llio.texi (Opening and Closing Files): Add cross
28067         reference to explain mode argument.
28069 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
28071         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
28072         * sysdeps/x86_64/memset_chk.S: Likewise.
28074 2012-04-07  David S. Miller  <davem@davemloft.net>
28076         * elf/elf.h (R_SPARC_WDISP10): Define.
28077         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
28078         R_SPARC_SIZE32.
28079         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
28080         R_SPARC_SIZE64 and R_SPARC_H34.
28082 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
28084         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
28085         conditions and remove no longer applicable assertion.
28087 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
28089         * bits/byteswap.h: Include <features.h>.
28090         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
28091         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
28093 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
28095         * bits/byteswap.h (__bswap_16): Removed.
28096         Include <bits/byteswap-16.h> to get __bswap_16.
28097         * sysdeps/i386/bits/byteswap.h: Likewise.
28098         * sysdeps/s390/bits/byteswap.h: Likewise.
28099         * sysdeps/x86_64/bits/byteswap.h: Likewise.
28100         * bits/byteswap-16.h: New file.
28101         * sysdeps/i386/bits/byteswap-16.h: Likewise.
28102         * sysdeps/s390/bits/byteswap-16.h: Likewise.
28103         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
28104         * string/Makefile (headers): Add bits/byteswap-16.h.
28106 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
28108         [BZ #13895]
28109         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
28110         extra indirection.
28111         * nss/Makefile (tests-static, tests): Add tst-nss-static.
28112         * nss/tst-nss-static.c: New.
28114 2012-04-06  Robert Millan  <rmh@gnu.org>
28116         [BZ #6486]
28117         * manual/llio.texi (File Position Primitive): lseek
28118         refers to WHENCE when it really means OFFSET.
28120 2012-04-06  Andreas Jaeger  <aj@suse.de>
28122         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
28123         strncmp declarations.
28125         * abilist/libc.abilist: Add __poll and __ppoll.
28127 2012-04-05  David S. Miller  <davem@davemloft.net>
28129         * scripts/check-local-headers.sh: Accept a host triplet in the
28130         path matched by the exclude regexp.
28132         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
28133         definition.
28134         * sysdeps/powerpc/powerpc32/dl-machine.h
28135         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
28136         * sysdeps/s390/s390-32/dl-machine.h
28137         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
28138         * sysdeps/sparc/sparc32/dl-machine.h
28139         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
28140         * sysdeps/sparc/sparc64/dl-machine.h
28141         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
28143         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
28144         lazy binding.
28145         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
28146         undefined symbol errors.
28148         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
28149         DT_NEEDED entries.
28151 2012-04-05  Michael Matz  <matz@suse.de>
28153         [BZ #13592]
28154         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
28156 2012-04-05  Andreas Jaeger  <aj@suse.de>
28158         [BZ #13908]
28159         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
28160         comment.
28162 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
28164         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
28165         which ROUND is no valid rounding mode.
28167 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
28169         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
28170         read again.
28171         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
28173 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
28175         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
28176         an exception using FPU order intentionally.
28178 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
28180         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
28181         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
28182         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
28183         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
28185 2012-04-05  Simon Josefsson  <simon@josefsson.org>
28187         [BZ #12340]
28188         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
28189         EINVAL when BUFLEN is too smal.
28191 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
28193         [BZ #13553]
28194         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
28195         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
28197 2012-04-03  Andreas Jaeger  <aj@suse.de>
28199         [BZ #13938]
28200         * manual/setjmp.texi (System V contexts): Fix sentence.
28202         [BZ #13926]
28203         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
28204         New macro for this case.
28205         [!__GNUC__] (__bswap_64): New inline function for this case.
28206         * sysdeps/x86_64/bits/byteswap.h: Likewise.
28207         * bits/byteswap.h: Likewise.
28208         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
28209         ull, guard with __GLIBC_HAVE_LONG_LONG.
28211         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
28212         __GLIBC_HAVE_LONG_LONG.
28214         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
28215         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
28217 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
28219         [BZ #13691]
28220         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
28221         inptr and inend, rather than using last_ch.
28223 2012-04-02  David S. Miller  <davem@davemloft.net>
28225         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
28226         * stdio-common/printf-parse.h (read_int): Change return type to
28227         'int', return -1 on INT_MAX overflow.
28228         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
28229         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
28230         overflows INT_MAX.  Check for overflow of in-format-string precision
28231         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
28232         SIZE_MAX not INT_MAX for integer overflow test.
28233         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
28234         skip the construct in the format string but do not record anything.
28235         * stdio-common/bug22.c: Adjust to test both width/prevision
28236         INT_MAX overflow as well as total length INT_MAX overflow.  Check
28237         explicitly for proper errno values.
28239 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
28241         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
28242         CHAR_MAX.
28243         * string/test-strcmp.c [! WIDE]: Likewise.
28244         * time/tst-mktime2.c: Likewise for INT_MAX.
28245         * string/test-string.h: #include <sys/param.h> for MIN.
28247         * csu/init-first.c (__libc_init_first): Call __ctype_init.
28248         * sysdeps/i386/init-first.c (init): Likewise.
28249         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
28250         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
28251         * sysdeps/sh/init-first.c (init): Likewise.
28253 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
28255         * po/ru.po: Update from translation team.
28256         * po/vi.po: Likewise.
28258 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
28260         * resolv/nss_dns/dns-host.c: Merge copyright years.
28262 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
28264         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
28265         Optimize memcpy with prefetch if
28266         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
28267         src, dst pointers have unequal 16 byte alignments.
28269 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
28271         [BZ #13928]
28272         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
28273         from a CNAME entry and return the minimum ttl for the query.
28274         (gaih_getanswer_slice): Likewise.
28276 2012-03-30  Jeff Law  <law@redhat.com>
28278         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
28279         due to long keys.
28280         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
28281         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
28283         * resolv/nss_dns/dns-host.c: Update copyright year.
28285 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
28287         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
28288         requests to save a system call.  Fix check that all bytes are sent.
28290         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
28291         comments for sendmmsg.
28293 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
28295         [BZ #13691]
28296         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
28297         with only 1 character between 0x0041 and 0x01b0.
28298         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
28299         * wcsmbs/tst-mbsnrtowcs.c: New file.
28301 2012-03-29  David S. Miller  <davem@davemloft.net>
28303         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
28304         small copies by hand.
28306 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
28308         [BZ #13761]
28309         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
28310         _nss_compat_initgroups_dyn): Fall back to malloc/free
28311         for large group memberships.
28313 2012-03-28  David S. Miller  <davem@davemloft.net>
28315         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
28316         that branches into memcpy.
28317         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
28318         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
28319         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
28320         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
28321         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
28322         bits.
28323         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
28324         implementation too.
28325         * sysdeps/sparc/mempcpy.S: New file.
28327         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
28328         the IFUNC routine in the libc case.
28329         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
28331         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
28332         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
28333         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
28334         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
28335         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
28336         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
28337         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
28338         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
28340         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
28341         loop to 256 bytes instead of 64 bytes and fix test signedness.
28343         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
28344         * sysdeps/sparc/sparc32/Makefile: rather than here...
28345         * sysdeps/sparc/sparc64/Makefile: and here.
28347 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
28349         * malloc/mallocbug.c: Avoid warnings about unused variables.
28351 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
28353         [BZ #13760]
28354         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
28355         in the right place. Discard and retry query if response is
28356         larger than input buffer size.
28358 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
28360         [BZ #369]
28361         [BZ #2678]
28362         [BZ #3866]
28363         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
28364         x for large integer exponent.
28365         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
28366         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
28367         sign of result as needed afterwards.
28368         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
28369         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
28370         result for underflowing pow the same as for overflow.
28371         (__kernel_standard_l): Handle powl overflow and underflow here
28372         rather than calling __kernel_standard.
28373         * math/libm-test.inc (pow_test): Add more tests.
28375         [BZ #3868]
28376         [BZ #13879]
28377         [BZ #13910]
28378         [BZ #13911]
28379         [BZ #13912]
28380         [BZ #13913]
28381         [BZ #13915]
28382         [BZ #13916]
28383         [BZ #13917]
28384         [BZ #13918]
28385         [BZ #13919]
28386         [BZ #13920]
28387         [BZ #13921]
28388         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
28389         * sysdeps/ieee754/k_standard.c: Include <float.h>.
28390         (__kernel_standard_l): New function.
28391         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
28392         __kernel_standard.
28393         * math/w_acosl.c (__acosl): Likewise.
28394         * math/w_asinl.c (__asinl): Likewise.
28395         * math/w_atan2l.c (__atan2l): Likewise.
28396         * math/w_atanhl.c (__atanhl): Likewise.
28397         * math/w_coshl.c (__coshl): Likewise.
28398         * math/w_exp10l.c (__exp10l): Likewise.
28399         * math/w_exp2l.c (__exp2l): Likewise.
28400         * math/w_fmodl.c (__fmodl): Likewise.
28401         * math/w_hypotl.c (__hypotl): Likewise.
28402         * math/w_j0l.c (__j0l, __y0l): Likewise.
28403         * math/w_j1l.c (__j1l, __y1l): Likewise.
28404         * math/w_jnl.c (__jnl, __ynl): Likewise.
28405         * math/w_lgammal.c (__lgammal): Likewise.
28406         * math/w_log10l.c (__log10l): Likewise.
28407         * math/w_log2l.c (__log2l): Likewise.
28408         * math/w_logl.c (__logl): Likewise.
28409         * math/w_powl.c (__powl): Likewise.
28410         * math/w_remainderl.c (__remainderl): Likewise.
28411         * math/w_scalbl.c (sysv_scalbl): Likewise.
28412         * math/w_sinhl.c (__sinhl): Likewise.
28413         * math/w_sqrtl.c (__sqrtl): Likewise.
28414         * math/w_tgammal.c (__tgammal): Likewise.
28415         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
28416         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
28417         * math/libm-test.inc (acos_test): Add more tests.
28418         (acosh_test): Likewise.
28419         (asin_test): Likewise.
28420         (atanh_test): Likewise.
28421         (exp_test): Likewise.
28422         (exp10_test): Likewise.
28423         (exp2_test): Likewise.
28424         (expm1_test): Likewise.
28425         (lgamma_test): Likewise.
28426         (log_test): Likewise.
28427         (log10_test): Likewise.
28428         (log1p_test): Likewise.
28429         (log2_test): Likewise.
28430         (pow_test): Do not allow some spurious overflow exceptions.
28431         (sqrt_test): Add more tests.
28432         (tgamma_test): Likewise.
28433         (y0_test): Likewise.
28434         (y1_test): Likewise.
28435         (yn_test): Likewise.
28437 2012-03-27  Anton Blanchard  <anton@samba.org>
28439         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
28440         MAP_HUGETLB.
28441         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
28442         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
28443         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
28445 2012-03-27  David S. Miller  <davem@davemloft.net>
28447         * conform/Makefile: Run run-conformtest.sh using $(BASH).
28449         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
28450         have-as-vis3 check.
28452 2012-03-27  Andreas Jaeger  <aj@suse.de>
28454         * sysdeps/x86_64/elf/configure.in: Moved to ...
28455         * sysdeps/x86_64/configure.in: ... here.
28456         * sysdeps/x86_64/elf/start.S: Moved to ...
28457         * sysdeps/x86_64/start.S: ... here.
28458         * sysdeps/x86_64/elf/configure: Delete.
28460         * sysdeps/x86_64/configure.in: Merge contents from
28461         sysdeps/i386/configure.in (without i686 check).
28463         * sysdeps/i386/elf/Versions: Merge into ...
28464         * sysdeps/i386/Versions: ... this.
28465         * sysdeps/i386/elf/Versions: Delete file.
28466         * sysdeps/i386/elf/start.S: Moved to ...
28467         * sysdeps/i386/start.S: ...here.
28468         * sysdeps/i386/elf/configure.in: Merge into...
28469         * sysdeps/i386/configure.in: ...here.
28470         * sysdeps/i386/elf/configure.in: Delete file.
28471         * sysdeps/i386/elf/configure: Delete file.
28473         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
28474         * debug/backtracesyms.c: ... here.
28475         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
28476         * debug/backtracesymsfd.c: ... here.
28477         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
28478         * sysdeps/generic/ifunc-sel.h: ... here.
28480         * sysdeps/unix/i386/start.c: Delete file.
28481         * sysdeps/unix/sparc/start.c: Delete file.
28482         * sysdeps/unix/start.c: Delete file.
28484         * sysdeps/sh/elf/configure.in: Moved to ...
28485         * sysdeps/sh/configure.in: ... here.
28486         * sysdeps/sh/elf/start.S: Moved to ...
28487         * sysdeps/sh/start.S: ... here.
28488         * sysdeps/sh/elf/configure: Delete file.
28490         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
28491         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
28492         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
28493         * sysdeps/powerpc/powerpc64/entry.h: ... here.
28494         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
28495         * sysdeps/powerpc/powerpc64/start.S: here.
28496         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
28497         * sysdeps/powerpc/powerpc64/Makefile: ... this.
28498         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
28499         * sysdeps/powerpc/powerpc64/configure.in: ... this.
28500         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
28502         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
28503         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
28504         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
28505         * sysdeps/powerpc/powerpc32/start.S: ... here.
28506         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
28507         * sysdeps/powerpc/powerpc32/configure.in: ... this.
28508         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
28510         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
28511         * sysdeps/powerpc/ifunc-sel.h: ... here.
28512         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
28513         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
28515         * sysdeps/sparc/elf/configure.in: Moved to ...
28516         * sysdeps/sparc/configure.in: ... here.
28517         * sysdeps/sparc/elf/configure: Delete file.
28518         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
28519         * sysdeps/sparc/sparc32/start.S: ... here.
28520         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
28521         * sysdeps/sparc/sparc64/start.S: ... here.
28522         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
28523         * sysdeps/sparc/sparc32/Makefile: ... this.
28524         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
28525         * sysdeps/sparc/sparc64/Makefile: ... this.
28527         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
28528         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
28529         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
28530         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
28531         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
28532         * sysdeps/s390/s390-32/setjmp.S: ... here.
28533         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
28534         * sysdeps/s390/s390-32/configure.in: ... here.
28535         * sysdeps/s390/s390-32/elf/configure: Delete file.
28536         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
28537         * sysdeps/s390/s390-32/start.S: ... here.
28539         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
28540         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
28541         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
28542         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
28543         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
28544         * sysdeps/s390/s390-64/setjmp.S: ... here.
28545         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
28546         * sysdeps/s390/s390-64/configure.in: ... here
28547         * sysdeps/s390/s390-64/elf/configure: Delete file.
28548         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
28549         * sysdeps/s390/s390-64/start.S: ... here.
28550         * sysdeps/s390/s390-64/elf/configure: Delete.
28552         * configure.in: Remove support for elf directories in sysdeps.
28554         * configure: Regenerated.
28555         * sysdeps/i386/configure: Regenerated.
28556         * sysdeps/powerpc/powerpc32/configure: Regenerated.
28557         * sysdeps/powerpc/powerpc64/configure: Regenerated.
28558         * sysdeps/s390/s390-32/configure: Regenerated.
28559         * sysdeps/s390/s390-64/configure: Regenerated.
28560         * sysdeps/sh/configure: Regenerated.
28561         * sysdeps/sparc/configure: Regenerated.
28562         * sysdeps/x86_64/configure: Regenerated.
28564 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
28566         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28568         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
28569         denormal result into account.
28571 2012-03-25  Roland McGrath  <roland@hack.frob.com>
28573         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
28574         Reported by Allan McRae <allan@archlinux.org>.
28576 2012-03-23  Jeff Law  <law@redhat.com>
28578         * nss/getnssent.c (__nss_getent): Fix typo.
28580 2012-03-23  David S. Miller  <davem@davemloft.net>
28582         * sysdeps/sparc/fpu/libm-test-ulps: Update.
28584 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
28586         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
28587         to pad to uint64_t for each field.
28588         (dl_tls_index): Replace unsigned long with uint64_t.
28590 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
28591         Paul Pluzhnikov  <ppluzhnikov@google.com>
28593         [BZ #6528]
28594         * grp/Makefile (otherlibs): Don't set it.
28595         * inet/Makefile (otherlibs): Likewise.
28596         * login/Makefile (otherlibs): Likewise.
28597         * nscd/Makefile (otherlibs): Likewise.
28598         * posix/Makefile (otherlibs): Likewise.
28599         * pwd/Makefile (otherlibs): Likewise.
28600         * rt/Makefile (otherlibs): Likewise.
28601         * sunrpc/Makefile (otherlibs): Likewise.
28602         * nss/Makefile (otherlibs): Likewise.
28603         Add libnss_files to routines and static-only-routines.
28604         ($(objpfx)getent): Remove rule.
28605         * resolv/Makefile: Add libnss_dns and libresolv to routines and
28606         static-only-routines.
28608 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
28610         [BZ #13892]
28611         * math/s_cexp.c: Include <float.h>.
28612         (__cexp): Handle exp result overflowing not necessarily
28613         overflowing both real and imaginary parts of result.
28614         * math/s_cexpf.c: Likewise.
28615         * math/s_cexpl.c: Likewise.
28616         * math/libm-test.inc (cexp_test): Add more tests.
28617         * sysdeps/i386/fpu/libm-test-ulps: Update.
28618         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28620 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
28622         * include/link.h (ELFW): New macro.
28623         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
28624         Replace ELF64_R_TYPE with ELFW(R_TYPE).
28626 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
28628         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
28629         with uint64_t.
28631 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
28633         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
28634         declaration.
28635         (struct La_x32_retval): Likewise.
28637 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
28639         * sysdeps/x86_64/preconfigure.in: New file.
28640         * sysdeps/x86_64/preconfigure: New generated file.
28642 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
28644         [BZ #13824]
28645         * math/e_exp2l.c: Include <float.h>.
28646         (__ieee754_exp2l): Handle overflow and underflow cases
28647         separately.  Only pass fractional part of argument to
28648         __ieee754_expl.
28649         * math/libm-test.inc (exp2_test): Add more tests.
28651         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
28652         negating x to take absolute value.
28653         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
28654         Likewise.
28655         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
28656         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
28657         Likewise.
28658         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
28659         computing low part if x was negated.
28660         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
28662 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
28664         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
28665         la_x32_gnu_pltexit.
28666         (pltexit): Cast int_retval to ptrdiff_t.
28667         * elf/tst-auditmod3b.c: Likewise.
28668         * elf/tst-auditmod4b.c: Likewise.
28669         * elf/tst-auditmod5b.c: Likewise.
28670         * elf/tst-auditmod6b.c: Likewise.
28671         * elf/tst-auditmod6c.c: Likewise.
28672         * elf/tst-auditmod7b.c: Likewise.
28674         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
28675         and x32_gnu_pltexit.
28677         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
28678         __ELF_NATIVE_CLASS.
28679         (La_x32_regs): New macro.
28680         (La_x32_retval): Likewise.
28681         (la_x32_gnu_pltenter): New function prototype.
28682         (la_x32_gnu_pltexit): Likewise.
28684 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
28686         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
28687         exponent.
28689         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28691         * configure.in (libc_cv_cc_nofma): Check for option to disable
28692         generation of FMA instructions.
28693         * configure: Regenerate.
28694         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
28695         * sysdeps/ieee754/dbl-64/Makefile: New file.
28696         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
28697         Remove brandred-fma4.
28698         (CFLAGS-brandred-fma4.c): Remove.
28699         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
28700         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
28701         define.
28702         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
28703         define.
28705 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
28707         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
28708         LLONG_MAX != LONG_MAX.
28709         (_itoa_word): Use _ITOA_WORD_TYPE on value.
28710         (_fitoa_word): Likewise.
28711         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
28712         LLONG_MAX != LONG_MAX.
28713         * stdio-common/_itowa.h: Include <_itoa.h>.
28714         (_itowa_word): Use _ITOA_WORD_TYPE on value.
28715         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
28716         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
28717         only if not defined.
28718         (_ITOA_WORD_TYPE): Likewise.
28719         (_itoa_word): Use _ITOA_WORD_TYPE on value.
28720         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
28722 2012-03-21  David S. Miller  <davem@davemloft.net>
28724         * sysdeps/sparc/fpu/libm-test-ulps: Update.
28726 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
28728         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
28729         of x86_64 when setting libc_cv_slibdir, libdir and
28730         libc_cv_localedir.
28731         * sysdeps/unix/sysv/linux/configure: Regenerated.
28733 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
28735         * manual/lang.texi (Old Varargs): Remove section.
28736         (How Variadic): Update menu.
28737         (va_start): Do not mention varargs.h.
28739 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
28740             Joseph Myers  <joseph@codesourcery.com>
28742         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
28743         link test.
28744         * configure: Regenerated.
28746 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
28748         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
28749         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
28750         conformtest.pl
28752 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
28754         * NOTES: Remove.
28755         * Makefile (files-for-dist): Remove NOTES.
28756         (NOTES): Remove rule.
28757         * README: Don't refer to NOTES.
28758         * manual/creature.texi: Don't include macros.texi.
28759         * manual/intro.texi (creature.texi): Remove comment referring to
28760         NOTES.
28762         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
28763         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
28764         * configure: Regenerated.
28765         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
28766         LIBC_TRY_CC_OPTION.
28767         (libc_cv_as_i686): Likewise.
28768         (libc_cv_cc_avx): Likewise.
28769         (libc_cv_cc_sse2avx): Likewise.
28770         (libc_cv_cc_fma4): Likewise.
28771         (libc_cv_cc_novzeroupper): Likewise.
28772         * sysdeps/i386/configure: Regenerated.
28774         [BZ #13883]
28775         * sysdeps/i386/fpu/s_cexp.S: Remove.
28776         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
28777         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
28778         * math/libm-test.inc (cexp_test): Add more tests.
28779         * sysdeps/i386/fpu/libm-test-ulps: Update.
28780         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28782 2012-03-21  Allan McRae  <allan@archlinux.org>
28784         * timezone/Makefile: Do not install iso3166.tab and zone.tab
28786 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
28788         [BZ #13871]
28789         * math/w_exp2.c: Do not include <float.h>.
28790         (o_threshold, u_threshold): Remove.
28791         (__exp2): Calculate result before checking finiteness and calling
28792         __kernel_standard.
28793         * math/w_exp2f.c: Likewise.
28794         * math/w_exp2l.c: Likewise.
28795         * math/libm-test.inc (exp2_test): Require overflow exception for
28796         1e6 input.
28798         [BZ #3866]
28799         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
28800         range of signed 64-bit integers before using fistpll.  Remove
28801         checks for whether integers fit in mantissa bits.
28802         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
28803         the range of signed 32-bit integers before using fistpl.  Remove
28804         checks for whether integers fit in mantissa bits.
28805         * sysdeps/i386/fpu/e_powl.S (p64): New object.
28806         (__ieee754_powl): Test for y outside the range of signed 64-bit
28807         integers before using fistpll.  Reduce 64-bit values to 63-bit
28808         ones as needed.
28809         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
28810         divide-by-zero is raised for zero to large negative powers.
28811         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
28812         (__ieee754_powl): Test for y outside the range of signed 64-bit
28813         integers before using fistpll.  Reduce 64-bit values to 63-bit
28814         ones as needed.
28815         * math/libm-test.inc (pow_test): Add more tests.
28817 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
28819         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
28820         <stdio-common/_itoa.h>.
28821         * debug/segfault.c: Likewise.
28822         * elf/dl-cache.c: Likewise.
28823         * elf/dl-minimal.c: Likewise.
28824         * elf/dl-misc.c: Likewise.
28825         * elf/dl-sysdep.c: Likewise.
28826         * elf/dl-version.c: Likewise.
28827         * elf/rtld.c: Likewise.
28828         * hurd/hurdsock.c: Likewise.
28829         * hurd/lookup-retry.c: Likewise.
28830         * malloc/malloc.c: Likewise.
28831         * malloc/mtrace.c: Likewise.
28832         * nscd/nscd_getgr_r.c: Likewise.
28833         * nscd/nscd_getpw_r.c: Likewise.
28834         * nscd/nscd_getserv_r.c: Likewise.
28835         * posix/getopt_init.c: Likewise.
28836         * posix/wordexp.c: Likewise.
28837         * stdio-common/_itoa.c: Likewise.
28838         * stdio-common/printf_fphex.c: Likewise.
28839         * stdio-common/vfprintf.c: Likewise.
28840         * string/_strerror.c: Likewise.
28841         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
28842         * sysdeps/i386/i686/hp-timing.h: Likewise.
28843         * sysdeps/mach/_strerror.c: Likewise.
28844         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
28845         * sysdeps/mach/hurd/sethostid.c: Likewise.
28846         * sysdeps/mach/hurd/xmknodat.c: Likewise.
28847         * sysdeps/mach/xpg-strerror.c: Likewise.
28848         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
28849         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
28850         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
28851         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
28852         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
28853         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
28854         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
28855         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
28856         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
28857         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
28858         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
28859         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
28860         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
28861         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
28862         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
28863         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
28864         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
28865         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
28866         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
28867         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
28868         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
28870         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
28872         * stdio-common/_itoa.h: Moved to ...
28873         * sysdeps/generic/_itoa.h: Here.
28875         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
28877         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
28878         instead of "_itoa.h" and "_itowa.h".
28879         * stdio-common/vfprintf.: Likewise.
28881 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
28883         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
28884         <bits/wordsize.h>.
28885         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
28886         (__signbit): Likwise.
28887         (llrintf): Likwise.
28888         (llrint): Likwise.
28890 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
28892         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
28893         __WORDSIZE != 64.
28895 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
28897         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
28898         OVERFLOW_EXCEPTION_OK.
28899         * math/libm-test.inc ("Philosophy"): Update comment about
28900         exception testing.
28901         (OVERFLOW_EXCEPTION): Define.
28902         (OVERFLOW_EXCEPTION_OK): Likewise.
28903         (INVALID_EXCEPTION_OK): Renumber.
28904         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
28905         (IGNORE_ZERO_INF_SIGN): Likewise.
28906         (test_exceptions): Handle FE_OVERFLOW.
28907         (exp10_test): Expect overflow exceptions.
28908         (exp2_test): Likewise.
28909         (expm1_test): Likewise.
28910         (nextafter_test): Likewise.
28911         (pow_test): Likewise.
28912         (scalbn_test): Likewise.
28913         (scalbln_test): Likewise.
28915 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
28917         * sysdeps/x86_64/bits/atomic.h
28918         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
28919         64bit integer.
28920         (atomic_exchange_acq): Likewise.
28921         (__arch_exchange_and_add_body): Likewise.
28922         (__arch_add_body): Likewise.
28923         (atomic_add_negative): Likewise.
28924         (atomic_add_zero): Likewise.
28926 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
28928         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
28929         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
28931 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
28933         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
28934         Check __x86_64__ instead of __WORDSIZE.
28936 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
28938         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
28940 2012-03-19  David S. Miller  <davem@davemloft.net>
28942         * sysdeps/sparc/fpu/libm-test-ulps: Update.
28944         * sysdeps/sparc/fpu/fenv_private.h: New file.
28945         * sysdeps/sparc/fpu/math_private.h: Use it.
28946         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
28947         Remove.
28948         (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
28949         (libc_feholdexcept_setroundl): Remove.
28950         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
28951         Remove.
28952         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
28953         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
28955 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
28957         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
28958         int64_t instead of long int.
28959         (INSERT_WORDS64): Likwise.
28961 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
28963         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
28964         _Unwind_GetCFA return to _Unwind_Ptr first.
28966 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
28968         [BZ #13629]
28969         * math/s_clog.c: Include <float.h>.
28970         (__clog): Scale large or subnormal inputs.
28971         * math/s_clogf.c: Likewise.
28972         * math/s_clogl.c: Likewise.
28973         * math/s_clog10.c: Include <float.h>.
28974         (M_LOG10_2): Define.
28975         (__clog10): Scale large or subnormal inputs.
28976         * math/s_clog10f.c: Likewise.
28977         * math/s_clog10l.c: Likewise.
28978         * math/libm-test.inc (clog_test): Add more tests.
28979         (clog10_test): Likewise.
28980         * sysdeps/i386/fpu/libm-test-ulps: Update.
28981         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28983         [BZ #11451]
28984         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
28985         x and y.
28986         * math/libm-test.inc (atan2_test): Add another test.
28988         * Makerules (common-objdir-compile): Remove.
28989         * sysdeps/unix/Makefile (config-generated): Do not add
28990         $(unix-generated) to variable.
28991         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
28992         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
28993         Remove rule.
28994         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
28995         Likewise.
28996         [generic bits/local_lim.h] (before-compile): Do not append to
28997         variable.
28998         [generic bits/local_lim.h] (common-generated): Likewise.
28999         [generic sys/param.h] (before-compile): Do not append to variable.
29000         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
29001         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
29002         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
29003         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
29004         include.
29005         [generic sys/param.h] (sys/param.h-includes): Remove variable.
29006         [generic sys/param.h] (sys/param.h-includes): Remove rule.
29007         [generic sys/param.h] ($(addprefix
29008         $(common-objpfx),$(sys/param.h-includes))): Likewise.
29009         [generic sys/param.h] (common-generated): Do not append to
29010         variable.
29011         [generic sys/param.h] (sysdep_headers): Likewise.
29012         [generic bits/errno.h] (before-compile): Do not append to
29013         variable.
29014         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
29015         rule.
29016         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
29017         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
29018         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
29019         [generic bits/errno.h] (common-generated): Do not append to
29020         variable.
29021         [generic bits/ioctls.h] (before-compile): Do not append to
29022         variable.
29023         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
29024         rule.
29025         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
29026         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
29027         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
29028         rule.
29029         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
29030         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
29031         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
29032         [generic bits/ioctls.h] (common-generated): Do not append to
29033         variable.
29034         [generic sys/syscall.h] (syscall.h): Remove variable.
29035         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
29036         rule.
29037         [generic sys/syscall.h] (before-compile): Do not append to
29038         variable.
29039         [generic sys/syscall.h] (common-generated): Likewise.
29040         * sysdeps/unix/errnos-tmpl.c: Remove file.
29041         * sysdeps/unix/errnos.awk: Likewise.
29042         * sysdeps/unix/ioctls-tmpl.c: Likewise.
29043         * sysdeps/unix/ioctls.awk: Likewise.
29044         * sysdeps/unix/mk-local_lim.c: Likewise.
29045         * sysdeps/unix/snarf-ioctls: Likewise.
29047 2012-03-19  Richard Henderson  <rth@twiddle.net>
29049         * sysdeps/i386/fpu/fenv_private.h: New file.
29050         * sysdeps/i386/fpu/math_private.h: Use it.
29051         (math_opt_barrier, math_force_eval): Remove.
29052         (libc_feholdexcept_setround_53bit): Remove.
29053         (libc_feupdateenv_53bit): Remove.
29054         * sysdeps/x86_64/fpu/math_private.h: Likewise.
29055         (math_opt_barrier, math_force_eval): Remove.
29056         (libc_feholdexcept): Remove.
29057         (libc_feholdexcept_setround): Remove.
29058         (libc_fetestexcept, libc_fesetenv): Remove.
29059         (libc_feupdateenv_test): Remove.
29060         (libc_feupdateenv, libc_feholdsetround): Remove.
29061         (libc_feresetround): Remove.
29063         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
29064         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
29066         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
29067         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
29068         (libc_feupdateenv_testl): New.
29069         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
29070         (libc_feupdateenv_testf): New.
29071         (libc_feupdateenv): Use libc_feupdateenv_test.
29072         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
29073         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
29075         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
29076         (libc_feholdsetroundf, libc_feholdsetroundl): New.
29077         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
29078         (libc_feresetround_noex): New.
29079         (libc_feresetround_noexf): New.
29080         (libc_feresetround_noexl): New.
29081         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
29082         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
29083         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
29084         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
29085         SET_RESTORE_ROUND.
29086         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
29087         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
29088         (__cos): Likewise.
29089         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
29090         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
29091         SET_RESTORE_ROUND_NOEX.
29092         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
29093         SET_RESTORE_ROUND_NOEXF.
29094         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
29095         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
29096         (libc_feholdsetroundf): New.
29097         (libc_feresetround, libc_feresetroundf): New.
29099         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
29100         (libc_feholdexcept_setround_53bit): Convert from macro to function.
29101         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
29103         * sysdeps/generic/math_private.h: Include <fenv.h>.
29104         (default_libc_feholdexcept): New.
29105         (default_libc_feholdexcept_setround): New.
29106         (default_libc_fesetenv, default_libc_feupdateenv): New.
29107         (libc_feholdexcept): Only define if undefined.
29108         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
29109         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
29110         (libc_feholdexcept_setroundl): Likewise.
29111         (libc_feholdexcept_setround_53bit): Likewise.
29112         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
29113         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
29114         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
29115         (libc_feupdateenv_53bit): Likewise.
29116         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
29117         (libc_feholdexcept): Convert from macro to inline function.
29118         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
29119         (libc_fesetenv, libc_feupdateenv): Likewise.
29121         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
29122         not previously defined.
29123         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
29124         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
29125         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
29126         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
29127         * sysdeps/ieee754/flt-32/math_private.h: New file.
29128         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
29129         math_private.h below SET_FLOAT_WORD.
29130         (__isnan, __isinf_ns, __finite): Remove.
29131         (__isnanf, __isinf_nsf, __finitef): Remove.
29133 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
29135         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29137 2012-03-17  David S. Miller  <davem@davemloft.net>
29139         [BZ #6471]
29140         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
29141         for 2.16.
29143 2012-03-16  David S. Miller  <davem@davemloft.net>
29145         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
29146         warnings.
29148         [BZ #6471]
29149         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
29150         properly.
29151         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
29152         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
29153         sysdep_routines when subdir is sysvipc.
29154         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
29155         __getshmlba helper.
29157         * sysdeps/sparc/fpu/libm-test/ulps: Update.
29159 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
29161         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
29162         [__LP64__].
29164 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
29166         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
29167         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
29168         (__lround): Renamed to ...
29169         (__llround): This.  Replace long int with long long int.
29170         Define lround functions as aliases of llround functions.
29171         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
29173 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
29175         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
29176         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
29177         adresses to uintptr_t.  Replace "long int" and "unsigned long
29178         int" with "greg_t" on va_arg.
29180 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
29182         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
29183         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
29185         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
29186         Move e_machine check before EI_CLASS check.  Handle x32
29187         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
29188         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
29189         SKIP_EM_IA_64 and include
29190         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
29192         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
29193         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
29194         (add_system_dir): New macro.
29196         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
29197         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
29199 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
29201         [BZ #2551]
29202         [BZ #2552]
29203         [BZ #2553]
29204         [BZ #2554]
29205         [BZ #2562]
29206         [BZ #2563]
29207         [BZ #2565]
29208         [BZ #2566]
29209         [BZ #2576]
29210         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
29211         (y0): Likewise.
29212         * math/w_j0f.c (j0f): Likewise.
29213         (y0f): Likewise.
29214         * math/w_j0l.c (__j0l): Likewise.
29215         (__y0l): Likewise.
29216         * math/w_j1.c (j1): Likewise.
29217         (y1): Likewise.
29218         * math/w_j1f.c (j1f): Likewise.
29219         (y1f): Likewise.
29220         * math/w_j1l.c (__j1l): Likewise.
29221         (__y1l): Likewise.
29222         * math/w_jn.c (jn): Likewise.
29223         (yn): Likewise.
29224         * math/w_jnf.c (jnf): Likewise.
29225         (ynf): Likewise.
29226         * math/w_jnl.c (__jnl): Likewise.
29227         (__ynl): Likewise.
29228         * math/libm-test.inc (j0_test): Add more tests.
29229         (j1_test): Likewise.
29230         (jn_test): Likewise.  Add trailing semicolon to existing test.
29231         (y0_test): Likewise.
29232         (y1_test): Likewise.
29233         * sysdeps/i386/fpu/libm-test-ulps: Update.
29234         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29236         [BZ #13851]
29237         [BZ #13854]
29238         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
29239         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
29240         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
29241         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
29242         (__tanl): Set errno for infinite argument.
29243         * sysdeps/i386/fpu/mptan.c: Remove.
29244         * sysdeps/i386/fpu/s_tan.S: Likewise.
29245         * sysdeps/i386/fpu/s_tanl.S: Likewise.
29246         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
29247         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
29248         * math/libm-test.inc (tan_test): Add more tests and enable more
29249         tests for double and long double.
29250         * sysdeps/i386/fpu/libm-test-ulps: Update.
29251         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29253 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
29255         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
29256         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
29258 2012-03-16  Roland McGrath  <roland@hack.frob.com>
29260         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
29261         * configure.in: Use it for both main tree and add-ons.
29262         * configure: Regenerated.
29264 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
29266         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
29268 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
29270         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
29271         in comment.
29273         [BZ #13851]
29274         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
29275         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
29276         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
29277         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
29278         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
29279         infinite argument.
29280         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
29281         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
29282         != 0 for prec == 2.
29283         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
29284         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
29285         * sysdeps/i386/fpu/s_cosl.S: Likewise.
29286         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
29287         * sysdeps/i386/fpu/s_sinl.S: Likewise.
29288         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
29289         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
29290         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
29291         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
29292         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
29293         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
29294         * math/libm-test.inc (cos_test): Add more tests and enable more
29295         tests for long double.
29296         (sin_test): Likewise.
29297         (sincos_test): Likewise.
29298         * sysdeps/i386/fpu/libm-test-ulps: Update.
29299         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29301 2012-03-16  David S. Miller  <davem@davemloft.net>
29303         * sysdeps/sparc/fpu/math_private.h: New file.
29305 2012-03-15  David S. Miller  <davem@davemloft.net>
29307         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
29308         file.
29309         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
29310         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
29311         file.
29312         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
29313         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
29314         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
29315         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
29316         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
29317         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
29318         sysdep routines.
29319         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
29321         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
29322         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
29324         * sysdeps/sparc/sparc-ifunc.h: New file.
29325         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
29326         sparc-ifunc.h
29327         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
29328         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
29329         Likewise.
29330         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
29331         Likewise.
29332         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
29333         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
29334         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
29335         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
29336         Likewise.
29337         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
29338         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
29339         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
29340         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
29341         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
29342         Likewise.
29343         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
29344         Likewise.
29345         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
29346         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
29347         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
29348         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
29349         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
29350         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
29351         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
29352         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
29353         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
29354         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
29355         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
29356         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
29357         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
29358         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
29359         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
29360         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
29361         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
29362         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
29363         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
29364         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
29365         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
29366         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
29367         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
29368         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
29370 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
29372         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
29373         scaling.
29374         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29376 2012-03-15  Andreas Jaeger  <aj@suse.de>
29378         [BZ #13852]
29379         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
29380         ieee754/flt-32 implementation for sin, cos and sincos.
29381         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
29382         * sysdeps/i386/fpu/s_cosf.S: Likewise.
29383         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
29384         * sysdeps/i386/fpu/s_sinf.S: Likewise.
29385         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
29386         ieee754/flt-32 implementation for tan.
29388         * math/libm-test.inc (cos_test): Enable some large input tests for
29389         float as well
29390         (sin_test): Likewise.
29391         (sincos_test): Likewise.
29392         (tan_test): Add tests for large input.
29394         * sysdeps/i386/fpu/libm-test-ulps: Update.
29396 2012-03-15  Andreas Jaeger  <aj@suse.de>
29398         [BZ #13658]
29399         * math/libm-test.inc (cos_test): Add more test cases.
29400         (sin_test): Likewise.
29401         (sincos_test): Likewise.
29403 2012-03-15  Andreas Jaeger  <aj@suse.de>
29405         [BZ #13837]
29406         * math/libm-test.inc (cos_test): Add a test case for large input
29407         value.
29408         (sin_test): Likewise.
29409         (sincos_test): Likewise.
29411 2012-03-15  Andreas Jaeger  <aj@suse.de>,
29412         Joseph Myers  <joseph@codesourcery.com>
29414         [BZ #13658]
29415         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
29416         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
29417         * sysdeps/i386/fpu/branred.c: Likewise.
29418         * sysdeps/i386/fpu/dosincos.c: Likewise.
29419         * sysdeps/i386/fpu/mpa.c: Likewise.
29420         * sysdeps/i386/fpu/s_cos.S: Likewise.
29421         * sysdeps/i386/fpu/s_sin.S: Likewise.
29422         * sysdeps/i386/fpu/s_sincos.S: Likewise.
29423         * sysdeps/i386/fpu/sincos32.c: Likewise.
29425         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
29426         Define.
29427         (libc_feupdateenv_53bit): Define.
29428         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
29429         Define.
29430         (libc_feupdateenv_53bit): Define.
29432         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
29433         53 bit (without extend i386 double precision).
29435         * math/libm-test.inc (sincos_test): Add tests for large input.
29436         (sin): Likewise.
29437         (cos): Likewise.
29439         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
29441 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
29443         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29445 2012-03-15  David S. Miller  <davem@davemloft.net>
29447         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
29448         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
29449         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
29450         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
29451         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
29452         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
29453         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
29454         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
29455         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
29456         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
29457         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
29458         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
29459         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
29460         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
29461         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
29462         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
29463         file.
29464         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
29465         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
29466         file.
29467         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
29468         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
29469         file.
29470         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
29471         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
29472         file.
29473         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
29474         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
29475         fmin/fmax sysdep routines.
29476         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
29478 2012-03-14  David S. Miller  <davem@davemloft.net>
29480         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
29481         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
29482         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
29483         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
29484         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
29485         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
29486         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
29487         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
29488         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
29489         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
29490         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
29491         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
29492         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
29493         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
29494         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
29495         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
29496         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
29497         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
29498         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
29499         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
29500         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
29501         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
29502         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
29503         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
29504         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
29505         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
29506         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
29507         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
29508         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
29509         routines.
29510         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
29511         file.
29512         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
29513         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
29514         file.
29515         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
29516         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
29517         file.
29518         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
29519         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
29520         file.
29521         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
29522         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
29523         file.
29524         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
29525         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
29526         file.
29527         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
29528         file.
29529         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
29530         file.
29531         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
29532         file.
29533         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
29534         New file.
29535         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
29536         file.
29537         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
29538         file.
29539         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
29540         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
29541         file.
29542         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
29543         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
29544         file.
29545         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
29546         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
29547         file.
29548         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
29549         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
29550         VIS3 routines.
29552         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
29553         New file.
29555         * sysdeps/sparc/fpu/libm-test-ulps: Update.
29557         * sysdeps/sparc/configure.in: New file.
29558         * sysdeps/sparc/configure: Generate.
29559         * configure.in (libc_cv_sparc_as_vis3): Substitute.
29560         * configure: Regenerate.
29561         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
29562         * config.make.in (have-as-vis3): New.
29563         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
29564         available use -Av9d instead of -Av9a.
29565         * sysdeps/sparc/sparc64/Makefile: Likewise.
29566         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
29567         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
29568         New file.
29569         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
29570         file.
29571         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
29572         New file.
29573         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
29574         file.
29575         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
29576         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
29577         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
29578         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
29579         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
29581         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
29582         fzeros/fnegs to load 0x80000000 into a float register instead of
29583         using the stack.
29584         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
29586 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
29588         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
29589         bits/syscall.h.
29590         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
29591         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
29592         ($(inst_includedir)/bits/syscall.h): Remove rule.
29593         ($(objpfx)bits/syscall.d): Include instead of
29594         $(objpfx)syscall-list.d.
29595         (generated): Change syscall-list.h and syscall-list.d to
29596         bits/syscall.h and bits/syscall.d.
29598 2012-03-14  Roland McGrath  <roland@hack.frob.com>
29600         [BZ #13846]
29601         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
29603 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
29605         [BZ #13841]
29606         * math/s_csqrt.c: Include <float.h>.
29607         (__csqrt): Scale large or subnormal inputs.
29608         * math/s_csqrtf.c: Likewise.
29609         * math/s_csqrtl.c: Likewise.
29610         * math/libm-test.inc (csqrt_test): Add more tests.
29611         * sysdeps/i386/fpu/libm-test-ulps: Update.
29612         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29614         [BZ #13840]
29615         * math/libm-test.inc (hypot_test): Add more tests.
29617 2012-03-13  David S. Miller  <davem@davemloft.net>
29619         [BZ #13840]
29620         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
29621         double-precision for the calculation instead of scaling.
29623 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
29625         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
29626         manipulate bits before adding and subtracting TWO52[sx].
29627         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
29628         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
29629         Likewise.
29630         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
29632 2012-03-13  David S. Miller  <davem@davemloft.net>
29634         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
29635         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
29636         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
29637         rtld-global-offsets.h
29638         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
29640         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
29641         large parameters.
29643         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
29645         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
29646         'err' in the ifdef scope in which it is actually used.
29648         * nss/nss_db/db-init.c: Include string.h
29650 2012-03-12  David S. Miller  <davem@davemloft.net>
29652         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
29653         masking out of the most significant byte of random value used.
29654         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
29655         Fix coding style in previous change.
29657         * sysdeps/unix/sysv/linux/kernel-features.h
29658         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
29659         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
29660         expression.
29661         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
29662         later.
29664 2012-03-11  David S. Miller  <davem@davemloft.net>
29666         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
29667         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
29668         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
29669         for 'resultvar' otherwise things get truncated on 64-bit.
29671         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
29672         Fix masking out of the most significant byte of random value used.
29674         * sysdeps/sparc/fpu/libm-test-ulps: Update.
29676 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
29678         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29680 2012-03-09  David S. Miller  <davem@davemloft.net>
29682         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
29683         variables with appropriate CPP guards.
29684         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
29685         frame pointer, not the stack pointer.  Correct layout comments.  Fix test
29686         on resulting framesize and the management of the outregs buffer for pltexit.
29687         Preserve floating point return values across _dl_call_pltexit call.
29688         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
29689         framesize and the management of the outregs buffer for pltexit.
29690         Preserve floating point return values across _dl_call_pltexit
29691         call.
29692         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
29693         la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
29694         (print_exit): Fix format string for return register value.
29696 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
29698         * sunrpc/Makefile (others): Add rpcgen.
29699         ($(objpfx)rpcgen): Remove special build rule and dependency on
29700         libc.
29701         * sunrpc/rpcgen.c: New file.
29703 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
29705         [BZ #13673]
29706         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
29707         * stdio-common/bug-vfprintf-nargs.c: Likewise.
29708         * sysdeps/i386/crti.S: Likewise.
29709         * sysdeps/i386/crtn.S: Likewise.
29710         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
29711         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
29712         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
29713         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
29714         * sysdeps/sh/crti.S: Likewise.
29715         * sysdeps/sh/crtn.S: Likewise.
29716         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
29718         [BZ #13673]
29719         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
29720         with URL.
29721         * locale/programs/locfile-kw.gperf: Likewise.
29722         * locale/programs/charmap-kw.h: Regenerated.
29723         * locale/programs/locfile-kw.h: Likewise.
29725         [BZ #13673]
29726         * intl/plural.y: Replace FSF snail mail address with URL.
29727         * intl/plural.c: Regenerated.
29729 2012-03-09  Richard Henderson  <rth@twiddle.net>
29731         * include/math_private.h: Remove file.
29732         * math/math_private.h: Move file ...
29733         * sysdeps/generic/math_private.h: ... here.
29735         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
29736         * sysdeps/powerpc/fpu/math_private.h: Likewise.
29737         * sysdeps/x86_64/fpu/math_private.h: Likewise.
29739         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
29740         and <math_private.h>.
29741         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
29742         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
29743         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
29744         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
29745         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
29746         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
29747         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
29748         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
29749         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
29750         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
29751         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
29752         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
29753         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
29754         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
29755         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
29756         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
29757         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
29758         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
29759         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
29760         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
29761         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
29762         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
29763         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
29764         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
29765         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
29766         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
29767         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
29768         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
29769         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
29770         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
29771         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
29772         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
29773         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
29774         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
29775         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
29776         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
29777         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
29778         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
29779         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
29780         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
29781         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
29782         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
29783         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
29784         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
29785         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
29786         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
29787         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
29788         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
29789         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
29790         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
29791         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
29792         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
29793         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
29794         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
29795         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
29796         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
29797         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
29798         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
29799         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
29800         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
29801         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
29802         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
29803         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
29804         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
29805         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
29806         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
29807         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
29808         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
29809         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
29810         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
29811         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
29812         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
29813         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
29814         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
29815         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
29816         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
29817         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
29818         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
29819         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
29820         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
29821         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
29822         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
29823         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
29824         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
29825         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
29826         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
29827         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
29828         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
29829         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
29830         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
29831         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
29832         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
29833         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
29834         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
29835         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
29836         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
29837         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
29838         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
29839         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
29840         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
29841         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
29842         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
29843         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
29844         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
29845         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
29846         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
29847         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
29848         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
29849         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
29850         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
29851         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
29852         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
29853         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
29854         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
29855         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
29856         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
29857         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
29858         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
29859         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
29860         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
29861         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
29862         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
29863         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
29864         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
29865         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
29866         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
29867         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
29868         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
29869         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
29870         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
29871         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
29872         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
29873         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
29874         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
29875         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
29876         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
29877         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
29878         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
29879         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
29880         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
29881         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
29882         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
29883         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
29884         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
29885         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
29886         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
29887         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
29888         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
29889         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
29890         * sysdeps/ieee754/k_standard.c: Likewise.
29891         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
29892         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
29893         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
29894         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
29895         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
29896         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
29897         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
29898         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
29899         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
29900         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
29901         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
29902         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
29903         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
29904         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
29905         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
29906         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
29907         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
29908         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
29909         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
29910         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
29911         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
29912         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
29913         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
29914         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
29915         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
29916         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
29917         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
29918         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
29919         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
29920         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
29921         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
29922         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
29923         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
29924         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
29925         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
29926         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
29927         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
29928         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
29929         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
29930         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
29931         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
29932         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
29933         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
29934         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
29935         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
29936         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
29937         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
29938         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
29939         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
29940         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
29941         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
29942         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
29943         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
29944         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
29945         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
29946         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
29947         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
29948         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
29949         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
29950         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
29951         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
29952         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
29953         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
29954         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
29955         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
29956         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
29957         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
29958         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
29959         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
29960         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
29961         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
29962         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
29963         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
29964         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
29965         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
29966         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
29967         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
29968         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
29969         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
29970         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
29971         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
29972         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
29973         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
29974         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
29975         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
29976         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
29977         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
29978         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
29979         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
29980         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
29981         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
29982         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
29983         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
29984         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
29985         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
29986         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
29987         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
29988         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
29989         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
29990         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
29991         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
29992         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
29993         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
29994         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
29995         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
29996         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
29997         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
29998         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
29999         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
30000         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
30001         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
30002         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
30003         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
30004         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
30005         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
30006         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
30007         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
30008         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
30009         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
30010         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
30011         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
30012         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
30013         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
30014         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
30015         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
30016         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
30017         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
30018         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
30019         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
30020         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
30021         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
30022         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
30023         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
30024         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
30025         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
30026         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
30027         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
30028         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
30029         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
30030         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
30031         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
30032         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
30033         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
30034         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
30035         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
30036         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
30037         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
30038         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
30039         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
30040         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
30041         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
30042         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
30043         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
30044         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
30045         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
30046         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
30047         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
30048         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
30049         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
30050         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
30051         * sysdeps/ieee754/s_lib_version.c: Likewise.
30052         * sysdeps/ieee754/s_matherr.c: Likewise.
30053         * sysdeps/ieee754/s_signgam.c: Likewise.
30054         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
30055         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
30056         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
30057         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
30058         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
30059         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
30060         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
30061         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
30062         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
30063         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
30064         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
30065         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
30066         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
30067         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
30068         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
30069         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
30070         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
30071         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
30072         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
30073         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
30074         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
30076 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
30078         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
30079         * sunrpc/rpc_main.c: Likewise.
30080         * sunrpc/rpc_svcout.c: Likewise.
30082 2012-03-09  David S. Miller  <davem@davemloft.net>
30084         * include/math_private.h: New file.
30086 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
30088         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
30089         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
30090         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
30091         from <bits/socket_type.h>.
30092         (enum __socket_type): Don't define here.
30093         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
30094         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
30095         bits/socket_type.h.
30097         [BZ #13566]
30098         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
30099         checking __USE_GNU.
30101         * Makerules ($(inst_includedir)/%.h): New rule.
30102         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
30103         (install-others): Remove variable setting.
30104         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
30106 2012-03-08  Richard Henderson  <rth@twiddle.net>
30108         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
30109         from macro to inline function; merge with the
30110         !__LIBC_INTERNAL_MATH_INLINES version.
30111         (__ieee754_sqrtf): Likewise.
30113         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
30114         to inline function.
30115         (__rintf, __floor, __floorf): Likewise.
30117         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
30118         macro to inline function.
30119         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
30121         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
30122         not <math/math_private.h>.
30124 2012-03-08  David S. Miller  <davem@davemloft.net>
30126         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
30127         copyright year.
30128         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
30130 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
30132         * resolv/gai_misc.c (handle_requests): Fix struct timespec
30133         normalization.
30134         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
30135         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
30137 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
30139         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
30140         be defined individually, they must be defined as a block.  Define
30141         S for printing a string instead of hidint the different by using a
30142         macro for adding the 'l'.
30143         * stdio-common/tst-fphex-wide.c: Adjust.
30145 2012-03-07  Marek Polacek  <polacek@redhat.com>
30147         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
30149 2012-03-08  Marek Polacek  <polacek@redhat.com>
30151         [BZ #13806]
30152         * stdio-common/Makefile (tests): Add tst-fphex-wide.
30153         * stdio-common/tst-fphex.c: Define a few macros to make the
30154         test reusable.  Use them.
30155         * stdio-common/tst-fphex-wide.c: New file.
30157 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
30159         [BZ #6911]
30160         * manual/macros.texi (gnusystems): New macro.
30161         (nongnusystems): Likewise.
30162         (gnulinuxhurdsystems): Likewise.
30163         (gnuhurdsystems): Likewise..
30164         (gnulinuxsystems): Likewise.
30165         * manual/charset.texi: Use new macros or @theglibc{} to refer to
30166         variants of the GNU system, not "GNU system".
30167         * manual/conf.texi: Likewise.
30168         * manual/errno.texi: Likewise.  Update example of errno macro
30169         expansion.
30170         * manual/filesys.texi: Likewise.
30171         (getumask): Document as specific to GNU/Hurd.
30172         * manual/install.texi: Likewise.  Reword some references to
30173         GNU/Linux.
30174         * manual/intro.texi: Likewise.
30175         * manual/io.texi: Likewise.
30176         (File Name Portability): Detail which constraints are inapplicable
30177         to all GNU systems and which are only inapplicable to GNU/Hurd.
30178         * manual/job.texi: Likewise.
30179         * manual/llio.texi: Likewise.
30180         (O_NOCTTY): Document as present on GNU/Linux.
30181         * manual/maint.texi: Likewise.
30182         * manual/memory.texi: Likewise.
30183         * manual/pattern.texi: Likewise.
30184         * manual/pipe.texi: Likewise.
30185         * manual/process.texi: Likewise.
30186         * manual/resource.texi: Likewise.
30187         (RUSAGE_CHILDREN): Remove statement about specifying a particular
30188         child on GNU/Hurd.
30189         * manual/setjmp.texi: Likewise.
30190         * manual/signal.texi: Likewise.
30191         * manual/startup.texi: Likewise.
30192         * manual/stdio.texi: Likewise.
30193         * manual/terminal.texi: Likewise.
30194         (ONLCR): Document as POSIX.
30195         (OXTABS): Document availability on GNU/Linux as XTABS.
30196         (ONOEOT): Document availability separately from other bits.
30197         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
30198         * manual/time.texi: Likewise.
30199         * manual/users.texi: Likewise.
30200         * INSTALL: Regenerated.
30201         * sysdeps/gnu/errlist.c: Regenerated.
30203         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
30204         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
30205         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
30206         puts.
30207         * configure: Regenerated.
30209 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
30211         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
30212         default includes instead of AC_HEADER_CHECK.
30213         * sysdeps/i386/configure: Regenerated.
30215         [BZ #10716]
30216         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
30217         * math/s_cacoshf.c (__cacoshf): Likewise.
30218         * math/s_cacoshl.c (__cacoshl): Likewise.
30219         * math/s_casinh.c (__casinh): Set signs of result from argument.
30220         * math/s_casinhf.c (__casinhf): Likewise.
30221         * math/s_casinhl.c (__casinhl): Likewise.
30222         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
30223         (casinh_test): Add more tests.
30224         * sysdeps/i386/fpu/libm-test-ulps: Update.
30225         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30227 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
30229         * po/zh_TW.po: Update from translation team.
30231         * login/Makefile (distribute): Remove variable.
30232         * catgets/Makefile: Likewise.
30233         * mach/Makefile: Likewise.
30234         * malloc/Makefile: Likewise.
30235         * misc/Makefile: Likewise.
30236         * iconv/Makefile: Likewise.
30237         * nscd/Makefile: Likewise.
30238         * hurd/Makefile: Likewise.
30239         * manual/Makefile: Likewise.
30240         * locale/Makefile: Likewise.
30241         * intl/Makefile: Likewise.
30242         * conform/Makefile: Likewise.
30243         * nss/Makefile: Likewise.
30244         * time/Makefile: Likewise.
30245         * soft-fp/Makefile: Likewise.
30246         * dirent/Makefile: Likewise.
30247         * gmon/Makefile: Likewise.
30248         * po/Makefile: Likewise.
30249         * rt/Makefile: Likewise.
30250         * socket/Makefile: Likewise.
30251         * math/Makefile: Likewise.
30252         * signal/Makefile: Likewise.
30253         * debug/Makefile: Likewise.
30254         * elf/Makefile: Likewise.
30255         * timezone/Makefile: Likewise.
30256         * stdlib/Makefile: Likewise.
30257         * iconvdata/Makefile: Likewise.
30258         * sunrpc/Makefile: Likewise.
30259         * io/Makefile: Likewise.
30260         * argp/Makefile: Likewise.
30261         * inet/Makefile: Likewise.
30262         * hesiod/Makefile: Likewise.
30263         * grp/Makefile: Likewise.
30264         * csu/Makefile: Likewise.
30265         * wctype/Makefile: Likewise.
30266         * crypt/Makefile: Likewise.
30267         * libio/Makefile: Likewise.
30268         * string/Makefile: Likewise.
30269         * nis/Makefile: Likewise.
30270         * resolv/Makefile: Likewise.
30271         * stdio-common/Makefile: Likewise.
30272         * wcsmbs/Makefile: Likewise.
30273         * dlfcn/Makefile: Likewise.
30274         * posix/Makefile: Likewise.
30276         [BZ #6959]
30277         * timezone/Makefile: Don't install timezone files, just the programs
30278         and scripts.
30280 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
30282         * nss/databases.def: Add missing gshadow entry.
30284         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
30286 2012-03-06  Marek Polacek  <polacek@redhat.com>
30288         [BZ #13726]
30289         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
30290         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
30291         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
30292         * stdio-common/tst-long-dbl-fphex.c: New file.
30294 2012-03-06  David S. Miller  <davem@davemloft.net>
30296         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
30297         (set_obp_int): New function.
30298         (get_obp_int): New function.
30299         (__get_clockfreq_via_dev_openprom): Likewise.
30300         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
30301         Avoid unused variable warnings on 'val' and use builtin_expect.
30302         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
30303         __builtin_expect.
30304         (INLINE_CLONE_SYSCALL): Likewise.
30306 2012-03-05  David S. Miller  <davem@davemloft.net>
30308         * sysdeps/sparc/fpu/libm-test-ulps: Update.
30310 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
30312         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30314         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
30315         only for |x| >= 40.
30316         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
30318 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
30320         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
30321         Replace gettimeofday with __vdso_gettimeofday.
30323         * sysdeps/unix/sysv/linux/x86_64/init-first.c
30324         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
30325         __vdso_clock_gettime and __vdso_getcpu.
30327         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
30328         time with __vdso_time.
30330 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
30332         * manual/lang.texi (size_t): Note types to which size_t may be
30333         equivalent with the GNU C Library, but do not describe when
30334         differences between them are significant.
30336 2012-03-05  Andreas Jaeger  <aj@suse.de>
30338         * sysdeps/i386/fpu/libm-test-ulps: Update.
30340 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
30342         [BZ #3976]
30343         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
30344         (__ieee754_pow): Save and restore rounding mode and use
30345         round-to-nearest for main computations.
30346         * math/libm-test.inc (pow_test_tonearest): New function.
30347         (pow_test_towardzero): Likewise.
30348         (pow_test_downward): Likewise.
30349         (pow_test_upward): Likewise.
30350         (main): Call the new functions.
30351         * sysdeps/i386/fpu/libm-test-ulps: Update.
30352         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30354         [BZ #3976]
30355         * math/libm-test.inc (cosh_test_tonearest): New function.
30356         (cosh_test_towardzero): Likewise.
30357         (cosh_test_downward): Likewise.
30358         (cosh_test_upward): Likewise.
30359         (sinh_test_tonearest): Likewise.
30360         (sinh_test_towardzero): Likewise.
30361         (sinh_test_downward): Likewise.
30362         (sinh_test_upward): Likewise.
30363         (main): Call the new functions.
30364         * sysdeps/i386/fpu/libm-test-ulps: Update.
30365         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30367 2012-03-05  Tom de Vries  <tom@codesourcery.com>
30369         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
30370         default stack guard is set in last bytes.
30371         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
30373 2012-03-05  Kees Cook  <keescook@chromium.org>
30375         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
30377         [BZ #13656]
30378         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
30379         possibly allocate from heap instead of stack.
30380         * stdio-common/bug-vfprintf-nargs.c: New file.
30381         * stdio-common/Makefile (tests): Add nargs overflow test.
30383 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
30385         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30387 2012-03-03  Marek Polacek  <polacek@redhat.com>
30389         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
30390         * math/math_private.h: Likewise.
30391         * stdlib/tst-strtod.c: Likewise.
30392         * sysdeps/i386/i486/bits/atomic.h: Likewise.
30393         * sysdeps/x86_64/bits/atomic.h: Likewise.
30395 2012-03-02  David S. Miller  <davem@davemloft.net>
30397         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
30398         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
30399         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
30400         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
30401         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
30402         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
30403         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
30404         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
30406 2012-03-02  Roland McGrath  <roland@hack.frob.com>
30408         [BZ #13792]
30409         * manual/examples/README: New file, says the example source files
30410         can be used under GPL>=2.
30411         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
30412         line containing just "*/".
30413         * manual/examples/add.c: Add copyright header (GPL>=2).
30414         * manual/examples/argp-ex1.c: Likewise.
30415         * manual/examples/argp-ex2.c: Likewise.
30416         * manual/examples/argp-ex3.c: Likewise.
30417         * manual/examples/argp-ex4.c: Likewise.
30418         * manual/examples/atexit.c: Likewise.
30419         * manual/examples/db.c: Likewise.
30420         * manual/examples/dir.c: Likewise.
30421         * manual/examples/dir2.c: Likewise.
30422         * manual/examples/execinfo.c: Likewise.
30423         * manual/examples/filecli.c: Likewise.
30424         * manual/examples/filesrv.c: Likewise.
30425         * manual/examples/fmtmsgexpl.c: Likewise.
30426         * manual/examples/genpass.c: Likewise.
30427         * manual/examples/inetcli.c: Likewise.
30428         * manual/examples/inetsrv.c: Likewise.
30429         * manual/examples/isockad.c: Likewise.
30430         * manual/examples/longopt.c: Likewise.
30431         * manual/examples/memopen.c: Likewise.
30432         * manual/examples/memstrm.c: Likewise.
30433         * manual/examples/mkfsock.c: Likewise.
30434         * manual/examples/mkisock.c: Likewise.
30435         * manual/examples/mygetpass.c: Likewise.
30436         * manual/examples/pipe.c: Likewise.
30437         * manual/examples/popen.c: Likewise.
30438         * manual/examples/rprintf.c: Likewise.
30439         * manual/examples/search.c: Likewise.
30440         * manual/examples/select.c: Likewise.
30441         * manual/examples/setjmp.c: Likewise.
30442         * manual/examples/sigh1.c: Likewise.
30443         * manual/examples/sigusr.c: Likewise.
30444         * manual/examples/stpcpy.c: Likewise.
30445         * manual/examples/strdupa.c: Likewise.
30446         * manual/examples/strftim.c: Likewise.
30447         * manual/examples/strncat.c: Likewise.
30448         * manual/examples/subopt.c: Likewise.
30449         * manual/examples/swapcontext.c: Likewise.
30450         * manual/examples/termios.c: Likewise.
30451         * manual/examples/testopt.c: Likewise.
30452         * manual/examples/testpass.c: Likewise.
30453         * manual/examples/timeval_subtract.c: Likewise.
30455         [BZ #13792]
30456         * manual/time.texi (Elapsed Time): Move timeval_subtract example
30457         function to ...
30458         * manual/timeval_subtract.c.texi: ... here, new file.
30460 2012-03-02  David S. Miller  <davem@davemloft.net>
30462         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
30464 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
30466         [BZ #3976]
30467         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
30468         (__sin): Save and restore rounding mode and use round-to-nearest
30469         for all computations.
30470         (__cos): Save and restore rounding mode and use round-to-nearest
30471         for all computations.
30472         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
30473         <fenv.h>.
30474         (tan): Save and restore rounding mode and use round-to-nearest for
30475         all computations.
30476         * math/libm-test.inc (cos_test_tonearest): New function.
30477         (cos_test_towardzero): Likewise.
30478         (cos_test_downward): Likewise.
30479         (cos_test_upward): Likewise.
30480         (sin_test_tonearest): Likewise.
30481         (sin_test_towardzero): Likewise.
30482         (sin_test_downward): Likewise.
30483         (sin_test_upward): Likewise.
30484         (tan_test_tonearest): Likewise.
30485         (tan_test_towardzero): Likewise.
30486         (tan_test_downward): Likewise.
30487         (tan_test_upward): Likewise.
30488         (main): Call the new functions.
30489         * sysdeps/i386/fpu/libm-test-ulps: Update.
30490         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30492         [BZ #10135]
30493         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
30494         small n, then large n, before computing and testing k+n.
30495         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
30496         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
30497         Likewise.
30498         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
30499         Likewise.
30500         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
30501         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
30502         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
30503         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
30504         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
30505         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
30506         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
30507         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
30508         * math/libm-test.inc (scalbn_test): Add more tests.
30509         (scalbln_test): Likewise.
30511         * manual/filesys.texi (mode_t): Describe constraints on size and
30512         signedness, not exact equivalence to a particular type.
30513         (ino_t): Likewise.
30514         (ino64_t): Likewise.
30515         (dev_t): Likewise.
30516         (nlink_t): Likewise.
30517         (blkcnt_t): Likewise.
30518         (blkcnt64_t): Likewise.
30519         * manual/llio.texi (off_t): Likewise.
30521         [BZ #3976]
30522         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
30523         (__ieee754_exp): Save and restore rounding mode and use
30524         round-to-nearest for all computations.
30525         * math/libm-test.inc (exp_test_tonearest): New function.
30526         (exp_test_towardzero): Likewise.
30527         (exp_test_downward): Likewise.
30528         (exp_test_upward): Likewise.
30529         (main): Call the new functions.
30530         * sysdeps/i386/fpu/libm-test-ulps: Update.
30531         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30533 2012-03-01  Chris Demetriou  <cgd@google.com>
30535         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
30536         have predictable order.
30538 2012-03-01  David S. Miller  <davem@davemloft.net>
30540         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
30542         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
30543         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
30544         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
30545         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
30547         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
30548         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
30549         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
30550         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
30551         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
30552         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
30553         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
30554         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
30555         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
30557         * sysdeps/sparc/fpu/libm-test-ulps: Update.
30559         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
30560         * sysdeps/sparc/fpu/libm-test-ulps: to here.
30561         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
30563         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
30564         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
30565         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
30566         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
30567         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
30568         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
30569         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
30570         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
30571         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
30572         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
30573         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
30574         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
30575         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
30576         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
30577         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
30578         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
30579         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
30580         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
30581         * sysdeps/sparc/elf/configure: Regenerated.
30583 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
30585         * configure.in (AS, LD): Require binutils 2.20 or later.
30586         * configure: Regenerated.
30587         * manual/install.texi (Tools for Compilation): Give binutils 2.20
30588         as required minimum version.
30589         * INSTALL: Regenerated.
30591         [BZ #2541]
30592         [BZ #4108]
30593         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
30594         before squaring exponent.
30595         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
30596         bottom long double and 27 bits of top long double before squaring
30597         exponent.
30598         * math/libm-test.inc (erfc_test): Add more tests.
30599         * sysdeps/i386/fpu/libm-test-ulps: Update.
30600         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
30601         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30603 2012-03-01  Kai Tietz  <ktietz@redhat.com>
30605         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
30606         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
30607         containing bit-fields.
30608         * soft-fp/extended.h (_FP_UNION_E): Likewise.
30609         * soft-fp/single.h (_FP_UNION_S): Likewise.
30610         * soft-fp/double.h (_FP_UNION_D): Likewise.
30612 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
30614         [BZ #13786]
30615         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
30616         not include ../strcmp.S.
30617         [USE_AS_STRNCASECMP_L]: Likewise.
30618         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
30619         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
30620         * sysdeps/i386/i686/multiarch/strncase_l-c.c
30621         (__strncasecmp_l_ia32): Define as alias to
30622         __strncasecmp_l_nonascii.
30624         [BZ #5794]
30625         * math/libm-test.inc (expm1_test): Add test for bug 5794.
30626         * sysdeps/i386/fpu/libm-test-ulps: Update.
30627         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30629         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
30630         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30632 2012-02-29  Jeff Law  <law@redhat.com>
30634         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
30635         out of bounds read.
30637 2012-02-29  Marek Polacek  <polacek@redhat.com>
30639         [BZ #13706]
30640         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
30641         * elf/Makefile: Add rules to run tst-unused-dep.out.
30643 2012-02-28  David S. Miller  <davem@davemloft.net>
30645         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
30646         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
30647         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
30648         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
30649         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
30650         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
30652 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
30654         * math/libm-test.inc (llround_test): Move one test from
30655         lround_test.  Use TEST_f_L in moved test.
30656         (lround_test): Move misplaced test to llround_test.  Add testcase
30657         from bug 2561.
30659 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
30661         * sysdeps/x86_64/fpu/e_expf.S: New file.
30662         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
30664 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
30666         [BZ #13637]
30667         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
30668         of remain_len that may cause incomplete multi-byte character and
30669         false match.
30670         * posix/bug-regex33.c: New file.
30671         * posix/Makefile (tests): Add bug-regex33.
30673 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
30675         * manual/macros.texi: New file.
30676         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
30677         * manual/libc.texinfo: Include macros.texi.
30678         * manual/creatute.texi: Likewise.
30679         * manual/install.texi: Likewise.
30680         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
30681         @glibcadj{} in references to the GNU C Library.
30682         * manual/charset.texi: Likewise.
30683         * manual/conf.texi: Likewise.
30684         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
30685         when not using those macros.
30686         * manual/creature.texi: Likewise.
30687         * manual/crypt.texi: Likewise.
30688         * manual/errno.texi: Likewise.
30689         * manual/filesys.texi: Likewise.
30690         * manual/header.texi: Likewise.
30691         * manual/install.texi: Likewise.
30692         * manual/intro.texi: Likewise.
30693         * manual/io.texi: Likewise.
30694         * manual/job.texi: Likewise.
30695         * manual/lang.texi: Likewise.
30696         * manual/libc.texiinfo: Likewise.
30697         * manual/llio.texi: Likewise.
30698         * manual/locale.texi: Likewise.
30699         * manual/maint.texi: Likewise.
30700         * manual/math.texi: Likewise.
30701         * manual/memory.texi: Likewise.
30702         * manual/message.texi: Likewise.
30703         * manual/nss.texi: Likewise.
30704         * manual/pattern.texi: Likewise.
30705         * manual/process.texi: Likewise.
30706         * manual/resource.texi: Likewise.
30707         * manual/search.texi: Likewise.
30708         * manual/setjmp.texi: Likewise.
30709         * manual/signal.texi: Likewise.
30710         * manual/socket.texi: Likewise.
30711         * manual/startup.texi: Likewise.
30712         * manual/stdio.texi: Likewise.
30713         * manual/string.texi: Likewise.
30714         * manual/sysinfo.texi: Likewise.
30715         * manual/syslog.texi: Likewise.
30716         * manual/terminal.texi: Likewise.
30717         * manual/time.texi: Likewise.
30718         * manual/users.texi: Likewise.
30719         * INSTALL: Regenerated.
30720         * NOTES: Regenerated.
30721         * sysdeps/gnu/errlist.c: Regenerated.
30723 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
30725         * include/dirent.h: Include <dirstream.h> before
30726         <dirent/dirent.h>.
30728 2012-02-28  David S. Miller  <davem@davemloft.net>
30730         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
30731         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
30732         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
30733         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
30735 2012-02-27  David S. Miller  <davem@davemloft.net>
30737         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
30738         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
30739         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
30740         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
30742         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
30743         frame pointer instead of stack pointer relative arg slot.
30744         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
30745         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
30746         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
30748 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
30750         [BZ #3992]
30751         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
30753 2012-02-27  David S. Miller  <davem@davemloft.net>
30755         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
30756         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
30757         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
30758         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
30759         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
30760         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
30761         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
30762         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
30764 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
30766         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
30767         later.  Allow versions 5-9.
30768         * configure: Regenerated.
30769         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
30770         required minimum version and 4.6 as recommended version.  Do not
30771         mention bugs in GCC 2.7 and 2.8.
30772         * INSTALL: Regenerated.
30774 2012-02-27  David S. Miller  <davem@davemloft.net>
30776         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
30777         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
30778         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
30779         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
30780         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
30781         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
30782         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
30783         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
30785         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
30786         manipulate bits before adding and subtracting TWO112[sx].
30787         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
30789 2012-02-27  Roland McGrath  <roland@hack.frob.com>
30791         [BZ #13775]
30792         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
30793         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
30794         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
30795         being in POSIX, because they are in 1003.1-2008.
30797         * rt/tst-aio.c: Include <fcntl.h>.
30798         * rt/tst-aio7.c: Likewise.
30799         * rt/tst-aio64.c: Likewise.
30801         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
30803 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
30805         * manual/install.texi (--with-headers): Describe headers as
30806         interface headers, not private headers.
30807         (Specific advice for GNU/Linux systems): Describe use of headers
30808         from "make headers_install", not private headers from older
30809         kernels.
30810         * INSTALL: Regenerated.
30811         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
30812         Change to 2.6.19.
30813         * sysdeps/unix/sysv/linux/configure: Regenerated.
30815         * manual/llio.texi (fclean): Remove documentation.
30817         * manual/Makefile (libc-texi-generated): New variable.  Include
30818         version.texi.
30819         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
30820         $(libc-texi-generated), not duplicated list of files.
30821         (version.texi, stamp-version): New rules.
30822         (realclean): Remove $(libc-texi-generated), not individual files
30823         from that list.  Do not remove dir-add.texinfo.
30824         * manual/libc.texinfo: Comment out uses of edition numbers and
30825         references to printed manual.  Remove last-updated dates.
30826         (EDITION): Comment out.
30827         (ISBN): Likewise.
30828         (VERSION, UPDATED): Remove.
30829         (version.texi): Include.
30831 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
30833         * sysdeps/posix/spawni.c: Include <signal.h>.
30834         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
30835         * sysdeps/pthread/aio_fsync.c: Likewise.
30837 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
30839         * conform/Makefile (tests): Run only when not cross-compiling and
30840         when fast-check is not defined.
30842         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
30843         * conform/data/limits.h-data: Fixes for POSIX2008.
30844         * conform/run-conformtest.sh: Run all tests.
30845         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
30846         headers.
30847         * include/bits/dlfcn.h: Likewise.
30848         * include/langinfo.h: Likewise.
30849         * include/monetary.h: Likewise.
30850         * include/sys/poll.h: Likewise.
30852         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
30853         for __USE_GNU.
30854         * posix/spawn.h: Define __need_sigset_t.
30855         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
30856         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
30857         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
30858         to get sigevent_t only.
30859         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
30860         only for __USE_GNU.
30861         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
30862         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
30863         process_vm_writev only for __USE_GNU.
30864         * termios/termios.h: Declare tcgetsid also for POSIX2008.
30866         * conform/Makefile: For now ignore errors from run-conformtest.
30867         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
30868         POSIX to avoid namespace pollution.  Don't prepend headers.
30869         * conform/data/aio.h-data: Fixes for POSIX testing.
30870         * conform/data/fcntl.h-data: Likewise.
30871         * conform/data/glob.h-data: Likewise.
30872         * conform/data/grp.h-data: Likewise.
30873         * conform/data/pthread.h-data: Likewise.
30874         * conform/data/pwd.h-data: Likewise.
30875         * conform/data/signal.h-data: Likewise.
30876         * conform/data/spawn.h-data: Likewise.
30877         * conform/data/stdio.h-data: Likewise.
30878         * conform/data/stdlib.h-data: Likewise.
30879         * conform/data/stropts.h-data: Likewise.
30880         * conform/data/sys/mman.h-data: Likewise.
30881         * conform/data/sys/stat.h-data: Likewise.
30882         * conform/data/sys/types.h-data: Likewise.
30883         * conform/data/sys/wait.h-data: Likewise.
30884         * conform/data/time.h-data: Likewise.
30885         * conform/data/unistd.h-data: Likewise.
30886         * conform/data/utime.h-data: Likewise.
30888         * io/sys/stat.h: fchmod was always in POSIX.
30889         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
30890         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
30891         * rt/aio.h: Define __need_timespec before including <time.h>.
30892         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
30893         struct.  Add forward declaration of pthread_attr_t and use it in
30894         sigevent.
30895         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
30896         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
30897         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
30898         always remove CLK_TCK definition.
30900 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
30902         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
30904 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
30906         * conform/run-conformtest.sh: New file.
30907         * conform/Makefile: Run run-conformtest for tests.
30908         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
30909         support.
30911         * conform/data/uchar.h-data: New file.
30912         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
30913         * conform/data/arpa/inet.h-data: Likewise.
30914         * conform/data/assert.h-data: Likewise.
30915         * conform/data/complex.h-data: Likewise.
30916         * conform/data/cpio.h-data: Likewise.
30917         * conform/data/ctype.h-data: Likewise.
30918         * conform/data/dirent.h-data: Likewise.
30919         * conform/data/dlfcn.h-data: Likewise.
30920         * conform/data/errno.h-data: Likewise.
30921         * conform/data/fcntl.h-data: Likewise.
30922         * conform/data/float.h-data: Likewise.
30923         * conform/data/fmtmsg.h-data: Likewise.
30924         * conform/data/fnmatch.h-data: Likewise.
30925         * conform/data/ftw.h-data: Likewise.
30926         * conform/data/glob.h-data: Likewise.
30927         * conform/data/grp.h-data: Likewise.
30928         * conform/data/iconv.h-data: Likewise.
30929         * conform/data/inttypes.h-data: Likewise.
30930         * conform/data/langinfo.h-data: Likewise.
30931         * conform/data/libgen.h-data: Likewise.
30932         * conform/data/limits.h-data: Likewise.
30933         * conform/data/locale.h-data: Likewise.
30934         * conform/data/math.h-data: Likewise.
30935         * conform/data/monetary.h-data: Likewise.
30936         * conform/data/mqueue.h-data: Likewise.
30937         * conform/data/ndbm.h-data: Likewise.
30938         * conform/data/net/if.h-data: Likewise.
30939         * conform/data/netdb.h-data: Likewise.
30940         * conform/data/netinet/in.h-data: Likewise.
30941         * conform/data/nl_types.h-data: Likewise.
30942         * conform/data/poll.h-data: Likewise.
30943         * conform/data/pthread.h-data: Likewise.
30944         * conform/data/pwd.h-data: Likewise.
30945         * conform/data/regex.h-data: Likewise.
30946         * conform/data/sched.h-data: Likewise.
30947         * conform/data/search.h-data: Likewise.
30948         * conform/data/semaphore.h-data: Likewise.
30949         * conform/data/setjmp.h-data: Likewise.
30950         * conform/data/signal.h-data: Likewise.
30951         * conform/data/spawn.h-data: Likewise.
30952         * conform/data/stdarg.h-data: Likewise.
30953         * conform/data/stdio.h-data: Likewise.
30954         * conform/data/stdlib.h-data: Likewise.
30955         * conform/data/string.h-data: Likewise.
30956         * conform/data/strings.h-data: Likewise.
30957         * conform/data/stropts.h-data: Likewise.
30958         * conform/data/sys/ipc.h-data: Likewise.
30959         * conform/data/sys/mman.h-data: Likewise.
30960         * conform/data/sys/msg.h-data: Likewise.
30961         * conform/data/sys/resource.h-data: Likewise.
30962         * conform/data/sys/select.h-data: Likewise.
30963         * conform/data/sys/sem.h-data: Likewise.
30964         * conform/data/sys/shm.h-data: Likewise.
30965         * conform/data/sys/socket.h-data: Likewise.
30966         * conform/data/sys/stat.h-data: Likewise.
30967         * conform/data/sys/statvfs.h-data: Likewise.
30968         * conform/data/sys/time.h-data: Likewise.
30969         * conform/data/sys/timeb.h-data: Likewise.
30970         * conform/data/sys/times.h-data: Likewise.
30971         * conform/data/sys/types.h-data: Likewise.
30972         * conform/data/sys/uio.h-data: Likewise.
30973         * conform/data/sys/un.h-data: Likewise.
30974         * conform/data/sys/utsname.h-data: Likewise.
30975         * conform/data/sys/wait.h-data: Likewise.
30976         * conform/data/syslog.h-data: Likewise.
30977         * conform/data/tar.h-data: Likewise.
30978         * conform/data/termios.h-data: Likewise.
30979         * conform/data/utime.h-data: Likewise.
30980         * conform/data/utmpx.h-data: Likewise.
30981         * conform/data/varargs.h-data: Likewise.
30982         * conform/data/wchar.h-data: Likewise.
30983         * conform/data/wctype.h-data: Likewise.
30984         * conform/data/wordexp.h-data: Likewise.
30986         * include/stropts.h: New file.
30987         * include/uchar.h: New file.
30988         * include/aio.h: Changes to allow conformtest.pl to use the headers.
30989         * include/assert.h: Likewise.
30990         * include/ctype.h: Likewise.
30991         * include/dirent.h: Likewise.
30992         * include/dlfcn.h: Likewise.
30993         * include/fcntl.h: Likewise.
30994         * include/fnmatch.h: Likewise.
30995         * include/glob.h: Likewise.
30996         * include/grp.h: Likewise.
30997         * include/libio.h: Likewise.
30998         * include/locale.h: Likewise.
30999         * include/math.h: Likewise.
31000         * include/net/if.h: Likewise.
31001         * include/netdb.h: Likewise.
31002         * include/netinet/in.h: Likewise.
31003         * include/pthread.h: Likewise.
31004         * include/pwd.h: Likewise.
31005         * include/regex.h: Likewise.
31006         * include/sched.h: Likewise.
31007         * include/search.h: Likewise.
31008         * include/setjmp.h: Likewise.
31009         * include/signal.h: Likewise.
31010         * include/stdio.h: Likewise.
31011         * include/stdlib.h: Likewise.
31012         * include/string.h: Likewise.
31013         * include/sys/cdefs.h: Likewise.
31014         * include/sys/mman.h: Likewise.
31015         * include/sys/msg.h: Likewise.
31016         * include/sys/resource.h: Likewise.
31017         * include/sys/select.h: Likewise.
31018         * include/sys/socket.h: Likewise.
31019         * include/sys/stat.h: Likewise.
31020         * include/sys/statvfs.h: Likewise.
31021         * include/sys/time.h: Likewise.
31022         * include/sys/times.h: Likewise.
31023         * include/sys/uio.h: Likewise.
31024         * include/sys/utsname.h: Likewise.
31025         * include/sys/wait.h: Likewise.
31026         * include/termios.h: Likewise.
31027         * include/time.h: Likewise.
31028         * include/ulimit.h: Likewise.
31029         * include/unistd.h: Likewise.
31030         * include/utime.h: Likewise.
31031         * include/wchar.h: Likewise.
31032         * include/wctype.h: Likewise.
31033         * include/wordexp.h: Likewise.
31035         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
31037         * time/time.h: TIME_UTC must be a macro.
31038         Make timespec_get available for ISO C11 only as well.
31040 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
31042         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
31043         Reported by Peng Haitao <penght@cn.fujitsu.com>.
31045 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
31047         * configure.in: Use -o not -a in test for unsupported multi-arch.
31049 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
31051         * manual/texinfo.tex: Update to version 2012-01-19.16.
31053 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
31055         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
31057 2012-02-24  Roland McGrath  <roland@hack.frob.com>
31059         [BZ #13738]
31060         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
31061         * manual/fdl-1.3.texi: New file.
31062         * manual/fdl-1.1.texi: File removed.
31064         [BZ #13738]
31065         * manual/libc.texinfo (FDL_VERSION): New @set.
31066         Use it for mention of FDL in cover text.
31067         (Documentation License): Use it in @include file name.
31069 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
31070             Roland McGrath  <roland@hack.frob.com>
31072         [BZ #5461]
31073         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
31074         not LONG_LONG_MAX and LONG_LONG_MIN.
31075         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
31076         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
31077         name.
31078         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
31080 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
31082         [BZ #2547]
31083         [BZ #11365]
31084         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
31085         manipulate bits before adding and subtracting TWO23[sx].
31086         * math/libm-test.inc (nearbyint_test): Add more tests.
31088 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
31090         [BZ #2548]
31091         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
31092         bits before adding and subtracting TWO23[sx].
31093         * math/libm-test.inc (rint_test): Add more tests.
31094         (rint_test_tonearest): Likewise.
31095         (rint_test_towardzero): Likewise.
31096         (rint_test_downward): Likewise.
31097         (rint_test_upward: Likewise.
31099 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
31101         [BZ #10110]
31102         * include/stdc-predef.h: New file.  Extracted from features.h.
31103         * include/features.h: Include stdc-predef.h.
31104         * Makefile (headers): Add stdc-predef.h.
31105         * CONFORMANCE (Compiler limitations): Update.
31107 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
31109         * manual/libc.texinfo (VERSION, UPDATED): Revert.
31111 2012-02-21  David S. Miller  <davem@davemloft.net>
31113         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
31114         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
31116 2012-02-20  David S. Miller  <davem@davemloft.net>
31118         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
31119         using a normal save/restore sequence, rather than allocating a
31120         dummy stack frame just to store a frame pointer and restore.
31121         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
31123 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
31125         * manual/install.texi: Fix stray word in line-wrapped comment.
31127 2012-02-20  David S. Miller  <davem@davemloft.net>
31129         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
31130         both binutils and gcc support GOTDATA.
31132         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
31133         "rd %pc" in the PIC register setup sequences.
31135         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
31136         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
31137         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
31138         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
31139         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
31140         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
31141         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
31142         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
31143         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
31144         (SYSCALL_ERROR_HANDLER): Likewise.
31145         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
31146         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
31147         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
31148         (SYSCALL_ERROR_HANDLER): Likewise.
31150         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
31151         (HAVE_GCC_GOTDATA): New.
31152         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
31153         relocation support in both binutils and gcc.
31154         * sysdeps/sparc/elf/configure: Regenerate.
31156         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
31157         * sysdeps/sparc/sparc32/elf/configure: Delete.
31158         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
31159         * sysdeps/sparc/sparc64/elf/configure: Delete.
31160         * sysdeps/sparc/elf/configure.in: New file.
31161         * sysdeps/sparc/elf/configure: Generate.
31163         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
31164         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
31165         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
31166         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
31167         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
31169 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
31171         * manual/install.texi: Do not mention specific glibc version
31172         numbers.
31173         * manual/libc.texinfo (VERSION, UPDATED): Update.
31174         (@copying): Use @copyright{} and range of years.
31176 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
31178         [BZ #13695]
31179         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
31180         [crti.S not in sysdirs] (generated): Do not append.
31181         [crti.S not in sysdirs] (omit-deps): Likewise.
31182         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
31183         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
31184         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
31185         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
31186         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
31187         Likewise.
31188         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
31189         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
31190         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
31191         * csu/defs.awk: Remove file.
31192         * sysdeps/generic/initfini.c: Likewise.
31193         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
31194         variable.
31195         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
31196         Likewise.
31198 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
31200         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
31201         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
31202         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
31203         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
31204         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
31205         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
31206         <bits/epoll.h>.
31207         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
31208         (__EPOLL_PACKED): Define to empty if not defined by
31209         <bits/epoll.h>.
31210         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
31211         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
31212         bits/epoll.h.
31214 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
31216         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
31217         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
31218         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
31219         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
31220         <bits/timerfd.h>.
31221         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
31222         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
31223         bits/timerfd.h.
31225 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
31227         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
31228         in C locale.
31229         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
31230         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
31231         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
31232         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31234 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
31236         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
31237         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
31239 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
31241         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
31242         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
31243         defined.
31244         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
31245         Likewise.
31246         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
31247         entry for 2.16.
31249 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
31251         * math/w_acos.c: Use non-signaling floating-point comparisons.
31252         * math/w_acosf.c: Likewise.
31253         * math/w_acosh.c: Likewise.
31254         * math/w_acoshf.c: Likewise.
31255         * math/w_acoshl.c: Likewise.
31256         * math/w_acosl.c: Likewise.
31257         * math/w_asin.c: Likewise.
31258         * math/w_asinf.c: Likewise.
31259         * math/w_asinl.c: Likewise.
31260         * math/w_atanh.c: Likewise.
31261         * math/w_atanhf.c: Likewise.
31262         * math/w_atanhl.c: Likewise.
31263         * math/w_exp2.c: Likewise.
31264         * math/w_exp2f.c: Likewise.
31265         * math/w_exp2l.c: Likewise.
31266         * math/w_j0.c: Likewise.
31267         * math/w_j0f.c: Likewise.
31268         * math/w_j0l.c: Likewise.
31269         * math/w_j1.c: Likewise.
31270         * math/w_j1f.c: Likewise.
31271         * math/w_j1l.c: Likewise.
31272         * math/w_jn.c: Likewise.
31273         * math/w_jnf.c: Likewise.
31274         * math/w_log.c: Likewise.
31275         * math/w_log10.c: Likewise.
31276         * math/w_log10f.c: Likewise.
31277         * math/w_log10l.c: Likewise.
31278         * math/w_log2.c: Likewise.
31279         * math/w_log2f.c: Likewise.
31280         * math/w_log2l.c: Likewise.
31281         * math/w_logf.c: Likewise.
31282         * math/w_logl.c: Likewise.
31283         * math/w_sqrt.c: Likewise.
31284         * math/w_sqrtf.c: Likewise.
31285         * math/w_sqrtl.c: Likewise.
31286         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
31287         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
31288         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
31289         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
31290         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
31292 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
31294         [BZ #9739]
31295         * manual/string.texi (strnlen): Use correct parameter name in
31296         equivalent expression.
31298 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
31300         [BZ #11174]
31301         * manual/users.texi (seteuid): Consistently use neweuid for
31302         argument name.
31304 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
31306         [BZ #13704]
31307         * manual/nss.texi (Services in the NSS configuration): Correct
31308         list of services in example configuration file.
31310 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
31312         [BZ #11322]
31313         * manual/arith.texi: Remove statements about negative zero
31314         behaving identically to zero.
31316 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
31318         [BZ #5993]
31319         * manual/install.texi: Do not document upgrading from libc5.
31321 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
31323         [BZ #4596]
31324         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
31326 2012-02-18  David S. Miller  <davem@davemloft.net>
31328         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
31329         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
31330         %o7 across the call.
31331         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
31332         instead.
31333         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
31334         SETUP_PIC_REG_LEAF.
31335         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
31336         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
31337         * sysdeps/sparc/crtn.S: Likewise.
31339 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
31341         * aout/Makefile: Remove.
31343 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
31345         [BZ #13058]
31346         * manual/examples/argp-ex1.c (main): Format definition in GNU
31347         style.
31348         * manual/examples/argp-ex2.c (main): Likewise.
31349         * manual/examples/argp-ex3.c (main): Likewise.
31350         * manual/examples/argp-ex4.c (main): Likewise.
31351         * manual/examples/longopt.c (main): Use new-style prototype
31352         definition.
31353         * manual/examples/strncat.c (main): Specify return type and use
31354         (void) for arguments.
31355         * manual/examples/subopt.c (main): Use char **argv argument.
31357 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
31359         [BZ #5077]
31360         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
31361         rounding modes.
31363 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
31365         [BZ #6907]
31366         * manual/string.texi (strchr): Change when strchrnul is
31367         recommended.
31369 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
31371         [BZ #174]
31372         * manual/locale.texi (setlocale): Document LOCPATH.
31374 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
31376         [BZ #10210]
31377         * manual/process.texi (execle): Move @dots{} before last argument.
31379 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
31381         [BZ #12047]
31382         * manual/charset.texi (Generic Charset Conversion): Fix typo
31383         (LC_TYPE -> LC_CTYPE).
31385 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
31387         [BZ #5805]
31388         * manual/arith.texi (scalbn): Use @var{} on parameter names.
31389         (scalbnf): Likewise.
31390         (scalbnl): Likewise.
31391         (scalbln): Likewise.
31392         (scalblnf): Likewise.
31393         (scalblnl): Likewise.
31394         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
31395         (vwarnx): Likewise.
31396         (verr): Likewise.
31397         (verrx): Likewise.
31398         * manual/filesys.texi (telldir): Use braces around return type.
31399         * manual/llio.texi (mmap): Add space after comma.
31400         (mmap64): Likewise.
31401         * manual/math.texi (jn): Use @var{} on parameter names.
31402         (jnf): Likewise.
31403         (jnl): Likewise.
31404         (yn): Likewise.
31405         (ynf): Likewise.
31406         (ynl): Likewise.
31407         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
31408         line.
31409         * manual/resource.texi (ulimit): Use @dots{} instead of literal
31410         "...".
31411         (sched_get_priority_min): Remove semicolon on @deftypefun line.
31412         (sched_get_priority_max): Likewise.
31413         * manual/signal.texi (sigvec): Add space after comma.
31414         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
31415         names.
31416         (if_indextoname): Likewise.
31417         (if_freenameindex): Likewise.
31418         (sendto): Use ',' instead of '.' in prototype.
31419         * manual/startup.texi (syscall): Use @dots{} instead of literal
31420         "...".
31421         * manual/stdio.texi (__fpending): Separate initial words of
31422         paragraph from @deftypefun line.
31423         * manual/syslog.texi (syslog): Use @dots{} instead of literal
31424         "...".
31425         (vsyslog): Use @var{} on parameter names.
31426         * manual/terminal.texi (stty): Use @var{} on parameter names.
31427         * manual/users.texi (getutmp): Use @var{} on parameter names.
31428         (getutmpx): Likewise.
31430 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
31432         [BZ #6884]
31433         * manual/stdio.texi (fopen): Fix typos in description of
31434         ",ccs=STRING".
31436 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
31438         [BZ #4026]
31439         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
31440         get clock_id definition.
31442 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
31444         [BZ #4822]
31445         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
31446         (madvise): Cast every argument to void on its own.
31448 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
31450         [BZ #9902]
31451         * manual/startup.texi (Exit Status): Fix typo.
31453 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
31455         [BZ #10140]
31456         * manual/examples/argp-ex1.c: Include <stdlib.h>.
31457         * manual/examples/argp-ex2.c: Likewise.
31458         * manual/examples/argp-ex3.c: Likewise.
31460 2012-02-16  Richard Henderson  <rth@redhat.com>
31462         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
31463         * sysdeps/s390/s390-32/initfini.c: Remove.
31464         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
31465         * sysdeps/s390/s390-64/initfini.c: Remove.
31467 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
31469         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
31470         compiler output for sysdeps/generic/initfini.c.
31471         * sysdeps/sh/elf/initfini.c: Remove file.
31473 2012-02-16  David S. Miller  <davem@davemloft.net>
31475         [BZ #11494]
31476         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
31478         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
31479         * sysdeps/sparc/crti.S: New file.
31480         * sysdeps/sparc/crtn.S: New file.
31481         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
31482         * sysdeps/sparc/sparc64/Makefile: Likewise.
31484 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
31486         [BZ #3335]
31487         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
31489 2012-02-15  Roland McGrath  <roland@hack.frob.com>
31491         [BZ #4822]
31492         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
31494         * mach/devstream.c (cookie_io_functions_t): Macro removed.
31495         (write, read, close): Likewise.
31496         Patch by Aurelien Jarno <aurelien@aurel32.net>.
31498 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
31500         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
31501         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
31502         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
31503         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
31504         <bits/signalfd.h>.
31505         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
31506         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
31507         bits/signalfd.h.
31509 2012-02-14  Marek Polacek  <polacek@redhat.com>
31511         * sysdeps/x86_64/crti.S: New file.
31512         * sysdeps/x86_64/crtn.S: New file.
31513         * sysdeps/x86_64/elf/initfini.c: Remove file.
31515 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
31517         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
31518         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
31519         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
31520         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
31521         <bits/inotify.h>.
31522         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
31523         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
31524         bits/inotify.h.
31526 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
31528         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
31529         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
31530         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
31531         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
31532         <bits/eventfd.h>.
31533         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
31534         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
31535         bits/eventfd.h.
31537 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
31539         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
31540         __feraiseexcept instead of feraiseexcept.
31542         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
31543         nanosleep invocations.
31544         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
31545         strings, and add error checking for a nanosleep invocations.
31547 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
31549         Replace FSF snail mail address with URLs, as per GNU coding standards.
31550         Most of the snail mail addresses were wrong anyway, and omitting
31551         them makes the source code easier to maintain.  Almost all of the
31552         changes are to license notices and to locale LC_IDENTIFICATION
31553         addresses, except for this one:
31554         * manual/libc.texinfo: In "Published by", give the FSF's URL,
31555         not its snail mail address.
31557 2012-02-09  Richard Henderson  <rth@twiddle.net>
31559         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
31560         of kernel-features.h.
31562         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
31564 2012-02-08  Marek Polacek  <polacek@redhat.com>
31566         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
31567         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
31568         * sysdeps/gnu/_G_config.h: Likewise.
31569         * sysdeps/generic/_G_config.h: Likewise.
31571 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
31573         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
31574         tests.
31575         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31577         * sysdeps/powerpc/powerpc32/crti.S: New file.
31578         * sysdeps/powerpc/powerpc32/crtn.S: New file.
31579         * sysdeps/powerpc/powerpc64/crti.S: New file.
31580         * sysdeps/powerpc/powerpc64/crtn.S: New file.
31582         * Makeconfig (have-initfini): Don't set.
31583         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
31584         * configure.in (nopic_initfini): Don't substitute.
31585         * config.h.in (HAVE_INITFINI): Don't #undef.
31586         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
31587         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
31589 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
31591         Support crti.S and crtn.S provided directly by architectures.
31592         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
31593         [crti.S in sysdirs] (omit-deps): Likewise.
31594         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
31595         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
31596         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
31597         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
31598         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
31599         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
31600         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
31601         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
31602         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
31603         compiler output for sysdeps/generic/initfini.c.
31604         * sysdeps/i386/elf/Makefile: Remove file.
31605         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
31607 2012-02-07  Marek Polacek  <polacek@redhat.com>
31609         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
31610         * sysdeps/gnu/_G_config.h: Likewise.
31611         * sysdeps/mach/hurd/_G_config.h: Likewise.
31613 2012-02-07  Marek Polacek  <polacek@redhat.com>
31615         * math/Makefile (tests): Add tst-CMPLX2.
31616         * math/tst-CMPLX2.c: New file.
31618 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
31620         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
31622         * math/libm-test.inc (jn_test): Add missing L suffix.
31624 2012-02-06  Marek Polacek  <polacek@redhat.com>
31626         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
31627         * sysdeps/i386/fpu/e_powf.S: Likewise.
31628         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
31629         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
31630         * sysdeps/i386/fpu/e_acosh.S: Likewise.
31631         * sysdeps/i386/fpu/e_pow.S: Likewise.
31632         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
31633         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
31634         * sysdeps/i386/fpu/s_expm1.S: Likewise.
31635         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
31636         * sysdeps/i386/fpu/e_log2.S: Likewise.
31637         * sysdeps/i386/fpu/e_log2l.S: Likewise.
31638         * sysdeps/i386/fpu/e_scalb.S: Likewise.
31639         * sysdeps/i386/fpu/e_powl.S: Likewise.
31640         * sysdeps/i386/fpu/s_log1p.S: Likewise.
31641         * sysdeps/i386/fpu/e_log10f.S: Likewise.
31642         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
31643         * sysdeps/i386/fpu/e_logl.S: Likewise.
31644         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
31645         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
31646         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
31647         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
31648         * sysdeps/i386/fpu/e_log2f.S: Likewise.
31649         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
31650         * sysdeps/i386/fpu/e_log.S: Likewise.
31651         * sysdeps/i386/fpu/s_cexp.S: Likewise.
31652         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
31653         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
31654         * sysdeps/i386/fpu/e_logf.S: Likewise.
31655         * sysdeps/i386/fpu/e_log10l.S: Likewise.
31656         * sysdeps/i386/fpu/e_atanh.S: Likewise.
31657         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
31658         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
31659         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
31660         * sysdeps/i386/fpu/e_log10.S: Likewise.
31661         * sysdeps/i386/fpu/s_frexp.S: Likewise.
31662         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
31663         * sysdeps/i386/fpu/s_asinh.S: Likewise.
31664         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
31665         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
31666         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
31667         * sysdeps/i386/asm-syntax.h: Likewise.
31668         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
31669         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
31670         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
31671         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
31672         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
31673         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
31674         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
31675         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
31676         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
31677         * sysdeps/powerpc/sysdep.h: Likewise.
31678         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
31679         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
31681 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
31683         [BZ #411]
31684         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
31686 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
31688         * sysdeps/i386/sysdep.h: Include <features.h>.
31689         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
31690         version.
31692 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
31694         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
31695         Define.
31696         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
31697         LOAD_PIC_REG_STR.
31699 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
31701         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
31702         (SETUP_PIC_REG): Use GET_PC_THUNK.
31703         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
31704         macro.
31706 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
31708         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
31709         for non-PIC compilation.
31710         (SETUP_PIC_REG): Add .p2align directive.
31711         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
31712         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
31713         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
31714         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
31715         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
31716         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
31717         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
31718         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
31719         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
31720         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
31721         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
31722         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
31723         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
31724         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
31725         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
31726         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
31727         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
31728         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
31729         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
31730         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
31731         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
31732         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
31733         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
31734         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
31735         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
31736         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
31737         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
31738         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
31739         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
31740         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
31741         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
31742         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
31743         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
31744         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
31745         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
31746         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
31747         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
31748         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
31749         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
31750         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
31751         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
31753 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
31755         * math/tst-CMPLX.c: Include <stdio.h>.
31757 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
31759         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
31760         float.
31761         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
31762         * sysdeps/sparc/bits/mathdef.h: Likewise.
31764 2012-01-31  Marek Polacek  <polacek@redhat.com>
31766         * libio/libio.h: Don't define _PARAMS.
31767         * locale/programs/config.h: Don't define PARAMS.
31768         * stdlib/strtol_l.c: Likewise.
31769         (__strtol_l): Remove PARAMS from the prototype.
31771 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
31773         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
31774         names.  Just use the correct names.  Remove unnecessary wrapper
31775         functions.
31776         * malloc/arena.c: Likewise.
31777         * malloc/hooks.c: Likewise.
31779         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
31780         ARENA_TEST says not to.  Simplify test for creation of a new arena.
31781         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
31783 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
31785         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
31786         into tail calls.
31787         (update_get_addr): New function.
31788         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
31789         GET_ADDR_MODULE parameter.
31791 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
31793         * crypt/cert.c: Remove __STDC__ conditionals.
31794         * crypt/crypt-entry.c: Likewise.
31795         * crypt/crypt_util.c: Likewise.
31796         * libio/filedoalloc.c: Likewise.
31797         * libio/fileops.c: Likewise.
31798         * libio/genops.c: Likewise.
31799         * libio/iofclose.c: Likewise.
31800         * libio/iofdopen.c: Likewise.
31801         * libio/iofopen.c: Likewise.
31802         * libio/iofopen64.c: Likewise.
31803         * libio/iogetdelim.c: Likewise.
31804         * libio/iopopen.c: Likewise.
31805         * libio/obprintf.c: Likewise.
31806         * libio/oldfileops.c: Likewise.
31807         * libio/oldiofclose.c: Likewise.
31808         * libio/oldiofdopen.c: Likewise.
31809         * libio/oldiofopen.c: Likewise.
31810         * libio/oldiopopen.c: Likewise.
31811         * libio/wfiledoalloc.c: Likewise.
31812         * libio/wgenops.c: Likewise.
31813         * locale/programs/xmalloc.c: Likewise.
31814         * misc/syslog.c: Likewise.
31815         * stdio-common/xbug.c: Likewise.
31816         * string/memchr.c: Likewise.
31817         * string/memcmp.c: Likewise.
31818         * string/memrchr.c: Likewise.
31819         * string/rawmemchr.c: Likewise.
31820         * sysdeps/posix/getcwd.c: Likewise.
31821         * time/strftime_l.c: Likewise.
31823 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
31825         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
31826         * config.make.in (config-cflags-sse2avx): Define.
31827         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
31828         Fix typo.
31830 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
31832         * scripts/config.guess: Update from upstream config git repository.
31833         * scripts/config.sub: Likewise.
31835 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
31837         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
31838         (EM_NUM): Update.
31839         (R_TILEPRO_*, R_TILEGX_*): New macros.
31841         * scripts/firstversions.awk: Fix bug in version range handling.
31843         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
31845         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
31847         * include/sys/epoll.h: New file.
31848         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
31849         libc_hidden_def.
31851 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
31853         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
31854         Avoid unnecessary __WORDSIZE == 64 test.
31855         (fmaxf): Use VEX format if possible.
31856         (fmax): Likewise.
31857         (fminf): Likewise.
31858         (fmin): Likewise.
31860         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
31861         * math/math_private.h: Remove libc_fegetround* and
31862         libc_fesetround*.
31863         * sysdeps/i386/configure.in: Check for -msse2avx.
31864         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
31865         also if SSE2AVX is defined.
31866         Remove libc_fegetround* and libc_fesetround*.
31867         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
31868         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
31869         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
31870         of HAS_YMM_USABLE.
31871         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
31872         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
31873         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
31874         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
31875         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
31877         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
31879 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31881         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
31882         size is not set.
31883         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
31885 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
31887         [BZ #13618]
31888         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
31889         relocation.
31890         * Makeconfig (libm): Define.
31891         * elf/Makefile: Add rules to build and run tst-relsort1.
31892         * elf/tst-relsort1.c: New file.
31893         * elf/tst-relsort1mod1.c: New file.
31894         * elf/tst-relsort1mod2.c: New file.
31896 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
31898         * math/s_ldexp.c: Remove __STDC__ conditionals.
31899         * math/s_ldexpf.c: Likewise.
31900         * math/s_ldexpl.c: Likewise.
31901         * math/s_nextafter.c: Likewise.
31902         * math/s_nexttowardf.c: Likewise.
31903         * math/s_significand.c: Likewise.
31904         * math/s_significandf.c: Likewise.
31905         * math/s_significandl.c: Likewise.
31906         * math/w_jnl.c: Likewise.
31907         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
31908         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
31909         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
31910         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
31911         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
31912         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
31913         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
31914         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
31915         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
31916         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
31917         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
31918         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
31919         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
31920         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
31921         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
31922         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
31923         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
31924         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
31925         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
31926         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
31927         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
31928         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
31929         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
31930         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
31931         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
31932         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
31933         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
31934         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
31935         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
31936         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
31937         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
31938         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
31939         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
31940         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
31941         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
31942         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
31943         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
31944         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
31945         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
31946         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
31947         * sysdeps/ieee754/k_standard.c: Likewise.
31948         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
31949         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
31950         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
31951         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
31952         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
31953         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
31954         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
31955         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
31956         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
31957         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
31958         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
31959         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
31960         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
31961         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
31962         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
31963         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
31964         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
31965         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
31966         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
31967         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
31968         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
31969         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
31970         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
31971         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
31972         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
31973         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
31974         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
31975         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
31976         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
31977         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
31978         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
31979         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
31980         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
31981         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
31982         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
31983         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
31984         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
31985         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
31986         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
31987         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
31988         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
31989         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
31990         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
31991         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
31992         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
31993         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
31994         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
31995         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
31996         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
31997         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
31998         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
31999         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
32000         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
32001         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
32002         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
32003         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
32004         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
32005         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
32006         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
32007         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
32008         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
32009         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
32010         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
32011         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
32012         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
32013         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
32014         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
32015         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
32016         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
32017         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
32018         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
32019         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
32020         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
32021         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
32022         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
32023         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
32024         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
32025         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
32026         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
32027         * sysdeps/ieee754/s_matherr.c: Likewise.
32028         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
32029         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
32030         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
32031         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
32033 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
32035         * crypt/md5.h: Remove __STDC__ conditionals.
32036         * libio/libioP.h: Likewise.
32037         * locale/programs/config.h: Likewise.
32038         * sysdeps/generic/sysdep.h: Likewise.
32039         * sysdeps/i386/asm-syntax.h: Likewise.
32040         * sysdeps/s390/asm-syntax.h: Likewise.
32041         * sysdeps/unix/sysdep.h: Likewise.
32042         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
32043         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
32045 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
32047         * libio/libio.h: Remove __STDC__ conditionals.
32048         * malloc/obstack.h: Likewise.
32049         * math/complex.h: Likewise.
32050         * math/math.h: Likewise.
32051         * sysdeps/generic/_G_config.h: Likewise.
32052         * sysdeps/gnu/_G_config.h: Likewise.
32053         * sysdeps/mach/hurd/_G_config.h: Likewise.
32054         * sysdeps/powerpc/bits/mathdef.h: Likewise.
32055         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
32056         * sysdeps/sparc/bits/mathdef.h: Likewise.
32058 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
32060         [BZ #13583]
32061         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
32062         Clean up HAS_* macros.
32063         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
32064         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
32065         possible.
32066         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
32067         HAS_AVX.
32068         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
32069         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
32070         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
32071         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
32072         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
32074 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
32076         * elf/tst-unique3.cc (gets): Remove declaration.
32077         * elf/tst-unique3lib.cc (gets): Likewise.
32078         * elf/tst-unique3lib2.cc (gets): Likewise.
32079         * elf/tst-unique4.cc (gets): Likewise.
32081 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
32083         * include/stdio.h: Add C++ protection.  Add gets declarations and
32084         definitions.
32085         * debug/tst-chk1.c: Don't declare gets here.
32086         * stdio-common/tst-gets.c: Likewise.
32088 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
32090         * posix/glob: Remove directory.
32092 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
32094         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
32096 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
32098         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
32099         of the non-standard EPFNOSUPPORT.
32101 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
32103         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
32104         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
32105         ANYWHERE set to 1 only on KERN_NO_SPACE error.
32107 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
32109         * wcsmbs/uchar.h: Test __STDC_VERSION__.
32111 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
32113         * nscd/aicache.c (addhstaiX): Do not cache negative results of
32114         transient errors.
32115         * nscd/grpcache.c (cache_addgr): Likewise.
32116         * nscd/hstcache.c (cache_addhst): Likewise.
32117         * nscd/initgrcache.c (addinitgroupsX): Likewise.
32118         * nscd/pwdcache.c (cache_addpw): Likewise.
32119         * nscd/servicescache.c (cache_addserv): Likewise.
32121 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
32123         * malloc/malloc.c: Various cleanups.
32124         * malloc/hooks.c: Likewise.
32126         * stdlib/Makefile (tests): Add bug-fmtmsg1.
32127         * stdlib/bug-fmtmsg1.c: New file.
32129         * stdlib/fmtmsg.c (init): Add missing unlock.
32130         Patch by Peng Haitao <penght@cn.fujitsu.com>.
32132 2012-01-12  Marek Polacek  <polacek@redhat.com>
32134         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
32135         and _GNU_SOURCE.
32137 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
32139         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
32140         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
32141         macro to ensure uniqueness of label name.
32142         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
32143         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
32145 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
32147         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
32149         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
32150         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
32151         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
32152         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
32154 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
32156         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
32158         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
32159         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
32160         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
32162         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
32164         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
32165         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
32166         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
32167         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
32169         * math/bits/math-finite.h: Add ldexp support.
32171 2012-01-10  Marek Polacek  <polacek@redhat.com>
32173         * locale/programs/localedef.h (show_archive_content): Add noreturn
32174         attribute.
32176 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
32178         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
32180 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
32182         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
32184         * io/Makefile (headers): Add bits/poll2.h.
32186 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
32188         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
32189         typo #include statement.
32191 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
32193         * include/sys/cdefs.h: Define __attribute_alloc_size.
32194         * catgets/gencat.c: Add alloc_size attribute and apply consistently
32195         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
32196         * elf/pldd.c: Likewise.
32197         * iconv/iconv_charmap.c: Likewise.
32198         * iconv/iconvconfig.c: Likewise.
32199         * iconv/strtab.c: Likewise.
32200         * locale/programs/locale.c: Likewise.
32201         * locale/programs/localedef.h: Likewise.
32202         * locale/programs/simple-hash.c: Likewise.
32203         * nscd/nscd.h: Likewise.
32204         * nss/makedb.c: Likewise.
32205         * sysdeps/generic/ldconfig.h: Likewise.
32206         * locale/programs/localedef.c: Remove xmalloc prototype.
32207         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
32209 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
32211         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
32212         appropriate.
32214 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
32216         * math/Makefile (tests): Add tst-CMPLX.
32217         * math/tst-CMPLX.c: New file.
32219         * math/complex.h (CMPLXL): Fix typo.
32221         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
32222         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
32223         GLIBC_2.16.
32224         * debug/tst-chk1.c: Add poll and ppoll tests.
32225         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
32226         * include/sys/poll.h: Add hidden proto for ppoll.
32227         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
32228         * sysdeps/mach/hurd/ppoll.c: Likewise.
32229         * io/ppoll.c: Likewise.
32230         * debug/poll_chk.c: New file.
32231         * debug/ppoll_chk.c: New file.
32232         * include/bits/poll2.h: New file.
32233         * io/bits/poll2.h: New file.
32235         [BZ #1350]
32236         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
32238         * configure.in: static is always set to yes.  Remove.
32239         * config.make.in: Don't set build-static.
32240         * Makeconfig: Remove use of build-static.
32241         * dlfcn/Makefile: Likewise.
32242         * elf/Makefile: Likewise.
32243         * math/Makefile: Likewise.
32244         * misc/Makefile: Likewise.
32245         * nptl/Makefile: Likewise.
32246         * sysdeps/mach/hurd/Makefile: Likewise.
32248         * configure.in: PWD_P is not used anymore.
32249         * config.make.in: Remove PWD_P entry.
32251         * configure.in: Remove last remnants of RANLIB.
32252         No need to check for signed size_t anymore.
32253         Don't set libc_commonpagesize and libc_relro_required here for Alpha
32254         and IA-64.
32255         Remove __builtin_expect test because we require at least gcc 3.4.
32256         * aclocal.m4: Likewise.
32258         * wcsmbs/mbrtoc16.c: Implement using towc function.
32259         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
32260         * wcsmbs/wcsmbsload.c: Likewise.
32261         * iconv/gconv_simple.c: Likewise.
32262         * iconv/gconv_int.h: Likewise.
32263         * iconv/gconv_builtin.h: Likewise.
32264         * iconv/iconv_prog.c: Remove CHAR16 handling.
32266         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
32268         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
32270         * configure.in: Remove --with-elf and --enable-bounded options.
32271         Dont set base_machine for ia64.  More non-ELF conditions removed.
32272         Remove testing and setting of leading underscore information.
32273         * config.make.in (build-bounded): Set to no.
32274         * config.h.in: Remove NO_UNDERSCORES entry.
32275         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
32276         them.
32277         * csu/start.c: Remove !NO_UNDERSCORE code.
32278         * locale/localeinfo.h: Likewise.
32279         * sysdeps/generic/machine-gmon.h: Likewise.
32280         * sysdeps/generic/sysdep.h: Likewise.
32281         * sysdeps/i386/sysdep.h: Likewise.
32282         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
32283         * sysdeps/mach/sysdep.h: Likewise.
32284         * sysdeps/s390/s390-32/sysdep.h: Likewise.
32285         * sysdeps/s390/s390-64/sysdep.h: Likewise.
32286         * sysdeps/sh/sysdep.h: Likewise.
32287         * sysdeps/sparc/sparc32/alloca.S: Likewise.
32288         * sysdeps/unix/i386/sysdep.S: Likewise.
32289         * sysdeps/unix/sparc/start.c: Likewise.
32290         * sysdeps/unix/sparc/sysdep.S: Likewise.
32291         * sysdeps/unix/sparc/sysdep.h: Likewise.
32292         * sysdeps/unix/start.c: Likewise.
32293         * sysdeps/unix/x86_64/sysdep.S: Likewise.
32294         * sysdeps/x86_64/sysdep.h: Likewise.
32296 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
32298         [BZ #13553]
32299         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
32300         for non-gcc.
32301         * argp/argp-fmtstream.h: Use const instead __const.
32302         * argp/argp.h: Likewise.
32303         * assert/assert.h: Likewise.
32304         * bits/fenv.h: Likewise.
32305         * bits/sched.h: Likewise.
32306         * bits/sigset.h: Likewise.
32307         * bits/sigthread.h: Likewise.
32308         * catgets/nl_types.h: Likewise.
32309         * conform/data/pthread.h-data: Likewise.
32310         * crypt/crypt-private.h: Likewise.
32311         * crypt/crypt.h: Likewise.
32312         * crypt/crypt_util.c: Likewise.
32313         * ctype/ctype.h: Likewise.
32314         * debug/execinfo.h: Likewise.
32315         * debug/mbsnrtowcs_chk.c: Likewise.
32316         * debug/mbsrtowcs_chk.c: Likewise.
32317         * debug/wcsnrtombs_chk.c: Likewise.
32318         * debug/wcsrtombs_chk.c: Likewise.
32319         * debug/wcstombs_chk.c: Likewise.
32320         * dirent/dirent.h: Likewise.
32321         * dlfcn/dlfcn.h: Likewise.
32322         * elf/neededtest4.c: Likewise.
32323         * grp/grp.h: Likewise.
32324         * gshadow/gshadow.h: Likewise.
32325         * iconv/gconv.h: Likewise.
32326         * iconv/gconv_int.h: Likewise.
32327         * iconv/gconv_simple.c: Likewise.
32328         * iconv/iconv.h: Likewise.
32329         * iconv/loop.c: Likewise.
32330         * iconv/skeleton.c: Likewise.
32331         * include/aio.h: Likewise.
32332         * include/aliases.h: Likewise.
32333         * include/argz.h: Likewise.
32334         * include/arpa/inet.h: Likewise.
32335         * include/assert.h: Likewise.
32336         * include/dirent.h: Likewise.
32337         * include/dlfcn.h: Likewise.
32338         * include/execinfo.h: Likewise.
32339         * include/fcntl.h: Likewise.
32340         * include/fenv.h: Likewise.
32341         * include/glob.h: Likewise.
32342         * include/grp.h: Likewise.
32343         * include/libintl.h: Likewise.
32344         * include/mntent.h: Likewise.
32345         * include/netdb.h: Likewise.
32346         * include/pwd.h: Likewise.
32347         * include/rpc/netdb.h: Likewise.
32348         * include/sched.h: Likewise.
32349         * include/search.h: Likewise.
32350         * include/shadow.h: Likewise.
32351         * include/signal.h: Likewise.
32352         * include/stdio.h: Likewise.
32353         * include/stdlib.h: Likewise.
32354         * include/string.h: Likewise.
32355         * include/sys/socket.h: Likewise.
32356         * include/sys/stat.h: Likewise.
32357         * include/sys/statfs.h: Likewise.
32358         * include/sys/statvfs.h: Likewise.
32359         * include/sys/syslog.h: Likewise.
32360         * include/sys/time.h: Likewise.
32361         * include/sys/uio.h: Likewise.
32362         * include/time.h: Likewise.
32363         * include/unistd.h: Likewise.
32364         * include/utmp.h: Likewise.
32365         * include/wchar.h: Likewise.
32366         * include/wctype.h: Likewise.
32367         * inet/aliases.h: Likewise.
32368         * inet/arpa/inet.h: Likewise.
32369         * inet/netinet/ether.h: Likewise.
32370         * inet/netinet/in.h: Likewise.
32371         * intl/libintl.h: Likewise.
32372         * io/bits/fcntl2.h: Likewise.
32373         * io/fcntl.h: Likewise.
32374         * io/ftw.h: Likewise.
32375         * io/sys/poll.h: Likewise.
32376         * io/sys/stat.h: Likewise.
32377         * io/sys/statfs.h: Likewise.
32378         * io/sys/statvfs.h: Likewise.
32379         * io/utime.h: Likewise.
32380         * libio/bits/stdio.h: Likewise.
32381         * libio/bits/stdio2.h: Likewise.
32382         * libio/libio.h: Likewise.
32383         * libio/libioP.h: Likewise.
32384         * libio/stdio.h: Likewise.
32385         * locale/lc-ctype.c: Likewise.
32386         * locale/locale.h: Likewise.
32387         * login/utmp.h: Likewise.
32388         * malloc/arena.c: Likewise.
32389         * malloc/malloc.c: Likewise.
32390         * malloc/malloc.h: Likewise.
32391         * malloc/mcheck.c: Likewise.
32392         * malloc/mtrace.c: Likewise.
32393         * math/bits/mathcalls.h: Likewise.
32394         * math/fenv.h: Likewise.
32395         * math/math_private.h: Likewise.
32396         * misc/bits/error.h: Likewise.
32397         * misc/bits/syslog.h: Likewise.
32398         * misc/err.h: Likewise.
32399         * misc/error.h: Likewise.
32400         * misc/fstab.h: Likewise.
32401         * misc/mntent.h: Likewise.
32402         * misc/regexp.h: Likewise.
32403         * misc/search.h: Likewise.
32404         * misc/sgtty.h: Likewise.
32405         * misc/sys/mman.h: Likewise.
32406         * misc/sys/syslog.h: Likewise.
32407         * misc/sys/uio.h: Likewise.
32408         * misc/sys/xattr.h: Likewise.
32409         * misc/ttyent.h: Likewise.
32410         * nis/rpcsvc/ypclnt.h: Likewise.
32411         * nss/nss.h: Likewise.
32412         * posix/bits/unistd.h: Likewise.
32413         * posix/fnmatch.h: Likewise.
32414         * posix/glob.h: Likewise.
32415         * posix/sched.h: Likewise.
32416         * posix/spawn.h: Likewise.
32417         * posix/sys/wait.h: Likewise.
32418         * posix/unistd.h: Likewise.
32419         * posix/wordexp.h: Likewise.
32420         * pwd/pwd.h: Likewise.
32421         * resolv/netdb.h: Likewise.
32422         * resource/sys/resource.h: Likewise.
32423         * rt/aio.h: Likewise.
32424         * rt/bits/mqueue2.h: Likewise.
32425         * rt/mqueue.h: Likewise.
32426         * shadow/shadow.h: Likewise.
32427         * signal/signal.h: Likewise.
32428         * socket/send.c: Likewise.
32429         * socket/sendto.c: Likewise.
32430         * socket/sys/socket.h: Likewise.
32431         * stdio-common/printf.h: Likewise.
32432         * stdlib/bits/stdlib.h: Likewise.
32433         * stdlib/fmtmsg.h: Likewise.
32434         * stdlib/monetary.h: Likewise.
32435         * stdlib/stdlib.h: Likewise.
32436         * stdlib/ucontext.h: Likewise.
32437         * streams/stropts.h: Likewise.
32438         * string/argz.h: Likewise.
32439         * string/bits/string2.h: Likewise.
32440         * string/string.h: Likewise.
32441         * string/strings.h: Likewise.
32442         * sunrpc/rpc/auth.h: Likewise.
32443         * sunrpc/rpc/auth_des.h: Likewise.
32444         * sunrpc/rpc/clnt.h: Likewise.
32445         * sunrpc/rpc/netdb.h: Likewise.
32446         * sunrpc/rpc/pmap_clnt.h: Likewise.
32447         * sunrpc/rpc/xdr.h: Likewise.
32448         * sysdeps/generic/inttypes.h: Likewise.
32449         * sysdeps/generic/net/if.h: Likewise.
32450         * sysdeps/generic/sys/swap.h: Likewise.
32451         * sysdeps/gnu/net/if.h: Likewise.
32452         * sysdeps/gnu/utmpx.h: Likewise.
32453         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
32454         * sysdeps/i386/i486/bits/string.h: Likewise.
32455         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
32456         * sysdeps/s390/bits/string.h: Likewise.
32457         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
32458         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
32459         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
32460         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
32461         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
32462         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
32463         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
32464         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
32465         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
32466         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
32467         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
32468         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
32469         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
32470         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
32471         * sysdeps/unix/sysv/linux/readv.c: Likewise.
32472         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
32473         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
32474         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
32475         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
32476         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
32477         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
32478         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
32479         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
32480         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
32481         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
32482         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
32483         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
32484         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
32485         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
32486         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
32487         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
32488         * sysvipc/sys/ipc.h: Likewise.
32489         * sysvipc/sys/msg.h: Likewise.
32490         * sysvipc/sys/sem.h: Likewise.
32491         * sysvipc/sys/shm.h: Likewise.
32492         * termios/termios.h: Likewise.
32493         * time/sys/time.h: Likewise.
32494         * time/time.h: Likewise.
32495         * wcsmbs/bits/wchar2.h: Likewise.
32496         * wcsmbs/uchar.h: Likewise.
32497         * wcsmbs/wchar.h: Likewise.
32498         * wctype/wctype.h: Likewise.
32500         [BZ #13551]
32501         * Makeconfig: Remove all but ELF support including AIX support.
32502         * Makerules: Likewise.
32503         * config.h.in: Likewise.
32504         * config.make.in: Likewise.
32505         * configure: Likewise.
32506         * configure.in: Likewise.
32507         * csu/Makefile: Likewise.
32508         * csu/version.c: Likewise.
32509         * debug/Makefile: Likewise.
32510         * dlfcn/Makefile: Likewise.
32511         * elf/Makefile: Likewise.
32512         * extra-lib.mk: Likewise.
32513         * iconv/Makefile: Likewise.
32514         * include/libc-symbols.h: Likewise.
32515         * include/shlib-compat.h: Likewise.
32516         * resolv/Makefile: Likewise.
32517         * resolv/res_libc.c: Likewise.
32518         * rt/Makefile: Likewise.
32519         * sysdeps/i386/asm-syntax.h: Likewise.
32520         * sysdeps/i386/sysdep.h: Likewise.
32521         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
32522         * sysdeps/mach/sysdep.h: Likewise.
32523         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
32524         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
32525         * sysdeps/s390/asm-syntax.h: Likewise.
32526         * sysdeps/s390/s390-32/sysdep.h: Likewise.
32527         * sysdeps/s390/s390-64/sysdep.h: Likewise.
32528         * sysdeps/sh/sysdep.h: Likewise.
32529         * sysdeps/unix/sparc/sysdep.h: Likewise.
32530         * sysdeps/wordsize-32/divdi3.c: Likewise.
32531         * sysdeps/x86_64/sysdep.h: Likewise.
32533         * argp/Versions: Remove _argp_unlock_xxx.
32535         [BZ #13559]
32536         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
32537         * abilist/libBrokenLocale.abilist: Likewise.
32538         * abilist/libanl.abilist: Likewise.
32539         * abilist/libc.abilist: Likewise.
32540         * abilist/libcrypt.abilist: Likewise.
32541         * abilist/libdl.abilist: Likewise.
32542         * abilist/libm.abilist: Likewise.
32543         * abilist/libnsl.abilist: Likewise.
32544         * abilist/libpthread.abilist: Likewise.
32545         * abilist/libresolv.abilist: Likewise.
32546         * abilist/librt.abilist: Likewise.
32547         * abilist/libthread_db.abilist: Likewise.
32548         * abilist/libutil.abilist: Likewise.
32549         * abilist/libnss_db.abilist: New file.
32551         * scripts/abilist.awk: Add support for indirect functions.
32553         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
32555         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
32557         * shlib-versions: Remove entries for ports architectures.
32559         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
32560         files in ports.
32561         * elf/stackguard-macros.h: Remove support for IA-64.
32562         * elf/tst-auditmod1.c: Likewise.
32563         * sysdeps/generic/ldsodefs.h: Likewise.
32565         * sysdeps/unix/sysv/linux/configure.in: Ports should define
32566         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
32567         configure files.
32569         [BZ #13552]
32570         * configure.in: Remove --enable-omitfp support.
32571         * FAQ.in: Adjust.
32572         * config.make.in: Likewise.
32573         * Makeconfig: Likewise.
32574         * manual/install.texi: Likewise.
32576         In case anyone cares, the IA-64 architecture could move to ports.
32577         * sysdeps/ia64/*: Removed.
32578         * sysdeps/unix/sysv/linux/ia64/*: Removed.
32579         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
32581         [BZ #13555]
32582         * configure.in: Remove entries for unsupported architectures.
32584         [BZ #13533]
32585         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
32586         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
32587         routines.
32588         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
32589         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
32590         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
32591         fall back to using wcrtomb.
32592         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
32593         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
32594         renaming.
32595         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
32596         * wcsmbs/tst-c16c32-1.c: New file.
32598         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
32599         local variable.
32601         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
32603         * elf/tst-unique3.cc: Add explicit declaration of gets.
32604         * elf/tst-unique3lib.cc: Likewise.
32605         * elf/tst-unique3lib2.cc: Likewise.
32606         * elf/tst-unique4.cc: Likewise.
32608         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
32610 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
32612         [BZ #13566]
32613         * assert/assert.h (static_assert): Don't define for C++.
32614         * libio/stdio.h (gets): Do declare for C++ <= C++11.
32615         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
32617 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
32619         * iconv/loop.c (single loop): Fix assertion in storing of
32620         remaining bytes.
32622         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
32624 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
32626         * posix/getconf.c: Update copyright year.
32627         * nss/getent.c: Likewise.
32628         * nss/makedb.c: Likewise.
32629         * iconv/iconvconfig.c: Likewise.
32630         * iconv/iconv_prog.c: Likewise.
32631         * elf/ldconfig.c: Likewise.
32632         * elf/pldd.c: Likewise.
32633         * elf/sotruss.ksh: Likewise.
32634         * catgets/gencat.c: Likewise.
32635         * csu/version.c: Likewise.
32636         * elf/ldd.bash.in: Likewise.
32637         * elf/sprof.c (print_version): Likewise.
32638         * locale/programs/locale.c: Likewise.
32639         * locale/programs/localedef.c: Likewise.
32640         * login/programs/pt_chown.c: Likewise.
32641         * nscd/nscd.c (print_version): Likewise.
32642         * debug/xtrace.sh: Likewise.
32643         * malloc/memusage.sh: Likewise.
32644         * malloc/mtrace.pl: Likewise.
32645         * debug/catchsegv.sh: Likewise.
32647 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
32649         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
32650         pure attribute.
32652 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
32654         [BZ #13533]
32655         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
32656         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
32657         transformations.
32658         * iconv/gconv_int.h: Likewise.
32659         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
32660         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
32661         from libc for GLIBC_2.16.
32662         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
32663         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
32664         * wcsmbs/uchar.h: Really define mbstate_t.
32665         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
32666         * wcsmbs/c16rtomb.c: New file.
32667         * wcsmbs/mbrtoc16.c: New file.
32668         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
32669         for C/POSIX locale.
32670         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
32671         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
32673         * wcsmbs/wchar.h: Add missing __restrict.
32675 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
32677         [BZ #13532]
32678         * time/Makefile (routines): Add timespec_get.
32679         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
32680         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
32681         timespec for ISO C11.
32682         * time/timespec_get.c: New file.
32683         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
32684         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
32686         [BZ #13531]
32687         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
32688         * stdlib/stdlib.h: Declare aligned_alloc.
32689         * Versions.def: Add GLIBC_2.16 for libc.
32690         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
32692         [BZ 13527]
32693         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
32694         ISO C11.
32696         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
32697         code.
32699         [BZ #13528]
32700         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
32702         [BZ #13529]
32703         * assert/assert.h (static_assert): Define.
32705         * version.h: Update for 2.16 development version.
32707         [BZ #13526]
32708         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
32709         _ISOC11_SOURCE.
32711         * version.h (RELEASE): Bump for 2.15 release.
32712         * include/features.h (__GLIBC_MINOR__): Bump to 15.
32714         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
32715         Patch by Marek Polacek <mpolacek@redhat.com>.
32717         * bits/byteswap.h: Protect long long constants with __extension__.
32718         * sysdeps/i386/bits/byteswap.h: Likewise.
32719         * sysdeps/ia64/bits/byteswap.h: Likewise.
32720         * sysdeps/s390/bits/byteswap.h: Likewise.
32721         * sysdeps/x86_64/bits/byteswap.h: Likewise.
32723 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
32725         [BZ #13540]
32726         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
32727         destination buffer.
32728         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
32730 2011-12-23  Marek Polacek  <polacek@redhat.com>
32732         * elf/dl-addr.c (determine_info): Add inline keyword.
32733         * elf/tst-auditmod4b.c (check_avx): Likewise.
32734         * elf/tst-auditmod6b.c (check_avx): Likewise.
32735         * elf/tst-auditmod6c.c (check_avx): Likewise.
32736         * elf/tst-auditmod7b.c (check_avx): Likewise.
32738 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
32740         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
32741         !__SSE_MATH__.
32743 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
32745         [BZ #13540]
32746         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
32747         processing for last bytes.
32749 2011-08-06  Bruno Haible  <bruno@clisp.org>
32751         [BZ #13061]
32752         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
32753         U+0385, not to U+1FEE.
32755         [BZ #13062]
32756         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
32757         entry for U+00A5 U+0301.
32759 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
32761         [BZ #13166]
32762         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
32763         buffer for the output is too small.
32765         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
32766         optimization.
32768         [BZ #13185]
32769         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
32770         SSE flags if possible.
32772 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
32774         [BZ #13540]
32775         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
32776         processing for last bytes.
32778 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
32780         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
32781         (syscall-list-default-options, syscall-list-default-condition)
32782         (syscall-list-includes): Define.
32783         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
32784         list of ABIs and options and #if conditions for each ABI.  Do not
32785         handle common syscalls between ABIs specially.
32786         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
32787         Remove.
32788         (syscall-list-variants, syscall-list-32bit-options)
32789         (syscall-list-32bit-condition, syscall-list-64bit-options)
32790         (syscall-list-64bit-condition): Define.
32791         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
32792         (syscall-list-variants, syscall-list-32bit-options)
32793         (syscall-list-32bit-condition, syscall-list-64bit-options)
32794         (syscall-list-64bit-condition): Define.
32795         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
32796         Remove.
32797         (syscall-list-variants, syscall-list-32bit-options)
32798         (syscall-list-32bit-condition, syscall-list-64bit-options)
32799         (syscall-list-64bit-condition): Define.
32800         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
32801         Remove.
32802         (syscall-list-variants, syscall-list-32bit-options)
32803         (syscall-list-32bit-condition, syscall-list-64bit-options)
32804         (syscall-list-64bit-condition): Define.
32806 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
32808         * locale/iso-639.def: Add brx entry.
32810         [BZ #13328]
32811         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
32812         Proposed by Mariusz_Cukr <marcukr@op.pl>.
32814         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
32815         __feraiseexcept_renamed.
32817 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
32819         [BZ #13538]
32820         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
32821         EPOLLET with unsigned values.
32822         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
32823         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
32825         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
32826         to large cancellation.
32827         * math/s_cacoshf.c: Likewise.
32828         * math/s_cacoshl.c: Likewise.
32830 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
32832         [BZ #13305]
32833         [BZ #12786]
32834         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
32835         * math/s_cacoshf.c: Likewise.
32836         * math/s_cacoshl.c: Likewise.
32838 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
32840         [BZ #13439]
32841         * iconv/gconv.h: Define __GCONV_SWAP.
32842         * iconvdata/unicode.c: The swap bit must be stored in __flags.
32843         * iconvdata/utf-16.c: Likewise.
32844         * iconvdata/utf-32.c: Likewise.
32846 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
32848         [BZ #13524]
32849         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
32850         numerator after shifting it by one limb.
32852 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
32854         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
32855         under [__USE_EXTERN_INLINES].
32857 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
32859         [BZ #13446]
32860         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
32862 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32864         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
32865         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
32866         optimized code.
32867         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
32868         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
32869         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
32870         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
32871         for strncasecmp/strncasecmp_l compilation.
32872         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
32873         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
32875 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
32877         [BZ #13484]
32878         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
32879         of __asm__.
32881 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
32883         [BZ #13506]
32884         * time/tzfile.c (__tzfile_read): Check values from file header.
32886 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
32888         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
32889         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
32890         * powerpc/powerpc32/dl-start.S: Likewise.
32891         * powerpc/powerpc32/elf/start.S: Likewise.
32892         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
32893         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
32894         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
32895         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
32896         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
32897         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
32898         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
32899         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
32900         * powerpc/powerpc32/fpu/s_round.S: Likewise.
32901         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
32902         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
32903         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
32904         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
32905         * powerpc/powerpc32/memset.S: Likewise.
32906         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
32907         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
32908         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
32909         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
32910         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
32911         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
32912         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
32913         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
32914         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
32915         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
32916         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
32917         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
32918         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
32920 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32922         * math/libm-test.inc: Added more nearbyint tests.
32923         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
32924         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
32925         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
32926         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
32928 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
32930         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
32931         FD_CLOEXEC.
32933 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
32935         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
32936         Add wcscpy-ssse3 wcscpy-c.
32937         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
32938         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
32939         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
32940         * sysdeps/x86_64/wcschr.S: New file.
32941         * sysdeps/x86_64/wcsrchr.S: New file.
32942         * string/test-strcmp.c: Remove checking of wcscmp function for
32943         wrong alignments.
32944         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
32945         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
32946         wcsrchr-sse2 wcsrchr-c.
32947         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
32948         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
32949         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
32950         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
32951         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
32952         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
32953         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
32954         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
32955         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
32956         * wcsmbc/wcschr.c (WCSCHR): New macro.
32958 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
32960         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
32961         * wcsmbs/test-wcsrchr.c: New file.
32962         * string/test-strrchr.c: Add wcsrchr support.
32963         (WIDE): New macro.
32964         * wcsmbs/test-wcscpy.c: New file.
32965         * string/test-strcpy.c: Add wcscpy support.
32966         (WIDE): New macro.
32968 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
32970         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
32971         the inner loop.
32973 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
32975         [BZ #13472]
32976         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
32978 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
32980         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
32981         Minor optimizations.
32983         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
32984         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
32985         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
32987 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
32989         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
32990         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
32991         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
32992         for gcc to avoid warnings.
32993         * inet/Makefile (tests): Add tst-checks.
32994         * inet/tst-checks.c: New file.
32996         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
32997         warning.
32999         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
33000         __wmemcmp_sse2.
33002         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
33003         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
33005         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
33007 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
33009         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
33010         problem.
33012         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
33014 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
33016         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
33017         conditional on GCC version.
33018         (__arch_compare_and_exchange_val_8_acq)
33019         (__arch_compare_and_exchange_val_16_acq)
33020         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
33021         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
33022         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
33024 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
33026         * sysdeps/sh/backtrace.c: New file.
33028 2011-12-02  Andreas Schwab  <schwab@redhat.com>
33030         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
33031         parenthesis.
33033 2011-12-01  Andreas Schwab  <schwab@redhat.com>
33035         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
33036         falling back to utime.
33038 2011-11-30  Andreas Schwab  <schwab@redhat.com>
33040         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
33041         expectations for float.
33043 2011-11-29  Andreas Schwab  <schwab@redhat.com>
33045         * locale/weight.h (findidx): Add parameter len.
33046         * locale/weightwc.h (findidx): Likewise.
33047         * posix/fnmatch_loop.c (FCT): Adjust caller.
33048         * posix/regcomp.c (build_equiv_class): Likewise.
33049         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
33050         * posix/regexec.c (check_node_accept_bytes): Likewise.
33051         * string/strcoll_l.c (STRCOLL): Likewise.
33052         * string/strxfrm_l.c (STRXFRM): Likewise.
33054 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
33056         * Makefile.in: Remove CVSOPT handling.
33057         * configure.in: Remove use of AC_REVISION.
33058         * iconvdata/Makefile (distribute): No need to filter out CVS.
33059         * scripts/list-sources.sh: Remove CVS, subversion and monotone
33060         handling.
33062 2011-11-16  Andreas Schwab  <schwab@redhat.com>
33064         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
33065         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
33066         [USE_AS_STRNCASECMP_L]: Likewise.
33067         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
33068         NO_TLS_DIRECT_SEG_REFS.
33069         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
33070         Fix argument offsets for non-PIC.
33071         [USE_AS_STRNCASECMP_L]: Likewise.
33072         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
33073         NO_TLS_DIRECT_SEG_REFS.
33075 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
33077         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
33078         O_CLOEXEC.
33079         * locale/loadlocale.c (_nl_load_locale): Likewise.
33081 2011-11-15  Andreas Schwab  <schwab@redhat.com>
33083         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
33084         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
33085         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
33086         (SYSCALL_GETTIME): Set errno on error.
33088         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
33089         count references to noai6ai_cached.
33091 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
33093         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
33095         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
33096         FD_CLOEXEC for /proc/self/maps.
33098         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
33099         FD_CLOEXEC for /proc/meminfo.
33101         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
33102         gai.conf.
33104         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
33105         FD_CLOEXEC for given file.
33107         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
33109         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
33110         FD_CLOEXEC for /etc/hosts.
33111         (_gethtent): Likewise.
33113         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
33115         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
33116         cancellation and set FD_CLOEXEC for /etc/netgroup.
33118         * nss/nss_files/files-key.c (search): Don't allow cancellation when
33119         reading /etc/publickey.
33121         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
33122         allow cancellation when reading /etc/group.
33124         * nss/nss_files/files-alias.c (internal_setent): Don't allow
33125         cancellation.
33126         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
33128         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
33129         when using data file.
33131         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
33133         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
33134         (write_nis_obj): Use "c" and "e" in fopen.
33136         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
33138         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
33140         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
33142         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
33144         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
33145         locale.alias.
33147         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
33149         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
33151         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
33153         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
33154         file parsing and set FD_CLOEXEC.
33156 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
33158         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
33160 2011-11-14  Andreas Schwab  <schwab@redhat.com>
33162         * malloc/arena.c (arena_get2): Don't call reused_arena when
33163         _int_new_arena failed.
33165 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
33167         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
33168         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
33169         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
33170         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
33171         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
33172         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
33173         to compile strcasecmp and strncasecmp.
33174         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
33175         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
33177         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
33179 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
33181         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
33182         locale-defines.sym to gen-as-const-headers.
33183         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
33184         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
33185         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
33186         to compile strcasecmp and strncasecmp.
33187         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
33188         strcasecmp_l and strncasecmp_l.
33189         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
33190         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
33191         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
33192         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
33193         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
33194         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
33195         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
33196         * sysdeps/i386/i686/multiarch/strncase.S: New file.
33197         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
33198         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
33199         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
33201 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
33203         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
33204         result of SYSDEP_GETTIME_CPU to retval.
33205         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
33206         parameter list to macro.  Remove trailing semicolon.  Adjust users.
33208         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
33209         variable.
33211         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
33212         mantissa words.
33213         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
33215         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
33216         from unused variable.
33218         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
33219         DWARF definitions.
33220         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
33221         for assembling.
33223         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
33224         over namespaces.
33226         * sunrpc/rpc_prot.c (rejected): Fix case value.
33228         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
33229         unsigned long long int to avoid warnings in shift.
33231         * posix/regex_internal.c (re_string_reconstruct): Actually use result
33232         of use of trans.
33233         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
33234         variable tmp.
33236         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
33237         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
33238         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
33240         * nis/nis_table.c (nis_list): Use variable of correct type for
33241         result of __follow_path call.
33243 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33245         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
33246         of math functions ceil, trunc, floor, round, and sqrt, when
33247         avaliable on the platform.
33248         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
33249         name clash.
33250         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
33251         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
33252         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
33254 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
33256         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
33257         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
33259 2011-11-11  Roland McGrath  <roland@hack.frob.com>
33261         * include/unistd.h: Fix __readlink return type.
33262         Reported by Chris Metcalf <cmetcalf@tilera.com>.
33264 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
33266         * stdlib/ucontext.h: Undo last change for makecontext.
33268 2011-11-11  Andreas Schwab  <schwab@redhat.com>
33270         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
33272         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
33273         * setjmp/setjmp.h: Mark functions as non-leaf.
33274         * setjmp/bits/setjmp2.h: Likewise.
33275         * stdlib/ucontext.h: Likewise.
33277 2011-11-10  Andreas Schwab  <schwab@redhat.com>
33279         * malloc/arena.c (_int_new_arena): Don't increment narenas.
33280         (reused_arena): Don't check arena limit.
33281         (arena_get2): Atomically check arena limit.
33283 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
33285         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
33286         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
33288         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
33289         instructions.
33291 2011-11-07  Andreas Schwab  <schwab@redhat.com>
33293         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
33294         handler when locking.
33296         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
33297         Fix size of allocated buffer.
33299 2011-11-04  Andreas Schwab  <schwab@redhat.com>
33301         [BZ #10103]
33302         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
33303         declarations for long double functions.
33304         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
33306         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
33308 2011-11-03  Andreas Schwab  <schwab@redhat.com>
33310         * nscd/nscd.c (main): Don't start AVC thread until credentials are
33311         installed.
33313         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
33314         is disabled.
33316 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
33318         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
33320 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
33322         * include/alloca.h (stackinfo_alloca_round): Define.
33323         (extend_alloca): Use it.
33324         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
33325         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
33326         here.
33328         * scripts/check-local-headers.sh: Ignore libaudit.h.
33330         * nscd/Makefile (extra-objs): Make recursively expanded.
33332 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
33334         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
33335         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
33337         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
33338         * posix/tst-rfc3484-2.c: Likewise.
33339         * posix/tst-rfc3484-3.c: Likewise.
33341         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
33342         process_vm_writev.
33343         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
33344         process_vm_writev.
33345         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
33346         process_vm_writev from libc using GLIBC_2.15 version.
33348         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
33350 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
33352         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
33353         stack usage.
33355 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
33357         [BZ #13367]
33358         * nss/getent.c (initgroups_keys): Show error message in case no group
33359         names are given.
33361         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
33362         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
33363         __bump_nl_timestamp.
33364         * nscd/connections (nscd_init): When host database is served open
33365         netlink socket and request notification about configuration changes.
33366         (main_loop_poll): Track netlink file descriptor and bump timestamp
33367         in case data becomes available.
33368         (main_loop_epoll): Likewise.
33369         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
33370         (database_pers_head): Add extra_data fileds.
33371         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
33372         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
33373         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
33374         Adjust caller.
33375         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
33376         in6ai data, call __free_in6ai.
33377         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
33378         Add -DHAVE_NETLINK.
33379         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
33380         interface information.  Reuse previous data if netlink timestamp
33381         is not changed.
33382         (__bump_nl_timestamp): New function.
33383         (__free_in6ai): New function.
33385 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
33387         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
33388         close_not_cancel_no_status here.
33389         (__check_pf): Reorganize code a bit to not call close twice if OOM.
33391 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
33393         [BZ #13276]
33394         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
33395         return value.
33397         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
33398         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
33399         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
33401 2011-07-03  Andreas Jaeger  <aj@suse.de>
33403         [BZ #10709]
33404         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
33405         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
33406         * math/libm-test.inc (sin_test): Add test case.
33408 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
33410         [BZ #13337]
33411         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
33412         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
33414         * elf/chroot_canon.c (chroot_canon): Cleanups.
33416         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
33418         [BZ #13335]
33419         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
33420         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
33422         * string/test-strchr.c: Make usable for strchrnul testing.
33423         * string/test-strchrnul.c: New file.
33424         * string/Makefile (strop-tests): Add strchrnul.
33426         * po/it.po: Update from translation team.
33427         * po/es.po: Likewise.
33429 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
33431         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
33432         the three constants needed as parameters.  Drop the others.
33433         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
33434         __m128i_strloadu_tolower.
33435         Create and initialize variable zero and use it in all the places
33436         where _mm_setzero_si128 was used.
33438         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
33439         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
33440         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
33441         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
33442         anymore.
33443         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
33444         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
33445         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
33446         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
33447         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
33448         __mpranred, __mptan.
33449         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
33450         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
33451         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
33452         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
33453         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
33454         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
33455         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
33456         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
33457         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
33459 2011-10-28  Andreas Schwab  <schwab@redhat.com>
33461         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
33462         redefine if SHARED.
33463         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
33465         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
33466         wide char related routines to wcsmbs subdir.
33468 2011-10-27  Andreas Schwab  <schwab@redhat.com>
33470         [BZ #13344]
33471         * misc/sys/cdefs.h (__THROWNL): Define.
33472         * posix/unistd.h: Use __THREADNL instead of __THREAD
33473         for memory synchronization functions.
33475 2011-10-26  Roland McGrath  <roland@hack.frob.com>
33477         [BZ #13349]
33478         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
33479         doesn't exist.
33480         * manual/stdio.texi (Obstack Streams): Node removed.
33482 2011-10-26  Andreas Schwab  <schwab@redhat.com>
33484         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
33485         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
33486         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
33488         * math/math_private.h (math_force_eval): Allow non-addressable
33489         arguments.
33490         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
33492 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
33494         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
33495         file is not needed.
33497         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
33498         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
33499         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
33500         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
33501         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
33502         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
33503         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
33504         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
33505         Add AVX variants.
33506         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
33507         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
33508         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
33509         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
33510         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
33511         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
33512         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
33513         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
33514         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
33515         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
33516         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
33517         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
33518         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
33519         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
33520         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
33521         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
33522         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
33523         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
33524         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
33526         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
33527         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
33529         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
33530         place.  Use VEX encoding when compiling for AVX.
33532 2011-10-25  Andreas Schwab  <schwab@redhat.com>
33534         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
33535         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
33537         * string/test-strchr.c (do_test): Don't generate NUL bytes.
33539 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
33541         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
33542         useless if() expression.
33543         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
33544         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
33545         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
33546         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
33547         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
33548         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
33549         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
33550         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
33551         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
33552         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
33553         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
33554         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
33555         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
33556         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
33557         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
33558         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
33559         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
33560         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
33561         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
33563         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
33565 2011-10-25  Andreas Schwab  <schwab@redhat.com>
33567         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
33568         condition.
33569         * elf/dl-fini.c (_dl_sort_fini): Likewise.
33571 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
33573         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
33574         .text section.  Avoid duplicate constants.
33575         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
33576         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
33577         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
33578         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
33579         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
33580         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
33581         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
33582         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
33583         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
33584         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
33585         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
33586         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
33587         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
33588         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
33589         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
33590         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
33591         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
33592         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
33593         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
33594         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
33595         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
33596         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
33597         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
33598         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
33599         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
33600         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
33601         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
33602         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
33603         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
33604         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
33605         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
33606         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
33607         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
33608         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
33609         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
33610         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
33611         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
33612         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
33613         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
33614         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
33615         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
33616         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
33617         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
33618         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
33619         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
33621 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
33623         * sysdeps/x86_64/dla.h: Move to ...
33624         * sysdeps/x86_64/fpu/dla.h: ...here.
33625         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
33626         situations.  Use __builtin_fma only for gcc 4.6 and up.
33628         * config.make.in: Add have-mfma4 entry.
33629         * configure.in: Substitute libc_cv_cc_fma4.
33630         * math/Makefile (dbl-only-routines): Add sincostab.
33631         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
33632         Use __sincostab not sincos.
33633         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
33634         name is a macro.
33635         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
33636         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
33637         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
33638         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
33639         using __copysign.
33640         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
33641         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
33642         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
33643         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
33644         and __inv.
33645         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
33646         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
33647         __copysign.
33648         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
33649         define aliases when function name is a macro.
33650         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
33651         sysdeps/ieee754/dbl-64/sincos.tbl.
33652         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
33653         fma4-enabled routines.
33654         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
33655         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
33656         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
33657         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
33658         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
33659         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
33660         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
33661         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
33662         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
33663         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
33664         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
33665         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
33666         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
33667         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
33668         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
33669         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
33670         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
33671         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
33672         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
33673         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
33674         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
33675         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
33676         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
33677         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
33678         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
33679         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
33680         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
33681         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
33682         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
33683         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
33685         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
33686         rename.
33687         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
33688         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
33689         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
33690         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
33691         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
33692         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
33693         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
33694         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
33696 2011-10-24  Andreas Schwab  <schwab@redhat.com>
33698         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
33700 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
33702         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
33704         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
33705         prediction.
33706         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
33708         * string/strnlen.c: Don't define STRNLEN, reverse logic.
33709         Remove unused variable magic_bits.
33710         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
33712         * string/strnlen.c: Define and use STRNLEN macro.
33713         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
33714         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
33715         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
33716         * wcsmbs/wcslen.c: Define and use WCSLEN.
33717         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
33718         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
33719         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
33720         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
33721         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
33722         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
33723         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
33725 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
33727         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
33728         strnlen-sse2-no-bsf.
33729         Rename strlen-no-bsf to strlen-sse2-no-bsf.
33730         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
33731         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
33732         Add strnlen support.
33733         (USE_AS_STRNLEN): New macro.
33734         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
33735         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
33736         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
33737         * sysdeps/x86_64/wcslen.S: New file.
33739 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
33741         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
33742         XMM-moves are used for copying on small sizes.
33744 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
33746         * wcsmbs/Makefile (strop-tests): Add wcschr.
33747         * wcsmbs/test-wcschr.c: New file.
33748         * string/test-strchr.c: Update.
33749         Add wcschr support.
33750         (WIDE): New macro.
33752 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
33754         * wcsmbs/Makefile (strop-tests): Add wcslen.
33755         * wcsmbs/test-wcslen.c: New file.
33756         * string/test-strlen.c: Update.
33757         Add wcslen support.
33758         (WIDE): New macro.
33760 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
33762         * po/it.po: Update from translation team.
33764 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
33766         * sysdeps/x86_64/wcscmp.S: Update.
33767         Fix wrong comparison semantics.
33768         wcscmp shall use signed comparison not unsigned.
33769         Don't use substraction to avoid overflow bug.
33770         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
33771         * wcsmbc/wcscmp.c: Likewise.
33772         * string/test-strcmp.c: Likewise.
33773         Add new tests to check cases with negative values.
33775 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
33777         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
33778         * sysdeps/x86_64/dla.h: ...here.  New file.
33779         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
33780         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
33781         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
33782         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
33783         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
33784         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
33785         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
33786         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
33787         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
33789 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
33791         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
33792         __ynl_finite aliases.
33794 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
33796         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
33798         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
33799         define DLA_FMA.
33800         [DLA_FMA] (EMULV): Use DLA_FMA.
33801         [DLA_FMA] (MUL12): Use EMULV.
33802         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
33803         that are not needed.
33804         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
33805         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
33806         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
33807         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
33808         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
33809         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
33810         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
33812 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
33814         * math/s_nan.c: Undef __nan.
33815         * math/s_nanf.c: Undef __nanf.
33816         * math/s_nanl.c: Undef __nanl.
33817         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
33818         "math_private.h".
33820 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
33822         * math/s_catan.c: Add branch predictions.
33823         * math/s_catanf.c: Likewise.
33824         * math/s_catanh.c: Likewise.
33825         * math/s_catanhf.c: Likewise.
33826         * math/s_catanhl.c: Likewise.
33827         * math/s_catanl.c: Likewise.
33828         * math/s_cexp.c: Likewise.
33829         * math/s_cexpf.c: Likewise.
33830         * math/s_cexpl.c: Likewise.
33831         * math/s_clog.c: Likewise.
33832         * math/s_clog10.c: Likewise.
33833         * math/s_clog10f.c: Likewise.
33834         * math/s_clog10l.c: Likewise.
33835         * math/s_clogf.c: Likewise.
33836         * math/s_clogl.c: Likewise.
33837         * math/s_csqrt.c: Likewise.
33838         * math/s_csqrtf.c: Likewise.
33839         * math/s_csqrtl.c: Likewise.
33840         * math/s_ctanf.c: Likewise.
33841         * math/s_ctanh.c: Likewise.
33842         * math/s_ctanhf.c: Likewise.
33843         * math/s_ctanhl.c: Likewise.
33844         * math/s_ctanl.c: Likewise.
33846         * math/math_private.h: Define __nan, __nanf, __nanl.
33847         * math/s_cacosh.c: Include <math_private.h>.
33848         * math/s_cacoshl.c: Likewise.
33849         * math/s_casinh.c: Likewise.
33850         * math/s_casinhf.c: Likewise.
33851         * math/s_casinhl.c: Likewise.
33852         * math/s_ccos.c: Rely entire on ccosh.
33853         * math/s_ccosf.c: Rely entire on ccoshf.
33854         * math/s_ccosl.c: Rely entirely on ccoshl.
33855         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
33856         Remove tests for FE_INVALID.
33857         * math/s_ccoshf.c: Likewise.
33858         * math/s_ccoshl.c: Likewise.
33859         * math/s_csin.c: Likewise.
33860         * math/s_csinf.c: Likewise.
33861         * math/s_csinh.c Likewise.
33862         * math/s_csinhf.c: Likewise.
33863         * math/s_csinhl.c: Likewise.
33864         * math/s_csinl.c: Likewise.
33865         * math/s_ctan.c: Likewise.
33866         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
33867         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
33868         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
33870 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
33872         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
33873         compilation problems.
33875         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
33876         __builtin_expect.
33878 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
33880         * sysdeps/i386/configure.in: Test for -mfma4 option.
33881         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
33882         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
33883         COMMON_CPUID_INDEX_80000001.
33884         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
33885         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
33886         use it if FMA3 is not supported.
33887         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
33889         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
33890         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
33892 2011-10-20  Andreas Schwab  <schwab@redhat.com>
33894         [BZ #12892]
33895         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
33896         it would create a cycle with a link time dependency.
33898 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
33900         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
33901         instruction.
33902         * string/Makefile (strop-tests): Add rawmemchr.
33903         * string/test-rawmemchr.c: New file.
33905         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
33906         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
33907         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
33908         when compiling str{,n}casecmp and when AVX is available.  Hook up
33909         new optimized code in initializers.
33911 2011-10-19  Andreas Schwab  <schwab@redhat.com>
33913         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
33914         __feraiseexcept instead of feraiseexcept.
33916 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
33918         * math/math_private.h: Define defaults for libc_fetestexcept and
33919         libc_feupdateenv.
33920         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
33921         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
33922         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
33923         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
33924         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
33925         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
33926         libc_fetestexcept and libc_feupdateenv.
33928         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
33929         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
33930         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
33931         * sysdeps/x86_64/fpu/math_private.h: Define special version of
33932         libc_feholdexcept_setround.
33934         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
33935         Add s_nearbyint-c and s_nearbyintf-c.
33936         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
33937         nearbyintf inlines.
33938         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
33939         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
33940         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
33941         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
33943         * math/math_private.h: Define defaults for libc_fegetround,
33944         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
33945         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
33946         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
33947         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
33948         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
33949         standard functions.
33950         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
33951         Remove comments and hacks for old compiler versions.
33952         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
33953         libc_fegetround, libc_fesetround, libc_feholdexcept, and
33954         libc_feholdexceptl.
33956 2011-10-18  Andreas Schwab  <schwab@redhat.com>
33958         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
33959         (__feraiseexcept_renamed): Add __NTH.
33960         (feraiseexcept): Add __NTH.  Rename local variables to fix
33961         namespace violations.
33963 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
33965         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
33967         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
33969         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
33970         recently added interfaces.
33971         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
33973         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
33974         about macro parameter expansion.
33976         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
33977         __NO_MATH_INLINES is defined.  Cleanups.
33979         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
33980         and __floorf is target has SSE4.1.
33981         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
33982         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
33983         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
33984         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
33986         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
33987         name.
33988         (floorf): Likewise.
33990         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
33992 2011-10-17  Andreas Schwab  <schwab@redhat.com>
33994         * misc/sys/cdefs.h: Fix last change.
33996         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
33997         database lookup.
33999 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
34001         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
34003         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
34004         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
34005         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
34006         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
34007         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
34008         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
34009         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
34010         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
34011         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
34012         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
34013         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
34014         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
34015         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
34016         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
34017         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
34018         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
34019         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
34020         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
34021         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
34022         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
34023         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
34024         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
34026         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
34027         ceil, ceilf, floor, floorf.
34029         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
34030         Perform IRELATIVE relocations last.
34032         * elf/do-rel.h: Add another parameter nrelative, replacing the
34033         local variable with the same name.  Change name of the function
34034         to end in Rel or Rela (uppercase).
34035         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
34036         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
34037         elf_dynamic_do_##reloc function.
34039 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
34041         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
34042         is sufficient, at least on modern CPUs.
34044         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
34046         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
34047         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
34049         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
34050         __expl_finite.
34051         * math/bits/math-finite.h: Add entries for exp.
34052         * math/e_expl.c: Add __*_finite alias.
34053         * sysdeps/i386/fpu/e_exp.S: Likewise.
34054         * sysdeps/i386/fpu/e_expf.S: Likewise.
34055         * sysdeps/i386/fpu/e_expl.c: Likewise.
34056         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
34057         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
34058         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
34059         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
34060         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
34061         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
34062         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
34064         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
34065         is sufficient, at least on modern CPUs.
34067         * ctype/ctype-info.c (__ctype_init): Define.
34068         * include/ctype.h (__ctype_init): Declare.
34069         (__ctype_b_loc): The variable is always initialized.
34070         (__ctype_toupper_loc): Likewise.
34071         (__ctype_tolower_loc): Likewise.
34072         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
34073         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
34075 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
34077         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
34079         * configure.in: Also look in $cxxmachine/include for C++ system
34080         headers.
34082 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
34084         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
34085         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
34086         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
34087         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
34088         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
34089         (USE_AS_WMEMCMP): New macro.
34090         Fixing indents.
34091         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
34092         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
34093         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
34094         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
34095         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
34096         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
34097         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
34098         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
34099         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
34100         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
34101         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
34102         (USE_AS_WMEMCMP): New macro.
34103         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
34104         * sysdeps/string/test-memcmp.c: Update.
34105         Fix simple_wmemcmp.
34106         Add new tests.
34107         * wcsmbs/wmemcmp.c: Update.
34108         (WMEMCMP): New macro.
34109         Fix overflow bug.
34111 2011-10-12  Andreas Jaeger  <aj@suse.de>
34113         [BZ #13268]
34114         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
34116 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
34118         * libio/iofwide.c (do_length): Avoid warning.
34120         * ctype/ctype.h (__isctype_f): Add missing __THROW.
34122 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
34124         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
34126         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
34127         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
34128         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
34129         * sysdeps/i386/i686/fpu/e_log.S: New file.
34130         * sysdeps/i386/i686/fpu/e_logf.S: New file.
34131         * sysdeps/i386/i686/fpu/e_logl.S: New file.
34133         * ctype/ctype.h: Add support for inlined isXXX functions when
34134         compiling C++ code.
34136 2011-10-14  Andreas Schwab  <schwab@redhat.com>
34138         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
34140         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
34142 2011-10-13  Roland McGrath  <roland@hack.frob.com>
34144         [BZ #13291]
34145         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
34147 2011-10-13  Andreas Schwab  <schwab@redhat.com>
34149         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
34150         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
34151         feraiseexcept.
34153         * sysdeps/x86_64/memrchr.S: Check for zero size.
34155         * string/stratcliff.c: Add memrchr tests.
34157 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
34159         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
34160         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
34161         rawmemchr-sse2 rawmemchr-sse2-bsf.
34162         * sysdeps/i386/i686/multiarch/memchr.S: New file.
34163         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
34164         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
34165         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
34166         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
34167         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
34168         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
34169         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
34170         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
34171         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
34172         * string/memrchr.c (MEMRCHR): New macro.
34174 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
34176         Add integration with gcc's -ffinite-math-only and optimize wrapper
34177         functions in libm.
34178         * Versions.def: Define GLIBC_2.15 version for libm.
34179         * math/Makefile (headers): Add bits/math-finite.h.
34180         * math/bits/math-finite.h: New file.
34181         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
34182         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
34183         * math/e_acoshl.c: Add __*_finite alias.
34184         * math/e_acosl.c: Likewise.
34185         * math/e_asinl.c: Likewise.
34186         * math/e_atan2l.c: Likewise.
34187         * math/e_atanhl.c: Likewise.
34188         * math/e_coshl.c: Likewise.
34189         * math/e_exp10.c: Likewise.
34190         * math/e_exp10f.c: Likewise.
34191         * math/e_exp10l.c: Likewise.
34192         * math/e_exp2l.c: Likewise.
34193         * math/e_fmodl.c: Likewise.
34194         * math/e_gammal_r.c: Likewise.
34195         * math/e_hypotl.c: Likewise.
34196         * math/e_j0l.c: Likewise.
34197         * math/e_j1l.c: Likewise.
34198         * math/e_jnl.c: Likewise.
34199         * math/e_lgammal_r.c: Likewise.
34200         * math/e_log10l.c: Likewise.
34201         * math/e_log2l.c: Likewise.
34202         * math/e_logl.c: Likewise.
34203         * math/e_powl.c: Likewise.
34204         * math/e_sinhl.c: Likewise.
34205         * math/e_sqrtl.c: Likewise.
34206         * math/e_scalb.c: Completely rewritten and optimized.
34207         * math/e_scalbf.c: Likewise.
34208         * math/e_scalbl.c: Likewise.
34209         * math/w_acos.c: Likewise.
34210         * math/w_acosf.c: Likewise.
34211         * math/w_acosl.c: Likewise.
34212         * math/w_acosh.c: Likewise.
34213         * math/w_acoshf.c: Likewise.
34214         * math/w_acoshl.c: Likewise.
34215         * math/w_asin.c: Likewise.
34216         * math/w_asinf.c: Likewise.
34217         * math/w_asinl.c: Likewise.
34218         * math/w_atan2.c: Likewise.
34219         * math/w_atan2f.c: Likewise.
34220         * math/w_atan2l.c: Likewise.
34221         * math/w_atanh.c: Likewise.
34222         * math/w_atanhf.c: Likewise.
34223         * math/w_atanhl.c: Likewise.
34224         * math/w_exp10.c: Likewise.
34225         * math/w_exp10f.c: Likewise.
34226         * math/w_exp10l.c: Likewise.
34227         * math/w_fmod.c: Likewise.
34228         * math/w_fmodf.c: Likewise.
34229         * math/w_fmodl.c: Likewise.
34230         * math/w_j0.c: Likewise.
34231         * math/w_j0f.c: Likewise.
34232         * math/w_j0l.c: Likewise.
34233         * math/w_j1.c: Likewise.
34234         * math/w_j1f.c: Likewise.
34235         * math/w_j1l.c: Likewise.
34236         * math/w_jn.c: Likewise.
34237         * math/w_jnf.c: Likewise.
34238         * math/w_log.c: Likewise.
34239         * math/w_logf.c: Likewise.
34240         * math/w_logl.c: Likewise.
34241         * math/w_log10.c: Likewise.
34242         * math/w_log10f.c: Likewise.
34243         * math/w_log10l.c: Likewise.
34244         * math/w_log2.c: Likewise.
34245         * math/w_log2f.c: Likewise.
34246         * math/w_log2l.c: Likewise.
34247         * math/w_pow.c: Likewise.
34248         * math/w_powf.c: Likewise.
34249         * math/w_powl.c: Likewise.
34250         * math/w_remainder.c: Likewise.
34251         * math/w_remainderf.c: Likewise.
34252         * math/w_remainderl.c: Likewise.
34253         * math/w_scalb.c: Likewise.
34254         * math/w_scalbf.c: Likewise.
34255         * math/w_scalbl.c: Likewise.
34256         * math/w_sqrt.c: Likewise.
34257         * math/w_sqrtf.c: Likewise.
34258         * math/w_sqrtl.c: Likewise.
34259         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
34260         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
34261         used.
34262         * math/math_private.h: Declare __kernel_standard_f.
34263         * math/w_cosh.c: Remove cruft and optimize a bit.
34264         * math/w_coshf.c: Likewise.
34265         * math/w_coshl.c: Likewise.
34266         * math/w_exp2.c: Likewise.
34267         * math/w_exp2f.c: Likewise.
34268         * math/w_exp2l.c: Likewise.
34269         * math/w_hypot.c: Likewise.
34270         * math/w_hypotf.c: Likewise.
34271         * math/w_hypotl.c: Likewise.
34272         * math/w_lgamma.c: Likewise.
34273         * math/w_lgamma_r.c: Likewise.
34274         * math/w_lgammaf.c: Likewise.
34275         * math/w_lgammaf_r.c: Likewise.
34276         * math/w_lgammal.c: Likewise.
34277         * math/w_lgammal_r.c: Likewise.
34278         * math/w_sinh.c: Likewise.
34279         * math/w_sinhf.c: Likewise.
34280         * math/w_sinhl.c: Likewise.
34281         * math/w_tgamma.c: Likewise.
34282         * math/w_tgammaf.c: Likewise.
34283         * math/w_tgammal.c: Likewise.
34284         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
34285         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
34286         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
34287         Minor optimizations.  Pretty printing.  Remove cruft.
34288         * sysdeps/i386/fpu/e_acosf.S: Likewise.
34289         * sysdeps/i386/fpu/e_acosh.S: Likewise.
34290         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
34291         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
34292         * sysdeps/i386/fpu/e_acosl.c: Likewise.
34293         * sysdeps/i386/fpu/e_asin.S: Likewise.
34294         * sysdeps/i386/fpu/e_asinf.S: Likewise.
34295         * sysdeps/i386/fpu/e_atan2.S: Likewise.
34296         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
34297         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
34298         * sysdeps/i386/fpu/e_atanh.S: Likewise.
34299         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
34300         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
34301         * sysdeps/i386/fpu/e_exp10.S: Likewise.
34302         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
34303         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
34304         * sysdeps/i386/fpu/e_exp2.S: Likewise.
34305         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
34306         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
34307         * sysdeps/i386/fpu/e_fmod.S: Likewise.
34308         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
34309         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
34310         * sysdeps/i386/fpu/e_hypot.S: Likewise.
34311         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
34312         * sysdeps/i386/fpu/e_log.S: Likewise.
34313         * sysdeps/i386/fpu/e_log10.S: Likewise.
34314         * sysdeps/i386/fpu/e_log10f.S: Likewise.
34315         * sysdeps/i386/fpu/e_log10l.S: Likewise.
34316         * sysdeps/i386/fpu/e_log2.S: Likewise.
34317         * sysdeps/i386/fpu/e_log2f.S: Likewise.
34318         * sysdeps/i386/fpu/e_log2l.S: Likewise.
34319         * sysdeps/i386/fpu/e_logf.S: Likewise.
34320         * sysdeps/i386/fpu/e_logl.S: Likewise.
34321         * sysdeps/i386/fpu/e_pow.S: Likewise.
34322         * sysdeps/i386/fpu/e_powf.S: Likewise.
34323         * sysdeps/i386/fpu/e_powl.S: Likewise.
34324         * sysdeps/i386/fpu/e_remainder.S: Likewise.
34325         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
34326         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
34327         * sysdeps/i386/fpu/e_scalb.S: Likewise.
34328         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
34329         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
34330         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
34331         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
34332         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
34333         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
34334         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
34335         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
34336         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
34337         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
34338         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
34339         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
34340         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
34341         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
34342         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
34343         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
34344         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
34345         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
34346         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
34347         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
34348         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
34349         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
34350         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
34351         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
34352         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
34353         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
34354         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
34355         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
34356         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
34357         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
34358         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
34359         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
34360         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
34361         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
34362         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
34363         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
34364         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
34365         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
34366         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
34367         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
34368         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
34369         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
34370         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
34371         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
34372         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
34373         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
34374         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
34375         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
34376         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
34377         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
34378         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
34379         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
34380         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
34381         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
34382         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
34383         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
34384         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
34385         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
34386         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
34387         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
34388         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
34389         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
34390         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
34391         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
34392         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
34393         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
34394         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
34395         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
34396         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
34397         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
34398         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
34399         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
34400         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
34401         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
34402         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
34403         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
34404         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
34405         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
34406         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
34407         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
34408         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
34409         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
34410         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
34411         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
34412         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
34413         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
34414         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
34415         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
34416         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
34417         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
34418         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
34419         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
34420         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
34421         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
34422         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
34423         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
34424         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
34425         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
34426         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
34427         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
34428         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
34429         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
34430         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
34431         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
34432         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
34433         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
34434         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
34435         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
34436         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
34437         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
34438         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
34439         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
34440         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
34441         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
34442         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
34443         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
34444         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
34445         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
34446         (__isnanf): Likewise.
34447         (__isinf_ns): Likewise.
34448         (__isinf_nsf): Likewise.
34449         (__finite): Likewise.
34450         (__finitef): Likewise.
34451         (__ieee754_sqrt): Define as macro.
34452         (__ieee754_sqrtf): Define as macro.
34453         (__ieee754_sqrtl): Define as macro.
34454         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
34455         inlined copy.
34456         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
34457         __FINITE_MATH_ONLY__ consistent.
34458         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
34460 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
34462         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
34463         of rawmemchr.
34465         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
34467 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
34469         * po/ja.po: Update from translation team.
34471 2011-10-08  Roland McGrath  <roland@hack.frob.com>
34473         * locale/programs/locarchive.c (prepare_address_space): New function.
34474         (create_archive, enlarge_archive, open_archive): Use it.
34476         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
34477         inside [SHARED], where it is used.
34479         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
34481         * nss/getent.c (netgroup_keys): Remove unused variable.
34482         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
34484 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
34486         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
34487         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
34488         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
34489         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
34490         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
34491         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
34492         * math/Makefile (libm-calls): Add s_isinf_ns.
34493         * math/divtc3.c: Use __isinf_nsl instead of isinf.
34494         * math/multc3.c: Likewise.
34495         * math/s_casin.c: Likewise.
34496         * math/s_casinf.c: Likewise.
34497         * math/s_casinl.c: Likewise.
34498         * math/s_ccos.c: Likewise.
34499         * math/s_ccosf.c: Likewise.
34500         * math/s_ccosl.c: Likewise.
34501         * math/s_ctan.c: Likewise.
34502         * math/s_ctanf.c: Likewise.
34503         * math/s_ctanh.c: Likewise.
34504         * math/s_ctanhf.c: Likewise.
34505         * math/s_ctanhl.c: Likewise.
34506         * math/s_ctanl.c: Likewise.
34507         * math/w_fmod.c: Likewise.
34508         * math/w_fmodf.c: Likewise.
34509         * math/w_fmodl.c: Likewise.
34510         * math/w_remainder.c: Likewise.
34511         * math/w_remainderf.c: Likewise.
34512         * math/w_remainderl.c: Likewise.
34513         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
34514         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
34515         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
34516         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
34517         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
34518         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
34519         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
34520         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
34522         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
34523         of the number.
34524         * stdio-common/printf_fphex.c: Likewise.
34525         * stdio-common/printf_size.c: Likewise.
34527         * math/e_exp10.c: Include math_private.h using <...> not "...".
34528         * math/e_exp10f.c: Likewise.
34529         * math/e_exp10l.c: Likewise.
34530         * math/e_exp2l.c: Likewise.
34531         * math/e_j0l.c: Likewise.
34532         * math/e_j1l.c: Likewise.
34533         * math/e_jnl.c: Likewise.
34534         * math/e_lgammal_r.c: Likewise.
34535         * math/e_rem_pio2l.c: Likewise.
34536         * math/e_scalb.c: Likewise.
34537         * math/e_scalbf.c: Likewise.
34538         * math/e_scalbl.c: Likewise.
34539         * math/k_cosl.c: Likewise.
34540         * math/k_sinl.c: Likewise.
34541         * math/k_tanl.c: Likewise.
34542         * math/s_cacoshf.c: Likewise.
34543         * math/s_catan.c: Likewise.
34544         * math/s_catanf.c: Likewise.
34545         * math/s_catanh.c: Likewise.
34546         * math/s_catanhf.c: Likewise.
34547         * math/s_catanhl.c: Likewise.
34548         * math/s_catanl.c: Likewise.
34549         * math/s_ccosh.c: Likewise.
34550         * math/s_ccoshf.c: Likewise.
34551         * math/s_ccoshl.c: Likewise.
34552         * math/s_cexp.c: Likewise.
34553         * math/s_cexpf.c: Likewise.
34554         * math/s_cexpl.c: Likewise.
34555         * math/s_clog.c: Likewise.
34556         * math/s_clog10.c: Likewise.
34557         * math/s_clog10f.c: Likewise.
34558         * math/s_clog10l.c: Likewise.
34559         * math/s_clogf.c: Likewise.
34560         * math/s_clogl.c: Likewise.
34561         * math/s_csin.c: Likewise.
34562         * math/s_csinf.c: Likewise.
34563         * math/s_csinh.c: Likewise.
34564         * math/s_csinhf.c: Likewise.
34565         * math/s_csinhl.c: Likewise.
34566         * math/s_csinl.c: Likewise.
34567         * math/s_csqrt.c: Likewise.
34568         * math/s_csqrtf.c: Likewise.
34569         * math/s_csqrtl.c: Likewise.
34570         * math/s_ctan.c: Likewise.
34571         * math/s_ctanf.c: Likewise.
34572         * math/s_ctanh.c: Likewise.
34573         * math/s_ctanhf.c: Likewise.
34574         * math/s_ctanhl.c: Likewise.
34575         * math/s_ctanl.c: Likewise.
34576         * math/s_ldexp.c: Likewise.
34577         * math/s_ldexpf.c: Likewise.
34578         * math/s_ldexpl.c: Likewise.
34579         * math/s_significand.c: Likewise.
34580         * math/s_significandf.c: Likewise.
34581         * math/s_significandl.c: Likewise.
34582         * math/w_acos.c: Likewise.
34583         * math/w_acosf.c: Likewise.
34584         * math/w_acosh.c: Likewise.
34585         * math/w_acoshf.c: Likewise.
34586         * math/w_acoshl.c: Likewise.
34587         * math/w_acosl.c: Likewise.
34588         * math/w_asin.c: Likewise.
34589         * math/w_asinf.c: Likewise.
34590         * math/w_asinl.c: Likewise.
34591         * math/w_atan2.c: Likewise.
34592         * math/w_atan2f.c: Likewise.
34593         * math/w_atan2l.c: Likewise.
34594         * math/w_atanh.c: Likewise.
34595         * math/w_atanhf.c: Likewise.
34596         * math/w_atanhl.c: Likewise.
34597         * math/w_cosh.c: Likewise.
34598         * math/w_coshf.c: Likewise.
34599         * math/w_coshl.c: Likewise.
34600         * math/w_dremf.c: Likewise.
34601         * math/w_exp10.c: Likewise.
34602         * math/w_exp10f.c: Likewise.
34603         * math/w_exp10l.c: Likewise.
34604         * math/w_exp2.c: Likewise.
34605         * math/w_exp2f.c: Likewise.
34606         * math/w_fmod.c: Likewise.
34607         * math/w_fmodf.c: Likewise.
34608         * math/w_fmodl.c: Likewise.
34609         * math/w_hypot.c: Likewise.
34610         * math/w_hypotf.c: Likewise.
34611         * math/w_hypotl.c: Likewise.
34612         * math/w_j0.c: Likewise.
34613         * math/w_j0f.c: Likewise.
34614         * math/w_j0l.c: Likewise.
34615         * math/w_j1.c: Likewise.
34616         * math/w_j1f.c: Likewise.
34617         * math/w_j1l.c: Likewise.
34618         * math/w_jn.c: Likewise.
34619         * math/w_jnf.c: Likewise.
34620         * math/w_jnl.c: Likewise.
34621         * math/w_lgamma.c: Likewise.
34622         * math/w_lgamma_r.c: Likewise.
34623         * math/w_lgammaf.c: Likewise.
34624         * math/w_lgammaf_r.c: Likewise.
34625         * math/w_lgammal.c: Likewise.
34626         * math/w_lgammal_r.c: Likewise.
34627         * math/w_log.c: Likewise.
34628         * math/w_log10.c: Likewise.
34629         * math/w_log10f.c: Likewise.
34630         * math/w_log10l.c: Likewise.
34631         * math/w_log2.c: Likewise.
34632         * math/w_log2f.c: Likewise.
34633         * math/w_log2l.c: Likewise.
34634         * math/w_logf.c: Likewise.
34635         * math/w_logl.c: Likewise.
34636         * math/w_pow.c: Likewise.
34637         * math/w_powf.c: Likewise.
34638         * math/w_powl.c: Likewise.
34639         * math/w_remainder.c: Likewise.
34640         * math/w_remainderf.c: Likewise.
34641         * math/w_remainderl.c: Likewise.
34642         * math/w_scalb.c: Likewise.
34643         * math/w_scalbf.c: Likewise.
34644         * math/w_scalbl.c: Likewise.
34645         * math/w_sinh.c: Likewise.
34646         * math/w_sinhf.c: Likewise.
34647         * math/w_sinhl.c: Likewise.
34648         * math/w_sqrt.c: Likewise.
34649         * math/w_sqrtf.c: Likewise.
34650         * math/w_sqrtl.c: Likewise.
34651         * math/w_tgamma.c: Likewise.
34652         * math/w_tgammaf.c: Likewise.
34653         * math/w_tgammal.c: Likewise.
34655         * po/ja.po: Update from translation team.
34657 2011-09-29  Andreas Jaeger  <aj@suse.de>
34659         [BZ #13179]
34660         * sunrpc/netname.c (netname2host): Fix logic.
34662         [BZ #6779]
34663         [BZ #6783]
34664         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
34665         correctly.
34666         * math/w_remainder.c (__remainder): Likewise.
34667         * math/w_remainderf.c (__remainderf): Likewise.
34668         * math/libm-test.inc (remainder_test): Add test cases.
34670 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
34672         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
34673         sdiv_qrnnd.
34675 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
34677         * string/test-memcmp.c: Avoid unncessary #defines.
34678         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
34680 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
34682         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
34683         Use new sse2 version for core i3 - i7 as it's faster
34684         than sse42 version.
34685         (bit_Prefer_PMINUB_for_stringop): New.
34686         * sysdeps/x86_64/rawmemchr.S: Update.
34687         Replace with faster SSE2 version.
34688         * sysdeps/x86_64/memrchr.S: New file.
34689         * sysdeps/x86_64/memchr.S: Update.
34690         Replace with faster SSE2 version.
34692 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
34694         * elf/dl-load.c (lose): Add cast to avoid warning.
34696 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
34698         * po/ca.po: Update from translation team.
34700         * inet/getnetgrent_r.c: Hook up nscd.
34701         * nscd/Makefile (routines): Add nscd_netgroup.
34702         (nscd-modules): Add netgroupcache.
34703         (CFLAGS-netgroupcache.c): Define.
34704         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
34705         (cache_search): Add const to second parameter.
34706         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
34707         INNETGR.
34708         (dbs): Add netgrdb entry.
34709         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
34710         (verify_persistent_db): Handle netgrdb.
34711         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
34712         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
34713         GETFDNETGR.
34714         (netgroup_response_header): Define.
34715         (innetgroup_response_header): Define.
34716         (datahead): Add netgroup_response_header and innetgroup_response_header
34717         elements.
34718         * nscd/nscd.conf: Add entries for netgroup cache.
34719         * nscd/nscd.h (dbtype): Add netgrdb.
34720         (_PATH_NSCD_NETGROUP_DB): Define.
34721         (netgroup_iov_disabled): Declare.
34722         (xmalloc, xcalloc, xrealloc): Move declarations here.
34723         (cache_search): Adjust prototype.
34724         Add netgroup-related prototypes.
34725         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
34726         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
34727         (__nscd_innetgr): Declare.
34728         * nscd/selinux.c (perms): Use access_vector_t as element type and
34729         add netgroup-related initializers.
34730         * nscd/netgroupcache.c: New file.
34731         * nscd/nscd_netgroup.c: New file.
34732         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
34733         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
34734         For four parameters use innetgr.
34735         * nss/nss_files/files-init.c: Add definition and callback for netgr.
34736         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
34737         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
34738         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
34740         * nscd/connections.c (register_traced_file): Don't register file
34741         for disabled databases.
34743 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
34745         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
34747         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
34748         from tree and freeing node.
34750 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
34752         * nss/nsswitch.c (__nss_database_lookup): Handle
34753         nss_parse_service_list out of memory case.
34755 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
34757         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
34758         out of memory case.
34760 2011-10-04  Andreas Schwab  <schwab@redhat.com>
34762         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
34763         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
34764         pass it down.
34765         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
34766         elf_machine_rela, elf_machine_lazy_rel.
34767         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
34768         (ELF_DYNAMIC_DO_REL): Likewise.
34769         (ELF_DYNAMIC_DO_RELA): Likewise.
34770         (ELF_DYNAMIC_RELOCATE): Likewise.
34771         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
34772         to ELF_DYNAMIC_DO_REL.
34773         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
34774         (dl_main): In trace mode always set __RTLD_NOIFUNC.
34775         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
34776         elf_machine_rela.
34777         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
34778         skip_ifunc, don't call ifunc function if non-zero.
34779         (elf_machine_rela): Likewise.
34780         (elf_machine_lazy_rel): Likewise.
34781         (elf_machine_lazy_rela): Likewise.
34782         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
34783         (elf_machine_lazy_rel): Likewise.
34784         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
34785         Likewise.
34786         (elf_machine_lazy_rel): Likewise.
34787         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
34788         Likewise.
34789         (elf_machine_lazy_rel): Likewise.
34790         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
34791         (elf_machine_lazy_rel): Likewise.
34792         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
34793         (elf_machine_lazy_rel): Likewise.
34794         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
34795         (elf_machine_lazy_rel): Likewise.
34796         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
34797         (elf_machine_lazy_rel): Likewise.
34798         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
34799         (elf_machine_lazy_rel): Likewise.
34800         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
34801         (elf_machine_lazy_rel): Likewise.
34803 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
34805         * nss/nss_files/files-init.c (_nss_files_init): Use static
34806         initialization for all the *_traced_file variables.
34808 2011-09-28  Andreas Schwab  <schwab@redhat.com>
34810         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
34812 2011-09-27  Roland McGrath  <roland@hack.frob.com>
34814         [BZ #13226]
34815         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
34817 2011-09-27  Andreas Schwab  <schwab@redhat.com>
34819         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
34820         Reread the line before reparsing it.
34822 2011-09-26  Andreas Schwab  <schwab@redhat.com>
34824         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
34826 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
34827             Maxim Kuvyrkov  <maxim@codesourcery.com>
34828             Joseph Myers  <joseph@codesourcery.com>
34830         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
34831         if needed for __stack_chk_guard.
34833 2011-09-19  Roland McGrath  <roland@hack.frob.com>
34835         * sysdeps/posix/spawni.c (script_execute): Always define it.
34836         It will be optimized away if unused.
34837         (maybe_script_execute): New function.
34838         (__spawni): Call it.
34840         * Makerules: Don't include tls.make.
34841         (config-tls): Always set to thread.
34842         * tls.make.c: File removed.
34844 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
34846         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
34847         * config.make.in (CPPFLAGS-config): New substituted variable.
34849 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
34851         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
34853         [BZ #13192]
34854         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
34855         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
34857 2011-09-15  Roland McGrath  <roland@hack.frob.com>
34859         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
34860         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
34861         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
34862         (CALL_FAIL): Likewise.
34863         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
34864         (CALL_FAIL): Macro removed.
34865         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
34867 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
34869         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
34870         for __FINITE_MATH_ONLY__ == 1.
34872 2011-09-15  Andreas Schwab  <schwab@redhat.com>
34874         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
34875         __ieee754_sqrt instead of sqrt.
34876         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
34877         __ieee754_sqrtf instead of sqrtf.
34878         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
34879         __floorf instead of floorf.
34880         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
34881         __floorf, __truncf instead of floorf, truncf.
34883 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
34885         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
34887         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
34888         __extern_always_inline.
34889         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
34890         32-bit.
34892 2011-09-14  Andreas Schwab  <schwab@redhat.com>
34894         * elf/rtld.c (dl_main): Also relocate in dependency order when
34895         doing symbol dependency testing.
34897 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
34899         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
34900         Always define `refsym'.
34902 2011-09-13  Andreas Schwab  <schwab@redhat.com>
34904         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
34905         (__FD_ELT): Renamed from __FDELT.
34906         * misc/bits/select2.h (__FD_ELT): Likewise.
34907         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
34908         __FD_MASK instead of __FDELT, __FDMASK.
34909         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
34910         Likewise.
34911         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
34912         Likewise.
34914         * elf/Makefile (gen-ldd): Fix pattern.
34916         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
34917         (init_tls): Likewise.
34919 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
34921         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
34923 2011-09-12  Andreas Schwab  <schwab@redhat.com>
34925         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
34926         `struct cmsghdr *' instead of `void *'.
34927         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
34928         Likewise.
34930 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
34932         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
34933         if non-absolute.
34934         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
34935         ldd_rewrite_script.
34937 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
34939         * configure.in: Remove --with-tls option.
34940         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
34941         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
34942         out in case it is missing.
34943         * sysdeps/ia64/elf/configure.in: Likewise.
34944         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
34945         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
34946         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
34947         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
34948         * sysdeps/sh/elf/configure.in: Likewise.
34949         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
34950         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
34951         * sysdeps/x86_64/elf/configure.in: Likewise.
34952         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
34953         * sysdeps/mach/hurd/tls.h: Likewise.
34955         [BZ #13067]
34956         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
34958         [BZ #13090]
34959         * configure.in: Fix use of AC_INIT.
34961         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
34963 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
34965         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
34966         __set_errno.
34967         * malloc/hooks.c: Likewise.
34969         [BZ #11929]
34970         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
34971         variables statically.
34972         (narenas): Initialize.
34973         (list_lock): Initialize.
34974         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
34975         initializtion of main_arena and list_lock.  Small cleanups.
34976         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
34977         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
34978         Add initializers to main_arena and mp_.
34979         (malloc_state): Remove pagesize member.  Change all users to use
34980         GLRO(dl_pagesize).
34982         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
34983         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
34984         is always initialized.
34986         * malloc/malloc.c: Removed unused configurations and dead code.
34987         * malloc/arena.c: Likewise.
34988         * malloc/hooks.c: Likewise.
34989         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
34991         * include/tls.h: Removed.  USE___THREAD must always be defined.
34992         * bits/libc-tsd.h: Don't handle !USE___THREAD.
34993         * elf/dl-libc.c: Likewise.
34994         * elf/dl-tsd.c: Likewise.
34995         * include/errno.h: Likewise.
34996         * include/netdb.h: Likewise.
34997         * include/resolv.h: Likewise.
34998         * inet/herrno-loc.c: Likewise.
34999         * inet/herrno.c: Likewise.
35000         * malloc/arena.c: Likewise.
35001         * malloc/hooks.c: Likewise.
35002         * malloc/malloc.c: Likewise.
35003         * resolv/res-state.c: Likewise.
35004         * resolv/res_libc.c: Likewise.
35005         * sysdeps/i386/dl-machine.h: Likewise.
35006         * sysdeps/ia64/dl-machine.h: Likewise.
35007         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
35008         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
35009         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
35010         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
35011         * sysdeps/sh/dl-machine.h: Likewise.
35012         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
35013         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
35014         * sysdeps/unix/i386/sysdep.S: Likewise.
35015         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
35016         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
35017         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
35018         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
35019         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
35020         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
35021         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
35022         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
35023         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
35024         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
35025         * sysdeps/unix/x86_64/sysdep.S: Likewise.
35026         * sysdeps/x86_64/dl-machine.h: Likewise.
35027         * tls.make.c: Likewise.
35029         * configure.in: Remove --with-__thread option.  Make tests for
35030         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
35031         tls_model attribute fail if no support is available.  Remove
35032         USE_IN_LIBIO.
35033         * Makeconfig: Adjust for dropped configure option.  All features are
35034         now mandatory.
35035         * Makerules: Likewise.
35036         * Versions.def: Likewise.
35037         * argp/argp-fmtstream.c: Likewise.
35038         * argp/argp-fmtstream.h: Likewise.
35039         * argp/argp-help.c: Likewise.
35040         * assert/assert.c: Likewise.
35041         * config.h.in: Likewise.
35042         * config.make.in: Likewise.
35043         * configure: Likewise.
35044         * configure.in: Likewise.
35045         * csu/Versions: Likewise.
35046         * csu/init.c: Likewise.
35047         * elf/tst-audit2.c: Likewise.
35048         * elf/tst-tls10.c: Likewise.
35049         * elf/tst-tls10.h: Likewise.
35050         * elf/tst-tls11.c: Likewise.
35051         * elf/tst-tls12.c: Likewise.
35052         * elf/tst-tls14.c: Likewise.
35053         * elf/tst-tlsmod11.c: Likewise.
35054         * elf/tst-tlsmod12.c: Likewise.
35055         * elf/tst-tlsmod13.c: Likewise.
35056         * elf/tst-tlsmod13a.c: Likewise.
35057         * elf/tst-tlsmod14a.c: Likewise.
35058         * elf/tst-tlsmod15b.c: Likewise.
35059         * elf/tst-tlsmod16a.c: Likewise.
35060         * elf/tst-tlsmod16b.c: Likewise.
35061         * elf/tst-tlsmod7.c: Likewise.
35062         * elf/tst-tlsmod8.c: Likewise.
35063         * elf/tst-tlsmod9.c: Likewise.
35064         * gmon/gmon.c: Likewise.
35065         * grp/fgetgrent_r.c: Likewise.
35066         * grp/putgrent.c: Likewise.
35067         * hurd/fopenport.c: Likewise.
35068         * include/libc-symbols.h: Likewise.
35069         * include/tls.h: Likewise.
35070         * intl/gettextP.h: Likewise.
35071         * intl/loadinfo.h: Likewise.
35072         * locale/global-locale.c: Likewise.
35073         * locale/localeinfo.h: Likewise.
35074         * mach/devstream.c: Likewise.
35075         * malloc/arena.c: Likewise.
35076         * malloc/set-freeres.c: Likewise.
35077         * misc/err.c: Likewise.
35078         * misc/getttyent.c: Likewise.
35079         * misc/mntent_r.c: Likewise.
35080         * posix/getopt.c: Likewise.
35081         * posix/wordexp.c: Likewise.
35082         * pwd/fgetpwent_r.c: Likewise.
35083         * resolv/Versions: Likewise.
35084         * resolv/res_hconf.c: Likewise.
35085         * shadow/fgetspent_r.c: Likewise.
35086         * shadow/putspent.c: Likewise.
35087         * stdio-common/printf_fphex.c: Likewise.
35088         * stdio-common/tmpfile.c: Likewise.
35089         * stdlib/abort.c: Likewise.
35090         * stdlib/fmtmsg.c: Likewise.
35091         * sunrpc/auth_unix.c: Likewise.
35092         * sunrpc/clnt_perr.c: Likewise.
35093         * sunrpc/clnt_tcp.c: Likewise.
35094         * sunrpc/clnt_udp.c: Likewise.
35095         * sunrpc/clnt_unix.c: Likewise.
35096         * sunrpc/openchild.c: Likewise.
35097         * sunrpc/svc_simple.c: Likewise.
35098         * sunrpc/svc_tcp.c: Likewise.
35099         * sunrpc/svc_udp.c: Likewise.
35100         * sunrpc/svc_unix.c: Likewise.
35101         * sunrpc/xdr.c: Likewise.
35102         * sunrpc/xdr_array.c: Likewise.
35103         * sunrpc/xdr_rec.c: Likewise.
35104         * sunrpc/xdr_ref.c: Likewise.
35105         * sunrpc/xdr_stdio.c: Likewise.
35107 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
35109         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
35111 2011-07-03  Andreas Jaeger  <aj@suse.de>
35113         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
35114         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
35115         regenerate with gen-libm-tests.pl.
35117 2010-05-12  Petr Baudis  <pasky@suse.cz>
35119         [BZ #11589]
35120         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
35121         around j0() zero points by switching to j1().
35122         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
35123         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
35124         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
35125         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
35127 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
35129         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
35130         instead of 0.
35131         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
35132         instead of 0.
35133         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
35134         Patch in part by Pavel Roskin <proski@gnu.org>.
35136         [BZ #13138]
35137         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
35138         realloc.
35139         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
35140         Free memory block if necessary.
35142         [BZ #12847]
35143         * libio/genops.c (INTDEF): For string streams the _lock pointer can
35144         be NULL.  Don't lock in this case.
35146 2011-09-09  Roland McGrath  <roland@hack.frob.com>
35148         * elf/elf.h (ELFOSABI_GNU): New macro.
35149         (ELFOSABI_LINUX): Define to that.
35151 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
35153         * string/strncat.c (strncat): Undef the symbol in case it has been
35154         defined in bits/string.h.
35156 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
35158         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
35160         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
35161         link map.
35163 2011-08-17  Andreas Jaeger  <aj@suse.de>
35165         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
35167 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
35168             Ian Lance Taylor  <iant@google.com>
35170         * math/libm-test.inc (lround_test): New testcase.
35171         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
35173 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
35175         * Makefile: Remove support for automatic cvs check-ins.
35176         * Makerules: Likewise.
35177         * config.make.in: Likewise.
35178         * configure.in: Likewise.
35179         * intl/Makefile: Likewise.
35180         * locale/Makefile: Likewise.
35181         * po/Makefile: Likewise.
35182         * posix/Makefile: Likewise.
35183         * sysdeps/gnu/Makefile: Likewise.
35184         * sysdeps/mach/hurd/Makefile: Likewise.
35185         * sysdeps/sparc/sparc32/Makefile: Likewise.
35187         [BZ #13118]
35188         * posix/Makefile (bug-regex32-ENV): Define.
35189         Patch by John Stanley <jpsinthemix@verizon.net>.
35191         * misc/Makefile (headers): Add bits/select2.h.
35192         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
35193         * misc/bits/select2.h: New file.
35194         * include/bits/select2.h: New file.
35195         * debug/Makefile (routines): Add fdelt_chk.
35196         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
35197         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
35198         FD_ISSET.
35199         * debug/fdelt_chk.c: New file.
35201         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
35202         * wcsmbs/test-wmemcmp.c: Likewise.
35203         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
35204         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
35206 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
35208         * string/Makefile (strop-tests): Add memcmp.
35209         * string/test-wmemcmp.c: New file.
35210         * string/test-memcmp.c: Add wmemcmp support.
35212 2011-09-08  Roland McGrath  <roland@hack.frob.com>
35214         [BZ #13153]
35215         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
35216         2011-07-19 change.
35218         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
35219         garbage value in a __mach_port_mod_refs call in the cases of the
35220         task-self and thread-self ports.
35222 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
35224         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
35226 2011-09-08  Andreas Schwab  <schwab@redhat.com>
35228         * elf/dl-load.c (lose): Check for non-null L.
35230 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
35232         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
35234         * elf/dl-libc.c (dlerror_run): Pass back error code from
35235         dl_catch_error.
35237         [BZ #13123]
35238         * elf/dl-load.c (lose): Free l_origin if it is valid.
35240         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
35241         names.
35242         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
35243         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
35244         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
35245         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
35246         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
35247         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
35249 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35251         * sysdeps/powerpc/fpu/e_hypot.c: New file.
35252         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
35253         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
35254         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
35255         * sysdeps/powerpc/fpu/k_cosf.c: New file.
35256         * sysdeps/powerpc/fpu/k_sinf.c: New file.
35257         * sysdeps/powerpc/fpu/s_cosf.c: New file.
35258         * sysdeps/powerpc/fpu/s_sinf.c: New file.
35259         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
35260         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
35262 2011-08-15  Alan Modra  <amodra@gmail.com>
35264         [BZ #13092]
35265         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
35266         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
35267         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
35268         ppc_mcount to static-only-routines.
35269         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
35270         __mcount_internal.
35271         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
35272         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
35274 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
35276         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
35277         for finite and infinity parameters.
35279 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
35281         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
35282         and add nop instructions for throughput optimization.
35283         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
35285 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
35287         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
35288         aligned copy for power7 with vector-scalar instructions.
35289         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
35291 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
35293         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
35294         AVX check.
35296 2011-09-07  Andreas Schwab  <schwab@redhat.com>
35298         [BZ #13144]
35299         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
35300         last change.
35302 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
35304         * sysdeps/unix/sysv/linux/x86_64/init-first.c
35305         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
35306         syscall wrapper around clock_gettime in __vdso_clock_gettime.
35307         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
35308         clock_gettime.
35310 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
35312         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
35313         Forgot to demangle the pointer.
35315         * sysdeps/i386/sysdep.h: Define atom_text_section.
35316         * sysdeps/x86_64/sysdep.h: Likewise.
35317         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
35318         section with atom_text_section.
35319         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
35320         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
35321         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
35322         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
35323         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
35325         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
35326         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
35327         already be defined.  Change to take two parameters and don't assign
35328         result to variable.  Adjust all users.
35329         Define INTERNAL_GETTIME if not already defined.
35330         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
35331         call.
35332         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
35333         HAVE_CLOCK_GETTIME_VSYSCALL.
35334         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
35336         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
35337         gettimeofday vsyscall, just use time.
35339 2011-09-06  Andreas Schwab  <schwab@redhat.com>
35341         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
35342         <errno.h>.
35344 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
35346         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
35347         syscall on x86-64.
35348         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
35349         syscall.
35350         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
35351         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
35352         syscall if possible.
35354 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
35356         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
35357         e_ident.  Don't pass to find_mapsXX.
35358         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
35360 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
35362         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
35363         strchr-sse2-no-bsf strrchr-sse2-no-bsf
35364         * sysdeps/x86_64/multiarch/strchr.S: Update.
35365         Check bit_slow_BSF bit.
35366         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
35367         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
35368         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
35370 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
35372         [BZ #13134]
35373         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
35374         before glibc 2.15.
35375         (tryshell): Define.
35376         (__spawni): Change last parameter to be flag.  Test
35377         SPAWN_XFLAGS_USE_PATH flag to use path or not.
35378         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
35379         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
35380         * posix/spawni.c: Likewise.
35381         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
35382         * posix/spawnp.c: Likewise.  Change normal version to use
35383         SPAWN_XFLAGS_USE_PATH.
35384         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
35385         SPAWN_XFLAGS_TRY_SHELL.
35387         [BZ #13150]
35388         * posix/glob.h: Remove gcc 1.x support.
35390         [BZ #13068]
35391         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
35393 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
35395         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
35396         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
35397         strrchr-sse2-bsf
35398         * sysdeps/i386/i686/multiarch/strchr.S: New file.
35399         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
35400         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
35401         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
35402         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
35403         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
35405 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
35407         * sysdeps/x86_64/wcscmp.S: New file.
35409         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
35410         wcscmp-c wcscmp-sse2
35411         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
35412         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
35413         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
35414         * wcsmbs/wcscmp.c: Allow renaming.
35416 2011-09-05  David S. Miller  <davem@davemloft.net>
35418         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
35419         stack slot, rather than the struct return pointer slot.
35420         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
35421         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
35422         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
35423         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
35425 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
35427         * po/ja.po: Update from translation team.
35429         [BZ #13144]
35430         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
35431         kernel in 64-bit binaries.
35433 2011-09-01  David S. Miller  <davem@davemloft.net>
35435         * elf/elf.h (HWCAP_SPARC_*): Move to..
35436         * sysdeps/sparc/sysdep.h: this new file and add new values.
35437         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
35438         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
35439         _DL_HWCAP_COUNT to 24.
35440         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
35441         entries.
35442         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
35443         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
35444         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
35445         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
35446         instead of magic constants.
35447         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
35449 2011-08-31  David S. Miller  <davem@davemloft.net>
35451         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
35452         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
35453         Reimplement to do errno handling inline.
35454         (SYSCALL_ERROR_HANDLER): New macro.
35455         (__SYSCALL_STRING): Do not do errno handling in asm.
35456         (__CLONE_SYSCALL_STRING): Delete.
35457         (__INTERNAL_SYSCALL_STRING): Delete.
35458         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
35459         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
35460         (PSEUDO): Reimplement to do errno handling inline.
35461         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
35462         (SYSCALL_ERROR_HANDLER): New macro.
35463         (__SYSCALL_STRING): Do not do errno handling in asm.
35464         (__CLONE_SYSCALL_STRING): Delete.
35465         (__INTERNAL_SYSCALL_STRING): Delete.
35466         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
35467         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
35468         i386.
35469         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
35470         (inline_syscall*): Add 'err' argument.
35471         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
35472         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
35473         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
35474         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
35476         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
35477         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
35479 2011-08-30  Andreas Schwab  <schwab@redhat.com>
35481         * elf/rtld.c (dl_main): Relocate objects in dependency order.
35483 2011-08-29  Jiri Olsa <jolsa@redhat.com>
35485         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
35486         directive.
35488 2011-08-24  David S. Miller  <davem@davemloft.net>
35490         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
35492 2011-08-24  Andreas Schwab  <schwab@redhat.com>
35494         * elf/Makefile: Add rules to build and run unload8 test.
35495         * elf/unload8.c: New file.
35496         * elf/unload8mod1.c: New file.
35497         * elf/unload8mod1x.c: New file.
35498         * elf/unload8mod2.c: New file.
35499         * elf/unload8mod3.c: New file.
35501         * elf/dl-close.c (_dl_close_worker): Reset private search list if
35502         it wasn't used.
35504 2011-08-23  David S. Miller  <davem@davemloft.net>
35506         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
35507         subtract stack bias.
35508         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
35509         %sp not %fp in calculations.
35510         (_JMPBUF_UNWINDS_ADJ): Likewise.
35512         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
35513         (aio_suspend): Call it to force an exception region around the
35514         AIO_MISC_WAIT() invocation.
35516 2011-08-23  Andreas Schwab  <schwab@redhat.com>
35518         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
35519         backslash.
35521 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
35523         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
35524         protection macro.
35525         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
35526         and <dl-machine.h>.
35527         (Elf64_FuncDesc): Remove.
35529 2011-08-22  David S. Miller  <davem@davemloft.net>
35531         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
35532         sigaltstack check, add missing cfi directives.
35533         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
35534         missing cfi directives, and sigaltstack handling.
35536 2011-08-16  Andreas Schwab  <schwab@redhat.com>
35538         [BZ #11724]
35539         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
35540         object is seen twice.
35541         * elf/dl-fini.c (_dl_sort_fini): Likewise.
35543         * elf/Makefile (distribute): Add tst-initorder2.c.
35544         (tests): Add tst-initorder2.
35545         (modules-names): Add tst-initorder2a tst-initorder2b
35546         tst-initorder2c tst-initorder2d.  Add rules to build them.
35547         ($(objpfx)tst-initorder2.out): New rule.
35548         * elf/tst-initorder2.c: New file.
35549         * elf/tst-initorder2.exp: New file.
35551 2011-08-22  Andreas Schwab  <schwab@redhat.com>
35553         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
35555         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
35556         dependencies back to end of function.
35558         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
35559         $(elfobjdir)/ld.so.
35561 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
35563         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
35564         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
35565         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
35566         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
35567         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
35568         of __vdso_gettimeofday.
35569         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
35570         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
35571         attribute_hidden.
35572         (_libc_vdso_platform_setup): Remove initialization of
35573         __vdso_gettimeofday and __vdso_time.
35575 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
35577         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
35578         and fgetc_unlocked.
35579         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
35580         getc_unlocked.
35582         * elf/dl-open.c (add_to_global): Report additions to the global scope
35583         for LD_DEBUG=scopes.
35584         (dl_open_worker): Also print scope of newly loaded dependencies.
35585         (_dl_show_scope): Indicate if there is no scope.
35587         [BZ #13114]
35588         * stdio-common/Makefile (tests): Add bug24.
35589         * stdio-common/bug24.c: New file.
35591 2011-08-19  Andreas Jaeger  <aj@suse.de>
35593         [BZ #13114]
35594         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
35595         non-existant file when using close-on-exec mode.
35597 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
35599         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
35600         the very first instruction.
35602         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
35603         the CFI state in the end.
35604         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
35605         inclusion of dl-trampoline.h.
35606         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
35608 2011-08-19  Andreas Schwab  <schwab@redhat.com>
35610         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
35611         expectations for long double.
35613         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
35614         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
35616 2011-08-14  David S. Miller  <davem@davemloft.net>
35618         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
35619         artificual limit depends upon the system page size.
35621 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
35623         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
35624         * resolv/Makefile: Define CFLAGS-libresolv.
35626 2011-08-17  Andreas Schwab  <schwab@redhat.com>
35628         * nss/makedb.c (compute_tables): Make variables used in nested
35629         function static.
35631 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
35633         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
35634         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
35635         if buffer was too small.
35637         * elf/pldd.c (main): Attach to all threads in the process.
35638         Rewrite /proc handling to use *at functions.
35640 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
35642         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
35643         specifies first scope to show.
35644         (dl_open_worker): Update callers.  Move printing scope of new
35645         object to before the relocation.
35646         * elf/rtld.c (dl_main): Update _dl_show_scope call.
35647         * sysdeps/generic/ldsodefs.h: Update declaration.
35649         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
35650         string for the scope number.
35652 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
35654         * nscd/servicescache.c (cache_addserv): Make sure written is always
35655         initialized.
35657 2011-08-14  Roland McGrath  <roland@hack.frob.com>
35659         * sysdeps/i386/i486/bits/atomic.h
35660         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
35661         statement expression, so as to suppress "set but not used" warning.
35662         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
35664         * string/strncat.c (STRNCAT): Use prototype definition.
35666         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
35667         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
35668         -Iprograms here.
35669         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
35670         (localedef-modules): Add localedef.
35671         (locale-modules): Add locale.
35673         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
35674         * elf/rtld.c (dl_main): Invert order of assignment in last change,
35675         to avoid a warning.
35677 2011-08-14  David S. Miller  <davem@davemloft.net>
35679         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
35680         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
35682 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
35684         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
35685         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
35686         * elf/rtld.c (dl_main): Set l_name of vDSO.
35687         Call _dl_show_scope when DL_DEBUG_SCOPES.
35688         (process_dl_debug): Recognize scopes flag and also set it for all.
35689         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
35690         Declare _dl_show_scope.
35692         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
35693         (do_dlopen): Pass caller_dlopen to dl_open.
35694         (__libc_dlopen_mode): Initialize caller_dlopen.
35696         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
35697         of libc.  Make tolower call locale-independent.  Optimize a bit by
35698         using isdigit instead of isalnum.
35699         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
35701 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
35703         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
35704         was a dependency or dynamically loaded.
35706 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
35708         * intl/l10nflist.c: Allow architecture-specific pop function.
35709         * sysdeps/x86_64/l10nflist.c: New file.
35711         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
35712         classification.
35714 2011-08-10  Andreas Schwab  <schwab@redhat.com>
35716         * include/dirent.h: Add libc_hidden_proto for scandirat and
35717         scandirat64.  Don't declare __scandirat64.
35718         * dirent/scandirat.c: Add libc_hidden_def.
35719         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
35720         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
35722 2011-08-10  David S. Miller  <davem@davemloft.net>
35724         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
35725         enum.
35726         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
35727         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
35728         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
35730 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
35732         * Versions.def [libc]: Add GLIBC_2.15.
35733         * dirent/Makefile (routines): Add scandirat and scandirat64.
35734         * dirent/Versions [libc]: Export scandirat and scandirat64 for
35735         GLIBC_2.15.
35736         * dirent/dirent.h: Declare scandirat and scandirat64.
35737         * dirent/scandirat.c: New file.
35738         * dirent/scandirat64.c: New file.
35739         * sysdeps/wordsize-64/scandirat.c: New file.
35740         * sysdeps/wordsize-64/scandirat64.c: New file.
35741         * dirent/opendir.c: Define opendirat.
35742         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
35743         using scandirat.
35744         * dirent/scandir64.c: Adjust for scandir.c change.
35745         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
35746         __scandirat64, and __scandir_cancel_handler.
35747         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
35748         additional parameter and use openat instead of open (outside of ld.so).
35749         Add new __opendir as wrapper around __opendirat.
35750         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
35751         here without requiring old scandirat implementation.
35753 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
35755         * dirent/scandir.c (cancel_handler): Renamed to
35756         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
35757         defined.  Adjust users.
35758         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
35759         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
35761 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
35763         * string/test-string.h (IMPL): Use __STRING to expand name and then
35764         stringify it.
35766         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
35767         of cleanups.
35769 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
35771         * string/Makefile: Update.
35772         (strop-tests): Append strncat.
35773         * string/test-wcscmp.c: New file.
35774         New comprehensive test for wcscmp.
35775         * string/test-strcmp.c: Update.
35776         (WIDE): New define.
35778 2011-07-22  Andreas Schwab  <schwab@redhat.com>
35780         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
35781         line.
35783 2011-07-26  Andreas Schwab  <schwab@redhat.com>
35785         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
35786         encoding to ACE if AI_IDN.
35788 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
35790         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
35791         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
35793 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
35795         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
35796         Fix overflow bug in strncat.
35797         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
35799         * string/test-strncat.c: Update.
35800         Add new tests for checking overflow bugs.
35802 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
35804         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
35805         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
35806         * sysdeps/i386/i686/multiarch/strcat.S: New file.
35807         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
35808         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
35809         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
35810         * sysdeps/i386/i686/multiarch/strncat.S: New file.
35811         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
35812         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
35814         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
35815         (USE_AS_STRCAT): Define.
35816         Add strcat and strncat support.
35817         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
35819 2011-07-25  Andreas Schwab  <schwab@redhat.com>
35821         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
35822         __n bigger than INT_MAX+1.
35823         (__strncmp_g): Likewise.
35825 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
35827         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
35828         * libio/stido.h: Likewise.
35830         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
35831         (AF_NFC): Define.
35832         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
35833         (AF_NFC): Define.
35835         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
35836         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
35837         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
35838         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
35839         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
35841         [BZ #13021]
35842         * scripts/test-installation.pl: Don't expect libnss_test1 to be
35843         installed.
35845         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
35846         typo.
35847         (_dl_x86_64_save_sse): Likewise.
35849 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
35851         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
35852         OSXSAVE.
35853         (_dl_x86_64_save_sse): Likewise.
35855         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
35857         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
35859 2011-07-21  Andreas Schwab  <schwab@redhat.com>
35861         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
35862         change.
35863         (_dl_x86_64_save_sse): Use correct AVX check.
35865 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
35867         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
35868         bug in strncpy/strncat.
35869         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
35871 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
35873         * string/tester.c (test_strcat): Add tests for different alignments
35874         of source and destination.
35875         (test_strncat): Likewise.
35877 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
35879         [BZ #12852]
35880         * posix/glob.c (glob): Check passed in values before using them in
35881         expressions to avoid some overflows.
35882         (glob_in_dir): Likewise.
35884         [BZ #13007]
35885         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
35886         check for AVX enablement so that we don't crash with old kernels and
35887         new hardware.
35888         * elf/tst-audit4.c: Add same checks here.
35889         * elf/tst-audit6.c: Likewise.
35891         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
35893 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
35895         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
35897 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
35899         * po/cs.po: Update from translation team.
35900         * po/bg.po: Likewise.
35902 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
35904         * misc/sys/cdefs.h: Add support for const attribute.
35905         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
35906         to gnu_dev_{major,minor,makedev} functions.
35908 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
35910         * intl/dcigettext.c (get_output_charset): Add missing bracket.
35912 2011-07-20  Andreas Schwab  <schwab@redhat.com>
35914         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
35915         strlen results.
35917 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
35919         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
35920         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
35921         register in order to avoid conflicts with the soft frame pointer
35922         being held in r11 when necessary.
35923         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
35924         (INTERNAL_VSYSCALL_NCS): Likewise.
35926 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
35928         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
35929         * elf/dl-fini.c (_dl_fini): Adjust caller.
35930         * elf/dl-close.c (_dl_close_worker): Likewise.
35931         * sysdeps/generic/ldsodefs.h: Adjust declaration.
35933 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
35935         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
35936         "aux_cache->nlibs < 0".
35938         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
35939         in the reload-count case.
35941 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
35943         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
35944         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
35945         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
35946         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
35947         * sysdeps/x86_64/multiarch/strcat.S: New file.
35948         * sysdeps/x86_64/multiarch/strncat.S: New file.
35949         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
35950         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
35951         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
35952         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
35953         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
35954         (USE_AS_STRCAT): Define.
35955         Add strcat and strncat support.
35956         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
35957         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
35958         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
35959         * string/strncat.c: Update.
35960         (USE_AS_STRNCAT): Define.
35961         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
35962         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
35963         and i7.
35964         * sysdeps/x86_64/multiarch/init-arch.h
35965         (bit_Prefer_PMINUB_for_stringop): New.
35966         (index_Prefer_PMINUB_for_stringop): Likewise.
35967         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
35968         bit_Prefer_PMINUB_for_stringop.
35970 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
35972         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
35973         buffer64.
35974         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
35975         of casting of buffer.
35976         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
35977         buffer32 and buffer64.
35978         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
35979         writes instead of casting of buffer.
35980         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
35981         buffer32.
35982         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
35983         casting of buffer.
35985 2011-07-19  Andreas Schwab  <schwab@redhat.com>
35987         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
35989 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
35991         * nscd/nscd.c (termination_handler): Don't do anything for a database
35992         if it has not yet been initialized.
35994 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
35996         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
35998 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
36000         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
36002 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
36004         * po/nl.po: Update from translation team.
36005         * po/sv.po: Likewise.
36007 2011-07-16  Roland McGrath  <roland@hack.frob.com>
36009         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
36010         now disallowed by GCC.
36012         * configure.in (use-default-link): Default to yes if a test -shared
36013         link meets our qualifications.
36014         * configure: Regenerated.
36016         * config.make.in (output-format): New variable.
36017         * configure.in: Check for ld --print-output-format support.
36018         * configure: Regenerated.
36019         * Makerules ($(common-objpfx)format.lds)
36020         [$(output-format) != unknown]: Just use $(output-format),
36021         instead of the linker-script munging.
36023 2011-07-14  Roland McGrath  <roland@hack.frob.com>
36025         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
36026         of $(common-objpfx)shlib.lds.
36027         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
36029         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
36030         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
36032         * configure.in (-z relro check): Adjust test code to add a large
36033         writable data section after it.
36034         * configure: Regenerated.
36036 2011-07-11  Roland McGrath  <roland@hack.frob.com>
36038         * configure.in (-z relro check): Fix test code to make the variable
36039         truly const.
36040         * configure: Regenerated.
36042 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
36044         * nscd/nscd.h (struct traced_file): Define.
36045         (struct database_dyn): Remove inotify_descr, reset_res, and filename
36046         elements.  Add traced_files.
36047         (inotify_fd): Declare.
36048         (register_traced_file): Declare.
36049         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
36050         (inotify_fd): Export.
36051         (resolv_conf_descr): Remove.
36052         (nscd_init): Move inotify descriptor creation to main.
36053         Don't register files for notification here.
36054         (register_traced_file): New function.
36055         (invalidate_cache): Don't use reset_res to determine whether to call
36056         res_init, go through the list of registered files.
36057         (main_loop_poll): The inotify descriptors are now stored in the
36058         structures for the traced files.
36059         (main_loop_epoll): Likewise
36060         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
36061         to __nss_disable_nscd.
36062         * nscd/cache.c (prune_cache): There is no single inotify descriptor
36063         for a database anymore.  Check the records for all the registered
36064         files instead.
36065         * nss/Makefile (libnss_files-routines): Add files-init.
36066         (libnss_db-routines): Add db-init.
36067         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
36068         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
36069         * nss/nss_db/db-init.c: New file.
36070         * nss/nss_files/files-init.c: New file.
36071         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
36072         __nss_lookup_function.
36073         (__nss_lookup_function): Call nss_load_library.
36074         (nss_load_all_libraries): New function.
36075         (__nss_disable_nscd): Take parameter with callback function for files
36076         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
36077         used for the cached services.
36078         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
36079         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
36080         options for features to all the files in nscd.
36082         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
36084 2011-07-10  Roland McGrath  <roland@hack.frob.com>
36086         * csu/elf-init.c (__libc_csu_init): Comment typo.
36088 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
36090         * po/pl.po: Update from translation team.
36091         * po/ja.po: Likewise.
36092         * po/ru.po: Likewise.
36093         * po/ko.po: Likewise.
36094         * po/fr.po: Likewise.
36096 2011-07-09  Roland McGrath  <roland@hack.frob.com>
36098         * configure.in (.ctors/.dtors header and trailer check):
36099         Use an empirical test on a built program.
36100         * configure: Regenerated.
36102         * configure.in (-z relro check): Use an empirical test on a built DSO.
36103         Detect, but do not require, on ia64.
36104         * configure: Regenerated.
36106         * configure.in (READELF): Find it with AC_CHECK_TOOL.
36107         Update tests that use readelf to use $READELF instead.
36108         * configure: Regenerated.
36110 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
36112         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
36113         if the result is not used.
36115 2011-07-05  Andreas Jaeger  <aj@suse.de>
36117         [BZ#9696]
36118         * stdlib/tst-strtod.c: Add testcase.
36120 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
36122         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
36123         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
36124         The latter has a higher limit.  Take additional parameter to pass to
36125         the new function.
36126         (__pathconf): Pass file to __statfs_link_max.
36127         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
36128         __statfs_link_max.
36129         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
36130         __statfs_link_max.
36132         [BZ #12868]
36133         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
36134         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
36135         Handle Lustre.
36136         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
36137         (__statfs_filesize_max): Likewise.
36138         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
36140 2011-07-05  Andreas Jaeger  <aj@suse.de>
36142         * resolv/res_comp.c (dn_skipname): Remove unused variable.
36144 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
36146         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
36147         `status' variable.
36148         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
36149         Likewise.
36151 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
36153         * Makefile (strop-tests): Add strncat.
36154         * string/test-strncat.c: New file.
36156 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
36158         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
36160 2011-06-21  Andreas Jaeger  <aj@suse.de>
36162         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
36163         Copy rule from iconvdata/Makefile.
36165 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
36167         [BZ #12922]
36168         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
36169         but no long options are defined, just return 'W'.
36171 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
36173         [BZ #9696]
36174         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
36176 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
36178         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
36179         netgroups to read.
36180         (innetgr): Likewise.
36182 2011-07-05  Roland McGrath  <roland@hack.frob.com>
36184         * config.make.in (install_root): Default to $(DESTDIR).
36186 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
36188         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
36190 2011-07-02  Roland McGrath  <roland@hack.frob.com>
36192         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
36194         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
36195         containing directory rather than embedding absolute directory names.
36197         * scripts/check-local-headers.sh: Rewritten using awk.
36198         Match by word, not by line.  Print error messages for matches.
36199         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
36201         * Makerules [shlib-lds-flags empty]:
36202         ($(common-objpfx)libc_pic.opts): New target.
36203         ($(common-objpfx)libc_pic.os.clean): New target.
36204         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
36206         * config.make.in (OBJCOPY): New variable.
36207         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
36208         * configure: Regenerated.
36210         * config.make.in (use-default-link): New variable.
36211         * configure.in (use_default_link): Grok --with-default-link to set it.
36212         * configure: Regenerated.
36213         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
36214         (shlib-lds, shlib-lds-flags): Define to empty.
36216         * Makerules (shlib-lds): New variable.
36217         (shlib-lds-flags): New variable.
36218         (build-shlib, build-moduile, build-module-asneeded): Use it.
36219         ($(common-objpfx)libc.so): Use $(shlib-lds).
36220         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
36221         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
36223         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
36224         DT_FLAGS/DT_FLAGS_1 with zero flags.
36226         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
36227         linker script munging.
36229 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
36231         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
36232         as 128-bit value.
36233         * crypt/sha512.c (sha512_process_block): Perform total addition using
36234         128-bit if possible.
36235         (__sha512_finish_ctx): Likewise.
36236         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
36237         as 64-bit value.
36238         * crypt/sha256.c (SWAP64): Define.
36239         (sha256_process_block): Perform total addition using 64-bit if
36240         possible.
36241         (__sha256_finish_ctx): Likewise.
36243 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
36245         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
36246         * nscd/initgrcache.c (addinitgroupsX): Likewise.
36247         * nscd/hstcache.c (cache_addhst): Likewise.
36248         * nscd/grpcache.c (cache_addgr): Likewise.
36249         * nscd/aicache.c (addhstaiX): Likewise
36250         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
36252 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
36254         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
36255         * nscd/initgrcache.c (addinitgroupsX): Likewise.
36256         * nscd/hstcache.c (cache_addhst): Likewise.
36257         * nscd/grpcache.c (cache_addgr): Likewise.
36258         * nscd/aicache.c (addhstaiX): Likewise
36260 2011-07-01  Andreas Schwab  <schwab@redhat.com>
36262         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
36263         domain only when needed.
36265 2011-06-30  Andreas Schwab  <schwab@redhat.com>
36267         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
36268         is always restored.
36270 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
36272         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
36273         are re-adding the entry.
36274         * nscd/servicescache.c (cache_addserv): Likewise.
36276 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
36278         * sysdeps/generic/dl-irel.h: fix protection against multiple
36279         inclusions.
36280         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
36282 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
36284         [BZ #12935]
36285         * malloc/memusage.sh: Fix quoting in message.
36286         * debug/xtrace.sh: Likewise.
36288         * configure.in: Remove support for --experimental-malloc option, make
36289         it the default.
36290         * config.make.in: Likewise.
36291         * malloc/Makefile: Likewise.
36293 2011-06-27  Andreas Schwab  <schwab@redhat.com>
36295         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
36296         two-byte characters.
36298 2011-06-27  Roland McGrath  <roland@hack.frob.com>
36300         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
36301         AC_CACHE_CHECK invocation.
36302         * configure: Regenerated.
36304         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
36306 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
36308         [BZ #12350]
36309         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
36310         bit from old_res_options.
36312         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
36314         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
36315         value type for setfct.
36317 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
36319         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
36320         __gettimeofday instead of gettimeofday.
36322 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
36324         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
36326 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
36328         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
36330         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
36331         info.
36333 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
36335         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
36336         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
36337         strcpy-sse2-unaligned strncpy-sse2-unaligned
36338         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
36339         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
36340         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
36341         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
36342         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
36343         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
36344         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
36345         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
36346         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
36347         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
36348         (STRCPY): Support SSE2 and SSSE3 versions.
36350 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
36352         [BZ #12874]
36353         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
36354         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
36355         kernels which artificially limit size of requests.
36357 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
36359         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
36360         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
36361         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
36362         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
36363         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
36364         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
36365         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
36366         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
36367         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
36368         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
36369         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
36370         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
36371         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
36372         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
36373         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
36374         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
36375         Enable unaligned load optimization for Intel Core i3, i5 and i7
36376         processors.
36377         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
36378         Define.
36379         (index_Fast_Unaligned_Load): Define.
36380         (HAS_FAST_UNALIGNED_LOAD): Define.
36382 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
36384         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
36386 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
36388         [BZ #12907]
36389         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
36390         until it is clear that the information is realy needed.
36391         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
36393 2011-06-22  Andreas Schwab  <schwab@redhat.com>
36395         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
36397 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
36399         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
36400         /sys/devices/system/cpu/online if it is usable.
36402         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
36403         reading the information from the /proc filesystem to once a second.
36405 2011-06-21  Andreas Jaeger  <aj@suse.de>
36407         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
36408         NULL after inclusion of kernel headers.
36410 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
36412         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
36413         calls to internal_setent.
36415         [BZ #12885]
36416         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
36417         addresses using gethostbyname4_r ignore IPv4 addresses.
36419         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
36420         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
36422         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
36424 2011-06-20  David S. Miller  <davem@davemloft.net>
36426         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
36427         inclusions.
36428         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
36430         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
36431         (elf_irel): Use it.
36432         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
36433         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
36434         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
36435         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
36436         * sysdeps/x86_64/dl-irel.h: Likewise.
36438         * elf/dl-runtime.c: Use elf_ifunc_invoke.
36439         * elf/dl-sym.c: Likewise.
36441 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
36443         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
36444         need to dereference resplen2.
36446 2011-06-14  Andreas Schwab  <schwab@redhat.com>
36448         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
36450 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
36452         * Makeconfig: Define vardbdir and inst_vardbdir.
36453         * nss/Makefile: Add rules to install db-Makefile.
36455         * nss/nss_db/db-XXX.c: Cleanup.
36457         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
36458         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
36459         GLIBC_PRIVATE.
36460         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
36461         * nss/makedb.c: Implement -g option to specify that value strings
36462         are generated and should not be added to table iterated over for
36463         get*ent calls.
36464         * nss/nss_db/db-initgroups.c: New file.
36466         * nss/getent.c: Add support for initgroups lookups through getgrouplist
36467         interface.
36469         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
36470         (internal_getgrouplist): Adjust to name change.
36471         Update use_initgroups_entry if this is not the first call.
36472         * nss/databases.def: Add initgroups entry.
36474         * nss/makedb.c (compute_tables): Check result of multiple hash table
36475         sizes to minimize maximum chain length.
36477 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
36479         * Versions.def: Add entry for libnss_db.
36480         * shlib-versions: Likewise.
36481         * nss/Makefile: Add rules to build libnss_db.
36482         * nss/Versions: Add libnss_db information.  Organize libnss_files
36483         entries better.
36484         * nss/db-Makefile: Add gshadow support.  Change rules for the new
36485         makedb progra.  Some minor improvements to generate smaller files.
36486         * nss/nss_db/nss_db.h: Move NSS database header data structures to
36487         here from...
36488         * nss/makedb.c: ...here.
36489         Improve database format to be smaller and require less memory at
36490         runtime.
36491         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
36492         db anymore.
36493         * nss/nss_db/db-netgrp.c: Likewise.
36494         * nss/nss_db/db-open.c: Likewise.
36495         * nss/nss_files/flies-XXX.x: Adjust comments.
36496         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
36497         * nss/nss_files/files-grp.c: Likewise.
36498         * nss/nss_files/files-hosts.c: Likewise.
36499         * nss/nss_files/files-network.c: Likewise.
36500         * nss/nss_files/files-proto.c: Likewise.
36501         * nss/nss_files/files-pwd.c: Likewise.
36502         * nss/nss_files/files-rpc.c: Likewise.
36503         * nss/nss_files/files-service.c: Likewise.
36504         * nss/nss_files/files-sgrp.c: Likewise.
36505         * nss/nss_files/files-spwd.c: Likewise.
36506         * nss/nss_db/db-alias.c: Removed.
36507         * nss/nss_db/dummy-db.h: Removed.
36509 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
36511         * nss/makedb.c: Rewritten to not use database library.
36512         * nss/Makefile: Update to build new makedb program.
36514 2011-06-14  Andreas Jaeger  <aj@suse.de>
36516         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
36517         memset declaration.
36519 2011-06-10  Andreas Schwab  <schwab@redhat.com>
36521         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
36522         tmpbuf.
36524 2011-06-10  Roland McGrath  <roland@hack.frob.com>
36526         * Makerules (shlib.lds): Fail if the linker script comes out empty.
36527         * elf/Makefile ($(objpfx)ld.so): Likewise.
36529         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
36530         Don't list ld.so twice in dependencies.
36532         * posix/bug-regex31.c: Include <stdlib.h>.
36534         * nscd/hstcache.c (cache_addhst): Remove unused variable.
36536         * nis/nss_compat/compat-spwd.c
36537         (getspent_next_nss_netgr): Remove unused variable.
36538         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
36540         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
36541         nonmembers" output to use the right array.
36543         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
36545         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
36547         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
36548         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
36549         * catgets/gencat.c (read_input_file): Likewise.
36550         * locale/programs/locarchive.c (enlarge_archive): Likewise.
36552         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
36553         variable definition inside #if's controlling its use.
36555         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
36557         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
36559         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
36561         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
36562         unreachable code.
36564         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
36566         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
36567         * configure: Regenerated.
36569         * Makerules: Revert last change.
36570         * elf/Makefile: Likewise.
36572 2011-06-09  Roland McGrath  <roland@hack.frob.com>
36574         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
36575         * elf/Makefile ($(objpfx)librtld.os): Likewise.
36576         (reloc-link): Likewise.
36578 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
36580         * elf/Makefile: Add rules to build pldd.
36581         * elf/pldd.c: New file.
36582         * elf/pldd-xx.c: New file.
36584 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
36586         * version.h: Update for 2.15 development version.
36588 2011-06-07  David S. Miller  <davem@davemloft.net>
36590         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
36591         ifuncs.
36592         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
36593         elf_machine_lazy_rel): Likewise.
36594         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
36595         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
36596         elf_machine_lazy_rel): Likewise.
36597         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
36598         dl_hwcap via passed in argument.
36599         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
36600         Likewise.
36602 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
36604         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
36606 2011-06-06  Roland McGrath  <roland@hack.frob.com>
36608         [BZ #12849]
36609         * manual/fdl-1.1.texi: New file, verbatim from:
36610         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
36611         * manual/lgpl-2.1.texi: New file, verbatim from:
36612         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
36613         * manual/Makefile (licenses): New variable, list those new file names.
36614         (texis): Use it.
36615         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
36617         * manual/fdl.texi: File removed.
36618         * manual/lesser.texi: File removed.
36619         * manual/libc.texinfo (Copying, Documentation License):
36620         Use new @include file names, put @appendix directive before @include.
36622 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
36624         [BZ #12841]
36625         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
36626         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
36627         (mq_open): Add __NTH.
36629 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
36631         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
36632         Assume Intel Core i3/i5/i7 processor if AVX is available.
36634 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
36636         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
36637         typo.
36639 2011-05-31  Andreas Schwab  <schwab@redhat.com>
36641         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
36642         memory.  Use alloca_account.  Fix memory leak when retrying.
36644 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
36646         * version.h (RELEASE): Bump for 2.14 release.
36647         * include/features.h (__GLIBC_MINOR__): Bump to 14.
36649         * config.make.in (RANLIB): Remove entry.
36651 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
36653         * po/Makefile (po-sed-cmd): Add ksh to extensions.
36654         (libc.pot): Work around missing support for .ksh extension in xgettext.
36656         [BZ #12684]
36657         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
36658         if both request failed.
36659         (send_dg): In case of server errors clear resplen or *resplen2.
36661         [BZ #12454]
36662         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
36663         when there are multiple maps.
36664         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
36665         (_dl_fini): Remove test here.
36667         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
36669 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
36671         [BZ #12350]
36672         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
36673         bit from old_res_options.
36674         (gaih_inet): Likewise.
36676         [BZ #11099]
36677         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
36678         as signed.
36680         * resolv/res_init.c (res_setoptions): Make the code more compact.
36682         [BZ #11558]
36683         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
36684         set RES_USEVC.
36686         [BZ #11634]
36687         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
36689         * malloc/malloc.h: Mark malloc hook variables as deprecated.
36691         [BZ #11781]
36692         * malloc/malloc.h: Declare malloc hook variables as volatile.
36694         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
36695         in last patch.
36697         [BZ #11799]
36698         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
36699         raise in the comment.
36700         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
36701         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
36702         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
36704 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
36706         [BZ #12811]
36707         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
36708         grow the buffers more if it already has to be sufficient.
36709         (build_wcs_upper_buffer): Likewise.
36710         * posix/regexec.c (check_matching): Likewise.
36711         (clean_state_log_if_needed): Likewise.
36712         (extend_buffers): Don't enlarge buffers beyond size of the input
36713         buffer.
36714         Patches mostly by Emil Wojak <emil@wojak.eu>.
36715         * posix/bug-regex32.c: New file.
36716         * posix/Makefile (tests): Add bug-regex32.
36718         * locale/findlocale.c (_nl_find_locale): Return right away if
36719         _nl_explode_name failed.
36720         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
36722         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
36724         * debug/xtrace.sh: Unify messages.
36725         * malloc/memusage.sh: Likewise.
36727         [BZ #12813]
36728         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
36729         time symbol from vDSO.  Substitute with vsyscall if not available.
36730         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
36731         __vdso_time.
36733         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
36734         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
36735         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
36736         Add sendmmsg and internal_sendmmsg.
36737         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
36738         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
36739         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
36741         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
36742         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
36743         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
36745 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
36747         [BZ #12813]
36748         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
36749         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
36750         available.
36751         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
36752         __vdso_getcpu.
36754         [BZ #12814]
36755         * iconvdata/Makefile (tests): Add bug-iconv9.
36756         * iconvdata/bug-iconv9.c: New file.
36758 2011-05-27  Andreas Schwab  <schwab@redhat.com>
36760         [BZ #12814]
36761         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
36763 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
36765         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
36766         (struct user_regs_struct): Change intcs field back to cs.
36768 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
36770         * po/ja.po: Update from translation team.
36772 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
36774         [BZ #12795]
36775         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
36776         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
36778 2011-05-20  Andreas Schwab  <schwab@redhat.com>
36780         * stdlib/longlong.h: Update from GCC.
36782 2011-05-23  Andreas Schwab  <schwab@redhat.com>
36784         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
36785         parameter name.
36786         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
36787         Add parameter name.
36788         (__sysconf): Pass it down.
36790 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
36792         [BZ #12671]
36793         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
36794         some situations.
36795         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
36796         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
36797         add in in __libc_use_alloca calls.  Adjust callers.
36798         (glob): Use malloc in some situations.
36800         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
36801         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
36802         pltexit.
36804 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
36806         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
36807         and CLOCK_BOOTTIME_ALARM.
36809         [BZ #12782]
36810         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
36811         is returned.
36813         * string/_strerror.c (__strerror_r): Print negative errors as signed
36814         numbers.
36816         [BZ #12777]
36817         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
36818         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
36819         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
36821         * configure.in: Fix typo in redirection and correct removal of test
36822         files in two cases.
36824         [BZ #12788]
36825         * locale/setlocale.c (new_composite_name): Fix test to check for
36826         identical name of all categories.
36828         [BZ #12792]
36829         * libio/filedoalloc.c (local_isatty): New function.
36830         (_IO_file_doallocate): Use local_isatty.
36831         * stdio-common/perror.c (perror): In case a new stream is used
36832         forward the stream error.
36833         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
36834         error flag.
36836 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
36838         [BZ #11869]
36839         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
36840         alloca.
36841         * include/alloca.h (extend_alloca_account): Define.
36843         [BZ #11857]
36844         * posix/regex.h: Fix comments with documentation of user-accessible
36845         fields after compilation and describe correct free'ing of pattern
36846         after re_compile_pattern.
36847         Patch by Reuben Thomas <rrt@sc3d.org>.
36849 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
36851         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
36852         and -mno-altivec to prevent the compiler from using Altivec and/or
36853         VSX instructions when the corresponding registers are not available.
36855 2011-05-19  Andreas Schwab  <schwab@redhat.com>
36857         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
36859 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
36861         * libio/freopen.c (freopen): Use __dup2, not dup2.
36862         * libio/freopen64.c (freopen64): Likewise.
36864 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
36866         [BZ #12775]
36867         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
36868         * math/Makefile (tests): Add test-powl.
36869         (CFLAGS-test-powl.c): Define.
36870         * math/test-powl.c: New file.
36872 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
36874         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
36876 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
36878         [BZ #11837]
36879         * iconvdata/gb18030.c: Update to GB18020-2005.
36881 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
36883         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
36884         RE_SYNTAX_POSIX_AWK): Update to match recent development.
36885         Patch by Aharon Robbins <arnold@skeeve.com>.
36887         [BZ #11892]
36888         * stdlib/putenv.c (putenv): Don't always create copy of the variable
36889         on the stack.
36891         [BZ #11895]
36892         * misc/pselect.c (__pselect): Handle timeout value errors hidden
36893         through underflows.
36895         [BZ #12766]
36896         * misc/error.c (error_at_line): Ensure file_name and old_file_name
36897         point to strings before performing equality test for error_one_per_line
36898         mode.
36900         [BZ #11697]
36901         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
36903         [BZ #11820]
36904         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
36905         (struct user_fpregs_struct): Avoid __uint*_t types.
36907         [BZ #6420]
36908         * malloc/mtrace.c (tr_where): Add additional parameter to point to
36909         symbol info.  Use it instead of calling _dl_addr locally.
36910         (lock_and_info): New function.
36911         (tr_freehook): Call lock_and_info and pass symbol info as additional
36912         parameter to tr_where.
36913         (tr_mallochook): Likewise.
36914         (tr_reallochook): Likewise.
36915         (tr_memalignhook): Likewise.
36917         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
36918         used and couldn't be at all thread-safe.
36920 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
36922         * libio/freopen.c (freopen): Don't close old file descriptor
36923         before the new one is opened.  Instead dup the new file descriptor
36924         to the old one after the new stream is created.
36925         * libio/freopen64.c (freopen64): Likewise.
36926         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
36927         * libio/fileops.c (_IO_new_file_close_it): Handle new
36928         _IO_FLAGS2_NOCLOSE flag.
36929         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
36930         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
36931         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
36932         _IO_FLAGS2_NOCLOSE flag.
36933         * include/unistd.h: Add hidden_proto for dup3.
36934         Define __have_dup3.
36935         * io/dup3.c: Define hidden symbol.
36936         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
36938         [BZ #7101]
36939         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
36940         when an incomplete long option is used.
36941         * posix/tst-getopt_long1.c: New file.
36942         * posix/Makefile (tests): Add tst-getopt_long1.
36944         [BZ #10138]
36945         * scripts/config.guess: Update from autoconf-2.68.
36946         * scripts/config.sub: Likewise.
36948         [BZ #10157]
36949         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
36950         tests into ...
36951         (has_cpuclock): ...this.  New function.
36952         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
36953         macro here based on has_cpuclock code.
36955         [BZ #10149]
36956         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
36957         First byte (not low byte) is now always NUL.
36958         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
36960         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
36961         Use non-cancelable interfaces.
36963         [BZ #9809]
36964         * locale/iso-639.def: Add entry for Sorani.
36966         [BZ #11901]
36967         * include/stdlib.h: Move include protection to the right place.
36968         Define abort_msg_s.  Declare __abort_msg with it.
36969         * stdlib/abort.c (__abort_msg): Adjust type.
36970         * assert/assert.c (__assert_fail_base): New function.  Majority
36971         of code from __assert_fail.  Allocate memory for __abort_msg with
36972         mmap.
36973         (__assert_fail): Now call __assert_fail_base.
36974         * assert/assert-perr.c: Remove bulk of implementation.  Use
36975         __assert_fail_base.
36976         * include/assert.hL Declare __assert_fail_base.
36977         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
36978         mmap.
36979         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
36981 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
36983         [BZ #11952]
36984         [BZ #12453]
36985         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
36986         until all modules are registered in the DTV.
36987         * elf/Makefile: Add rules to build and run tst-tls19.
36988         * elf/tst-tls19.c: New file.
36989         * elf/tst-tls19mod1.c: New file.
36990         * elf/tst-tls19mod2.c: New file.
36991         * elf/tst-tls19mod3.c: New file.
36992         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
36994         [BZ #12083]
36995         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
36996         correctly.
36998         [BZ #12601]
36999         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
37000         two-byte sequence errors.
37001         * iconvdata/Makefile (tests): Add bug-iconv8.
37002         * iconvdata/bug-iconv8.c: New file.
37004         [BZ #12626]
37005         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
37006         buf2 definition.
37008         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
37010         [BZ #12432]
37011         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
37012         (dummy_getcfa): New function.
37013         (init): Get _Unwind_GetCFA address, use dummy if not found.
37014         (backtrace_helper): In recursion check, also check whether CFA changes.
37015         (__backtrace): Completely initialize arg.
37017         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
37018         storing incomplete byte sequence in state object.  Avoid testing for
37019         guaranteed too small input if we know there is enough data available.
37021 2011-05-11  Andreas Schwab  <schwab@redhat.com>
37023         * Makeconfig (+link-pie): Indent.
37024         * Rules (binaries-pie): Define if $(have-fpie) and
37025         $(build-shared).
37026         (binaries-shared): Also filter out $(binaries-pie).
37027         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
37028         * nscd/Makefile (others-pie): Add nscd.
37029         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
37030         ($(objpfx)nscd): Remove command override.
37031         * login/Makefile (others-pie): Add pt_chown.
37032         ($(objpfx)pt_chown): Remove command override.
37033         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
37034         remove command overrides.
37036 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
37038         * libio/tst_putwc.c: Fix error messages.
37040         [BZ #12724]
37041         * libio/fileops.c (_IO_new_file_close_it): Always flush when
37042         currently writing and seek to current position when not.
37043         * libio/Makefile (tests): Add bug-fclose1.
37044         * libio/bug-fclose1.c: New file.
37046 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
37048         [BZ #12511]
37049         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
37050         don't set DF_1_NODELETE here.
37051         (do_lookup_x): When entering new entry test for copy relocation
37052         and if necessary set DF_1_NODELETE flag.
37053         * elf/tst-unique4.cc: New file.
37054         * elf/tst-unique4.h: New file.
37055         * elf/tst-unique4lib.cc: New file.
37056         * elf/Makefile: Add rules to build and run tst-unique4.
37057         Patch by Piotr Bury <pbury@goahead.com>.
37059 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
37061         [BZ #12052]
37062         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
37064         [BZ #12625]
37065         * misc/mntent_r.c (addmntent): Flush the stream after the output
37067         [BZ #12393]
37068         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
37069         (is_trusted_path_normalize): Skip initial colon.  Append slash
37070         to empty buffer.  Duplicate is_trusted_path code but allow
37071         constructed patch to be prefix.
37072         (is_dst): Allow $ORIGIN followed by /.
37073         (_dl_dst_substitute): Correct clearing of check_for_trusted.
37074         Correct testing of result of is_trusted_path_normalize
37075         (decompose_rpath): Fix warning.
37077 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
37079         [BZ #11257]
37080         * grp/initgroups.c (internal_getgrouplist): When we found the service
37081         list through the initgroups entry in nsswitch.conf do not always
37082         continue on a successful lookup.  Don't always use the
37083         __nss_group_database value if it is set.
37084         * nss/nsswitch.conf (initgroups): Change action for successful db
37085         lookup to continue for compatibility.
37087 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
37089         [BZ #11532]
37090         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
37091         and CP774 modules.
37092         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
37093         and CP774 modules.
37094         * iconvdata/tst-tables.sh: Likewise.
37095         * iconvdata/cp770.c: New file.
37096         * iconvdata/cp771.c: New file.
37097         * iconvdata/cp772.c: New file.
37098         * iconvdata/cp773.c: New file.
37099         * iconvdata/cp774.c: New file.
37100         * iconvdata/testdata/CP770: New file.
37101         * iconvdata/testdata/CP770..UTF8: New file.
37102         * iconvdata/testdata/CP771: New file.
37103         * iconvdata/testdata/CP771..UTF8: New file.
37104         * iconvdata/testdata/CP772: New file.
37105         * iconvdata/testdata/CP772..UTF8: New file.
37106         * iconvdata/testdata/CP773: New file.
37107         * iconvdata/testdata/CP773..UTF8: New file.
37108         * iconvdata/testdata/CP774: New file.
37109         * iconvdata/testdata/CP774..UTF8: New file.
37111         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
37112         END CHARMAP line.
37113         * iconvdata/gen-8bit-gap.sh: Likewise.
37114         * iconvdata/gen-8bit.sh: Likewise.
37116         * locale/iso-639.def: Add ary entry.
37118         [BZ #11258]
37119         * locale/C-translit.h.in: Add U20A1 transliteration.
37121         [BZ #12178]
37122         * locale/iso-639.def: Add wae entry.
37123         Patch by Kevin Bortis <bortis@translate-wae.ch>.
37125         [BZ #12545]
37126         * locale/programs/localedef.c (construct_output_path): Use ssize_t
37127         for n.
37129         [BZ #12711]
37130         * locale/C-translit.h.in: Add entry for U20B9.
37131         Patch by pravin.d.s@gmail.com.
37133 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
37135         [BZ #12713]
37136         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
37137         ENAMETOOLONG use generic getcwd.
37138         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
37139         in rtld.  Use *stat64.
37140         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
37141         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
37142         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
37143         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
37144         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
37145         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
37146         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
37147         __fstatat64 macros.
37148         * include/dirent.h: Add libc_hidden_proto for rewinddir.
37149         * dirent/rewinddir.c: Add libc_hidden_def.
37150         * sysdeps/mach/hurd/rewinddir.c: Likewise.
37151         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
37153         * include/dirent.h (__alloc_dir): Add flags parameter.
37154         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
37155         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
37156         __alloc_dir.
37157         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
37158         from fdopendir if O_CLOEXEC is already set.
37160 2011-03-15  Alan Modra  <amodra@gmail.com>
37162         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
37163         l_tls_firstbyte_offset non-zero.  Save padding offset in
37164         l_tls_firstbyte_offset for later use.
37165         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
37166         freeing static tls block.
37168 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
37170         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
37171         where #ifdef was intended.  The intent is to prevent ARG_MAX from
37172         being defined by the kernel headers.
37174 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
37176         [BZ #12734]
37177         * resolv/resolv.h: Define RES_NOTLDQUERY.
37178         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
37179         no-tld-query and set RES_NOTLDQUERY.
37180         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
37181         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
37182         modern BIND to search name as TLD unless forbidden.
37184 2011-05-07  Petr Baudis  <pasky@suse.cz>
37185             Ulrich Drepper  <drepper@gmail.com>
37187         [BZ #12393]
37188         * elf/dl-load.c (fillin_rpath): Move trusted path check...
37189         (is_trusted_path): ...to here.
37190         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
37191         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
37192         using is_trusted_path_normalize() in setuid scripts.
37194 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
37196         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
37197         __BEGIN/__END_DECLS.
37199 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
37201         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
37202         NSS_STATUS_NOTFOUND if no record was found.
37204 2011-05-05  Andreas Schwab  <schwab@redhat.com>
37206         * sunrpc/Makefile (headers): Add rpc/netdb.h.
37207         (headers-not-in-tirpc): Remove rpc/netdb.h
37208         * resolv/netdb.h: Revert last change.
37210 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
37212         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
37213         circular dependency between libgcc.a and libc.a.
37215 2011-05-05  Andreas Schwab  <schwab@redhat.com>
37217         * resolv/netdb.h: Don't include <rpc/netdb.h>.
37218         * nis/Makefile: Don't install rpcsvc/*.
37219         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
37220         instead of <rpc/types.h>.
37221         (MAXHOSTNAMELEN): Define.
37223 2011-05-03  Andreas Schwab  <schwab@redhat.com>
37225         * elf/ldconfig.c (add_dir): Don't crash on empty path.
37227 2011-04-28  Maciej Babinski  <mbabinski@google.com>
37229         [BZ #12714]
37230         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
37231         gethostbyname4_r when IPv6 results are possible.
37233 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
37235         [BZ #12723]
37236         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
37237         _PC_PIPE_BUF handling.
37239 2011-04-30  Bruno Haible  <bruno@clisp.org>
37241         [BZ #12717]
37242         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
37243         * resolv/netdb.h (getnameinfo): Change type of flags parameter
37244         to 'int'.
37245         * inet/getnameinfo.c (getnameinfo): Likewise.
37247 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
37249         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
37250         to groups setting in database lookup.
37251         * nss/nsswitch.conf: Add initgroups entry.
37253 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
37255         [BZ #12685]
37256         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
37257         mode string.
37258         Patch by Eric Blake <eblake@redhat.com>.
37260 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
37262         * sunrpc/Makefile (need-export-routines): Add svc_run.
37263         (routines): Remove svc_run.
37264         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
37265         * sunrpc/clnt_perr.c (clnt_perrno): Export.
37266         * sunrpc/svc_run.c (svc_run): Likewise.
37267         * sunrpc/svc_udp.c (svcudp_create): Likewise.
37269 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
37271         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
37272         problem in reallocation in last patch.
37274 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
37276         * sunrpc/Makefile: Move inclusion of Rules.
37278 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
37280         * nss/nss_files/files-initgroups.c: New file.
37281         * nss/Makefile (libnss_files-routines): Add files-initgroups.
37282         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
37283         _nss_files_initgroups_dyn.
37285 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
37287         * elf/elf.h (R_ARM_IRELATIVE): Define.
37289 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
37291         * po/ru.po: Update from translation team.
37293 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
37295         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
37296         dependencies.
37298 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
37300         [BZ #12653]
37301         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
37302         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
37303         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
37304         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
37305         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
37307 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
37309         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
37310         differing bytes.
37311         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
37312         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
37313         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
37315 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
37317         [BZ #12420]
37318         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
37319         storing it.
37320         * stdlib/bug-getcontext.c: New file.
37321         * stdlib/Makefile: Add rules to build and run bug-getcontext.
37323 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
37325         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
37326         instructions into .machine "z9-109".
37327         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
37328         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
37330 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
37332         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
37333         between environment variables and auxiliary vector.
37335 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
37337         * Makefile: Add rules to build linkobj/libc.so.
37338         * include/libc-symbols.h: Define libc_hidden_nolink.
37339         * include/rpc/auth.h: Mark functions which are to be hidden.
37340         * include/rpc/auth_des.h: Likewise.
37341         * include/rpc/auth_unix.h: Likewise.
37342         * include/rpc/clnt.h: Likewise.
37343         * include/rpc/des_crypt.h: Likewise.
37344         * include/rpc/key_prot.h: Likewise.
37345         * include/rpc/pmap_clnt.h: Likewise.
37346         * include/rpc/pmap_prot.h: Likewise.
37347         * include/rpc/pmap_rmt.h: Likewise.
37348         * include/rpc/rpc_msg.h: Likewise.
37349         * include/rpc/svc.h: Likewise.
37350         * include/rpc/svc_auth.h: Likewise.
37351         * include/rpc/xdr.h: Likewise.
37352         * nis/Makefile: Link all DSOs against linkobj/libc.so.
37353         * nss/Makefile: Likewise.
37354         * sunrpc/Makefile: Don't install headers.  Build library with normal
37355         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
37356         * sunrpc/auth_des.c: Hide exported symbols by default, export some
37357         for the compat linking library.  Remove use of INTDEF/INTUSE.
37358         * sunrpc/auth_none.c: Likewise.
37359         * sunrpc/auth_unix.c: Likewise.
37360         * sunrpc/authdes_prot.c: Likewise.
37361         * sunrpc/authuxprot.c: Likewise.
37362         * sunrpc/clnt_gen.c: Likewise.
37363         * sunrpc/clnt_perr.c: Likewise.
37364         * sunrpc/clnt_raw.c: Likewise.
37365         * sunrpc/clnt_simp.c: Likewise.
37366         * sunrpc/clnt_tcp.c: Likewise.
37367         * sunrpc/clnt_udp.c: Likewise.
37368         * sunrpc/clnt_unix.c: Likewise.
37369         * sunrpc/des_crypt.c: Likewise.
37370         * sunrpc/des_soft.c: Likewise.
37371         * sunrpc/get_myaddr.c: Likewise.
37372         * sunrpc/key_call.c: Likewise.
37373         * sunrpc/key_prot.c: Likewise.
37374         * sunrpc/netname.c: Likewise.
37375         * sunrpc/pm_getmaps.c: Likewise.
37376         * sunrpc/pm_getport.c: Likewise.
37377         * sunrpc/pmap_clnt.c: Likewise.
37378         * sunrpc/pmap_prot.c: Likewise.
37379         * sunrpc/pmap_prot2.c: Likewise.
37380         * sunrpc/pmap_rmt.c: Likewise.
37381         * sunrpc/publickey.c: Likewise.
37382         * sunrpc/rpc_cmsg.c: Likewise.
37383         * sunrpc/rpc_common.c: Likewise.
37384         * sunrpc/rpc_dtable.c: Likewise.
37385         * sunrpc/rpc_prot.c: Likewise.
37386         * sunrpc/rpc_thread.c: Likewise.
37387         * sunrpc/rtime.c: Likewise.
37388         * sunrpc/svc.c: Likewise.
37389         * sunrpc/svc_auth.c: Likewise.
37390         * sunrpc/svc_authux.c: Likewise.
37391         * sunrpc/svc_raw.c: Likewise.
37392         * sunrpc/svc_run.c: Likewise.
37393         * sunrpc/svc_simple.c: Likewise.
37394         * sunrpc/svc_tcp.c: Likewise.
37395         * sunrpc/svc_udp.c: Likewise.
37396         * sunrpc/svc_unix.c: Likewise.
37397         * sunrpc/svcauth_des.c: Likewise.
37398         * sunrpc/xcrypt.c: Likewise.
37399         * sunrpc/xdr.c: Likewise.
37400         * sunrpc/xdr_array.c: Likewise.
37401         * sunrpc/xdr_float.c: Likewise.
37402         * sunrpc/xdr_intXX_t.c: Likewise.
37403         * sunrpc/xdr_mem.c: Likewise.
37404         * sunrpc/xdr_rec.c: Likewise.
37405         * sunrpc/xdr_ref.c: Likewise.
37406         * sunrpc/xdr_sizeof.c: Likewise.
37407         * sunrpc/xdr_stdio.c: Likewise.
37409 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
37411         [BZ #12650]
37412         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
37413         * sysdeps/ia64/dl-tls.h: Likewise.
37414         * sysdeps/powerpc/dl-tls.h: Likewise.
37415         * sysdeps/s390/dl-tls.h: Likewise.
37416         * sysdeps/sh/dl-tls.h: Likewise.
37417         * sysdeps/sparc/dl-tls.h: Likewise.
37418         * sysdeps/x86_64/dl-tls.h: Likewise.
37419         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
37421 2011-03-14  Andreas Schwab  <schwab@redhat.com>
37423         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
37424         rpath element also skip the following colon.
37425         (expand_dynamic_string_token): Add is_path parameter and pass
37426         down to DL_DST_REQUIRED and _dl_dst_substitute.
37427         (decompose_rpath): Call expand_dynamic_string_token with
37428         non-zero is_path.  Ignore empty rpaths.
37429         (_dl_map_object_from_fd): Call expand_dynamic_string_token
37430         with zero is_path.
37432 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
37434         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
37435         Make cancelable.
37437 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
37439         [BZ #12655]
37440         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
37441         Patch by Filipe David Manana <fdmanana@apache.org>.
37443 2011-04-07  Andreas Schwab  <schwab@redhat.com>
37445         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
37446         Maintain aligned stack.
37447         (CHECK_RSP): Remove unused macro.
37449 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
37451         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
37452         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
37454 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
37456         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
37458         * include/features.h: Mention __USE_XOPEN2K8 in comment.
37460 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
37462         [BZ #12518]
37463         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
37464         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
37465         * sysdeps/x86_64/memmove.c: New file.
37466         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
37467         (memcpy): Renamed to ...
37468         (__new_memcpy): This.
37469         (memcpy): Provide GLIBC_2_14 memcpy.
37470         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
37471         (memcpy): Provide GLIBC_2_2_5 memcpy.
37473 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
37475         [BZ #12631]
37476         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
37478 2011-03-30  Andreas Schwab  <schwab@redhat.com>
37480         * misc/syncfs.c: New file.
37481         * misc/Makefile (routines): Add syncfs.
37482         * posix/unistd.h: Declare syncfs.
37483         * sysdeps/unix/syscalls.list: Add syncfs.
37485 2011-04-01  Andreas Schwab  <schwab@redhat.com>
37487         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
37488         open_by_handle_at.
37489         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
37490         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
37491         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
37492         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
37493         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
37494         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
37495         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
37497 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
37499         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
37500         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
37501         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
37502         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
37503         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
37504         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
37505         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
37507         * io/Makefile: Compile fallocate.c, fallocate64.c, and
37508         sync_file_range.c with -fexceptions.
37509         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
37510         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
37511         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
37512         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
37513         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
37514         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
37515         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
37516         sync_file_range as cancellation point
37517         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
37518         now a wrapper around __call_sync_file_range with cancellation handling.
37519         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
37520         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
37521         function name to __call_sync_file_range.
37522         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
37523         Add call_sync_file_range.
37525 2011-04-01  Andreas Schwab  <schwab@redhat.com>
37527         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
37528         bits/timex.h.
37530 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
37532         * iconv/iconv.h: Fix typo in comment.
37533         * io/fcntl.h: Likewise.
37534         * libio/stdio.h: Likewise.
37535         * posix/spawn.h: Likewise.
37536         * posix/unistd.h: Likewise.
37537         * stdlib/stdlib.h: Likewise.
37538         * time/time.h: Likewise.
37539         * wcsmbs/wchar.h: Likewise.
37541         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
37542         open_by_handle): Add.
37543         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
37544         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
37545         Augment a few comments.
37546         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
37547         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
37548         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
37549         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
37550         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
37551         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
37552         open_by_handle.
37554         * io/fcntl.h (AT_EMPTY_PATH): Define.
37556 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
37558         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
37559         * sysdeps/unix/sysv/linux/bits/time.h: New file.
37560         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
37561         to...
37562         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
37563         * Versions.def: Add GLIBC_2.14.
37564         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
37565         Export.
37567 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
37569         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
37570         round counter.
37571         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
37573 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
37575         [BZ #12597]
37576         * string/test-strncmp.c (do_page_test): New function.
37577         (check2): Likewise.
37578         (test_main): Call check2.
37579         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
37581 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
37583         [BZ #12587]
37584         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
37585         Handle cache information in CPU leaf 4.
37586         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
37588 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
37590         [BZ #12583]
37591         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
37592         character representation.
37593         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
37595 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
37597         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
37598         END(__isnan) to END(__isnanf) to match function entry point/label
37599         EALIGN(__isnanf,...).
37601 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
37603         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
37605 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
37607         [BZ #12510]
37608         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
37609         copy from the symbol referenced in the relocation to initialize the
37610         used variable.
37611         Patch by Piotr Bury <pbury@goahead.com>.
37612         * elf/Makefile: Add rules to build and tst-unique3.
37613         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
37614         * elf/tst-unique3.cc: New file.
37615         * elf/tst-unique3.h: New file.
37616         * elf/tst-unique3lib.cc: New file.
37617         * elf/tst-unique3lib2.cc: New file.
37619         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
37621 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
37623         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
37624         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
37625         to _start.
37627 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
37629         * elf/dl-load.c (_dl_map_object): If we are looking for the first
37630         to-be-loaded object along a path to loader is ld.so.
37632 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
37633             Ulrich Drepper  <drepper@gmail.com>
37635         * sysdeps/x86_64/memset.S: After aligning destination, code
37636         branches to different locations depending on the value of
37637         misalignment, when multiarch is enabled. Fix this.
37639 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
37641         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
37642         Set _x86_64_preferred_memory_instruction for AMD processsors.
37643         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
37644         Set bit_Prefer_SSE_for_memop for AMD processors.
37646 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
37648         * libio/fmemopen.c (fmemopen): Optimize a bit.
37650 2011-03-03  Andreas Schwab  <schwab@redhat.com>
37652         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
37654 2011-03-03  Roland McGrath  <roland@redhat.com>
37656         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
37658 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
37660         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
37661         __bzero_ultra1 instead of __memset_ultra1.
37663 2011-02-23  Andreas Schwab  <schwab@redhat.com>
37664             Ulrich Drepper  <drepper@gmail.com>
37666         [BZ #12509]
37667         * include/link.h (struct link_map): Add l_orig_initfini.
37668         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
37669         returning unsuccessfully.
37670         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
37671         close of a file loaded at startup, restore the original l_initfini
37672         list.
37673         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
37674         list, store the pointer.
37675         * elf/Makefile ($(objpfx)noload-mem): New rule.
37676         (noload-ENV): Define.
37677         (tests): Add $(objpfx)noload-mem.
37678         * elf/noload.c: Include <memcheck.h>.
37679         (main): Call mtrace.  Close all opened handles.
37681 2011-02-17  Andreas Schwab  <schwab@redhat.com>
37683         [BZ #12454]
37684         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
37685         dependencies are missing.
37687 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
37689         Fix __if_freereq crash: Unlike the generic version which uses free,
37690         Hurd needs munmap.
37691         * sysdeps/mach/hurd/ifreq.h: New file.
37693 2011-01-27  Petr Baudis  <pasky@suse.cz>
37694             Ulrich Drepper  <drepper@gmail.com>
37696         [BZ 12445]#
37697         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
37698         to extend_alloca().
37699         * stdio-common/bug23.c: New file.
37700         * stdio-common/Makefile (tests): Add bug23.
37702 2010-09-28  Andreas Schwab  <schwab@redhat.com>
37703             Ulrich Drepper  <drepper@gmail.com>
37705         [BZ #12489]
37706         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
37707         before performing relro protection.  At old place add assertion
37708         to make sure nothing changed.
37710 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
37711             Glauber de Oliveira Costa  <glommer@gmail.com>
37713         * elf/elf.h: Add new ARM TLS relocs.
37715 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
37717         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
37718         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
37719         cast from r3.
37720         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
37721         'tests' variable.
37722         * sysdeps/wordsize-64/tst-writev.c: New file.
37724 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
37726         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
37727         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
37728         insns in _dl_start to prevent a TOC reference before relocs are
37729         resolved.
37731 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
37733         [BZ #12469]
37734         * Makeconfig: Remove RANLIB definition.
37735         * Makerules: Don't use RANLIB.
37736         * aclocal.m4: Remove ranlib test.
37737         * configure.in: No need to check for ranlib.
37738         * elf/rtld-Rules: Don't use RANLIB.
37740 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
37742         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
37743         protection macro.
37744         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
37745         inclusion protection macro.
37747         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
37748         SIGRTMIN and SIGRTMAX and print information in that case only when
37749         SIGRTMIN is defined.
37751 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
37753         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
37754         arginfo fn returning -1.
37756         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
37757         and thousands string is zero terminated.
37759 2011-02-03  Andreas Schwab  <schwab@redhat.com>
37761         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
37762         sysdeps/unix/sysv/linux/bits/socket.h.
37764 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
37766         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
37767         (__CPU_COUNT): Remove old macros.
37768         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
37769         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
37770         (__CPU_ALLOC, __CPU_FREE): Add macros.
37771         (__sched_cpualloc, __sched_cpufree): Add declarations.
37773 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
37775         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
37776         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
37777         * nscd/aicache.c (addhstaiX): Return timeout of added value.
37778         (readdhstai): Return value of addhstaiX call.
37779         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
37780         (addgrbyX): Return value returned by cache_addgr.
37781         (readdgrbyname): Return value returned by addgrbyX.
37782         (readdgrbygid): Likewise.
37783         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
37784         (addpwbyX): Return value returned by cache_addpw.
37785         (readdpwbyname): Return value returned by addhstbyX.
37786         (readdpwbyuid): Likewise.
37787         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
37788         (addservbyX): Return value returned by cache_addserv.
37789         (readdservbyname): Return value returned by addservbyX:
37790         (readdservbyport): Likewise.
37791         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
37792         (addhstbyX): Return value returned by cache_addhst.
37793         (readdhstbyname): Return value returned by addhstbyX.
37794         (readdhstbyaddr): Likewise.
37795         (readdhstbynamev6): Likewise.
37796         (readdhstbyaddrv6): Likewise.
37797         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
37798         (readdinitgroups): Return value returned by addinitgroupsX.
37799         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
37800         (prune_cache): Keep track of timeout value of re-added entries.
37801         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
37802         * nscd/nscd.h: Adjust prototypes of readd* functions.
37804 2011-02-04  Roland McGrath  <roland@redhat.com>
37806         * nis/nis_server.c (nis_servstate): Use the right name for 0.
37807         (nis_stats): Likewise.
37808         * nis/nis_modify.c (nis_modify): Likewise.
37809         * nis/nis_remove.c (nis_remove): Likewise.
37810         * nis/nis_add.c (nis_add): Likewise.
37812         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
37814         * posix/fnmatch_loop.c: Add some consts.
37816         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
37818 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
37820         [BZ #12460]
37821         * config.make.in (config-cflags-novzeroupper): Define.
37822         * configure.in: Substitute libc_cv_cc_novzeroupper.
37823         * elf/Makefile (AVX-CFLAGS): Define.
37824         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
37825         (CFLAGS-tst-auditmod4a.c): Likewise.
37826         (CFLAGS-tst-auditmod4b.c): Likewise.
37827         (CFLAGS-tst-auditmod6b.c): Likewise.
37828         (CFLAGS-tst-auditmod6c.c): Likewise.
37829         (CFLAGS-tst-auditmod7b.c): Likewise.
37830         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
37832 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
37834         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
37835         function to the callback.
37836         Patch partly by Jiri Olsa <jolsa@redhat.com>.
37838 2011-02-02  Andreas Schwab  <schwab@redhat.com>
37840         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
37841         of errno.
37843 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
37845         [BZ #11724]
37846         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
37847         of constructors.
37848         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
37849         of destructors.
37850         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
37852         [BZ #11724]
37853         * elf/Makefile: Add rules to build and run new test.
37854         * elf/tst-initorder.c: New file.
37855         * elf/tst-initorder.exp: New file.
37856         * elf/tst-initordera1.c: New file.
37857         * elf/tst-initordera2.c: New file.
37858         * elf/tst-initordera3.c: New file.
37859         * elf/tst-initordera4.c: New file.
37860         * elf/tst-initorderb1.c: New file.
37861         * elf/tst-initorderb2.c: New file.
37862         * elf/tst-order-a1.c: New file.
37863         * elf/tst-order-a2.c: New file.
37864         * elf/tst-order-a3.c: New file.
37865         * elf/tst-order-a4.c: New file.
37866         * elf/tst-order-b1.c: New file.
37867         * elf/tst-order-b2.c: New file.
37868         * elf/tst-order-main.c: New file.
37869         New test case by George Gensure <werkt0@gmail.com>.
37871 2010-10-01  Andreas Schwab  <schwab@redhat.com>
37873         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
37874         decoding ACE if AI_CANONIDN.
37876 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
37878         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
37880 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
37882         * version.h (RELEASE): Bump for 2.13 release.
37883         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
37885         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
37887         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
37888         MADV_NOHUGEPAGE.
37889         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
37890         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
37891         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
37892         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
37893         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
37894         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
37896         * posix/getconf.c: Update copyright year.
37897         * catgets/gencat.c: Likewise.
37898         * csu/version.c: Likewise.
37899         * debug/catchsegv.sh: Likewise.
37900         * debug/xtrace.sh: Likewise.
37901         * elf/ldconfig.c: Likewise.
37902         * elf/ldd.bash.in: Likewise.
37903         * elf/sprof.c (print_version): Likewise.
37904         * iconv/iconv_prog.c: Likewise.
37905         * iconv/iconvconfig.c: Likewise.
37906         * locale/programs/locale.c: Likewise.
37907         * locale/programs/localedef.c: Likewise.
37908         * malloc/memusage.sh: Likewise.
37909         * malloc/mtrace.pl: Likewise.
37910         * nscd/nscd.c (print_version): Likewise.
37911         * nss/getent.c: Likewise.
37913         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
37914         PF_CAIF, and PF_ALG.
37915         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
37917 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
37919         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
37920         (modules-names): Use them.
37921         (ifunc-test-modules, ifunc-pie-tests): Define.
37922         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
37923         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
37924         (test-extras): Likewise.
37925         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
37926         $(compile-command.c).
37927         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
37928         (all-built-dso): Define.
37929         (check-textrel.out, check-execstack.out): Depend on it.
37931         * configure.in: Don't override --enable-multi-arch.
37933 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
37935         [BZ #6812]
37936         * nscd/hstcache.c (tryagain): Define.
37937         (cache_addhst): Return tryagain not notfound for temporary errors.
37938         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
37939         failed.
37941 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
37943         [BZ #10563]
37944         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
37945         to make the syscall.
37946         * sysdeps/unix/sysv/linux/setgroups.c: New file.
37948         [BZ #12378]
37949         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
37950         and fall back to matching as normal character if the string ends before
37951         the matching ']' is found.  This is what POSIX requires.
37952         * posix/testfnm.c: Adjust test result.
37953         * posix/globtest.sh: Adjust test result.  Add new test.
37954         * posix/tst-fnmatch.input: Likewise.
37955         * posix/tst-fnmatch2.c: Add new test.
37957 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
37959         * elf/Makefile (check-execstack): Revert last change.  Depend on
37960         check-execstack.h.
37961         (check-execstack.h): New target.
37962         (generated): Add check-execstack.h.
37963         * elf/check-execstack.c: Include "check-execstack.h".
37964         (main): Revert last change.
37965         (handle_file): Return zero if GNU_STACK is absent and
37966         DEFAULT_STACK_PERMS doesn't include PF_X.
37968 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
37970         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
37971         in child fails because the descriptor is already closed.
37972         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
37973         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
37974         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
37976         [BZ #12397]
37977         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
37978         syscall.
37980         [BZ #10484]
37981         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
37982         temporary buffer used to handle multi lookups locally.
37983         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
37985 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
37987         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
37988         loader is ld.so.
37990 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
37992         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
37993         alignment for SSE2.
37995 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
37997         [BZ #12394]
37998         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
37999         characters.  When rounding increased number of integer digits recompute
38000         number of groups.
38001         * stdio-common/tst-grouping.c: New file.
38002         * stdio-common/Makefile: Add rules to build and run tst-grouping.
38004 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
38006         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
38007         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
38009         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
38010         void.
38011         * bits/select.h: Likewise.
38013 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
38015         * po/ja.po: Update from translation team.
38017 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
38019         [BZ #11155]
38020         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
38021         implementation just like for lxstat, fxstatat, et al.
38023 2010-12-27  Jim Meyering  <meyering@redhat.com>
38025         [BZ #12348]
38026         * posix/regexec.c (build_trtable): Return failure indication upon
38027         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
38029 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
38031         [BZ #12201]
38032         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
38033         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
38034         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
38035         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
38037         [BZ #12207]
38038         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
38040         [BZ #12204]
38041         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
38042         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
38044 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
38046         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
38047         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
38048         script has SORT_BY_INIT_PRIORITY.
38049         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
38050         NO_CTORS_DTORS_SECTIONS is defined.
38051         * elf/soinit.c: Likewise.
38052         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
38053         NO_CTORS_DTORS_SECTIONS is defined.
38054         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
38055         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
38056         * sysdeps/sh/init-first.c: Likewise.
38057         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
38059 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
38061         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
38062         always use the slow path.
38064 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
38066         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
38067         similar rule which adds the sysdep directories to the header search in
38068         order to pick up the correct platform stackinfo.h.
38069         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
38070         perform test if it is, otherwise return successfully without testing.
38071         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
38072         DEFAULT_STACK_PERMS define in stackinfo.h.
38073         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
38074         defined in stackinfo.h.
38075         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
38076         DEFAULT_STACK_PERMS defined in stackinfo.h.
38077         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
38078         * sysdeps/ia64/stackinfo.h: Likewise.
38079         * sysdeps/s390/stackinfo.h: Likewise.
38080         * sysdeps/sh/stackinfo.h: Likewise.
38081         * sysdeps/sparc/stackinfo.h: Likewise.
38082         * sysdeps/x86_64/stackinfo.h: Likewise.
38083         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
38084         PF_X for powerpc64.  Retain PF_X for powerpc32.
38086 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
38088         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
38089         accurately.
38090         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
38091         GETDENTS_64BIT_ALIGNED.
38093 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
38095         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
38097 2010-12-10  Andreas Schwab  <schwab@redhat.com>
38099         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
38100         _GNU_SOURCE.
38102         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
38103         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
38104         Remove __restrict.
38105         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
38106         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
38108 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
38110         [BZ #11655]
38111         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
38112         are initialized.
38114 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
38116         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
38118 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
38120         * po/it.po: Update from translation team.
38122 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
38124         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
38125         unused codes.
38127 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
38129         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
38131 2010-11-24  Andreas Schwab  <schwab@redhat.com>
38133         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
38134         specially.
38135         (gaih_getanswer_slice): Likewise.
38137 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
38139         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
38141 2010-05-31  Petr Baudis  <pasky@suse.cz>
38143         [BZ #11149]
38144         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
38145         silently even in the chroot mode.
38147 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
38149         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
38150         last patch a bit.  Pretty printing
38152 2010-05-31  Petr Baudis <pasky@suse.cz>
38154         [BZ #10085]
38155         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
38156         initialization of skip_initgroups_dyn.
38158 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
38160         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
38161         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
38163 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
38165         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
38167 2010-11-11  Andreas Schwab  <schwab@redhat.com>
38169         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
38170         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
38171         (tst-fnmatch-ENV): Set MALLOC_TRACE.
38172         ($(objpfx)tst-fnmatch-mem): New rule.
38173         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
38174         * posix/tst-fnmatch.c (main): Call mtrace.
38176 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
38178         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
38179         Support Intel processor model 6 and model 0x2c.
38181 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
38183         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
38184           signed comparison.
38186 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
38188         [BZ #12205]
38189         * string/test-strncasecmp.c (check_result): New function.
38190         (do_one_test): Use it.
38191         (check1): New function.
38192         (test_main): Use it.
38193         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
38194         Support strcasecmp and strncasecmp.
38196 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
38198         [BZ #12194]
38199         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
38200         * sysdeps/x86_64/bits/byteswap.h: Likewise.
38202 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
38204         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
38205         IFUNC support.
38206         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
38207         memset-x86-64.
38208         * sysdeps/x86_64/multiarch/bzero.S: New file.
38209         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
38210         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
38211         * sysdeps/x86_64/multiarch/memset.S: New file.
38212         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
38213         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
38214         Set bit_Prefer_SSE_for_memop for Intel processors.
38215         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
38216         Define.
38217         (index_Prefer_SSE_for_memop): Define.
38218         (HAS_PREFER_SSE_FOR_MEMOP): Define.
38220 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
38222         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
38223         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
38225 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
38227         [BZ #12191]
38228         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
38229         (__x86_64_raw_data_cache_size_half): Likewise.
38230         (__x86_64_raw_shared_cache_size): Likewise.
38231         (__x86_64_raw_shared_cache_size_half): Likewise.
38233         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
38234         (__x86_64_raw_data_cache_size_half): Likewise.
38235         (__x86_64_raw_shared_cache_size): Likewise.
38236         (__x86_64_raw_shared_cache_size_half): Likewise.
38237         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
38238         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
38239         and __x86_64_raw_shared_cache_size_half.  Round
38240         __x86_64_data_cache_size_half, __x86_64_data_cache_size
38241         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
38242         to multiple of 256 bytes.
38244 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
38246         [BZ #12167]
38247         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
38248         of inacessible symlinks.  Verify result of symlink before returning it.
38249         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
38250         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
38252 2010-10-28  Erich Ritz  <erichritz@gmail.com>
38254         * math/math.h (isinf): Fix typo in comment.
38256 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
38258         * po/da.po: Update from translation team.
38260 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
38262         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
38263         is added to the list.
38265 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
38266             Ulrich Drepper  <drepper@gmail.com>
38268         * elf/dl-object.c (_dl_new_object): Don't append the new object to
38269         the global list here.  Move code to...
38270         (_dl_add_to_namespace_list): ...here.  New function.
38271         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
38272         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
38273         * elf/dl-load.c (lose): Don't remove the element from the list.
38274         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
38275         (_dl_map_object): Likewise.
38277 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
38279         [BZ #12159]
38280         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
38281         into all bytes of SSE register.
38282         Patch by Richard Li <richardpku@gmail.com>.
38284 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
38286         [BZ #12140]
38287         * malloc/malloc.c (_int_free): Fill correct number of bytes when
38288         perturbing.
38290 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
38292         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
38293         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
38294         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
38295         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
38296         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
38297         submachine.
38298         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
38300 2010-10-22  Andreas Schwab  <schwab@redhat.com>
38302         * include/dlfcn.h (__RTLD_SECURE): Define.
38303         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
38304         mode & __RTLD_SECURE instead.
38305         (open_path): Rename preloaded parameter to secure.
38306         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
38307         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
38308         * elf/dl-deps.c (openaux): Likewise.
38309         * elf/rtld.c (struct map_args): Remove is_preloaded.
38310         (map_doit): Don't use it.
38311         (dl_main): Likewise.
38312         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
38313         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
38315 2010-09-09  Andreas Schwab  <schwab@redhat.com>
38317         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
38318         (sysd-rules-targets): Remove duplicates.
38319         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
38320         rtld-%.$o dependency.
38322 2010-10-18  Andreas Schwab  <schwab@redhat.com>
38324         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
38325         _dl_map_object do it.
38327 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
38329         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
38330         fast fma builtins, define the macros in the C99 standard.
38331         (FP_FAST_FMAF): Likewise.
38332         (FP_FAST_FMAL): Likewise.
38333         * sysdeps/x86_64/bits/mathdef.h: Likewise.
38335         * bits/mathdef.h: Update copyright year.
38336         * sysdeps/powerpc/bits/mathdef.h: Likewise.
38338 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
38340         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
38341         builtins, define the macros in the C99 standard.
38342         (FP_FAST_FMAF): Likewise.
38343         (FP_FAST_FMAL): Likewise.
38344         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
38345         multiply/add.
38346         (FP_FAST_FMAF): Likewise.
38348 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
38350         [BZ #3268]
38351         * math/libm-test.inc (fma_test): Some new testcases.
38352         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
38353         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
38354         y and infinite z.  Do multiplication by C already in long double.
38355         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
38356         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
38357         y and infinite z.  Do bitwise or of inexact bit into u.d.
38358         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
38359         * sysdeps/i386/fpu/s_fmaf.S: Removed.
38360         * sysdeps/i386/fpu/s_fma.S: Removed.
38361         * sysdeps/i386/fpu/s_fmal.S: Removed.
38363 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
38365         [BZ #3268]
38366         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
38367         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
38368         computation is not scheduled after fetestexcept.  Fix value
38369         of minimum denormal long double.
38371 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
38373         [BZ #3268]
38374         * math/libm-test.inc (fma_test): Add some more tests.
38375         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
38376         correctly.
38378 2010-10-15  Andreas Schwab  <schwab@redhat.com>
38380         * scripts/data/localplt-s390-linux-gnu.data: New file.
38381         * scripts/data/localplt-s390x-linux-gnu.data: New file.
38383 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
38385         [BZ #3268]
38386         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
38387         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
38388         instead of dbl-64.
38389         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
38390         inlines.
38391         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
38392         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
38393         if one of x and y is very large and the other is subnormal.
38394         * sysdeps/s390/fpu/s_fmaf.c: New file.
38395         * sysdeps/s390/fpu/s_fma.c: New file.
38396         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
38397         * sysdeps/powerpc/fpu/s_fma.S: New file.
38398         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
38399         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
38400         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
38402 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
38404         [BZ #3268]
38405         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
38406         fma tests.
38407         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
38408         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
38409         * sysdeps/i386/i686/multiarch/s_fma.c: Include
38410         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
38411         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
38412         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
38413         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
38415 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
38417         [BZ #12078]
38418         * posix/regcomp.c (parse_branch): One more memory leak plugged.
38419         * posix/bug-regex31.input: Add test case.
38421 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
38423         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
38424         * posix/bug-regex31.input: New file.
38426         [BZ #12078]
38427         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
38428         (parse_sub_exp): Fix last change, use postorder.
38430         * posix/bug-regex31.c: New file.
38431         * posix/Makefile: Add rules to build and run bug-regex31.
38433         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
38435         [BZ #12078]
38436         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
38438         [BZ #12108]
38439         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
38440         to have entries in sys_siglist.
38442         [BZ #12093]
38443         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
38444         be NULL.
38446 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
38448         [BZ #3268]
38449         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
38450         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
38451         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
38452         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
38453         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
38454         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
38455         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
38456         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
38457         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
38458         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
38459         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
38460         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
38461         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
38462         * math/ftestexcept.c (fetestexcept): Likewise.
38463         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
38464         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
38465         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
38466         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
38467         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
38468         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
38469         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
38471 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
38473         [BZ #12107]
38474         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
38475         newline.
38477 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
38479         * string/bug-strstr1.c: New file.
38480         * string/Makefile: Add rules to build and run bug-strstr1.
38482 2010-10-05  Eric Blake  <eblake@redhat.com>
38484         [BZ #12092]
38485         * string/str-two-way.h (two_way_long_needle): Always clear memory
38486         when skipping input due to the shift table.
38488 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
38490         [BZ #12005]
38491         * malloc/mcheck.c: Handle large requests.
38493         [BZ #12077]
38494         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
38495         for strncmp and strncasecmp.
38496         * string/stratcliff.c: Add tests for strcmp and strncmp.
38497         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
38499 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
38501         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
38502         __set_fpscr.
38504 2010-09-30  Andreas Jaeger  <aj@suse.de>
38506         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
38507         (CGROUP_SUPER_MAGIC): Define.
38508         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
38509         Handle btrfs and cgroup file systems.
38510         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
38511         Likewise.
38513 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
38515         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
38516         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
38518 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
38520         [BZ #12067]
38521         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
38522         trying to locate the ELF header.
38524 2010-09-27  Andreas Schwab  <schwab@redhat.com>
38526         [BZ #11611]
38527         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
38528         Mask out sign-bit copies when constructing f_fsid.
38530 2010-09-24  Petr Baudis <pasky@suse.cz>
38532         * debug/stack_chk_fail_local.c: Add missing licence exception.
38533         * debug/warning-nop.c: Likewise.
38535 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
38537         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
38538         implementing getdents64 using getdents syscall, set d_type if
38539         __ASSUME_GETDENTS32_D_TYPE.
38541 2010-09-16  Andreas Schwab  <schwab@redhat.com>
38543         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
38544         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
38546 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
38548         [BZ #12037]
38549         * posix/unistd.h: Undo change of feature selection for ftruncate from
38550         2010-01-11.
38552 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
38554         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
38555         detection.
38557 2010-09-20  Andreas Schwab  <schwab@redhat.com>
38559         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
38560         fanotify_mark.
38561         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
38563 2010-09-14  Andreas Schwab  <schwab@redhat.com>
38565         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
38566         variables after CHECK_SP call.
38567         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
38569 2010-09-13  Andreas Schwab  <schwab@redhat.com>
38570             Ulrich Drepper  <drepper@redhat.com>
38572         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
38573         re-relocationg ld.so.
38574         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
38575         _dl_init_paths call.
38576         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
38577         here anymore.
38579 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
38581         * resolv/res_init.c (__res_vinit): Count the default server we added.
38583 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
38584             Ulrich Drepper  <drepper@redhat.com>
38586         [BZ #11968]
38587         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
38588         (____longjmp_chk): Use %ebx for saving value across system call.
38589         Add unwind info.
38591 2010-09-06  Andreas Schwab  <schwab@redhat.com>
38593         * manual/Makefile: Don't mix pattern rules with normal rules.
38595 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
38597         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
38598         operation.
38599         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
38600         * libio/iofopncook.c (_IO_cookie_init): Likewise.
38601         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
38602         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
38603         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
38604         Likewise.
38606 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
38608         [BZ #11979]
38609         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
38610         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
38612 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
38614         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
38615         * sysdeps/x86_64/addmul_1.S: Likewise.
38616         * sysdeps/x86_64/lshift.S: Likewise.
38617         * sysdeps/x86_64/mul_1.S: Likewise.
38618         * sysdeps/x86_64/rshift.S: Likewise.
38619         * sysdeps/x86_64/sub_n.S: Likewise.
38620         * sysdeps/x86_64/submul_1.S: Likewise.
38622 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
38624         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
38625         Define __sched_param instead of SCHED_* and sched_param when
38626         <bits/sched.h> is included with __need_schedparam defined.
38627         * bits/sched.h [__need_schedparam]
38628         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
38629         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
38630         (__defined_schedparam): Define to 1.
38631         (__sched_param): New structure, identical to sched_param.
38632         (__need_schedparam): Undefine.
38634 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
38636         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
38637         (epoll_create1): Declare.
38639         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
38641 2010-08-31  Andreas Schwab  <schwab@redhat.com>
38643         [BZ #7066]
38644         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
38645         shifting retval into place.
38647 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
38649         * nis/rpcsvc/nis.h: Update copyright notice.
38650         * nis/rpcsvc/nis.x: Likewise.
38651         * nis/rpcsvc/nis_callback.h: Likewise.
38652         * nis/rpcsvc/nis_callback.x: Likewise.
38653         * nis/rpcsvc/nis_object.x: Likewise.
38654         * nis/rpcsvc/nis_tags.h: Likewise.
38655         * nis/rpcsvc/yp.h: Likewise.
38656         * nis/rpcsvc/yp.x: Likewise.
38657         * nis/rpcsvc/ypupd.h: Likewise.
38658         * nis/yp_xdr.c: Likewise.
38659         * nis/ypupdate_xdr.c: Likewise.
38661         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
38662         mainly the body of pmap_getport.  Add parameters to specify timeouts.
38663         (pmap_getport): Use __libc_rpc_getport.
38664         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
38665         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
38666         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
38668 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
38670         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
38671         fanotify_mark.
38673 2010-08-27  Roland McGrath  <roland@redhat.com>
38675         * sysdeps/i386/i686/multiarch/Makefile
38676         (CFLAGS-varshift.c): New variable.
38678 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
38680         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
38681         * sysdeps/i386/i686/multiarch/varshift.c: New file.
38683         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
38685         * sysdeps/x86_64/strlen.S: Minimal code improvement.
38687 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
38689         * sysdeps/x86_64/strlen.S: Unroll the loop.
38690         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
38691         strlen-sse2 strlen-sse2-bsf.
38692         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
38693         __strlen_no_bsf if bit_Slow_BSF is set.
38694         (__strlen_sse42): Removed.
38695         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
38696         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
38698 2010-08-25  Roland McGrath  <roland@redhat.com>
38700         * sysdeps/x86_64/multiarch/varshift.S: File removed.
38701         * sysdeps/x86_64/multiarch/varshift.c: New file.
38702         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
38703         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
38704         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
38705         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
38707 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
38709         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
38710         strlen-sse2 strlen-sse2-bsf.
38711         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
38712         __strlen_sse2_bsf if bit_Slow_BSF is unset.
38713         (__strlen_sse2): Removed.
38714         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
38715         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
38716         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
38717         bit_Slow_BSF for Atom.
38718         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
38719         (index_Slow_BSF): Define.
38720         (HAS_SLOW_BSF): Define.
38722 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
38724         [BZ #10851]
38725         * resolv/res_init.c (__res_vinit): When no server address at all
38726         is given default to loopback.
38728 2010-08-24  Roland McGrath  <roland@redhat.com>
38730         * configure.in: Remove config-name.h generation.
38731         * configure: Regenerated.
38732         * config-name.in: File removed.
38733         * scripts/config-uname.sh: New file.
38734         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
38735         ($(objdir)config-name.h): New target.
38737         * sunrpc/rpc_parse.h: Avoid nested comment.
38739 2010-08-24  Richard Henderson  <rth@redhat.com>
38740             Ulrich Drepper  <drepper@redhat.com>
38741             H.J. Lu  <hongjiu.lu@intel.com>
38743         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
38744         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
38745         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
38746         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
38747         _mm_alignr_epi8 with _mm_loadu_si128.
38748         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
38749         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
38750         (__m128i_shift_right): Removed.
38751         * sysdeps/i386/i686/multiarch/varshift.h: New file.
38752         * sysdeps/i386/i686/multiarch/varshift.S: New file.
38753         * sysdeps/x86_64/multiarch/varshift.h: New file.
38754         * sysdeps/x86_64/multiarch/varshift.S: New file.
38756 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
38758         * configure.in: Move assembler checks to before sysdep dir checking.
38760 2010-08-20  Petr Baudis  <pasky@suse.cz>
38762         * LICENSES: Sync the sunrpc license.
38764 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
38766         * sunrpc/auth_des.c: Update copyright notice once again.
38767         * sunrpc/auth_none.c: Likewise.
38768         * sunrpc/auth_unix.c: Likewise.
38769         * sunrpc/authdes_prot.c: Likewise.
38770         * sunrpc/authuxprot.c: Likewise.
38771         * sunrpc/bindrsvprt.c: Likewise.
38772         * sunrpc/clnt_gen.c: Likewise.
38773         * sunrpc/clnt_perr.c: Likewise.
38774         * sunrpc/clnt_raw.c: Likewise.
38775         * sunrpc/clnt_simp.c: Likewise.
38776         * sunrpc/clnt_tcp.c: Likewise.
38777         * sunrpc/clnt_udp.c: Likewise.
38778         * sunrpc/clnt_unix.c: Likewise.
38779         * sunrpc/des_crypt.c: Likewise.
38780         * sunrpc/des_soft.c: Likewise.
38781         * sunrpc/get_myaddr.c: Likewise.
38782         * sunrpc/getrpcport.c: Likewise.
38783         * sunrpc/key_call.c: Likewise.
38784         * sunrpc/key_prot.c: Likewise.
38785         * sunrpc/openchild.c: Likewise.
38786         * sunrpc/pm_getmaps.c: Likewise.
38787         * sunrpc/pm_getport.c: Likewise.
38788         * sunrpc/pmap_clnt.c: Likewise.
38789         * sunrpc/pmap_prot.c: Likewise.
38790         * sunrpc/pmap_prot2.c: Likewise.
38791         * sunrpc/pmap_rmt.c: Likewise.
38792         * sunrpc/rpc/auth.h: Likewise.
38793         * sunrpc/rpc/auth_unix.h: Likewise.
38794         * sunrpc/rpc/clnt.h: Likewise.
38795         * sunrpc/rpc/des_crypt.h: Likewise.
38796         * sunrpc/rpc/key_prot.h: Likewise.
38797         * sunrpc/rpc/netdb.h: Likewise.
38798         * sunrpc/rpc/pmap_clnt.h: Likewise.
38799         * sunrpc/rpc/pmap_prot.h: Likewise.
38800         * sunrpc/rpc/pmap_rmt.h: Likewise.
38801         * sunrpc/rpc/rpc.h: Likewise.
38802         * sunrpc/rpc/rpc_des.h: Likewise.
38803         * sunrpc/rpc/rpc_msg.h: Likewise.
38804         * sunrpc/rpc/svc.h: Likewise.
38805         * sunrpc/rpc/svc_auth.h: Likewise.
38806         * sunrpc/rpc/types.h: Likewise.
38807         * sunrpc/rpc/xdr.h: Likewise.
38808         * sunrpc/rpc_clntout.c: Likewise.
38809         * sunrpc/rpc_cmsg.c: Likewise.
38810         * sunrpc/rpc_common.c: Likewise.
38811         * sunrpc/rpc_cout.c: Likewise.
38812         * sunrpc/rpc_dtable.c: Likewise.
38813         * sunrpc/rpc_hout.c: Likewise.
38814         * sunrpc/rpc_main.c: Likewise.
38815         * sunrpc/rpc_parse.c: Likewise.
38816         * sunrpc/rpc_parse.h: Likewise.
38817         * sunrpc/rpc_prot.c: Likewise.
38818         * sunrpc/rpc_sample.c: Likewise.
38819         * sunrpc/rpc_scan.c: Likewise.
38820         * sunrpc/rpc_scan.h: Likewise.
38821         * sunrpc/rpc_svcout.c: Likewise.
38822         * sunrpc/rpc_tblout.c: Likewise.
38823         * sunrpc/rpc_util.c: Likewise.
38824         * sunrpc/rpc_util.h: Likewise.
38825         * sunrpc/rpcinfo.c: Likewise.
38826         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
38827         * sunrpc/rpcsvc/key_prot.x: Likewise.
38828         * sunrpc/rpcsvc/klm_prot.x: Likewise.
38829         * sunrpc/rpcsvc/mount.x: Likewise.
38830         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
38831         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
38832         * sunrpc/rpcsvc/rex.x: Likewise.
38833         * sunrpc/rpcsvc/rstat.x: Likewise.
38834         * sunrpc/rpcsvc/rusers.x: Likewise.
38835         * sunrpc/rpcsvc/sm_inter.x: Likewise.
38836         * sunrpc/rpcsvc/spray.x: Likewise.
38837         * sunrpc/rpcsvc/yppasswd.x: Likewise.
38838         * sunrpc/rtime.c: Likewise.
38839         * sunrpc/svc.c: Likewise.
38840         * sunrpc/svc_auth.c: Likewise.
38841         * sunrpc/svc_authux.c: Likewise.
38842         * sunrpc/svc_raw.c: Likewise.
38843         * sunrpc/svc_run.c: Likewise.
38844         * sunrpc/svc_simple.c: Likewise.
38845         * sunrpc/svc_tcp.c: Likewise.
38846         * sunrpc/svc_udp.c: Likewise.
38847         * sunrpc/svc_unix.c: Likewise.
38848         * sunrpc/svcauth_des.c: Likewise.
38849         * sunrpc/xcrypt.c: Likewise.
38850         * sunrpc/xdr.c: Likewise.
38851         * sunrpc/xdr_array.c: Likewise.
38852         * sunrpc/xdr_float.c: Likewise.
38853         * sunrpc/xdr_mem.c: Likewise.
38854         * sunrpc/xdr_rec.c: Likewise.
38855         * sunrpc/xdr_ref.c: Likewise.
38856         * sunrpc/xdr_sizeof.c: Likewise.
38857         * sunrpc/xdr_stdio.c: Likewise.
38859         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
38860         handling.
38862 2010-08-19  Andreas Schwab  <schwab@redhat.com>
38864         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
38866 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
38868         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
38869         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
38870         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
38871         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
38872         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
38873         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
38874         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
38875         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
38876         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
38877         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
38878         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
38879         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
38880         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
38881         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
38883 2010-07-26  Anton Blanchard  <anton@samba.org>
38885         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
38886         * malloc/arena.c (heap_trim): Likewise.
38888 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
38890         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
38891         here.  Not...
38892         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
38893         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
38895 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
38897         * sysdeps/i386/elf/Makefile: New file.
38899 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
38901         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
38902         from fanotify_init.
38903         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
38904         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
38906 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
38908         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
38909         of strncasecmp_l.
38910         * sysdeps/multiarch/strcmp.S: Likewise.
38912 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
38914         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
38915         strncase_l-nonascii.
38916         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
38917         Add strncase_l-ssse3.
38918         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
38919         * sysdeps/x86_64/strcmp.S: Likewise.
38920         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
38921         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
38922         * sysdeps/x86_64/strncase.S: New file.
38923         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
38924         * sysdeps/x86_64/strncase_l.S: New file.
38925         * string/Makefile (strop-tests): Add strncasecmp.
38926         * string/test-strncasecmp.c: New file.
38928         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
38929         warning.
38931         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
38932         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
38934 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
38936         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
38938 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
38940         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
38941         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
38942         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
38944 2010-05-01  Alan Modra  <amodra@gmail.com>
38946         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
38947         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
38948         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
38949         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
38950         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
38951         tidying.  Don't tail-call __sigjmp_save for static lib.
38952         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
38953         save location.
38954         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
38955         (CALL_MCOUNT): Add eh info, and nop after bl.
38956         (TAIL_CALL_SYSCALL_ERROR): New macro.
38957         (PSEUDO_RET): Use it.
38958         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
38959         Correct save location of integer regs and cr.
38960         (_dl_profile_resolve): Correct cr save location.  Delete nops
38961         after bl when SHARED.  Reduce cfi size a little by better
38962         placement of cfi directives.
38963         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
38964         make a stack frame.  Instead use parm save area as a temp.
38965         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
38966         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
38967         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
38968         Don't make a stack frame for parent, use parm save area.
38969         Increase child stack frame to 112 bytes.  Don't save unused reg,
38970         and adjust reg usage.  Set up cfi on error recovery and
38971         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
38972         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
38973         (__makecontext): Add dummy nop after jump to exit.
38974         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
38975         Use correct parm save area and cr save, reduce stack frame.
38976         Correct cfi for possible PSEUDO_RET frame setup.
38977         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
38978         Branch to local label emitted by PSEUDO_RET rather than
38979         __syscall_error.
38981 2010-08-12  Andreas Schwab  <schwab@redhat.com>
38983         [BZ #11904]
38984         * locale/programs/locale.c (print_assignment): New function.
38985         (show_locale_vars): Use it.
38987 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
38989         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
38990         field.
38991         (struct statfs64): Likewise.
38992         (_STATFS_F_FLAGS): Define.
38993         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
38994         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
38995         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
38996         (ST_VALID): Define locally.
38997         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
38998         __statvfs_getflags, use the provided value.
38999         * sysdeps/unix/sysv/linux/kernel-features.h: Define
39000         __ASSUME_STATFS_F_FLAGS.
39002         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
39004         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
39005         Add sys/fanotify.h.
39006         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
39007         fanotify_mask for GLIBC_2.13.
39008         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
39009         fanotify_init and fanotify_mark.
39010         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
39011         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
39013         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
39014         Add prlimit.
39015         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
39016         prlimit64 for GLIBC_2.13.
39017         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
39018         prlimit64.
39019         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
39020         syscall.
39021         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
39022         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
39023         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
39024         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
39025         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
39026         add prlimit alias.
39027         * sysdeps/unix/sysv/linux/prlimit.c: New file.
39029         [BZ #11903]
39030         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
39031         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
39033         * nss/Makefile: Add rules to build and run tst-nss-test1.
39034         * shlib-versions: Add entry for libnss_test1.
39035         * nss/nss_test1.c: New file.
39036         * nss/tst-nss-test1.c: New file.
39038         * nss/nsswitch.c (__nss_database_custom): Define new variable.
39039         (__nss_configure_lookup): Set appropriate entry in
39040         __nss_configure_lookup to true.
39041         * nss/nsswitch.h: Define enum with indeces of databases in
39042         databases and __nss_database_custom arrays.  Declare
39043         __nss_database_custom.
39044         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
39045         to avoid using nscd when custom rules are installed.
39046         * nss/getXXbyYY_r.c: Likewise.
39047         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
39049         * nss/nss_files/files-parse.c: Whitespace fixes.
39051 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
39053         [BZ #11883]
39054         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
39055         * posix/fnmatch_loop.c: Likewise.
39057 2010-07-17  Andi Kleen  <ak@linux.intel.com>
39059         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
39060         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
39061         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
39062         * Versions.def [GLIBC_2.13]: Add.
39064 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
39066         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
39067         Also fail if tpwd after pwuid call is NULL.
39069 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
39071         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
39072         when converting to ms.
39074 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
39076         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
39077         EOPNOTSUPP errors with ENOTTY.
39078         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
39079         EOPNOTSUPP errors with ENOTTY.
39081 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
39083         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
39084         Add strcasecmp_l-ssse3.
39085         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
39086         strcasecmp.
39087         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
39088         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
39089         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
39091 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
39093         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
39095         * string/Makefile (strop-tests): Add strcasecmp.
39096         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
39097         strcasecmp_l-nonascii.
39098         (gen-as-const-headers): Add locale-defines.sym.
39099         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
39100         * sysdeps/x86_64/strcasecmp.S: New file.
39101         * sysdeps/x86_64/strcasecmp_l.S: New file.
39102         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
39103         * sysdeps/x86_64/locale-defines.sym: New file.
39104         * string/test-strcasecmp.c: New file.
39106         * string/test-strcasestr.c: Test both ends of the range of characters.
39107         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
39109 2010-07-29  Roland McGrath  <roland@redhat.com>
39111         [BZ #11856]
39112         * manual/locale.texi (Yes-or-No Questions): Fix example code.
39114 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
39116         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
39117         for ld.so.
39119 2010-07-27  Andreas Schwab  <schwab@redhat.com>
39121         * manual/memory.texi (Malloc Tunable Parameters): Document
39122         M_PERTURB.
39124 2010-07-26  Roland McGrath  <roland@redhat.com>
39126         [BZ #11840]
39127         * configure.in (-fgnu89-inline check): Set and substitute
39128         gnu89_inline, not libc_cv_gnu89_inline.
39129         * configure: Regenerated.
39130         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
39132 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
39134         * string/test-strnlen.c: New file.
39135         * string/Makefile (strop-tests): Add strnlen.
39136         * string/tester.c (test_strnlen): Add a few more test cases.
39137         * string/tst-strlen.c: Better error reporting.
39139         * sysdeps/x86_64/strnlen.S: New file.
39141 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
39143         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
39144         lower-latency instructions.
39146 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
39148         * string/test-strcasestr.c: New file.
39149         * string/test-strstr.c: New file.
39150         * string/Makefile (strop-tests): Add strstr and strcasestr.
39151         * string/str-two-way.h: Don't undefine MAX.
39152         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
39154 2010-07-21  Andreas Schwab  <schwab@redhat.com>
39156         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
39157         strcasestr-nonascii.
39158         (CFLAGS-strcasestr-nonascii.c): Define.
39159         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
39160         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
39161         Remove unused attribute.
39163 2010-07-20  Roland McGrath  <roland@redhat.com>
39165         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
39166         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
39167         ld.so.cache was broken.  With it, there is no way to disable dsocaps
39168         like LD_HWCAP_MASK can disable hwcaps.
39170 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
39172         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
39174 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
39176         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
39177         call in strcasestr.
39178         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
39179         __strcasestr_sse42_nonascii.
39180         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
39181         strcasestr-nonascii.c.
39182         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
39184 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
39186         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
39187         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
39188         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
39189         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
39191 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
39193         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
39194         fcntl.
39196 2010-07-06  Andreas Schwab  <schwab@redhat.com>
39198         [BZ #11577]
39199         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
39200         dl_signal_cerror.
39202 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
39204         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
39205         _PC_PIPE_BUF using F_GETPIPE_SZ.
39207 2010-07-05  Roland McGrath  <roland@redhat.com>
39209         * manual/arith.texi (Rounding Functions): Fix rint description
39210         implicit in round description.
39212 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
39214         * elf/Makefile: Fix linking for a few tests to make recent linker
39215         happy.
39217 2010-06-30  Andreas Schwab  <schwab@redhat.com>
39219         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
39220         $(common-objpfx)libc_nonshared.a.
39222 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
39224         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
39225         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
39226         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
39227         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
39228         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
39229         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
39230         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
39231         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
39232         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
39233         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
39234         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
39235         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
39236         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
39237         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
39238         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
39239         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
39240         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
39241         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
39242         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
39243         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
39244         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
39245         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
39246         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
39247         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
39248         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
39249         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
39250         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
39251         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
39252         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
39253         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
39254         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
39255         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
39256         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
39257         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
39258         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
39259         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
39260         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
39261         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
39262         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
39263         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
39264         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
39265         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
39266         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
39267         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
39268         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
39269         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
39270         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
39271         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
39273 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
39275         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
39276         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
39277         * string/memmove.c (memmove): Renamed to ...
39278         (MEMMOVE): ...this.  Default to memmove.
39279         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
39280         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
39281         (END_CHK): Define.
39282         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
39283         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
39284         mempcpy-ssse3-back memmove-ssse3-back.
39285         * sysdeps/x86_64/multiarch/bcopy.S: New file .
39286         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
39287         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
39288         * sysdeps/x86_64/multiarch/memcpy.S: New file.
39289         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
39290         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
39291         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
39292         * sysdeps/x86_64/multiarch/memmove.c: New file.
39293         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
39294         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
39295         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
39296         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
39297         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
39298         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
39299         Define.
39300         (index_Fast_Copy_Backward): Define.
39301         (HAS_ARCH_FEATURE): Define.
39302         (HAS_FAST_REP_STRING): Define.
39303         (HAS_FAST_COPY_BACKWARD): Define.
39305 2010-06-21  Andreas Schwab  <schwab@redhat.com>
39307         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
39308         Restore proper fallback handling.
39310 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
39312         [BZ #11701]
39313         * posix/group_member.c (__group_member): Correct checking loop.
39315         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
39316         OOM in getpwuid_r correctly.  Return error number when the caller
39317         should return, otherwise -1.
39318         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
39319         call returning > 0 value.
39320         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
39322 2010-06-07  Andreas Schwab  <schwab@redhat.com>
39324         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
39325         libc_nonshared.a from targets in modules-names.
39327 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
39329         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
39330         requires it.
39332 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
39334         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
39335         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
39336         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
39337         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
39339 2010-06-02  Andreas Schwab  <schwab@redhat.com>
39341         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
39343 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
39345         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
39346         and F_GETPIPE_SZ.
39347         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
39348         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
39349         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
39350         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
39351         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
39352         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
39354 2010-06-14  Roland McGrath  <roland@redhat.com>
39356         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
39358 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
39360         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
39361         __REDIRECT followed by __THROW.
39362         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
39363         * posix/getopt.h (getopt): Likewise.
39365 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
39367         * hurd/lookup-at.c (__file_name_lookup_at): Accept
39368         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
39369         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
39370         in AT_FLAGS.
39371         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
39372         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
39374 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
39376         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
39378 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
39380         [BZ #11640]
39381         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
39382         Properly check family and model.
39384 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
39386         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
39388 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
39390         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
39392 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
39394         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
39395         symbol reference.
39397 2010-05-19  Andreas Schwab  <schwab@redhat.com>
39399         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
39400         symbol reference.
39402 2010-05-21  Andreas Schwab  <schwab@redhat.com>
39404         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
39405         and internal_recvmmsg.
39406         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
39407         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
39408         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
39409         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
39411         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
39412         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
39413         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
39415 2010-05-20  Andreas Schwab  <schwab@redhat.com>
39417         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
39419 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
39421         POWER7 optimizations.
39422         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
39423         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
39425 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
39427         * version.h: Update for 2.13 development version.
39429 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
39431         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
39432         exceptions.  Return 0.
39434 2010-05-07  Roland McGrath  <roland@redhat.com>
39436         * elf/ldconfig.c (main): Add a const.
39438 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
39440         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
39441         (args_options): Add no-idn option.
39442         (ahosts_keys_int): Add idn_flags to ai_flags.
39443         (parse_option): Handle 'i' option to clear idn_flags.
39445         * malloc/malloc.c (_int_free): Possible race in the most recently
39446         added check.  Only act on the data if no current modification
39447         happened.
39449 See ChangeLog.17 for earlier changes.