include/stap-probe.h: Add comment about SystemTap argument format
[glibc.git] / ChangeLog
blobcfd48c02cb5dc498932ba288c9779377d34f48cf
1 2014-02-11  Will Newton  <will.newton@linaro.org>
3         * include/stap-probe.h: Add comment about probe argument
4         format.
6 2014-02-11  Will Newton  <will.newton@linaro.org>
8         * malloc/mtrace.c (attribute_hidden): Remove unused macro
9         definition.  (tr_where, tr_freehook, tr_mallochook,
10         tr_reallochook, tr_memalignhook): Use ANSI protoype.
12 2014-02-11  David S. Miller  <davem@davemloft.net>
14         * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
15         processing int_tests.
17 2014-02-10  Joseph Myers  <joseph@codesourcery.com>
19         * sysdeps/mips: Move directory from ports/sysdeps/mips.
20         * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
21         * sysdeps/unix/sysv/linux/mips: Move directory from
22         ports/sysdeps/unix/sysv/linux/mips.
23         * README: Update listing for mips-*-linux-gnu and
24         mips64-*-linux-gnu.
26 2014-02-10  Andreas Schwab  <schwab@linux-m68k.org>
28         * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
29         * sysdeps/unix/sysv/linux/m68k: Move directory from
30         ports/sysdeps/unix/sysv/linux/m68k.
31         * README: Update listing for m68k-*-linux-gnu.
33 2014-02-10  Chris Metcalf  <cmetcalf@tilera.com>
35         * sysdeps/tile: Move directory from ports/sysdeps/tile.
36         * sysdeps/unix/sysv/linux/generic: Move directory from
37         ports/sysdeps/unix/sysv/linux/generic.
38         * sysdeps/unix/sysv/linux/tile: Move directory from
39         ports/sysdeps/unix/sysv/linux/tile.
40         * README: Update listing for tile*-*-linux-gnu.
42 2014-02-10  Ondřej Bílka  <neleai@seznam.cz>
44         * assert/assert.c (__assert_fail_base): Use glibc_likely instead __builtin_expect.
45         * benchtests/bench-memmem.c (simple_memmem): Likewise.
46         * catgets/open_catalog.c (__open_catalog): Likewise.
47         * csu/libc-start.c (LIBC_START_MAIN): Likewise.
48         * debug/confstr_chk.c: Likewise.
49         * debug/fread_chk.c (__fread_chk): Likewise.
50         * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
51         * debug/getgroups_chk.c: Likewise.
52         * debug/mbsnrtowcs_chk.c: Likewise.
53         * debug/mbsrtowcs_chk.c: Likewise.
54         * debug/mbstowcs_chk.c: Likewise.
55         * debug/memcpy_chk.c: Likewise.
56         * debug/memmove_chk.c: Likewise.
57         * debug/mempcpy_chk.c: Likewise.
58         * debug/memset_chk.c: Likewise.
59         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
60         * debug/strcat_chk.c (__strcat_chk): Likewise.
61         * debug/strcpy_chk.c (__strcpy_chk): Likewise.
62         * debug/strncat_chk.c (__strncat_chk): Likewise.
63         * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
64         * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
65         * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
66         * debug/wcpncpy_chk.c: Likewise.
67         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
68         * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
69         * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
70         * debug/wcsncpy_chk.c: Likewise.
71         * debug/wcsnrtombs_chk.c: Likewise.
72         * debug/wcsrtombs_chk.c: Likewise.
73         * debug/wcstombs_chk.c: Likewise.
74         * debug/wmemcpy_chk.c: Likewise.
75         * debug/wmemmove_chk.c: Likewise.
76         * debug/wmempcpy_chk.c: Likewise.
77         * debug/wmemset_chk.c: Likewise.
78         * dirent/scandirat.c (SCANDIRAT): Likewise.
79         * dlfcn/dladdr1.c (dladdr1): Likewise.
80         * dlfcn/dladdr.c (dladdr): Likewise.
81         * dlfcn/dlclose.c (dlclose_doit): Likewise.
82         * dlfcn/dlerror.c (__dlerror): Likewise.
83         * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
84         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
85         * dlfcn/dlopen.c (dlopen_doit): Likewise.
86         * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
87         * dlfcn/dlsym.c (dlsym_doit): Likewise.
88         * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
89         * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
90         * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
91         Likewise.
92         * elf/dl-conflict.c: Likewise.
93         * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
94         * elf/dl-dst.h: Likewise.
95         * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
96         * elf/dl-fptr.c (_dl_make_fptr): Likewise.
97         * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
98         * elf/dl-init.c (call_init, _dl_init): Likewise.
99         * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
100         * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths,
101         _dl_map_object_from_fd, open_verify, open_path,
102         _dl_map_object): Likewise.
103         * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
104         Likewise.
105         * elf/dl-minimal.c (__libc_memalign): Likewise.
106         * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
107         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
108         * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
109         * elf/dl-sym.c (do_sym): Likewise.
110         * elf/dl-tls.c (tls_get_addr_tail, update_get_addr, __tls_get_addr,
111         _dl_tls_get_addr_soft): Likewise.
112         * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
113         * elf/dl-writev.h (_dl_writev): Likewise.
114         * elf/ldconfig.c (search_dir): Likewise.
115         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload,
116         dl_main): Likewise.
117         * elf/setup-vdso.h (setup_vdso): Likewise.
118         * grp/compat-initgroups.c (compat_call): Likewise.
119         * grp/fgetgrent.c (fgetgrent): Likewise.
120         * grp/initgroups.c (getgrouplist, initgroups): Likewise.
121         * grp/putgrent.c (putgrent): Likewise.
122         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
123         Likewise.
124         * hurd/hurdinit.c: Likewise.
125         * iconvdata/8bit-gap.c (struct): Likewise.
126         * iconvdata/ansi_x3.110.c : Likewise.
127         * iconvdata/big5.c : Likewise.
128         * iconvdata/big5hkscs.c : Likewise.
129         * iconvdata/cp1255.c: Likewise.
130         * iconvdata/cp1258.c : Likewise.
131         * iconvdata/cp932.c : Likewise.
132         * iconvdata/euc-cn.c: Likewise.
133         * iconvdata/euc-jisx0213.c : Likewise.
134         * iconvdata/euc-jp.c: Likewise.
135         * iconvdata/euc-jp-ms.c : Likewise.
136         * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
137         * iconvdata/gb18030.c : Likewise.
138         * iconvdata/gbbig5.c (const): Likewise.
139         * iconvdata/gbgbk.c: Likewise.
140         * iconvdata/gbk.c : Likewise.
141         * iconvdata/ibm1364.c : Likewise.
142         * iconvdata/ibm930.c : Likewise.
143         * iconvdata/ibm932.c: Likewise.
144         * iconvdata/ibm933.c : Likewise.
145         * iconvdata/ibm935.c : Likewise.
146         * iconvdata/ibm937.c : Likewise.
147         * iconvdata/ibm939.c : Likewise.
148         * iconvdata/ibm943.c: Likewise.
149         * iconvdata/iso_11548-1.c: Likewise.
150         * iconvdata/iso-2022-cn.c : Likewise.
151         * iconvdata/iso-2022-cn-ext.c : Likewise.
152         * iconvdata/iso-2022-jp-3.c: Likewise.
153         * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
154         * iconvdata/iso-2022-kr.c : Likewise.
155         * iconvdata/iso646.c (gconv_end): Likewise.
156         * iconvdata/iso_6937-2.c : Likewise.
157         * iconvdata/iso_6937.c : Likewise.
158         * iconvdata/iso8859-1.c: Likewise.
159         * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
160         * iconvdata/shift_jisx0213.c : Likewise.
161         * iconvdata/sjis.c : Likewise.
162         * iconvdata/t.61.c : Likewise.
163         * iconvdata/tcvn5712-1.c : Likewise.
164         * iconvdata/tscii.c: Likewise.
165         * iconvdata/uhc.c : Likewise.
166         * iconvdata/unicode.c (gconv_end): Likewise.
167         * iconvdata/utf-16.c (gconv_end): Likewise.
168         * iconvdata/utf-32.c (gconv_end): Likewise.
169         * iconvdata/utf-7.c (base64): Likewise.
170         * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
171         * iconv/gconv_close.c (__gconv_close): Likewise.
172         * iconv/gconv_open.c (__gconv_open): Likewise.
173         * iconv/gconv_simple.c (internal_ucs4_loop_single, ucs4_internal_loop,
174         ucs4_internal_loop_unaligned, ucs4_internal_loop_single,
175         internal_ucs4le_loop_single, ucs4le_internal_loop,
176         ucs4le_internal_loop_unaligned, ucs4le_internal_loop_single): Likewise.
177         * iconv/iconv.c (iconv): Likewise.
178         * iconv/iconv_close.c: Likewise.
179         * iconv/loop.c (SINGLE): Likewise.
180         * iconv/skeleton.c (FUNCTION_NAME): Likewise.
181         * include/atomic.h: Likewise.
182         * inet/inet6_option.c (option_alloc): Likewise.
183         * intl/bindtextdom.c (set_binding_values): Likewise.
184         * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
185         * intl/loadmsgcat.c (_nl_load_domain): Likewise.
186         * intl/localealias.c (read_alias_file): Likewise.
187         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
188         * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap,
189         _IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
190         * libio/fmemopen.c (fmemopen): Likewise.
191         * libio/iofgets.c (_IO_fgets): Likewise.
192         * libio/iofgets_u.c (fgets_unlocked): Likewise.
193         * libio/iofgetws.c (fgetws): Likewise.
194         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
195         * libio/iogetdelim.c (_IO_getdelim): Likewise.
196         * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap,
197         adjust_wide_data, _IO_wfile_seekoff): Likewise.
198         * locale/findlocale.c (_nl_find_locale): Likewise.
199         * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
200         * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
201         Likewise.
202         * locale/setlocale.c (setlocale): Likewise.
203         * login/programs/pt_chown.c (main): Likewise.
204         * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
205         * malloc/malloc.c (_int_malloc, _int_free): Likewise.
206         * malloc/memusage.c (update_data, malloc, realloc, calloc, free,
207         mmap, mmap64, mremap, munmap): Likewise.
208         * math/e_exp2l.c: Likewise.
209         * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
210         * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
211         * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
212         * math/s_catan.c (__catan): Likewise.
213         * math/s_catanf.c (__catanf): Likewise.
214         * math/s_catanh.c (__catanh): Likewise.
215         * math/s_catanhf.c (__catanhf): Likewise.
216         * math/s_catanhl.c (__catanhl): Likewise.
217         * math/s_catanl.c (__catanl): Likewise.
218         * math/s_ccosh.c (__ccosh): Likewise.
219         * math/s_ccoshf.c (__ccoshf): Likewise.
220         * math/s_ccoshl.c (__ccoshl): Likewise.
221         * math/s_cexp.c (__cexp): Likewise.
222         * math/s_cexpf.c (__cexpf): Likewise.
223         * math/s_cexpl.c (__cexpl): Likewise.
224         * math/s_clog10.c (__clog10): Likewise.
225         * math/s_clog10f.c (__clog10f): Likewise.
226         * math/s_clog10l.c (__clog10l): Likewise.
227         * math/s_clog.c (__clog): Likewise.
228         * math/s_clogf.c (__clogf): Likewise.
229         * math/s_clogl.c (__clogl): Likewise.
230         * math/s_csin.c (__csin): Likewise.
231         * math/s_csinf.c (__csinf): Likewise.
232         * math/s_csinh.c (__csinh): Likewise.
233         * math/s_csinhf.c (__csinhf): Likewise.
234         * math/s_csinhl.c (__csinhl): Likewise.
235         * math/s_csinl.c (__csinl): Likewise.
236         * math/s_csqrt.c (__csqrt): Likewise.
237         * math/s_csqrtf.c (__csqrtf): Likewise.
238         * math/s_csqrtl.c (__csqrtl): Likewise.
239         * math/s_ctan.c (__ctan): Likewise.
240         * math/s_ctanf.c (__ctanf): Likewise.
241         * math/s_ctanh.c (__ctanh): Likewise.
242         * math/s_ctanhf.c (__ctanhf): Likewise.
243         * math/s_ctanhl.c (__ctanhl): Likewise.
244         * math/s_ctanl.c (__ctanl): Likewise.
245         * math/w_pow.c: Likewise.
246         * math/w_powf.c: Likewise.
247         * math/w_powl.c: Likewise.
248         * math/w_scalb.c (sysv_scalb): Likewise.
249         * math/w_scalbf.c (sysv_scalbf): Likewise.
250         * math/w_scalbl.c (sysv_scalbl): Likewise.
251         * misc/error.c (error_tail): Likewise.
252         * misc/pselect.c (__pselect): Likewise.
253         * nis/nis_callback.c (__nis_create_callback): Likewise.
254         * nis/nis_call.c (__nisfind_server): Likewise.
255         * nis/nis_creategroup.c (nis_creategroup): Likewise.
256         * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
257         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
258         * nis/nis_getservlist.c (nis_getservlist): Likewise.
259         * nis/nis_lookup.c (nis_lookup): Likewise.
260         * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
261         * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry,
262         nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
263         * nis/nis_xdr.c (xdr_endpoint): Likewise.
264         * nis/nss_compat/compat-grp.c (getgrent_next_file, internal_getgrnam_r,
265         internal_getgrgid_r): Likewise.
266         * nis/nss_compat/compat-initgroups.c (add_group, internal_getgrent_r):
267         Likewise.
268         * nis/nss_compat/compat-pwd.c (getpwent_next_file, internal_getpwnam_r,
269         internal_getpwuid_r): Likewise.
270         * nis/nss_compat/compat-spwd.c (getspent_next_file,
271         internal_getspnam_r): Likewise.
272         * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r,
273         _nss_nis_getaliasbyname_r): Likewise.
274         * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r,
275         _nss_nis_getntohost_r): Likewise.
276         * nis/nss_nis/nis-grp.c (internal_nis_setgrent,
277         internal_nis_getgrent_r, _nss_nis_getgrnam_r, _nss_nis_getgrgid_r):
278         Likewise.
279         * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent,
280         internal_nis_gethostent_r, internal_gethostbyname2_r,
281         _nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r,
282         _nss_nis_gethostbyname4_r): Likewise.
283         * nis/nss_nis/nis-initgroups.c (internal_getgrent_r,
284         initgroups_netid): Likewise.
285         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
286         * nis/nss_nis/nis-network.c (internal_nis_getnetent_r,
287         _nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
288         * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r,
289         _nss_nis_getprotobynumber_r): Likewise.
290         * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey,
291         _nss_nis_getsecretkey): Likewise.
292         * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent,
293         internal_nis_getpwent_r, _nss_nis_getpwnam_r, _nss_nis_getpwuid_r):
294         Likewise.
295         * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r,
296         _nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
297         * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r,
298         _nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
299         * nis/nss_nis/nis-spwd.c (_nss_nis_setspent, internal_nis_getspent_r,
300         _nss_nis_getspnam_r): Likewise.
301         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
302         Likewise.
303         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r,
304         _nss_nisplus_getntohost_r): Likewise.
305         * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r,
306         _nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
307         * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r,
308         _nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r): Likewise.
309         * nis/nss_nisplus/nisplus-initgroups.c (_nss_nisplus_initgroups_dyn):
310         Likewise.
311         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r,
312         _nss_nisplus_getnetbyaddr_r): Likewise.
313         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r,
314         _nss_nisplus_getprotobynumber_r): Likewise.
315         * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r,
316         _nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
317         * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
318         Likewise.
319         * nis/nss_nisplus/nisplus-service.c (internal_nisplus_getservent_r,
320         _nss_nisplus_getservbyname_r, _nss_nisplus_getservbyport_r): Likewise.
321         * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r,
322         _nss_nisplus_getspnam_r): Likewise.
323         * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist): Likewise.
324         * nscd/aicache.c (addhstaiX): Likewise.
325         * nscd/cache.c (cache_search, prune_cache): Likewise.
326         * nscd/connections.c (register_traced_file, send_ro_fd, handle_request,
327         nscd_run_prune, nscd_run_worker, fd_ready, main_loop_epoll): Likewise.
328         * nscd/grpcache.c (addgrbyX): Likewise.
329         * nscd/hstcache.c (addhstbyX): Likewise.
330         * nscd/initgrcache.c (addinitgroupsX): Likewise.
331         * nscd/mem.c (gc, mempool_alloc): Likewise.
332         * nscd/netgroupcache.c (do_notfound, addgetnetgrentX, addinnetgrX):
333         Likewise.
334         * nscd/nscd-client.h (__nscd_acquire_maplock, __nscd_drop_map_ref):
335         Likewise.
336         * nscd/nscd_getai.c (__nscd_getai): Likewise.
337         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
338         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
339         Likewise.
340         * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
341         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
342         * nscd/nscd_helper.c (__readvall, open_socket,
343         __nscd_get_mapping, __nscd_get_map_ref): Likewise.
344         * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
345         * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr): Likewise.
346         * nscd/pwdcache.c (addpwbyX): Likewise.
347         * nscd/selinux.c (preserve_capabilities): Likewise.
348         * nscd/servicescache.c (addservbyX): Likewise.
349         * nss/nss_files/files-XXX.c (internal_getent): Likewise.
350         * posix/fnmatch.c (fnmatch): Likewise.
351         * posix/getopt.c (_getopt_internal_r): Likewise.
352         * posix/glob.c (glob, glob_in_dir): Likewise.
353         * posix/wordexp.c (exec_comm_child): Likewise.
354         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r, getanswer_r,
355         gaih_getanswer_slice): Likewise.
356         * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
357         * resolv/res_init.c: Likewise.
358         * resolv/res_mkquery.c (res_nmkquery): Likewise.
359         * resolv/res_query.c (__libc_res_nquery): Likewise.
360         * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
361         Likewise.
362         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
363         * stdio-common/perror.c (perror): Likewise.
364         * stdio-common/printf_fp.c (___printf_fp): Likewise.
365         * stdio-common/tmpnam.c (tmpnam): Likewise.
366         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
367         * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
368         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl): Likewise.
369         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
370         * stdlib/putenv.c (putenv): Likewise.
371         * stdlib/setenv.c (__add_to_environ): Likewise.
372         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
373         * stdlib/strtol_l.c (INTERNAL): Likewise.
374         * string/memmem.c (memmem): Likewise.
375         * string/strerror.c (strerror): Likewise.
376         * string/strnlen.c (__strnlen): Likewise.
377         * string/test-memmem.c (simple_memmem): Likewise.
378         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
379         * sunrpc/pm_getport.c (__get_socket): Likewise.
380         * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
381         * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
382         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup,
383         elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
384         Likewise.
385         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
386         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
387         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
388         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
389         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
390         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1): Likewise.
391         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn): Likewise.
392         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
393         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
394         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
395         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
396         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
397         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
398         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
399         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
400         * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
401         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
402         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
403         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
404         Likewise.
405         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
406         Likewise.
407         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
408         Likewise.
409         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
410         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
411         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
412         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
413         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
414         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
415         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
416         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
417         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
418         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
419         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
420         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
421         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
422         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
423         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
424         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r): Likewise.
425         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
426         Likewise.
427         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
428         Likewise.
429         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
430         Likewise.
431         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
432         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
433         * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
434         Likewise.
435         * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
436         * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
437         * sysdeps/posix/opendir.c (__opendirat): Likewise.
438         * sysdeps/posix/sleep.c: Likewise.
439         * sysdeps/posix/tempname.c: Likewise.
440         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
441         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
442         Likewise.
443         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_runtime_setup,
444         elf_machine_rela): Likewise.
445         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
446         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
447         * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
448         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
449         Likewise.
450         * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
451         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup,
452         elf_machine_rela, elf_machine_lazy_rel): Likewise.
453         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup,
454         elf_machine_rela, elf_machine_lazy_rel): Likewise.
455         * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
456         * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
457         * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
458         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
459         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
460         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
461         elf_machine_lazy_rel): Likewise.
462         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
463         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
464         elf_machine_lazy_rel): Likewise.
465         * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
466         * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
467         * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
468         * sysdeps/unix/grantpt.c (grantpt): Likewise.
469         * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
470         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
471         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
472         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
473         Likewise.
474         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
475         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
476         * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
477         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
478         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
479         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
480         * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
481         * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
482         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
483         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
484         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
485         Likewise.
486         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
487         (__posix_fallocate64_l64): Likewise.
488         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
489         (posix_fallocate): Likewise.
490         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64): Likewise.
491         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
492         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request,
493         getifaddrs_internal): Likewise.
494         * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
495         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
496         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
497         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
498         * sysdeps/unix/sysv/linux/posix_fallocate64.c
499         (__posix_fallocate64_l64): Likewise.
500         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
501         Likewise.
502         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
503         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
504         Likewise.
505         * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
506         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
507         * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
508         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
509         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
510         * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
511         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
512         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
513         Likewise.
514         * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
515         * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
516         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
517         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
518         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
519         * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
520         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
521         Likewise.
522         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
523         (posix_fallocate): Likewise.
524         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
525         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
526         * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
527         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup,
528         elf_machine_rela, elf_machine_rela_relative, elf_machine_lazy_rel):
529         Likewise.
530         * time/asctime.c (asctime_internal): Likewise.
531         * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
532         * time/tzset.c (__tzset_parse_tz): Likewise.
533         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
534         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
535         * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
536         * wcsmbs/wcsmbsload.h: Likewise.
538 2014-02-10  Ondřej Bílka  <neleai@seznam.cz>
540         [BZ #15894]
541         * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
543 2014-02-10  Ondřej Bílka  <neleai@seznam.cz>
545         * malloc/arena.c (grow_heap, get_free_list, reused_arena,
546         arena_get2): Remove THREAD_STATS conditionals.
547         * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free,
548         __malloc_stats, int): Likewise.
550 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
552         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
553         f.f_type to RAMFS_MAGIC too.  Compare mp->mnt_type to shm too.
555 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
557         * manual/setjmp.texi: Fix typos/grammar errors.
559 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
561         * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
562         Only return early when n is <= 0.  Delete unused return statement.
564 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
566         * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
567         (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
568         * debug/tst-longjmp_chk3.c: New file.
570 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
572         * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
573         (test_main): Replace code with set_fortify_handler call.
574         * debug/test-strcpy_chk.c: Likewise.
575         * debug/tst-chk1.c: Likewise.
576         * debug/tst-longjmp_chk.c: Likewise.
577         * test-skeleton.c: Include fcntl.h & paths.h
578         (set_fortify_handler): Define.
580 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
582         * debug/tst-longjmp_chk.c: Add header comment and include
583         ../test-skeleton.c.
584         (do_test): Mark static.
585         (TEST_FUNCTION): Define.
587 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
589         * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
590         (IP_PMTUDISC_INTERFACE): Likewise.
591         (IP_MULTICAST_IF): Likewise.
592         (IP_MULTICAST_TTL): Likewise.
593         (IP_MULTICAST_LOOP): Likewise.
594         (IP_ADD_MEMBERSHIP): Likewise.
595         (IP_DROP_MEMBERSHIP): Likewise.
596         (IP_UNBLOCK_SOURCE): Likewise.
597         (IP_BLOCK_SOURCE): Likewise.
598         (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
599         (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
600         (IP_MSFILTER): Likewise.
601         (MCAST_JOIN_GROUP): Likewise.
602         (MCAST_BLOCK_SOURCE): Likewise.
603         (MCAST_UNBLOCK_SOURCE): Likewise.
604         (MCAST_LEAVE_GROUP): Likewise.
605         (MCAST_JOIN_SOURCE_GROUP): Likewise.
606         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
607         (MCAST_MSFILTER): Likewise.
608         (IP_MULTICAST_ALL): Likewise.
609         (IP_UNICAST_IF): Likewise.
611 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
613         * timezone/Makefile: Delete $(have-ksh) check.
614         ($(objpfx)tzselect): Change $(KSH) to $(BASH).
615         * timezone/tzselect.ksh: Add +x mode bits.
617 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
619         * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
620         (ANON_INODE_FS_MAGIC): Likewise.
621         (BDEVFS_MAGIC): Likewise.
622         (BINFMTFS_MAGIC): Likewise.
623         (BTRFS_TEST_MAGIC): Likewise.
624         (CRAMFS_MAGIC_WEND): Likewise.
625         (DEBUGFS_MAGIC): Likewise.
626         (ECRYPTFS_SUPER_MAGIC): Likewise.
627         (EXT3_SUPER_MAGIC): Likewise.
628         (EXT4_SUPER_MAGIC): Likewise.
629         (FUTEXFS_SUPER_MAGIC): Likewise.
630         (HOSTFS_SUPER_MAGIC): Likewise.
631         (HUGETLBFS_MAGIC): Likewise.
632         (MINIX3_SUPER_MAGIC): Likewise.
633         (MTD_INODE_FS_MAGIC): Likewise.
634         (NILFS_SUPER_MAGIC): Likewise.
635         (OPENPROM_SUPER_MAGIC): Likewise.
636         (PIPEFS_MAGIC): Likewise.
637         (PSTOREFS_MAGIC): Likewise.
638         (QNX6_SUPER_MAGIC): Likewise.
639         (RAMFS_MAGIC): Likewise.
640         (REISERFS_SUPER_MAGIC_STRING): Likewise.
641         (REISER2FS_SUPER_MAGIC_STRING): Likewise.
642         (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
643         (SECURITYFS_MAGIC): Likewise.
644         (SELINUX_MAGIC): Likewise.
645         (SMACK_MAGIC): Likewise.
646         (SOCKFS_MAGIC): Likewise.
647         (SQUASHFS_MAGIC): Likewise.
648         (STACK_END_MAGIC): Likewise.
649         (TMPFS_MAGIC): Likewise.
650         (USBDEVICE_SUPER_MAGIC): Likewise.
651         (V9FS_MAGIC): Likewise.
652         (XENFS_SUPER_MAGIC): Likewise.
653         (CRAMFS_MAGIC): Fix typo in comment.
654         (EXT2_SUPER_MAGIC): Update comment.
655         (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
657 2014-02-08  Joseph Myers  <joseph@codesourcery.com>
659         * sysdeps/arm: Move directory from ports/sysdeps/arm.
660         * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
661         * sysdeps/unix/sysv/linux/arm: Move directory from
662         ports/sysdeps/unix/sysv/linux/arm.
663         * README: Update listing for arm-*-linux-gnueabi.
665         * README: Remove mention of am33.
667 2014-02-07  Roland McGrath  <roland@hack.frob.com>
669         * bits/sigset.h (__sigemptyset): Use a statement expression rather
670         than the comma operator, to avoid "rhs of comma has no effect"
671         compiler warnings.
672         (__sigfillset, __sigandset, __sigorset): Likewise.
673         * include/signal.h (__sigemptyset): Likewise.
674         * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
676 2014-02-07  Allan McRae  <allan@archlinux.org>
678         * version.h (RELEASE): Set to "development".
679         (VERSION): Set to "2.19.90"
680         * NEWS: Add 2.20 section.
682 2014-02-06  Carlos O'Donell  <carlos@redhat.com>
684         [BZ #16529]
685         * inet/netinet/in.h: Remove comma after IPPROTO_MH.
687 2014-02-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
689         * manual/contrib.texi: Update entry for Carlos O'Donell,
690         Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
692 2014-02-05  Carlos O'Donell  <carlos@rehdat.com>
694         * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
696         * sysdeps/unix/sysv/linux/kernel-features.h
697         [__LINUX_KERNEL_VERSION >= 0x020621]
698         (__ASSUME_PROC_PID_TASK_COMM): Define.
700 2014-02-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
702         * manual/contrib.texi: Update entry for Ondrej Bilka, Will
703         Newton and Alexandre Oliva.  Add entries for Steve Ellcey, Chris
704         Leonard and Allan McRae.
706 2014-02-04  David S. Miller  <davem@davemloft.net>
708         * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
709         32-bit.
711 2014-02-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
713         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist: New
714         file
715         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
716         New file
717         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist: New
718         file.
719         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist: New
720         file.
721         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
722         New file.
723         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist: New
724         file.
725         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist: New
726         file.
727         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
728         New file.
729         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
730         New file.
731         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
732         New file.
733         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
734         New file.
735         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
736         New file.
737         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
738         New file.
740 2014-02-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
742         * nptl/shlib-versions: Change powerpc*le start to 2.17.
743         * shlib-versions: Likewise.
745 2014-02-04  Roland McGrath  <roland@hack.frob.com>
746             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
748         * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
749         (abilist-pattern): New variable, set to %-le.abilist.
751         * Makerules (abilist-pattern): New variable.
752         (vpath): Use $(abilist-pattern) in place of %.abilist.
753         (check-abi-% pattern rule): Likewise.
754         (check-abi, update-abi): Likewise.
756 2014-02-04  Eric Wong  <normalperson@yhbt.net>
758         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
760 2014-02-04  Eric Wong  <normalperson@yhbt.net>
762         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
764 2014-02-03  Carlos O'Donell  <carlos@redhat.com>
766         * manual/startup.texi: Add next, previous, and top entries for
767         the `Program Arguments' and `Environment Variables' nodes.
769 2014-02-03  Alexandre Oliva <aoliva@redhat.com>
771         * manual/macros.texi: Add comments before MTASC-safety macros.
773         * manual/users.texi: Document MTASC-safety properties.
775         * manual/threads.texi (pthread_key_create, pthread_key_delete,
776         pthread_getspecific, pthread_setspecific): Format with
777         @deftypefun, and add @safety note.
778         * manual/signal.texi: Move comments that analyze the above
779         functions to their home place.
781 2014-02-03  Allan McRae  <allan@archlinux.org>
783         * po/sl.po: Update Slovenian translation from translation project.
785 2014-02-02  Alexandre Oliva <aoliva@redhat.com>
787         * manual/time.texi (timegm): Add missing blank after @c.
788         Reported by Joseph Myers <joseph@codesourcery.com>.
790 2014-02-01  Alexandre Oliva <aoliva@redhat.com>
792         * manual/check-safety.sh: New.
793         * manual/Makefile ($(objpfx)stamp-summary): Run it.
795         * manual/terminal.texi: Document MTASC-safety properties.
797         * manual/filesys.texi: Document MTASC-safety properties.
799         * manual/errno.texi: Document MTASC-safety properties.
801         * manual/intro.texi: Document safety identifiers and
802         conditionals.
804         * manual/string.texi (wcstok): Fix prototype.
805         (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
807         * manual/time.texi: Document MTASC-safety properties.
809         * manual/string.texi: Document MTASC-safety properties.
811         * manual/threads.texi: Document MTASC-safety properties.
813         * manual/stdio.texi: Document MTASC-safety properties.
815         * manual/syslog.texi: Document MTASC-safety properties.
817         * manual/sysinfo.texi: Document MTASC-safety properties.
819         * manual/startup.texi: Document MTASC-safety properties.
821         * manual/socket.texi: Document MTASC-safety properties.
823         * manual/signal.texi: Document MTASC-safety properties.
825 2014-01-31  Alexandre Oliva <aoliva@redhat.com>
827         * manual/setjmp.texi: Document MTASC-safety properties.
829         * manual/search.texi: Document MTASC-safety properties.
831         * manual/resource.texi: Document MTASC-safety properties.
833         * manual/process.texi: Document MTASC-safety properties.
835         * manual/platform.texi: Document MTASC-safety properties.
837         * manual/pipe.texi: Document MTASC-safety properties.
839         * manual/pattern.texi: Document MTASC-safety properties.
841         * manual/message.texi: Document MTASC-safety properties.
843         [BZ #12751]
844         * manual/memory.texi: Document MTASC-safety properties.
846         * manual/math.texi: Document MTASC-safety properties.
848         * manual/locale.texi: Document MTASC-safety properties.
850         * manual/llio.texi: Document MTASC-safety properties.
852         * manual/libdl.texi: New.
854         * manual/lang.texi: Document MTASC-safety properties.
856         * manual/job.texi: Document MTASC-safety properties.
858         * manual/getopt.texi: Document MTASC-safety properties.
860         * manual/ctype.texi: Document MTASC-safety properties.
862 2014-01-31  Maciej W. Rozycki  <macro@codesourcery.com>
864         [BZ #16046]
865         * csu/libc-tls.c (static_map): Remove variable.
866         (__libc_setup_tls): Use main executable's link map for TLS data.
867         * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
868         casing for LM_ID_BASE and GL(dl_nns).
869         * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
870         function.  Alias dl_iterate_phdr to __dl_iterate_phdr.
871         * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
872         casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
873         * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
874         member.
875         (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
876         l_phnum members.
878 2014-01-30  Alexandre Oliva <aoliva@redhat.com>
880         * manual/debug.texi: Document MTASC-safety properties.
882 2014-01-29  H.J. Lu  <hongjiu.lu@intel.com>
884         [BZ #16510]
885         * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
886         of __x86_64__ when disabling x87 inline functions.
888 2014-01-29  Alexandre Oliva <aoliva@redhat.com>
890         * manual/charset.texi: Document MTASC-safety properties.
892         * manual/crypt.texi: Document MTASC-safety properties.
894         * manual/conf.texi: Document MTASC-safety properties.
896         * manual/arith.texi: Document MTASC-safety properties.
898         * manual/argp.texi: Document MTASC-safety properties.
900         * manual/macros.texi: Introduce macros to document multi
901         thread, asynchronous signal and asynchronous cancellation
902         safety properties.
903         * manual/intro.texi: Introduce the properties themselves.
905 2014-01-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
907         * sysdeps/sh/sh4/Makefile: New file.
909 2014-01-27  Andreas Schwab  <schwab@linux-m68k.org>
911         * math/gen-libm-test.pl ($srcdir): New variable.
912         ($auto_input): Use it.
914 2014-01-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
916         [BZ #16506]
917         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
918         access beyond array bounds when parsing netgroups file.
920         * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
921         the old buffer before realloc.
923 2014-01-27  Allan McRae  <allan@archlinux.org>
925         * po/fr.po: Update French translation from translation project.
927 2014-01-26  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
929         * sysdeps/sh/libm-test-ulps: Regenerate.
931 2014-01-24  David S. Miller  <davem@davemloft.net>
933         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
935 2014-01-25  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
937         * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
938         * sysdeps/sh/libm-test-ulps: ... here and regenerated.
940 2013-01-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
942         [BZ #16474]
943         * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
944         string pointers after reallocation.
946 2014-01-24  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
948         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
949         __SH4A__ instead of __SH_FPU_ANY__.
951 2014-01-23  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
953         * sysdeps/sh/fpu_control.h: New file.
954         * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
955         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
956         * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
957         * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
958         * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
959         * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
960         * sysdeps/sh/sys/ucontext.h: Remove.
961         * sysdeps/sh/sys: Remove directory.
963 2014-01-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
965         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
966         s390/sys/ucontext.h.
967         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
968         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
970 2014-01-20  H.J. Lu  <hongjiu.lu@intel.com>
972         [BZ #15605]
973         * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
975 2014-01-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
977         [BZ#16431]
978         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
979         Adjust the vDSO correctly for internal calls.
980         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
982 2014-01-20  Allan McRae  <allan@archlinux.org>
984         * po/ca.po: Update Catalan translation from translation project.
986 2014-01-16  Mike Frysinger  <vapier@gentoo.org>
988         * sysdeps/s390/sotruss-lib.c: New file.
990 2014-01-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
992         [BZ#16430]
993         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
994         (__GI___gettimeofday): Alias for a different internal symbol to avoid
995         local calls issues by not having a PLT stub required for IFUNC calls.
996         * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
998 2014-01-16 Joseph Myers  <joseph@codesourcery.com>
1000         * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
1001         * math/test-fpucw-static.c: Likewise.
1003 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
1005         [BZ #16453]
1006         * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
1008 2014-01-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1010         * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
1011         implementation for powerpc.
1013 2014-01-15  Ondřej Bílka  <neleai@seznam.cz>
1015         [BZ #14782]
1016         * sysdeps/posix/system.c (__libc_system): Do not enable
1017         asynchronous cancellation.
1019 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
1021         [BZ #16427]
1022         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
1023         handling only for numbers special also in the IEEE case.
1025 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
1027         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
1029 2014-01-11  Allan McRae  <allan@archlinux.org>
1031         * po/bg.po: Update Bulgarian translation from translation project.
1033         * po/de.po: Update German translation from translation project.
1035 2014-01-10  Roland McGrath  <roland@hack.frob.com>
1037         * sysdeps/generic/gcc-compat.h: New file.
1039 2014-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
1041         * benchtests/asin-inputs: Correct slow inputs.
1042         * benchtests/acos-inputs: Likewise.
1044 2014-01-10  Allan McRae  <allan@archlinux.org>
1046         * po:sv.po: Update Swedish translation from translation project.
1048         * po/vi.po: Update Vietnamese translation from translation project.
1050         * po/eo.po: Update Esperanto translation from translation project.
1052         * po/cs.po: Update Czech translation from translation project.
1054         * po/nl.po: Update Dutch translation from translation project.
1056         * po/pl.po: Update Polish translation from translation project.
1058         * po/ru.po: Update Russian translation from translation project.
1060         * po/uk.po: Update Ukrainian translation from translation project.
1062 2014-01-08  Brooks Moses  <bmoses@google.com>
1064         * elf/dl-load.c: Fix comment typo.
1066 2014-01-08  Carlos O'Donell  <carlos@redhat.com>
1068         * po/header.pot: Rename to...
1069         * po/pot.header: ... this.
1070         * po/Makefile: Use pot.header.
1072 2014-01-08  Yuriy Kaminskiy  <yumkam@gmail.com>
1073             Maxim Kuvyrkov  <maxim@kugelworks.com>
1075         [BZ #16394]
1076         * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
1077         SRC and DEST against LEN.
1079 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1081         [BZ #16414]
1082         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
1083         implementation.
1084         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
1086 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1088         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1090 2014-01-08  Joseph Myers  <joseph@codesourcery.com>
1092         [BZ #16408]
1093         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
1094         for large positive arguments.
1096 2014-01-07  Joseph Myers  <joseph@codesourcery.com>
1098         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
1100         * math/auto-libm-test-in: Mark various tests with
1101         xfail-rounding:ldbl-128ibm.
1102         * math/auto-libm-test-out: Regenerated.
1104         [BZ #16407]
1105         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
1106         Increase overflow threshold.
1108 2014-01-07  Ondřej Bílka  <neleai@seznam.cz>
1110         [BZ #14286]
1111         * stdio-common/vfprintf.c: Check for integer overflow.
1113 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
1115         * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
1116         the first argument and return value of __tls_get_addr_internal.
1118 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
1120         * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
1121         also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
1123 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
1125         * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
1126         * sysdeps/s390/rtld-global-offsets.sym: New file.
1127         * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
1128         GLIBC_2.19 symbol.
1129         * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
1130         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
1131         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
1132         ... this.
1133         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
1134         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
1135         ... this.
1136         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
1137         Regenerate.
1138         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
1139         Regenerate.
1140         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
1141         halfs of GPRs for high_gprs contexts.
1142         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
1143         restore upper halfs of GPRs for high_gprs contexts.  Copy uc_flags
1144         field.
1145         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
1146         uc_flags field.
1147         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
1148         64 bit versions:
1149         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
1150         for high GPRs (uc_high_gprs) and for future extensions
1151         (__reserved).
1152         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
1153         for future extensions (__reserved).
1154         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
1155         64 bit versions:
1156         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
1157         SC_HIGHGPRS offset definition.
1158         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
1159         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
1161 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
1163         * Versions.def: Add GLIBC_2.19 for libpthread.
1164         * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
1165         siglongjmp for libpthread with GLIBC_2.19 symver.
1166         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
1167         * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
1168         * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
1169         * sysdeps/s390/__longjmp.c: New file.
1170         * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
1171         * sysdeps/s390/longjmp.c: New file.
1172         * sysdeps/s390/setjmp.S: New file.
1173         * sysdeps/s390/sigjmp.S: New file.
1174         * sysdeps/s390/v1-longjmp.c: New file.
1175         * sysdeps/s390/v1-setjmp.h: New file.
1176         * sysdeps/s390/v1-sigjmp.c: New file.
1177         * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
1178         * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
1179         GLIBC_2.19 version.
1180         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
1181         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
1182         versioned symbols for ____longjmp_chk.
1183         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
1184         Likewise.
1185         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
1186         Regenerate.
1187         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
1188         Regenerate.
1189         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
1190         Regenerate.
1191         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
1192         Regenerate.
1193         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
1194         * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
1195         * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
1196         * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
1197         * sysdeps/s390/s390-32/setjmp-common.S: ... this.
1198         * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
1199         * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
1200         * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
1201         * sysdeps/s390/s390-64/setjmp-common.S: ... this.
1202         * sysdeps/s390/rtld-__longjmp.c: New file.
1203         * sysdeps/s390/rtld-setjmp.S: New file.
1205 2014-01-06  Joseph Myers  <joseph@codesourcery.com>
1207         [BZ #16400]
1208         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
1209         Return -__logl (x) for small positive arguments without evaluating
1210         a polynomial.
1212 2014-01-06  Mike Frysinger  <vapier@gentoo.org>
1214         * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
1215         Rename to ...
1216         (__ptrace_peeksiginfo_args): ... this.
1217         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
1218         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
1219         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
1221 2014-01-06  Allan McRae  <allan@archlinux.org>
1223         * inet/netinet/in.h: Fix typo in comment.
1225 2014-01-05  Andreas Jaeger  <aj@suse.de>
1227         * sysdeps/i386/fpu/libm-test-ulps: Update.
1229 2014-01-05  Allan McRae  <allan@archlinux.org>
1231         * po/libc.pot: Regenerated.
1233         * malloc/memusagestat.c: Fix gettext call formatting.
1235 2014-01-04  Sami Kerola  <kerolasa@iki.fi>
1237         * nscd/nscd.c: Improve usage() output.
1239 2014-01-04  Mike Frysinger  <vapier@gentoo.org>
1241         * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
1242         * sysdeps/unix/sysv/linux/configure: Regenerated.
1243         * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
1244         * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
1246 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
1248         [BZ #16390]
1249         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
1250         (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
1252 2014-01-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1254         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
1255         extra tokens at end of #undef directive.
1256         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
1257         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
1258         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
1260 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
1262         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
1264         * math/auto-libm-test-in: Mark various tests with
1265         xfail-rounding:ldbl-128ibm.
1266         * math/auto-libm-test-out: Regenerated.
1268 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
1270         [BZ #16386]
1271         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
1272         numbers with subnormal high part when calculating exponent.
1274         [BZ #16385]
1275         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
1276         fabs.
1278         [BZ #16384]
1279         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
1280         M_LN2l.
1281         (__ieee754_acoshl): Use __log1pl not __log1p.
1283 2013-01-02  Ondřej Bílka  <neleai@seznam.cz>
1285         * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all,
1286         ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry,
1287         __failing_morecore, ptmalloc_init, dump_heap, new_heap, grow_heap,
1288         heap_trim, _int_new_arena, get_free_list, reused_arena, arena_get2):
1289         Convert to GNU style.
1290         * malloc/hooks.c (memalign_hook_ini, __malloc_check_init,
1291         mem2mem_check, mem2chunk_check, top_check, realloc_check,
1292         memalign_check, __malloc_set_state): Likewise.
1293         * malloc/mallocbug.c (main): Likewise.
1294         * malloc/malloc.c (__malloc_assert, malloc_init_state, free_perturb,
1295         do_check_malloced_chunk, do_check_malloc_state, sysmalloc, systrim,
1296         mremap_chunk, __libc_malloc, __libc_free, __libc_realloc, _mid_memalign,
1297         _int_malloc, malloc_consolidate, _int_realloc, _int_memalign, mtrim,
1298         musable, __libc_mallopt, __posix_memalign, malloc_info): Likewise.
1299         * malloc/malloc.h: Likewise.
1300         * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook, mallochook,
1301         memalignhook, reallochook, mabort): Likewise.
1302         * malloc/mcheck.h: Likewise.
1303         * malloc/memusage.c (update_data, me, malloc, realloc, calloc, free, mmap,
1304         mmap64, mremap, munmap, dest): Likewise.
1305         * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
1306         * malloc/morecore.c (__default_morecore): Likewise.
1307         * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
1308         * malloc/obstack.c (_obstack_begin, _obstack_newchunk,
1309         _obstack_allocated_p, obstack_free, _obstack_memory_used,
1310         print_and_abort): Likewise.
1311         * malloc/obstack.h: Likewise.
1312         * malloc/set-freeres.c (__libc_freeres): Likewise.
1313         * malloc/tst-mallocstate.c (main): Likewise.
1314         * malloc/tst-mtrace.c (main): Likewise.
1315         * malloc/tst-realloc.c (do_test): Likewise.
1317 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
1319         [BZ #16366]
1320         * nscd/netgroupcache.c (do_notfound): New function.
1321         (addgetnetgrentX): Use it.
1323         [BZ # 16365]
1324         * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
1325         NSS_STATUS_NOTFOUND.
1327 2014-01-01  Joseph Myers  <joseph@codesourcery.com>
1329         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
1330         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1332 2014-01-01  Allan McRae  <allan@archlinux.org>
1334         * scripts/update-copyrights: Update configure input file suffix.
1336         * NEWS: Update copyright year.
1337         * catgets/gencat.c: Likewise.
1338         * csu/version.c: Likewise.
1339         * debug/catchsegv.sh: Likewise.
1340         * debug/pcprofiledump.c: Likewise.
1341         * debug/xtrace.sh: Likewise.
1342         * elf/ldconfig.c: Likewise.
1343         * elf/ldd.bash.in: Likewise.
1344         * elf/pldd.c: Likewise.
1345         * elf/sotruss.ksh: Likewise.
1346         * elf/sprof.c: Likewise.
1347         * iconv/iconv_prog.c: Likewise.
1348         * iconv/iconvconfig.c: Likewise.
1349         * locale/programs/locale.c: Likewise.
1350         * locale/programs/localedef.c: Likewise.
1351         * login/programs/pt_chown.c: Likewise.
1352         * malloc/memusage.sh: Likewise.
1353         * malloc/memusagestat.c: Likewise.
1354         * malloc/mtrace.pl: Likewise.
1355         * manual/libc.texinfo: Likewise.
1356         * nscd/nscd.c: Likewise.
1357         * nss/getent.c: Likewise.
1358         * nss/makedb.c: Likewise.
1359         * posix/getconf.c: Likewise.
1360         * scripts/test-installation.pl: Likewise.
1362         * All files with FSF copyright notices: Update copyright dates
1363         using scripts/update-copyrights.
1364         * intl/plural.c: Regenerated.
1365         * locale/programs/charmap-kw.h: Likewise.
1366         * locale/programs/locfile-kw.h: Likewise.
1368 2013-12-31  Mike Frysinger  <vapier@gentoo.org>
1370         * sysdeps/unix/sysv/linux/configure: Regenerated.
1371         * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
1372         the linux/fanotify.h header.
1373         * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
1374         HAVE_LINUX_FANOTIFY_H is defined.
1376 2013-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
1378         * benchtests/cos-inputs: New inputs.
1379         * benchtests/sin-inputs: Likewise.
1381         * benchtests/atan-inputs: New inputs. Fix name of multiple
1382         precision fallback inputs.
1384         * benchtests/atanh-inputs: New inputs.
1385         * benchtests/tanh-inputs: Likewise.
1387         * benchtests/acosh-inputs: New inputs.
1388         * benchtests/asinh-inputs: Likewise.
1390         * benchtests/cosh-inputs: New inputs.
1391         * benchtests/sinh-inputs: Likewise.
1393         * benchtests/acos-inputs: Add more inputs.
1394         * benchtests/asin-inputs: Likewise.
1396 2013-12-30  Ville Skytta  <ville.skytta@iki.fi>
1398         [BZ #16375]
1399         * manual/arith.texi: Fix spelling.
1400         * manual/charset.texi: Likewise.
1401         * manual/errno.texi: Likewise.
1402         * manual/filesys.texi: Likewise.
1403         * manual/lang.texi: Likewise.
1404         * manual/llio.texi: Likewise.
1405         * manual/locale.texi: Likewise.
1406         * manual/message.texi: Likewise.
1407         * manual/resource.texi: Likewise.
1408         * manual/search.texi: Likewise.
1409         * manual/setjmp.texi: Likewise.
1410         * manual/stdio.texi: Likewise.
1411         * manual/string.texi: Likewise.
1412         * manual/sysinfo.texi: Likewise.
1413         * manual/time.texi: Likewise.
1415 2013-12-27  Carlos O'Donell  <carlos@redhat.com>
1417         * po/sl.po: New file.
1419 2013-12-27  Mike Frysinger  <vapier@gentoo.org>
1421         * .gitignore: Add core/.gdbinit/.gdb_history.
1423 2013-12-27  Allan McRae  <allan@archlinux.org>
1425         [BZ #16369]
1426         * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
1427         Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
1429 2013-12-24  Brooks Moses  <bmoses@google.com>
1431         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
1432         all compilers that claim C++98 compliance, not just GCC.
1433         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
1434         Likewise.
1436 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
1438         * NEWS: Restore accidentally deleted bug-fix entries.
1440 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
1441             Ondřej Bílka  <neleai@seznam.cz>
1443         [BZ #15073]
1444         * malloc/malloc.c (_int_free): Perform sanity check only if we
1445         have_lock.
1447 2013-12-23  Ondřej Bílka  <neleai@seznam.cz>
1449         [BZ #12986]
1450         * manual/stdio.texi (String Input Conversions): Clarify that character
1451         classes are not supported.
1453 2013-12-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1455         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1457 2013-12-22  Joseph Myers  <joseph@codesourcery.com>
1459         [BZ #16337]
1460         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
1461         Calculate results for small negative arguments directly rather
1462         than using reflection formula with special underflow handling.
1464         * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
1465         * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
1466         sysdeps/unix/bsd/bsd4.4/syscalls.list.
1467         (fchflags): Likewise.
1468         (revoke): Likewise.
1469         (setlogin): Likewise.
1470         (sigaltstack): Likewise.
1471         (wait4): Likewise.
1472         (sigblock): Remove.
1473         (sigsetmask): Likewise.
1474         (wait3): Likewise.
1475         (waitpid): Likewise.
1476         * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
1477         * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
1478         file.
1479         * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
1480         * sysdeps/unix/bsd/Makefile: ... here.
1481         * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
1482         * sysdeps/unix/bsd/Versions: ... here.
1483         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
1484         * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
1485         * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
1486         * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
1487         * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
1488         * sysdeps/unix/bsd/sigblock.c: ... here.
1489         * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
1490         * sysdeps/unix/bsd/sigsetmask.c: ... here.
1491         * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
1492         * sysdeps/unix/bsd/sigvec.c: ... here.
1493         * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
1494         * sysdeps/unix/bsd/tcdrain.c: ... here.
1495         * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
1496         * sysdeps/unix/bsd/tcgetattr.c: ... here.
1497         * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
1498         * sysdeps/unix/bsd/tcsetattr.c: ... here.
1499         * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
1500         * sysdeps/unix/bsd/wait.c: ... here.
1501         * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
1502         * sysdeps/unix/bsd/wait3.c: ... here.
1503         * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
1504         * sysdeps/unix/bsd/waitpid.c: ... here.
1506 2013-12-21  Joseph Myers  <joseph@codesourcery.com>
1508         [BZ #16356]
1509         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
1510         round-to-nearest for [!USE_AS_EXPM1L].
1511         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
1512         * math/auto-libm-test-in: Do not expect cosh tests to fail.  Add
1513         more tests of exp and exp10.  Expect some exp10 tests to miss
1514         exceptions or fail in directed rounding modes.
1515         * math/auto-libm-test-out: Regenerated.
1516         * math/libm-test.inc (exp10_tonearest_test_data): New array.
1517         (exp10_test_tonearest): New function.
1518         (exp10_towardzero_test_data): New array.
1519         (exp10_test_towardzero): New function.
1520         (exp10_downward_test_data): New array.
1521         (exp10_test_downward): New function.
1522         (exp10_upward_test_data): New array.
1523         (exp10_test_upward): New function.
1524         (main): Call the new functions.
1525         * sysdeps/i386/fpu/libm-test-ulps: Update.
1526         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1528 2013-12-20  Joseph Myers  <joseph@codesourcery.com>
1530         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
1531         asinh, atan, atan2, atanh, cbrt, cos and cosh.
1532         * math/auto-libm-test-out: Regenerated.
1533         * math/libm-test.inc (acosh_test_data): Add more tests.
1534         (atanh_test_data): Likewise.
1535         (ceil_test_data): Likewise.
1536         (copysign_test_data): Likewise.
1537         * sysdeps/i386/fpu/libm-test-ulps: Update.
1538         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1540         * timezone/checktab.awk: Update from tzcode 2013i.
1541         * timezone/private.h: Likewise.
1542         * timezone/scheck.c: Likewise.
1543         * timezone/tzfile.h: Likewise.
1544         * timezone/tzselect.ksh: Likewise.
1545         * timezone/zdump.c: Likewise.
1546         * timezone/zic.c: Likewise.
1548         * math/auto-libm-test-in: Add tests of cpow.
1549         * math/auto-libm-test-out: Regenerated.
1550         * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
1551         * * math/gen-auto-libm-tests.c (func_calc_method): Add value
1552         mpc_cc_c.
1553         (func_calc_desc): Add mpc_cc_c union field.
1554         (test_functions): Add cpow.
1555         (special_fill_2pi): New function.
1556         (special_real_inputs): Add 2pi.
1557         (calc_generic_results): Handle mpc_cc_c.
1558         * sysdeps/i386/fpu/libm-test-ulps: Update.
1559         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1561         * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
1562         csqrt, ctan and ctanh.
1563         * math/auto-libm-test-out: Regenerated.
1564         * math/libm-test.inc (TEST_COND_x86_64): New macro.
1565         (TEST_COND_x86): Likewise.
1566         (ccos_test_data): Use AUTO_TESTS_c_c.
1567         (ccosh_test_data): Likewise.
1568         (cexp_test_data): Likewise.
1569         (clog_test_data): Likewise.
1570         (csqrt_test_data): Likewise.
1571         (ctan_test_data): Likewise.
1572         (ctan_tonearest_test_data): Likewise.
1573         (ctan_towardzero_test_data): Likewise.
1574         (ctan_downward_test_data): Likewise.
1575         (ctan_upward_test_data): Likewise.
1576         (ctanh_test_data): Likewise.
1577         (ctanh_tonearest_test_data): Likewise.
1578         (ctanh_towardzero_test_data): Likewise.
1579         (ctanh_downward_test_data): Likewise.
1580         (ctanh_upward_test_data): Likewise.
1581         * math/gen-auto-libm-tests.c (func_calc_method): Add value
1582         mpc_c_c.
1583         (func_calc_desc): Add mpc_c_c union field.
1584         (FUNC_mpc_c_c): New macro.
1585         (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
1586         ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
1587         ctanh.
1588         (special_fill_min_subnorm_p120): New function.
1589         (special_real_inputs): Add min_subnorm_p120.
1590         (calc_generic_results): Handle mpc_c_c.
1591         * sysdeps/i386/fpu/libm-test-ulps: Update.
1592         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1594 2013-12-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
1596         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin,
1597         do_sin_slow): New functions.
1598         (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2,
1599         cslow2, csloww1, csloww2): Use the new functions.
1601         * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
1602         Use M to change sign of result instead of X.  Assume X is
1603         positive.
1604         (csloww1): Likewise.
1605         (__sin): Adjust.
1606         (__cos): Adjust.
1608         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
1609         arguments A and DA.
1610         (__sin): Adjust.
1611         (__cos): Likewise.
1613         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
1614         (__cos): Likewise.
1615         (sloww1): Don't adjust sign of DX.
1616         (csloww1): Likewise.
1617         (sloww2): Use X directly and don't adjust sign of DX.
1618         (csloww2): Likewise.
1620 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
1622         * math/auto-libm-test-in: Add tests of cabs and carg.
1623         * math/auto-libm-test-out: Regenerated.
1624         * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
1625         (carg_test_data): Likewise.
1626         * math/gen-auto-libm-tests.c (func_calc_method): Add value
1627         mpc_c_f.
1628         (func_calc_desc): Add mpc_c_f union field.
1629         (test_functions): Add cabs and carg.
1630         (calc_generic_results): Handle mpc_c_f.
1632         * sysdeps/powerpc/powerpc32/libgcc-compat.S
1633         [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
1634         as a macro and a compat symbol.
1635         [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
1636         [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
1637         [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
1638         [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
1639         [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
1640         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
1641         not use .hidden.
1642         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
1643         Likewise.
1644         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
1645         Likewise.
1646         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
1647         Likewise.
1648         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
1649         Likewise.
1650         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
1651         Likewise.
1652         * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
1653         __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
1654         from GLIBC_2.3.2.
1656 2013-12-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1658         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1660 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
1662         * manual/texinfo.tex: Update to version 2013-11-26.10 with
1663         trailing whitespace removed.
1664         * scripts/config.guess: Update to version 2013-11-29.
1665         * scripts/config.sub: Update to version 2013-10-01.
1667         * math/auto-libm-test-in: Add tests of sincos.
1668         * math/auto-libm-test-out: Regenerated.
1669         * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
1670         * math/gen-auto-libm-tests.c (func_calc_method): Add value
1671         mpfr_f_11.
1672         (func_calc_desc): Add mpfr_f_11 union field.
1673         (test_functions): Add sincos.
1674         (calc_generic_results): Handle mpfr_f_11.
1675         * sysdeps/i386/fpu/libm-test-ulps: Update.
1676         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1678 2013-12-19  Andreas Schwab  <schwab@suse.de>
1680         * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
1681         CALL_MCOUNT.
1682         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
1683         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
1684         [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
1686 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
1688         * math/gen-libm-test.pl (%beautify): Remove M_* constants.
1689         * sysdeps/i386/fpu/libm-test-ulps: Update.
1690         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1692         [BZ #16293]
1693         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
1694         round-to-nearest mode when using frndint.
1695         * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
1696         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
1697         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
1698         Likewise.
1699         * math/auto-libm-test-in: Add more tests of expm1.  Do not expect
1700         sinh test to fail.
1701         * math/auto-libm-test-out: Regenerated.
1702         * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
1703         (TEST_COND_x86): Likewise.
1704         (expm1_tonearest_test_data): New array.
1705         (expm1_test_tonearest): New function.
1706         (expm1_towardzero_test_data): New array.
1707         (expm1_test_towardzero): New function.
1708         (expm1_downward_test_data): New array.
1709         (expm1_test_downward): New function.
1710         (expm1_upward_test_data): New array.
1711         (expm1_test_upward): New function.
1712         (main): Run the new test functions.
1713         * sysdeps/i386/fpu/libm-test-ulps: Update.
1714         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1716         * include/features.h: Update comment documenting feature test
1717         macros.  Mention _DEFAULT_SOURCE in comment.
1718         [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
1719         [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
1720         _BSD_SOURCE and _SVID_SOURCE.
1721         [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
1722         !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
1723         !_SVID_SOURCE]: Likewise.
1724         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
1725         (__USE_POSIX_IMPLICITLY): Define.
1726         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
1727         (_POSIX_SOURCE): Undefine and redefine.
1728         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
1729         (_POSIX_C_SOURCE): Likewise.
1730         * manual/creature.texi (_DEFAULT_SOURCE): Document.
1731         (Feature Test Macros): Update documentation of default features.
1733 2013-12-19  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
1735         * benchtests/Makefile: Add bench-strtok.
1736         * benchtests/bench-strtok.c: New file: strtok benchtest.
1738 2013-12-19  Allan McRae  <allan@archlinux.org>
1740         * manual/install.texi: Suppress menu for plain text output.
1741         * INSTALL: Regenerated.
1743 2013-12-18  Brooks Moses  <bmoses@google.com>
1745         [BZ #15846]
1746         * misc/getauxval.c: Include errno.h.
1747         (__getauxval): Set errno to ENOENT if the requested type is not
1748         found.
1749         * misc/sys/auxv.h (getauxval): Document that it may set errno;
1750         don't declare with __attribute_const__.
1751         * elf/tst-auxv.c: Add tests for errno and type-not-found case.
1752         * manual/startup.texi: Document that getauxval sets errno.
1754 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
1756         * math/auto-libm-test-in: Add tests of jn and yn.
1757         * math/auto-libm-test-out: Regenerated.
1758         * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
1759         (yn_test_data): Likewise.
1760         * math/gen-auto-libm-tests.c (func_calc_method): Add value
1761         mpfr_if_f.
1762         (func_calc_desc): Add mpfr_if_f union field.
1763         (FUNC_mpfr_if_f): New macro.
1764         (test_functions): Add jn and yn.
1765         (calc_generic_results): Assert type of second input for
1766         mpfr_ff_f.  Handle mpfr_if_f.
1767         (output_for_one_input_case): Disable all checking for arguments
1768         fitting floating-point types in case of an integer argument.
1769         * sysdeps/i386/fpu/libm-test-ulps: Update.
1770         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1772         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
1773         Don't expect fegetround reference in libm.so.
1775 2013-12-17  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
1777         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
1778         $(config-cflags-nofma).
1780 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
1782         * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
1783         * math/auto-libm-test-out: Regenerated.
1785         [BZ #16338]
1786         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
1787         to determine exponent and adjust argument to have exponent of -1.
1788         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
1789         log2.
1790         * math/auto-libm-test-out: Regenerated.
1791         * sysdeps/i386/fpu/libm-test-ulps: Update.
1792         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1794 2013-12-18  Ondřej Bílka  <neleai@seznam.cz>
1796         * manual/probes.texi: Remove cases when per-thread arenas are
1797         disabled.
1799 2013-12-18  Andreas Schwab  <schwab@suse.de>
1801         * sysdeps/i386/i686/multiarch/strstr.c: Remove.
1802         * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
1803         * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
1804         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
1805         * sysdeps/i386/i686/multiarch/Makefile: Update.
1806         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
1808 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
1810         * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
1811         * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
1813 2013-12-17  Paul Eggert  <eggert@cs.ucla.edu>
1815         [BZ #15968]
1816         Support TZ transition times < 00:00:00.
1817         This is needed for version-3 tz-format files; it supports time
1818         stamps past 2037 for America/Godthab (the only entry in the tz
1819         database for which this change is relevant).
1820         * manual/time.texi (TZ Variable): Document transition times
1821         from -167:59:59 through -00:00:01.
1822         * time/tzset.c (tz_rule): Time of day is now signed.
1823         (__tzset_parse_tz): Parse negative time of day.
1825         Document TZ transition times >= 25:00:00.
1826         * manual/time.texi (TZ Variable): Document transition times from
1827         25:00:00 through 167:59:59.  These are already supported, and this
1828         support will help with version-3 tz-format files.
1830         * manual/time.texi (TZ Variable): Modernize North America example
1831         to reflect current (i.e., 2007-and-later) daylight saving rules.
1833         * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
1835 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
1837         * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
1838         * sysdeps/unix/bsd/bits/stat.h: Likewise.
1839         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
1840         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
1841         * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
1842         * sysdeps/unix/bsd/bsdstat.h: Likewise.
1843         * sysdeps/unix/bsd/clock.c: Likewise.
1844         * sysdeps/unix/bsd/i386/vfork.S: Likewise.
1845         * sysdeps/unix/bsd/i386/wait3.S: Likewise.
1846         * sysdeps/unix/bsd/init-posix.c: Likewise.
1847         * sysdeps/unix/bsd/poll.c: Likewise.
1848         * sysdeps/unix/bsd/ptsname.c: Likewise.
1849         * sysdeps/unix/bsd/seekdir.c: Likewise.
1850         * sysdeps/unix/bsd/setegid.c: Likewise.
1851         * sysdeps/unix/bsd/seteuid.c: Likewise.
1852         * sysdeps/unix/bsd/setgid.c: Likewise.
1853         * sysdeps/unix/bsd/setrgid.c: Likewise.
1854         * sysdeps/unix/bsd/setruid.c: Likewise.
1855         * sysdeps/unix/bsd/setsid.c: Likewise.
1856         * sysdeps/unix/bsd/setuid.c: Likewise.
1857         * sysdeps/unix/bsd/sigaction.c: Likewise.
1858         * sysdeps/unix/bsd/sigprocmask.c: Likewise.
1859         * sysdeps/unix/bsd/sigsuspend.c: Likewise.
1860         * sysdeps/unix/bsd/sys/reboot.h: Likewise.
1861         * sysdeps/unix/bsd/telldir.c: Likewise.
1862         * sysdeps/unix/bsd/times.c: Likewise.
1863         * sysdeps/unix/bsd/usleep.c: Likewise.
1865         * misc/Makefile (install-lib): Remove libbsd-compat.a.
1866         ($(objpfx)libbsd-compat.a): Remove rule.
1868         * include/features.h (__FAVOR_BSD): Do not define.
1869         * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
1870         features conflicting with POSIX.
1871         (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
1872         (_BSD_SOURCE): Remove description of not being a subset of other
1873         feature test macros.
1874         * manual/job.texi (getpgrp): Do not document BSD version.
1875         (getpgid): Do not document by reference to BSD getpgrp.
1876         * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
1877         * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
1878         * signal/signal.h [__FAVOR_BSD]: Likewise.
1879         * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
1880         instead of making contents conditional on [__FAVOR_BSD].
1881         * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
1883 2013-12-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1885         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1887 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
1889         [BZ #16314]
1890         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
1891         values below 2**-450, not 2**-500.
1892         * math/auto-libm-test-in: Don't allow spurious underflow from
1893         hypot.
1894         * math/auto-libm-test-out: Regenerated.
1896         [BZ #16316]
1897         [BZ #16330]
1898         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
1899         values of ha and hb and sort them after adjusting subnormal
1900         arguments.
1901         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
1902         Likewise.
1903         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
1904         values of ea and eb and sort them after adjusting subnormal
1905         arguments.
1906         * math/auto-libm-test-in: Do not expect some hypot tests of
1907         subnormals to fail.  Add more hypot tests.
1908         * math/auto-libm-test-out: Regenerated.
1910 2013-12-16  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
1912         [BZ #13304]
1913         * sysdeps/sh/s_fma.c: New file.
1914         * sysdeps/sh/s_fmaf.c: New file.
1915         * sysdeps/sh/soft-fp/sfp-machine.h: New file.  Based on arm
1916         version.
1917         * sysdeps/sh/Implies: Add sh/soft-fp.
1919 2013-12-16  Roland McGrath  <roland@hack.frob.com>
1921         * elf/dl-error.c (struct catch): Add new member `errcode'.  Add a
1922         level of indirection to members `objname', `errstring', `malloced'.
1923         (_dl_signal_error): Store through pointers in *LCATCH rather modifying
1924         *LCATCH itself.  Set *LCATCH->errcode to ERRCODE rather than passing
1925         it as the __longjmp argument (just pass 1 instead).
1926         (_dl_catch_error): Initialize C with argument pointers and address of
1927         volatile local ERRCODE rather than copying values out of C at return.
1929 2013-12-16  Joseph Myers  <joseph@codesourcery.com>
1931         * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
1932         * math/auto-libm-test-out: Regenerated.
1933         * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
1934         (hypot_test_data): Likewise.
1935         (pow_test_data): Likewise.
1936         (pow_tonearest_test_data): Likewise.
1937         * math/gen-auto-libm-tests.c (func_calc_method): Add value
1938         mpfr_ff_f.
1939         (func_calc_desc): Add mpfr_ff_f union field.
1940         (FUNC_mpfr_ff_f): New macro.
1941         (test_functions): Add atan2, hypot and pow.
1942         (special_fill_min): New function.
1943         (special_fill_minus_min): Likewise.
1944         (special_fill_min_subnorm): Likewise.
1945         (special_fill_minus_min_subnorm): Likewise.
1946         (special_real_inputs): Add min, -min, min_subnorm and
1947         -min_subnorm.
1948         (calc_generic_results): Handle mpfr_ff_f.
1949         * sysdeps/i386/fpu/libm-test-ulps: Update.
1950         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1952 2013-12-16  Will Newton  <will.newton@linaro.org>
1954         * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
1955         (Aligned Memory Blocks): Add documentation for aligned_alloc
1956         and suggest it as an alternative to posix_memalign.
1957         (Hooks for Malloc): Document __memalign_hook is also called
1958         for aligned_alloc.  (Summary of Malloc): Add summary for
1959         aligned alloc.  Document __memalign_hook is also called
1960         for aligned_alloc.
1962 2013-12-16  Will Newton  <will.newton@linaro.org>
1964         * manual/memory.texi (Malloc Examples): Clarify default
1965         alignment documentation.  Suggest posix_memalign rather
1966         than memalign or valloc.
1967         (Aligned Memory Blocks): Remove suggestion to use memalign
1968         or valloc.  Remove obsolete comment about BSD.
1969         Document memalign errno values and mark the function obsolete.
1970         Document posix_memalign returned error codes.  Mark valloc
1971         as obsolete.  (Hooks for Malloc): __memalign_hook is also
1972         called for posix_memalign and valloc.
1973         (Summary of Malloc): Add posix_memalign to function summary.
1974         __memalign_hook is also called for posix_memalign and valloc.
1976 2013-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
1978         * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
1979         TAYLOR_SIN.
1980         (__sin): Adjust.
1981         (__cos): Likewise.
1982         (sloww): Use mynumber union.  Expand ternary operator into
1983         if-else statements.
1984         (cslow): use mynumber union.
1986 2013-12-16  Allan McRae  <allan@archlinux.org>
1988         * configure.ac: Set AUTOCONF when maintainer-mode is not used.
1989         * configure: Regenerated.
1991         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
1993         [BZ #14120]
1994         * configure.ac: Added --enable-maintainer-mode. Check for
1995         autoconf when enabled.
1996         * configure: Regenerated.
1998         * nscd/nscd.service: New file.
1999         * nscd/nscd.tmpfiles: New file.
2001 2013-12-14  Ondřej Bílka  <neleai@seznam.cz>
2003         [BZ #12100]
2004         * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
2005         * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
2006         * sysdeps/x86_64/multiarch/strstr.c: ... here.
2007         (strstr): Add __strstr_sse2_unaligned ifunc.
2008         * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
2009         * sysdeps/x86_64/multiarch/strcasestr.c ... here.
2010         (strcasestr): Remove __strcasestr_sse42 ifunc.
2011         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
2012         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
2013         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
2015 2013-12-14  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
2017         * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
2018         * sysdeps/sh/bits/fenv.h: ... here.
2019         * sysdeps/sh/sh4/fpu/bits: Remove directory.
2021 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2023         * NEWS: Mention ppc64 STT_GNU_IFUNC support.
2025 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2027         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
2028         hypotf multiarch implementations.
2029         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
2030         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
2031         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
2032         multiarch hypot for PPC64.
2033         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
2034         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
2035         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
2036         multiarch hypotf for PPC64.
2038 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2040         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
2041         modff multiarch implementations.
2042         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
2043         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
2044         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
2045         multiarch modf for PPC64.
2046         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
2047         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
2048         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
2049         multiarch modff for PPC64.
2051 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2053         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
2054         and logl multiarch implementations.
2055         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
2056         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
2057         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
2058         multiarch logb for PPC64.
2059         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
2060         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
2061         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
2062         multiarch logb for PPC64.
2063         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
2064         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
2065         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
2066         multiarch logb for PPC64.
2068 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2070         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
2071         isinff multiarch implementation.
2072         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
2073         file.
2074         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
2075         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
2076         multiarch isinf for PPC64.
2077         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
2078         file.
2079         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
2080         multiarch isinff for PPC64.
2082 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2084         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
2085         finitef multiarch implementation.
2086         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
2087         file.
2088         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
2089         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
2090         multiarch finite for PPC64.
2091         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
2092         file.
2093         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
2094         multiarch finitef for PPC64.
2096 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2098         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
2099         lrint multiarch implementation.
2100         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
2101         file.
2102         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
2103         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
2104         multiarch llrint for PPC64.
2105         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
2106         multiarch lrint for PPC64.
2108 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2110         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
2111         copysignf multiarch implementation.
2112         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
2113         file.
2114         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
2115         file.
2116         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
2117         multiarch copysign for PPC64.
2118         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
2119         multiarch copysignf for PPC64.
2121 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2123         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
2124         multiarch implementation.
2125         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
2126         file.
2127         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
2128         file.
2129         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
2130         file.
2131         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
2132         file.
2133         multiarch llround for PPC64.
2134         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
2135         multiarch trunc for PPC64.
2136         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
2137         multiarch truncf for PPC64.
2139 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2141         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
2142         multiarch implementation.
2143         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
2144         file.
2145         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
2146         file.
2147         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
2148         file.
2149         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
2150         file.
2151         multiarch llround for PPC64.
2152         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
2153         multiarch round for PPC64.
2154         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
2155         multiarch roundf for PPC64.
2157 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2159         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
2160         multiarch implementation.
2161         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
2162         file.
2163         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
2164         file.
2165         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
2166         file.
2167         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
2168         file.
2169         multiarch llround for PPC64.
2170         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
2171         multiarch floor for PPC64.
2172         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
2173         multiarch floorf for PPC64.
2175 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2177         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
2178         multiarch implementation.
2179         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
2180         file.
2181         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
2182         file.
2183         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
2184         file.
2185         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
2186         file.
2187         multiarch llround for PPC64.
2188         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
2189         multiarch ceil for PPC64.
2190         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
2191         multiarch ceilf for PPC64.
2193 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2195         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
2196         multiarch implementation.
2197         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
2198         file.
2199         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
2200         file.
2201         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
2202         file.
2203         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
2204         multiarch llround for PPC64.
2205         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
2206         multiarch lround for PPC64.
2208 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2210         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
2211         multiarch implementation.
2212         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
2213         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
2214         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
2215         file.
2216         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
2217         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
2218         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
2219         multiarch isnan for PPC64.
2220         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
2221         multiarch isnanf for PPC64.
2223 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2225         * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
2226         * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
2227         * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
2228         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
2229         * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
2230         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
2232 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2234         * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
2235         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
2236         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
2237         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
2239 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2241         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
2242         multiarch implementations.
2243         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2244         (__libc_ifunc_impl_list): Likewise.
2245         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
2246         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
2247         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
2248         multiarch stpcpy for PPC64.
2250 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2252         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
2253         multiarch implementations.
2254         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2255         (__libc_ifunc_impl_list): Likewise.
2256         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
2257         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
2258         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
2259         multiarch strcpy for PPC64.
2261 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2263         * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
2264         redefine function name.
2265         (_wordcopy_fwd_dest_aligned): Likewise.
2266         (_wordcopy_bwd_aligned): Likewise.
2267         (_wordcopy_bwd_dest_aligned): Likewise.
2268         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
2269         multiarch implementations.
2270         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2271         (__libc_ifunc_impl_list): Likewise.
2272         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
2273         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
2274         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
2275         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
2276         multiarch wcscpy for PPC64.
2278 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2280         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
2281         multiarch implementations.
2282         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2283         (__libc_ifunc_impl_list): Likewise.
2284         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
2285         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
2286         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
2287         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
2288         multiarch wcscpy for PPC64.
2290 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2292         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
2293         multiarch implementations.
2294         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2295         (__libc_ifunc_impl_list): Likewise.
2296         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
2297         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
2298         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
2299         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
2300         multiarch wcsrchr for PPC64.
2302 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2304         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
2305         multiarch implementations.
2306         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2307         (__libc_ifunc_impl_list): Likewise.
2308         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
2309         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
2310         * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
2311         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
2312         multiarch wcschr for PPC64.
2314 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2316         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
2317         multiarch implementations.
2318         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2319         (__libc_ifunc_impl_list): Likewise.
2320         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
2321         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
2322         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
2323         multiarch strchrnul for PPC64.
2325 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2327         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
2328         implementations.
2329         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2330         (__libc_ifunc_impl_list): Likewise.
2331         * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
2332         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
2333         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
2334         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
2335         strchr for PPC64.
2337 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2339         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
2340         implementations.
2341         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2342         (__libc_ifunc_impl_list): Likewise.
2343         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
2344         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
2345         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
2346         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
2347         strncmp for PPC64.
2349 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2351         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
2352         multiarch implementations.
2353         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2354         (__libc_ifunc_impl_list): Likewise.
2355         * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
2356         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
2357         strncasecmp for PPC64.
2358         * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
2359         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
2360         multiarch strncasecmp_l for PPC64.
2362 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2364         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
2365         multiarch implementations.
2366         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
2367         (__libc_ifunc_impl_list): Likewise.
2368         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
2369         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
2370         multiarch strcasecmp for PPC64.
2371         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
2372         file.
2373         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
2374         multiarch strcasecmp_l for PPC64.
2376 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2378         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
2379         implementations.
2380         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2381         (__libc_ifunc_impl_list): Likewise.
2382         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
2383         * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
2384         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
2385         strnlen for PPC64.
2387 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2389         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
2390         implementations.
2391         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2392         (__libc_ifunc_impl_list): Likewise.
2393         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
2394         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
2395         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
2396         strlen for PPC64.
2398 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2400         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
2401         implementations.
2402         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2403         (__libc_ifunc_impl_list): Likewise.
2404         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
2405         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
2406         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
2407         rawmemrchr for PPC64.
2409 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2411         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
2412         implementation.
2413         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2414         (__libc_ifunc_impl_list): Likewise.
2415         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
2416         * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
2417         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
2418         memrchr for PPC64.
2420 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2422         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
2423         implementation.
2424         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2425         (__libc_ifunc_impl_list): Likewise.
2426         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
2427         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
2428         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
2429         memchr for PPC64.
2431 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2433         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
2434         implementation.
2435         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2436         (__libc_ifunc_impl_list): Likewise.
2437         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
2438         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
2439         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
2440         mempcpy for PPC64.
2442 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2444         * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
2445         avoid cretion of __bzero symbol.
2446         * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
2447         Likewise.
2448         * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
2449         Likewise.
2450         * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
2451         Likewise.
2452         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
2453         multiarch implementations.
2454         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2455         (__libc_ifunc_impl_list): Likewise.
2456         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
2457         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
2458         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
2459         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
2460         bzero for PPC32.
2461         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
2462         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
2463         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
2464         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
2465         * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
2466         memset for PPC64.
2467         * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
2469 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2471         * string/memcmp.c (memcmp): Using macro to redefine symbol name.
2472         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
2473         implementations.
2474         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2475         (__libc_ifunc_impl_list): Likewise.
2476         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
2477         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
2478         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
2479         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
2480         memcmp for PPC64.
2482 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2484         * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
2485         multiarch for POWER/PPC64.
2486         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
2487         * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
2488         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
2489         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
2490         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
2491         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
2492         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
2493         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
2494         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
2495         memcpy for PPC64.
2497 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2499         * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
2500         * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
2501         * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
2502         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
2503         * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
2504         * sysdeps/powerpc/powerpc64/power5/Implies: New File.
2505         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
2506         * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
2507         * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
2508         * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
2509         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
2510         * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
2511         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
2512         * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
2513         * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
2514         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
2515         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
2516         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
2517         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
2518         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
2519         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
2520         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
2522 2013-12-12  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
2524         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
2526 2013-12-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
2528         * benchtests/Makefile (bench): Add exp2 and log2.
2529         (LDLIBS-bench-exp2): Add -lm.
2530         (LDLIBS-bench-log2): Likewise.
2531         * benchtests/exp2-inputs: New inputs file.
2532         * benchtests/log2-inputs: New inputs file.
2533         * benchtests/log-inputs: Add new inputs.
2534         * benchtests/tan-inputs: Likewise.
2536 2013-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
2538         * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
2539         definition...
2540         (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2,
2541         csloww1, csloww2): ... from here.
2543         * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
2544         instead of structures.
2545         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
2546         (POLYNOMIAL): Likewise.
2547         (TAYLOR_SLOW): Likewise.
2548         (__sin): Likewise.
2549         (__cos): Likewise.
2550         (slow1): Likewise.
2551         (slow2): Likewise.
2552         (sloww): Likewise.
2553         (sloww1); Likewise.
2554         (sloww2): Likewise.
2555         (bsloww1): Likewise.
2556         (bsloww2): Likewise.
2557         (cslow2): Likewise.
2558         (csloww): Likewise.
2559         (csloww1): Likewise.
2560         (csloww2): Likewise.
2562 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
2564         * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
2565         (__malloc_assert, __libc_realloc, __libc_calloc,
2566         _int_realloc): Expand MALLOC_COPY and MALLOC_ZERO to
2567         memcpy and memset.
2568         * malloc/hooks.c (realloc_check): Likewise.
2570 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
2572         * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
2573         * malloc/arena.c: Remove PER_THREAD conditional.
2574         [!PER_THREAD]: Remove code.
2575         (ptmalloc_unlock_all2): Likewise.
2576         (ptmalloc_init): Likewise.
2577         (_int_new_arena): Likewise.
2578         (arena_get2): Likewise.
2579         * malloc/hooks.c (__malloc_get_state): Likewise.
2580         (__malloc_set_state): Likewise.
2581         * malloc/malloc.c: Likewise.
2582         (struct malloc_state): Likewise.
2583         (struct malloc_par): Likewise.
2584         (__libc_realloc): Likewise.
2585         (__libc_mallopt): Likewise.
2587 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2589         * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
2591 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
2593         * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
2594         macro to a function.  Check for zero perturb_byte.
2595         (_int_malloc, _int_free): Remove zero perturb_byte checks.
2597 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
2599         * malloc/malloc.c: (force_reg): Remove.
2600         (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc,
2601         _mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
2602         force_reg by atomic_forced_read.
2603         * malloc/arena.c (ptmalloc_init): Likewise.
2604         * malloc/hooks.c (top_check): Likewise.
2606 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2608         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2610 2013-12-09  Markus Trippelsdorf  <markus@trippelsdorf.de>
2612         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2614 2013-12-08  Joseph Myers  <joseph@codesourcery.com>
2616         * math/auto-libm-test-in: Add tests of lgamma.
2617         * math/auto-libm-test-out: Regenerated.
2618         * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
2619         (M_LOG_2_SQRT_PIl): Likewise.
2620         (lgamma_test_data): Use AUTO_TESTS_f_f1.
2621         * math/gen-auto-libm-tests.c (func_calc_method): Add value
2622         mpfr_f_f1.
2623         (func_calc_desc): Add mpfr_f_f1 union field.
2624         (ARGS1): New macro.
2625         (ARGS2): Likewise.
2626         (ARGS3): Likewise.
2627         (ARGS4): Likewise.
2628         (RET1): Likewise.
2629         (RET2): Likewise.
2630         (CALC): Likewise.
2631         (FUNC): Likewise.
2632         (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
2633         (test_functions): Add lgamma.
2634         (calc_generic_results): Handle mpfr_f_f1.
2635         * sysdeps/i386/fpu/libm-test-ulps: Update.
2636         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2638 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2640         * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
2641         __mpn_add_n for PowerPC64/POWER7.
2642         * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
2643         __mpn_sub_n for PowerPC64/POWER7.
2645 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2647         * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
2648         __mpn_addmul_1 for PowerPC64.
2649         * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
2650         __mpn_submul_1 for PowerPC64.
2651         * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
2652         for PowerPC64.
2653         * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
2654         for PowerPC64.
2656 2013-12-06  Fernando J. V. da Silva  <fernandojvdasilva@gmail.com>
2658         [BZ #15089]
2659         * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
2661 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2663         * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
2665 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2667         * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
2668         add multiarch folders.
2669         * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
2670         * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
2671         * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
2672         * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
2673         * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
2674         * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
2675         * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
2676         * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
2677         * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
2678         * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
2679         * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
2680         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
2681         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
2682         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
2683         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
2684         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
2685         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
2687 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2689         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
2690         __ieee754_hypot and __ieee754_hypotf multiarch implementations.
2691         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
2692         New file.
2693         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
2694         New file.
2695         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
2696         multiarch __ieee754_hypot for PowerPC32.
2697         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
2698         New file.
2699         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
2700         New file.
2701         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
2702         multiarch __ieee754_hypotf for PowerPC32.
2704 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2706         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
2707         long_double_symbol only if __logbl is defined.
2708         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
2709         * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
2710         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
2711         * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
2712         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
2713         * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
2714         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
2715         path for implementation.
2716         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
2717         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
2718         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
2719         logb, and logbl multiarch implementations for PowerPC32.
2720         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
2721         file.
2722         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
2723         file.
2724         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
2725         multiarch logb for PowerPC32.
2726         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
2727         file.
2728         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
2729         file.
2730         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
2731         multiarch logbf for PowerPC32.
2732         * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
2733         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
2734         file.
2735         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
2736         multiarch logbl implementation for PowerPC32.
2738 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2740         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
2741         and modff multiarch implementations.
2742         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
2743         New file.
2744         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
2745         New file.
2746         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
2747         multiarch modf for PowerPC32.
2748         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
2749         New file.
2750         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
2751         New file.
2752         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
2753         multiarch modff for PowerPC32.
2755 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2757         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
2758         and lrintf multiarch implementations.
2759         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
2760         New file.
2761         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
2762         New file.
2763         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
2764         multiarch lrint for PowerPC32.
2765         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
2766         file: multiarch lrintf for PowerPC32.
2768 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2770         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
2771         and lroundf multiarch implementations.
2772         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
2773         New file.
2774         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
2775         New file.
2776         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
2777         New file.
2778         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
2779         multiarch lround for PowerPC32.
2780         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
2781         file: multiarch lroundf for PowerPC32.
2783 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2785         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
2786         copysign and copysignf multiarch implementations.
2787         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
2788         New file.
2789         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
2790         New file.
2791         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
2792         file: multiarch copysign for PowerPC32.
2793         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
2794         file: multiarch copysignf for PowerPC32.
2796 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2798         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
2799         and truncf multiarch implementations.
2800         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
2801         New file.
2802         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
2803         file.
2804         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
2805         multiarch trunc for PowerPC32.
2806         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
2807         New file.
2808         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
2809         New file.
2810         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
2811         multiarch truncf for PowerPC32.
2813 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2815         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
2816         and roundf multiarch implementations.
2817         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
2818         New file.
2819         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
2820         file.
2821         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
2822         multiarch round for PowerPC32.
2823         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
2824         New file.
2825         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
2826         New file.
2827         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
2828         multiarch roundf for PowerPC32.
2830 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2832         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
2833         and floorf multiarch implementations.
2834         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
2835         New file.
2836         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
2837         file.
2838         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
2839         multiarch floor for PowerPC32.
2840         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
2841         New file.
2842         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
2843         New file.
2844         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
2845         multiarch floorf for PowerPC32.
2847 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2849         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
2850         and ceilf multiarch implementations.
2851         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
2852         New file.
2853         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
2854         file.
2855         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
2856         multiarch ceil for PowerPC32.
2857         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
2858         New file.
2859         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
2860         file.
2861         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
2862         multiarch ceilf for PowerPC32.
2864 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2866         * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
2867         is defined.
2868         * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
2869         FINITEF is defined.
2870         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
2871         and finitef multiarch implementations.
2872         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
2873         New file.
2874         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
2875         file.
2876         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
2877         multiarch finite for PowerPC32.
2878         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
2879         New file.
2880         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
2881         file: multiarch finitef for PowerPC32.
2883 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2885         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
2886         and isinff multiarch implementations.
2887         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
2888         file.
2889         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
2890         file.
2891         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
2892         multiarch isinf for PowerPC32.
2893         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
2894         New file.
2895         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
2896         multiarch isinff for PowerPC32.
2898 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2900         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
2901         alias when __isnan is defined.
2902         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
2903         and isnanf multiarch implementations.
2904         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
2905         file.
2906         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
2907         file.
2908         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
2909         file.
2910         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
2911         file.
2912         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
2913         multiarch isnan for PowerPC32.
2914         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
2915         New file.
2916         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
2917         New file.
2918         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
2919         multiarch isnanf for PowerPC32.
2921 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2923         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
2924         and sqrtf multiarch implementations.
2925         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
2926         file.
2927         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
2928         file.
2929         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
2930         multiarch sqrt for PowerPC32.
2931         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
2932         file.
2933         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
2934         file.
2935         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
2936         multiarch sqrtf for PowerPC32.
2938 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2940         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
2941         and llroundf multiarch implementations.
2942         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
2943         New file.
2944         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
2945         New file.
2946         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
2947         New file.
2948         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
2949         file: multiarch llround for PowerPC32.
2950         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
2951         file: multiarch llroundf for PowerPC32.
2953 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2955         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
2956         multiarch PowerPC32 fpu implementations.
2957         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
2958         New file.
2959         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
2960         New file.
2961         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
2962         multiarch llrint for PowerPC32.
2963         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
2964         New file.
2965         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
2966         New file.
2967         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
2968         file.
2970 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2972         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
2974 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2976         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
2977         file.
2978         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
2979         file.
2980         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
2981         file.
2982         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
2983         multiarch wordcopy for PPC32.
2984         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
2985         wordcopy objects.
2986         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
2987         (__libc_ifunc_impl_list): Likewise.
2988         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
2989         * sysdeps/powerpc/power4/wordcopy.c: ... to here.
2990         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
2991         * sysdeps/powerpc/power6/wordcopy.c: ... to here.
2992         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
2993         * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
2995 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2997         * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
2998         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
2999         file.
3000         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
3001         file.
3002         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
3003         file.
3004         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
3005         multiarch wcscpy for PPC32.
3006         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
3007         multiarch objects.
3008         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
3009         (__libc_ifunc_impl_list): Likewise.
3010         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
3011         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
3012         * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
3013         sysdeps/powerpc/power6/wcscpy.c.
3015 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3017         * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
3018         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
3019         file.
3020         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
3021         file.
3022         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
3023         file.
3024         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
3025         multiarch wcsrchr for PPC32.
3026         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
3027         multiarch objects.
3028         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
3029         (__libc_ifunc_impl_list): Likewise.
3030         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
3031         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
3032         * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
3033         sysdeps/powerpc/power6/wcsrchr.c.
3035 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3037         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
3038         file.
3039         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
3040         file.
3041         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
3042         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
3043         multiarch wcschr for PPc32.
3044         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
3045         multiarch objects.
3046         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
3047         (__libc_ifunc_impl_list): Likewise.
3048         * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
3049         * sysdeps/powerpc/power6/wcschr.c: ... to here.
3050         * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
3051         sysdeps/powerpc/power6/wcschr.c.
3053 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3055         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
3056         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
3057         file.
3058         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
3059         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
3060         file: multiarch strchr for PPC32.
3061         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
3062         multiarch objects.
3063         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
3064         (__libc_ifunc_impl_list): Likewise.
3066 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3068         * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
3069         name.
3070         * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
3071         file.
3072         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
3073         file.
3074         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
3075         multiarch strchrnul for PPC32.
3076         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
3077         multiarch objects.
3078         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
3079         (__libc_ifunc_impl_list): Likewise.
3081 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3083         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
3084         file.
3085         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
3086         multiarch strncasecmp for PPC32.
3087         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
3088         file.
3089         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
3090         multiarch strncasecmp_l for PPC32.
3091         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
3092         strncasecmp multiarch objects.
3093         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
3094         (__libc_ifunc_impl_list): Likewise.
3096 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3098         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
3099         file.
3100         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
3101         multiarch strncasecmp for PPC32.
3102         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
3103         New file.
3104         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
3105         multiarch strcasecmp_l for PPC32.
3106         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
3107         multiarch objects.
3108         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
3109         (__libc_ifunc_impl_list): Likewise.
3111 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3113         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
3114         file.
3115         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
3116         file.
3117         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
3118         multiarch strncmp for PPC32.
3119         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
3120         multiarch objects.
3121         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
3122         (__libc_ifunc_impl_list): Likewise.
3124 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3126         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
3127         * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
3128         file.
3129         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
3130         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
3131         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
3132         multiarch objects.
3133         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
3134         (__libc_ifunc_impl_list): Likewise.
3136 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3138         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
3139         file.
3140         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
3141         file.
3142         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
3143         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
3144         multiarch objects.
3145         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
3146         (__libc_ifunc_impl_list): Likewise.
3148 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3150         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
3151         file.
3152         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
3153         file.
3154         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
3155         multiarch rawmemchr for PPC32.
3156         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
3157         multiarch objects.
3158         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
3159         (__libc_ifunc_impl_list): Likewise.
3161 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3163         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
3164         file.
3165         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
3166         file.
3167         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
3168         file: memrchr multiarch for PPC32.
3169         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
3170         multiarch objects.
3171         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
3172         (__libc_ifunc_impl_list): Likewise.
3174 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3176         * string/memchr.c (__memchr): Using macro to redefine symbol name.
3177         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
3178         file.
3179         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
3180         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
3181         multiarch memchr for PPC32.
3182         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
3183         multiarch objects.
3184         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
3185         (__libc_ifunc_impl_list): Likewise.
3187 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3189         * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
3190         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
3191         file.
3192         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
3193         file.
3194         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
3195         file: multiarch mempcpy for PPC32.
3196         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
3197         multiarch objects.
3198         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
3199         (__libc_ifunc_impl_list): Likewise.
3201 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3203         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
3204         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
3205         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
3206         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
3207         multiarch bzero for PPC32.
3208         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
3209         file.
3210         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
3211         file.
3212         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
3213         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
3214         file: multiarch memset for PPC32.
3215         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
3216         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
3217         memset multiarch objects.
3218         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
3219         (__libc_ifunc_impl_list): Likewise.
3221 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3223         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
3224         file.
3225         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
3226         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
3227         memcmp for PPC32.
3228         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
3229         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
3230         multiarch objects.
3231         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
3232         (__libc_ifunc_impl_list): Likewise.
3234 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3236         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
3237         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
3238         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
3239         file.
3240         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
3241         file.
3242         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
3243         file.
3244         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
3245         multiarch memcpy for PPC32.
3246         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
3247         multiarch objects.
3248         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
3249         (__libc_ifunc_impl_list): Likewise.
3251 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3253         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
3254         support multiarch for POWER/PPC32.
3255         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
3256         Likewise.
3257         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
3258         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
3259         Implies file to make multiarch folder appers before the fpu and
3260         default folder for power4 configuration.
3262 2013-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
3264         * scripts/bench.pl: Append volatile keyword to type.
3266 2013-12-05  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
3268         * sysdeps/sh/sotruss-lib.c: New file.
3269         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
3271 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3273         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3275 2013-12-05  Joseph Myers  <joseph@codesourcery.com>
3277         [BZ #6810]
3278         * math/w_tgamma.c: Include <errno.h>.
3279         (__tgamma): Use __glibc_unlikely.  Set errno on underflow to 0.
3280         * math/w_tgammaf.c: Include <errno.h>.
3281         (__tgammaf): Use __glibc_unlikely.  Set errno on underflow to 0.
3282         * math/w_tgammal.c: Include <errno.h>.
3283         (__tgammal): Use __glibc_unlikely.  Set errno on underflow to 0.
3284         * math/auto-libm-test-in: Do not allow missing errno on tgamma
3285         underflow.  Add more tgamma tests.
3286         * math/auto-libm-test-out: Regenerated.
3287         * sysdeps/i386/fpu/libm-test-ulps: Update.
3288         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3290         * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
3291         sin, sinh, tan, tanh, tgamma, y0 and y1.
3292         * math/auto-libm-test-out: Regenerated.
3293         * math/libm-test.inc (TEST_COND_x86_64): New macro.
3294         (TEST_COND_x86): Likewise.
3295         (M_E2l): Remove macro.
3296         (M_E3l): Likewise.
3297         (M_2_SQRT_PIl): Likewise.
3298         (M_SQRT_PIl): Likewise.
3299         (M_1_DIV_El): Likewise.
3300         (log_test_data): Use AUTO_TESTS_f_f.
3301         (log10_test_data): Likewise.
3302         (log1p_test_data): Likewise.
3303         (log2_test_data): Likewise.
3304         (sin_test_data): Likewise.
3305         (sin_tonearest_test_data): Likewise.
3306         (sin_towardzero_test_data): Likewise.
3307         (sin_downward_test_data): Likewise.
3308         (sin_upward_test_data): Likewise.
3309         (sinh_test_data): Likewise.
3310         (sinh_tonearest_test_data): Likewise.
3311         (sinh_towardzero_test_data): Likewise.
3312         (sinh_downward_test_data): Likewise.
3313         (sinh_upward_test_data): Likewise.
3314         (tan_test_data): Likewise.
3315         (tan_tonearest_test_data): Likewise.
3316         (tan_towardzero_test_data): Likewise.
3317         (tan_downward_test_data): Likewise.
3318         (tan_upward_test_data): Likewise.
3319         (tanh_test_data): Likewise.
3320         (tgamma_test_data): Likewise.
3321         (y0_test_data): Likewise.
3322         (y1_test_data): Likewise.
3323         * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
3324         (special_real_inputs): Add pi/4.
3325         * sysdeps/i386/fpu/libm-test-ulps: Update.
3326         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3328 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3330         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
3331         "longjmp_target" static probes.
3332         (__longjmp): Rename to __longjmp_symbol.
3333         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
3334         * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
3335         on which longjmp to generate.
3336         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
3337         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
3338         probe.
3339         (__sigsetjmp): Rename to __sigsetjmp_symbol.
3340         (__sigjmp_save): Rename to __sigjmp_save_symbol.
3341         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
3342         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
3343         and __sigjmp_save_symbol based on which sigsetjmp to generated.
3344         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
3345         * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
3346         __longjmp_symbol based on which __longjmp to generate.
3347         * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
3348         probe.
3349         (setjmp): Rename to setjmp_symbol.
3350         (__sigsetjmp): Rename to __sigsetjmp_symbol.
3351         (_setjmp): Rename to _setjmp_symbol.
3352         (__sigsetjmp): Rename to __sigsetjmp_symbol.
3353         * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
3354         _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
3355         which setjmp to generate.
3356         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
3357         "longjmp_target" static probes.
3359 2013-12-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
3361         * benchtests/README: Add note about output arguments.
3362         * benchtests/bench-sincos.c: Remove file.
3363         * benchtests/sincos-inputs: New file.
3364         * scripts/bench.pl: Identify output arguments and define
3365         static variables for them.
3367         * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
3369         [BZ #15941]
3370         * Makefile (INSTALL): Add install-plain.texi as the primary
3371         dependency.
3372         * manual/install-plain.texi: New file.
3373         * manual/install.texi: Include node directive only for
3374         non-plaintext output.
3376 2013-12-04  Joseph Myers  <joseph@codesourcery.com>
3378         * stdlib/longlong.h: Update from GCC.
3380         [BZ #6807]
3381         [BZ #15901]
3382         * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
3383         * math/w_j0f.c (y0f): Likewise.
3384         * math/w_j0l.c (__y0l): Likewise.
3385         * math/w_j1.c (y1): Likewise.
3386         * math/w_j1f.c (y1f): Likewise.
3387         * math/w_j1l.c (__y1l): Likewise
3388         * math/w_jn.c (yn): Likewise.
3389         * math/w_jnf.c (ynf): Likewise.
3390         * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
3391         Bessel function pole errors in _POSIX_ mode.  Use NAN as return
3392         value for Bessel function domain errors outside _SVID_ mode.
3393         Adjust sign of return value for yn (negative integer, 0).
3394         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
3395         by zero in return for negative x and set sign appropriately for
3396         negative n.
3397         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
3398         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
3399         * math/libm-test.inc (y0_test_data): Add more tests and adjust
3400         expectations in error cases.
3401         (y1_test_data): Likewise.
3402         (yn_test_data): Likewise.
3403         * sysdeps/i386/fpu/libm-test-ulps: Update.
3404         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3406 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
3408         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
3409         "64" to "64-v1".  Add "64-v2".
3410         (abi-64-options): Rename to ...
3411         (abi-64-v1-options): ... this.   Redefine _CALL_ELF.
3412         (abi-64-condition): Rename to ...
3413         (abi-64-v1-condition): ... this.  Add _CALL_ELF check.,
3414         (abi-64-ld-soname): Rename to ...
3415         (abi-64-v1-ld-soname): ... this.
3416         (abi-64-v2-options): Define.
3417         (abi-64-v2-condition): Likewise.
3418         (abi-64-v2-ld-soname): Likewise.
3419         * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
3420         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
3421         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
3422         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
3423         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
3425 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
3426             Alan Modra  <amodra@gmail.com>
3428         * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
3429         New versions for use with the ELFv2 ABI.
3430         (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
3431         * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
3432         declaration.
3433         (struct La_ppc64v2_retval): Likewise.
3434         (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
3435         (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
3436         * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
3437         to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
3438         (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
3439         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
3440         Do not save or restore CR.
3441         (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
3442         (_dl_profile_resolve): Do no save or restore CR.  Support extended
3443         return values for ELFv2 ABI.  Fix location of FPR return registers.
3444         * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
3445         updated values for _CALL_ELF == 2.
3446         (La_regs, La_retval, int_retval): Likewise.
3448 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
3450         * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
3451         (FRAME_MIN_SIZE_PARM): Likewise.
3452         (FRAME_BACKCHAIN): Likewise.
3453         (FRAME_CR_SAVE): Likewise.
3454         (FRAME_LR_SAVE): Likewise.
3455         (FRAME_TOC_SAVE): Likewise.
3456         (FRAME_PARM_SAVE): Likewise.
3457         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
3458         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
3459         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
3460         (call_mcount_parm_offset): New macro.
3461         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
3462         (PROF): Use symbolic stack frame offsets.
3463         (TAIL_CALL_SYSCALL_ERROR): Likewise.
3464         * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
3465         Redefine in terms of FRAME_MIN_SIZE.
3466         (_dl_runtime_resolve): Use symbolic stack frame offsets.
3467         (_dl_profile_resolve): Likewise.  Update comment.
3468         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
3469         symbols stack frame offsets.
3470         (__sigsetjmp): Likewise.
3471         * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
3472         * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
3473         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
3474         * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
3476         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
3477         (FRAME_BACKCHAIN): Remove.
3478         (FRAME_CR_SAVE): Likewise.
3479         (FRAME_LR_SAVE): Likewise.
3480         (FRAME_COMPILER_DW): Likewise.
3481         (FRAME_LINKER_DW): Likewise.
3482         (FRAME_TOC_SAVE): Likewise.
3483         (FRAME_PARM_SAVE): Likewise.
3484         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
3485         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
3486         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
3487         * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
3488         (CHECK_SP): Use symbolic stack frame offsets.
3489         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
3490         zone" instead of caller's parameter save area for temp storage.
3491         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
3492         Likewise.  Also, use symbolic stack frame offsets.
3493         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
3494         stackblock): Redefine for _CALL_ELF == 2 to save parameters into
3495         our own stack frame instead of the caller's.
3496         (__socket): Use symbolic stack frame offsets.
3498 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
3499             Alan Modra  <amodra@gmail.com>
3501         * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
3502         Define.
3503         (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK,
3504         PPC64_LOCAL_ENTRY_OFFSET): Define.
3505         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
3506         New function.
3507         (elf_machine_fixup_plt): Call it.
3508         (elf_machine_plt_conflict): Likewise.  Add map, sym_map, and
3509         reloc arguments.
3510         (elf_machine_rela): Update call to elf_machine_plt_conflict.
3511         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve,
3512         _dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
3513         r2 before calling target.
3515 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
3516             Alan Modra  <amodra@gmail.com>
3518         * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
3519         (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
3520         versions of macros to support ELFv2 ABI.
3521         (LOCALENTRY): New macro.
3522         (ENTRY, EALIGN): Use it.
3523         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
3524         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
3525         fall through into ENTRY entry point.
3526         * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
3527         Only define if _CALL_ELF != 2.
3529         (elf_machine_matches_host): Verify ABI version matches.
3530         (RTLD_START): Use LOCALENTRY.
3531         (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
3532         (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
3533         (PLT_ENTRY_WORDS): New macro.
3534         (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
3535         (elf_machine_runtime_setup): Support ELFv2 ABI.
3536         (elf_machine_fixup_plt): Likewise.
3537         (elf_machine_plt_conflict): Likewise.
3538         (resolve_ifunc): Likewise.
3539         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
3540         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
3541         Likewise.
3542         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
3543         (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
3544         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
3545         (makecontext): Support ELFv2 ABI.
3546         * elf/elf.h (EF_PPC64_ABI): Define.
3548 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
3550         * sysdeps/powerpc/powerpc64/sysdep.h [ASSEMBLER] (PPC64_LOAD_FUNCPTR):
3551         New assembler macro.
3552         [ASSEMBLER] (ENTRY_1): Do not switch to .text section here ...
3553         [ASSEMBLER] (ENTRY): ... but instead here ...
3554         [ASSEMBLER] (EALIGN): ... and here.
3555         [!ASSEMBLER] (PPC64_LOAD_FUNCPTR): New macro.
3556         [!ASSEMBLER] (ENTRY_1): New macro; set up .opd entry.
3557         [!ASSEMBLER] (ENTRY_2): Use it.
3558         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
3559         ENTRY_2 changes.  Use PPC64_LOAD_FUNCPTR.
3560         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve,
3561         _dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
3562         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
3563         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
3564         Use PPC64_LOAD_FUNCPTR.
3566 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
3568         * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
3570 2013-12-04  Alan Modra  <amodra@gmail.com>
3572         * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
3573         (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
3574         (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
3575         (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
3577         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
3578         overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
3579         R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
3580         Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
3581         R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
3582         Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
3584 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
3586         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
3587         (__makecontext): Fix incorrect CFI when backtracing out of
3588         context created via makecontext.
3589         * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
3590         (__setcontext): Fix incorrect CFI during switch to new context.
3591         (__novec_setcontext): Likewise.
3593 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
3595         [BZ #4772]
3596         * time/strptime_l.c (__strptime_internal): Allow modifiers
3597         in strptime.
3598         * time/tst-strptime.c (day_tests): Add testcase.
3601 2013-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
3603         * scripts/bench.pl: Skip over blank lines.
3605 2013-12-04  Paul Eggert  <eggert@cs.ucla.edu>
3607         [BZ #926]
3608         * manual/time.texi (Calendar Time): Clarify what timezone functions
3609         use.
3611 2013-12-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3613         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3615 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
3617         * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
3618         implementation.
3619         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
3620         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
3621         * debug/memset_chk.c (__memset_chk): Likewise.
3622         * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
3623         * debug/strncpy_chk.c: Likewise.
3625 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
3627         [BZ #15268]
3628         [BZ #15425]
3629         * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
3630         (__ieee754_exp): For possibly underflowing results, check size of
3631         result and force underflow exception if required.
3632         * math/auto-libm-test-in: Add more tests of exp.
3633         * math/auto-libm-test-out: Regenerated.
3634         * sysdeps/i386/fpu/libm-test-ulps: Update.
3635         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3637         [BZ #16283]
3638         * math/w_exp2.c (__exp2): Handle a zero result as underflow.
3639         * math/w_exp2f.c (__exp2f): Likewise.
3640         * math/w_exp2l.c (__exp2l): Likewise.
3641         * math/auto-libm-test-in: Do not allow missing errno on exp2
3642         underflow.
3643         * math/auto-libm-test-out: Regenerated.
3645 2013-12-03  Ondřej Bílka  <neleai@seznam.cz>
3647         [BZ #16274]
3648         * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
3649         handle filename validation.
3650         * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
3651         (do_open): Delete.
3653 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
3655         [BZ #6786]
3656         * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
3657         (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
3658         * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
3659         <float.h>.
3660         (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
3661         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
3662         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
3663         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
3664         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
3665         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
3666         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
3667         * math/auto-libm-test-in: Don't allow missing errno from erfc.
3668         Add more erfc tests.
3669         * math/auto-libm-test-out: Regenerated.
3670         * sysdeps/i386/fpu/libm-test-ulps: Update.
3671         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3673         * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
3674         exp2, expm1, j0 and j1.
3675         * math/auto-libm-test-out: Regenerated.
3676         * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
3677         (erfc_test_data): Likewise.
3678         (exp_test_data): Likewise.
3679         (exp_tonearest_test_data): Likewise.
3680         (exp_towardzero_test_data): Likewise.
3681         (exp_downward_test_data): Likewise.
3682         (exp_upward_test_data): Likewise.
3683         (exp10_test_data): Likewise.
3684         (exp2_test_data): Likewise.
3685         (expm1_test_data): Likewise.
3686         (j0_test_data): Likewise.
3687         (j1_test_data): Likewise.
3688         * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
3689         (input_flag_type): Add flag_xfail_rounding.
3690         (input_flags): Add xfail-rounding.
3691         (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
3692         (output_for_one_input_case): Handle flag_xfail_rounding.
3693         * sysdeps/i386/fpu/libm-test-ulps: Update.
3694         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3696 2013-12-03  Aurelien Jarno  <aurelien@aurel32.net>
3698         [BZ #16289]
3699         * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
3700         division by 0.
3702 2013-12-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
3704         [BZ #16195]
3705         * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
3706         (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
3707         (STAP_PROBE0): New macro.
3708         (STAP_PROBE1): Likewise.
3709         (STAP_PROBE2): Likewise.
3710         (STAP_PROBE3): Likewise.
3711         (STAP_PROBE4): Likewise.
3713 2013-12-02  Ondřej Bílka  <neleai@seznam.cz>
3715         * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
3717 2013-12-02  Steve Ellcey  <sellcey@mips.com>
3719         * benchtests/Makefile (bench): Add sqrt.
3720         (LDLIBS-bench-sqrt): New.
3721         * benchtests/sqrt-input: New.
3723 2013-12-02  Pavel Simerda  <psimerda@redhat.com>
3725         * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
3726         (GAIH_EAI): Likewise.
3727         (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
3728         (gaih_inet): Likewise.
3729         (getaddrinfo): Don't use GAIH_EAI.
3731         * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
3732         (struct gaih): Remove definition.
3734 2013-12-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
3736         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
3737         Use HERRNOP directly.
3739 2013-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3741         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3743 2013-11-30  Joseph Myers  <joseph@codesourcery.com>
3745         * math/gen-auto-libm-tests.c (test_functions): Add more
3746         single-argument functions.
3747         (special_fill_pi_2): New function.
3748         (special_fill_minus_pi_2): Likewise.
3749         (special_fill_pi_6): Likewise.
3750         (special_fill_minus_pi_6): Likewise.
3751         (special_fill_pi_3): Likewise.
3752         (special_fill_2pi_3): Likewise.
3753         (special_fill_e): Likewise.
3754         (special_fill_1_e): Likewise.
3755         (special_fill_e_minus_1): Likewise.
3756         (special_real_inputs): Add more special inputs.
3757         (output_for_one_input_case): Do not require ERANGE on underflow to
3758         zero if round-to-nearest result does not underflow to zero, unless
3759         exact results required.
3760         * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
3761         atan, atanh, cbrt, cos and cosh.
3762         * math/auto-libm-test-out: Regenerated.
3763         * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
3764         (acos_tonearest_test_data): Likewise.
3765         (acos_towardzero_test_data): Likewise.
3766         (acos_downward_test_data): Likewise.
3767         (acos_upward_test_data): Likewise.
3768         (acosh_test_data): Likewise.
3769         (asin_test_data): Likewise.
3770         (asin_tonearest_test_data): Likewise.
3771         (asin_towardzero_test_data): Likewise.
3772         (asin_upward_test_data): Likewise.
3773         (asinh_test_data): Likewise.
3774         (atan_test_data): Likewise.
3775         (atanh_test_data): Likewise.
3776         (cbrt_test_data): Likewise.
3777         (cos_test_data): Likewise.
3778         (cos_tonearest_test_data): Likewise.
3779         (cos_towardzero_test_data): Likewise.
3780         (cos_downward_test_data): Likewise.
3781         (cos_upward_test_data): Likewise.
3782         (cosh_test_data): Likewise.
3783         (cosh_tonearest_test_data): Likewise.
3784         (cosh_towardzero_test_data): Likewise.
3785         (cosh_downward_test_data): Likewise.
3786         (cosh_upward_test_data): Likewise.
3787         * sysdeps/i386/fpu/libm-test-ulps: Update.
3788         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3790 2013-11-29  Joseph Myers  <joseph@codesourcery.com>
3792         [BZ #6787]
3793         * math/w_exp10.c (__exp10): Handle a zero result as underflow.
3794         * math/w_exp10f.c (__exp10f): Likewise.
3795         * math/w_exp10l.c (__exp10l): Likewise.
3796         * math/libm-test.inc (exp10_test_data): Add more tests and expect
3797         errno settings in existing tests.
3799         [BZ #14032]
3800         * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
3801         precision control set to double precision.
3802         * sysdeps/i386/fpu/w_sqrt.c: New file.
3803         * math/auto-libm-test-in: Add more tests.
3804         * math/auto-libm-test-out: Update.
3806         * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
3807         (sqrt_test_tonearest): New function.
3808         (sqrt_towardzero_test_data): New variable.
3809         (sqrt_test_towardzero): New function.
3810         (sqrt_downward_test_data): New variable.
3811         (sqrt_test_downward): New function.
3812         (sqrt_upward_test_data): New variable.
3813         (sqrt_test_upward): New function.
3814         (main): Call the new functions.
3816         * math/gen-auto-libm-tests.c: New file.
3817         * math/auto-libm-test-in: Likewise.
3818         * math/auto-libm-test-out: New generated file.
3819         * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
3820         variables.
3821         (%beautify): Add generated representations of zero.
3822         (top level): Set $auto_input and call parse_auto_input.
3823         (beautify): Remove trailing "f" from hex float constants.
3824         (parse_args): Handle XFAIL_TEST.
3825         (convert_condition): New function.
3826         (or_value): Likewise.
3827         (or_cond_value): Likewise.
3828         (generate_testfile): Handle AUTO_TESTS_* lines.
3829         (parse_auto_input): New function.
3830         * math/libm-test.inc (XFAIL_TEST): New macro.
3831         (ERRNO_UNCHANGED): Update value.
3832         (ERRNO_EDOM): Likewise.
3833         (ERRNO_ERANGE): Likewise.
3834         (IGNORE_RESULT): Likewise.
3835         (TEST_COND_flt_32): New macro.
3836         (TEST_COND_dbl_64): Likewise.
3837         (TEST_COND_ldbl_96_intel): Likewise.
3838         (TEST_COND_ldbl_96_m68k): Likewise.
3839         (TEST_COND_ldbl_128): Likewise.
3840         (TEST_COND_ldbl_128ibm): Likewise.
3841         (TEST_COND_long32): Likewise.
3842         (TEST_COND_long64): Likewise.
3843         (TEST_COND_before_rounding): Likewise.
3844         (TEST_COND_after_rounding): Likewise.
3845         (enable_test): Handle XFAIL_TEST flag.
3846         (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
3847         with finite results.
3848         * math/Makefile ($(objpfx)libm-test.stmp): Depend on
3849         auto-libm-test-out.
3851 2013-11-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
3852             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
3854         [BZ #16214]
3855         * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
3856         __tls_get_addr_internal instead of __tls_get_offset in order to
3857         avoid GOT pointer dependency.  Make rtld export
3858         __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
3859         __tls_get_addr since we are a __tls_get_offset platform.
3860         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
3861         GOT pointer being set up before.
3862         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
3864 2013-11-28  Joseph Myers  <joseph@codesourcery.com>
3866         * manual/math.texi (Errors in Math Functions): Document accuracy
3867         goals.
3869         [BZ #15004]
3870         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
3871         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
3872         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
3873         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
3874         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
3875         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
3876         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
3877         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
3878         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
3879         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
3880         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
3881         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
3882         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
3883         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
3884         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
3885         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
3887         * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
3888         * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
3889         * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
3890         * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
3891         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
3892         Likewise.
3893         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
3894         Likewise.
3895         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
3896         Likewise.
3897         * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
3898         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
3899         (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
3900         atomic-feupdateenv and flt-rounds.
3901         * sysdeps/powerpc/nofpu/Versions (libc): Add
3902         __atomic_feholdexcept, __atomic_feclearexcept,
3903         __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
3904         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
3905         (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
3906         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
3907         (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
3908         here.
3909         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
3910         Update.
3912         * manual/arith.texi (FP Exceptions): Document that exceptions may
3913         not be raised when matherr is used.
3914         (Math Error Reporting): Document overflow in directed rounding
3915         modes.  Document that errno may not be set when finite values are
3916         returned on overflow.  Document intent to set errno on underflow
3917         only for underflow to zero.
3919         [BZ #16271]
3920         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
3921         round-to-nearest then adjust result for other rounding modes.
3922         * include/fenv.h (fegetround): Use libm_hidden_proto.
3923         * math/fegetround.c (fegetround): Use libm_hidden_def.
3924         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
3925         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
3926         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
3927         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
3928         Likewise.
3929         * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
3930         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
3931         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
3932         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
3934 2013-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
3936         [BZ #16077]
3937         * nss/Versions (libnss_files): Add
3938         _nss_files_gethostbyname3_r.
3939         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
3940         New function.
3941         (HOST_DB_LOOKUP): Remove macro.
3942         (_nss_files_gethostbyname_r): Implement function without the
3943         HOST_DB_LOOKUP macro.
3944         (_nss_files_gethostbyname2_r): Likewise.
3946 2013-11-28  Ondřej Bílka  <neleai@seznam.cz>
3948         * malloc/malloc.c (__libc_calloc): Make memset a tail call.
3950 2013-11-26  Uros Bizjak  <ubizjak@gmail.com>
3952         * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
3953         _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
3954         warning.
3956 2013-11-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3958         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
3959         __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
3960         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
3961         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
3962         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
3963         __fe_nomask_env_priv and attribute_hidden.
3964         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
3965         (libc_feupdateenv_test_ppc): Likewise.
3966         (libc_feresetround_ppc): Likewise.
3967         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
3968         (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
3969         compat_symbol macro.
3970         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
3971         (__fe_nomask_env): Likewise.
3972         * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
3974 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
3976         * string/Makefile: Remove ifunc tests.
3977         * string/test-string.h: Define TEST_IFUNC.
3978         * string/test-bcopy-ifunc.c: Remove.
3979         * string/test-bzero-ifunc.c: Likewise.
3980         * string/test-memccpy-ifunc.c: Likewise.
3981         * string/test-memchr-ifunc.c: Likewise.
3982         * string/test-memcmp-ifunc.c: Likewise.
3983         * string/test-memcpy-ifunc.c: Likewise.
3984         * string/test-memmem-ifunc.c: Likewise.
3985         * string/test-memmove-ifunc.c: Likewise.
3986         * string/test-mempcpy-ifunc.c: Likewise.
3987         * string/test-memrchr-ifunc.c: Likewise.
3988         * string/test-memset-ifunc.c: Likewise.
3989         * string/test-rawmemchr-ifunc.c: Likewise.
3990         * string/test-stpcpy-ifunc.c: Likewise.
3991         * string/test-stpncpy-ifunc.c: Likewise.
3992         * string/test-strcasecmp-ifunc.c: Likewise.
3993         * string/test-strcasestr-ifunc.c: Likewise.
3994         * string/test-strcat-ifunc.c: Likewise.
3995         * string/test-strchr-ifunc.c: Likewise.
3996         * string/test-strchrnul-ifunc.c: Likewise.
3997         * string/test-strcmp-ifunc.c: Likewise.
3998         * string/test-strcpy-ifunc.c: Likewise.
3999         * string/test-strcspn-ifunc.c: Likewise.
4000         * string/test-strlen-ifunc.c: Likewise.
4001         * string/test-strncasecmp-ifunc.c: Likewise.
4002         * string/test-strncat-ifunc.c: Likewise.
4003         * string/test-strncmp-ifunc.c: Likewise.
4004         * string/test-strncpy-ifunc.c: Likewise.
4005         * string/test-strnlen-ifunc.c: Likewise.
4006         * string/test-strpbrk-ifunc.c: Likewise.
4007         * string/test-strrchr-ifunc.c: Likewise.
4008         * string/test-strspn-ifunc.c: Likewise.
4009         * string/test-strstr-ifunc.c: Likewise.
4011 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
4013         * benchtests/Makefile: Remove ifunc tests.
4014         * benchtests/bench-string.h: Define TEST_IFUNC.
4015         * benchtests/bench-bcopy-ifunc.c: Remove.
4016         * benchtests/bench-bzero-ifunc.c: Likewise.
4017         * benchtests/bench-memccpy-ifunc.c: Likewise.
4018         * benchtests/bench-memchr-ifunc.c: Likewise.
4019         * benchtests/bench-memcmp-ifunc.c: Likewise.
4020         * benchtests/bench-memcpy-ifunc.c: Likewise.
4021         * benchtests/bench-memmem-ifunc.c: Likewise.
4022         * benchtests/bench-memmove-ifunc.c: Likewise.
4023         * benchtests/bench-mempcpy-ifunc.c: Likewise.
4024         * benchtests/bench-memrchr-ifunc.c: Likewise.
4025         * benchtests/bench-memset-ifunc.c: Likewise.
4026         * benchtests/bench-rawmemchr-ifunc.c: Likewise.
4027         * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
4028         * benchtests/bench-stpcpy-ifunc.c: Likewise.
4029         * benchtests/bench-stpncpy-ifunc.c: Likewise.
4030         * benchtests/bench-strcasecmp-ifunc.c: Likewise.
4031         * benchtests/bench-strcasestr-ifunc.c: Likewise.
4032         * benchtests/bench-strcat-ifunc.c: Likewise.
4033         * benchtests/bench-strchr-ifunc.c: Likewise.
4034         * benchtests/bench-strchrnul-ifunc.c: Likewise.
4035         * benchtests/bench-strcmp-ifunc.c: Likewise.
4036         * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
4037         * benchtests/bench-strcpy-ifunc.c: Likewise.
4038         * benchtests/bench-strcspn-ifunc.c: Likewise.
4039         * benchtests/bench-strlen-ifunc.c: Likewise.
4040         * benchtests/bench-strncasecmp-ifunc.c: Likewise.
4041         * benchtests/bench-strncat-ifunc.c: Likewise.
4042         * benchtests/bench-strncmp-ifunc.c: Likewise.
4043         * benchtests/bench-strncpy-ifunc.c: Likewise.
4044         * benchtests/bench-strnlen-ifunc.c: Likewise.
4045         * benchtests/bench-strpbrk-ifunc.c: Likewise.
4046         * benchtests/bench-strrchr-ifunc.c: Likewise.
4047         * benchtests/bench-strsep-ifunc.c: Likewise.
4048         * benchtests/bench-strspn-ifunc.c: Likewise.
4049         * benchtests/bench-strstr-ifunc.c: Likewise.
4051 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
4053         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
4055 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
4057         * resolv/netdb.h: Use __glibc_reserved instead __unused.
4058         * rt/aio.h: Likewise.
4059         * sysdeps/gnu/bits/utmp.h: Likewise.
4060         * sysdeps/gnu/bits/utmpx.h: Likewise.
4061         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
4062         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
4063         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
4064         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
4065         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
4066         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
4067         * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
4068         * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
4069         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
4070         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
4071         * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
4072         * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
4073         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
4074         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
4075         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
4076         * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
4077         * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
4078         * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
4079         * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
4080         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
4081         * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
4082         * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
4083         * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
4084         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
4085         * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
4086         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
4087         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
4088         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
4089         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
4090         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
4091         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
4092         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
4093         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
4094         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
4095         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
4096         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
4097         * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
4098         * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
4099         * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
4100         * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
4101         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
4102         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
4104 2013-11-25  Carlos O'Donell  <carlos@redhat.com>
4106         [BZ #16245]
4107         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
4108         Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
4110 2013-11-25  Joseph Myers  <joseph@codesourcery.com>
4112         * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
4113         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
4114         Likewise.
4116 2013-11-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4118         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
4119         SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
4120         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
4121         (__fesetround): Remove define.
4122         * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
4123         rounding and exceptions handling.
4124         * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
4125         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
4126         (__fe_nomask_env): Likewise.
4127         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
4128         __fegetround instead of fegetround.
4129         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
4130         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
4132 2013-11-21  Roland McGrath  <roland@hack.frob.com>
4134         * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
4135         it's there.
4137         * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
4139 2013-11-21  Meador Inge  <meadori@codesourcery.com>
4141         [BZ #11157]
4142         * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
4143         (encrypt_r): Likewise.
4144         * malloc/obstack.h (obstack_free): Likewise.
4145         * posix/unistd.h (encrypt): Likewise.
4147 2013-11-21  Guy Martin  <gmsoft@tuxicoman.be>
4149         * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
4150         DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
4151         DL_CALL_DT_FINI() that call the functions directly.
4152         * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
4153         * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
4154         * elf/dl-fini.c: Likewise.
4156 2013-11-20  Ondřej Bílka  <neleai@seznam.cz>
4158         * malloc/hooks.c (memalign_check): Add alignment rounding.
4159         * malloc/malloc.c (_mid_memalign): New function.
4160         (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
4161         Implement by calling _mid_memalign.
4162         * manual/probes.texi (Memory Allocation Probes): Remove
4163         memory_valloc_retry and memory_pvalloc_retry.
4165 2013-11-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
4167         * locale/programs/locarchive.c (open_archive): Add const
4168         qualifier to ARCHIVEFNAME and copy default fname to
4169         DEFAULT_FNAME.
4171         [BZ #15601]
4172         * libio/tst-widetext.input: Rename Oriya to Odia.
4173         * locale/iso-639.def: Likewise.
4175         * manual/probes.texi (Mathematical Function Probes): Add
4176         documentation for sin, cos, asin and acos probes.
4177         * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
4178         (__sin32): Add slowasin probe.
4179         (__cos32): Add slowacos probe.
4180         (__mpsin): Add slowsin probe.
4181         (__mpcos): Add slowcos probe.
4183 2013-11-19  Joseph Myers  <joseph@codesourcery.com>
4185         [BZ #15483]
4186         * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
4187         thread-local __sim_exceptions_thread and global
4188         __sim_exceptions_global.
4189         (__sim_disabled_exceptions): Change to thread-local
4190         __sim_disabled_exceptions_thread and global
4191         __sim_disabled_exceptions_global.
4192         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
4193         and global __sim_round_mode_global.
4194         (__simulate_exceptions): Use thread-local floating-point state and
4195         set global state from it as needed.
4196         * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
4197         __sim_exceptions_thread, __sim_disabled_exceptions_thread and
4198         __sim_round_mode_thread.
4199         * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
4200         (__sim_exceptions): Change to thread-local __sim_exceptions_thread
4201         and global __sim_exceptions_global.
4202         (__sim_disabled_exceptions): Change to thread-local
4203         __sim_disabled_exceptions_thread and global
4204         __sim_disabled_exceptions_global.
4205         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
4206         and global __sim_round_mode_global.
4207         [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
4208         (SIM_SET_GLOBAL): Likewise.
4209         * sysdeps/powerpc/soft-fp/sfp-machine.h
4210         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
4211         __sim_round_mode_thread.
4212         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
4213         __sim_disabled_exceptions_thread.
4214         (__sim_exceptions): Change to __sim_exceptions_thread.
4215         (__sim_disabled_exceptions): Change to
4216         __sim_disabled_exceptions_thread.
4217         (__sim_round_mode): Change to __sim_round_mode_thread.
4218         * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
4219         thread-local floating-point state and set global state from it as
4220         needed.
4221         * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
4222         * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
4223         (__sim_disabled_exceptions): Remove extern declaration.
4224         (feenableexcept): Use thread-local floating-point state and set
4225         global state from it as needed.
4226         * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
4227         extern declaration.
4228         (__sim_disabled_exceptions): Likewise.
4229         (__sim_round_mode): Likewise.
4230         (__fegetenv): Use thread-local floating-point state.
4231         * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
4232         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
4233         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
4234         floating-point state and set global state from it as needed.
4235         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
4236         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
4237         * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
4238         Likewise.
4239         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
4240         * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
4241         Likewise.
4242         sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
4243         * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
4244         Use __sim_round_mode_thread.
4245         * math/test-fenv-tls.c: New file.
4246         * math/Makefile (tests): Add test-fenv-tls.
4247         ($(objpfx)test-fenv-tls): Depend on
4248         $(common-objpfx)nptl/libpthread.so.
4250 2013-11-19  Andreas Schwab  <schwab@suse.de>
4252         * locale/programs/locale.c (show_info): Decode wordarray elements.
4253         * locale/categories.def (LC_MONETARY): Add element for
4254         _NL_MONETARY_CRNCYSTR.
4255         * locale/C-monetary.c (conversion_rate): New variable.
4256         (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
4257         element.
4259 2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
4261         * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
4262         Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
4264 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
4266         * elf/Makefile (tst-auxv): New test.
4267         * elf/tst-auxv.c: New
4268         * elf/rtld.c (dl_main): Adjust AT_EXECFN
4270 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
4272         * include/libc-symbols.h (__hidden_proto): Add argument "thread".
4273         (hidden_proto): Caller changed.
4274         (hidden_tls_proto): New macro.
4275         (libc_hidden_tls_proto): Likewise.
4276         (rtld_hidden_tls_proto): Likewise.
4277         (libm_hidden_tls_proto): Likewise.
4278         (libresolv_hidden_tls_proto): Likewise.
4279         (librt_hidden_tls_proto): Likewise.
4280         (libdl_hidden_tls_proto): Likewise.
4281         (libnss_files_hidden_tls_proto): Likewise.
4282         (libnsl_hidden_tls_proto): Likewise.
4283         (libnss_nisplus_hidden_tls_proto): Likewise.
4284         (libutil_hidden_tls_proto): Likewise.
4286 2013-11-18  Ondřej Bílka  <neleai@seznam.cz>
4288         [BZ #10253]
4289         * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
4290         (decompose_rpath): Defer expansion to fillin_rpath.
4291         (_dl_init_paths): Pass linkmap to fillin_rpath.
4293 2013-11-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
4295         * benchtests/Makefile: Add strsep.
4296         * benchtests/bench-strsep.c: New file: strsep benchtest.
4297         * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
4299 2013-11-18  Andreas Schwab  <schwab@suse.de>
4301         * locale/programs/locale.c (show_info) [case byte]: Check for
4302         '\377' instead of '\177'.
4303         * locale/C-monetary.c (not_available): Always use "\377".
4304         * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
4305         unspecified p_sign_posn and n_sign_posn.  Check for '\377' to
4306         detect unavailable sign_posn locale elements.
4307         * locale/localeconv.c (__localeconv): For grouping and
4308         mon_grouping handle "\177" and "\377" like no grouping.
4309         (INT_ELEM): New macro.  Use it to set all numeric members.
4310         * locale/programs/ld-monetary.c (monetary_read)
4311         <tok_mon_grouping>: Normalize single -1 to the empty string.
4312         * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
4313         Likewise.
4315 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
4317         [BZ #16055]
4318         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
4319         when we match (nil).
4320         * stdio-common/tst-sscanf.c (struct test): Add testcase.
4322 2013-11-16  Joseph Myers  <joseph@codesourcery.com>
4324         * math/libm-test.inc (TEST_NAN_SIGN): New macro.
4325         (NO_TEST_INLINE): Update value.
4326         (ERRNO_UNCHANGED): Likewise.
4327         (ERRNO_EDOM): Likewise.
4328         (ERRNO_ERANGE): Likewise.
4329         (IGNORE_RESULT): Likewise.
4330         (check_float_internal): Check signs of NaN results if
4331         TEST_NAN_SIGN used.
4332         (check_complex): Pass TEST_NAN_SIGN flag through to second
4333         check_float_internal call.
4334         (copysign_test_data): Add tests with quiet NaNs as second
4335         argument.  Use TEST_NAN_SIGN.
4336         (fabs_test_data): Add test of negative quiet NaN argument.  Use
4337         TEST_NAN_SIGN.
4338         (signbit_test_data): Add tests of quiet NaN argument.
4339         * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
4341         * math/gen-libm-test.pl (show_exceptions): Take extra argument
4342         $ignore_result.
4343         (parse_args): Handle function results specified as IGNORE.
4344         * math/libm-test.inc (IGNORE_RESULT): New macro.
4345         (check_float_internal): Do not check numerical result if flag
4346         IGNORE_RESULT set.
4347         (check_complex): Pass through IGNORE_RESULT to second
4348         check_float_internal call.
4349         (check_int): Do not check numerical result if flag IGNORE_RESULT
4350         set.
4351         (check_long): Likewise.
4352         (check_bool): Likewise.
4353         (check_longlong): Likewise.
4354         (lrint_test_data): Add tests of infinite and NaN arguments.
4355         (lrint_tonearest_test_data): Likewise.
4356         (lrint_towardzero_test_data): Likewise.
4357         (lrint_downward_test_data): Likewise.
4358         (lrint_upward_test_data): Likewise.
4359         (llrint_test_data): Likewise.
4360         (llrint_tonearest_test_data): Likewise.
4361         (llrint_towardzero_test_data): Likewise.
4362         (llrint_downward_test_data): Likewise.
4363         (llrint_upward_test_data): Likewise.
4364         (lround_test_data): Likewise.
4365         (llround_test_data): Likewise.
4367         * math/libm-test.inc (NO_TEST_INLINE): New macro.
4368         (ERRNO_UNCHANGED): Update value.
4369         (ERRNO_EDOM): Likewise.
4370         (ERRNO_ERANGE): Likewise.
4371         (NO_TEST_INLINE_FLOAT): New macro.
4372         (NO_TEST_INLINE_DOUBLE): Likewise.
4373         (enable_test): New function.
4374         (RUN_TEST_f_f): Check enable_test before running test.
4375         (RUN_TEST_2_f): Likewise.
4376         (RUN_TEST_fff_f): Likewise.
4377         (RUN_TEST_c_f): Likewise.
4378         (RUN_TEST_f_f1): Likewise.
4379         (RUN_TEST_fF_f1): Likewise.
4380         (RUN_TEST_fI_f1): Likewise.
4381         (RUN_TEST_ffI_f1): Likewise.
4382         (RUN_TEST_c_c): Likewise.
4383         (RUN_TEST_cc_c): Likewise.
4384         (RUN_TEST_f_i): Likewise.
4385         (RUN_TEST_f_i_tg): Likewise.
4386         (RUN_TEST_ff_i_tg): Likewise.
4387         (RUN_TEST_f_b): Likewise.
4388         (RUN_TEST_f_b_tg): Likewise.
4389         (RUN_TEST_f_l): Likewise.
4390         (RUN_TEST_f_L): Likewise.
4391         (RUN_TEST_fFF_11): Likewise.
4392         (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
4393         conditionals.
4394         (cosh_test_data): Likewise.
4395         (exp_test_data): Likewise.
4396         (expm1_test_data): Likewise.
4397         (hypot_test_data): Likewise.
4398         (pow_test_data): Likewise.
4399         (sinh_test_data): Likewise.
4400         (tanh_test_data): Likewise.
4401         * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
4402         flags argument.
4404         * libm-test.inc (acos_test_data): Disallow inexact exceptions for
4405         tests with quiet NaN input and output.
4406         (acosh_test_data): Likewise.
4407         (asin_test_data): Likewise.
4408         (asinh_test_data): Likewise.
4409         (atan_test_data): Likewise.
4410         (atanh_test_data): Likewise.
4411         (atan2_test_data): Likewise.
4412         (cbrt_test_data): Likewise.
4413         (cos_test_data): Likewise.
4414         (cosh_test_data): Likewise.
4415         (erf_test_data): Likewise.
4416         (erfc_test_data): Likewise.
4417         (exp_test_data): Likewise.
4418         (exp10_test_data): Likewise.
4419         (exp2_test_data): Likewise.
4420         (expm1_test_data): Likewise.
4421         (hypot_test_data): Likewise.
4422         (j0_test_data): Likewise.
4423         (j1_test_data): Likewise.
4424         (jn_test_data): Likewise.
4425         (lgamma_test_data): Likewise.
4426         (log_test_data): Likewise.
4427         (log10_test_data): Likewise.
4428         (log1p_test_data): Likewise.
4429         (log2_test_data): Likewise.
4430         (pow_test_data): Likewise.
4431         (scalb_test_data): Likewise.
4432         (sin_test_data): Likewise.
4433         (sincos_test_data): Likewise.
4434         (sinh_test_data): Likewise.
4435         (tan_test_data): Likewise.
4436         (tanh_test_data): Likewise.
4437         (tgamma_test_data): Likewise.
4438         (y0_test_data): Likewise.
4439         (y1_test_data): Likewise.
4440         (yn_test_data): Likewise.
4442         [BZ #16167]
4443         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
4444         argument being NaN and avoid computations with second argument in
4445         that case.
4446         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
4447         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
4448         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
4450 2013-11-15  Arun Kumar Pyasi <arun@chitwanix.com>
4452         * locale/iso-639.def: Add Chitwani Tharu (the).
4454 2013-11-14  Andreas Schwab  <schwab@suse.de>
4456         * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
4457         word instead of empty string.
4459 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4461         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
4462         (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
4463         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
4464         (__fe_nomask_env): Likewise.
4466 2013-11-13  Steve Ellcey  <sellcey@mips.com>
4468         * benchtests/bench-timing.h: Include time.h.
4470 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
4472         [BZ #15997]
4473         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
4474         to 3.4.0 for x32.
4475         * sysdeps/unix/sysv/linux/configure: Regenerated.
4477 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
4479         [BZ #16151]
4480         * stdlib/strtod_l.c (round_and_return): Do not consider
4481         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
4482         exponent one less than half the least subnormal exponent.
4483         * stdlib/test-strtod-round-data: Add more tests.
4484         * stdlib/tst-strtod-round.c (tests): Regenerated.
4486 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4488         [BZ #14143]
4489         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
4490         (__fe_mask_env): Likewise.
4491         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
4492         libm_hidden_proto and add function prototype.
4493         (__fe_mask_env): Add function prototype.
4494         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
4495         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
4496         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
4497         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
4498         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
4499         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
4501 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
4503         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
4504         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
4506 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
4508         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
4509         of htab_find_slot().
4511 2013-11-11  David S. Miller  <davem@davemloft.net>
4513         [BZ #16150]
4514         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
4515         symbol in the non-vis3 case in static builds.
4516         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
4517         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
4518         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
4519         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
4521 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
4523         [BZ #387]
4524         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
4525         it is empty.
4527 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4529         * benchtests/Makefile: Add bench-strtod.
4530         * benchtests/bench-strtod.c: New file: strtod benchtest
4532 2013-11-11  Andreas Schwab  <schwab@suse.de>
4534         [BZ #16153]
4535         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
4536         terminating NUL in key length.
4538 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4540         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
4541         Add artificial ODP entry for vDSO symbol for PPC64.
4542         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
4543         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
4545 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
4547         [BZ #15374]
4548         * nss/getent.c (services_keys): Recognize services starting with digit.
4550 2013-11-06  David S. Miller  <davem@davemloft.net>
4552         [BZ #15985]
4553         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
4554         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
4556 2013-11-06  Will Newton  <will.newton@linaro.org>
4558         * manual/memory.texi (Malloc Examples): Remove register
4559         keyword from examples.
4561 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
4563         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
4565 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
4567         [BZ #6981]
4568         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
4569         depending on [__GCC_IEC_559 > 0].
4570         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
4571         depending on [__GCC_IEC_559_COMPLEX > 0].
4573 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
4575         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
4576         to iso-639.def.
4578 2013-11-03  Ondřej Bílka  <neleai@seznam.cz>
4580         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
4582 2013-11-01  Ondřej Bílka  <neleai@seznam.cz>
4584         [BZ #16112]
4585         * malloc/malloc (malloc_info): Do not handle first bin as
4586         special case.
4588 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
4590         * locale/iso-639.def: Add Central Nahuatl (nhn).
4592 2013-11-01  Bruno Haible  <bruno@clisp.org>
4594         [BZ #7003]
4595         * manual/math.texi (BSD Random): Specify range upper bound as
4596         in POSIX.
4598 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
4600         * locale/iso-639.def: Add Meadow Mari (mhr).
4602 2013-10-31  Ondřej Bílka  <neleai@seznam.cz>
4604         [BZ #14752], [BZ #15763]
4605         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
4606         Validate name.
4607         * rt/tst_shm.c: Add test for escaping directory.
4609 2013-10-31  Andreas Schwab  <schwab@suse.de>
4611         [BZ #15917]
4612         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
4613         followed by 'x' as part of digit sequence.
4614         * stdio-common/tst-sscanf.c (double_tests2): New tests.
4616 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
4618         [BZ #16037]
4619         * configure.ac: allow GNU Make 4.0 and greater.
4620         * configure: Regenerated.
4622 2013-10-30  Will Newton  <will.newton@linaro.org>
4624         [BZ #16038]
4625         * malloc/hooks.c (memalign_check): Limit alignment to the
4626         maximum representable power of two.
4627         * malloc/malloc.c (__libc_memalign): Likewise.
4628         * malloc/tst-memalign.c (do_test): Add test for very
4629         large alignment values.
4630         * malloc/tst-posix_memalign.c (do_test): Likewise.
4632 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
4634         [BZ #11087]
4635         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
4636         (munmap_chunk): Likewise.
4637         (mremap_chunk): Likewise.
4639 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
4641         [BZ #15799]
4642         * stdlib/div.c (div): Remove obsolete code.
4643         * stdlib/ldiv.c (ldiv): Likewise.
4644         * stdlib/lldiv.c (lldiv): Likewise.
4646 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
4648         [BZ #16071]
4649         * nss/nss_files/files-XXX.c (get_contents_ret): New
4650         enumerator.
4651         (get_contents): New function.
4652         (internal_getent): Use it.  Expand size of LINEBUFLEN.
4654 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
4656         * configure.in: Moved to ...
4657         * configure.ac: ... here. Change reference to configure.in
4658         to configure.ac.
4659         * sysdeps/arm/preconfigure.ac: ... here.
4660         configure.in to configure.ac.
4661         * sysdeps/gnu/configure.in: Moved to ...
4662         * sysdeps/gnu/configure.ac: ... here.
4663         * sysdeps/i386/configure.in: Moved to ...
4664         * sysdeps/i386/configure.ac: ... here.
4665         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
4666         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
4667         * sysdeps/mach/configure.in: Moved to ...
4668         * sysdeps/mach/configure.ac: ... here.
4669         * sysdeps/mach/hurd/configure.in: Moved to ...
4670         * sysdeps/mach/hurd/configure.ac: ... here.
4671         * sysdeps/powerpc/configure.in: Moved to ...
4672         * sysdeps/powerpc/configure.ac: ... here.
4673         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
4674         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
4675         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
4676         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
4677         * sysdeps/s390/s390-32/configure.in: Moved to ...
4678         * sysdeps/s390/s390-32/configure.ac: ... here.
4679         * sysdeps/s390/s390-64/configure.in: Moved to ...
4680         * sysdeps/s390/s390-64/configure.ac: ... here.
4681         * sysdeps/sh/configure.in: Moved to ...
4682         * sysdeps/sh/configure.ac: ... here.
4683         * sysdeps/sparc/configure.in: Moved to ...
4684         * sysdeps/sparc/configure.ac: ... here.
4685         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
4686         * sysdeps/unix/sysv/linux/configure.ac: ... here.
4687         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
4688         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
4689         * sysdeps/x86_64/configure.in: Moved to ...
4690         * sysdeps/x86_64/configure.ac: ... here.
4691         * sysdeps/x86_64/preconfigure.in: Moved to ...
4692         * sysdeps/x86_64/preconfigure.ac: ... here.
4693         * aclocal.m4: Change reference to configure.in to configure.ac.
4694         * config.h.in: Likewise.
4695         * manual/install.texi: Likewise.
4696         * manual/maint.texi: Likewise.
4697         * Makefile: Likewise.
4698         * malloc/Makefile: Likewise.
4699         * nscd/Makefile: Likewise.
4700         * Makeconfig: Change reference to configure.in and
4701         preconfigure.in to configure.ac and preconfigure.ac
4702         respectively.
4703         * INSTALL: Regenerated.
4704         * configure: Likewise.
4705         * sysdeps/gnu/configure: Likewise.
4706         * sysdeps/i386/configure: Likewise.
4707         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
4708         * sysdeps/mach/configure: Likewise.
4709         * sysdeps/mach/hurd/configure: Likewise.
4710         * sysdeps/powerpc/configure: Likewise.
4711         * sysdeps/powerpc/powerpc32/configure: Likewise.
4712         * sysdeps/powerpc/powerpc64/configure: Likewise.
4713         * sysdeps/s390/s390-32/configure: Likewise.
4714         * sysdeps/s390/s390-64/configure: Likewise.
4715         * sysdeps/sh/configure: Likewise.
4716         * sysdeps/sparc/configure: Likewise.
4717         * sysdeps/unix/sysv/linux/configure: Likewise.
4718         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
4719         * sysdeps/x86_64/configure: Likewise.
4720         * sysdeps/x86_64/preconfigure: Likewise.
4722 2013-10-29  Andreas Schwab  <schwab@suse.de>
4724         * stdio-common/Makefile (tst-swscanf-ENV): Define.
4726 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
4728         * benchtests/pow-inputs: Add new inputs.
4730         * benchtests/exp-inputs: Add new inputs.
4732         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
4733         conditional check for return value.
4734         (__cos32): Likewise.
4736 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4738         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
4739         to provide a boost for large inputs with word alignment.
4740         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
4741         implementation based on optimized PPC64 strcpy.
4742         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
4743         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
4744         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
4745         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
4747 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
4749         [BZ #2801]
4750         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
4752 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
4754         [BZ #14876]
4755         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
4756         * time/tst-strptime.c (day_tests): Add testcase.
4758 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
4760         [BZ #14029]
4761         * manual/pattern.texi: Acknowledge that fnmatch can fail.
4763 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
4765         [BZ #16074]
4766         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
4767         MAP_FAILED on error.
4769 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
4771         [BZ #16072]
4772         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
4773         heap for large requests.
4775 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
4777         [BZ #9954]
4778         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
4779         result if the result has no associated interface.
4780         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
4781         interface for all 127.X.Y.Z addresses.
4783 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
4785         * locale/iso-639.def: Add Ligurian (lij)
4787 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
4789         [BZ #15825]
4790         * sunrpc/rpc_main.c: Document rpcgen -5.
4792 2013-10-19  Michael Stahl  <mstahl@redhat.com>
4794         * elf/rtld.c (do_preload): Print the reason why preloading failed.
4796 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
4798         [BZ #10278]
4799         * posix/glob.c: Match only directories when trailing slash is present.
4800         * posix/tst-gnuglob.c (my_opendir): Do not open files.
4801         (main): Add testcase.
4803 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
4805         [BZ #15670]
4806         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
4808 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
4810         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
4811         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
4812         AUTH_DES and cindex for FIPS 140-2.
4813         (DES Encryption): Add cindex FIPS 46-3.
4815         * locale/locarchive.h (struct locarhandle): Add fname.
4816         * locale/programs/localedef.c (main): Pass ARGV[remaining]
4817         if an optional argument was specified to --list-archive,
4818         otherwise NULL.
4819         * locale/programs/locarchive.c (show_archive_content): Take new
4820         argument fname and pass it via ah.fname to open_archive.
4821         * locale/programs/localedef.h: Update decl.
4822         (open_archive): If AH->fname is non-null, open that file
4823         rather than the default file name, and don't ignore ENOENT.
4824         (create_archive): Set AH.fname to NULL.
4825         (delete_locales_from_archive): Likewise.
4826         (add_locales_to_archive): Likewise.
4827         * locale/programs/locfile.c (write_all_categories): Likewise.
4829 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
4830             Aldy Hernandez  <aldyh@redhat.com>
4832         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
4833         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
4834         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
4835         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
4836         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
4837         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
4838         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
4839         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
4840         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
4841         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
4842         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
4843         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
4844         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
4845         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
4846         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
4847         Likewise.
4848         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
4849         Likewise.
4850         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
4851         Likewise.
4852         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
4853         Likewise.
4854         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
4855         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
4856         Likewise.
4857         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
4858         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
4859         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
4860         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
4861         Likewise.
4862         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
4863         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
4864         * sysdeps/powerpc/preconfigure: Likewise.
4865         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
4866         Likewise.
4867         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
4868         Replace contents of file by #include of <fenv_libc.h>.
4869         * sysdeps/powerpc/soft-fp/sfp-machine.h
4870         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
4871         and <sys/prctl.h>.
4872         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
4873         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
4874         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
4875         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
4876         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
4877         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
4878         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
4879         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
4880         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
4881         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
4882         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
4883         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
4884         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
4885         Allow copysignl PLT reference to be missing.
4887 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
4888             Joseph Myers  <joseph@codesourcery.com
4890         [BZ #15948]
4891         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
4892         single character.
4893         (add_to_tablewc): Assert sequence of wide characters is nonempty.
4895 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
4897         * elf/tst-tls-dlinfo.c: Don't include tls.h.
4898         * elf/tst-tls1.c: Likewise.
4899         * elf/tst-tls10.h: Likewise.
4900         * elf/tst-tls14.c: Likewise.
4901         * elf/tst-tls2.c: Likewise.
4902         * elf/tst-tls3.c: Likewise.
4903         * elf/tst-tls4.c: Likewise.
4904         * elf/tst-tls5.c: Likewise.
4905         * elf/tst-tls6.c: Likewise.
4906         * elf/tst-tls7.c: Likewise.
4907         * elf/tst-tls8.c: Likewise.
4908         * elf/tst-tls9.c: Likewise.
4909         * elf/tst-tlsmod1.c: Likewise.
4910         * elf/tst-tlsmod13.c: Likewise.
4911         * elf/tst-tlsmod13a.c: Likewise.
4912         * elf/tst-tlsmod14a.c: Likewise.
4913         * elf/tst-tlsmod16a.c: Likewise.
4914         * elf/tst-tlsmod16b.c: Likewise.
4915         * elf/tst-tlsmod2.c: Likewise.
4916         * elf/tst-tlsmod3.c: Likewise.
4917         * elf/tst-tlsmod4.c: Likewise.
4918         * elf/tst-tlsmod5.c: Likewise.
4919         * elf/tst-tlsmod6.c: Likewise.
4921 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
4923         [BZ #12486]
4924         * malloc/malloc.c: remove checks for statistics.
4926 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
4928         [BZ #15277]
4929         * inet/inet_net.c (inet_network): Detect additional invalid strings.
4930         * inet/tst-network.c: Add testcase.
4932 2013-10-17  Andreas Schwab  <schwab@suse.de>
4934         [BZ #15218]
4935         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
4936         to determine canonical name.
4938 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
4940         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
4941         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
4942         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
4943         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
4944         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
4945         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
4946         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
4947         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
4948         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
4949         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
4950         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
4951         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
4952         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
4953         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
4954         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
4955         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
4956         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
4957         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
4958         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
4959         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
4960         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
4961         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
4962         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
4963         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
4964         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
4965         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
4966         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
4967         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
4968         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
4969         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
4970         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
4971         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
4972         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
4973         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
4974         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
4975         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
4976         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
4977         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
4978         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
4979         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
4980         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
4981         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
4982         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
4983         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
4984         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
4985         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
4986         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
4987         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
4988         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
4989         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
4990         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
4991         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
4992         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
4993         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
4994         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
4995         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
4996         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
4997         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
4999 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
5001         [BZ #16041]
5002         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
5003         make result into a quiet NaN.
5005 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
5007         * soft-fp/adddf3.c: Fix horizontal whitespace.
5008         * soft-fp/addsf3.c: Likewise.
5009         * soft-fp/addtf3.c: Likewise.
5010         * soft-fp/divdf3.c: Likewise.
5011         * soft-fp/divsf3.c: Likewise.
5012         * soft-fp/divtf3.c: Likewise.
5013         * soft-fp/double.h: Likewise.
5014         * soft-fp/eqdf2.c: Likewise.
5015         * soft-fp/eqsf2.c: Likewise.
5016         * soft-fp/eqtf2.c: Likewise.
5017         * soft-fp/extenddftf2.c: Likewise.
5018         * soft-fp/extended.h: Likewise.
5019         * soft-fp/extendsfdf2.c: Likewise.
5020         * soft-fp/extendsftf2.c: Likewise.
5021         * soft-fp/extendxftf2.c: Likewise.
5022         * soft-fp/fixdfdi.c: Likewise.
5023         * soft-fp/fixdfsi.c: Likewise.
5024         * soft-fp/fixdfti.c: Likewise.
5025         * soft-fp/fixsfdi.c: Likewise.
5026         * soft-fp/fixsfsi.c: Likewise.
5027         * soft-fp/fixsfti.c: Likewise.
5028         * soft-fp/fixtfdi.c: Likewise.
5029         * soft-fp/fixtfsi.c: Likewise.
5030         * soft-fp/fixtfti.c: Likewise.
5031         * soft-fp/fixunsdfdi.c: Likewise.
5032         * soft-fp/fixunsdfsi.c: Likewise.
5033         * soft-fp/fixunsdfti.c: Likewise.
5034         * soft-fp/fixunssfdi.c: Likewise.
5035         * soft-fp/fixunssfsi.c: Likewise.
5036         * soft-fp/fixunssfti.c: Likewise.
5037         * soft-fp/fixunstfdi.c: Likewise.
5038         * soft-fp/fixunstfsi.c: Likewise.
5039         * soft-fp/fixunstfti.c: Likewise.
5040         * soft-fp/floatdidf.c: Likewise.
5041         * soft-fp/floatdisf.c: Likewise.
5042         * soft-fp/floatditf.c: Likewise.
5043         * soft-fp/floatsidf.c: Likewise.
5044         * soft-fp/floatsisf.c: Likewise.
5045         * soft-fp/floatsitf.c: Likewise.
5046         * soft-fp/floattidf.c: Likewise.
5047         * soft-fp/floattisf.c: Likewise.
5048         * soft-fp/floattitf.c: Likewise.
5049         * soft-fp/floatundidf.c: Likewise.
5050         * soft-fp/floatundisf.c: Likewise.
5051         * soft-fp/floatunditf.c: Likewise.
5052         * soft-fp/floatunsidf.c: Likewise.
5053         * soft-fp/floatunsisf.c: Likewise.
5054         * soft-fp/floatunsitf.c: Likewise.
5055         * soft-fp/floatuntidf.c: Likewise.
5056         * soft-fp/floatuntisf.c: Likewise.
5057         * soft-fp/floatuntitf.c: Likewise.
5058         * soft-fp/fmadf4.c: Likewise.
5059         * soft-fp/fmasf4.c: Likewise.
5060         * soft-fp/fmatf4.c: Likewise.
5061         * soft-fp/gedf2.c: Likewise.
5062         * soft-fp/gesf2.c: Likewise.
5063         * soft-fp/getf2.c: Likewise.
5064         * soft-fp/ledf2.c: Likewise.
5065         * soft-fp/lesf2.c: Likewise.
5066         * soft-fp/letf2.c: Likewise.
5067         * soft-fp/muldf3.c: Likewise.
5068         * soft-fp/mulsf3.c: Likewise.
5069         * soft-fp/multf3.c: Likewise.
5070         * soft-fp/negdf2.c: Likewise.
5071         * soft-fp/negsf2.c: Likewise.
5072         * soft-fp/negtf2.c: Likewise.
5073         * soft-fp/op-1.h: Likewise.
5074         * soft-fp/op-2.h: Likewise.
5075         * soft-fp/op-4.h: Likewise.
5076         * soft-fp/op-8.h: Likewise.
5077         * soft-fp/op-common.h: Likewise.
5078         * soft-fp/quad.h: Likewise.
5079         * soft-fp/single.h: Likewise.
5080         * soft-fp/soft-fp.h: Likewise.
5081         * soft-fp/sqrtdf2.c: Likewise.
5082         * soft-fp/sqrtsf2.c: Likewise.
5083         * soft-fp/sqrttf2.c: Likewise.
5084         * soft-fp/subdf3.c: Likewise.
5085         * soft-fp/subsf3.c: Likewise.
5086         * soft-fp/subtf3.c: Likewise.
5087         * soft-fp/truncdfsf2.c: Likewise.
5088         * soft-fp/trunctfdf2.c: Likewise.
5089         * soft-fp/trunctfsf2.c: Likewise.
5090         * soft-fp/trunctfxf2.c: Likewise.
5091         * soft-fp/unorddf2.c: Likewise.
5092         * soft-fp/unordsf2.c: Likewise.
5093         * soft-fp/unordtf2.c: Likewise.
5095 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
5097         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
5098         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
5100 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
5102         * elf/dl-libc.c: Clear initfini list after freeing.
5104 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
5106         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
5107         * soft-fp/addsf3.c: Likewise.
5108         * soft-fp/addtf3.c: Likewise.
5109         * soft-fp/divdf3.c: Likewise.
5110         * soft-fp/divsf3.c: Likewise.
5111         * soft-fp/divtf3.c: Likewise.
5112         * soft-fp/double.h: Likewise.
5113         * soft-fp/eqdf2.c: Likewise.
5114         * soft-fp/eqsf2.c: Likewise.
5115         * soft-fp/eqtf2.c: Likewise.
5116         * soft-fp/extenddftf2.c: Likewise.
5117         * soft-fp/extended.h: Likewise.
5118         * soft-fp/extendsfdf2.c: Likewise.
5119         * soft-fp/extendsftf2.c: Likewise.
5120         * soft-fp/extendxftf2.c: Likewise.
5121         * soft-fp/fixdfdi.c: Likewise.
5122         * soft-fp/fixdfsi.c: Likewise.
5123         * soft-fp/fixdfti.c: Likewise.
5124         * soft-fp/fixsfdi.c: Likewise.
5125         * soft-fp/fixsfsi.c: Likewise.
5126         * soft-fp/fixsfti.c: Likewise.
5127         * soft-fp/fixtfdi.c: Likewise.
5128         * soft-fp/fixtfsi.c: Likewise.
5129         * soft-fp/fixtfti.c: Likewise.
5130         * soft-fp/fixunsdfdi.c: Likewise.
5131         * soft-fp/fixunsdfsi.c: Likewise.
5132         * soft-fp/fixunsdfti.c: Likewise.
5133         * soft-fp/fixunssfdi.c: Likewise.
5134         * soft-fp/fixunssfsi.c: Likewise.
5135         * soft-fp/fixunssfti.c: Likewise.
5136         * soft-fp/fixunstfdi.c: Likewise.
5137         * soft-fp/fixunstfsi.c: Likewise.
5138         * soft-fp/fixunstfti.c: Likewise.
5139         * soft-fp/floatdidf.c: Likewise.
5140         * soft-fp/floatdisf.c: Likewise.
5141         * soft-fp/floatditf.c: Likewise.
5142         * soft-fp/floatsidf.c: Likewise.
5143         * soft-fp/floatsisf.c: Likewise.
5144         * soft-fp/floatsitf.c: Likewise.
5145         * soft-fp/floattidf.c: Likewise.
5146         * soft-fp/floattisf.c: Likewise.
5147         * soft-fp/floattitf.c: Likewise.
5148         * soft-fp/floatundidf.c: Likewise.
5149         * soft-fp/floatundisf.c: Likewise.
5150         * soft-fp/floatunsidf.c: Likewise.
5151         * soft-fp/floatunsisf.c: Likewise.
5152         * soft-fp/floatuntidf.c: Likewise.
5153         * soft-fp/floatuntisf.c: Likewise.
5154         * soft-fp/floatuntitf.c: Likewise.
5155         * soft-fp/fmadf4.c: Likewise.
5156         * soft-fp/fmasf4.c: Likewise.
5157         * soft-fp/fmatf4.c: Likewise.
5158         * soft-fp/gedf2.c: Likewise.
5159         * soft-fp/gesf2.c: Likewise.
5160         * soft-fp/getf2.c: Likewise.
5161         * soft-fp/ledf2.c: Likewise.
5162         * soft-fp/lesf2.c: Likewise.
5163         * soft-fp/letf2.c: Likewise.
5164         * soft-fp/muldf3.c: Likewise.
5165         * soft-fp/mulsf3.c: Likewise.
5166         * soft-fp/multf3.c: Likewise.
5167         * soft-fp/negdf2.c: Likewise.
5168         * soft-fp/negsf2.c: Likewise.
5169         * soft-fp/negtf2.c: Likewise.
5170         * soft-fp/op-1.h: Likewise.
5171         * soft-fp/op-2.h: Likewise.
5172         * soft-fp/op-4.h: Likewise.
5173         * soft-fp/op-8.h: Likewise.
5174         * soft-fp/op-common.h: Likewise.
5175         * soft-fp/quad.h: Likewise.
5176         * soft-fp/single.h: Likewise.
5177         * soft-fp/soft-fp.h: Likewise.
5178         * soft-fp/sqrtdf2.c: Likewise.
5179         * soft-fp/sqrtsf2.c: Likewise.
5180         * soft-fp/sqrttf2.c: Likewise.
5181         * soft-fp/subdf3.c: Likewise.
5182         * soft-fp/subsf3.c: Likewise.
5183         * soft-fp/subtf3.c: Likewise.
5184         * soft-fp/truncdfsf2.c: Likewise.
5185         * soft-fp/trunctfdf2.c: Likewise.
5186         * soft-fp/trunctfsf2.c: Likewise.
5187         * soft-fp/trunctfxf2.c: Likewise.
5188         * soft-fp/unorddf2.c: Likewise.
5189         * soft-fp/unordsf2.c: Likewise.
5190         * soft-fp/unordtf2.c: Likewise.
5192 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
5194         [BZ #15672]
5195         * misc/error.c (error_tail): Fix possible buffer overflow.
5197 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
5199         [BZ #13028]
5200         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
5201         address.
5203 2013-10-14  P. J. McDermott  <pj@pehjota.net>
5205         [BZ #832]
5206         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
5207         testing pipefail option.
5209 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
5211         * soft-fp/double.h: Indent preprocessor directives inside #if.
5212         * soft-fp/extended.h: Likewise.
5213         * soft-fp/op-2.h: Likewise.
5214         * soft-fp/op-4.h: Likewise.
5215         * soft-fp/op-common.h: Likewise.
5216         * soft-fp/quad.h: Likewise.
5217         * soft-fp/single.h: Likewise.
5218         * soft-fp/soft-fp.h: Likewise.
5220 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
5222         * iconv/iconv_prog.c: Fix typos.
5223         * stdio-common/psiginfo-data.h: Likewise.
5225 2013-10-12   Reuben Thomas <rrt@sc3d.org>
5227         [BZ #15764]
5228         * locale/setlocale.c: Fix typo.
5230 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
5232         [BZ #16036]
5233         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
5234         signaling NaN arguments.
5235         * soft-fp/unordsf2.c (__unordsf2): Likewise.
5236         * soft-fp/unordtf2.c (__unordtf2): Likewise.
5238         [BZ #14910]
5239         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
5240         unordered operands.
5241         * soft-fp/gesf2.c (__gesf2): Likewise.
5242         * soft-fp/getf2.c (__getf2): Likewise.
5243         * soft-fp/ledf2.c (__ledf2): Likewise.
5244         * soft-fp/lesf2.c (__lesf2): Likewise.
5245         * soft-fp/letf2.c (__letf2): Likewise.
5247         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
5248         * soft-fp/eqsf2.c (__eqsf2): Likewise.
5249         * soft-fp/eqtf2.c (__eqtf2): Likewise.
5250         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
5251         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
5252         * soft-fp/fixdfti.c (__fixdfti): Likewise.
5253         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
5254         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
5255         * soft-fp/fixsfti.c (__fixsfti): Likewise.
5256         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
5257         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
5258         * soft-fp/fixtfti.c (__fixtfti): Likewise.
5259         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
5260         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
5261         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
5262         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
5263         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
5264         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
5265         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
5266         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
5267         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
5268         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
5269         * soft-fp/floatdisf.c (__floatdisf): Likewise.
5270         * soft-fp/floatsisf.c (__floatsisf): Likewise.
5271         * soft-fp/floattidf.c (__floattidf): Likewise.
5272         * soft-fp/floattisf.c (__floattisf): Likewise.
5273         * soft-fp/floattitf.c (__floattitf): Likewise.
5274         * soft-fp/floatundidf.c (__floatundidf): Likewise.
5275         * soft-fp/floatundisf.c (__floatundisf): Likewise.
5276         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
5277         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
5278         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
5279         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
5280         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
5281         * soft-fp/gesf2.c (__gesf2): Likewise.
5282         * soft-fp/getf2.c (__getf2): Likewise.
5283         * soft-fp/ledf2.c (__ledf2): Likewise.
5284         * soft-fp/lesf2.c (__lesf2): Likewise.
5285         * soft-fp/letf2.c (__letf2): Likewise.
5287         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
5288         Undefine and redefine.
5289         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
5290         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
5291         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
5292         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
5293         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
5294         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
5295         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
5296         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
5297         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
5298         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
5299         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
5300         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
5301         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
5302         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
5303         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
5305         [BZ #16032]
5306         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
5307         without decrementing exponent if mantissa >= that for the
5308         denominator, not >.
5309         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
5310         denominator, not >.  Decrement exponent in < case instead of
5311         incrementing in >= case.
5312         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
5313         without decrementing exponent if mantissa >= that for the
5314         denominator, not >.
5316         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
5317         computing saturated result for unsigned overflow.
5319 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
5320             Jeff Law  <law@redhat.com>
5322         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
5323         (atan2Mp): Add systemtap probe marker.
5324         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
5325         (__ieee754_log): Add systemtap probe marker.
5326         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
5327         (atanMp): Add systemtap probe marker.
5328         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
5329         (tanMp): Add systemtap probe marker.
5330         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
5331         (__slowexp): Add systemtap probe marker.
5332         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
5333         (__slowpow): Add systemtap probe marker.
5334         * manual/probes.texi: Document probes.
5336 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
5338         [BZ #15362]
5339         * libio/fileops.c (_IO_new_file_write): Return count of bytes
5340         written.
5341         (_IO_new_file_xsputn): Don't return EOF if nothing has been
5342         written.
5343         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
5344         written to buffer but not flushed.
5345         * libio/iofwrite_u.c:  Likewise.
5346         * libio/iopadn.c:  Return bytes returned even if EOF was
5347         encountered.
5348         * libio/iowpadn.c:  Likewise.
5349         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
5350         if _IO_padn does not write the whole buffer.
5351         [!COMPILE_WPRINTF] (PAD): Likewise.
5353 2013-10-10  David S. Miller  <davem@davemloft.net>
5355         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
5356         directory block.
5358 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
5360         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
5361         instead of FSF address.
5362         * soft-fp/fixdfti.c: Likewise.
5363         * soft-fp/fixsfti.c: Likewise.
5364         * soft-fp/fixtfti.c: Likewise.
5365         * soft-fp/fixunsdfti.c: Likewise.
5366         * soft-fp/fixunssfti.c: Likewise.
5367         * soft-fp/fixunstfti.c: Likewise.
5368         * soft-fp/floattidf.c: Likewise.
5369         * soft-fp/floattisf.c: Likewise.
5370         * soft-fp/floattitf.c: Likewise.
5371         * soft-fp/floatuntidf.c: Likewise.
5372         * soft-fp/floatuntisf.c: Likewise.
5373         * soft-fp/floatuntitf.c: Likewise.
5374         * soft-fp/trunctfxf2.c: Likewise.
5376         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
5377         * soft-fp/fixdfti.c: Likewise.
5378         * soft-fp/fixsfti.c: Likewise.
5379         * soft-fp/fixtfti.c: Likewise.
5380         * soft-fp/fixunsdfti.c: Likewise.
5381         * soft-fp/fixunssfti.c: Likewise.
5382         * soft-fp/fixunstfti.c: Likewise.
5383         * soft-fp/floattidf.c: Likewise.
5384         * soft-fp/floattisf.c: Likewise.
5385         * soft-fp/floattitf.c: Likewise.
5386         * soft-fp/floatuntidf.c: Likewise.
5387         * soft-fp/floatuntisf.c: Likewise.
5388         * soft-fp/floatuntitf.c: Likewise.
5389         * soft-fp/trunctfxf2.c: Likewise.
5391 2013-10-10  David S. Miller  <davem@davemloft.net>
5393         * sysdeps/sparc/fpu/libm-test-ulps: Update.
5395 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
5397         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
5398         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
5399         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
5400         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
5401         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
5402         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
5403         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
5405         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
5406         for NaNs before doing comparisons on argument.
5407         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
5408         Likewise.
5410 2013-10-10  Will Newton  <will.newton@linaro.org>
5412         * malloc/hooks.c (memalign_check): Ensure the value of bytes
5413         passed to _int_memalign does not overflow.
5415 2013-10-10  Torvald Riegel  <triegel@redhat.com>
5417         * scripts/bench.pl: Add include-sources directive.
5418         * benchtests/README: Update documentation.
5420 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
5422         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
5423         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
5424         instead of FP_INIT_ROUNDMODE.
5425         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
5426         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
5428         [BZ #16034]
5429         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
5430         copy class of input value.
5431         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
5432         not handle exceptions.
5433         * soft-fp/negsf2.c (__negsf2): Likewise.
5434         * soft-fp/negtf2.c (__negtf2): Likewise.
5435         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
5437 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
5439         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
5440         semicolon.  From Linux kernel.
5442 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
5444         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
5446 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
5448         [BZ #156]
5449         * manual/socket.texi: Added statement about buffer
5450         for gethostbyname2_r.
5452 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
5454         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
5455         Use .p2align directive instead, throughout.
5456         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
5457         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
5458         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
5459         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
5460         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
5461         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
5462         * sysdeps/x86_64/strchr.S: Likewise.
5463         * sysdeps/x86_64/strrchr.S: Likewise.
5465 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
5467         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
5469         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
5471         * sysdeps/generic/math_private.h (__mpsin1): Remove
5472         declaration.
5473         (__mpcos1): Likewise.
5474         (__mpsin): New argument __range_reduce.
5475         (__mpcos): Likewise.
5476         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
5477         (slow): Use __mpsin and __mpcos.
5478         (slow1): Likewise.
5479         (slow2): Likewise.
5480         (sloww): Likewise.
5481         (sloww1): Likewise.
5482         (sloww2): Likewise.
5483         (bsloww): Likewise.
5484         (bsloww1): Likewise.
5485         (bsloww2): Likewise.
5486         (cslow2): Likewise.
5487         (csloww): Likewise.
5488         (csloww1): Likewise.
5489         (csloww2): Likewise.
5490         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
5491         range_reduce.  Merge in __mpsin1.
5492         (__mpcos): Likewise.
5493         (__mpsin1): Remove.
5494         (__mpcos1): Likewise.
5496 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
5498         * locale/loadlocale.c (_nl_intern_locale_data): Use
5499         LOCFILE_ALIGNED_P.
5500         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
5501         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
5502         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
5503         obstack data is appropriately aligned.
5504         (obstack_int32_grow_fast): Likewise.
5505         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
5506         * locale/programs/locfile.c (add_locale_uint32): Likewise.
5507         (add_locale_uint32_array): Likewise.
5509 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
5511         * benchtests/Makefile: Remove ARGLIST and RET variables.
5512         ($(objpfx)bench-%.c): Pass only function name to the script.
5513         * benchtests/README: Update documentation.
5514         * benchtests/acos-inputs: Add new directives.
5515         * benchtests/acosh-inputs: Likewise.
5516         * benchtests/asin-inputs: Likewise.
5517         * benchtests/asinh-inputs: Likewise.
5518         * benchtests/atan-inputs: Likewise.
5519         * benchtests/atanh-inputs: Likewise.
5520         * benchtests/cos-inputs: Likewise.
5521         * benchtests/cosh-inputs: Likewise.
5522         * benchtests/exp-inputs: Likewise.
5523         * benchtests/log-inputs: Likewise.
5524         * benchtests/pow-inputs: Likewise.
5525         * benchtests/rint-inputs: Likewise.
5526         * benchtests/sin-inputs: Likewise.
5527         * benchtests/sinh-inputs: Likewise.
5528         * benchtests/tan-inputs: Likewise.
5529         * benchtests/tanh-inputs: Likewise.
5530         * scripts/bench.pl: Add support for new directives.
5532 2013-10-07  Alan Modra  <amodra@gmail.com>
5534         * README: Fix careless merge.
5536 2013-10-05  Alan Modra  <amodra@gmail.com>
5538         * NEWS: Mention powerpc64le support and bugs fixed.
5539         * README: Both big-endian and little-endian powerpc64 supported.
5541 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
5543         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook,
5544         _hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
5545         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
5546         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
5548 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
5550         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
5551         match prototype.
5553 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
5555         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
5556         Move -mhard-float appending from
5557         ports/sysdeps/powerpc/powerpc32/Makefile.
5558         [$(with-fp) = yes] (ASFLAGS): Likewise.
5559         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
5560         * sysdeps/powerpc/nofpu: Move directory from
5561         ports/sysdeps/powerpc/nofpu.
5562         * sysdeps/powerpc/soft-fp: Move directory from
5563         ports/sysdeps/powerpc/soft-fp.
5564         * sysdeps/powerpc/powerpc32/405: Move directory from
5565         ports/sysdeps/powerpc/powerpc32/405.
5566         * sysdeps/powerpc/powerpc32/440: Move directory from
5567         ports/sysdeps/powerpc/powerpc32/440.
5568         * sysdeps/powerpc/powerpc32/464: Move directory from
5569         ports/sysdeps/powerpc/powerpc32/464.
5570         * sysdeps/powerpc/powerpc32/476: Move directory from
5571         ports/sysdeps/powerpc/powerpc32/476.
5572         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
5573         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
5574         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
5575         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
5576         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
5577         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
5578         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
5579         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
5580         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
5581         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
5582         * README: Update for powerpc-*-linux-gnu software floating point
5583         support in libc.
5585         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
5586         case to powerpc/powerpc32*.
5587         * sysdeps/unix/sysv/linux/configure: Regenerated.
5589         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
5590         (_FPU_MASK_OM): Define as 0x04.
5591         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
5592         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
5593         0x00c10080.
5594         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
5595         0x0000003c.
5596         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
5598         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
5599         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
5600         getcontext_e500.
5601         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
5602         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
5603         setcontext_e500.
5604         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
5605         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
5606         and setcontext_e500.
5608 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
5610         * locale/iso-3166.def: Update iso-1366.def and related occurrences
5612 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
5614         * manual/threads.texi (Default Thread Attributes): Fix typo.
5616 2013-10-04  Will Newton  <will.newton@linaro.org>
5618         * malloc/Makefile: Add tst-memalign.
5619         * malloc/tst-memalign.c: New file.
5621         * malloc/tst-posix_memalign.c: Add comments.
5622         (do_test): Add comments and call free on all potentially
5623         allocated pointers. Add space after cast.
5625         * malloc/tst-pvalloc.c: Add comments.
5626         (do_test): Add comments and call free on all potentially
5627         allocated pointers. Remove duplicate check for NULL pointer.
5628         Add space after cast.
5630         * malloc/tst-valloc.c: Add comments.
5631         (do_test): Add comments and call free on all potentially
5632         allocated pointers. Remove duplicate check for NULL pointer.
5633         Add space after cast.
5635 2013-10-04  Alan Modra  <amodra@gmail.com>
5637         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
5638         Use stdint types in rather than __attribute__((mode())).
5639         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
5641 2013-10-04  Alan Modra  <amodra@gmail.com>
5643         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
5644         Correct handling of unaligned relocs for little-endian.
5645         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
5647 2013-10-04  Alan Modra  <amodra@gmail.com>
5649         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
5650         * configure: Regenerate.
5651         * nptl/shlib-versions: Powerpc*le starts at 2.18.
5652         * shlib-versions: Likewise.
5654 2013-10-04  Alan Modra  <amodra@gmail.com>
5656         * string/tester.c (test_memrchr): Increment reported test cycle.
5658 2013-10-04  Alan Modra  <amodra@gmail.com>
5660         * string/test-memcpy.c (do_one_test): When reporting errors, print
5661         string address and don't overrun end of string.
5663 2013-10-04  Alan Modra  <amodra@gmail.com>
5665         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
5666         insrdi.  Make better use of reg selection to speed exit slightly.
5667         Schedule entry path a little better.  Remove useless "are we done"
5668         checks on entry to main loop.  Handle wrapping around zero address.
5669         Correct main loop count.  Handle single left-over word from main
5670         loop inline rather than by using loop_small.  Remove extra word
5671         case in loop_small caused by wrong loop count.  Add little-endian
5672         support.
5673         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
5674         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
5675         cache hint.
5676         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
5677         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
5678         support.  Avoid rlwimi.
5679         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
5681 2013-10-04  Alan Modra  <amodra@gmail.com>
5683         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
5684         insrdi.  Formatting.
5685         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
5686         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
5687         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
5688         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
5689         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
5690         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
5692 2013-10-04  Alan Modra  <amodra@gmail.com>
5694         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
5695         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
5696         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
5697         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
5698         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
5699         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
5700         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
5701         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
5702         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
5703         use of regs.  Use power7 mtocrf.  Tidy function tails.
5705 2013-10-04  Alan Modra  <amodra@gmail.com>
5707         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
5708         Formatting.  Consistently use rXXX register defines or rN defines.
5709         Use early exit labels that avoid restoring unused non-volatile regs.
5710         Make cr field use more consistent with rWORDn compares.  Rename
5711         regs used as shift registers for unaligned loop, using rN defines
5712         for short lifetime/multiple use regs.
5713         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
5714         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
5715         addi 1,1,64 to pop stack frame.  Simplify return value code.
5716         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
5718 2013-10-04  Alan Modra  <amodra@gmail.com>
5720         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
5721         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
5722         rather than rlwimi.
5723         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
5724         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
5725         little-endian support.  Correct typos.
5726         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
5727         rather than rlwimi.
5728         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
5729         in loop and entry code to keep "and." results.
5730         (strchr): Add little-endian support.  Comment.  Move cntlzd
5731         earlier in tail.
5732         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
5734 2013-10-04  Alan Modra  <amodra@gmail.com>
5736         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
5737         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
5738         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
5739         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
5741 2013-10-04  Alan Modra  <amodra@gmail.com>
5743         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
5744         (rTMP): Define as r11.
5745         (strcmp): Add little-endian support.  Optimise tail.
5746         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
5747         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
5748         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
5749         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
5750         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
5751         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
5752         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
5754 2013-10-04  Alan Modra  <amodra@gmail.com>
5756         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
5757         little-endian support.  Remove unnecessary "are we done" tests.
5758         Handle "s" wrapping around zero and extremely large "size".
5759         Correct main loop count.  Handle single left-over word from main
5760         loop inline rather than by using small_loop.  Correct comments.
5761         Delete "zero" tail, use "end_max" instead.
5762         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
5764 2013-10-04  Alan Modra  <amodra@gmail.com>
5766         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
5767         support.  Don't branch over align.
5768         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
5769         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
5770         support.  Rearrange tmp reg use to suit.  Comment.
5771         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
5773 2013-10-04  Alan Modra  <amodra@gmail.com>
5775         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
5777 2013-10-04  Alan Modra  <amodra@gmail.com>
5779         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
5780         conditional form of branch and link when obtaining pc.
5781         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
5783 2013-10-04  Alan Modra  <amodra@gmail.com>
5785         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
5786         HIWORD/LOWORD.
5787         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
5788         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
5790 2013-10-04  Alan Modra  <amodra@gmail.com>
5792         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
5793         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
5794         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
5795         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
5796         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
5797         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
5798         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
5799         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
5800         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
5801         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
5803 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
5804             Alistair Popple <alistair@ozlabs.au.ibm.com>
5805             Alan Modra <amodra@gmail.com>
5807         [BZ #15723]
5808         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
5809         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
5810         _dl_hwcap access for little-endian.
5811         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
5812         destroy vmx regs when saving unaligned.
5813         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
5814         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
5815         destroy vmx regs when saving unaligned.
5817 2013-10-04  Alan Modra  <amodra@gmail.com>
5819         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
5820         Don't use a union to pack hi/low value.
5822 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
5824         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
5825         for little-endian.
5826         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
5827         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
5828         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
5829         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
5830         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
5832 2013-10-04  Alan Modra  <amodra@gmail.com>
5834         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
5835         constants to usual value for .cst8 section, and remove redundant
5836         high address load.
5837         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
5838         constant for 0x1p52.  Load little-endian words of double from
5839         correct stack offsets.
5841 2013-10-04  Alan Modra  <amodra@gmail.com>
5843         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
5844         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
5845         words of double from correct stack offsets.
5846         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
5847         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
5848         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
5849         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
5850         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
5851         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
5852         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
5853         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
5854         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
5855         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
5856         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
5857         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
5858         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
5859         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
5860         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
5861         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
5862         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
5864 2013-10-04  Alan Modra  <amodra@gmail.com>
5866         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
5867         64-bit int/double union.
5868         (_FPU_SETCW): Likewise.
5869         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
5870         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
5872 2013-10-04  Alan Modra  <amodra@gmail.com>
5874         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
5875         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
5877 2013-10-04  Alan Modra  <amodra@gmail.com>
5879         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
5880         use vector int constants.
5881         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
5883 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
5885         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
5886         array with long long.
5887         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
5888         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
5889         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
5890         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
5891         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
5892         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
5893         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
5894         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
5895         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
5896         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
5897         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
5898         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
5899         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
5901 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
5903         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
5904         (__signbit): Likewise.  Correct for little-endian.
5905         (__signbitl): Call __signbit.
5906         (lrint): Correct for little-endian.
5907         (lrintf): Call lrint.
5909 2013-10-04  Alan Modra  <amodra@gmail.com>
5911         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
5912         union 32-bit int array member with 64-bit int array.
5913         (t515, tm256): Double rather than long double.
5914         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
5916 2013-10-04  Alan Modra  <amodra@gmail.com>
5918         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
5919         Delete.
5920         (IEEE854_LONG_DOUBLE_BIAS): Delete.
5921         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
5922         version of math_ldbl.h.
5924 2013-10-04  Alan Modra  <amodra@gmail.com>
5926         [BZ #15734], [BZ #15735]
5927         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
5928         all uses of ieee875 long double macros and unions.  Simplify test
5929         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
5930         ldbl_extract_mantissa value for ix,iy exponents.  Properly
5931         normalize after ldbl_extract_mantissa, and don't add hidden bit
5932         already handled.  Don't treat low word of ieee854 mantissa like
5933         low word of IBM long double and mask off bit when testing for
5934         zero.
5935         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
5936         all uses of ieee875 long double macros and unions.  Simplify tests
5937         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
5938         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
5939         two1022, instead use their values.  Recognise that tests for large
5940         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
5941         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
5942         Rewrite all uses of ieee875 long double macros and unions.  Simplify
5943         test for 0.0L and nan.  Correct negation.
5944         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
5945         ieee875 long double macros and unions.  Correct output for large
5946         magnitude x.  Correct absolute value calculation.
5947         (__erfcl): Likewise.
5948         * math/libm-test.inc: Add tests for errors discovered in IBM long
5949         double versions of fmodl, remainderl, erfl and erfcl.
5951 2013-10-04  Alan Modra  <amodra@gmail.com>
5953         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
5954         all uses of ieee854 long double macros and unions.  Simplify tests
5955         for long doubles that are fully specified by the high double.
5956         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
5957         Likewise.
5958         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
5959         Remove dead code too.
5960         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
5961         (__ieee754_ynl): Likewise.
5962         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
5963         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
5964         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
5965         Remove dead code too.
5966         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
5967         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
5968         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
5969         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
5970         Simplify.
5971         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
5972         Simplify.
5973         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
5974         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
5975         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
5976         Comment on variable precision.
5977         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
5978         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
5979         Likewise.
5980         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
5981         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
5982         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
5983         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
5984         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
5986 2013-10-04  Alan Modra  <amodra@gmail.com>
5988         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
5989         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
5990         all uses of ieee854 long double macros and unions.
5991         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
5992         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
5993         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
5994         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
5995         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
5996         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
5997         Likewise.
5998         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
5999         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
6000         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
6001         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
6002         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
6003         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
6004         Simplify sign and nan test too.
6005         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
6006         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
6007         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
6008         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
6009         Likewise.
6010         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
6011         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
6012         Likewise.
6013         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
6014         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
6015         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
6016         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
6017         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
6018         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
6020 2013-10-04  Alan Modra  <amodra@gmail.com>
6022         * stdio-common/printf_size.c (__printf_size): Don't use
6023         union ieee854_long_double in fpnum union.
6024         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
6025         signbit macro to retrieve sign from long double.
6026         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
6027         retrieve sign from long double.
6028         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
6029         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
6030         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
6031         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
6032         * math/test-misc.c (main): Don't use union ieee854_long_double.
6034 2013-10-04  Alan Modra  <amodra@gmail.com>
6036         [BZ #15680]
6037         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
6038         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
6039         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
6040         calculation.  Remove unnecessary test for denormal exponent.
6041         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
6042         Correct handling of denormals.  Avoid undefined shift behaviour.
6043         Correct normalisation of low mantissa when low double is denormal.
6044         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
6045         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
6046         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
6047         Correct normalisation of low mantissa.  Test for overflow of high
6048         mantissa and normalise.
6049         (ldbl_nearbyint): Use more readable constant for two52.
6050         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
6051         (__mpn_construct_long_double): Fix test for overflow of high
6052         mantissa and correct normalisation.  Avoid undefined shift.
6054 2013-10-04  Alan Modra  <amodra@gmail.com>
6056         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
6057         (union ibm_extended_long_double): Define as an array of ieee754_double.
6058         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
6059         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
6060         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
6061         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
6062         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
6063         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
6064         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
6065         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
6066         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
6067         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
6068         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
6070 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
6072         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
6073         page size instead of calling getpagesize.
6075         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
6076         (LOCFILE_ALIGN_MASK): Likewise.
6077         (LOCFILE_ALIGN_UP): Likewise.
6078         (LOCFILE_ALIGNED_P): Likewise.
6079         * locale/programs/ld-collate.c (collate_output): Use the new
6080         macros instead of __alignof__ (int32_t).
6081         * locale/weight.h (findidx): Likewise.
6083 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
6085         [BZ #431]
6086         * manual/string.texi: Fix strncat and wcsncat.
6088 2013-10-03  Brooks Moses  <bmoses@google.com>
6090         [BZ #15915]
6091         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
6092         * Makerules: ...here, and adjust associated comments.
6094 2013-10-02  Will Newton  <will.newton@linaro.org>
6096         * malloc/Makefile: Add tst-pvalloc.
6097         * malloc/tst-pvalloc.c: New file.
6099 2013-10-02  Will Newton  <will.newton@linaro.org>
6101         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
6102         improve test coverage.
6104 2013-10-02  Will Newton  <will.newton@linaro.org>
6106         * malloc/Makefile: Add tst-posix_memalign.
6107         * malloc/tst-posix_memalign.c: New file.
6109 2013-10-01  Eric Blake  <eblake@redhat.com>
6111         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
6112         Use __THROWNL rather than __THROW on static functions.
6114 2013-09-30  Petr Machata  <pmachata@redhat.com>
6116         * elf/elf.h (R_AARCH64_ABS16): New macro.
6117         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
6118         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
6119         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
6120         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
6121         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
6122         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
6123         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
6124         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
6125         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
6126         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
6127         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
6128         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
6129         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
6130         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
6131         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
6132         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
6133         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
6134         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
6135         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
6136         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
6137         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
6138         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
6139         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
6140         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
6141         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
6142         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
6143         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
6144         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
6145         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
6146         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
6147         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
6148         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
6149         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
6150         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
6151         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
6152         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
6153         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
6154         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
6155         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
6156         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
6157         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
6158         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
6159         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
6160         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
6161         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
6162         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
6163         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
6164         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
6165         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
6166         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
6167         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
6168         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
6169         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
6170         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
6171         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
6172         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
6173         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
6174         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
6175         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
6176         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
6177         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
6178         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
6179         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
6180         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
6181         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
6182         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
6183         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
6184         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
6185         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
6186         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
6187         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
6188         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
6189         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
6190         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
6191         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
6192         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
6193         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
6194         (R_AARCH64_TLSDESC_LDR): Likewise.
6195         (R_AARCH64_TLSDESC_ADD): Likewise.
6196         (R_AARCH64_TLSDESC_CALL): Likewise.
6198 2013-09-30  Andreas Schwab  <schwab@suse.de>
6200         [BZ #15048]
6201         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
6202         the nss database lookup.
6203         * nscd/initgrcache.c (addinitgroupsX): Likewise.
6204         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
6206 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
6208         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
6210 2013-09-28  P. J. McDermott  <pj@pehjota.net>
6212         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
6213         ${Bash-specific parameter/pattern/string} parameter expansion.
6214         * sysdeps/unix/make-syscalls.sh: Likewise.
6216 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
6218         * sysdeps/sh/stackguard-macros.h: New file.
6220 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
6222         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
6223         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
6224         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
6225         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
6226         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
6227         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
6229 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6231         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
6232         Fix thread ID register.
6234 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
6236         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
6237         [POSIX || UNIX98]: Require rather than permitting all symbols from
6238         <time.h>.
6239         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
6240         element of struct sched_param.
6241         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
6242         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
6243         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
6244         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
6245         constant.
6247 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
6249         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
6250         argument calculation.
6252 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
6254         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
6255         Expect macro.
6256         [POSIX] (pthread_attr_t): Do not require type.
6257         [POSIX] (pthread_cond_t): Likewise.
6258         [POSIX] (pthread_condattr_t): Likewise.
6259         [POSIX] (pthread_key_t): Likewise.
6260         [POSIX] (pthread_mutex_t): Likewise.
6261         [POSIX] (pthread_mutexattr_t): Likewise.
6262         [POSIX] (pthread_once_t): Likewise.
6263         [POSIX] (pthread_t): Likewise.
6264         [POSIX-based standards] (pthread_atfork): Expect function.
6266 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
6267             Richard Sandiford  <richard@codesourcery.com>
6269         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
6270         (swap_endianness_p): New extern variable.
6271         (set_big_endian): New inline function.
6272         (maybe_swap_uint32): Likewise.
6273         (maybe_swap_uint32_array): Likewise.
6274         (maybe_swap_uint32_obstack): Likewise.
6275         * locale/programs/locfile.c: Include <stdbool.h>.
6276         (swap_endianness_p): New variable.
6277         (add_locale_uint32): Call maybe_swap_uint32.
6278         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
6279         (write_locale_data): Call maybe_swap_uint32_array.
6280         * locale/programs/ld-collate.c (obstack_int32_grow): Call
6281         maybe_swap_uint32.
6282         (obstack_int32_grow_fast): Likewise.
6283         (output_weightwc): Call maybe_swap_uint32_obstack.
6284         (collate_output): Likewise.
6285         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
6286         (OPT_LITTLE_ENDIAN): Likewise.
6287         (options): Add --little-endian and --big-endian options.
6288         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
6289         * locale/programs/locarchive.c: Include "locfile.h".
6290         (GET): New macro.
6291         (SET): Likewise.
6292         (INC): Likewise.
6293         (create_archive): Use the new macros to access fields of
6294         structures directly mapped from or written to locale archives.
6295         (oldlocrecentcmp): Likewise.
6296         (enlarge_archive): Likewise.
6297         (insert_name): Likewise.
6298         (add_alias): Likewise.
6299         (add_locale): Likewise.
6300         (delete_locales_from_archive): Likewise.
6301         (show_archive_content): Likewise.
6302         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
6303         locale data.
6305 2013-09-24  Roland McGrath  <roland@hack.frob.com>
6307         * manual/freemanuals.texi: Updated from (newly) canonical copy at
6308         http://www.gnu.org/doc/freemanuals.texi.
6309         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
6311 2013-09-24  Will Newton  <will.newton@linaro.org>
6313         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
6314         macro.
6316 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
6318         * locale/hashval.h (compute_hashval): Interpret bytes of key as
6319         unsigned char.
6321 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
6323         * manual/threads.texi (POSIX Threads): Fix a typo.
6325 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
6327         [BZ #14547]
6328         * string/tst-strcoll-overflow.c: New test case.
6329         * string/Makefile (xtests): Add tst-strcoll-overflow.
6330         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
6331         cache if string sizes may cause integer overflow.
6333         [BZ #14547]
6334         * string/strcoll_l.c (coll_seq): New members rule, idx,
6335         save_idx and back_us.
6336         (get_next_seq_nocache): New function.
6337         (do_compare_nocache): New function.
6338         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
6339         when malloc fails.
6341 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
6343         [BZ #15754]
6344         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
6345         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
6346         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
6348         [BZ #15754]
6349         * elf/Makefile (tests): Add tst-ptrguard1.
6350         (tests-static): Add tst-ptrguard1-static.
6351         (tst-ptrguard1-ARGS): Define.
6352         (tst-ptrguard1-static-ARGS): Define.
6353         * elf/tst-ptrguard1.c: New file.
6354         * elf/tst-ptrguard1-static.c: New file.
6355         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
6356         * sysdeps/i386/stackguard-macros.h: Likewise.
6357         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
6358         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
6359         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
6360         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
6361         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
6362         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
6364 2013-09-23  Hector Marco  <hecmargi@upv.es>
6365             Ismael Ripoll  <iripoll@disca.upv.es>
6366             Carlos O'Donell  <carlos@redhat.com>
6368         [BZ #15754]
6369         * sysdeps/generic/stackguard-macros.h: Define
6370         __pointer_chk_guard_local and POINTER_CHK_GUARD.
6371         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
6372         Define __pointer_chk_guard_local.
6373         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
6374         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
6376 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
6378         [BZ #15859]
6379         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
6381 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
6383         * include/string.h (__ffs): Declare as hidden.
6384         * string/ffs.c (__ffs): Define as hidden.
6385         * sysdeps/i386/ffs.c (__ffs): Likewise.
6386         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
6387         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
6388         * sysdeps/s390/ffs.c (__ffs): Likewise.
6389         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
6391 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
6393         * NEWS: Mention malloc probes.
6395         * malloc/arena.c (new_heap): New memory_heap_new probe.
6396         (grow_heap): New memory_heap_more probe.
6397         (shrink_heap): New memory_heap_less probe.
6398         (heap_trim): New memory_heap_free probe.
6399         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
6400         (systrim): New memory_sbrk_less probe.
6401         * manual/probes.texi: Document them.
6403         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
6404         * manual/probes.texi: Document it.
6406         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
6407         (__libc_realloc): Add memory_realloc_retry probe.
6408         (__libc_memalign): Add memory_memalign_retry probe.
6409         (__libc_valloc): Add memory_valloc_retry probe.
6410         (__libc_pvalloc): Add memory_pvalloc_retry probe.
6411         (__libc_calloc): Add memory_calloc_retry probe.
6412         * manual/probes.texi: Document them.
6414         * malloc/arena.c (get_free_list): Add probe
6415         memory_arena_reuse_free_list.
6416         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
6417         and memory_arena_reuse.
6418         (arena_get2) [!PER_THREAD]: Likewise.
6419         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
6420         memory_arena_reuse_realloc.
6421         * manual/probes.texi: Document them.
6423         * malloc/malloc.c (__libc_free): Add
6424         memory_mallopt_free_dyn_thresholds probe.
6425         (__libc_mallopt): Add multiple memory_mallopt probes.
6426         * manual/probes.texi: Document them.
6428         * malloc/malloc.c: Include stap-probe.h.
6429         (__libc_mallopt): Add memory_mallopt probe.
6430         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
6431         * manual/probes.texi: New.
6432         * manual/Makefile (chapters): Add probes.
6433         * manual/threads.texi: Set next node.
6435 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
6437         [BZ #15963, #13985]
6438         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
6439         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
6440         Add `Chinese' to `nan' entry name.
6442 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
6444         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
6445         (POLYNOMIAL): Likewise.
6446         (TAYLOR_SINCOS): Likewise.
6447         (TAYLOR_SLOW): Likewise.
6448         (__sin): Use TAYLOR_SINCOS.
6449         (__cos): Likewise.
6450         (slow): Use TAYLOR_SLOW.
6451         (sloww): Likewise.
6452         (bsloww): Likewise.
6453         (csloww): Likewise.
6455 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
6457         * stdlib/strtod_l.c: Fix buffer overrun.
6459 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
6461         * benchtests/Makefile (bench): Add sincos.
6462         * benchtests/bench-sincos.c: New file.
6464         * math/libm-test.inc (cos_test_data): New test inputs.
6465         (sin_test_data): Likewise.
6467         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
6468         macro.
6469         (__sin): Use it.
6470         (__cos): Likewise.
6471         (slow1): Likewise.
6472         (slow2): Likewise.
6473         (sloww1): Likewise.
6474         (sloww2): Likewise.
6475         (bsloww1): Likewise.
6476         (bsloww2): Likewise.
6477         (cslow2): Likewise.
6478         (csloww1): Likewise.
6479         (csloww2): Likewise.
6481         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
6482         function.
6483         (__sin): Use it.
6484         (__cos): Likewise.
6486         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
6487         gotos.
6488         (__cos): Likewise.
6490 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
6492         * config.h.in (HAVE_MIPS_NAN2008): New macro.
6493         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
6494         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
6495         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
6496         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
6497         * elf/cache.c (print_entry): Handle the new cache flags.
6499 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
6500             Aldy Hernandez  <aldyh@redhat.com>
6502         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
6503         Change condition to [_SOFT_FLOAT].
6504         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
6505         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
6506         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
6507         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
6508         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
6509         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
6510         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
6511         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
6512         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
6513         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
6514         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
6515         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
6516         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
6517         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
6518         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
6519         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
6520         declaration.
6522 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
6524         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
6525         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
6526         (__longjmp): Use LOAD_GP to load saved GPRs.
6527         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
6528         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
6529         (__sigsetjmp): Use SAVE_GP to save GPRs.
6531         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
6532         Do not append -msoft-float.
6533         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
6535 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
6537         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
6539 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
6541         [BZ #15966]
6542         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
6543         (_FPU_GETCW): Use initial "__" on variable and field names but not
6544         on macro parameter name.
6545         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
6546         parentheses around reference to macro parameter.
6548 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
6550         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
6551         prototype.
6552         (ctype_startup): Use uint32_t in cast and sizeof for
6553         ctype->charnames.
6555 2013-09-11  Jia Liu  <proljc@gmail.com>
6557         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
6558         __daddr_t_defined.
6559         [__FreeBSD__]: Likewise.
6561 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
6563         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
6564         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
6565         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
6566         (strchr): Remove __strchr_sse42 ifunc selection.
6567         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
6568         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
6570 2013-09-11  Will Newton  <will.newton@linaro.org>
6572         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
6573         parameter to RES. Remove hardcoded 1000 value.
6574         * benchtests/bench-skeleton.c (main): Pass RES parameter
6575         to TIMING_INIT and multiply result by 1000.
6577 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6579         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6581 2013-09-11  Andreas Schwab  <schwab@suse.de>
6583         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
6584         if not defined.
6585         (O_TMPFILE) [__USE_GNU]: Define.
6586         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
6587         Define.
6589 2013-09-11  Will Newton  <will.newton@linaro.org>
6591         [BZ #15857]
6592         * malloc/malloc.c (__libc_memalign): Check the value of bytes
6593         does not overflow.
6595 2013-09-11  Will Newton  <will.newton@linaro.org>
6597         [BZ #15856]
6598         * malloc/malloc.c (__libc_valloc): Check the value of bytes
6599         does not overflow.
6601 2013-09-11  Will Newton  <will.newton@linaro.org>
6603         [BZ #15855]
6604         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
6605         does not overflow.
6607 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
6609         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
6610         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
6611         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
6612         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
6613         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
6615 2013-09-10  Allan McRae  <allan@archlinux.org>
6617         [BZ #15748]
6618         * manual/arith.texi (Parsing of Floats): Clarify
6619         cross-reference.
6621         [BZ #15849]
6622         * manual/install.texi (Running make install): Mention
6623         --enable-pt-chown.
6624         * INSTALL: Regenerated.
6626 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
6628         * csu/init-first.c (_init): Remove the !SHARED condition around
6629         FPU control word initialization.
6630         * elf/dl-support.c (_dl_fpu_control): New variable.
6631         (_dl_aux_init) <AT_FPUCW>: Initialize it.
6632         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
6633         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
6634         * math/test-fpucw-static.c: New file.
6635         * math/test-fpucw-ieee.c: New file.
6636         * math/test-fpucw-ieee-static.c: New file.
6637         * math/Makefile (tests): Add `test-fpucw-ieee' and
6638         `$(tests-static)'.
6639         (tests-static): New variable.
6640         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
6641         dependency to...
6642         [($(build-shared),yes)]
6643         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
6644         ... this.
6645         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
6646         New dependency.
6648 2013-09-09  Allan McRae  <allan@archlinux.org>
6650         [BZ #15939]
6651         * manual/string.texi (Collation Functions): Fix typo in
6652         strcoll example.
6653         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
6655         [BZ #15893]
6656         * stdlib/isomac.c (get_null_defines): Fix memory leak.
6658         [BZ #15892]
6659         * libio/memstream.c (open_memstream): Fix memory leak.
6660         * libio/wmemstream.c (open_wmemstream): Likewise.
6662         [BZ #15895]
6663         * nscd/netgroupcache.c: Fix nesting of ifdefs.
6665 2013-09-09  Will Newton  <will.newton@linaro.org>
6667         * malloc/Makefile: Add tst-realloc to tests.
6668         * malloc/tst-realloc.c: New file.
6670 2013-09-09  Allan McRae  <allan@archlinux.org>
6672         [BZ #15844]
6673         * COPYING: Update from GNU website to fix FSF address.
6674         * COPYING.LIB: Likewise.
6676 2013-09-06  David S. Miller  <davem@davemloft.net>
6678         * po/zh_TW.po: Update Chinese (traditional) translation from
6679         translation project.
6681 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
6682             Joseph Myers  <joseph@codesourcery.com>
6684         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
6685         "localeinfo.h".
6686         (obstack_chunk_alloc): New macro.
6687         (obstack_chunk_free): Likewise.
6688         (record_offset): New function.
6689         (init_locale_data): Likewise.
6690         (align_locale_data): Likewise.
6691         (add_locale_empty): Likewise.
6692         (add_locale_raw_data): Likewise.
6693         (add_locale_raw_obstack): Likewise.
6694         (add_locale_string): Likewise.
6695         (add_locale_wstring): Likewise.
6696         (add_locale_uint32): Likewise.
6697         (add_locale_uint32_array): Likewise.
6698         (add_locale_char): Likewise.
6699         (start_locale_structure): Likewise.
6700         (end_locale_structure): Likewise.
6701         (start_locale_prelude): Likewise.
6702         (end_locale_prelude): Likewise.
6703         (write_locale_data): Take locale_file structure rather than an
6704         iovec.
6705         * locale/programs/locfile.h: Include "obstack.h".
6706         (struct locale_file): Change to store locale file contents instead
6707         of header.
6708         (init_locale_data): New prototype.
6709         (align_locale_data): Likewise.
6710         (add_locale_empty): Likewise.
6711         (add_locale_raw_data): Likewise.
6712         (add_locale_raw_obstack): Likewise.
6713         (add_locale_string): Likewise.
6714         (add_locale_wstring): Likewise.
6715         (add_locale_uint32): Likewise.
6716         (add_locale_uint32_array): Likewise.
6717         (add_locale_char): Likewise.
6718         (start_locale_structure): Likewise.
6719         (end_locale_structure): Likewise.
6720         (start_locale_prelude): Likewise.
6721         (end_locale_prelude): Likewise.
6722         (write_locale_data): Update prototype.
6723         * locale/programs/3level.h (struct TABLE): Remove result field.
6724         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
6725         Use new locale_file interface.
6726         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
6727         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
6728         * locale/programs/ld-address.c (address_output): Use new
6729         locale_file interface.
6730         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
6731         NO_ADD_LOCALE.
6732         (collate_finish): Don't call collseq_table_finalize.
6733         (collate_output): Use new locale_file interface.
6734         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
6735         in file.
6736         (NO_FINALIZE): Change to NO_ADD_LOCALE.
6737         (TABLE): Move defines earlier in file.
6738         (ELEMENT): Likewise.
6739         (DEFAULT): Likewise.
6740         (wctrans_table_add): Move macro and inline function earlier in
6741         file.
6742         (struct wctype_table): Move type earlier in file.
6743         (add_locale_wctype_table): New static prototype.
6744         (struct locale_ctype_t): Use logical types instead of struct iovec
6745         pointers for members.
6746         (ctype_output): Use new locale_file interface.
6747         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
6748         new locale_file interface.
6749         (allocate_arrays): Update for use of new locale_file interface.
6750         * locale/programs/ld-identification.c (identification_output): Use
6751         new locale_file interface.
6752         * locale/programs/ld-measurement.c (measurement_output): Likewise.
6753         * locale/programs/ld-messages.c (messages_output): Likewise.
6754         * locale/programs/ld-monetary.c (monetary_output): Likewise.
6755         * locale/programs/ld-name.c (name_output): Likewise.
6756         * locale/programs/ld-numeric.c (numeric_output): Likewise.
6757         * locale/programs/ld-paper.c (paper_output): Likewise.
6758         * locale/programs/ld-telephone.c (telephone_output): Likewise.
6759         * locale/programs/ld-time.c (time_output): Likewise.
6761 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6763         * benchtests/Makefile: Add memrchr benchmark.
6764         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
6765         benchmark as memrchr.
6766         * benchtests/bench-memrchr-ifunc.c: New file.
6767         * benchtests/bench-memrchr.c: New file.
6769 2013-09-06   Will Newton  <will.newton@linaro.org>
6771         * benchtests/Makefile (string-bench): Add memcpy.
6773 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
6774             Cong Wang  <amwang@redhat.com>
6776         [BZ #15850]
6777         * sysdeps/unix/sysv/linux/bits/in.h
6778         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
6779         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
6780         before __USE_KERNEL_IPV6_DEFS uses.
6781         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
6782         IPPROTO_BEETPH.
6783         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
6784         sockaddr_in6, or ipv6_mreq.
6786 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6788         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
6789         memory access for final bytes in some large inputs.
6790         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
6792 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6794         * string/test-memrchr.c: New file.
6795         * string/test-memrchr-ifunc.c: New file.
6796         * string/Makefile: Add new memrchr testcase.
6798 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
6800         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
6801         fanotify_init returns EPERM.
6803 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
6805         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
6806         errors.
6807         (top level): Treat second token from macro or constant entries for
6808         allowed headers as allowed.
6809         * include/complex.h: Condition internal declarations on
6810         [!_ISOMAC].
6811         * include/fenv.h: Condition include of <stdbool.h> and internal
6812         declarations on [!_ISOMAC].
6814 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
6816         [BZ #15923]
6817         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
6819 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
6821         * configure.in (--enable-versioning): Remove configure option.
6822         (libc_cv_asm_symver_directive): Remove configure test.
6823         (libc_cv_ld_version_script_option): Likewise.
6824         (VERSIONING): Remove variable and AC_SUBST.
6825         (DO_VERSIONING): Remove AC_DEFINE.
6826         * configure: Regenerated.
6827         * config.h.in (DO_VERSIONING): Remove macro.
6828         * Makerules [$(versioning) = yes]: Change conditionals to
6829         [$(build-shared) = yes].
6830         * config.make.in (versioning): Remove variable.
6831         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
6832         [$(build-shared) = yes].
6833         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
6834         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
6835         * elf/Makefile [$(versioning) = yes]: Change conditionals to
6836         [$(build-shared) = yes].
6837         * extra-lib.mk [$(versioning) = yes]: Likewise.
6838         * hurd/Makefile [$(versioning) = yes]: Likewise.
6839         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
6840         [SHARED].
6841         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
6842         [SHARED].
6843         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
6844         [SHARED && !NO_HIDDEN].
6845         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
6846         [SHARED].
6847         [SHARED && DO_VERSIONING]: Likewise..
6848         * libio/Makefile [$(versioning) = yes]: Change conditionals to
6849         [$(build-shared) = yes].
6850         * manual/install.texi (--disable-versioning): Remove
6851         documentation.
6852         * INSTALL: Regenerated.
6853         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
6854         to [SHARED].
6855         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
6856         [$(build-shared) = yes].
6857         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
6858         * sysdeps/i386/i686/multiarch/strstr-c.c
6859         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
6860         [SHARED && !NO_HIDDEN].
6861         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
6862         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
6863         * sysdeps/powerpc/powerpc32/dl-machine.c
6864         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
6865         * sysdeps/powerpc/powerpc32/sysdep.h
6866         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
6867         to [SHARED && PIC && !NO_HIDDEN].
6868         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
6869         conditional to [SHARED].
6871 2013-09-04   Will Newton  <will.newton@linaro.org>
6873         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
6874         * benchtests/bench-string.h: Include bench-timing.h instead
6875         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
6876         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
6877         call to HP_TIMING_DIFF_INIT.
6878         * benchtests/bench-memccpy.c: Use bench-timing.h macros
6879         instead of hp-timing.h macros.
6880         * benchtests/bench-memchr.c: Likewise.
6881         * benchtests/bench-memcmp.c: Likewise.
6882         * benchtests/bench-memcpy.c: Likewise.
6883         * benchtests/bench-memmem.c: Likewise.
6884         * benchtests/bench-memmove.c: Likewise.
6885         * benchtests/bench-memset.c: Likewise.
6886         * benchtests/bench-rawmemchr.c: Likewise.
6887         * benchtests/bench-strcasecmp.c: Likewise.
6888         * benchtests/bench-strcasestr.c: Likewise.
6889         * benchtests/bench-strcat.c: Likewise.
6890         * benchtests/bench-strchr.c: Likewise.
6891         * benchtests/bench-strcmp.c: Likewise.
6892         * benchtests/bench-strcpy.c: Likewise.
6893         * benchtests/bench-strcpy_chk.c: Likewise.
6894         * benchtests/bench-strlen.c: Likewise.
6895         * benchtests/bench-strncasecmp.c: Likewise.
6896         * benchtests/bench-strncat.c: Likewise.
6897         * benchtests/bench-strncmp.c: Likewise.
6898         * benchtests/bench-strncpy.c: Likewise.
6899         * benchtests/bench-strnlen.c: Likewise.
6900         * benchtests/bench-strpbrk.c: Likewise.
6901         * benchtests/bench-strrchr.c: Likewise.
6902         * benchtests/bench-strspn.c: Likewise.
6903         * benchtests/bench-strstr.c: Likewise.
6905 2013-09-04  Will Newton  <will.newton@linaro.org>
6907         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
6909 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
6911         [BZ #15427]
6912         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
6913         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
6914         * math/libm-test.inc (lgamma_test_data): Add more tests.
6915         * sysdeps/i386/fpu/libm-test-ulps: Update.
6916         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6918 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
6920         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
6921         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
6922         Add ifunc.
6923         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
6924         Add strcmp-sse2-unaligned
6925         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
6927 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
6929         * Versions.def (libc): Add GLIBC_2.19.
6931 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
6933         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
6934         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
6936 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
6938         [BZ #14155]
6939         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
6940         intermediate calculations in recurrence.
6941         (__ieee754_ynf): Likewise.
6942         * math/libm-test.inc (jn_test_data): Do not allow spurious
6943         underflow exception.  Add more tests.
6944         (yn_test_data): Add more tests.
6945         * sysdeps/i386/fpu/libm-test-ulps: Update.
6946         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6948 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
6950         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
6952 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
6954         * csu/init-first.c: Fix then/than typos.
6955         * locale/programs/ld-collate.c: Likewise.
6956         * locale/programs/linereader.h: Likewise.
6957         * manual/charset.texi: Likewise.
6958         * manual/filesys.texi: Likewise.
6959         * manual/stdio.texi: Likewise.
6960         * manual/string.texi: Likewise.
6961         * stdlib/fmtmsg.c: Likewise.
6962         * sysdeps/i386/stpncpy.S: Likewise.
6963         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
6964         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
6965         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
6966         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
6968 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
6970         * elf/dl-open.c: Fix typos.
6971         * iconvdata/gbbig5.c: Likewise.
6972         * iconvdata/iso-2022-jp.c: Likewise.
6973         * iconv/gconv_int.h: Likewise.
6974         * iconv/loop.c: Likewise.
6975         * nis/rpcsvc/nis.h: Likewise.
6976         * resolv/ns_name.c: Likewise.
6977         * stdio-common/vfscanf.c: Likewise.
6978         * streams/stropts.h: Likewise.
6979         * sunrpc/rpc_thread.c: Likewise.
6980         * sysdeps/i386/strpbrk.S: Likewise.
6981         * sysdeps/ieee754/k_standard.c: Likewise.
6982         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
6983         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
6984         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
6985         * sysdeps/mach/hurd/profil.c: Likewise.
6986         * sysdeps/s390/dl-procinfo.h: Likewise.
6987         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
6988         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
6989         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
6990         * sysdeps/x86_64/dl-trampoline.S: Likewise.
6991         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
6993 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
6995         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
6996         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
6998 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
7000         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
7001         aix specific files.
7002         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
7003         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
7004         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
7005         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
7006         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
7007         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
7008         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
7009         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
7011 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
7012             Roland McGrath  <roland@hack.frob.com>
7014         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
7015         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
7017 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
7019         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
7020         __executable_start symbol instead of _start.
7022 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
7024         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
7025         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
7026         Move macros to...
7027         * sysdeps/gnu/ldsodefs.h: ... this new file.
7029         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
7030         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
7031         instead of ELFOSABI_LINUX.
7033         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
7034         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
7035         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
7036         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
7037         Likewise.
7038         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
7039         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
7040         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
7041         Likewise.
7042         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
7043         (ibm_extended_long_double): Add ieee_nan member.
7044         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
7045         (do_test): New function.
7047         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
7048         TEST_TRUNC.
7049         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
7050         functions, renamed from truncdfsf_test, trunctfsf_test,
7051         trunctfdf_test.
7052         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
7053         functions.
7054         (do_test): Run all these.
7056 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
7058         * argp/argp-help.c: Fix typos.
7059         * argp/argp-parse.c: Likewise.
7060         * debug/backtracesyms.c: Likewise.
7061         * elf/elf.h: Likewise.
7062         * malloc/malloc.c: Likewise.
7063         * nis/nis_print.c: Likewise.
7064         * resolv/res_comp.c: Likewise.
7065         * stdlib/stdlib.h: Likewise.
7066         * sunrpc/clnt_tcp.c: Likewise.
7067         * sunrpc/clnt_udp.c: Likewise.
7068         * sunrpc/clnt_unix.c: Likewise.
7069         * sysdeps/unix/bsd/ptsname.c: Likewise.
7070         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
7071         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
7072         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
7073         Likewise.
7074         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
7075         Likewise.
7076         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
7077         Likewise.
7078         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
7080 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
7082         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
7083         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
7085 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
7087         [BZ #15897]
7088         * dlfcn/Makefile (tests): Add bug-dl-leaf.
7089         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
7090         ($(objpfx)bug-dl-leaf): New rule.
7091         ($(objpfx)bug-dl-leaf.so): Likewise.
7092         ($(objpfx)bug-dl-leaf.out): Likewise.
7093         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
7094         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
7095         * dlfcn/bug-dl-leaf.c: New test.
7096         * dlfcn/bug-dl-leaf-lib.c: Likewise.
7097         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
7098         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
7099         (dlclose): Likewise.
7100         (dlmopen): Likewise.
7102 2013-08-27  Roland McGrath  <roland@hack.frob.com>
7104         * include/netdb.h [!_ISOMAC]:
7105         Don't include <tls.h>.
7106         (h_errno, __libc_h_errno): Move declaration and macros out of
7107         [_LIBC_REENTRANT].
7109         * include/resolv.h [_RESOLV_H_]:
7110         Don't include <tls.h>.
7111         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
7112         * resolv/res_libc.c: Don't include <tls.h>.
7113         (_res): Use __attribute__ ((nocommon)) in place of
7114         __attribute__ ((section (".bss"))).
7116         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
7117         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
7119         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
7121         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
7122         only under [SIOCGIFCONF && SIOCGIFNETMASK].
7124         * resolv/res_mkquery.c: Include <sys/time.h>.
7126         * inet/ifreq.c: Moved to ...
7127         * sysdeps/unix/ifreq.c: ... here.
7128         * inet/ifreq.c: New file, true stub version.
7130         * socket/sa_len.c: New file.
7131         * socket/Makefile (aux): Add it.
7132         * sysdeps/unix/sysv/linux/Makefile
7133         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
7134         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
7135         and #include <socket/sa_len.c>.
7136         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
7137         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
7139         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
7140         * bits/socket.h: ... here.
7142         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
7143         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
7144         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
7146 2013-08-27  Andreas Schwab  <schwab@suse.de>
7148         [BZ #15736]
7149         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
7150         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
7151         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
7152         * string/test-strcasecmp.c (test_main): Run tests in several
7153         locales.
7154         * string/test-strncasecmp.c (test_main): Likewise.
7156         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
7157         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
7158         to __strcasecmp_nonascii and __strncasecmp_nonascii.
7159         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
7160         (__strncasecmp_ssse3) [PIC]: Likewise.
7162 2013-08-26  Roland McGrath  <roland@hack.frob.com>
7164         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
7166         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
7167         instead of explicitly declaring xdecrypt.
7168         * nis/nss_nis/nis-publickey.c: Likewise.
7170 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
7172         [BZ #15890]
7173         * nscd/aicache.c: Include res_hconf.h.
7174         (addhstaiX): Initialize res_hconf.
7176 2013-08-26  Andreas Schwab  <schwab@suse.de>
7178         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
7179         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
7181 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
7183         * nscd/aicache.c (addhstaiX): Fix indentation.
7185 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
7187         * configure.ac: Quote $build_pt_chown test.
7188         * configure: Regenerated.
7190 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
7192         [BZ #15532]
7193         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
7194         * math/s_cexpf.c (__cexpf): Likewise.
7195         * math/s_cexpl.c (__cexpl): Likewise.
7196         * math/libm-test.inc (cexp_test_data): Correct expected return
7197         value for NaN + i0.  Add another test.
7199 2013-08-22  David S. Miller  <davem@davemloft.net>
7201         * po/ca.po: Update Catalan translation from translation project.
7202         * po/uk.po: Add Ukrainian translations from translation project.
7204 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
7206         [BZ #15797]
7207         * math/s_fdim.c (__fdim): Check for infinite arguments if result
7208         is infinite, not alongside NaN test.
7209         * math/s_fdimf.c (__fdimf): Likewise.
7210         * math/s_fdiml.c (__fdiml): Likewise.
7211         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
7212         errno is unchanged.
7214 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
7216         * argp/argp-help.c: Fix typos.
7217         * crypt/speeds.c: Likewise.
7218         * csu/check_fds.c: Likewise.
7219         * elf/dl-load.c: Likewise.
7220         * elf/dl-open.c: Likewise.
7221         * elf/reldep3.c: Likewise.
7222         * elf/reldep.c: Likewise.
7223         * elf/sprof.c: Likewise.
7224         * iconv/iconv_charmap.c: Likewise.
7225         * iconv/skeleton.c: Likewise.
7226         * iconv/strtab.c: Likewise.
7227         * io/lockf64.c: Likewise.
7228         * libio/libioP.h: Likewise.
7229         * resolv/gai_notify.c: Likewise.
7230         * resolv/ns_name.c: Likewise.
7231         * resolv/ns_samedomain.c: Likewise.
7232         * resolv/res_send.c: Likewise.
7233         * stdlib/random.c: Likewise.
7234         * sunrpc/rpc/xdr.h: Likewise.
7235         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
7236         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
7237         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
7238         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
7239         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
7240         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
7241         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
7242         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
7243         * sysdeps/mach/hurd/check_fds.c: Likewise.
7244         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
7245         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
7246         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
7247         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
7248         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
7249         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
7250         * sysdeps/pthread/aio_notify.c: Likewise.
7251         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
7252         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
7253         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
7254         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
7255         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
7257 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
7259         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
7260         version if bit_Slow_SSE4_2 is set.
7261         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
7262         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
7264 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7266         [BZ #15867]
7267         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
7268         trampoline stack frame information.
7269         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
7270         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
7271         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
7272         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
7273         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
7274         * sysdeps/unix/sysv/linux/powerpc/init-first.c
7275         (_libc_vdso_platform_setup): Initialize the signal trampolines.
7276         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
7277         sa_flags value.
7278         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
7279         interrupting a syscall and set with option SA_SIGINFO.
7281 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
7283         [BZ #15531]
7284         * math/s_cproj.c (__cproj): Only return an infinity if one part of
7285         argument is infinite.
7286         * math/s_cprojf.c (__cprojf): Likewise.
7287         * math/s_cprojl.c (__cprojl): Likewise.
7288         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
7289         * math/libm-test.inc (cproj_test_data): Add more tests.
7291         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
7293         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
7294         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
7295         size.  Use __ffs to determine corresponding shift.
7297 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
7298             Roland McGrath  <roland@hack.frob.com>
7300         * Makefile (INSTALL): Remove trailing blank lines from output of
7301         makeinfo.
7303 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
7305         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
7306         Align 32 bit compat elf_greg to 8 bytes.
7308 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
7310         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
7312 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
7314         * string/strcoll_l.c (coll_seq): New structure.
7315         (get_next_seq_cached): New function.
7316         (get_next_seq): New function.
7317         (do_compare): New function.
7318         (STRCOLL): Use GNU style definition.  Simplify implementation
7319         by using get_next_seq, get_next_seq_cached and do_compare.
7321 2013-08-16  Florian Weimer  <fweimer@redhat.com>
7323         [BZ #14699]
7324         CVE-2013-4237
7325         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
7326         member.
7327         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
7328         member.
7329         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
7330         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
7331         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
7332         conditional.
7333         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
7334         GETDENTS_64BIT_ALIGNED.
7335         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
7336         * manual/filesys.texi (Reading/Closing Directory): Document
7337         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
7338         strongly.
7339         * manual/conf.texi (Limits for Files): Add portability note to
7340         NAME_MAX, PATH_MAX.
7341         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
7343 2013-08-13  Andreas Schwab  <schwab@suse.de>
7345         [BZ #15749]
7346         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
7347         of fabs.
7348         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
7349         LDBL_MAX_EXP >= 16384]: Add tests for it.
7351 2013-08-12  David S. Miller  <davem@davemloft.net>
7353         * version.h (RELEASE): Set to "development".
7354         (VERSION): Set to "2.18.90".
7355         * NEWS: Add 2.19 section.
7357 2013-08-03  David S. Miller  <davem@davemloft.net>
7359         * po/ko.po: Update Korean translation from translation project.
7361 2013-08-01  David S. Miller  <davem@davemloft.net>
7363         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
7364         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
7365         Bilka.
7367 2013-07-30  David S. Miller  <davem@davemloft.net>
7369         * po/fr.po: Update French translation from translation project.
7371 2013-07-28  David S. Miller  <davem@davemloft.net>
7373         * po/cs.po: Update Czech translation from translation project.
7375         * po/sv.po: Update Swedish translation from translation project.
7377 2013-07-27  David S. Miller  <davem@davemloft.net>
7379         * po/eo.po: Update Esperanto translation from translation project.
7381         * po/vi.po: Update Vietnamese translation from translation project.
7383         * po/de.po: Update German translation from translation project.
7385 2013-07-26  David S. Miller  <davem@davemloft.net>
7387         * po/bg.po: Update Bulgarian translation from translation project.
7389         * po/nl.po: Update Dutch translation from translation project.
7390         * po/pl.po: Update Polish translation from translation project.
7391         * po/ru.po: Update Russian translation from translation project.
7393 2013-07-24  David S. Miller  <davem@davemloft.net>
7395         * po/libc.pot: Update.
7397 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7399         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
7400         variable page size.
7401         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
7402         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
7403         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
7405 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
7407         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
7409 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
7410             Andreas Schwab  <schwab@suse.de>
7411             Roland McGrath  <roland@hack.frob.com>
7412             Joseph Myers  <joseph@codesourcery.com>
7413             Carlos O'Donell  <carlos@redhat.com>
7415         [BZ #15755]
7416         * config.h.in: Define HAVE_PT_CHOWN.
7417         * config.make.in (build-pt-chown): New variable.
7418         * configure.in (--enable-pt_chown): New configure option.
7419         * configure: Regenerate.
7420         * login/Makefile: Include Makeconfig.  Build pt_chown only if
7421         build-pt-chown is enabled.
7422         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
7423         pt_chown to fix pty ownership.
7424         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
7425         CLOSE_ALL_FDS.
7426         * manual/install.texi (Configuring and compiling): Mention
7427         --enable-pt_chown. Add @findex for grantpt.
7428         * INSTALL: Regenerate.
7430 2013-07-20  David S. Miller  <davem@davemloft.net>
7432         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
7433         difference between 32-bit and 64-bit.
7435 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
7437         [BZ #15711]
7438         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
7439         Avoid system header dependency with -ffreestanding.
7440         ($(objpfx)bits/syscall%d): Likewise.
7442 2013-07-13  David S. Miller  <davem@davemloft.net>
7444         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
7445         underflows from atanl/atan2l due to bug 15319.
7446         (casinh_test_data): Likewise.
7448 2013-07-07  David S. Miller  <davem@davemloft.net>
7450         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
7452 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
7454         * sysdeps/i386/fpu/libm-test-ulps: Update.
7455         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7457 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
7459         * configure.in (--enable-lock-elision): Fix message text.
7460         * INSTALL: Regenerate.
7461         * configure: Regenerate.
7463 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7465         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7467 2013-07-03  Andreas Jaeger  <aj@suse.de>
7469         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
7470         define.
7471         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
7472         (ptrace_peeksiginfo_args): Add.
7473         (__ptrace_peeksiginfo_flags): Add.
7474         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
7475         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
7476         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
7478 2013-07-03  Allan McRae  <allan@archlinux.org>
7480         * sysdeps/i386/fpu/libm-test-ulps: Update.
7482 2013-07-02  David S. Miller  <davem@davemloft.net>
7484         * sysdeps/sparc/fpu/libm-test-ulps: Update.
7486 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
7488         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7490 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
7492         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
7493         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7495 2013-07-02  Andi Kleen <ak@linux.intel.com>
7497         * config.h.in (ENABLE_LOCK_ELISION): Add.
7498         * configure.in (--enable-lock-elision): Add option.
7499         * manual/install.texi: Document --enable lock elision.
7500         * configure: Regenerate
7501         * INSTALL: Regenerate.
7503 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
7505         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
7506         SSE4.2 strcasecmp for libc.a.
7507         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
7509 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
7511         [BZ #13304]
7512         * soft-fp/op-common.h (_FP_FMA): New macro.
7513         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
7514         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
7515         (_FP_MUL_MEAT_1_imm): ... here.
7516         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
7517         (_FP_MUL_MEAT_1_wide): ... here.
7518         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
7519         (_FP_MUL_MEAT_1_hard): ... here.
7520         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
7521         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
7522         (_FP_MUL_MEAT_2_wide): ... here.
7523         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
7524         (_FP_MUL_MEAT_2_wide_3mul): ... here.
7525         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
7526         (_FP_MUL_MEAT_2_gmp): ... here.
7527         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
7528         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
7529         (_FP_MUL_MEAT_4_wide): ... here.
7530         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
7531         (_FP_MUL_MEAT_4_gmp): ... here.
7532         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
7533         (_FP_WFRACBITS_DW_S): Likewise.
7534         (_FP_WFRACXBITS_DW_S): Likewise.
7535         (_FP_HIGHBIT_DW_S): Likewise.
7536         (FP_FMA_S): Likewise.
7537         (_FP_FRAC_HIGH_DW_S): Likewise.
7538         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
7539         (_FP_WFRACBITS_DW_D): Likewise.
7540         (_FP_WFRACXBITS_DW_D): Likewise.
7541         (_FP_HIGHBIT_DW_D): Likewise.
7542         (FP_FMA_D): Likewise.
7543         (_FP_FRAC_HIGH_DW_D): Likewise.
7544         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
7545         (_FP_WFRACBITS_DW_E): Likewise.
7546         (_FP_WFRACXBITS_DW_E): Likewise.
7547         (_FP_HIGHBIT_DW_E): Likewise.
7548         (FP_FMA_E): Likewise.
7549         (_FP_FRAC_HIGH_DW_E): Likewise.
7550         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
7551         (_FP_WFRACBITS_DW_Q): Likewise.
7552         (_FP_WFRACXBITS_DW_Q): Likewise.
7553         (_FP_HIGHBIT_DW_Q): Likewise.
7554         (FP_FMA_Q): Likewise.
7555         (_FP_FRAC_HIGH_DW_Q): Likewise.
7556         * soft-fp/fmasf4.c: New file.
7557         * soft-fp/fmadf4.c: Likewise.
7558         * soft-fp/fmatf4.c: Likewise.
7560 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
7562         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
7563         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
7564         Silvermont.
7565         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
7566         macro.
7567         (index_Slow_SSE4_2): Likewise.
7568         (index_Prefer_PMINUB_for_stringop): Likewise.
7569         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
7570         bit_Slow_SSE4_2 is set.
7571         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
7572         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
7574 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
7576         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
7577         rtld_global._dl_hwcap2.
7578         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
7579         POWER8.
7580         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
7581         POWER8 feature descriptions defined in _dl_hwcap2.
7582         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
7583         string handling for POWER8 feature bits.
7584         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
7585         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
7586         _dl_powerpc_cap_flags.
7587         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
7588         * sysdeps/powerpc/rtld-global-offsets.sym
7589         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
7590         _dl_hwcap2 in the rtld_global_ro structure.
7592 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
7594         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
7595         hardware capabilities in support of AT_HWCAP2.
7596         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
7597         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
7598         GLRO(dl_hwcap2).
7599         (_dl_show_auxv): Add support for calling _dl_procinfo to display
7600         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
7601         explicitly the unknown a_type display mechanism is used.
7602         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
7603         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
7604         struct member.
7605         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
7606         to macro prototype for AT_HWCAP2 support.
7607         * sysdeps/i386/dl-procinfo.h: Likewise.
7608         * sysdeps/s390/dl-procinfo.h: Likewise.
7609         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
7610         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
7611         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
7612         return -1 for unknown a_type display fallback.
7613         * sysdeps/sparc/dl-procinfo.h: Likewise.
7614         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
7615         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
7617 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
7619         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
7620         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
7622 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
7624         [BZ #12492]
7625         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
7626         mprotect making __stack_prot writable.
7628 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
7629             Joseph Myers  <joseph@codesourcery.com>
7631         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
7632         as being properly aligned.
7634 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
7636         * dlfcn/modstatic5.c: New file.
7637         * dlfcn/tststatic5.c: New file.
7638         * dlfcn/Makefile (tests): Add tststatic5.
7639         (tests-static): Likewise.
7640         (modules-names): Add modstatic5.
7641         (tststatic5-ENV): New variable.
7642         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
7644         [BZ #15022]
7645         * elf/dl-support.c (_dl_main_map): New variable.
7646         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
7647         (_dl_nns, _dl_load_adds): Set to 1.
7648         (_dl_initial_searchlist): Refer to _dl_main_map.
7649         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
7650         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
7651         call to _dl_get_origin.
7652         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
7653         around call_map.
7654         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
7655         * dlfcn/modstatic3.c: New file.
7656         * dlfcn/tststatic3.c: New file.
7657         * dlfcn/tststatic4.c: New file.
7658         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
7659         (tests-static): Likewise.
7660         (modules-names): Add modstatic3.
7661         (tststatic3-ENV, tststatic4-ENV): New variables.
7662         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
7663         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
7665 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
7667         * configure.in (CC): Require GCC version 4.4 or later.
7668         * configure: Regenerated.
7669         * manual/install.texi (Tools for Compilation): Update GCC version
7670         requirement.
7671         * INSTALL: Regenerated.
7673 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
7675         [BZ #15674]
7676         * string/test-memcmp.c (check2): New.
7677         (main): Call check2.
7679         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
7681 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
7683         [BZ #15022]
7684         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
7685         over to...
7686         (dl_open_worker) [!SHARED]: ... here.
7688 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
7690         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
7692 2013-06-25  Richard Henderson  <rth@redhat.com>
7694         * locale/programs/locarchive.c: Include <libc-internal.h>
7696 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
7698         * manual/texinfo.tex: Update to version 2013-06-21.17, with
7699         trailing whitespace removed.
7701 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
7703         [BZ #10283]
7704         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
7705         * locale/programs/locarchive.c: Include libc-mmap.h.
7706         (prepare_address_space): Take two new outputs (the mmap base and len).
7707         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
7708         values.
7709         (create_archive): Declare new mmap base and len values for
7710         prepare_address_space, and store the result in ah.
7711         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
7712         (enlarge_archive): If ah->mmap_base is not NULL, use that and
7713         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
7714         Declare new mmap base and len values for
7715         prepare_address_space, and store the result in new_ah.
7716         (open_archive): Declare new mmap base and len values for
7717         prepare_address_space, and store the result in ah.
7718         (close_archive): If ah->mmap_base is not NULL, use that and
7719         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
7720         * sysdeps/generic/libc-mmap.h: New file.
7722 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
7724         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
7725         (ALIGN_UP): Likewise.
7726         (PTR_ALIGN_DOWN): Likewise.
7727         (PTR_ALIGN_UP): Likewise.
7729 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
7731         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
7732         entry mapped to PPC_PLATFORM_POWER8.
7733         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
7734         POWER8.
7735         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
7736         (_dl_string_platform): Add case for exporting platform position for
7737         POWER8.
7738         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
7739         search path to sysdeps/powerpc/powerpc32/power8 directory.
7740         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
7741         search path to sysdeps/powerpc/powerpc64/power8 directory.
7742         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
7743         power7 directories.
7744         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
7745         power7 directories.
7747 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
7749         * INSTALL: Regenerate.
7751         * nscd/connections.c (nscd_init): Fix comment.
7753 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
7755         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
7757         [BZ #15667]
7758         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
7759         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
7761 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
7763         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
7764         DL_DST_REQ_STATIC.
7765         (DL_DST_REQ_STATIC): Remove macro.
7767 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
7769         [BZ #7006]
7770         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
7771         with a shift of 0 bits.
7773 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
7775         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
7776         $(tststatic-ENV).
7778 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
7780         [BZ #15655]
7781         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
7783 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7785         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
7786         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
7787         accepts -fno-tree-loop-distribute-patterns.
7788         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
7789         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
7790         recursive call.
7791         * string/memset.c (memset): Likewise.
7792         * string/test-memmove.c (simple_memmove): Disable loop transformation
7793         to library calls.
7794         * string/test-memset.c (simple_memset): Likewise.
7795         * benchtests/bench-memmove.c (simple_memmove): Likewise.
7796         * benchtests/bench-memset.c (simple_memset): Likewise.
7797         * configure: Regenerated.
7799 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
7801         * math/test-misc.c (main): Ignore fesetround failure when failures
7802         of subsequent rounding tests would be ignored.
7804         [BZ #15654]
7805         * math/fedisblxcpt.c (fedisableexcept): Return 0.
7806         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
7807         * math/fegetenv.c (__fegetenv): Return 0.
7808         * math/fegetexcept.c (fegetexcept): Return 0.
7809         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
7810         FE_TONEAREST.
7811         * math/feholdexcpt.c (feholdexcept): Return 0.
7812         * math/fesetenv.c (__fesetenv): Return 0.
7813         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
7814         argument FE_TONEAREST.
7815         * math/feupdateenv.c (__feupdateenv): Return 0.
7816         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
7818 2013-06-18  Roland McGrath  <roland@hack.frob.com>
7820         * elf/rtld-Rules (rtld-compile-command.S): New variable.
7821         (rtld-compile-command.s, rtld-compile-command.c): New variables.
7822         ($(objpfx)rtld-%.os rules): Use them.
7824 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7826         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
7827         fields.
7829 2013-06-17  Roland McGrath  <roland@hack.frob.com>
7831         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
7832         length of target pattern, then descending length of dependency pattern.
7833         * configure.in (AWK): Require gawk 3.1.2 or newer.
7834         * manual/install.texi (Tools for Compilation): Say that we do.
7835         * configure: Regenerated.
7837         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
7838         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
7839         * scripts/sysd-rules.awk: ... this new script.
7840         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
7841         than a glob-style pattern.
7843 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
7845         * math/test-misc.c (main): Do not treat incorrectly rounded
7846         conversions as failure unless ROUNDING_TESTS passes.
7848 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
7850         [BZ #15631]
7851         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
7852         restore exception state around main square root computation, then
7853         check for inexactness explicitly.
7855         * math/libm-test.inc (fma_test_data): Add another test.
7857 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
7859         * manual/threads.texi (Non-POSIX Extensions): New document
7860         node.  Document pthread_getattr_default_np and
7861         pthread_setattr_default_np.
7863         * Versions.def (libpthread): Add GLIBC_2.18.
7864         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
7865         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
7866         Likewise.
7867         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
7868         Likewise.
7869         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
7870         Likewise.
7871         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
7872         Likewise.
7873         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
7874         Likewise.
7875         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
7876         Likewise.
7877         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
7878         Likewise.
7879         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
7880         Likewise.
7881         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
7882         Likewise.
7884 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
7886         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
7887         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
7889 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
7890             H.J. Lu  <hjl.tools@gmail.com>
7892         [BZ #15627]
7893         * sysdeps/x86_64/rtld-memset.c: Remove file.
7894         * sysdeps/x86_64/rtld-memset.S: New file.
7896 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
7898         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
7899         (test_in_one_mode): Take arguments for whether the rounding mode
7900         is supported for each floating-point type.
7901         (do_test): Pass new arguments to test_in_one_mode using
7902         ROUNDING_TESTS.
7904 2013-06-13  Roland McGrath  <roland@hack.frob.com>
7906         * posix/tst-waitid.c (do_test): Distinguish different instances of
7907         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
7908         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
7909         before entering the kernel for waitpid.
7911 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
7913         * NEWS: Fix note on clock function precision.  Text by Roland
7914         McGrath.
7916 2013-06-13  Roland McGrath  <roland@hack.frob.com>
7918         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
7919         it into place only when and if the sanity check passes.
7921 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
7923         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
7924         output for whether conversion result is exact.  Take argument
7925         indicating whether type is IBM long double.
7926         (round_for_all): Change need_exact field to ibm_ld.
7927         * stdlib/tst-strtod-round.c (struct exactness): New type.
7928         (struct test): Change bool ld_ok field to struct exactness exact.
7929         (TEST): Update all definitions for change to field.
7930         (tests): Regenerate array contents.
7931         (test_in_one_mode): Take pointer to new field instead of old ld_ok
7932         field value.  Check for IBM long double here.
7933         (do_test): Update calls to test_in_one_mode.
7935 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
7937         [BZ #12515]
7938         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
7939         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
7941 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7943         [BZ #15605]
7944         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
7945         generated by the compiler on loop optimizations.
7946         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
7947         general definitions.
7949 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
7951         * math/bug-nextafter.c: Include <math-tests.h>.
7952         (main): Only test for exceptions if EXCEPTION_TESTS is true for
7953         the relevant type.
7954         * math/bug-nexttoward.c: Include <math-tests.h>.
7955         (main): Only test for exceptions if EXCEPTION_TESTS is true for
7956         the relevant type.
7957         * math/test-misc.c: Include <math-tests.h>.
7958         (main): Only test for exceptions if EXCEPTION_TESTS is true for
7959         the relevant type.
7961 2013-06-12  Andreas Jaeger  <aj@suse.de>
7963         * po/ia.po: Update Interlingua translation from translation
7964         project.
7966 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
7968         * include/fenv.h: Include stdbool.h.
7969         (struct rm_ctx): New structure.
7970         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
7971         Define macro.
7972         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
7973         (SET_RESTORE_ROUNDF): Likewise.
7974         (SET_RESTORE_ROUNDL): Likewise.
7975         (SET_RESTORE_ROUND_NOEX): Likewise.
7976         (SET_RESTORE_ROUND_NOEXF): Likewise.
7977         (SET_RESTORE_ROUND_NOEXL): Likewise.
7978         (SET_RESTORE_ROUND_53BIT): Likewise.
7979         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
7980         (libc_feresetround_noexf_ctx): Likewise.
7981         (libc_feresetround_noexl_ctx): Likewise.
7982         (libc_feholdsetround_53bit_ctx): Likewise.
7983         (libc_feresetround_53bit_ctx): Likewise.
7984         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
7985         (libc_feholdexcept_setround_sse_ctx): New function.
7986         (libc_fesetenv_sse_ctx): Likewise.
7987         (libc_feupdateenv_sse_ctx): Likewise.
7988         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
7989         (libc_feholdexcept_setround_387_ctx): Likewise.
7990         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
7991         (libc_feholdsetround_387_prec_ctx): Likewise.
7992         (libc_feholdsetround_387_ctx): Likewise.
7993         (libc_feholdsetround_387_53bit_ctx): Likewise.
7994         (libc_feholdsetround_sse_ctx): Likewise.
7995         (libc_feresetround_sse_ctx): Likewise.
7996         (libc_feresetround_387_ctx): Likewise.
7997         (libc_feupdateenv_387_ctx): Likewise.
7998         (libc_feholdexcept_setroundf_ctx): Define macro.
7999         (libc_fesetenvf_ctx): Likewise.
8000         (libc_feupdateenvf_ctx): Likewise.
8001         (libc_feholdsetroundf_ctx): Likewise.
8002         (libc_feresetroundf_ctx): Likewise.
8003         (libc_feholdexcept_setround_ctx): Likewise.
8004         (libc_fesetenv_ctx): Likewise.
8005         (libc_feupdateenv_ctx): Likewise.
8006         (libc_feholdsetround_ctx): Likewise.
8007         (libc_feresetround_ctx): Likewise.
8008         (libc_feholdexcept_setroundl_ctx): Likewise.
8009         (libc_feupdateenvl_ctx): Likewise.
8010         (libc_feholdsetroundl_ctx): Likewise.
8011         (libc_feresetroundl_ctx): Likewise.
8012         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
8013         (libc_feresetround_53bit_ctx): Likewise.
8015 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
8017         * locale/iso-639.def: Convert to UTF-8.
8019 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
8021         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
8022         (EXCEPTION_TESTS_double): Likewise.
8023         (EXCEPTION_TESTS_long_double): Likewise.
8024         (EXCEPTION_TESTS): Likewise.
8025         * math/libm-test.inc (test_exceptions): Only test exceptions if
8026         EXCEPTION_TESTS (FLOAT).
8028 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
8030         * benchtests/Makefile (string-bench): Add strcpy_chk and
8031         stpcpy_chk.
8032         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
8033         * benchtests/bench-stpcpy_chk.c: New file.
8034         * benchtests/bench-strcpy_chk-ifunc.c: New file.
8035         * benchtests/bench-strcpy_chk.c: New file.
8036         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
8037         code.
8038         (do_test): Likewise.
8040 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
8042         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
8043         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
8044         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
8045         with tabs where appropriate.
8046         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
8047         dl-procinfo.h.
8048         [PPC_PLATFORM_PPC440]: Likewise.
8049         [PPC_PLATFORM_PPC464]: Likewise.
8050         [PPC_PLATFORM_PPC476]: Likewise.
8051         (_dl_string_platform): Add support for detecting ppc405, ppc440,
8052         ppc464, and ppc476 platform strings merging from ports/
8053         dl-procinfo.h.
8055 2013-06-11  Andreas Schwab  <schwab@suse.de>
8057         [BZ #14991]
8058         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
8059         (from_ucs4_idx): Regenerate.
8060         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
8061         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
8062         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
8063         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
8064         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
8065         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
8066         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
8067         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
8068         from FROM_LOOP and TO_LOOP specific macros.
8069         (BODY): Handle combining characters.
8070         * iconvdata/BIG5HKSCS.irreversible: Update.
8071         * iconvdata/BIG5HKSCS.precomposed: New file.
8072         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
8073         characters.
8074         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
8076 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
8078         * include/sys/time.h: Fix indentation and add copyright header.
8080         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
8081         (do_test): Likewise.
8082         * string/test-memchr.c (do_one_test): Likewise.
8083         (do_test): Likewise.
8084         * string/test-memcmp.c (do_one_test): Likewise.
8085         (do_test): Likewise.
8086         * string/test-memcpy.c (do_one_test): Likewise.
8087         (do_test): Likewise.
8088         * string/test-memmem.c (do_one_test): Likewise.
8089         (do_test): Likewise.
8090         (do_random_tests): Likewise.
8091         * string/test-memmove.c (do_one_test): Likewise.
8092         (do_test): Likewise.
8093         * string/test-memset.c (do_one_test): Likewise.
8094         (do_test): Likewise.
8095         * string/test-rawmemchr.c (do_one_test): Likewise.
8096         (do_test): Likewise.
8097         * string/test-strcasecmp.c (do_one_test): Likewise.
8098         (do_test): Likewise.
8099         * string/test-strcasestr.c (do_one_test): Likewise.
8100         (do_test): Likewise.
8101         * string/test-strcat.c (do_one_test): Likewise.
8102         (do_test): Likewise.
8103         * string/test-strchr.c (do_one_test): Likewise.
8104         (do_test): Likewise.
8105         * string/test-strcmp.c (do_one_test): Likewise.
8106         (do_test): Likewise.
8107         * string/test-strcpy.c (do_one_test): Likewise.
8108         (do_test): Likewise.
8109         * string/test-string.h: Likewise.
8110         (test_init): Likewise.
8111         * string/test-strlen.c (do_one_test): Likewise.
8112         (do_test): Likewise.
8113         * string/test-strncasecmp.c (do_one_test): Likewise.
8114         (do_test): Likewise.
8115         * string/test-strncat.c (do_one_test): Likewise.
8116         (do_test): Likewise.
8117         * string/test-strncmp.c (do_one_test): Likewise.
8118         (do_test_limit): Likewise.
8119         (do_test): Likewise.
8120         * string/test-strncpy.c (do_one_test): Likewise.
8121         (do_test): Likewise.
8122         * string/test-strnlen.c (do_one_test): Likewise.
8123         (do_test): Likewise.
8124         * string/test-strpbrk.c (do_one_test): Likewise.
8125         (do_test): Likewise.
8126         * string/test-strrchr.c (do_one_test): Likewise.
8127         (do_test): Likewise.
8128         * string/test-strspn.c (do_one_test): Likewise.
8129         (do_test): Likewise.
8130         * string/test-strstr.c (do_one_test): Likewise.
8131         (do_test): Likewise.
8133         * benchtests/Makefile (string-bench): Add string benchmarks.
8134         * benchtests/bench-bcopy-ifunc.c: New file.
8135         * benchtests/bench-bcopy.c: New file.
8136         * benchtests/bench-bzero-ifunc.c: New file.
8137         * benchtests/bench-bzero.c: New file.
8138         * benchtests/bench-memccpy-ifunc.c: New file.
8139         * benchtests/bench-memccpy.c: New file.
8140         * benchtests/bench-memchr-ifunc.c: New file.
8141         * benchtests/bench-memchr.c: New file.
8142         * benchtests/bench-memcmp-ifunc.c: New file.
8143         * benchtests/bench-memcmp.c: New file.
8144         * benchtests/bench-memmem-ifunc.c: New file.
8145         * benchtests/bench-memmem.c: New file.
8146         * benchtests/bench-memmove-ifunc.c: New file.
8147         * benchtests/bench-memmove.c: New file.
8148         * benchtests/bench-mempcpy-ifunc.c: New file.
8149         * benchtests/bench-mempcpy.c: New file.
8150         * benchtests/bench-memset-ifunc.c: New file.
8151         * benchtests/bench-memset.c: New file.
8152         * benchtests/bench-rawmemchr-ifunc.c: New file.
8153         * benchtests/bench-rawmemchr.c: New file.
8154         * benchtests/bench-stpcpy-ifunc.c: New file.
8155         * benchtests/bench-stpcpy.c: New file.
8156         * benchtests/bench-stpncpy-ifunc.c: New file.
8157         * benchtests/bench-stpncpy.c: New file.
8158         * benchtests/bench-strcasecmp-ifunc.c: New file.
8159         * benchtests/bench-strcasecmp.c: New file.
8160         * benchtests/bench-strcasestr-ifunc.c: New file.
8161         * benchtests/bench-strcasestr.c: New file.
8162         * benchtests/bench-strcat-ifunc.c: New file.
8163         * benchtests/bench-strcat.c: New file.
8164         * benchtests/bench-strchr-ifunc.c: New file.
8165         * benchtests/bench-strchr.c: New file.
8166         * benchtests/bench-strchrnul-ifunc.c: New file.
8167         * benchtests/bench-strchrnul.c: New file.
8168         * benchtests/bench-strcmp-ifunc.c: New file.
8169         * benchtests/bench-strcmp.c: New file.
8170         * benchtests/bench-strcpy-ifunc.c: New file.
8171         * benchtests/bench-strcpy.c: New file.
8172         * benchtests/bench-strcspn-ifunc.c: New file.
8173         * benchtests/bench-strcspn.c: New file.
8174         * benchtests/bench-strlen-ifunc.c: New file.
8175         * benchtests/bench-strlen.c: New file.
8176         * benchtests/bench-strncasecmp-ifunc.c: New file.
8177         * benchtests/bench-strncasecmp.c: New file.
8178         * benchtests/bench-strncat-ifunc.c: New file.
8179         * benchtests/bench-strncat.c: New file.
8180         * benchtests/bench-strncmp-ifunc.c: New file.
8181         * benchtests/bench-strncmp.c: New file.
8182         * benchtests/bench-strncpy-ifunc.c: New file.
8183         * benchtests/bench-strncpy.c: New file.
8184         * benchtests/bench-strnlen-ifunc.c: New file.
8185         * benchtests/bench-strnlen.c: New file.
8186         * benchtests/bench-strpbrk-ifunc.c: New file.
8187         * benchtests/bench-strpbrk.c: New file.
8188         * benchtests/bench-strrchr-ifunc.c: New file.
8189         * benchtests/bench-strrchr.c: New file.
8190         * benchtests/bench-strspn-ifunc.c: New file.
8191         * benchtests/bench-strspn.c: New file.
8192         * benchtests/bench-strstr-ifunc.c: New file.
8193         * benchtests/bench-strstr.c: New file.
8195         * benchtests/Makefile: Disable parallel execution of targets.
8196         (string-bench): Add memcpy.
8197         (benchset): New variable to store a list of benchmark sets.
8198         (bench-func): Renamed from bench.
8199         (bench-set): New target.
8200         (bench): Depend on bench-func and bench-set.
8201         * benchtests/README: Add section on benchmark sets.
8202         * benchtests/bench-memcpy-ifunc.c: New file.
8203         * benchtests/bench-memcpy.c: New file.
8204         * benchtests/bench-string.h: New file.
8206 2013-06-11  Andreas Schwab  <schwab@suse.de>
8208         [BZ #15577]
8209         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
8210         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
8211         values in the triple.
8212         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
8213         terminator in the group key.
8215 2013-06-11  Andreas Jaeger  <aj@suse.de>
8217         * po/zh_TW.po: Update Chinese (traditional) translation from
8218         translation project.
8220 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
8222         * include/time.h (__clock_gettime): Add libc_hidden_proto.
8223         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
8224         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
8225         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
8226         (clock_getcpuclockid): Likewise.
8227         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
8228         Add weak_alias and libc_hidden_def.
8229         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
8230         * rt/clock_gettime.c (clock_gettime): Rename to
8231         __clock_gettime.  Add weak_alias and libc_hidden_def.
8232         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
8233         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
8234         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
8235         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
8236         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
8237         Likewise.
8238         * rt/clock_settime.c (clock_settime): Rename to
8239         __clock_settime.  Add weak_alias and libc_hidden_def.
8240         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
8242 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
8244         * mach/err_boot.sub: Remove trailing whitespace.
8245         * mach/err_ipc.sub: Likewise.
8246         * mach/err_mach.sub: Likewise.
8248         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
8249         (ROUNDING_TESTS_double): Likewise.
8250         (ROUNDING_TESTS_long_double): Likewise.
8251         (ROUNDING_TESTS): Likewise.
8252         * math/libm-test.inc: Include <math-tests.h>.
8253         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
8254         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
8255         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
8256         (IF_ROUND_INIT_FE_UPWARD): Likewise.
8258 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
8260         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
8261         of assigning.
8263 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
8265         * sysdeps/gnu/errlist.awk: Do not generate space at end of
8266         otherwise empty TRANS lines.
8267         * sysdeps/gnu/errlist.c: Regenerated.
8269         * catgets/gencat.c (error_print): Use (void) in function
8270         definition.
8271         * crypt/crypt_util.c (__init_des): Likewise.
8272         * crypt/speeds.c (Stop): Likewise.
8273         (main): Likewise.
8274         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
8275         * inet/ruserpass.c (token): Likewise.
8276         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
8277         * intl/localealias.c (extend_alias_table): Likewise.
8278         * intl/plural-exp.c (init_germanic_plural): Likewise.
8279         * libio/fcloseall.c (__fcloseall): Likewise.
8280         * libio/genops.c (_IO_flush_all): Likewise.
8281         (_IO_flush_all_linebuffered): Likewise.
8282         (_IO_cleanup): Likewise.
8283         (_IO_iter_begin): Likewise.
8284         (_IO_iter_end): Likewise.
8285         (_IO_list_lock): Likewise.
8286         (_IO_list_unlock): Likewise.
8287         (_IO_list_resetlock): Likewise.
8288         * libio/getchar.c (getchar): Likewise.
8289         * libio/getchar_u.c (getchar_unlocked): Likewise.
8290         * libio/getwchar.c (getwchar): Likewise.
8291         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
8292         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
8293         * login/getpt.c (__getpt): Likewise.
8294         * login/tst-utmp.c (main): Likewise.
8295         * malloc/hooks.c (__malloc_check_init): Likewise.
8296         * malloc/malloc.c (__malloc_stats): Likewise.
8297         * malloc/mtrace.c (tr_break): Likewise.
8298         (mtrace): Likewise.
8299         (muntrace): Likewise.
8300         * misc/fstab.c (endfsent): Likewise.
8301         * misc/getclktck.c (__getclktck): Likewise.
8302         * misc/getdtsz.c (__getdtablesize): Likewise.
8303         * misc/gethostid.c (gethostid): Likewise.
8304         * misc/getpagesize.c (__getpagesize): Likewise.
8305         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
8306         (__get_nprocs): Likewise.
8307         (__get_phys_pages): Likewise.
8308         (__get_avphys_pages): Likewise.
8309         * misc/getttyent.c (getttyent): Likewise.
8310         (setttyent): Likewise.
8311         (endttyent): Likewise.
8312         * misc/getusershell.c (getusershell): Likewise.
8313         (endusershell): Likewise.
8314         (setusershell): Likewise.
8315         (initshells): Likewise.
8316         * misc/hsearch.c (__hdestroy): Likewise.
8317         * misc/sync.c (sync): Likewise.
8318         * misc/syslog.c (closelog_internal): Likewise.
8319         (closelog): Likewise.
8320         * misc/ttyslot.c (ttyslot): Likewise.
8321         * misc/vhangup.c (vhangup): Likewise.
8322         * posix/fork.c (__fork): Likewise.
8323         * posix/getegid.c (__getegid): Likewise.
8324         * posix/geteuid.c (__geteuid): Likewise.
8325         * posix/getgid.c (__getgid): Likewise.
8326         * posix/getpid.c (__getpid): Likewise.
8327         * posix/getppid.c (__getppid): Likewise.
8328         * posix/getuid.c (__getuid): Likewise.
8329         * posix/pause.c (pause): Likewise.
8330         * posix/setpgrp.c (setpgrp): Likewise.
8331         * posix/setsid.c (__setsid): Likewise.
8332         * posix/test-vfork.c (noop): Likewise.
8333         * resolv/gethnamaddr.c (_endhtent): Likewise.
8334         (_gethtent): Likewise.
8335         (ht_endhostent): Likewise.
8336         (gethostent): Likewise.
8337         (dns_service): Likewise.
8338         * stdlib/drand48.c (drand48): Likewise.
8339         * stdlib/lrand48.c (lrand48): Likewise.
8340         * stdlib/mrand48.c (mrand48): Likewise.
8341         * stdlib/rand.c (rand): Likewise.
8342         * stdlib/random.c (__random): Likewise.
8343         * stdlib/setenv.c (clearenv): Likewise.
8344         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
8345         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
8346         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
8347         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
8348         (__get_nprocs): Likewise.
8349         (__get_phys_pages): Likewise.
8350         (__get_avphys_pages): Likewise.
8351         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
8352         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
8353         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
8354         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
8355         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
8356         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
8357         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
8358         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
8359         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
8360         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
8361         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
8362         * sysdeps/mach/hurd/sync.c (sync): Likewise.
8363         * sysdeps/posix/clock.c (clock): Likewise.
8364         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
8365         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
8366         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
8367         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
8368         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
8369         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
8370         (__get_nprocs_conf): Likewise.
8371         (__get_phys_pages): Likewise.
8372         (__get_avphys_pages): Likewise.
8373         * time/clock.c (clock): Likewise.
8374         * time/tzset.c (__tzname_max): Likewise.
8376 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
8378         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
8379         (__bswap_32): Do not use "register".
8380         * crypt/crypt.c (_ufc_doit_r): Likewise.
8381         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
8382         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
8383         * gmon/gmon.c (__monstartup): Likewise.
8384         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
8385         * hurd/hurdmalloc.c (more_memory): Likewise.
8386         (malloc): Likewise.
8387         (free): Likewise.
8388         (realloc): Likewise.
8389         (malloc_fork_prepare): Likewise.
8390         (malloc_fork_parent): Likewise.
8391         (malloc_fork_child): Likewise.
8392         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
8393         (_svcauth_des): Likewise.
8394         * inet/inet_lnaof.c (inet_lnaof): Likewise.
8395         * inet/inet_net.c (inet_network): Likewise.
8396         * inet/inet_netof.c (inet_netof): Likewise.
8397         * inet/rcmd.c (__validuser2_sa): Likewise.
8398         * io/fts.c (fts_open): Likewise.
8399         (fts_load): Likewise.
8400         (fts_close): Likewise.
8401         (fts_read): Likewise.
8402         (fts_children): Likewise.
8403         (fts_build): Likewise.
8404         (fts_stat): Likewise.
8405         (fts_sort): Likewise.
8406         (fts_alloc): Likewise.
8407         (fts_lfree): Likewise.
8408         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
8409         (_IO_file_xsgetn): Likewise.
8410         (_IO_file_xsgetn_mmap): Likewise.
8411         * libio/iofopncook.c (_IO_cookie_read): Likewise.
8412         (_IO_cookie_write): Likewise.
8413         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
8414         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
8415         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
8416         * malloc/obstack.c (_obstack_begin): Likewise.
8417         (_obstack_begin_1): Likewise.
8418         (_obstack_newchunk): Likewise.
8419         (_obstack_allocated_p): Likewise.
8420         (obstack_free): Likewise.
8421         (_obstack_memory_used): Likewise.
8422         * misc/getttyent.c (getttynam): Likewise.
8423         (getttyent): Likewise.
8424         (skip): Likewise.
8425         (value): Likewise.
8426         * misc/getusershell.c (initshells): Likewise.
8427         * misc/syslog.c (__vsyslog_chk): Likewise.
8428         * misc/ttyslot.c (ttyslot): Likewise.
8429         * nis/nis_hash.c (__nis_hash): Likewise.
8430         * posix/fnmatch_loop.c (FCT): Likewise.
8431         * posix/getconf.c (print_all): Likewise.
8432         (main): Likewise.
8433         * posix/getopt.c (exchange): Likewise.
8434         * posix/glob.c (globfree): Likewise.
8435         (prefix_array): Likewise.
8436         (__glob_pattern_type): Likewise.
8437         * resolv/arpa/nameser.h (NS_GET16): Likewise.
8438         (NS_GET32): Likewise.
8439         (NS_PUT16): Likewise.
8440         (NS_PUT32): Likewise.
8441         * resolv/gethnamaddr.c (getanswer): Likewise.
8442         (gethostbyname2): Likewise.
8443         (gethostbyaddr): Likewise.
8444         (_gethtent): Likewise.
8445         (_gethtbyname2): Likewise.
8446         (_gethtbyaddr): Likewise.
8447         * resolv/ns_print.c (dst_s_get_int16): Likewise.
8448         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
8449         * resolv/res_init.c (__res_vinit): Likewise.
8450         (net_mask): Likewise.
8451         * resolv/res_mkquery.c (outchar): Likewise.
8452         (PRINT): Likewise.
8453         * stdio-common/printf_fp.c (outchar): Likewise.
8454         (PRINT): Likewise.
8455         * stdio-common/printf_fphex.c (outchar): Likewise.
8456         (PRINT): Likewise.
8457         * stdio-common/printf_size.c (outchar): Likewise.
8458         (PRINT): Likewise.
8459         * stdio-common/test_rdwr.c (main): Likewise.
8460         * stdio-common/tfformat.c (matches): Likewise.
8461         * stdio-common/vfprintf.c (outchar): Likewise.
8462         (printf_unknown): Likewise.
8463         (buffered_vfprintf): Likewise.
8464         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
8465         * stdio-common/xbug.c (AppendToBuffer): Likewise.
8466         (ReadFile): Likewise.
8467         * stdlib/qsort.c (SWAP): Likewise.
8468         (_quicksort): Likewise.
8469         * stdlib/setenv.c (__add_to_environ): Likewise.
8470         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
8471         * stdlib/strtol_l.c (__strtol_l): Likewise.
8472         * stdlib/tst-strtod.c (main): Likewise.
8473         * stdlib/tst-strtol.c (main): Likewise.
8474         * stdlib/tst-strtoll.c (main): Likewise.
8475         * string/bits/string2.h (__strcmp_cc): Likewise.
8476         (__strcmp_cg): Likewise.
8477         (__strcspn_c1): Likewise.
8478         (__strcspn_c2): Likewise.
8479         (__strcspn_c3): Likewise.
8480         (__strspn_c1): Likewise.
8481         (__strspn_c2): Likewise.
8482         (__strspn_c3): Likewise.
8483         (__strsep_1c): Likewise.
8484         (__strsep_2c): Likewise.
8485         (__strsep_3c): Likewise.
8486         * string/memccpy.c (__memccpy): Likewise.
8487         * string/stpcpy.c (__stpcpy): Likewise.
8488         * string/strcmp.c (strcmp): Likewise.
8489         * string/strrchr.c (strrchr): Likewise.
8490         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
8491         Likewise.
8492         * sysdeps/mach/hurd/getcwd.c
8493         (_hurd_canonicalize_directory_name_internal): Likewise.
8494         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
8495         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
8496         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
8497         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
8498         Likewise, in both definitions.
8499         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
8500         definitions.
8501         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
8502         64] (__bswap_64): Likewise.
8503         * time/test_time.c (main): Likewise.
8504         * time/tzfile.c (__tzfile_read): Likewise.
8505         (__tzfile_compute): Likewise.
8506         * time/tzset.c (__tzset_parse_tz): Likewise.
8507         (tzset_internal): Likewise.
8508         (compute_change): Likewise.
8509         * wcsmbs/wcscat.c (__wcscat): Likewise.
8510         * wcsmbs/wcschr.c (wcschr): Likewise.
8511         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
8512         * wcsmbs/wcscspn.c (wcscspn): Likewise.
8513         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
8514         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
8515         * wcsmbs/wcsspn.c (wcsspn): Likewise.
8516         * wcsmbs/wcsstr.c (wcsstr): Likewise.
8517         * wcsmbs/wmemchr.c (wmemchr): Likewise.
8518         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
8519         * wcsmbs/wmemset.c (wmemset): Likewise.
8521 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
8523         * scripts/config.guess: Update to version 2013-05-16.
8524         * scripts/config.sub: Update to version 2013-04-24.
8525         * scripts/install-sh: Update to version 2011-11-20.07.
8526         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
8527         * scripts/move-if-change: Update to version 2012-01-06 07:23.
8529 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
8531         * debug/fgetws_u_chk.c: Fix leading whitespaces.
8532         * elf/sln.c: Likewise.
8533         * hurd/hurd/ioctl.h: Likewise.
8534         * hurd/hurdmalloc.c: Likewise.
8535         * hurd/xattr.c: Likewise.
8536         * include/shlib-compat.h: Likewise.
8537         * inet/ruserpass.c: Likewise.
8538         * libio/iofgets_u.c: Likewise.
8539         * libio/iofgetws_u.c: Likewise.
8540         * locale/programs/ld-identification.c: Likewise.
8541         * locale/programs/ld-time.c: Likewise.
8542         * mach/msg-destroy.c: Likewise.
8543         * nss/nss_files/files-netgrp.c: Likewise.
8544         * resolv/res_data.c: Likewise.
8545         * soft-fp/op-1.h: Likewise.
8546         * soft-fp/op-2.h: Likewise.
8547         * soft-fp/op-4.h: Likewise.
8548         * soft-fp/op-common.h: Likewise.
8549         * stdio-common/printf_fphex.c: Likewise.
8550         * stdlib/strtod_l.c: Likewise.
8551         * sunrpc/rpc/clnt.h: Likewise.
8552         * sysdeps/generic/framestate.c: Likewise.
8553         * sysdeps/i386/bsd-_setjmp.S: Likewise.
8554         * sysdeps/i386/bsd-setjmp.S: Likewise.
8555         * sysdeps/i386/__longjmp.S: Likewise.
8556         * sysdeps/i386/setjmp.S: Likewise.
8557         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
8558         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
8559         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
8560         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
8561         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
8562         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
8563         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
8564         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
8565         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
8566         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
8567         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
8568         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
8569         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
8570         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
8571         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
8572         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
8573         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
8574         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
8575         * sysdeps/ieee754/support.c: Likewise.
8576         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
8577         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
8578         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
8579         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
8580         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
8581         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
8582         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
8583         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
8584         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
8585         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
8586         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
8587         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
8588         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
8589         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
8590         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
8591         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
8592         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
8593         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
8595 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
8597         * posix/transbug.c: Remove executable mode.
8599 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
8601         * crypt/speeds.c: Remove trailing whitespace.
8602         * dlfcn/default.c: Likewise.
8603         * elf/ifuncdep2.c: Likewise.
8604         * elf/ifuncmain1.c: Likewise.
8605         * elf/ifuncmain1vis.c: Likewise.
8606         * elf/testobj.h: Likewise.
8607         * elf/tst-stackguard1.c: Likewise.
8608         * gmon/sys/gmon.h: Likewise.
8609         * hurd/hurdmsg.c: Likewise.
8610         * hurd/new-fd.c: Likewise.
8611         * hurd/ports-get.c: Likewise.
8612         * iconvdata/ibm1008_420.c: Likewise.
8613         * inet/tst-getni1.c: Likewise.
8614         * inet/tst-getni2.c: Likewise.
8615         * libio/ioungetc.c: Likewise.
8616         * libio/wfiledoalloc.c: Likewise.
8617         * manual/libm-err-tab.pl: Likewise.
8618         * math/w_dremf.c: Likewise.
8619         * misc/ftruncate.c: Likewise.
8620         * posix/bug-glob2.c: Likewise.
8621         * posix/tst-pcre.c: Likewise.
8622         * posix/wait4.c: Likewise.
8623         * resolv/README: Likewise.
8624         * resolv/res_debug.h: Likewise.
8625         * resolv/tst-inet_ntop.c: Likewise.
8626         * setjmp/bug269-setjmp.c: Likewise.
8627         * soft-fp/extended.h: Likewise.
8628         * soft-fp/op-1.h: Likewise.
8629         * soft-fp/op-2.h: Likewise.
8630         * soft-fp/op-4.h: Likewise.
8631         * soft-fp/op-8.h: Likewise.
8632         * soft-fp/testit.c: Likewise.
8633         * stdio-common/bug16.c: Likewise.
8634         * stdlib/random.c: Likewise.
8635         * sunrpc/rpcsvc/rquota.x: Likewise.
8636         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
8637         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
8638         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
8639         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
8640         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
8641         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
8642         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
8643         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
8644         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
8645         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
8646         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
8647         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
8648         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
8649         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
8650         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
8651         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
8652         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
8653         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
8654         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
8655         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
8656         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
8657         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
8658         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
8659         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
8660         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
8661         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
8662         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
8663         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
8664         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
8665         * sysdeps/ieee754/s_lib_version.c: Likewise.
8666         * sysdeps/mach/hurd/check_fds.c: Likewise.
8667         * sysdeps/mach/hurd/getsockname.c: Likewise.
8668         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
8669         * sysdeps/mach/hurd/recvfrom.c: Likewise.
8670         * sysdeps/powerpc/bits/link.h: Likewise.
8671         * sysdeps/powerpc/dl-procinfo.c: Likewise.
8672         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
8673         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
8674         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
8675         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
8676         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
8677         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
8678         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
8679         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
8680         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
8681         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
8682         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
8683         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
8684         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
8685         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
8686         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
8687         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
8688         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
8689         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
8690         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
8691         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
8692         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
8693         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
8694         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
8695         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
8696         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
8697         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
8698         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
8699         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
8700         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
8701         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
8702         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
8703         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
8704         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
8705         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
8706         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
8707         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
8708         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
8709         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
8710         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
8711         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
8712         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
8713         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
8714         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
8715         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
8716         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
8717         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
8718         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
8719         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
8720         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
8721         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
8722         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
8723         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
8724         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
8725         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
8726         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
8727         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
8728         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
8729         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
8730         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
8731         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
8732         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
8733         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
8734         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
8735         * sysdeps/powerpc/sysdep.h: Likewise.
8736         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
8737         * sysdeps/s390/s390-64/sub_n.S: Likewise.
8738         * sysdeps/sh/dl-trampoline.S: Likewise.
8739         * sysdeps/sh/memset.S: Likewise.
8740         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
8741         * sysdeps/sh/strlen.S: Likewise.
8742         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
8743         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
8744         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
8745         * sysdeps/sparc/sparc32/rem.S: Likewise.
8746         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
8747         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
8748         * sysdeps/sparc/sparc32/strchr.S: Likewise.
8749         * sysdeps/sparc/sparc32/udiv.S: Likewise.
8750         * sysdeps/sparc/sparc32/urem.S: Likewise.
8751         * sysdeps/sparc/sparc64/add_n.S: Likewise.
8752         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
8753         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
8754         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
8755         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
8756         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
8757         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
8758         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
8759         * sysdeps/unix/bsd/times.c: Likewise.
8760         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
8761         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
8762         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
8763         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
8764         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
8765         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
8766         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
8767         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
8768         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
8769         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
8770         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
8771         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
8772         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
8773         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
8774         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
8775         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
8776         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
8777         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
8778         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
8779         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
8780         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
8781         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
8782         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
8783         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
8784         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
8785         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
8786         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
8787         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
8788         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
8789         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
8790         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
8791         * sysdeps/x86_64/strcspn.S: Likewise.
8793 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
8795         * locale/C-translit.h: Revert #include <stdint.h> because this is a
8796         generated file.  Regenerate properly from gen-translit.pl.
8797         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
8798         locale/C-translit.h.
8800 2013-06-05  Andreas Schwab  <schwab@suse.de>
8802         [BZ #15100]
8803         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
8804         week as 6 instead of -1.
8805         * time/tst-strptime.c (day_tests): Add test case.
8807 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
8809         * sysdeps/generic/math_private.h
8810         (libc_feholdexcept_setround_53bit): Replace with
8811         libc_feholdsetround_53bit.
8812         (libc_feupdateenv_53bit): Replace with
8813         libc_feresetround_53bit.
8814         (SET_RESTORE_ROUND_53BIT): Adjust.
8816 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
8818         * string/test-strchrnul.c: Add copyright header.
8820         * posix/tst-getaddrinfo4.c: Increase test timeout.
8822 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
8824         [BZ #15536]
8825         * math/libm-test.inc (MAX_EXP): Remove
8826         (MIN_EXP): Define.
8827         (ulp): Use MIN_EXP - MANT_DIG.
8828         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
8830 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
8832         * po/be.po: Revert last change.
8833         * po/zh_CN.po: Likewise.
8834         * po/header.pot: Likewise.
8836 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
8838         * Makefile ($(common-objpfx)linkobj/libc.so): Define
8839         link-libc-deps to empty as target-specific variable.
8840         * Makerules (link-libc-args): New variable.
8841         (libc-for-link): Likewise.
8842         (link-libc-deps): Likewise.
8843         (lib%.so): Depend on $(link-libc-deps).  Link with
8844         $(link-libc-args).
8845         (build-module): Link with $(link-libc-args).
8846         (build-module-asneeded): Likewise.
8847         (build-module-helper-objlist): Filter out $(link-libc-deps) from
8848         list of objects.
8849         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
8850         target-specific variable.
8851         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
8852         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
8853         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
8854         libc.
8855         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
8856         libc and ld.so.
8857         ($(objpfx)libpcprofile.so): Likewise.
8858         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
8859         libc_nonshared.a.
8860         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
8861         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
8862         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
8863         $(link-libc-deps).
8864         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
8865         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
8866         * login/Makefile ($(objpfx)libutil.so): Likewise.
8867         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
8868         * math/Makefile ($(objpfx)libm.so): Likewise.
8869         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
8870         $(objpfx)libnsl.so): Define libc-for-link as target-specific
8871         variable instead of depending directly on libc.
8872         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
8873         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
8874         $(link-libc-deps).
8875         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
8876         libc.
8877         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
8878         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
8879         ($(objpfx)libanl.so): Likewise.
8880         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
8881         ld.so.
8882         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
8883         $(link-libc-deps).
8884         * sysdeps/i386/fpu/Makefile: Remove file.
8885         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
8886         ($(objpfx)libm.so): Remove dependency on ld.so.
8888 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
8890         [BZ # 15553]
8891         * nis/yp_xdr.c (XDRMAXNAME): Define.
8892         (XDRMAXRECORD): Define.
8893         (xdr_domainname): Use XDRMAXNAME.
8894         (xdr_mapname): Likewise.
8895         (xdr_peername): Likewise.
8896         (xdr_keydat): Use XDRMAXRECORD.
8897         (xdr_valdat): Likewise.
8899 2013-05-30  Jeff Law  <law@redhat.com>
8901         [BZ #14256]
8902         * manual/errno.texi (ESTALE): Update to account for more than
8903         just NFS file systems.
8904         * sysdeps/gnu/errlist.c: Regenerated.
8906 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
8908         [BZ #15465]
8909         * elf/Makefile (tests): Add tst-null-argv.
8910         (modules-names):  Add tst-null-argv-lib.
8911         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
8912         (tst-null-argv-ENV): Set environment for tst-null-argv.
8913         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
8914         (RTLD_PROGNAME): New macro.
8915         * elf/tst-null-argv.c: New test case.
8916         * elf/tst-null-argv-lib.c: Library for test case.
8917         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
8918         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
8919         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
8920         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
8921         * elf/dl-init.c (call_init): Likewise.
8922         (_dl_init): Likewise.
8923         * elf/dl-load.c (print_search_path): Likewise.
8924         (_dl_map_object): Likewise.
8925         * elf/dl-lookup.c (do_lookup_x): Likewise.
8926         (add_dependency): Likewise.
8927         (_dl_lookup_symbol_x): Likewise.
8928         (_dl_debug_bindings): Likewise.
8929         * elf/dl-open.c (_dl_show_scope): Likewise.
8930         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
8931         * elf/dl-version.c (match_symbol): Likewise.
8932         (_dl_check_map_versions): Likewise.
8933         * elf/rtld.c (dl_main): Likewise.
8934         (print_unresolved): Use RTLD_PROGNAME.
8935         (print_missing_version): Likewise.
8936         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
8937         (elf_machine_rela): Likewise.
8938         * sysdeps/powerpc/powerpc32/dl-machine.c
8939         (__process_machine_rela): Likewise.
8940         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
8941         Likewise.
8942         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
8943         Likewise.
8944         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
8945         Likewise.
8946         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
8947         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
8948         Likewise.
8949         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
8950         Likewise.
8951         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
8953 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
8955         * po/be.po: Add descriptive title.
8956         * po/zh_CN.po: Likewise.
8957         * po/header.pot: Likewise.
8959 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
8961         * locale/programs/locarchive.c (create_archive): Inlucde fname in
8962         error message.
8963         (enlarge_archive): Likewise.
8965 2013-05-28  Ben North  <ben@redfrontdoor.org>
8967         * manual/arith.texi (frexp): It is the magnitude of the return
8968         value which lies in [0.5, 1), not the return value itself.
8970 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8972         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8974 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
8976         * stdio-common/bug26.c (main): Correct fscanf template.
8978         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
8979         declare _dl_skip_args.
8981         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
8982         Don't declare.
8984         * manual/platform.texi: Add missing @end deftypefun.
8986 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
8988         [BZ #15529]
8989         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
8990         bit of mantissa of 2^16382.
8991         * math/libm-test.inc (hypot_test_data): Add more tests.
8993         * math/libm-test.inc: Add drem and pow10 to list of tested
8994         functions.
8995         (pow10_test): New function.
8996         (drem_test): Likewise.
8997         (drem_test_tonearest): Likewise.
8998         (drem_test_towardzero): Likewise.
8999         (drem_test_downward): Likewise.
9000         (drem_test_upward): Likewise.
9001         (main): Call the new functions.
9003         * math/libm-test.inc (finite_test_data): Remove.
9004         (finite_test): Run tests from isfinite_test_data.
9005         (gamma_test_data): Remove.
9006         (gamma_test): Run tests from lgamma_test_data.
9007         * sysdeps/i386/fpu/libm-test-ulps: Update.
9008         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9010 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9012         * manual/platform.texi: Add PowerPC PPR function set documentation.
9013         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
9014         implementation.
9016 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
9018         * math/libm-test.inc (MAX_EXP): Define.
9019         (ULPDIFF): Define.
9020         (ulp): New function.
9021         (check_float_internal): Use ULPDIFF.
9022         (cpow_test): Disable failing test.
9023         (check_ulp): Test ulp() implemetnation.
9024         (main): Call check_ulp before starting tests.
9026 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
9028         * math/gen-libm-test.pl (generate_testfile): Do not handle
9029         START_DATA and END_DATA.
9030         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
9031         END_DATA.
9032         (acos_tonearest_test_data): Likewise.
9033         (acos_towardzero_test_data): Likewise.
9034         (acos_downward_test_data): Likewise.
9035         (acos_upward_test_data): Likewise.
9036         (acosh_test_data): Likewise.
9037         (asin_test_data): Likewise.
9038         (asin_tonearest_test_data): Likewise.
9039         (asin_towardzero_test_data): Likewise.
9040         (asin_downward_test_data): Likewise.
9041         (asin_upward_test_data): Likewise.
9042         (asinh_test_data): Likewise.
9043         (atan_test_data): Likewise.
9044         (atanh_test_data): Likewise.
9045         (atan2_test_data): Likewise.
9046         (cabs_test_data): Likewise.
9047         (cacos_test_data): Likewise.
9048         (cacosh_test_data): Likewise.
9049         (carg_test_data): Likewise.
9050         (casin_test_data): Likewise.
9051         (casinh_test_data): Likewise.
9052         (catan_test_data): Likewise.
9053         (catanh_test_data): Likewise.
9054         (cbrt_test_data): Likewise.
9055         (ccos_test_data): Likewise.
9056         (ccosh_test_data): Likewise.
9057         (ceil_test_data): Likewise.
9058         (cexp_test_data): Likewise.
9059         (cimag_test_data): Likewise.
9060         (clog_test_data): Likewise.
9061         (clog10_test_data): Likewise.
9062         (conj_test_data): Likewise.
9063         (copysign_test_data): Likewise.
9064         (cos_test_data): Likewise.
9065         (cos_tonearest_test_data): Likewise.
9066         (cos_towardzero_test_data): Likewise.
9067         (cos_downward_test_data): Likewise.
9068         (cos_upward_test_data): Likewise.
9069         (cosh_test_data): Likewise.
9070         (cosh_tonearest_test_data): Likewise.
9071         (cosh_towardzero_test_data): Likewise.
9072         (cosh_downward_test_data): Likewise.
9073         (cosh_upward_test_data): Likewise.
9074         (cpow_test_data): Likewise.
9075         (cproj_test_data): Likewise.
9076         (creal_test_data): Likewise.
9077         (csin_test_data): Likewise.
9078         (csinh_test_data): Likewise.
9079         (csqrt_test_data): Likewise.
9080         (ctan_test_data): Likewise.
9081         (ctan_tonearest_test_data): Likewise.
9082         (ctan_towardzero_test_data): Likewise.
9083         (ctan_downward_test_data): Likewise.
9084         (ctan_upward_test_data): Likewise.
9085         (ctanh_test_data): Likewise.
9086         (ctanh_tonearest_test_data): Likewise.
9087         (ctanh_towardzero_test_data): Likewise.
9088         (ctanh_downward_test_data): Likewise.
9089         (ctanh_upward_test_data): Likewise.
9090         (erf_test_data): Likewise.
9091         (erfc_test_data): Likewise.
9092         (exp_test_data): Likewise.
9093         (exp_tonearest_test_data): Likewise.
9094         (exp_towardzero_test_data): Likewise.
9095         (exp_downward_test_data): Likewise.
9096         (exp_upward_test_data): Likewise.
9097         (exp10_test_data): Likewise.
9098         (exp2_test_data): Likewise.
9099         (expm1_test_data): Likewise.
9100         (fabs_test_data): Likewise.
9101         (fdim_test_data): Likewise.
9102         (finite_test_data): Likewise.
9103         (floor_test_data): Likewise.
9104         (fma_test_data): Likewise.
9105         (fma_towardzero_test_data): Likewise.
9106         (fma_downward_test_data): Likewise.
9107         (fma_upward_test_data): Likewise.
9108         (fmax_test_data): Likewise.
9109         (fmin_test_data): Likewise.
9110         (fmod_test_data): Likewise.
9111         (fpclassify_test_data): Likewise.
9112         (frexp_test_data): Likewise.
9113         (gamma_test_data): Likewise.
9114         (hypot_test_data): Likewise.
9115         (ilogb_test_data): Likewise.
9116         (isfinite_test_data): Likewise.
9117         (isgreater_test_data): Likewise.
9118         (isgreaterequal_test_data): Likewise.
9119         (isinf_test_data): Likewise.
9120         (isless_test_data): Likewise.
9121         (islessequal_test_data): Likewise.
9122         (islessgreater_test_data): Likewise.
9123         (isnan_test_data): Likewise.
9124         (isnormal_test_data): Likewise.
9125         (issignaling_test_data): Likewise.
9126         (isunordered_test_data): Likewise.
9127         (j0_test_data): Likewise.
9128         (j1_test_data): Likewise.
9129         (jn_test_data): Likewise.
9130         (ldexp_test_data): Likewise.
9131         (lgamma_test_data): Likewise.
9132         (lrint_test_data): Likewise.
9133         (lrint_tonearest_test_data): Likewise.
9134         (lrint_towardzero_test_data): Likewise.
9135         (lrint_downward_test_data): Likewise.
9136         (lrint_upward_test_data): Likewise.
9137         (llrint_test_data): Likewise.
9138         (llrint_tonearest_test_data): Likewise.
9139         (llrint_towardzero_test_data): Likewise.
9140         (llrint_downward_test_data): Likewise.
9141         (llrint_upward_test_data): Likewise.
9142         (log_test_data): Likewise.
9143         (log10_test_data): Likewise.
9144         (log1p_test_data): Likewise.
9145         (log2_test_data): Likewise.
9146         (logb_test_data): Likewise.
9147         (logb_downward_test_data): Likewise.
9148         (lround_test_data): Likewise.
9149         (llround_test_data): Likewise.
9150         (modf_test_data): Likewise.
9151         (nearbyint_test_data): Likewise.
9152         (nextafter_test_data): Likewise.
9153         (nexttoward_test_data): Likewise.
9154         (pow_test_data): Likewise.
9155         (pow_tonearest_test_data): Likewise.
9156         (pow_towardzero_test_data): Likewise.
9157         (pow_downward_test_data): Likewise.
9158         (pow_upward_test_data): Likewise.
9159         (remainder_test_data): Likewise.
9160         (remainder_tonearest_test_data): Likewise.
9161         (remainder_towardzero_test_data): Likewise.
9162         (remainder_downward_test_data): Likewise.
9163         (remainder_upward_test_data): Likewise.
9164         (remquo_test_data): Likewise.
9165         (rint_test_data): Likewise.
9166         (rint_tonearest_test_data): Likewise.
9167         (rint_towardzero_test_data): Likewise.
9168         (rint_downward_test_data): Likewise.
9169         (rint_upward_test_data): Likewise.
9170         (round_test_data): Likewise.
9171         (scalb_test_data): Likewise.
9172         (scalbn_test_data): Likewise.
9173         (scalbln_test_data): Likewise.
9174         (signbit_test_data): Likewise.
9175         (sin_test_data): Likewise.
9176         (sin_tonearest_test_data): Likewise.
9177         (sin_towardzero_test_data): Likewise.
9178         (sin_downward_test_data): Likewise.
9179         (sin_upward_test_data): Likewise.
9180         (sincos_test_data): Likewise.
9181         (sinh_test_data): Likewise.
9182         (sinh_tonearest_test_data): Likewise.
9183         (sinh_towardzero_test_data): Likewise.
9184         (sinh_downward_test_data): Likewise.
9185         (sinh_upward_test_data): Likewise.
9186         (sqrt_test_data): Likewise.
9187         (tan_test_data): Likewise.
9188         (tan_tonearest_test_data): Likewise.
9189         (tan_towardzero_test_data): Likewise.
9190         (tan_downward_test_data): Likewise.
9191         (tan_upward_test_data): Likewise.
9192         (tanh_test_data): Likewise.
9193         (tgamma_test_data): Likewise.
9194         (trunc_test_data): Likewise.
9195         (y0_test_data): Likewise.
9196         (y1_test_data): Likewise.
9197         (yn_test_data): Likewise.
9198         (significand_test_data): Likewise.
9200         * math/gen-libm-test.pl (@functions): Remove variable.
9201         (generate_testfile): Don't handle START and END lines.
9202         * math/libm-test.inc (START): New macro.
9203         (END): Likewise.
9204         (END_COMPLEX): Likewise.
9205         (acos_test): Use END macro without arguments.
9206         (acos_test_tonearest): Likewise.
9207         (acos_test_towardzero): Likewise.
9208         (acos_test_downward): Likewise.
9209         (acos_test_upward): Likewise.
9210         (acosh_test): Likewise.
9211         (asin_test): Likewise.
9212         (asin_test_tonearest): Likewise.
9213         (asin_test_towardzero): Likewise.
9214         (asin_test_downward): Likewise.
9215         (asin_test_upward): Likewise.
9216         (asinh_test): Likewise.
9217         (atan_test): Likewise.
9218         (atanh_test): Likewise.
9219         (atan2_test): Likewise.
9220         (cabs_test): Likewise.
9221         (cacos_test): Use END_COMPLEX macro without arguments.
9222         (cacosh_test): Likewise.
9223         (carg_test): Use END macro without arguments.
9224         (casin_test): Use END_COMPLEX macro without arguments.
9225         (casinh_test): Likewise.
9226         (catan_test): Likewise.
9227         (catanh_test): Likewise.
9228         (cbrt_test): Use END macro without arguments.
9229         (ccos_test): Use END_COMPLEX macro without arguments.
9230         (ccosh_test): Likewise.
9231         (ceil_test): Use END macro without arguments.
9232         (cexp_test): Use END_COMPLEX macro without arguments.
9233         (cimag_test): Use END macro without arguments.
9234         (clog_test): Use END_COMPLEX macro without arguments.
9235         (clog10_test): Likewise.
9236         (conj_test): Likewise.
9237         (copysign_test): Use END macro without arguments.
9238         (cos_test): Likewise.
9239         (cos_test_tonearest): Likewise.
9240         (cos_test_towardzero): Likewise.
9241         (cos_test_downward): Likewise.
9242         (cos_test_upward): Likewise.
9243         (cosh_test): Likewise.
9244         (cosh_test_tonearest): Likewise.
9245         (cosh_test_towardzero): Likewise.
9246         (cosh_test_downward): Likewise.
9247         (cosh_test_upward): Likewise.
9248         (cpow_test): Use END_COMPLEX macro without arguments.
9249         (cproj_test): Likewise.
9250         (creal_test): Use END macro without arguments.
9251         (csin_test): Use END_COMPLEX macro without arguments.
9252         (csinh_test): Likewise.
9253         (csqrt_test): Likewise.
9254         (ctan_test): Likewise.
9255         (ctan_test_tonearest): Likewise.
9256         (ctan_test_towardzero): Likewise.
9257         (ctan_test_downward): Likewise.
9258         (ctan_test_upward): Likewise.
9259         (ctanh_test): Likewise.
9260         (ctanh_test_tonearest): Likewise.
9261         (ctanh_test_towardzero): Likewise.
9262         (ctanh_test_downward): Likewise.
9263         (ctanh_test_upward): Likewise.
9264         (erf_test): Use END macro without arguments.
9265         (erfc_test): Likewise.
9266         (exp_test): Likewise.
9267         (exp_test_tonearest): Likewise.
9268         (exp_test_towardzero): Likewise.
9269         (exp_test_downward): Likewise.
9270         (exp_test_upward): Likewise.
9271         (exp10_test): Likewise.
9272         (exp2_test): Likewise.
9273         (expm1_test): Likewise.
9274         (fabs_test): Likewise.
9275         (fdim_test): Likewise.
9276         (finite_test): Likewise.
9277         (floor_test): Likewise.
9278         (fma_test): Likewise.
9279         (fma_test_towardzero): Likewise.
9280         (fma_test_downward): Likewise.
9281         (fma_test_upward): Likewise.
9282         (fmax_test): Likewise.
9283         (fmin_test): Likewise.
9284         (fmod_test): Likewise.
9285         (fpclassify_test): Likewise.
9286         (frexp_test): Likewise.
9287         (gamma_test): Likewise.
9288         (hypot_test): Likewise.
9289         (ilogb_test): Likewise.
9290         (isfinite_test): Likewise.
9291         (isgreater_test): Likewise.
9292         (isgreaterequal_test): Likewise.
9293         (isinf_test): Likewise.
9294         (isless_test): Likewise.
9295         (islessequal_test): Likewise.
9296         (islessgreater_test): Likewise.
9297         (isnan_test): Likewise.
9298         (isnormal_test): Likewise.
9299         (issignaling_test): Likewise.
9300         (isunordered_test): Likewise.
9301         (j0_test): Likewise.
9302         (j1_test): Likewise.
9303         (jn_test): Likewise.
9304         (ldexp_test): Likewise.
9305         (lgamma_test): Likewise.
9306         (lrint_test): Likewise.
9307         (lrint_test_tonearest): Likewise.
9308         (lrint_test_towardzero): Likewise.
9309         (lrint_test_downward): Likewise.
9310         (lrint_test_upward): Likewise.
9311         (llrint_test): Likewise.
9312         (llrint_test_tonearest): Likewise.
9313         (llrint_test_towardzero): Likewise.
9314         (llrint_test_downward): Likewise.
9315         (llrint_test_upward): Likewise.
9316         (log_test): Likewise.
9317         (log10_test): Likewise.
9318         (log1p_test): Likewise.
9319         (log2_test): Likewise.
9320         (logb_test): Likewise.
9321         (logb_test_downward): Likewise.
9322         (lround_test): Likewise.
9323         (llround_test): Likewise.
9324         (modf_test): Likewise.
9325         (nearbyint_test): Likewise.
9326         (nextafter_test): Likewise.
9327         (nexttoward_test): Likewise.
9328         (pow_test): Likewise.
9329         (pow_test_tonearest): Likewise.
9330         (pow_test_towardzero): Likewise.
9331         (pow_test_downward): Likewise.
9332         (pow_test_upward): Likewise.
9333         (remainder_test): Likewise.
9334         (remainder_test_tonearest): Likewise.
9335         (remainder_test_towardzero): Likewise.
9336         (remainder_test_downward): Likewise.
9337         (remainder_test_upward): Likewise.
9338         (remquo_test): Likewise.
9339         (rint_test): Likewise.
9340         (rint_test_tonearest): Likewise.
9341         (rint_test_towardzero): Likewise.
9342         (rint_test_downward): Likewise.
9343         (rint_test_upward): Likewise.
9344         (round_test): Likewise.
9345         (scalb_test): Likewise.
9346         (scalbn_test): Likewise.
9347         (scalbln_test): Likewise.
9348         (signbit_test): Likewise.
9349         (sin_test): Likewise.
9350         (sin_test_tonearest): Likewise.
9351         (sin_test_towardzero): Likewise.
9352         (sin_test_downward): Likewise.
9353         (sin_test_upward): Likewise.
9354         (sincos_test): Likewise.
9355         (sinh_test): Likewise.
9356         (sinh_test_tonearest): Likewise.
9357         (sinh_test_towardzero): Likewise.
9358         (sinh_test_downward): Likewise.
9359         (sinh_test_upward): Likewise.
9360         (sqrt_test): Likewise.
9361         (tan_test): Likewise.
9362         (tan_test_tonearest): Likewise.
9363         (tan_test_towardzero): Likewise.
9364         (tan_test_downward): Likewise.
9365         (tan_test_upward): Likewise.
9366         (tanh_test): Likewise.
9367         (tgamma_test): Likewise.
9368         (trunc_test): Likewise.
9369         (y0_test): Likewise.
9370         (y1_test): Likewise.
9371         (yn_test): Likewise.
9372         (significand_test): Likewise.
9374 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
9376         [BZ #15381]
9377         * libio/genops.c (_IO_no_init): Initialize wide struct info.
9379 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
9381         [BZ #14894]
9382         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
9383         __ppc_mdoio and __ppc_mdoom.
9384         * manual/platform.texi: Document new functions __ppc_yield,
9385         __ppc_mdoio and __ppc_mdoom.
9387 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
9389         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
9390         (main): Mention "tls" pseudo-hwcap is legacy.
9391         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
9393 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
9395         * math/gen-libm-test.pl (parse_args): Output only string of
9396         arguments as text for test name, not full call or descriptions of
9397         tests for extra outputs.
9398         (generate_testfile): Do not pass function name to parse_args.
9399         Generate this_func variable from START.
9400         * math/libm-test.inc (struct test_f_f_data): Rename test_name
9401         field to arg_str.
9402         (struct test_ff_f_data): Likewise.
9403         (test_ff_f_data_nexttoward): Likewise.
9404         (struct test_fi_f_data): Likewise.
9405         (struct test_fl_f_data): Likewise.
9406         (struct test_if_f_data): Likewise.
9407         (struct test_fff_f_data): Likewise.
9408         (struct test_c_f_data): Likewise.
9409         (struct test_f_f1_data): Likewise.  Remove field extra_name.
9410         (struct test_fF_f1_data): Likewise.
9411         (struct test_ffI_f1_data): Likewise.
9412         (struct test_c_c_data): Rename test_name field to arg_str.
9413         (struct test_cc_c_data): Likewise.
9414         (struct test_f_i_data): Likewise.
9415         (struct test_ff_i_data): Likewise.
9416         (struct test_f_l_data): Likewise.
9417         (struct test_f_L_data): Likewise.
9418         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
9419         and extra2_name.
9420         (COMMON_TEST_SETUP): New macro.
9421         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
9422         (COMMON_TEST_CLEANUP): Likewise.
9423         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
9424         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
9425         macros.
9426         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
9427         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
9428         macros.
9429         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
9430         (RUN_TEST_fff_f): Take argument string.  Call new setup and
9431         cleanup macros.
9432         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
9433         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
9434         macros.
9435         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
9436         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
9437         macros.
9438         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
9439         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
9440         cleanup macros.
9441         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
9442         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
9443         cleanup macros.
9444         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
9445         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
9446         cleanup macros.
9447         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
9448         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
9449         macros.
9450         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
9451         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
9452         macros.
9453         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
9454         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
9455         macros.
9456         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
9457         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
9458         cleanup macros.
9459         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
9460         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
9461         cleanup macros.
9462         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
9463         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
9464         macros.
9465         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
9466         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
9467         cleanup macros.
9468         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
9469         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
9470         macros.
9471         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
9472         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
9473         macros.
9474         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
9475         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
9476         cleanup macros.
9477         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
9479 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
9481         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
9482         to _sifields.sigfault.
9483         (si_addr_lsb): Define new macro.
9484         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
9485         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
9486         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
9488 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
9490         [BZ #15441]
9491         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
9492         returns -1.
9493         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
9494         null return -1.
9495         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
9496         loading the domain.
9498 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
9500         * math/gen-libm-test.pl (parse_args): Do not include expected
9501         result in test name.
9502         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
9503         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
9504         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
9505         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
9506         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
9507         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9509 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
9511         * benchtests/Makefile: Sort function entries.
9513         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
9514         tanh, asinh, acosh, atanh.
9515         * benchtests/acos-inputs: New file.
9516         * benchtests/acosh-inputs: New file.
9517         * benchtests/asin-inputs: New file.
9518         * benchtests/asinh-inputs: New file.
9519         * benchtests/atanh-inputs: New file.
9520         * benchtests/cosh-inputs: New file.
9521         * benchtests/log-inputs: New file.
9522         * benchtests/sinh-inputs: New file.
9523         * benchtests/tanh-inputs: New file.
9525 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
9527         [BZ #15339]
9528         * posix/tst-getaddrinfo4.c: New test.
9529         * posix/Makefile (tests): Add it.
9531 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
9533         [BZ #15339]
9534         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
9535         when no services were used.
9536         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
9537         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
9539 2013-05-21  Andreas Schwab  <schwab@suse.de>
9541         [BZ #15014]
9542         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
9543         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
9544         successful.
9545         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
9546         redundant variable declarations and reallocation of buffer when
9547         parsing as IPv6 address.  Always set NSS status when called from
9548         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
9549         buffer too small.  Correct computation of needed size.
9550         * nss/Makefile (tests): Add test-digits-dots.
9551         * nss/test-digits-dots.c: New test.
9553 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
9555         * benchtests/Makefile: Remove instructions for adding
9556         benchmark tests.
9557         * benchtests/README: New file to explain how to execute and
9558         enhance the benchmark tests.
9560 2013-05-21  Andreas Schwab  <schwab@suse.de>
9562         [BZ #15493]
9563         * setjmp/Makefile (tests): Add tst-sigsetjmp.
9564         * setjmp/tst-sigsetjmp.c: New test.
9566 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
9568         * sysdeps/x86_64/memset.S (memset): New implementation.
9569         (__bzero): Likewise.
9570         (__memset_tail): New function.
9572 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
9574         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
9575         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
9576         __memcpy_sse2_unaligned ifunc selection.
9577         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
9578         Add memcpy-sse2-unaligned.S.
9579         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
9580         Add: __memcpy_sse2_unaligned.
9582 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
9584         [BZ #15490]
9585         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
9586         math_force_eval before restoring floating-point envrionment.
9587         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
9588         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
9589         Likewise.
9590         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
9591         <math_private.h>.
9592         (__nearbyintl): Use math_force_eval before restoring
9593         floating-point environment.
9594         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
9596         * math/gen-libm-test.pl (special_functions): Remove.
9597         (parse_args): Don't handle TEST_extra.  Handle functions with no
9598         return value.
9599         * math/libm-test.inc (struct test_sincos_data): Replace with
9600         struct test_fFF_11_data.
9601         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
9602         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
9603         (sincos_test_data): Change element type to struct
9604         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
9605         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
9606         RUN_TEST_LOOP_sincos.
9607         * math/README.libm-test: Don't mention special handling of
9608         individual functions.
9609         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
9610         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
9611         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
9612         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
9613         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
9614         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9616         * math/gen-libm-test.pl (get_variable): Remove function.
9617         (parse_args): Don't show pointer parameters to call in test
9618         names.  Use "extra output N" in test names for extra outputs
9619         rather than naming variables.
9621 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
9623         [BZ #15488]
9624         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
9625         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
9626         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
9627         double tests.
9628         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
9629         disable.
9630         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
9631         check_long_double.
9633         * math/gen-libm-test.pl (@tests): Remove variable.
9634         ($count): Likewise.
9635         (new_test): Remove function.
9636         (show_exceptions): New function.
9637         (special_functions): Use show_exceptions instead of new_test.
9638         (parse_args): Likewise.
9639         (generate_testfile): Pass only function name in generated call to
9640         print_max_error or print_complex_max_error.
9641         (get_ulps): Do not handle complex tests specially.
9642         (output_test): Rename to ...
9643         (get_all_ulps_for_test): ... this.  Return a string rather than
9644         printing to a file.  Require ulps to be present.
9645         (output_ulps): Generate arrays rather than #defines.
9646         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
9647         (struct ulp_data): New type.
9648         (BUILD_COMPLEX_ULP): Remove macro.
9649         (compare_ulp_data): New function.
9650         (find_ulps): Likewise.
9651         (find_test_ulps): Likewise.
9652         (find_function_ulps): Likewise.
9653         (find_complex_function_ulps): Likewise.
9654         (print_max_error): Determine allowed ulps using
9655         find_function_ulps.
9656         (print_complex_max_error): Determine allowed ulps using
9657         find_complex_function_ulps.
9658         (check_float_internal): Determine max ulps using find_test_ulps.
9659         (check_float): Do not take max_ulp parameter.  Update call to
9660         check_float_internal.
9661         (check_complex): Likewise.
9662         (check_int): Do not take max_ulp parameter.
9663         (check_long): Likewise.
9664         (check_bool): Likewise.
9665         (check_longlong): Likewise.
9666         (struct test_f_f_data): Remove max_ulp field.
9667         (struct test_ff_f_data): Likewise.
9668         (struct test_ff_f_data_nexttoward): Likewise.
9669         (struct test_fi_f_data): Likewise.
9670         (struct test_fl_f_data): Likewise.
9671         (struct test_if_f_data): Likewise.
9672         (struct test_fff_f_data): Likewise.
9673         (struct test_c_f_data): Likewise.
9674         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
9675         (struct test_fF_f1_data): Likewise.
9676         (struct test_ffI_f1_data): Likewise.
9677         (struct test_c_c_data): Remove max_ulp field.
9678         (struct test_cc_c_data): Likewise.
9679         (struct test_f_i_data): Likewise.
9680         (struct test_ff_i_data): Likewise.
9681         (struct test_f_l_data): Likewise.
9682         (struct test_f_L_data): Likewise.
9683         (struct test_sincos_data): Likewise.
9684         (RUN_TEST_f_f): Do not handle ulps.
9685         (RUN_TEST_LOOP_f_f): Likewise.
9686         (RUN_TEST_2_f): Likewise.
9687         (RUN_TEST_LOOP_2_f): Likewise.
9688         (RUN_TEST_fff_f): Likewise.
9689         (RUN_TEST_LOOP_fff_f): Likewise.
9690         (RUN_TEST_c_f): Likewise.
9691         (RUN_TEST_LOOP_c_f): Likewise.
9692         (RUN_TEST_f_f1): Likewise.
9693         (RUN_TEST_LOOP_f_f1): Likewise.
9694         (RUN_TEST_fF_f1): Likewise.
9695         (RUN_TEST_LOOP_fF_f1): Likewise.
9696         (RUN_TEST_fI_f1): Likewise.
9697         (RUN_TEST_LOOP_fI_f1): Likewise.
9698         (RUN_TEST_ffI_f1): Likewise.
9699         (RUN_TEST_LOOP_ffI_f1): Likewise.
9700         (RUN_TEST_c_c): Likewise.
9701         (RUN_TEST_LOOP_c_c): Likewise.
9702         (RUN_TEST_cc_c): Likewise.
9703         (RUN_TEST_LOOP_cc_c): Likewise.
9704         (RUN_TEST_f_i): Likewise.
9705         (RUN_TEST_LOOP_f_i): Likewise.
9706         (RUN_TEST_f_i_tg): Likewise.
9707         (RUN_TEST_LOOP_f_i_tg): Likewise.
9708         (RUN_TEST_ff_i_tg): Likewise.
9709         (RUN_TEST_LOOP_ff_i_tg): Likewise.
9710         (RUN_TEST_f_b): Likewise.
9711         (RUN_TEST_LOOP_f_b): Likewise.
9712         (RUN_TEST_f_b_tg): Likewise.
9713         (RUN_TEST_LOOP_f_b_tg): Likewise.
9714         (RUN_TEST_f_l): Likewise.
9715         (RUN_TEST_LOOP_f_l): Likewise.
9716         (RUN_TEST_f_L): Likewise.
9717         (RUN_TEST_LOOP_f_L): Likewise.
9718         (RUN_TEST_sincos): Likewise.
9719         (RUN_TEST_LOOP_sincos): Likewise.
9721 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
9723         [BZ #15480]
9724         [BZ #15485]
9725         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
9726         main case of finite arguments, set rounding mode to FE_TONEAREST
9727         and discard exceptions.
9728         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
9729         exceptions.
9730         (remainder_tonearest_test_data): New variable.
9731         (remainder_test_tonearest): New function.
9732         (remainder_towardzero_test_data): New variable.
9733         (remainder_test_towardzero): New function.
9734         (remainder_downward_test_data): New variable.
9735         (remainder_test_downward): New function.
9736         (remainder_upward_test_data): New variable.
9737         (remainder_test_upward): New function.
9738         (main): Call the new test functions.
9740         * math/libm-test.inc (struct test_f_f1_data): Remove field
9741         extra_init.
9742         (struct test_fF_f1_data): Likewise.
9743         (struct test_ffI_f1_data): Likewise.
9744         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
9745         based on value of EXTRA_EXPECTED.
9746         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
9747         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
9748         EXTRA_VAR based on value of EXTRA_EXPECTED.
9749         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
9750         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
9751         EXTRA_VAR based on value of EXTRA_EXPECTED.
9752         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
9753         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
9754         EXTRA_VAR based on value of EXTRA_EXPECTED.
9755         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
9756         * math/gen-libm-test.pl (parse_args): Don't output initializers
9757         for extra output values.
9759         * math/libm-test.inc (check_int): Expect result to be exactly
9760         equal to expected value and do not handle ulps.
9761         (check_long): Likewise.
9762         (check_longlong): Likewise.
9764         * math/libm-test.inc (ceil_test_data): Test for "inexact"
9765         exceptions.
9766         (cimag_test_data): Likewise.
9767         (conj_test_data): Likewise.
9768         (copysign_test_data): Likewise.
9769         (cproj_test_data): Likewise.
9770         (creal_test_data): Likewise.
9771         (fabs_test_data): Likewise.
9772         (fdim_test_data): Likewise.
9773         (finite_test_data): Likewise.
9774         (floor_test_data): Likewise.
9775         (fmax_test_data): Likewise.
9776         (fmin_test_data): Likewise.
9777         (fmod_test_data): Likewise.
9778         (fpclassify_test_data): Likewise.
9779         (frexp_test_data): Likewise.
9780         (ilogb_test_data): Likewise.
9781         (isfinite_test_data): Likewise.
9782         (isgreater_test_data): Likewise.
9783         (isgreaterequal_test_data): Likewise.
9784         (isinf_test_data): Likewise.
9785         (isless_test_data): Likewise.
9786         (islessequal_test_data): Likewise.
9787         (islessgreater_test_data): Likewise.
9788         (isnan_test_data): Likewise.
9789         (isnormal_test_data): Likewise.
9790         (issignaling_test_data): Likewise.
9791         (isunordered_test_data): Likewise.
9792         (ldexp_test_data): Likewise.
9793         (lrint_test_data): Likewise.
9794         (lrint_test_data) [TEST_FLOAT]: Disable one test.
9795         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
9796         (lrint_tonearest_test_data): Test for "inexact" exceptions.
9797         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
9798         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
9799         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
9800         test input.
9801         (lrint_towardzero_test_data): Test for "inexact" exceptions.
9802         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
9803         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
9804         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
9805         that test input.
9806         (lrint_downward_test_data): Test for "inexact" exceptions.
9807         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
9808         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
9809         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
9810         test input.
9811         (lrint_upward_test_data): Test for "inexact" exceptions.
9812         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
9813         test input.
9814         (llrint_test_data): Test for "inexact" exceptions.
9815         (llrint_test_data) [TEST_FLOAT]: Disable one test.
9816         (llrint_tonearest_test_data): Test for "inexact" exceptions.
9817         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
9818         (llrint_towardzero_test_data): Test for "inexact" exceptions.
9819         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
9820         (llrint_downward_test_data): Test for "inexact" exceptions.
9821         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
9822         (llrint_upward_test_data): Test for "inexact" exceptions.
9823         (logb_test_data): Likewise.
9824         (logb_downward_test_data): Likewise.
9825         (nextafter_test_data): Likewise.
9826         (nexttoward_test_data): Likewise.
9827         (remainder_test_data): Likewise.
9828         (remquo_test_data): Likewise.
9829         (scalbn_test_data): Likewise.
9830         (scalbln_test_data): Likewise.
9831         (signbit_test_data): Likewise.
9832         (sqrt_test_data): Likewise.
9833         (significand_test_data): Likewise.
9835 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
9837         [BZ #15424]
9838         * benchtests/bench-modf.c (struct args): Mark arg0 as
9839         volatile.
9840         * scripts/bench.pl: Mark members of struct args as volatile.
9842 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9844         [BZ # 15497]
9845         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
9846         negative infinity on POWER6 or lower.
9847         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
9849 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
9851         [BZ #15442]
9852         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
9853         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
9854         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
9855         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
9856         (_FP_SETQNAN): New macro.
9857         (_FP_SETQNAN_SEMIRAW): Likewise.
9858         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
9859         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
9860         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
9861         (FP_EXTEND): Use _FP_FRAC_SNANP.
9862         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
9863         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
9864         into account.
9865         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
9866         New macro.
9867         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
9868         Likewise.
9870 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
9872         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
9873         with DIVIDE_BY_ZERO_EXCEPTION.
9874         (gamma_test_data): Likewise.
9875         (lgamma_test_data): Likewise.
9876         (log_test_data): Likewise.
9877         (log10_test_data): Likewise.
9878         (log2_test_data): Likewise.
9879         (tgamma_test_data): Likewise.
9881         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
9882         (acos_test_tonearest): Likewise.
9883         (acos_test_towardzero): Likewise.
9884         (acos_test_downward): Likewise.
9885         (acos_test_upward): Likewise.
9886         (acosh_test): Likewise.
9887         (asin_test): Likewise.
9888         (asin_test_tonearest): Likewise.
9889         (asin_test_towardzero): Likewise.
9890         (asin_test_downward): Likewise.
9891         (asin_test_upward): Likewise.
9892         (asinh_test): Likewise.
9893         (atan_test): Likewise.
9894         (atanh_test): Likewise.
9895         (atan2_test): Likewise.
9896         (cabs_test): Likewise.
9897         (cacos_test): Likewise.
9898         (cacosh_test): Likewise.
9899         (casin_test): Likewise.
9900         (casinh_test): Likewise.
9901         (catan_test): Likewise.
9902         (catanh_test): Likewise.
9903         (cbrt_test): Likewise.
9904         (ccos_test): Likewise.
9905         (ccosh_test): Likewise.
9906         (cexp_test): Likewise.
9907         (clog_test): Likewise.
9908         (clog10_test): Likewise.
9909         (cos_test): Likewise.
9910         (cos_test_tonearest): Likewise.
9911         (cos_test_towardzero): Likewise.
9912         (cos_test_downward): Likewise.
9913         (cos_test_upward): Likewise.
9914         (cosh_test): Likewise.
9915         (cosh_test_tonearest): Likewise.
9916         (cosh_test_towardzero): Likewise.
9917         (cosh_test_downward): Likewise.
9918         (cosh_test_upward): Likewise.
9919         (cpow_test): Likewise.
9920         (csin_test): Likewise.
9921         (csinh_test): Likewise.
9922         (csqrt_test): Likewise.
9923         (ctan_test): Likewise.
9924         (ctan_test_tonearest): Likewise.
9925         (ctan_test_towardzero): Likewise.
9926         (ctan_test_downward): Likewise.
9927         (ctan_test_upward): Likewise.
9928         (ctanh_test): Likewise.
9929         (ctanh_test_tonearest): Likewise.
9930         (ctanh_test_towardzero): Likewise.
9931         (ctanh_test_downward): Likewise.
9932         (ctanh_test_upward): Likewise.
9933         (erf_test): Likewise.
9934         (erfc_test): Likewise.
9935         (exp_test): Likewise.
9936         (exp_test_tonearest): Likewise.
9937         (exp_test_towardzero): Likewise.
9938         (exp_test_downward): Likewise.
9939         (exp_test_upward): Likewise.
9940         (exp10_test): Likewise.
9941         (exp2_test): Likewise.
9942         (expm1_test): Likewise.
9943         (fmod_test): Likewise.
9944         (gamma_test): Likewise.
9945         (hypot_test): Likewise.
9946         (j0_test): Likewise.
9947         (j1_test): Likewise.
9948         (jn_test): Likewise.
9949         (lgamma_test): Likewise.
9950         (log_test): Likewise.
9951         (log10_test): Likewise.
9952         (log1p_test): Likewise.
9953         (log2_test): Likewise.
9954         (logb_test_downward): Likewise.
9955         (pow_test): Likewise.
9956         (pow_test_tonearest): Likewise.
9957         (pow_test_towardzero): Likewise.
9958         (pow_test_downward): Likewise.
9959         (pow_test_upward): Likewise.
9960         (remainder_test): Likewise.
9961         (remquo_test): Likewise.
9962         (sin_test): Likewise.
9963         (sin_test_tonearest): Likewise.
9964         (sin_test_towardzero): Likewise.
9965         (sin_test_downward): Likewise.
9966         (sin_test_upward): Likewise.
9967         (sincos_test): Likewise.
9968         (sinh_test): Likewise.
9969         (sinh_test_tonearest): Likewise.
9970         (sinh_test_towardzero): Likewise.
9971         (sinh_test_downward): Likewise.
9972         (sinh_test_upward): Likewise.
9973         (sqrt_test): Likewise.
9974         (tan_test): Likewise.
9975         (tan_test_tonearest): Likewise.
9976         (tan_test_towardzero): Likewise.
9977         (tan_test_downward): Likewise.
9978         (tan_test_upward): Likewise.
9979         (tanh_test): Likewise.
9980         (tgamma_test): Likewise.
9981         (y0_test): Likewise.
9982         (y1_test): Likewise.
9983         (yn_test): Likewise.
9985         * math/gen-libm-test.pl (adjust_arg): Remove function.
9986         (special_function): Remove argument $in_func.  Only handle
9987         generating output for tables of tests, not inside functions.
9988         (parse_args): Likewise.
9989         (generate_testfile): Remove variable $in_func.  Update call to
9990         parse_args.
9991         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
9992         (MINUS_ZERO_INIT): Rename macro to minus_zero.
9993         (PLUS_INFTY_INIT): Rename macro to plus_infty.
9994         (MINUS_INFTY_INIT): Rename macro to minus_infty.
9995         (QNAN_VALUE_INIT): Rename macro to qnan_value.
9996         (MAX_VALUE_INIT): Rename macro to max_value.
9997         (MIN_VALUE_INIT): Rename macro to min_value.
9998         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
9999         (plus_zero): Remove variable.
10000         (minus_zero): Likewise.
10001         (plus_infty): Likewise.
10002         (minus_infty): Likewise.
10003         (qnan_value): Likewise.
10004         (max_value): Likewise.
10005         (min_value): Likewise.
10006         (min_subnorm_value): Likewise.
10008 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
10010         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
10011         uint64_t or uint32_t usage.
10012         * crypt/sha256-block.c: Likewise.
10013         * crypt/sha256-crypt.c: Likewise.
10014         * crypt/sha256.c: Likewise.
10015         * crypt/sha512-block.c: Likewise.
10016         * crypt/sha512-crypt.c: Likewise.
10017         * crypt/sha512.c: Likewise.
10018         * debug/backtrace-tst.c: Likewise.
10019         * debug/pcprofiledump.c: Likewise.
10020         * elf/cache.c: Likewise.
10021         * elf/dl-cache.c: Likewise.
10022         * elf/dl-misc.c: Likewise.
10023         * elf/dl-profile.c: Likewise.
10024         * elf/dl-support.c: Likewise.
10025         * elf/ldconfig.c: Likewise.
10026         * elf/sprof.c: Likewise.
10027         * iconv/dummy-repertoire.c: Likewise.
10028         * iconv/iconv_charmap.c: Likewise.
10029         * iconv/skeleton.c: Likewise.
10030         * iconvdata/8bit-generic.c: Likewise.
10031         * iconvdata/cp737.h: Likewise.
10032         * iconvdata/cp775.h: Likewise.
10033         * iconvdata/ibm1008.h: Likewise.
10034         * iconvdata/ibm1025.h: Likewise.
10035         * iconvdata/ibm1046.h: Likewise.
10036         * iconvdata/ibm1097.h: Likewise.
10037         * iconvdata/ibm1112.h: Likewise.
10038         * iconvdata/ibm1122.h: Likewise.
10039         * iconvdata/ibm1123.h: Likewise.
10040         * iconvdata/ibm1124.h: Likewise.
10041         * iconvdata/ibm1129.h: Likewise.
10042         * iconvdata/ibm1130.h: Likewise.
10043         * iconvdata/ibm1132.h: Likewise.
10044         * iconvdata/ibm1133.h: Likewise.
10045         * iconvdata/ibm1137.h: Likewise.
10046         * iconvdata/ibm1140.h: Likewise.
10047         * iconvdata/ibm1141.h: Likewise.
10048         * iconvdata/ibm1142.h: Likewise.
10049         * iconvdata/ibm1143.h: Likewise.
10050         * iconvdata/ibm1144.h: Likewise.
10051         * iconvdata/ibm1145.h: Likewise.
10052         * iconvdata/ibm1146.h: Likewise.
10053         * iconvdata/ibm1147.h: Likewise.
10054         * iconvdata/ibm1148.h: Likewise.
10055         * iconvdata/ibm1149.h: Likewise.
10056         * iconvdata/ibm1153.h: Likewise.
10057         * iconvdata/ibm1154.h: Likewise.
10058         * iconvdata/ibm1155.h: Likewise.
10059         * iconvdata/ibm1156.h: Likewise.
10060         * iconvdata/ibm1157.h: Likewise.
10061         * iconvdata/ibm1158.h: Likewise.
10062         * iconvdata/ibm1160.h: Likewise.
10063         * iconvdata/ibm1161.h: Likewise.
10064         * iconvdata/ibm1162.h: Likewise.
10065         * iconvdata/ibm1163.h: Likewise.
10066         * iconvdata/ibm1164.h: Likewise.
10067         * iconvdata/ibm1166.h: Likewise.
10068         * iconvdata/ibm1167.h: Likewise.
10069         * iconvdata/ibm12712.h: Likewise.
10070         * iconvdata/ibm1390.h: Likewise.
10071         * iconvdata/ibm1399.h: Likewise.
10072         * iconvdata/ibm16804.h: Likewise.
10073         * iconvdata/ibm4517.h: Likewise.
10074         * iconvdata/ibm4899.h: Likewise.
10075         * iconvdata/ibm4909.h: Likewise.
10076         * iconvdata/ibm4971.h: Likewise.
10077         * iconvdata/ibm5347.h: Likewise.
10078         * iconvdata/ibm803.h: Likewise.
10079         * iconvdata/ibm856.h: Likewise.
10080         * iconvdata/ibm901.h: Likewise.
10081         * iconvdata/ibm902.h: Likewise.
10082         * iconvdata/ibm9030.h: Likewise.
10083         * iconvdata/ibm9066.h: Likewise.
10084         * iconvdata/ibm921.h: Likewise.
10085         * iconvdata/ibm922.h: Likewise.
10086         * iconvdata/ibm9448.h: Likewise.
10087         * iconvdata/isiri-3342.h: Likewise.
10088         * iconvdata/jis0201.h: Likewise.
10089         * include/link.h: Likewise.
10090         * include/netdb.h: Likewise.
10091         * inet/check_native.c: Likewise.
10092         * inet/check_pf.c: Likewise.
10093         * inet/getipv4sourcefilter.c: Likewise.
10094         * inet/getnameinfo.c: Likewise.
10095         * inet/getsourcefilter.c: Likewise.
10096         * inet/htonl.c: Likewise.
10097         * inet/setipv4sourcefilter.c: Likewise.
10098         * inet/setsourcefilter.c: Likewise.
10099         * inet/test-inet6_opt.c: Likewise.
10100         * inet/tst-network.c: Likewise.
10101         * locale/C-collate.c: Likewise.
10102         * locale/C-ctype.c: Likewise.
10103         * locale/C-time.c: Likewise.
10104         * locale/C-translit.h: Likewise.
10105         * locale/loadarchive.c: Likewise.
10106         * locale/programs/3level.h: Likewise.
10107         * locale/programs/charmap.c: Likewise.
10108         * locale/programs/charmap.h: Likewise.
10109         * locale/programs/ld-address.c: Likewise.
10110         * locale/programs/ld-collate.c: Likewise.
10111         * locale/programs/ld-ctype.c: Likewise.
10112         * locale/programs/ld-identification.c: Likewise.
10113         * locale/programs/ld-measurement.c: Likewise.
10114         * locale/programs/ld-messages.c: Likewise.
10115         * locale/programs/ld-monetary.c: Likewise.
10116         * locale/programs/ld-name.c: Likewise.
10117         * locale/programs/ld-numeric.c: Likewise.
10118         * locale/programs/ld-paper.c: Likewise.
10119         * locale/programs/ld-telephone.c: Likewise.
10120         * locale/programs/ld-time.c: Likewise.
10121         * locale/programs/linereader.c: Likewise.
10122         * locale/programs/locale.c: Likewise.
10123         * locale/programs/locarchive.c: Likewise.
10124         * locale/programs/locfile.h: Likewise.
10125         * locale/programs/repertoire.c: Likewise.
10126         * locale/programs/simple-hash.c: Likewise.
10127         * locale/programs/simple-hash.h: Likewise.
10128         * malloc/memusage.c: Likewise.
10129         * malloc/memusagestat.c: Likewise.
10130         * nis/nis_defaults.c: Likewise.
10131         * nis/nis_hash.c: Likewise.
10132         * nis/nis_print.c: Likewise.
10133         * nis/nis_xdr.c: Likewise.
10134         * nscd/connections.c: Likewise.
10135         * nscd/hstcache.c: Likewise.
10136         * nscd/nscd_gethst_r.c: Likewise.
10137         * nscd/nscd_getserv_r.c: Likewise.
10138         * nscd/nscd_helper.c: Likewise.
10139         * nscd/servicescache.c: Likewise.
10140         * nss/makedb.c: Likewise.
10141         * nss/nss_db/db-XXX.c: Likewise.
10142         * nss/nss_db/db-initgroups.c: Likewise.
10143         * nss/nss_db/db-netgrp.c: Likewise.
10144         * nss/nss_files/files-network.c: Likewise.
10145         * nss/nss_files/files-parse.c: Likewise.
10146         * posix/bug-regex5.c: Likewise.
10147         * posix/fnmatch_loop.c: Likewise.
10148         * posix/regcomp.c: Likewise.
10149         * posix/regexec.c: Likewise.
10150         * posix/tst-rfc3484-2.c: Likewise.
10151         * posix/tst-rfc3484-3.c: Likewise.
10152         * posix/tst-rfc3484.c: Likewise.
10153         * resolv/nss_dns/dns-canon.c: Likewise.
10154         * resolv/nss_dns/dns-network.c: Likewise.
10155         * resolv/res_init.c: Likewise.
10156         * resolv/res_mkquery.c: Likewise.
10157         * resolv/tst-aton.c: Likewise.
10158         * stdlib/cxa_atexit.c: Likewise.
10159         * stdlib/cxa_finalize.c: Likewise.
10160         * stdlib/gen-fpioconst.c: Likewise.
10161         * stdlib/strtol_l.c: Likewise.
10162         * string/tst-endian.c: Likewise.
10163         * sunrpc/auth_des.c: Likewise.
10164         * sunrpc/clnt_udp.c: Likewise.
10165         * sunrpc/rtime.c: Likewise.
10166         * sunrpc/svcauth_des.c: Likewise.
10167         * sunrpc/xdr.c: Likewise.
10168         * sunrpc/xdr_intXX_t.c: Likewise.
10169         * sunrpc/xdr_rec.c: Likewise.
10170         * sysdeps/generic/ldconfig.h: Likewise.
10171         * sysdeps/generic/ldsodefs.h: Likewise.
10172         * sysdeps/generic/memusage.h: Likewise.
10173         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
10174         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
10175         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
10176         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
10177         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
10178         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
10179         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
10180         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
10181         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
10182         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
10183         * sysdeps/posix/getaddrinfo.c: Likewise.
10184         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
10185         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
10186         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
10187         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
10188         * sysdeps/powerpc/test-gettimebase.c: Likewise.
10189         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
10190         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
10191         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
10192         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
10193         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
10194         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
10195         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
10196         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
10197         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
10198         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
10199         * sysdeps/x86_64/dl-tls.h: Likewise.
10200         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
10201         * time/alt_digit.c: Likewise.
10202         * time/era.c: Likewise.
10203         * wcsmbs/tst-c16c32-1.c: Likewise.
10205 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
10207         * math/libm-test.inc (struct test_sincos_data): New type.
10208         (RUN_TEST_LOOP_sincos): New macro.
10209         (sincos_test_data): New variable.
10210         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
10212 2013-05-16  Richard Henderson  <rth@redhat.com>
10214         * math/atest-exp2.c (LIMB64): New macro.
10215         (CONSTSZ): New macro.
10216         (mp_exp1, mp_exp_m1, mp_log2): New variables.
10217         (hexdig): Move ...
10218         (print_mpn_fp): ... to function scope.
10219         (read_mpn_hex): Remove.
10220         (get_log2): Remove.
10221         (exp2_mpn): Use mp_log2.
10222         (main): Use mp_exp1.
10224 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
10226         * math/libm-test.inc: Remove comment about not testing "inexact"
10227         exceptions.
10228         (INEXACT_EXCEPTION): New macro.
10229         (NO_INEXACT_EXCEPTION): Likewise.
10230         (INVALID_EXCEPTION_OK): Update value.
10231         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
10232         (OVERFLOW_EXCEPTION_OK): Likewise.
10233         (UNDERFLOW_EXCEPTION_OK): Likewise.
10234         (IGNORE_ZERO_INF_SIGN): Likewise.
10235         (ERRNO_UNCHANGED): Likewise.
10236         (ERRNO_EDOM): Likewise.
10237         (ERRNO_ERANGE): Likewise.
10238         (test_exceptions): Handle testing "inexact" exceptions.
10239         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
10240         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
10241         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
10242         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
10243         INEXACT_EXCEPTION.
10244         (rint_towardzero_test_data): Likewise.
10245         (rint_downward_test_data): Likewise.
10246         (rint_upward_test_data): Likewise.
10248         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
10249         with OVERFLOW_EXCEPTION.
10250         (exp10_test_data): Likewise.
10251         (exp2_test_data): Likewise.
10252         (expm1_test_data): Likewise.
10253         (lgamma_test_data): Likewise.
10254         (pow_test_data): Likewise.
10255         (tgamma_test_data): Likewise.
10256         (yn_test_data): Remove duplicate test of overflow.
10258         * math/libm-test.inc (struct test_cc_c_data): New type.
10259         (RUN_TEST_LOOP_cc_c): New macro.
10260         (cpow_test_data): New variable.
10261         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
10263         * math/libm-test.inc (struct test_f_L_data): New type.
10264         (RUN_TEST_LOOP_f_L): New macro.
10265         (llrint_test_data): New variable.
10266         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
10267         (llrint_tonearest_test_data): New variable.
10268         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
10269         (llrint_towardzero_test_data): New variable.
10270         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
10271         (llrint_downward_test_data): New variable.
10272         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
10273         (llrint_upward_test_data): New variable.
10274         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
10275         (llround_test_data): New variable.
10276         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
10278 2013-05-13  Peter Collingbourne  <pcc@google.com>
10280         * math/atest-exp2.c (get_log2): Remove const attribute.
10282 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
10284         * math/libm-test.inc (struct test_f_l_data): New type.
10285         (RUN_TEST_LOOP_f_l): New macro.
10286         (lrint_test_data): New variable.
10287         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
10288         (lrint_tonearest_test_data): New variable.
10289         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
10290         (lrint_towardzero_test_data): New variable.
10291         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
10292         (lrint_downward_test_data): New variable.
10293         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
10294         (lrint_upward_test_data): New variable.
10295         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
10296         (lround_test_data): New variable.
10297         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
10299 2013-05-15  Peter Collingbourne  <pcc@google.com>
10301         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
10302         (EXTRACT_WORDS64) Use where appropriate.
10303         (INSERT_WORDS64) Likewise.
10305         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
10306         constraints with x constraints.
10307         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
10309         * malloc/obstack.c (_obstack_compat): Add initializer.
10311 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
10313         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
10314         si_trapno and add si_addr_lsb to _sifields.sigfault.
10315         (si_trapno): Remove macro.
10316         (si_addr_lsb): Define new macro.
10317         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
10319 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
10321         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
10322         instead of TEST_f_l.
10323         (llrint_test_tonearest): Likewise.
10324         (llrint_test_towardzero): Likewise.
10325         (llrint_test_downward): Likewise.
10326         (llrint_test_upward): Likewise.
10327         (llround_test): Likewise.
10329         * math/libm-test.inc (struct test_f_i_data): Add comment.
10330         (RUN_TEST_LOOP_f_b): New macro.
10331         (RUN_TEST_LOOP_f_b_tg): Likewise.
10332         (finite_test_data): New variable.
10333         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
10334         (isfinite_test_data): New variable.
10335         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
10336         (isinf_test_data): New variable.
10337         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
10338         (isnan_test_data): New variable.
10339         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
10340         (isnormal_test_data): New variable.
10341         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
10342         (issignaling_test_data): New variable.
10343         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
10344         (signbit_test_data): New variable.
10345         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
10347         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
10348         with INVALID_EXCEPTION.
10349         (acosh_test_data): Likewise.
10350         (asin_test_data): Likewise.
10351         (atanh_test_data): Likewise.
10352         (fmod_test_data): Likewise.
10353         (log_test_data): Likewise.
10354         (log10_test_data): Likewise.
10355         (log2_test_data): Likewise.
10356         (pow_test_data): Likewise.
10357         (sqrt_test_data): Likewise.
10358         (y0_test_data): Likewise.
10359         (y1_test_data): Likewise.
10360         (yn_test_data): Likewise.
10362         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
10363         function contents.
10365         * math/libm-test.inc (struct test_ff_i_data): New type.
10366         (RUN_TEST_LOOP_ff_i_tg): New macro.
10367         (isgreater_test_data): New variable.
10368         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
10369         (isgreaterequal_test_data): New variable.
10370         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
10371         (isless_test_data): New variable.
10372         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
10373         (islessequal_test_data): New variable.
10374         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
10375         (islessgreater_test_data): New variable.
10376         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
10377         (isunordered_test_data): New variable.
10378         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
10380 2013-05-14  David S. Miller  <davem@davemloft.net>
10382         * sysdeps/sparc/fpu/libm-test-ulps: Update.
10384 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
10386         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
10388         * math/libm-test.inc (struct test_fF_f1_data): Change type of
10389         extra_test to int.
10390         (struct test_f_i_data): Change type of max_ulp to int.
10392         * math/libm-test.inc (test_ffI_f1_data): New type.
10393         (RUN_TEST_LOOP_ffI_f1): New macro.
10394         (remquo_test_data): New variable.
10395         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
10397         * setjmp/tst-setjmp-fp.c: New file.
10398         * setjmp/Makefile (tests): Add tst-setjmp-fp.
10399         (link-libm): New variable.
10400         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
10402         * math/libm-test.inc (struct test_f_i_data): New type.
10403         (RUN_TEST_LOOP_f_i): New macro.
10404         (RUN_TEST_LOOP_f_i_tg): Likewise.
10405         (fpclassify_test_data): New variable.
10406         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
10407         (ilogb_test_data): New variable.
10408         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
10410         * math/libm-test.inc (scalbln_test): Correct function name in END
10411         call.
10413         * math/libm-test.inc (struct test_f_f1_data): Add comment.
10414         (RUN_TEST_LOOP_fI_f1): New macro.
10415         (frexp_test_data): New variable.
10416         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
10418         * math/libm-test.inc (struct test_fF_f1_data): New type.
10419         (RUN_TEST_LOOP_fF_f1): New macro.
10420         (modf_test_data): New variable.
10421         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
10423         * math/libm-test.inc (struct test_f_f1_data): New type.
10424         (RUN_TEST_LOOP_f_f1): New macro.
10425         (gamma_test_data): New variable.
10426         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
10427         (lgamma_test_data): New variable.
10428         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
10430 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
10432         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
10433         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
10434         (main): Comment "tls" pseudo-hwcap.
10436 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
10438         * math/libm-test.inc (struct test_fl_f_data): New type.
10439         (RUN_TEST_LOOP_fl_f): New variable.
10440         (scalbln_test_data): New variable.
10441         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
10443         * math/libm-test.inc (struct test_fi_f_data): New type.
10444         (RUN_TEST_LOOP_fi_f): New macro.
10445         (ldexp_test_data): New variable.
10446         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
10447         (scalbn_test_data): New variable.
10448         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
10450         * math/libm-test.inc (struct test_c_f_data): New type.
10451         (RUN_TEST_LOOP_c_f): New macro.
10452         (cabs_test_data): New variable.
10453         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
10454         (carg_test_data): New variable.
10455         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
10456         (cimag_test_data): New variable.
10457         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
10458         (creal_test_data): New variable.
10459         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
10461         * math/libm-test.inc (struct test_if_f_data): New type.
10462         (RUN_TEST_LOOP_if_f): New macro.
10463         (jn_test_data): New variable.
10464         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
10465         (yn_test_data): New variable.
10466         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
10468         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
10470 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10472         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
10473         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
10475 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
10477         * benchtests/Makefile (CPPFLAGS-nonlib): Add
10478         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
10479         (bench-deps): Add bench-timing.h.
10480         * benchtests-bench-skeleton.c: Include bench-timing.h.
10481         (main): Use TIMING_* macros instead of clock_gettime.
10482         * benchtests/bench-timing.h: New file.
10484         [BZ #14582]
10485         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
10486         Renamed from _LIB_VERSION.
10487         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
10489 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
10491         * math/libm-test.inc (struct test_fff_f_data): New type.
10492         (RUN_TEST_LOOP_fff_f): New macro.
10493         (fma_test_data): New variable.
10494         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
10495         (fma_towardzero_test_data): New variable.
10496         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
10497         (fma_downward_test_data): New variable.
10498         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
10499         (fma_upward_test_data): New variable.
10500         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
10502         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
10503         (struct test_c_c_data): New type.
10504         (RUN_TEST_LOOP_c_c): New macro.
10505         (cacos_test_data): New variable.
10506         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
10507         (cacosh_test_data): New variable.
10508         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
10509         (casin_test_data): New variable.
10510         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
10511         (casinh_test_data): New variable.
10512         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
10513         (catan_test_data): New variable.
10514         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
10515         (catanh_test_data): New variable.
10516         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
10517         (ccos_test_data): New variable.
10518         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
10519         (ccosh_test_data): New variable.
10520         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
10521         (cexp_test_data): New variable.
10522         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
10523         (clog_test_data): New variable.
10524         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
10525         (clog10_test_data): New variable.
10526         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
10527         (conj_test_data): New variable.
10528         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
10529         (cproj_test_data): New variable.
10530         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
10531         (csin_test_data): New variable.
10532         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
10533         (csinh_test_data): New variable.
10534         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
10535         (csqrt_test_data): New variable.
10536         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
10537         (ctan_test_data): New variable.
10538         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
10539         (ctan_tonearest_test_data): New variable.
10540         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
10541         (ctan_towardzero_test_data): New variable.
10542         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
10543         (ctan_downward_test_data): New variable.
10544         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
10545         (ctan_upward_test_data): New variable.
10546         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
10547         (ctanh_test_data): New variable.
10548         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
10549         (ctanh_tonearest_test_data): New variable.
10550         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
10551         (ctanh_towardzero_test_data): New variable.
10552         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
10553         (ctanh_downward_test_data): New variable.
10554         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
10555         (ctanh_upward_test_data): New variable.
10556         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
10557         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
10558         of BUILD_COMPLEX.
10560         * math/libm-test.inc (struct test_ff_f_data): New type.
10561         (struct test_ff_f_data_nexttoward): Likewise.
10562         (RUN_TEST_LOOP_2_f): New macro.
10563         (RUN_TEST_LOOP_ff_f): Likewise.
10564         (atan2_test_data): New variable.
10565         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
10566         (copysign_test_data): New variable.
10567         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
10568         (fdim_test_data): New variable.
10569         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
10570         (fmax_test_data): New variable.
10571         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
10572         (fmin_test_data): New variable.
10573         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
10574         (fmod_test_data): New variable.
10575         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
10576         (hypot_test_data): New variable.
10577         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
10578         (nextafter_test_data): New variable.
10579         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
10580         (nexttoward_test_data): New variable.
10581         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
10582         (pow_test_data): New variable.
10583         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
10584         (pow_tonearest_test_data): New variable.
10585         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
10586         (pow_towardzero_test_data): New variable.
10587         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
10588         (pow_downward_test_data): New variable.
10589         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
10590         (pow_upward_test_data): New variable.
10591         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
10592         (remainder_test_data): New variable.
10593         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
10594         (scalb_test_data): New variable.
10595         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
10596         * sysdeps/i386/fpu/libm-test-ulps: Update.
10598 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
10600         * math/libm-test.inc (fma_test): Use max_value instead of local
10601         variable fltmax.
10602         (nextafter_test): Likewise.
10604         * math/libm-test.inc (acos_towardzero_test_data): New variable.
10605         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
10606         (acos_downward_test_data): New variable.
10607         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
10608         (acos_upward_test_data): New variable.
10609         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
10610         (acosh_test_data): New variable.
10611         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
10612         (asin_test_data): New variable.
10613         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
10614         (asin_tonearest_test_data): New variable.
10615         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
10616         (asin_towardzero_test_data): New variable.
10617         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
10618         (asin_downward_test_data): New variable.
10619         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
10620         (asin_upward_test_data): New variable.
10621         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
10622         (asinh_test_data): New variable.
10623         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
10624         (atan_test_data): New variable.
10625         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
10626         (atanh_test_data): New variable.
10627         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
10628         (cbrt_test_data): New variable.
10629         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
10630         (ceil_test_data): New variable.
10631         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
10632         (cos_test_data): New variable.
10633         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
10634         (cos_tonearest_test_data): New variable.
10635         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
10636         (cos_towardzero_test_data): New variable.
10637         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
10638         (cos_downward_test_data): New variable.
10639         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
10640         (cos_upward_test_data): New variable.
10641         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
10642         (cosh_test_data): New variable.
10643         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
10644         (cosh_tonearest_test_data): New variable.
10645         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
10646         (cosh_towardzero_test_data): New variable.
10647         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
10648         (cosh_downward_test_data): New variable.
10649         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
10650         (cosh_upward_test_data): New variable.
10651         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
10652         (erf_test_data): New variable.
10653         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
10654         (erfc_test_data): New variable.
10655         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
10656         (exp_test_data): New variable.
10657         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
10658         (exp_tonearest_test_data): New variable.
10659         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
10660         (exp_towardzero_test_data): New variable.
10661         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
10662         (exp_downward_test_data): New variable.
10663         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
10664         (exp_upward_test_data): New variable.
10665         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
10666         (exp10_test_data): New variable.
10667         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
10668         (exp2_test_data): New variable.
10669         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
10670         (expm1_test_data): New variable.
10671         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
10672         (fabs_test_data): New variable.
10673         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
10674         (floor_test_data): New variable.
10675         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
10676         (j0_test_data): New variable.
10677         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
10678         (j1_test_data): New variable.
10679         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
10680         (log_test_data): New variable.
10681         (log_test): Run tests with RUN_TEST_LOOP_f_f.
10682         (log10_test_data): New variable.
10683         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
10684         (log1p_test_data): New variable.
10685         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
10686         (log2_test_data): New variable.
10687         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
10688         (logb_test_data): New variable.
10689         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
10690         (logb_downward_test_data): New variable.
10691         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
10692         (nearbyint_test_data): New variable.
10693         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
10694         (rint_test_data): New variable.
10695         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
10696         (rint_tonearest_test_data): New variable.
10697         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
10698         (rint_towardzero_test_data): New variable.
10699         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
10700         (rint_downward_test_data): New variable.
10701         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
10702         (rint_upward_test_data): New variable.
10703         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
10704         (round_test_data): New variable.
10705         (round_test): Run tests with RUN_TEST_LOOP_f_f.
10706         (sin_test_data): New variable.
10707         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
10708         (sin_tonearest_test_data): New variable.
10709         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
10710         (sin_towardzero_test_data): New variable.
10711         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
10712         (sin_downward_test_data): New variable.
10713         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
10714         (sin_upward_test_data): New variable.
10715         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
10716         (sinh_test_data): New variable.
10717         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
10718         (sinh_tonearest_test_data): New variable.
10719         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
10720         (sinh_towardzero_test_data): New variable.
10721         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
10722         (sinh_downward_test_data): New variable.
10723         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
10724         (sinh_upward_test_data): New variable.
10725         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
10726         (sqrt_test_data): New variable.
10727         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
10728         (tan_test_data): New variable.
10729         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
10730         (tan_tonearest_test_data): New variable.
10731         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
10732         (tan_towardzero_test_data): New variable.
10733         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
10734         (tan_downward_test_data): New variable.
10735         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
10736         (tan_upward_test_data): New variable.
10737         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
10738         (tanh_test_data): New variable.
10739         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
10740         (tgamma_test_data): New variable.
10741         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
10742         (trunc_test_data): New variable.
10743         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
10744         (y0_test_data): New variable.
10745         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
10746         (y1_test_data): New variable.
10747         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
10748         (significand_test_data): New variable.
10749         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
10751 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
10753         [BZ #12387]
10754         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
10756 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
10758         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
10760 2013-05-10  Andreas Jaeger  <aj@suse.de>
10762         [BZ #15448]
10763         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
10764         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
10766 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
10768         * math/gen-libm-test.pl (adjust_arg): New function.
10769         (special_functions): Handle generating output in both functions
10770         and arrays.
10771         (parse_args): Likewise.
10772         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
10773         $in_func argument to parse_args.
10774         * math/libm-test.inc (struct test_f_f_data): New type.
10775         (IF_ROUND_INIT_): New macro.
10776         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
10777         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
10778         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
10779         (IF_ROUND_INIT_FE_UPWARD): Likewise.
10780         (ROUND_RESTORE_): Likewise.
10781         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
10782         (ROUND_RESTORE_FE_TONEAREST): Likewise.
10783         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
10784         (ROUND_RESTORE_FE_UPWARD): Likewise.
10785         (RUN_TEST_LOOP_f_f): New macro.
10786         (acos_test_data): New variable.
10787         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
10788         (acos_tonearest_test_data): New variable.
10789         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
10791 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
10793         * benchtests/bench-skeleton.c (startup): Fix coding style.
10795 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
10797         [BZ #6809]
10798         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
10799         negative infinity argument.
10800         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
10801         negative infinity argument.
10802         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
10803         negative infinity argument.
10804         * math/libm-test.inc (tgamma_test): Expect errno to be set for
10805         domain errors.
10807 2013-05-10  Florian Weimer  <fweimer@redhat.com>
10809         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
10810         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
10811         * iconv/iconv_prog.c (main): Likewise.
10812         * locale/programs/charmap-dir.c (charmap_readdir)
10813         (fopen_uncompressed): Likewise.
10814         * locale/programs/locfile.c (siblings_uncached)
10815         (write_locale_data): Use lstat64 instead of lstat.
10816         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
10817         stat.
10819 2013-05-10  Andreas Jaeger  <aj@suse.de>
10821         [BZ #15395]
10822         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
10823         localization.
10824         Include <locale.h>.
10826 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
10828         * elf/dl-close.c (_dl_close_worker): Add comments.
10830 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
10832         [BZ #15359]
10833         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
10834         high part of pi/2.
10835         (__ieee754_rem_pio2l): Update comments.
10837         [BZ #15429]
10838         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
10839         high part of pi/2.
10840         (__ieee754_rem_pio2l): Update comments.
10842         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
10843         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
10845         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
10846         M_PI_4l.
10848         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
10849         (M_PI_34_LOG10El): Likewise.
10850         (M_PI2_LOG10El): Likewise.
10851         (M_PI4_LOG10El): Likewise.
10852         (M_PI_LOG10El): Likewise.
10854 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10856         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10858 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
10860         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
10861         (MINUS_ZERO_INIT): Likewise.
10862         (PLUS_INFTY_INIT): Likewise.
10863         (MINUS_INFTY_INIT): Likewise.
10864         (QNAN_VALUE_INIT): Likewise.
10865         (MAX_VALUE_INIT): Likewise.
10866         (MIN_VALUE_INIT): Likewise.
10867         (MIN_SUBNORM_VALUE_INIT): Likewise.
10868         (plus_zero): Initialize with PLUS_ZERO_INIT.
10869         (minus_zero): Initialize with MINUS_ZERO_INIT.
10870         (plus_infty): Initialize with PLUS_INFTY_INIT.
10871         (minus_infty): Initialize with MINUS_INFTY_INIT.
10872         (qnan_value): Initialize with QNAN_VALUE_INIT.
10873         (max_value): Initialize with MAX_VALUE_INIT.
10874         (min_value): Initialize with MIN_VALUE_INIT.
10875         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
10877         * math/libm-test.inc (RUN_TEST_if_f): New macro.
10878         (jn_test): Use TEST_if_f instead of TEST_ff_f.
10879         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
10880         (yn_test): Use TEST_if_f instead of TEST_ff_f.
10882         * math/libm-test.inc (RUN_TEST_f_f): New macro.
10883         (RUN_TEST_2_f): Likewise.
10884         (RUN_TEST_ff_f): Likewise.
10885         (RUN_TEST_fi_f): Likewise.
10886         (RUN_TEST_fl_f): Likewise.
10887         (RUN_TEST_fff_f): Likewise.
10888         (RUN_TEST_c_f): Likewise.
10889         (RUN_TEST_f_f1): Likewise.
10890         (RUN_TEST_fF_f1): Likewise.
10891         (RUN_TEST_fI_f1): Likewise.
10892         (RUN_TEST_ffI_f1): Likewise.
10893         (RUN_TEST_c_c): Likewise.
10894         (RUN_TEST_cc_c): Likewise.
10895         (RUN_TEST_f_i): Likewise.
10896         (RUN_TEST_f_i_tg): Likewise.
10897         (RUN_TEST_ff_i_tg): Likewise.
10898         (RUN_TEST_f_b): Likewise.
10899         (RUN_TEST_f_b_tg): Likewise.
10900         (RUN_TEST_f_l): Likewise.
10901         (RUN_TEST_f_L): Likewise.
10902         (RUN_TEST_sincos): Likewise.
10903         * math/gen-libm-test.pl (new_test): Take new argument to indicate
10904         whether to show exceptions.  Do not include ");\n" in return
10905         value.
10906         (special_functions): Output call to RUN_TEST_sincos instead of
10907         check_float calls.  Update calls to new_test.
10908         (parse_args): Output call to single RUN_TEST_* macro instead of
10909         check_* calls and other assignments.  Update calls to new_test.
10911         [BZ #2546]
10912         [BZ #2560]
10913         [BZ #5159]
10914         [BZ #15426]
10915         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
10916         input to result for tgamma overflow.
10917         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
10918         (gamma_coeff): New variable.
10919         (NCOEFF): New macro.
10920         (gamma_positive): New function.
10921         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
10922         underflow here.  Use gamma_positive instead of exp (lgamma) for
10923         other arguments.
10924         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
10925         (gamma_coeff): New variable.
10926         (NCOEFF): New macro.
10927         (gammaf_positive): New function.
10928         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
10929         underflow here.  Use gamma_positive instead of exp (lgamma) for
10930         other arguments.
10931         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
10932         (gamma_coeff): New variable.
10933         (NCOEFF): New macro.
10934         (gammal_positive): New function.
10935         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
10936         underflow here.  Use gamma_positive instead of exp (lgamma) for
10937         other arguments.
10938         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
10939         (gamma_coeff): New variable.
10940         (NCOEFF): New macro.
10941         (gammal_positive): New function.
10942         (__ieee754_gammal_r): Handle positive infinity, overflow and
10943         underflow here.  Handle NaN the same as positive infinity.  Remove
10944         check x < 0xffffffff for negative integers.  Use gamma_positive
10945         instead of exp (lgamma) for other arguments.
10946         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
10947         (gamma_coeff): New variable.
10948         (NCOEFF): New macro.
10949         (gammal_positive): New function.
10950         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
10951         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
10952         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
10953         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
10954         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
10955         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
10956         * sysdeps/generic/math_private.h (__gamma_productf): New
10957         prototype.
10958         (__gamma_product): Likewise.
10959         (__gamma_productl): Likewise.
10960         * math/Makefile (libm-calls): Add gamma_product.
10961         * math/libm-test.inc (tgamma_test): Add more tests.
10962         * sysdeps/i386/fpu/libm-test-ulps: Update.
10963         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10965 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
10967         * benchtests/bench-skeleton.c (main): Preheat CPU.
10969 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
10971         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
10973 2013-05-07  Roland McGrath  <roland@hack.frob.com>
10975         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
10976         and _dl_skip_args_internal.
10978 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
10980         * manual/message.texi (Message Translation): Talk about users.
10981         Message to key mapping impacts design.
10983 2013-05-06  Roland McGrath  <roland@hack.frob.com>
10985         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
10987         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
10989         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
10990         * sysdeps/wordsize-64/glob64.c: ... here.
10992         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
10993         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
10994         New macros.
10996         * debug/getlogin_r_chk.c: Moved to ...
10997         * login/getlogin_r_chk.c: ... here.
10998         * debug/Makefile (routines): Move getlogin_r_chk to ...
10999         * login/Makefile (routines): ... here.
11000         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
11001         * login/Versions (libc: GLIBC_2.4): ... here.
11003         * io/poll.c (__poll): Renamed from poll.
11004         Add libc_hidden_def.
11005         (poll): Define as weak alias.
11007         * debug/ptsname_r_chk.c: Moved to ...
11008         * login/ptsname_r_chk.c: ... here.
11009         * debug/Makefile (routines): Move ptsname_r_chk to ...
11010         * login/Makefile (routines): ... here.
11011         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
11012         * login/Versions (libc: GLIBC_2.4): ... here.
11014         * posix/getlogin.c: Moved to ...
11015         * login/getlogin.c: ... here.
11016         * posix/getlogin_r.c: Moved to ...
11017         * login/getlogin_r.c: ... here.
11018         * posix/getlogin_r.c: Moved to ...
11019         * login/getlogin_r.c: ... here.
11020         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
11021         * login/Makefile (routines): ... here.
11022         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
11023         * login/Versions (libc: GLIBC_2.0): ... here.
11025         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
11026         (setrlimit): Define as weak alias.
11028         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
11029         Call __ names for open, ftruncate, and close.
11030         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
11031         (truncate): Define as weak alias.
11033 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
11035         * math/gen-libm-test.pl (parse_args): Initialize x before each
11036         test of frexp, modf and remquo.
11038         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
11039         test signgam value.
11041 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11043         [BZ #15418]
11044         [BZ #15419]
11045         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
11046         internal tests.
11047         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
11049 2013-05-06  Roland McGrath  <roland@hack.frob.com>
11051         * elf/dl-writev.h: New file.
11052         * elf/dl-misc.c: Include it.
11053         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
11054         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
11056 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
11058         * math/libm-test.inc (noXFails): Remove variable.
11059         (noXPasses): Likewise.
11060         (BUILD_COMPLEX_INT): Remove macro.
11061         (print_screen): Remove xfail argument.
11062         (print_screen_max_error): Likewise.
11063         (update_stats): Likewise.
11064         (print_max_error): Likewise.  Update calls to other affected
11065         functions.
11066         (print_complex_max_error): Likewise.
11067         (test_single_exception): Update calls to print_screen.
11068         (test_single_errno): Likewise.
11069         (check_float_internal): Remove xfail argument.  Update calls to
11070         other affected functions.
11071         (check_float): Likewise.
11072         (check_complex): Likewise.
11073         (check_int): Likewise.
11074         (check_long): Likewise.
11075         (check_bool): Likewise.
11076         (check_longlong): Likewise.
11077         (main): Don't print noXFails and noXPasses.
11078         * math/gen-libm-test.pl (top level): Don't mention expected
11079         failure handling in comment.
11080         (new_test): Don't handle expected failures.
11081         (parse_args): Don't mention expected failure handling in comment.
11082         (generate_testfile): Don't handle expected failures.
11083         (parse_ulps): Likewise.
11084         (print_ulps_file): Likewise.
11085         (get_failure): Remove function.
11086         (output_test): Don't handle expected failures.
11087         * make/README.libm-test: Don't mention expected failure handling.
11089         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
11090         (minus_zero): Likewise.
11091         (plus_infty): Likewise.
11092         (minus_infty): Likewise.
11093         (qnan_value): Likewise.
11094         (max_value): Likewise.
11095         (min_value): Likewise.
11096         (min_subnorm_value): Likewise.
11097         (initialize): Do not initialize those variables dynamically.
11099 2013-05-03  Roland McGrath  <roland@hack.frob.com>
11101         * io/open.c (__open_2): Moved to ...
11102         * io/open_2.c: ... this new file.
11103         * io/open64.c (__open64_2): Moved to ...
11104         * io/open64_2.c: ... this new file.
11105         * io/openat.c (__openat_2): Moved to ...
11106         * io/openat_2.c: ... this new file.
11107         * io/openat64.c (__openat64_2): Moved to ...
11108         * io/openat64_2.c: ... this new file.
11109         * io/Makefile (routines): Add them.
11110         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
11111         * sysdeps/unix/sysv/linux/open_2.c: File removed.
11112         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
11113         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
11114         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
11115         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
11116         (__openat64): Add hidden_ver.
11117         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
11118         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
11120         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
11121         Separately conditionalize setting of GLRO(dl_sysinfo) so
11122         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
11123         as well, but the actual setting is only under [NEED_DL_SYSINFO].
11125 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11127         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
11128         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
11129         definition.
11130         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
11131         * sysdeps/unix/sysv/linux/powerpc/init-first.c
11132         (_libc_vdso_platform_setup): Add __vdso_time initialization.
11133         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
11134         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
11136 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
11138         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
11139         test signgam value.
11141         * math/libm-test.inc (hypot_test): Do not use
11142         IGNORE_ZERO_INF_SIGN.
11144 2013-05-03  Andreas Jaeger  <aj@suse.de>
11146         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
11147         Linux 3.9.
11148         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
11149         (PF_MAX): Adjust for VSOCK change.
11151 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11153         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11155 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
11157         [BZ #15264]
11158         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
11159         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
11160         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
11162 2013-05-02  David S. Miller  <davem@davemloft.net>
11164         * sysdeps/sparc/fpu/libm-test-ulps: Update.
11166 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
11168         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
11170 2013-05-01  Roland McGrath  <roland@hack.frob.com>
11172         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
11174 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
11176         [BZ #14952]
11177         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
11178         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
11179         Use __attribute__ ((__gnu_inline__)).
11180         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
11181         Don't use __attribute__ ((__gnu_inline__)).
11183 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
11185         [BZ #15423]
11186         * math/s_catan.c (__catan): Handle small real or imaginary part of
11187         input specially to avoid spurious underflow.
11188         * math/s_catanf.c (__catanf): Likewise.
11189         * math/s_catanh.c (__catanh): Likewise.
11190         * math/s_catanhf.c (__catanhf): Likewise.
11191         * math/s_catanhl.c (__catanhl): Likewise.
11192         * math/s_catanl.c (__catanl): Likewise.
11193         * math/libm-test.inc (catan_test): Add more tests.
11194         (catanh_test): Likewise.
11195         * sysdeps/i386/fpu/libm-test-ulps: Update.
11196         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11198 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11200         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11202 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
11204         [BZ #15416]
11205         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
11206         accurately for denominator in atan2.
11207         * math/s_catanf.c (__catanf): Likewise.
11208         * math/s_catanh.c (__catanh): Likewise.
11209         * math/s_catanhf.c (__catanhf): Likewise.
11210         * math/s_catanhl.c (__catanhl): Likewise.
11211         * math/s_catanl.c (__catanl): Likewise.
11212         * math/libm-test.inc (catan_test): Add more tests.
11213         (catanh_test): Likewise.
11214         * sysdeps/i386/fpu/libm-test-ulps: Update.
11215         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11217 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
11219         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
11221         * benchtests/Makefile (bench): Remove slow benchmarks.
11222         * benchtests/atan-inputs: Add slow benchmark inputs.
11223         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
11224         (BENCH_FUNC): Accept variant offset.
11225         (VARIANT): Define.
11226         * benchtests/bench-skeleton.c (main): Run benchmark for each
11227         variant.
11228         * benchtests/cos-inputs: Add slow benchmark inputs.
11229         * benchtests/exp-inputs: Likewise.
11230         * benchtests/pow-inputs: Likewise.
11231         * benchtests/sin-inputs: Likewise.
11232         * benchtests/slowatan-inputs: Remove.
11233         * benchtests/slowatan.c: Remove.
11234         * benchtests/slowcos-inputs: Remove.
11235         * benchtests/slowcos.c: Remove.
11236         * benchtests/slowexp-inputs: Remove.
11237         * benchtests/slowexp.c: Remove.
11238         * benchtests/slowpow-inputs: Remove.
11239         * benchtests/slowpow.c: Remove.
11240         * benchtests/slowsin-inputs: Remove.
11241         * benchtests/slowsin.c: Remove.
11242         * benchtests/slowtan-inputs: Remove.
11243         * benchtests/slowtan.c: Remove.
11244         * benchtests/tan-inputs: Add slow benchmark inputs.
11245         * scripts/bench.pl: Parse comments and directives.
11247         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
11248         in CPPFLAGS.
11249         ($(objpfx)bench-%.c): Remove *-ITER.
11250         * benchtests/bench-modf.c: Remove definition of ITER.
11251         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
11252         (main): Loop for DURATION seconds instead of fixed number of
11253         iterations.
11254         * scripts/bench.pl: Don't expect iterations in parameters.
11256 2013-04-29  Roland McGrath  <roland@hack.frob.com>
11258         * io/fchdir.c (__fchdir): Renamed from fchdir.
11259         (fchdir): Define as weak alias.
11261 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
11263         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
11264         (ERRNO_EDOM): Likewise.
11265         (ERRNO_ERANGE): Likewise.
11266         (noErrnoTests): New variable.
11267         (init_max_error): Set errno to 0.
11268         (test_single_errno): New function.
11269         (test_errno): Likewise.
11270         (check_float_internal): Call test_errno.  Set errno to 0.
11271         (check_complex): Refer to errno tests in comment.
11272         (check_int): Call test_errno.  Set errno to 0.
11273         (check_long): Likewise.
11274         (check_bool): Likewise.
11275         (check_longlong): Likewise.
11276         (cos_test): Use ERRNO_* flags for errno tests instead of
11277         check_int.
11278         (expm1_test): Likewise.
11279         (fmod_test): Likewise.
11280         (ilogb_test): Likewise.
11281         (lgamma_test): Likewise.
11282         (pow_test): Likewise.
11283         (remainder_test): Likewise.
11284         (sin_test): Likewise.
11285         (tan_test): Likewise.
11286         (yn_test): Likewise.
11287         (initialize): Set errno to 0.
11288         (main): Print number of errno tests.
11289         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
11291 2013-04-29  Andreas Jaeger  <aj@suse.de>
11293         [BZ #15084]
11294         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
11295         and RES_USEVC.
11297         [BZ #15085]
11298         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
11299         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
11300         unimplemented.
11302         [BZ #15380]
11303         * stdlib/random.c (__initstate): Return NULL if
11304         __initstate fails.
11306         [BZ #15086]
11307         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
11308         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
11309         RES_SNGLKUPREOP.
11311 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11313         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11315 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
11317         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
11318         of individual tests.
11319         (casin_test): Likewise.
11320         (casinh_test): Likewise.
11322 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
11324         [BZ #15409]
11325         * math/s_catan.c (__catan): Handle arguments with large real or
11326         imaginary part separately without squaring.
11327         * math/s_catanf.c (__catanf): Likewise.
11328         * math/s_catanh.c (__catanh): Likewise.
11329         * math/s_catanhf.c (__catanhf): Likewise.
11330         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
11331         and redefine.
11332         (__catanhl): Handle arguments with large real or imaginary part
11333         separately without squaring.
11334         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
11335         and redefine.
11336         (__catanl): Handle arguments with large real or imaginary part
11337         separately without squaring.
11338         * math/libm-test.inc (catan_test): Add more tests.
11339         (catanh_test): Likewise.
11340         * sysdeps/i386/fpu/libm-test-ulps: Update.
11341         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11343 2013-04-27  Andreas Jaeger  <aj@suse.de>
11345         [BZ #15007]
11346         * stdlib/stdlib.h: Update guards for qecvt.
11347         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
11348         <stdlib.h>.
11350 2013-04-27  Allan McRae  <allan@archlinux.org>
11352         * sysdeps/i386/fpu/libm-test-ulps: Update.
11354 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
11356         [BZ #15406]
11357         * math/s_catan.c: Include <float.h>.
11358         (__catan): Ensure underflow exception occurs for underflowed
11359         result.
11360         * math/s_catanf.c: Include <float.h>.
11361         (__catanf): Ensure underflow exception occurs for underflowed
11362         result.
11363         * math/s_catanh.c: Include <float.h>.
11364         (__catanh): Ensure underflow exception occurs for underflowed
11365         result.
11366         * math/s_catanhf.c: Include <float.h>.
11367         (__catanhf): Ensure underflow exception occurs for underflowed
11368         result.
11369         * math/s_catanhl.c: Include <float.h>.
11370         (__catanhl): Ensure underflow exception occurs for underflowed
11371         result.
11372         * math/s_catanl.c: Include <float.h>.
11373         (__catanl): Ensure underflow exception occurs for underflowed
11374         result.
11375         * math/libm-test.inc (catan_test): Add more tests.
11376         (catanh_test): Likewise.
11378         [BZ #15405]
11379         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
11380         underflowed result.
11381         * math/s_ccoshf.c (__ccoshf): Likewise.
11382         * math/s_ccoshl.c (__ccoshl): Likewise.
11383         * math/s_csin.c (__csin): Likewise.
11384         * math/s_csinf.c (__csinf): Likewise.
11385         * math/s_csinh.c (__csinh): Likewise.
11386         * math/s_csinhf.c (__csinhf): Likewise.
11387         * math/s_csinhl.c (__csinhl): Likewise.
11388         * math/s_csinl.c (__csinl): Likewise.
11389         * math/libm-test.inc (ccos_test): Add more tests.
11390         (ccosh_test): Likewise.
11391         (csin_test): Likewise.
11392         (csinh_test): Likewise.
11394 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11396         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
11397         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
11398         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
11399         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
11400         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
11401         powerpc/power5+/fpu folders.
11402         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
11405 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
11407         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11409 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
11411         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
11412         additions to variable.
11413         [$(config-machine) = x86_64] (modules-names): Likewise.
11414         ($(objpfx)tst-audit3): Remove dependency.
11415         ($(objpfx)tst-audit3.out): Likewise.
11416         ($(objpfx)tst-audit4): Likewise.
11417         ($(objpfx)tst-audit4.out): Likewise.
11418         ($(objpfx)tst-audit5): Likewise.
11419         ($(objpfx)tst-audit5.out): Likewise.
11420         ($(objpfx)tst-audit6): Likewise.
11421         ($(objpfx)tst-audit6.out): Likewise.
11422         ($(objpfx)tst-audit7): Likewise.
11423         ($(objpfx)tst-audit7.out): Likewise.
11424         (tst-audit3-ENV): Remove variable.
11425         (tst-audit4-ENV): Likewise.
11426         (tst-audit5-ENV): Likewise.
11427         (tst-audit6-ENV): Likewise.
11428         (tst-audit7-ENV): Likewise.
11429         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
11430         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
11431         addition to variable.
11432         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
11433         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
11434         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
11435         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
11436         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
11437         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
11438         tst-audit3, tst-audit4 and tst-audit5.
11439         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
11440         tst-audit6 and tst-audit7.
11441         [$(subdir) = elf] (modules-names): Add audit modules for those
11442         tests.
11443         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
11444         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
11445         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
11446         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
11447         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
11448         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
11449         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
11450         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
11451         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
11452         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
11453         [$(subdir) = elf] (tst-audit3-ENV): New variable.
11454         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
11455         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
11456         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
11457         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
11458         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
11459         Likewise.
11460         [$(subdir) = elf && $(config-cflags-avx) = yes]
11461         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
11462         [$(subdir) = elf && $(config-cflags-avx) = yes]
11463         (CFLAGS-tst-auditmod4a.c): Likewise.
11464         [$(subdir) = elf && $(config-cflags-avx) = yes]
11465         (CFLAGS-tst-auditmod4b.c): Likewise.
11466         [$(subdir) = elf && $(config-cflags-avx) = yes]
11467         (CFLAGS-tst-auditmod6b.c): Likewise.
11468         [$(subdir) = elf && $(config-cflags-avx) = yes]
11469         (CFLAGS-tst-auditmod6c.c): Likewise.
11470         [$(subdir) = elf && $(config-cflags-avx) = yes]
11471         (CFLAGS-tst-auditmod7b.c): Likewise.
11472         * elf/tst-audit3.c: Move to ...
11473         * sysdeps/x86_64/tst-audit3.c: ... here.
11474         * elf/tst-audit4.c: Move to ...
11475         * sysdeps/x86_64/tst-audit4.c: ... here.
11476         * elf/tst-audit5.c: Move to ...
11477         * sysdeps/x86_64/tst-audit5.c: ... here.
11478         * elf/tst-audit6.c: Move to ...
11479         * sysdeps/x86_64/tst-audit6.c: ... here.
11480         * elf/tst-audit7.c: Move to ...
11481         * sysdeps/x86_64/tst-audit7.c: ... here.
11482         * elf/tst-auditmod3a.c: Move to ...
11483         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
11484         * elf/tst-auditmod3b.c: Move to ...
11485         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
11486         * elf/tst-auditmod4a.c: Move to ...
11487         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
11488         * elf/tst-auditmod4b.c: Move to ...
11489         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
11490         * elf/tst-auditmod5a.c: Move to ...
11491         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
11492         * elf/tst-auditmod5b.c: Move to ...
11493         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
11494         * elf/tst-auditmod6a.c: Move to ...
11495         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
11496         * elf/tst-auditmod6b.c: Move to ...
11497         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
11498         * elf/tst-auditmod6c.c: Move to ...
11499         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
11500         * elf/tst-auditmod7a.c: Move to ...
11501         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
11502         * elf/tst-auditmod7b.c: Move to ...
11503         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
11505 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
11507         [BZ #15366]
11508         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
11509         define unconditionally.
11510         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
11511         define unconditionally.
11512         (INT8_C, INT16_C, etc.): Likewise.
11514 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
11516         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
11517         __ehdr_start with hidden visibility.
11519         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
11521 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
11523         * math/libm-test.inc (cos_test): Use accurate hex constants.
11524         (sincost_test): Likewise.
11526 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
11528         * math/libm-test.inc (catan_test): Add more tests.
11529         (catanh_test): Likewise.
11531         * math/s_catanf.c (__catanf): Use suffixed floating-point
11532         constants.
11533         * math/s_catanhf.c (__catanhf): Likewise.
11534         * math/s_catanhl.c (__catanhl): Likewise.
11535         * math/s_catanl.c (__catanl): Likewise.
11537         [BZ #15394]
11538         * math/s_catan.c (__catan): Calculate imaginary part of result
11539         with log1p not log unless computing log of number close to 0.
11540         * math/s_catanf.c (__catanf): Likewise.
11541         * math/s_catanl.c (__catanl): Likewise.
11542         * math/s_catanh.c (__catanh): Calculate real part of result with
11543         log1p not log unless computing log of number close to 0.
11544         * math/s_catanhf.c (__catanhf): Likewise.
11545         * math/s_catanhl.c (__catanhl): Likewise.
11546         * math/libm-test.inc (catan_test): Add more tests.
11547         (catanh_test): Likewise.
11548         * sysdeps/i386/fpu/libm-test-ulps: Update.
11549         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11551 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
11553         * benchtests/Makefile: Mention files in which fast and slow
11554         paths of math functions are implemented.
11556 2013-04-23  Roland McGrath  <roland@hack.frob.com>
11558         * sysdeps/posix/timespec_get.c: New file.
11560 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11562         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
11563         POWER.
11564         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
11565         for POWER.
11566         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
11567         powerpc/power5/fpu folders.
11568         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
11569         * benchtests/Makefile: Add modf testcase.
11570         * benchtests/bench-modf.c: New file: Benchmark test for mo
11572 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
11574         [BZ #14888]
11575         * time/Makefile (tests): Add tst-strptime-whitespace.
11576         * time/strptime_l.c (get_number): Use ISSPACE.
11577         (__strptime_internal): Likewise.
11578         * time/tst-strptime-whitespace.c: New test case.
11580 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
11582         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
11583         member.
11584         (_nss_files_init): Set it here.
11586 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
11588         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
11589         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
11590         unsigned.
11592 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
11594         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
11596 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
11598         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
11599         size just once.
11601 2013-04-21  David S. Miller  <davem@davemloft.net>
11603         * po/ru.po: Update Russion translation from translation project.
11605 2013-04-17  Adam Conrad  <adconrad@0c3.net>
11607         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
11608         and setfsgid.
11610 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
11612         * configure.in: Remove i386 configure warning. Remove i386 case.
11613         * configure: Regenerate.
11614         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
11615         Add example to error message.
11616         * sysdeps/i386/configure: Regenerate.
11618 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
11620         * benchtests/Makefile (bench): Add cos, tan, slowcos and
11621         slowtan.
11622         * benchtests/cos-inputs: New file.
11623         * benchtests/slowcos-inputs: New file.
11624         * benchtests/slowcos.c: New file.
11625         * benchtests/slowtan-inputs: New file.
11626         * benchtests/slowtan.c: New file.
11627         * benchtests/tan-inputs: New file.
11629 2013-04-16  Roland McGrath  <roland@hack.frob.com>
11631         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
11632         considered kosher.
11634 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
11636         * benchtests/Makefile: Include cppflags-iterator.mk to add
11637         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
11639         * Makefile.in (bench-clean): New target.
11640         * benchtests/Makefile (bench-clean): Likewise.
11642 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
11644         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
11646 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
11648         * stdio-common/tstdiomisc.c: Fix coding-style violation.
11650 2013-04-15  Andreas Schwab  <schwab@suse.de>
11652         * nscd/grpcache.c (cache_addgr): Properly check for short write.
11653         * nscd/initgrcache.c (addinitgroupsX): Likewise.
11654         * nscd/pwdcache.c (cache_addpw): Likewise.
11655         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
11656         more than recsize.
11658 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
11660         * benchtests/Makefile (bench): Write all output to
11661         bench-out.tmp together.
11663 2013-04-15  Andreas Schwab  <schwab@suse.de>
11665         * nscd/nscd.c (main): Don't fork again after closing files.
11667 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
11669         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
11671         * benchtests/Rules (bench-deps): Collect dependencies into a
11672         single variable.  Add Makefile to dependencies.
11673         ($(objpfx)bench-%.c): Depend on bench-deps.
11675 2013-04-12  Roland McGrath  <roland@hack.frob.com>
11676             Xavier Roche  <roche+kml2@exalead.com>
11678         [BZ #15361]
11679         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
11680         just that it's a file descriptor.
11681         * manual/llio.texi (Synchronizing AIO Operations): Update description
11682         for EBADF error from aio_fsync.
11684 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
11686         * Rules (bench): Move target definition...
11687         * benchtests/Makefile: ... here.
11689 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
11691         * math/libm-test.inc (cos_test): Fix PI/2 test.
11692         (sincos_test): Likewise.
11693         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
11694         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
11696 2013-04-11  Andreas Schwab  <schwab@suse.de>
11698         [BZ #13988]
11699         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
11700         accept exponent character only when digits were seen.
11701         * stdio-common/Makefile (tests): Add bug26.
11702         * stdio-common/bug26.c: New file.
11704         [BZ #14293]
11705         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
11706         non-freeable.
11708 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
11710         * Makeconfig (rtld-prefix): Define built linker prefix.
11711         * Rules (run-bench): Use it.
11712         * math/Makefile (run-regen-ulps): Likewise.
11714         * Rules (bench): Remove eval.
11716 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
11717             Roland McGrath  <roland@hack.frob.com>
11718             Ondrej Bilka  <neleai@seznam.cz>
11720         [BZ #15346]
11721         * time/getdate.c: Include ctype.h and alloca.h.
11722         (__getdate_r): Trim leading and trailing spaces of input.
11723         * time/tst-getdate.c (tests): Add tests with leading and
11724         trailing spaces.
11726 2013-04-08  Roland McGrath  <roland@hack.frob.com>
11728         [BZ #14280]
11729         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
11730         when computing value.
11732 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
11734         * math/README.libm-test (How can I generate "libm-test-ulps"?):
11735         Use testrun.sh to run libm tests.
11737         [BZ #15309]
11738         * elf/dl-open.c (dl_open_worker): memset all of seen array.
11740 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
11742         [BZ #15264]
11743         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
11745 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
11747         * Makefile.in (regen-ulps): New target.
11748         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
11749         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
11750         [ifneq (no,$(PERL)] (regen-ulps): New target.
11751         [ifeq (no,$(PERL)] (regen-ulps): New target.
11752         * math/libm-test.inc (ulps_file_name): Define.
11753         (output_dir): New variable.
11754         (options): Add "output-dir" option.
11755         (parse_opt): Handle 'o' case.
11756         (main): If output_dir is non-NULL use it as a prefix
11757         otherwise use "".
11758         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
11760 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
11762         [BZ #10060, #10062]
11763         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
11764         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
11765         fail configure if __sync_val_compare_and_swap is not inlined.
11766         * sysdeps/i386/configure: Regenerate.
11767         * configure.in: Build for i686 when configured for i386.
11768         * configure: Regenerate.
11769         * README: Remove i386 reference.
11771 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
11773         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
11774         * sysdeps/s390/s390-64/sysdep.h: Likewise.
11776 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
11778         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
11779         (lmsnanval): New variables.
11780         (F): Add conversion tests.
11781         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
11782         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
11784         * stdio-common/tstdiomisc.c (F): Properly collect individual
11785         tests' results.
11787         [BZ #14686, #15336]
11788         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
11789         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
11790         Instead, use input NaN values or generate a qNaN by arithmetic
11791         operation.  Also fix bugs to comply with the standard.
11792         * math/libm-test.inc (remainder_test): Add more tests.
11794         [BZ #15335, #15342]
11795         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
11796         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
11797         input NaN values or generate a qNaN by arithmetic operation.
11799         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
11800         unreachable code.
11802         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
11803         definitions.
11805 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
11807         [BZ #14478]
11808         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
11809         underflowed result.
11810         * math/s_cexpf.c (__cexpf): Likewise.
11811         * math/s_cexpl.c (__cexpl): Likewise.
11812         * math/libm-test.inc (cexp_test): Add more tests.
11814 2013-04-03  Andreas Schwab  <schwab@suse.de>
11816         [BZ #15330]
11817         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
11818         order arrays from heap if bigger than alloca cutoff.
11820 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
11822         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
11823         (SNAN_TESTS_double): Refer to GCC PR56831.
11824         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
11825         GCC PR56828.
11827 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
11829         * Rules (bench): Move bench.out after the run is complete.
11831         * Rules (bench): Echo currently running benchmark.
11833         * benchtests/Makefile (bench): Add atan and slowatan.
11834         * benchtests/atan-inputs: New file.
11835         * benchtests/slowatan-inputs: New file.
11836         * benchtests/slowatan.c: New file.
11838         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
11839         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
11840         its value.
11842         [BZ #15305]
11843         * sysdeps/unix/sysv/linux/kernel-features.h
11844         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
11845         __ASSUME_XFS_RESTRICTED_CHOWN.
11846         * sysdeps/unix/sysv/linux/pathconf.c
11847         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
11848         Save and restore errno.
11850 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
11852         [BZ #15327]
11853         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
11854         arguments using __kernel_casinh.
11855         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
11856         arguments using __kernel_casinhf.
11857         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
11858         arguments using __kernel_casinhl.
11859         * math/libm-test.inc (cacosh_test): Add more tests.
11860         * sysdeps/i386/fpu/libm-test-ulps: Update.
11861         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11863 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
11865         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
11866         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
11868         * bench/Makefile (bench): Add sin and slowsin.
11869         * benchtests/sin-inputs: New file.
11870         * benchtests/slowsin-inputs: New file.
11871         * benchtests/slowsin.c: New file.
11873         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
11874         (bench): Add slowexp and slowpow.
11875         (exp-ITER): Increase iterations.
11876         (pow-ITER): Likewise.
11877         * benchtests/exp-inputs: Change input.
11878         * benchtests/pow-inputs: Likewise.
11879         * benchtests/slowexp-inputs: New file.
11880         * benchtests/slowexp.c: New file.
11881         * benchtests/slowpow-inputs: New file.
11882         * benchtests/slowpow.c: New file.
11884 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11886         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
11887         instructions.
11888         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
11889         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
11890         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
11891         * benchtests/Makefile: Add rint benchtest.
11892         * benchtests/rint-inputs: Input for rint benchtest.
11894 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
11896         * Versions.def (libm): Add GLIBC_2.18.
11897         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
11898         hidden libm prototypes.
11899         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
11900         * math/Makefile (libm-calls): Add s_issignaling.
11901         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
11902         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
11903         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
11904         declaration.
11905         * math/math.h [__USE_GNU] (issignaling): New macro.
11906         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
11907         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
11908         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
11909         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
11910         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
11911         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
11912         * manual/arith.texi (issignaling): New section.
11913         * manual/libm-err-tab.pl (@all_functions): Update comment.
11914         * math/gen-libm-test.pl (parse_args): Apply special handling for
11915         issignaling.
11916         * math/libm-test.inc (print_float, issignaling_test): New
11917         functions.
11918         (check_float_internal): Add issignaling checks.
11919         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
11920         default definition.
11921         * sysdeps/powerpc/math-tests.h: New file.
11922         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
11923         tests.
11924         * math/test-snan.c (TEST_FUNC): Likewise.
11926 2013-03-30  David S. Miller  <davem@davemloft.net>
11928         * po/de.po: Update from translation team.
11930 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
11932         [BZ #10357]
11933         * math/k_casinh.c (__kernel_casinh): Handle arguments with
11934         imaginary part less than 1.0 and real part less than 0.5
11935         specially.
11936         * math/k_casinhf.c (__kernel_casinhf): Likewise.
11937         * math/k_casinhl.c (__kernel_casinhl): Likewise.
11938         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
11939         (cacos_test): Add more tests.
11940         (casin_test): Likewise.
11941         (casinh_test): Likewise.
11942         * sysdeps/i386/fpu/libm-test-ulps: Update.
11943         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11945 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
11947         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
11948         ONE with its value.
11950         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
11951         (__pow_mp): Replace ONE and MONE with their values.
11952         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
11953         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
11954         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
11955         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
11956         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
11957         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
11959         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
11961         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
11962         (__pow_mp): Replace ZERO and MZERO with their values.
11963         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
11964         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
11965         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
11966         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
11967         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
11968         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
11969         (__sqr): Likewise.
11971         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
11973         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
11975 2013-03-28  Roland McGrath  <roland@hack.frob.com>
11977         * include/stdlib.h [!SHARED] (__call_tls_dtors):
11978         Declare with __attribute__ ((weak)).
11979         * stdlib/exit.c (__libc_atexit) [!SHARED]:
11980         Call __call_tls_dtors only if it's not NULL.
11982 2013-03-28  Roland McGrath  <roland@hack.frob.com>
11984         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
11985         didn't do it already, then set _dl_phdr and _dl_phnum based on the
11986         magic __ehdr_start linker symbol if it's defined.
11987         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
11988         them up here if it was already done.
11990         * elf/dl-support.c (_dl_phdr): Make pointer to const.
11991         (_dl_aux_init): Use const in cast when setting it.
11992         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
11993         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
11994         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
11996         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
11997         Declare them here.
11998         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
11999         * csu/libc-tls.c: Nor here.
12000         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
12002         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
12003         (__libc_message): Never call vsyslog.
12005 2013-03-28  Alan Modra  <amodra@gmail.com>
12007         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
12008         Define as empty.
12009         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
12010         Likewise.
12012 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12014         [BZ #15214]
12015         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
12016         underflow.
12017         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12019 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
12021         [BZ #15304]
12022         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
12023         Don't add gid passed as argument.
12025         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
12027 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
12029         [BZ #15307]
12030         * math/k_casinh.c (__kernel_casinh): Handle arguments with
12031         imaginary part between 1.0 and 1.5 and real part less than 0.5
12032         specially.
12033         * math/k_casinhf.c (__kernel_casinhf): Likewise.
12034         * math/k_casinhl.c (__kernel_casinhl): Likewise.
12035         * math/libm-test.inc (cacos_test): Add more tests.
12036         (casin_test): Likewise.
12037         (casinh_test): Likewise.
12038         * sysdeps/i386/fpu/libm-test-ulps: Update.
12039         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12041 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
12043         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
12044         constants.
12045         (norm): Likewise.
12046         (denorm): Likewise.
12047         (__dbl_mp): Likewise.
12048         (add_magnitudes): Likewise.
12049         (sub_magnitudes): Likewise.
12050         (__add): Likewise.
12051         (__sub): Likewise.
12052         (__mul): Likewise.
12053         (__sqr): Likewise.
12054         (__inv): Likewise.
12055         (__dvd): Likewise.
12057         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
12058         commented code.
12059         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
12060         (__dubcos): Likewise.
12061         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
12062         (__ieee754_acos): Likewise.
12063         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
12064         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
12065         (__exp1): Likewise.
12066         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
12067         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
12068         (log1): Likewise.
12069         (my_log2): Likewise.
12070         (checkint): Likewise.
12071         * sysdeps/ieee754/dbl-64/e_remainder.c
12072         (__ieee754_remainder): Likewise.
12073         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
12074         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
12075         (bsloww): Likewise.
12076         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
12078         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
12079         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
12080         MANTISSA_STORE_T to store computations on mantissa.  Use
12081         macros for rounding and division.
12082         (denorm): Likewise.
12083         (__dbl_mp): Likewise.
12084         (add_magnitudes): Likewise.
12085         (sub_magnitudes): Likewise.
12086         (__mul): Likewise.
12087         (__sqr): Likewise.
12088         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
12089         powers of two in terms of TWOPOW macro.
12090         (mp_no): Make type of mantissa as MANTISSA_T.
12091         [!RADIXI]: Define RADIXI.
12092         [!TWO52]: Define TWO52.
12093         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
12095 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12097         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
12098         llroundl symbol when building for PPC32.
12100 2013-03-24  Mark H Weaver  <mhw@netris.org>
12102         * manual/arith.texi (Normalization Functions): Fix prototypes for
12103         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
12105 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12107         [BZ #13889]
12108         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
12109         high value to check if expl overflow.
12110         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
12111         to check for underflow and overflow.
12112         * math/libm-test.inc: Add exp test.
12114 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
12116         [BZ #11120]
12117         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
12118         with NOT_IN_libc.
12120 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12122         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
12123         symbol.
12125 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
12127         * math/gen-libm-test.pl (parse_args, special_functions): Properly
12128         wrap blocks consisting of several statements.
12130         * sysdeps/generic/math-tests.h: New file.
12131         * sysdeps/i386/fpu/math-tests.h: Likewise.
12132         * math/test-snan.c: Include it.
12133         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
12135 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
12137         [BZ #15285]
12138         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
12139         (__ieee754_j0l): Do not improve calculations using cos of twice
12140         input for inputs above LDBL_MAX / 2.0L.
12141         (__ieee754_y0l): Likewise.
12142         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
12143         (__ieee754_j1l): Do not improve calculations using cos of twice
12144         input for inputs above LDBL_MAX / 2.0L.
12145         (__ieee754_y1l): Likewise.
12146         * math/libm-test.inc (j0_test): Add another test.
12147         (j1_test): Likewise.
12148         (y0_test): Likewise.
12149         (y1_test): Likewise.
12150         * sysdeps/i386/fpu/libm-test-ulps: Update.
12152 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
12154         * Rules ($(objpfx)bench-%.c): Include code from a C source
12155         file.
12157 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
12159         [BZ #15287]
12160         * math/k_casinh.c (__kernel_casinh): Handle arguments with
12161         imaginary part 1.0 and real part less than 0.5 specially.
12162         * math/k_casinhf.c (__kernel_casinhf): Likewise.
12163         * math/k_casinhl.c (__kernel_casinhl): Likewise.
12164         * math/libm-test.inc (cacos_test): Add more tests.
12165         (casin_test): Likewise.
12166         (casinh_test): Likewise.
12167         * sysdeps/i386/fpu/libm-test-ulps: Update.
12168         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12170 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
12172         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
12173         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
12175 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
12177         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
12178         * config.make.in (config-cflags-sse4): Remove variable.
12179         (config-cflags-avx): Likewise.
12180         (config-cflags-sse2avx): Likewise.
12181         (config-cflags-novzeroupper): Likewise.
12182         (config-asflags-i686): Likewise.
12183         (have-mfma4): Likewise.
12184         (have-as-vis3): Likewise.
12185         (MIG): Likewise.
12186         * configure.in (MIG): Do not AC_SUBST.
12187         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
12188         (libc_cv_cc_sse4): Do not AC_SUBST.
12189         (libc_cv_cc_avx): Likewise.
12190         (libc_cv_cc_sse2avx): Likewise.
12191         (libc_cv_cc_novzeroupper): Likewise.
12192         (libc_cv_cc_fma4): Likewise.
12193         (libc_cv_as_i686): Likewise.
12194         (libc_cv_sparc_as_vis3): Likewise.
12195         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
12196         LIBC_CONFIG_VAR.
12197         (config-asflags-i686): Likewise.
12198         (config-cflags-avx): Likewise.
12199         (config-cflags-sse2avx): Likewise.
12200         (have-mfma4): Likewise.
12201         (config-cflags-novzeroupper): Likewise.
12202         * sysdeps/mach/configure.in (MIG): Likewise.
12203         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
12204         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
12205         LIBC_CONFIG_VAR.
12206         (config-cflags-avx): Likewise.
12207         (config-cflags-sse2avx): Likewise.
12208         (have-mfma4): Likewise.
12209         (config-cflags-novzeroupper): Likewise.
12210         * configure: Regenerated.
12211         * sysdeps/i386/configure: Likewise.
12212         * sysdeps/mach/configure: Likewise.
12213         * sysdeps/sparc/configure: Likewise.
12214         * sysdeps/x86_64/configure: Likewise.
12216 2013-03-20  Roland McGrath  <roland@hack.frob.com>
12218         [BZ #14812]
12219         * locale/programs/localedef.c (options): Put N_ translation marker
12220         on argument names, not just descriptions.
12222 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
12224         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
12226 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
12228         [BZ #14176]
12229         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
12231 2013-03-19  Roland McGrath  <roland@hack.frob.com>
12233         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
12234         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
12235         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
12236         [!BEFORE_ABORT] (before_abort): New function.
12237         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
12238         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
12239         (writev_for_fatal): New function.
12240         (WRITEV_FOR_FATAL): New macro; call that.
12241         (backtrace_and_maps): New function.
12242         (BEFORE_ABORT): New macro; call that.
12243         (struct str_list): Type removed.
12244         (__libc_message, __libc_fatal): Functions removed.
12245         Include <sysdeps/posix/libc_fatal.c> instead.
12247 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
12249         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
12250         constants.
12251         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
12252         double constants.
12254 2013-03-19  Andreas Schwab  <schwab@suse.de>
12256         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
12257         * sysdeps/gnu/configure: Regenerate.
12259         * configure.in: Substitute libc_cv_rtlddir.
12260         * configure: Regenerate.
12261         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
12262         * Makeconfig (rtlddir, inst_rtlddir): New variables.
12263         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
12264         * elf/Makefile (install-others, CFLAGS-interp.c)
12265         (ldso_install, common-ldd-rewrite): Likewise.
12266         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
12267         $(inst_slibdir)/$(rtld-installed-name).
12268         * scripts/rellns-sh: Add -p option.
12269         * Makerules (make-shlib-link): Use rellns-sh to get relative name
12270         for source.
12272 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
12274         * manual/nptl.texi: Renamed to ...
12275         * manual/threads.texi: ... this.
12276         * manual/Makefile (chapters): Update.
12278 2013-03-18  Roland McGrath  <roland@hack.frob.com>
12280         [BZ #14812]
12281         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
12282         on argument names, not just descriptions.
12283         * malloc/memusagestat.c (options): Likewise.
12284         * nss/getent.c (options): Likewise.
12286 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
12288         [BZ #14812]
12289         * iconv/iconv_prog.c (options): Put N_ translation marker
12290         on argument names, not just descriptions.
12291         * iconv/iconvconfig.c (options): Likewise.
12293 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
12295         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
12296         implementation which is faster on all x86_64 architectures.
12297         Tested on AMD, Intel Nehalem, SNB, IVB.
12298         * sysdeps/x86_64/strnlen.S: Likewise.
12300         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
12301         Remove all multiarch strlen and strnlen versions.
12302         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
12303         Remove strlen and strnlen related parts.
12305         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
12306         Inline strlen part.
12307         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
12309         * sysdeps/x86_64/multiarch/strlen.S: Remove.
12310         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
12311         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
12312         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
12313         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
12314         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
12316 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
12318         * manual/memory.texi (Malloc Tunable Parameters):
12319         Sort parameters alphabetically. Add comments for missing entries.
12321 2013-03-17  David S. Miller  <davem@davemloft.net>
12323         * sysdeps/sparc/fpu/libm-test-ulps: Update.
12325 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
12327         [BZ #15283]
12328         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
12329         for arguments at most half maximum finite value.
12330         * math/libm-test.inc (j0_test): Add more tests.
12331         (j1_test): Likewise.
12332         (y0_test): Likewise.
12333         (y1_test): Likewise.
12334         * sysdeps/i386/fpu/libm-test-ulps: Update.
12335         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12337         [BZ #14155]
12338         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
12339         1 / x and functions P and Q for arguments above 0x1p256L.
12340         (__ieee754_y0l): Likewise.
12341         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
12342         (__ieee754_y1l): Likewise.
12343         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
12344         (j1_test): Likewise.
12345         (y0_test): Likewise.
12346         (y1_test): Likewise.
12348 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
12350         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
12351         variable.
12353 2013-03-15  Roland McGrath  <roland@hack.frob.com>
12355         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
12356         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
12357         zero since it's initialized to EXEC_PAGESIZE.
12359         * sysdeps/unix/sysv/linux/ldsodefs.h
12360         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
12361         * sysdeps/generic/ldsodefs.h: ... here.
12363 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
12365         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
12367         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
12368         math/test-snan.c.
12369         * math/test-snan.c: Renamed from
12370         sysdeps/powerpc/fpu/test-powerpc-snan.c.
12371         * math/Makefile (tests): Add test-snan.
12372         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
12373         test-powerpc-snan.
12375         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
12376         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
12377         functions.
12378         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
12379         __builtin_nan family of functions.
12380         * math/libm-test.inc (initialize): Initialize qnan_value with
12381         __builtin_nan family of functions.
12382         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
12383         Remove variables.
12384         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
12385         Remove functions.
12386         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
12387         storage class.  Initialize qNaN_var and sNaN_var with
12388         __builtin_nan and __builtin_nans families of functions,
12389         respectively.
12391         * math/libm-test.inc (acosh_test): Also test with qNaN input.
12392         (sqrt_test): Remove duplicate test with qNaN input.
12393         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
12394         (round_test, signbit_test, significand_test): Note missing +/-Inf
12395         as well as qNaN tests.
12397         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
12398         qNaN_var.  Fix a few strings, too.
12399         * math/libm-test.inc (nan_value): Rename to qnan_value.
12400         * math/gen-libm-test.pl (%beautify): Adjust to that.
12401         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
12402         * math/test-misc.c (main): Likewise.
12403         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
12404         to __qnan_bytes, and __qnan_union, respectively.
12405         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
12406         Likewise.
12407         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
12408         and lqnanval, respectively.
12409         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
12410         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
12411         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
12412         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
12414         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
12415         * math/test-misc.c (main) [__x86_64__]: Enable test for long
12416         doubles.
12418         * math/test-misc.c (main): Fix copy'n'pastos.
12419         * misc/tst-efgcvt.c (special): Likewise.
12421         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
12422         Remove declarations.
12424 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
12426         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
12427         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
12428         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
12429         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
12431 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12433         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
12434         macro to return vdso values correctly in IFUNC implementations.
12435         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
12436         Optimization by using IFUNC.
12438 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
12439             Richard Henderson  <rth@redhat.com>
12440             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
12442         * Makefile.in (bench): New target.
12443         * NEWS: Mention the benchmark framework.
12444         * Rules (bench): Likewise.
12445         (binaries-bench): Generate binaries for functions to
12446         benchmark.
12447         * benchtests/Makefile: New makefile for benchmark tests.
12448         * benchtests/bench-skeleton.c: New skeleton file for benchmark
12449         programs.
12450         * benchtests/exp-inputs: New input file for EXP function.
12451         * benchtests/pow-inputs: New input file for POW function.
12452         * scripts/bench.pl: New script to generate source files for
12453         benchmark programs.
12455 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
12457         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
12458         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
12459         computations on mantissa.  Use macros for rounding and
12460         division.
12461         (denorm): Likewise.
12462         (__dbl_mp): Likewise.
12463         (add_magnitudes): Likewise.
12464         (sub_magnitudes): Likewise.
12465         (__mul): Likewise.
12466         (__sqr): Likewise.
12467         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
12468         powers of two in terms of TWOPOW macro.
12469         (mp_no): Make type of mantissa as MANTISSA_T.
12470         [!RADIXI]: Define RADIXI.
12471         [!TWO52]: Define TWO52.
12472         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
12474         * manual/nptl.texi (cindex): Modify threads to pthreads.
12476 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
12478         * sysdeps/x86_64/preconfigure: Regenerated.
12480 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
12482         [BZ #14155]
12483         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
12484         0x1p28 and above.
12485         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
12486         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
12487         0x1p28 and above.
12488         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
12489         * math/libm-test.inc (j0_test): Do not allow one spurious
12490         underflow exception.
12491         (y1_test): Likewise.
12493 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
12495         * manual/Makefile (chapters): Add nptl.
12496         * manual/debug.texi (Debugging Support): Add link to Threads
12497         chapter.
12498         * manual/nptl.texi: New file.
12500         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
12502 2013-03-14  Petr Baudis  <pasky@ucw.cz>
12504         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
12505         for non-NULL pointer before the memory validity test. Pointed
12506         out by Holger Brunck <holger.brunck@keymile.com>.
12508 2013-03-13  Andreas Schwab  <schwab@suse.de>
12510         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
12511         instead of .os.
12513 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
12515         * timezone/zic.c: Update from tzcode 2013b.
12517 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
12519         * manual/install.texi (Configuring and compiling):
12520         Mention i686 and i586.
12521         * INSTALL: Regenerate.
12523 2013-03-12  Roland McGrath  <roland@hack.frob.com>
12525         * sysdeps/init_array/elf-init.c: New file.
12526         * csu/elf-init.c
12527         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
12528         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
12530         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
12531         __gmon_start__ as global, but as static with a .preinit_array pointer.
12532         * sysdeps/init_array/gmon-start.c: New file.  Use that.
12533         * sysdeps/init_array/crti.S: New file, empty except for comments.
12534         * sysdeps/init_array/crtn.S: Likewise.
12536 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
12538         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
12539         definining bcopy.
12540         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
12541         Remove Prefer_SSE_for_memop.
12542         * sysdeps/x86_64/multiarch/init-arch.h: Remove
12543         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
12544         HAS_PREFER_SSE_FOR_MEMOP.
12545         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
12546         memset-x86-64.
12547         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
12548         Remove bzero, memset ifunc support.
12549         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
12550         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
12551         * sysdeps/x86_64/multiarch/memset.S: Likewise.
12552         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
12554 2013-03-11  Andreas Schwab  <schwab@suse.de>
12556         [BZ #15234]
12557         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
12558         by SHLIB_COMPAT.
12559         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
12560         (GLIBC_2.16): Remove pthread_atfork.
12562 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
12564         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
12565         (ptestcases.h): Likewise.
12567 2013-03-08  Roland McGrath  <roland@hack.frob.com>
12569         * Makeconfig ($(common-objpfx)config.status): Depend on
12570         sysdeps/*/preconfigure{,.in} too.
12572 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
12574         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
12575         (__free_hook): Use void * instead of __malloc_ptr_t.
12576         (__malloc_hook): Likewise.
12577         (__realloc_hook): Likewise.
12578         (__memalign_hook): Likewise.
12579         (__after_morecore_hook): Likewise.
12580         * malloc/arena.c (save_malloc_hook): Likewise.
12581         (save_free_hook): Likewise.
12582         * malloc/hooks.c (malloc_hook_ini): Likewise.
12583         (realloc_hook_ini): Likewise.
12584         (memalign_hook_ini): Likewise.
12585         * malloc/malloc.c (malloc_hook_ini): Likewise.
12586         (realloc_hook_ini): Likewise.
12587         (memalign_hook_ini): Likewise.
12588         (__free_hook): Likewise.
12589         (__malloc_hook): Likewise.
12590         (__realloc_hook): Likewise.
12591         (__memalign_hook): Likewise.
12592         (__libc_malloc): Likewise.
12593         (__libc_free): Likewise.
12594         (__libc_realloc): Likewise.
12595         (__libc_memalign): Likewise.
12596         (__libc_valloc): Likewise.
12597         (__libc_pvalloc): Likewise.
12598         (__libc_calloc): Likewise.
12599         (__posix_memalign): Likewise.
12600         * malloc/morecore.c (__sbrk): Likewise.
12601         (__default_morecore): Likewise.
12603         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
12605         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
12606         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
12607         __malloc_ptrdiff_t.
12609         * malloc/malloc.h (__malloc_size_t): Remove macro.
12610         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
12611         __malloc_size_t.
12612         (old_memalign_hook): Likewise.
12613         (old_realloc_hook): Likewise.
12614         (struct hdr): Likewise.
12615         (flood): Likewise.
12616         (mallochook): Likewise.
12617         (memalignhook): Likewise.
12618         (reallochook): Likewise.
12619         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
12620         (tr_old_realloc_hook): Likewise.
12621         (tr_old_memalign_hook): Likewise.
12622         (tr_mallochook): Likewise.
12623         (tr_reallochook): Likewise.
12624         (tr_memalignhook): Likewise.
12626 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12628         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
12629         default_ldbl_pack and using as default implementation.
12630         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
12631         implementation.
12632         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
12633         redundant definition.
12634         (ldbl_insert_mantissa): Likewise.
12635         (ldbl_canonicalize): Likewise.
12636         (ldbl_nearbyint): Likewise.
12637         (ldbl_pack): Rename to ldbl_pack_ppc.
12638         (ldbl_unpack): Rename to ldbl_unpack_ppc.
12639         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
12640         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
12642 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
12644         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
12645         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
12646         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
12647         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
12648         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
12649         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
12650         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
12651         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
12653 2013-03-07  Andreas Jaeger  <aj@suse.de>
12655         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
12656         bits/mman-linux.h.
12658 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
12660         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
12661         Include mpa.h and declare __MPEXP.
12662         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
12663         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
12664         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
12665         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
12666         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
12667         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
12668         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
12670         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
12671         (__slowpow): Use long double EXPL and LOGL functions to
12672         compute POW.
12673         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
12674         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
12675         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
12676         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
12677         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
12678         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
12680         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
12681         intermediate variable to calculate exponent.
12682         (__sqr): Likewise.
12683         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
12684         Likewise.
12685         (__sqr): Likewise.
12687         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
12688         [!NO__SQR]: Define __sqr.
12689         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
12690         and NO__SQR.  Remove all code except __mul and __sqr.  Include
12691         sysdeps/ieee754/dbl-64/mpa.c.
12692         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
12694         [BZ #12723]
12695         * posix/Makefile (tests): Add tst-pathconf.
12696         * posix/tst-pathconf.c: New test case.
12697         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
12698         _PC_PIPE_BUF.
12699         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
12701 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
12703         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
12705 2013-03-06  Andreas Jaeger  <aj@suse.de>
12707         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
12708         definition via __MAP_ANONYMOUS.
12710         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
12711         it's not part of Linux headers.
12713         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
12714         (MAP_HUGE_MASK): Define.
12716         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
12717         Define.
12718         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
12719         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
12720         Define.
12721         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
12722         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
12723         Define.
12724         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
12725         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
12726         Define.
12727         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
12729         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
12730         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
12731         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
12732         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
12733         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
12734         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
12736         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
12737         Handle f2fs.
12739         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
12740         Handle f2fs and efivarfs.
12742         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
12743         f2fs.
12745         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
12746         (EFIVARFS_MAGIC): Add.
12747         (F2FS_LINK_MAX): Add.
12749 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
12751         * stdio-common/vfprintf.c: Replace __builtin_expect with
12752         __glibc_unlikely.
12754 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
12756         [BZ #13550]
12757         * sysdeps/generic/bp-sym.h: Remove file.
12758         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
12759         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
12760         <bp-sym.h> and <bp-asm.h>.
12761         (__longjmp): Don't use BP_SYM.
12762         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
12763         and <bp-asm.h>.
12764         (memcpy): Don't use BP_SYM.
12765         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
12766         <bp-sym.h> and <bp-asm.h>.
12767         (memcpy): Don't use BP_SYM.
12768         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
12769         <bp-asm.h>.
12770         (memcpy): Don't use BP_SYM.
12771         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
12772         <bp-asm.h>.
12773         (memset): Don't use BP_SYM.
12774         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
12775         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
12776         (__bzero): Don't use BP_SYM.
12777         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
12778         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
12779         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
12780         <bp-sym.h> and <bp-asm.h>.
12781         (memcmp): Don't use BP_SYM.  Remove comment about bounded
12782         pointers.
12783         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
12784         <bp-sym.h> and <bp-asm.h>.
12785         (memcpy): Don't use BP_SYM.
12786         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
12787         <bp-sym.h> and <bp-asm.h>.
12788         (memset): Don't use BP_SYM.
12789         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
12790         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
12791         (__bzero): Don't use BP_SYM.
12792         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
12793         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
12794         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
12795         <bp-sym.h> and <bp-asm.h>.
12796         (strncmp): Don't use BP_SYM.  Remove comment about bounded
12797         pointers.
12798         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
12799         <bp-sym.h> and <bp-asm.h>.
12800         (memcpy): Don't use BP_SYM.
12801         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
12802         <bp-sym.h> and <bp-asm.h>.
12803         (memset): Don't use BP_SYM.
12804         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
12805         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
12806         (__bzero): Don't use BP_SYM.
12807         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
12808         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
12809         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
12810         <bp-sym.h> and <bp-asm.h>.
12811         (__memchr): Don't use BP_SYM.
12812         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
12813         <bp-sym.h> and <bp-asm.h>.
12814         (memcmp): Don't use BP_SYM.  Remove comment about bounded
12815         pointers.
12816         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
12817         <bp-sym.h> and <bp-asm.h>.
12818         (memcpy): Don't use BP_SYM.
12819         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
12820         <bp-sym.h> and <bp-asm.h>.
12821         (__mempcpy): Don't use BP_SYM.
12822         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
12823         <bp-sym.h> and <bp-asm.h>.
12824         (__memrchr): Don't use BP_SYM.
12825         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
12826         <bp-sym.h> and <bp-asm.h>.
12827         (memset): Don't use BP_SYM.
12828         (__bzero): Likewise.
12829         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
12830         <bp-sym.h> and <bp-asm.h>.
12831         (__rawmemchr): Don't use BP_SYM.
12832         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
12833         <bp-sym.h> and <bp-asm.h>.
12834         (__STRCMP): Don't use BP_SYM.
12835         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
12836         <bp-sym.h> and <bp-asm.h>.
12837         (strchr): Don't use BP_SYM.
12838         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
12839         <bp-sym.h> and <bp-asm.h>.
12840         (__strchrnul): Don't use BP_SYM.
12841         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
12842         <bp-sym.h> and <bp-asm.h>.
12843         (strlen): Don't use BP_SYM.
12844         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
12845         <bp-sym.h> and <bp-asm.h>.
12846         (strncmp): Don't use BP_SYM.  Remove comment about bounded
12847         pointers.
12848         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
12849         <bp-sym.h> and <bp-asm.h>.
12850         (__strnlen): Don't use BP_SYM.
12851         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
12852         <bp-sym.h> and <bp-asm.h>.
12853         (__GI__setjmp): Don't use BP_SYM.
12854         (_setjmp): Likewise.
12855         (__sigsetjmp): Likewise.
12856         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
12857         (L(start_addresses)): Don't use BP_SYM.
12858         (_start): Likewise.
12859         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
12860         <bp-asm.h>.
12861         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
12862         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
12863         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
12864         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
12865         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
12866         <bp-asm.h>.
12867         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
12868         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
12869         about bounded pointers.
12870         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
12871         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
12872         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
12873         <bp-asm.h>.
12874         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
12875         about bounded pointers.  Remove GKM FIXME comments.
12876         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
12877         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
12878         <bp-asm.h>.
12879         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
12880         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
12881         Remove GKM FIXME comments.
12882         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
12883         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
12884         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
12885         <bp-asm.h>.
12886         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
12887         about bounded pointers.  Remove GKM FIXME comment.
12888         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
12889         and <bp-asm.h>.
12890         (strncmp): Don't use BP_SYM.  Remove comment about bounded
12891         pointers.
12892         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
12893         <bp-sym.h> and <bp-asm.h>.
12894         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
12895         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
12896         <bp-sym.h> and <bp-asm.h>.
12897         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
12898         comment.
12900 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
12902         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
12903         call free(NULL).
12905 2013-03-05  David S. Miller  <davem@davemloft.net>
12907         * po/es.po: Update from translation team.
12909 2013-03-05  Andreas Jaeger  <aj@suse.de>
12911         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
12912         <bits/mman-linux.h>.
12913         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
12914         is fine.
12915         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
12916         <bits/mman-linux.h> to end of file.
12917         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
12918         is fine.
12919         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
12920         <bits/mman-linux.h> to end of file.
12921         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
12922         is fine.
12923         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
12924         <bits/mman-linux.h> to end of file.
12926         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
12927         (MCL_CURRENT, MCL_FUTURE): Define here.
12929 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
12931         [BZ #15232]
12932         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
12933         attribute_hidden.
12934         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
12936 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
12938         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
12939         fourth parameter needed for rt_sigprocmask syscall.
12940         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
12941         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
12942         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
12943         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
12944         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
12945         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
12947 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
12949         [BZ #13550]
12950         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
12951         comment about bounded pointers.
12952         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
12953         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
12955 2013-03-04  Andreas Jaeger  <aj@suse.de>
12957         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
12958         common definitions.
12960         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
12961         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
12962         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
12963         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
12964         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
12965         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
12967 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12969         [BZ #15055]
12970         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
12971         __ieee754_sqrl instead of __sqrl.
12973 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
12975         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
12976         * sysdeps/powerpc/fpu_control.h: ... here.
12977         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
12978         * sysdeps/powerpc/bits/fenvinline.h: ... here.
12979         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
12980         * sysdeps/powerpc/bits/mathinline.h: ... here.
12982 2013-03-01  Roland McGrath  <roland@hack.frob.com>
12984         * elf/dl-hwcaps.c (_dl_important_hwcaps):
12985         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
12986         to just [NEED_DL_SYSINFO_DSO].
12987         * elf/dl-support.c: Likewise.
12988         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
12989         * elf/rtld.c (dl_main): Likewise.
12990         * elf/setup-vdso.h (setup_vdso): Likewise.
12991         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
12992         * sysdeps/unix/sysv/linux/dl-sysdep.c
12993         (_dl_discover_osversion): Likewise.
12995 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
12997         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
12998         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
13000 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
13002         * NEWS: Mention libm performance improvements and non-x86 PI
13003         futex support.
13005         * csu/libc-start.c (__pthread_initialize_minimal): Change
13006         function arguments.
13007         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
13009 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
13011         [BZ #13550]
13012         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
13013         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
13014         <bp-sym.h> and <bp-asm.h>.
13015         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
13016         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
13017         and <bp-asm.h>.
13018         (memcpy): Don't use BP_SYM.
13019         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
13020         <bp-asm.h>.
13021         (__mpn_add_n): Don't use BP_SYM.
13022         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
13023         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
13024         and <bp-asm.h>.
13025         (__mpn_addmul_1): Don't use BP_SYM.
13026         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
13027         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
13028         <bp-sym.h>.
13029         (_setjmp): Don't use BP_SYM.
13030         (__novmx_setjmp): Likewise.
13031         (__GI__setjmp): Likewise.
13032         (__vmx_setjmp): Likewise.
13033         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
13034         <bp-sym.h>.
13035         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
13036         (__bzero): Don't use BP_SYM.
13037         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
13038         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
13039         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
13040         <bp-sym.h> and <bp-asm.h>.
13041         (memcpy): Don't use BP_SYM.
13042         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
13043         <bp-sym.h> and <bp-asm.h>.
13044         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
13045         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
13046         <bp-sym.h> and <bp-asm.h>.
13047         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
13048         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
13049         <bp-asm.h>.
13050         (__mpn_lshift): Don't use BP_SYM.
13051         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
13052         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
13053         <bp-asm.h>.
13054         (memset): Don't use BP_SYM.
13055         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
13056         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
13057         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
13058         <bp-asm.h>.
13059         (__mpn_mul_1): Don't use BP_SYM.
13060         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
13061         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
13062         <bp-sym.h> and <bp-asm.h>.
13063         (memcmp): Don't use BP_SYM.
13064         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
13065         <bp-sym.h> and <bp-asm.h>.
13066         (memcpy): Don't use BP_SYM.
13067         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
13068         <bp-sym.h> and <bp-asm.h>.
13069         (memset): Don't use BP_SYM.
13070         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
13071         <bp-sym.h> and <bp-asm.h>.
13072         (strncmp): Don't use BP_SYM.
13073         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
13074         <bp-sym.h> and <bp-asm.h>.
13075         (memcpy): Don't use BP_SYM.
13076         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
13077         <bp-sym.h> and <bp-asm.h>.
13078         (memset): Don't use BP_SYM.
13079         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
13080         <bp-sym.h> and <bp-asm.h>.
13081         (__memchr): Don't use BP_SYM.
13082         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
13083         <bp-sym.h> and <bp-asm.h>.
13084         (memcmp): Don't use BP_SYM.
13085         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
13086         <bp-sym.h> and <bp-asm.h>.
13087         (memcpy): Don't use BP_SYM.
13088         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
13089         <bp-sym.h> and <bp-asm.h>.
13090         (__mempcpy): Don't use BP_SYM.
13091         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
13092         <bp-sym.h> and <bp-asm.h>.
13093         (__memrchr): Don't use BP_SYM.
13094         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
13095         <bp-sym.h> and <bp-asm.h>.
13096         (memset): Don't use BP_SYM.
13097         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
13098         <bp-sym.h> and <bp-asm.h>.
13099         (__rawmemchr): Don't use BP_SYM.
13100         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
13101         <bp-sym.h> and <bp-asm.h>.
13102         (__STRCMP): Don't use BP_SYM.
13103         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
13104         <bp-sym.h> and <bp-asm.h>.
13105         (strchr): Don't use BP_SYM.
13106         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
13107         <bp-sym.h> and <bp-asm.h>.
13108         (__strchrnul): Don't use BP_SYM.
13109         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
13110         <bp-sym.h> and <bp-asm.h>.
13111         (strlen): Don't use BP_SYM.
13112         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
13113         <bp-sym.h> and <bp-asm.h>.
13114         (strncmp): Don't use BP_SYM.
13115         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
13116         <bp-sym.h> and <bp-asm.h>.
13117         (__strnlen): Don't use BP_SYM.
13118         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
13119         <bp-asm.h>.
13120         (__mpn_rshift): Don't use BP_SYM.
13121         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
13122         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
13123         <bp-sym.h> and <bp-asm.h>.
13124         (__sigsetjmp): Don't use BP_SYM.
13125         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
13126         (L(start_addresses)): Don't use BP_SYM.
13127         (_start): Likewise.
13128         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
13129         <bp-asm.h>.
13130         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
13131         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
13132         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
13133         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
13134         <bp-asm.h>.
13135         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
13136         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
13137         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
13138         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
13139         <bp-asm.h>.
13140         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
13141         comments.
13142         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
13143         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
13144         <bp-asm.h>.
13145         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
13146         FIXME comments.
13147         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
13148         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
13149         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
13150         <bp-asm.h>.
13151         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
13152         comment.
13153         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
13154         and <bp-asm.h>.
13155         (strncmp): Don't use BP_SYM,
13156         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
13157         <bp-asm.h>.
13158         (__mpn_sub_n): Don't use BP_SYM.
13159         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
13160         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
13161         and <bp-asm.h>.
13162         (__mpn_submul_1): Don't use BP_SYM.
13163         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
13164         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
13165         <bp-sym.h> and <bp-asm.h>.
13166         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
13167         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
13168         <bp-sym.h> and <bp-asm.h>.
13169         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
13170         comment.
13172 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
13174         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
13175         Use ZK to minimize writes to Z.
13176         (sub_magnitudes): Simplify code a bit.
13177         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
13178         Use ZK to minimize writes to Z.
13179         (sub_magnitudes): Simplify code a bit.
13181 2013-02-27  Roland McGrath  <roland@hack.frob.com>
13183         * csu/gmon-start.c: Add special exception to license text.
13185 2013-02-27  Richard Henderson  <rth@redhat.com>
13187         * scripts/config.guess: Update from config.git.
13188         * scripts/config.sub: Likewise.
13190 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
13192         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
13194         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
13196         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
13198         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
13200         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
13202 2013-02-26  Roland McGrath  <roland@hack.frob.com>
13204         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
13205         [$(build-shared = yes].
13207 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
13209         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
13210         (__mul): Reduce iterations for calculating mantissa.
13212         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
13213         MPTWO.
13214         (__mpranred): Likewise.
13216         [BZ #15160]
13217         * malloc/memusagestat.c (main): Draw graphs for heap and stack
13218         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
13220 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
13222         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
13223         Define __attribute__.
13225 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
13227         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
13228         unused.
13229         * posix/regex_internal.h (__attribute): Remove.
13230         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
13231         (re_string_context_at): Likewise.
13232         (bitset_not): Use __attribute__ and mark function as possibly
13233         unused.
13234         (bitset_merge): Likewise.
13235         (bitset_mask): Likewise.
13236         (re_string_char_size_at): Likewise.
13237         (re_string_wchar_at): Likewise.
13238         (re_string_elem_size_at): Likewise.
13240 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
13242         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
13243         code.
13244         (cc32): Likewise.
13246         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
13247         (__acr): Likewise.
13248         (__cpy): Likewise.
13249         (norm): Likewise.
13250         (denorm): Likewise.
13251         (__dbl_mp): Likewise.
13252         (add_magnitudes): Likewise.
13253         (sub_magnitudes): Likewise.
13254         (__mul): Likewise.
13255         (__inv): Likewise.
13257         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
13258         style.
13260         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
13261         style.
13263         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
13264         code.
13266         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
13267         up changes with default code.
13268         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
13269         Likewise.
13271 2013-02-24  Allan McRae  <allan@archlinux.org>
13273         * manual/socket.texi (The Internet Namespace): Order menu items
13274         to match that in the file.
13276         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
13277         node listing of the info page menu.
13279 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
13281         [BZ #13550]
13282         * sysdeps/i386/bp-asm.h: Remove file.
13283         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
13284         (PARMS): Do not use macros from bp-asm.h.
13285         (S1): Likewise.
13286         (S2): Likewise.
13287         (SIZE): Likewise.
13288         (__mpn_add_n): Do not use BP_SYM
13289         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
13290         "bp-asm.h".
13291         (PARMS): Do not use macros from bp-asm.h.
13292         (S1): Likewise.
13293         (SIZE): Likewise.
13294         (__mpn_addmul_1): Do not use BP_SYM
13295         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
13296         "bp-asm.h".
13297         (PARMS): Do not use macros from bp-asm.h.
13298         (SIGMSK): Likewise.
13299         (_setjmp): Likewise.  Do not use BP_SYM.
13300         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
13301         "bp-asm.h".
13302         (PARMS): Do not use macros from bp-asm.h.
13303         (SIGMSK): Likewise.
13304         (setjmp): Likewise.  Do not use BP_SYM.
13305         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
13306         "bp-asm.h".
13307         (PARMS): Do not use macros from bp-asm.h.
13308         (__frexp): Do not use BP_SYM.
13309         (frexp): Likewise.
13310         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
13311         "bp-asm.h".
13312         (PARMS): Do not use macros from bp-asm.h.
13313         (__frexpf): Do not use BP_SYM.
13314         (frexpf): Likewise.
13315         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
13316         "bp-asm.h".
13317         (PARMS): Do not use macros from bp-asm.h.
13318         (__frexpl): Do not use BP_SYM.
13319         (frexpl): Likewise.
13320         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
13321         "bp-asm.h".
13322         (PARMS): Do not use macros from bp-asm.h.
13323         (__remquo): Do not use BP_SYM.
13324         (remquo): Likewise.
13325         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
13326         "bp-asm.h".
13327         (PARMS): Do not use macros from bp-asm.h.
13328         (__remquof): Do not use BP_SYM.
13329         (remquof): Likewise.
13330         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
13331         "bp-asm.h".
13332         (PARMS): Do not use macros from bp-asm.h.
13333         (__remquol): Do not use BP_SYM.
13334         (remquol): Likewise.
13335         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
13336         "bp-asm.h".
13337         (PARMS): Do not use macros from bp-asm.h.
13338         (DEST): Likewise.
13339         (SRC): Likewise.
13340         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
13341         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
13342         "bp-asm.h".
13343         (PARMS): Do not use macros from bp-asm.h.
13344         (strlen): Do not use BP_SYM.
13345         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
13346         "bp-asm.h".
13347         (PARMS): Do not use macros from bp-asm.h.
13348         (S1): Likewise.
13349         (S2): Likewise.
13350         (SIZE): Likewise.
13351         (__mpn_add_n): Do not use BP_SYM.
13352         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
13353         "bp-asm.h".
13354         (PARMS): Do not use macros from bp-asm.h.
13355         (S1): Likewise.
13356         (SIZE): Likewise.
13357         (__mpn_addmul_1): Do not use BP_SYM.
13358         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
13359         weak_alias.
13360         (bzero): Likewise.
13361         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
13362         "bp-asm.h".
13363         (PARMS): Do not use macros from bp-asm.h.
13364         (S): Likewise.
13365         (SIZE): Likewise.
13366         (__mpn_lshift): Do not use BP_SYM.
13367         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
13368         "bp-asm.h".
13369         (PARMS): Do not use macros from bp-asm.h.
13370         (DEST): Likewise.
13371         (SRC): Likewise.
13372         (LEN): Likewise.
13373         (memcpy): Likewise.  Do not use BP_SYM.
13374         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
13375         libc_hidden_def and weak_alias.
13376         (mempcpy): Do not use BP_SYM in weak_alias.
13377         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
13378         "bp-asm.h".
13379         (PARMS): Do not use macros from bp-asm.h.
13380         (DEST): Likewise.
13381         (LEN): Likewise.
13382         [!BZERO_P] (CHR): Likewise.
13383         (memset): Likewise.  Do not use BP_SYM.
13384         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
13385         "bp-asm.h".
13386         (PARMS): Do not use macros from bp-asm.h.
13387         (S1): Likewise.
13388         (SIZE): Likewise.
13389         (__mpn_mul_1): Do not use BP_SYM.
13390         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
13391         "bp-asm.h".
13392         (PARMS): Do not use macros from bp-asm.h.
13393         (S): Likewise.
13394         (SIZE): Likewise.
13395         (__mpn_rshift): Do not use BP_SYM.
13396         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
13397         "bp-asm.h".
13398         (PARMS): Do not use macros from bp-asm.h.
13399         (STR): Likewise.
13400         (CHR): Likewise.
13401         (strchr): Likewise.  Do not use BP_SYM.
13402         (index): Do not use BP_SYM in weak_alias.
13403         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
13404         "bp-asm.h".
13405         (PARMS): Do not use macros from bp-asm.h.
13406         (DEST): Likewise.
13407         (SRC): Likewise.
13408         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
13409         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
13410         "bp-asm.h".
13411         (PARMS): Do not use macros from bp-asm.h.
13412         (strlen): Do not use BP_SYM.
13413         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
13414         "bp-asm.h".
13415         (PARMS): Do not use macros from bp-asm.h.
13416         (S1): Likewise.
13417         (S2): Likewise.
13418         (SIZE): Likewise.
13419         (__mpn_sub_n): Do not use BP_SYM.
13420         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
13421         "bp-asm.h".
13422         (PARMS): Do not use macros from bp-asm.h.
13423         (S1): Likewise.
13424         (SIZE): Likewise.
13425         (__mpn_submul_1): Do not use BP_SYM.
13426         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
13427         "bp-asm.h".
13428         (PARMS): Do not use macros from bp-asm.h.
13429         (S1): Likewise.
13430         (S2): Likewise.
13431         (SIZE): Likewise.
13432         (__mpn_add_n): Do not use BP_SYM.
13433         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
13434         weak_alias.
13435         (bzero): Likewise.
13436         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
13437         "bp-asm.h".
13438         (PARMS): Do not use macros from bp-asm.h.
13439         (BLK2): Likewise.
13440         (LEN): Likewise.
13441         (memcmp): Do not use BP_SYM.
13442         (bcmp): Do not use BP_SYM in weak_alias.
13443         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
13444         "bp-asm.h".
13445         (PARMS): Do not use macros from bp-asm.h.
13446         (DEST): Likewise.
13447         (SRC): Likewise.
13448         (LEN): Likewise.
13449         (memcpy): Likewise.  Do not use BP_SYM.
13450         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
13451         "bp-asm.h".
13452         (PARMS): Do not use macros from bp-asm.h.
13453         (DEST): Likewise.
13454         (SRC): Likewise.
13455         (LEN): Likewise.
13456         (memmove): Likewise.  Do not use BP_SYM.
13457         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
13458         "bp-asm.h".
13459         (PARMS): Do not use macros from bp-asm.h.
13460         (DEST): Likewise.
13461         (SRC): Likewise.
13462         (LEN): Likewise.
13463         (__mempcpy): Likewise.  Do not use BP_SYM.
13464         (mempcpy): Do not use BP_SYM in weak_alias.
13465         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
13466         "bp-asm.h".
13467         (PARMS): Do not use macros from bp-asm.h.
13468         (DEST): Likewise.
13469         (LEN): Likewise.
13470         [!BZERO_P] (CHR): Likewise.
13471         (memset): Likewise.  Do not use BP_SYM.
13472         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
13473         "bp-asm.h".
13474         (PARMS): Do not use macros from bp-asm.h.
13475         (STR2): Likewise.
13476         (strcmp): Do not use BP_SYM.
13477         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
13478         "bp-asm.h".
13479         (PARMS): Do not use macros from bp-asm.h.
13480         (STR): Likewise.
13481         (DELIM): Likewise.
13482         [USE_AS_STRTOK_R] (SAVE): Likewise.
13483         (FUNCTION): Likewise.  Do not use BP_SYM.
13484         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
13485         aliases.
13486         (strtok_r): Likewise.
13487         (__GI___strtok_r): Likewise.
13488         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
13489         (PARMS): Do not use macros from bp-asm.h.
13490         (S): Likewise.
13491         (SIZE): Likewise.
13492         (__mpn_lshift): Do not use BP_SYM.
13493         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
13494         (PARMS): Do not use macros from bp-asm.h.
13495         (STR): Likewise.
13496         (CHR): Likewise.
13497         (__memchr): Do not use BP_SYM.
13498         (memchr): Do not use BP_SYM in weak_alias.
13499         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
13500         (PARMS): Do not use macros from bp-asm.h.
13501         (BLK2): Likewise.
13502         (LEN): Likewise.
13503         (memcmp): Do not use BP_SYM.
13504         (bcmp): Do not use BP_SYM in weak_alias.
13505         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
13506         (PARMS): Do not use macros from bp-asm.h.
13507         (S1): Likewise.
13508         (SIZE): Likewise.
13509         (__mpn_mul_1): Do not use BP_SYM.
13510         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
13511         "bp-asm.h".
13512         (PARMS): Do not use macros from bp-asm.h.
13513         (STR): Likewise.
13514         (CHR): Likewise.
13515         (__rawmemchr): Do not use BP_SYM.
13516         (rawmemchr): Do not use BP_SYM in weak_alias.
13517         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
13518         (PARMS): Do not use macros from bp-asm.h.
13519         (S): Likewise.
13520         (SIZE): Likewise.
13521         (__mpn_rshift): Do not use BP_SYM.
13522         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
13523         (PARMS): Do not use macros from bp-asm.h.
13524         (SIGMSK): Likewise.
13525         (__sigsetjmp): Likewise.  Do not use BP_SYM.
13526         * sysdeps/i386/start.S: Do not include "bp-sym.h".
13527         (_start): Do not use BP_SYM.
13528         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
13529         (PARMS): Do not use macros from bp-asm.h.
13530         (DEST): Likewise.
13531         (SRC): Likewise.
13532         (__stpcpy): Likewise.  Do not use BP_SYM.
13533         (stpcpy): Do not use BP_SYM in weak_alias.
13534         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
13535         "bp-asm.h".
13536         (PARMS): Do not use macros from bp-asm.h.
13537         (DEST): Likewise.
13538         (SRC): Likewise.
13539         (LEN): Likewise.
13540         (__stpncpy): Likewise.  Do not use BP_SYM.
13541         (stpncpy): Do not use BP_SYM in weak_alias.
13542         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
13543         (PARMS): Do not use macros from bp-asm.h.
13544         (STR): Likewise.
13545         (CHR): Likewise.
13546         (strchr): Likewise.  Do not use BP_SYM.
13547         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
13548         "bp-asm.h".
13549         (PARMS): Do not use macros from bp-asm.h.
13550         (STR): Likewise.
13551         (CHR): Likewise.
13552         (__strchrnul): Likewise.  Do not use BP_SYM.
13553         (strchrnul): Do not use BP_SYM in weak_alias.
13554         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
13555         "bp-asm.h".
13556         (PARMS): Do not use macros from bp-asm.h.
13557         (STOP): Likewise.
13558         (strcspn): Do not use BP_SYM.
13559         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
13560         "bp-asm.h".
13561         (PARMS): Do not use macros from bp-asm.h.
13562         (STR): Likewise.
13563         (STOP): Likewise.
13564         (strpbrk): Likewise.  Do not use BP_SYM.
13565         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
13566         "bp-asm.h".
13567         (PARMS): Do not use macros from bp-asm.h.
13568         (STR): Likewise.
13569         (CHR): Likewise.
13570         (strrchr): Likewise.  Do not use BP_SYM.
13571         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
13572         (PARMS): Do not use macros from bp-asm.h.
13573         (SKIP): Likewise.
13574         (strspn): Do not use BP_SYM.
13575         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
13576         (PARMS): Do not use macros from bp-asm.h.
13577         (STR): Likewise.
13578         (DELIM): Likewise.
13579         (SAVE): Likewise.
13580         (FUNCTION): Likewise.  Do not use BP_SYM.
13581         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
13582         aliases.
13583         (strtok_r): Likewise.
13584         (__GI___strtok_r): Likewise.
13585         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
13586         (PARMS): Do not use macros from bp-asm.h.
13587         (S1): Likewise.
13588         (S2): Likewise.
13589         (SIZE): Likewise.
13590         (__mpn_sub_n): Do not use BP_SYM.
13591         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
13592         "bp-asm.h".
13593         (PARMS): Do not use macros from bp-asm.h.
13594         (S1): Likewise.
13595         (SIZE): Likewise.
13596         (__mpn_submul_1): Do not use BP_SYM.
13597         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
13598         <bp-sym.h>.
13599         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
13600         and <bp-asm.h>.
13601         (PARMS): Do not use macros from bp-asm.h.
13602         (FLAGS): Likewise.
13603         (PTID): Likewise.
13604         (TLS): Likewise.
13605         (CTID): Likewise.
13606         (__clone): Do not use BP_SYM.
13607         (clone): Do not use BP_SYM in weak_alias.
13608         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
13609         and <bp-asm.h>.
13610         (PARMS): Do not use macros from bp-asm.h.
13611         (LEN): Likewise.
13612         (__mmap64): Do not use BP_SYM.
13613         (mmap64): Do not use BP_SYM in weak_alias.
13614         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
13615         <bp-sym.h> and <bp-asm.h>.
13616         (PARMS): Do not use macros from bp-asm.h.
13617         (__posix_fadvise64_l64): Do not use BP_SYM.
13618         * sysdeps/unix/sysv/linux/i386/semtimedop.S
13619         (PARMS): Do not use macros from bp-asm.h.
13620         (NSOPS): Likewise.
13621         (semtimedop): Do not use BP_SYM.
13622         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
13623         and <bp-asm.h>.
13625 2013-02-21  Allan McRae  <allan@archlinux.org>
13627         * manual/message.texi (Charset conversion in gettext):
13628         Move @end statement to beginning of line.
13630 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
13632         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
13633         static.
13634         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
13635         Likewise.
13637         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
13638         (denorm): Likewise.
13639         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
13640         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
13642 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
13644         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
13645         tail-call to the resolved function if pltexit isn't needed.
13647 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
13649         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
13650         or Y being zero as being unlikely.
13651         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
13652         Likewise.
13654 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
13656         * manual/nss.texi (System Databases and Name Service Switch):
13657         Remove frobnicate @pxref.
13659 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
13661         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
13662         __attribute__ ((unused)) to __attribute__ ((__unused__)).
13664 2013-02-20  Petr Machata  <pmachata@redhat.com>
13666         * elf/elf.h (R_ARM_TARGET1): New macro.
13667         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
13668         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
13669         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
13670         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
13671         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
13672         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
13673         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
13674         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
13675         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
13676         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
13677         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
13678         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
13679         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
13680         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
13681         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
13682         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
13683         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
13684         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
13685         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
13686         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
13687         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
13688         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
13689         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
13690         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
13691         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
13692         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
13693         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
13694         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
13695         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
13696         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
13697         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
13698         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
13699         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
13700         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
13701         (R_ARM_THM_GOT_BREL12): Likewise.
13702         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
13703         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
13704         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
13705         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
13706         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
13707         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
13708         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
13709         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
13710         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
13712 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
13714         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
13715         __attribute_used__ to __attribute__ ((unused)).
13717 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
13719         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
13720         powerpc mpa.c.
13721         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
13722         comment formatting.
13723         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
13725 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
13727         [BZ #13550]
13728         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
13729         Remove macro.
13730         (ENTER): Remove both macro definitions.
13731         (LEAVE): Likewise.
13732         (CHECK_BOUNDS_LOW): Likewise.
13733         (CHECK_BOUNDS_HIGH): Likewise.
13734         (CHECK_BOUNDS_BOTH): Likewise.
13735         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
13736         (RETURN_BOUNDED_POINTER): Likewise.
13737         (RETURN_NULL_BOUNDED_POINTER): Likewise.
13738         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
13739         (POP_ERRNO_LOCATION_RETURN): Likewise.
13740         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
13741         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
13742         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
13743         macros.
13744         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
13745         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
13746         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
13747         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
13748         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
13749         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
13750         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
13751         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
13752         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
13753         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
13754         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
13755         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
13756         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
13757         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
13758         removed macros.
13759         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
13760         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
13761         macros.
13762         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
13763         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
13764         * sysdeps/i386/i586/memset.S (memset): Likewise.
13765         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
13766         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
13767         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
13768         macros.
13769         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
13770         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
13771         Change uses of L(2) to L(out).
13772         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
13773         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
13774         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
13775         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
13776         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
13777         removed macros.
13778         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
13779         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
13780         macros.
13781         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
13782         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
13783         (RETURN): Do not use macro LEAVE.
13784         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
13785         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
13786         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
13787         * sysdeps/i386/i686/memset.S (memset): Likewise.
13788         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
13789         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
13790         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
13791         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
13792         Likewise.
13793         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
13794         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
13795         L(1_2) and L(1_3) into L(1).
13796         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
13797         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
13798         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
13799         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
13800         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
13801         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
13802         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
13803         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
13804         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
13805         macros.
13806         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
13807         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
13808         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
13809         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
13810         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
13811         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
13812         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
13813         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
13814         * sysdeps/i386/strcspn.S (strcspn): Likewise.
13815         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
13816         * sysdeps/i386/strrchr.S (strrchr): Likewise.
13817         * sysdeps/i386/strspn.S (strspn): Likewise.
13818         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
13819         conditional code.
13820         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
13821         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
13822         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
13823         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
13824         L(1_3) into L(1_1).
13825         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
13826         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
13827         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
13828         macros.
13829         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
13831 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
13833         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
13834         macro.
13836 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
13838         * math/atest-exp.c (exp_mpn): Remove ROUND.
13839         * math/atest-exp2.c (exp_mpn): Likewise.
13840         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
13842         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
13843         * stdlib/tst-tls-atexit-lib.c: Likewise.
13844         * stdlib/tst-tls-atexit.c: Likewise.
13846 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
13848         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
13849         and __attribute_alloc_size__.
13851 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
13853         * include/programs/xmalloc.h: Change __attribute_alloc_size to
13854         __attribute_alloc_size__.
13855         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
13856         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
13858 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
13860         * include/programs/xmalloc.h: New file.
13861         * catgets/gencat.c: Include it.
13862         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
13863         * elf/pldd.c: Likewise.
13864         * iconv/iconv_charmap.c: Likewise.
13865         * iconv/iconvconfig.c: Likewise.
13866         * iconv/strtab.c: Likewise.
13867         * locale/programs/locale.c: Likewise.
13868         * locale/programs/localedef.h: Likewise.
13869         * locale/programs/simple-hash.c: Likewise.
13870         * nscd/nscd.h: Likewise.
13871         * nss/makedb.c: Likewise.
13872         * sysdeps/generic/ldconfig.h: Likewise.
13874 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
13876         * Versions.def: Add GLIBC_2.18.
13877         * include/link.h (struct link_map): New member l_tls_dtor_count.
13878         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
13879         (__call_tls_dtors): Likewise.
13880         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
13881         __cxa_thread_atexit_impl.
13882         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
13883         Likewise.
13884         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
13885         Likewise.
13886         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
13887         Likewise.
13888         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
13889         Likewise.
13890         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
13891         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
13892         Likewise.
13893         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
13894         Likewise.
13895         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
13896         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
13897         Likewise.
13898         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
13899         (tests): Add test case tst-tls-atexit.
13900         (modules-names): Add shared library for tst-tls-atexit.
13901         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
13902         (GLIBC_PRIVATE): Add __call_tls_dtors.
13903         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
13904         for libstdc++.
13905         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
13906         * stdlib/tst-tls-atexit.c: New test case.
13907         * stdlib/tst-tls-atexit-lib.c: New test case.
13909         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
13911         * elf/Versions (ld): Add _dl_find_dso_for_object.
13912         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
13913         * elf/dl-open.c (_dl_find_dso_for_object): New function.
13914         (dl_open_worker): Use _dl_find_dso_for_object.
13915         * elf/dl-sym.c (do_sym): Likewise.
13916         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
13918 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
13920         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
13921         Syntactic changes only.
13922         (_dl_runtime_profile): Do a tail-call to the resolved function.
13924 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
13926         [BZ #13550]
13927         * sysdeps/x86_64/bp-asm.h: Remove file.
13928         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
13929         <bp-sym.h> and <bp-asm.h>.
13930         (__clone): Do not use BP_SYM.
13931         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
13932         <bp-sym.h> and <bp-asm.h>.
13933         * sysdeps/unix/x86_64/sysdep.S: Likewise.
13934         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
13935         "bp-asm.h".
13936         (_setjmp): Do not use BP_SYM.
13937         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
13938         "bp-asm.h".
13939         (setjmp): Do not use BP_SYM.
13940         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
13941         libc_hidden_def.
13942         (mempcpy): Do not use BP_SYM in weak_alias.
13943         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
13944         "bp-asm.h".
13945         (strchr): Do not use BP_SYM.
13946         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
13947         "bp-asm.h".
13948         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
13949         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
13950         (_start): Do not use BP_SYM.
13951         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
13952         "bp-asm.h".
13953         (strcat): Do not use BP_SYM.
13954         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
13955         "bp-asm.h".
13956         (STRCMP): Do not use BP_SYM.
13957         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
13958         "bp-asm.h".
13959         (STRCPY): Do not use BP_SYM.
13960         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
13961         "bp-asm.h".
13962         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
13963         "bp-asm.h".
13964         (FUNCTION): Do not use BP_SYM.
13965         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
13966         weak_alias.
13967         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
13969 2013-02-17  Andreas Jaeger  <aj@suse.de>
13971         * time/Versions: Sort entries.
13972         * string/Versions: Likewise.
13973         * resolv/Versions: Likewise.
13974         * posix/Versions: Likewise.
13975         * iconv/Versions: Likewise.
13976         * elf/Versions: Likewise.
13977         * wcsmbs/Versions: Likewise.
13979 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
13981         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
13982         loop termination condition.
13984         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
13985         variable to calculate EZ.
13986         (__sqr): Likewise.
13988         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
13989         the lower precision input.
13991 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
13993         [BZ #13550]
13994         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
13995         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
13996         (run-via-rtld-prefix): Do not handle %-bp tests.
13997         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
13998         (all-object-suffixes): Remove .ob.
13999         (bppfx): Remove variable.
14000         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
14001         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
14002         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
14003         [$(build-bounded) = yes] (libtype.ob): Likewise.
14004         * Makerules (elide-routines.ob): Remove variable.
14005         (do-tests-clean): Do not handle *-bp.out.
14006         (common-mostlyclean): Do not handle *-bp and *-bp.out.
14007         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
14008         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
14009         (tests): Do not include $(tests-bp.out).
14010         (xtests): Do not include $(xtests-bp.out).
14011         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
14012         [$(build-bounded) = yes] ($(addprefix
14013         $(objpfx),$(binaries-bounded))): Remove rule.
14014         ($(objpfx)%-bp.out): Remove rule.
14015         * config.make.in (build-bounded): Remove variable.
14016         * crypt/Makefile [$(build-bounded) = yes]
14017         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
14018         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
14019         append to variable.
14020         [$(build-bounded) = yes] (install-lib): Likewise.
14021         [$(build-bounded) = yes] (generated): Likewise.
14022         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
14023         Remove rule.
14024         * intl/Makefile [$(build-bounded) = yes]
14025         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
14026         * math/Makefile [$(build-bounded) = yes]
14027         ($(tests:%=$(objpfx)%-bp): Likewise.
14028         * misc/Makefile [$(build-bounded) = yes]
14029         ($(objpfx)tst-tsearch-bp): Likewise.
14030         * nptl/Makeconfig (bounded-thread-library): Remove variable.
14031         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
14032         Remove dependency.
14033         * string/Makefile (o-objects.ob): Remove variable.
14034         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
14035         (CFLAGS-.ob): Remove variable.
14036         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
14037         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
14038         both definitions of variable.
14039         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
14040         (ASFLAGS-.ob): Remove variable.
14042 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
14044         [BZ #13550]
14045         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
14046         Remove __BOUNDED_POINTERS__ from condition.
14047         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
14048         * string/bits/string2.h [!__NO_STRING_INLINES &&
14049         !__BOUNDED_POINTERS__]: Likewise.
14050         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
14051         Likewise.
14052         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
14053         Remove conditional code.
14054         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
14055         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
14056         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
14057         condition.
14059         [BZ #13550]
14060         * csu/libc-start.c: Do not include <bp-sym.h>.
14061         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
14062         * elf/dl-open.c: Do not include <bp-sym.h>.
14063         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
14064         * math/fegetenv.c: Do not include <bp-sym.h>.
14065         (fegetenv): Do not use BP_SYM in versioned symbols.
14066         * nptl/sysdeps/pthread/bits/libc-lockP.h
14067         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
14068         <bp-sym.h>.
14069         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14070         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
14071         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14072         (__pthread_mutex_destroy): Likewise.
14073         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14074         (__pthread_mutex_lock): Likewise.
14075         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14076         (__pthread_mutex_trylock): Likewise.
14077         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14078         (__pthread_mutex_unlock): Likewise.
14079         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14080         (__pthread_mutexattr_init): Likewise.
14081         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14082         (__pthread_mutexattr_destroy): Likewise.
14083         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14084         (__pthread_mutexattr_settype): Likewise.
14085         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14086         (__pthread_rwlock_init): Likewise.
14087         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14088         (__pthread_rwlock_destroy): Likewise.
14089         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14090         (__pthread_rwlock_rdlock): Likewise.
14091         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14092         (__pthread_rwlock_tryrdlock): Likewise.
14093         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14094         (__pthread_rwlock_wrlock): Likewise.
14095         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14096         (__pthread_rwlock_trywrlock): Likewise.
14097         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14098         (__pthread_rwlock_unlock): Likewise.
14099         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14100         (__pthread_key_create): Likewise.
14101         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14102         (__pthread_setspecific): Likewise.
14103         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14104         (__pthread_getspecific): Likewise.
14105         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
14106         Likewise.
14107         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14108         (_pthread_cleanup_push_defer): Likewise.
14109         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14110         (_pthread_cleanup_pop_restore): Likewise.
14111         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14112         (pthread_setcancelstate): Likewise.
14113         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
14114         <bp-sym.h>.
14115         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
14116         (memchr): Do not use BP_SYM in weak_alias.
14117         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
14118         (fegetenv): Do not use BP_SYM in versioned symbols.
14119         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
14120         (fesetenv): Do not use BP_SYM in versioned symbols.
14121         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
14122         (feupdateenv): Do not use BP_SYM in versioned symbols.
14123         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
14124         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
14125         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
14126         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
14127         (open64): Do not use BP_SYM in weak_alias.
14128         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
14129         (fegetenv): Do not use BP_SYM in versioned symbols.
14130         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
14131         (fesetenv): Do not use BP_SYM in versioned symbols.
14132         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
14133         (feupdateenv): Do not use BP_SYM in versioned symbols.
14134         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
14135         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
14136         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
14137         (feraiseexcept): Do not use BP_SYM in versioned symbols.
14138         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
14139         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
14140         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
14141         <bp-sym.h>.
14142         (__libc_start_main): Do not use BP_SYM.
14144 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
14146         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
14147         redundant return line.
14148         (norm): Likewise.
14149         (denorm): Likewise.
14150         (dbl_mp): Likewise.
14151         (sub_magnitudes): Likewise.
14152         (__add): Likewise.
14153         (__sub): Likewise.
14154         (__mul): Likewise.
14155         (__inv): Likewise.
14156         (__dvd): Likewise.
14157         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
14158         (norm): Likewise.
14159         (denorm): Likewise.
14160         (dbl_mp): Likewise.
14161         (sub_magnitudes): Likewise.
14162         (__add): Likewise.
14163         (__sub): Likewise.
14164         (__mul): Likewise.
14165         (__inv): Likewise.
14166         (__dvd): Likewise.
14168         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
14169         instead of __mul.
14170         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
14171         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
14172         (cc32): Likewise.
14174         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
14175         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
14176         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
14177         of __mul for squares.
14178         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
14179         function
14180         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
14181         Likewise.
14182         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
14183         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
14185 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
14187         [BZ #13550]
14188         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
14189         code.
14190         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
14191         prototype or function definition.  Rename ubp_* variables and
14192         parameters.  Remove argv definitions conditional on
14193         [__BOUNDED_POINTERS__].
14194         * debug/backtrace.c (__backtrace): Do not use __unbounded.
14195         * elf/dl-runtime.c (_dl_fixup): Likewise.
14196         * include/set-hooks.h (RUN_HOOK): Likewise.
14197         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
14198         definition.
14199         * string/strcpy.c (strcpy): Do not use __unbounded.
14200         * sysdeps/generic/frame.h (struct layout): Likewise.
14201         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
14202         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
14203         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
14204         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
14205         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
14206         (__backtrace): Likewise.
14207         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
14208         use __ptrvalue.
14209         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
14210         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
14211         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
14212         Likewise.
14213         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
14214         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
14215         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
14216         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
14217         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
14218         Do not use __unbounded.
14219         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
14220         Rename __unboundedrlimits parameter to rlimits in prototype.
14221         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
14222         Do not use __unbounded.
14223         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
14224         not use __ptrvalue.
14225         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
14226         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
14227         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
14228         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
14229         __ptrvalue or __unbounded.
14230         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
14231         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
14232         use __unbounded.
14233         (__new_msgctl): Do not use __ptrvalue.
14234         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
14235         __unbounded.
14236         (__libc_msgrcv): Do not use __ptrvalue.
14237         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
14238         startup_info): Do not use __unbounded.
14239         (__libc_start_main): Likewise.  Rename ubp_* variables and
14240         parameters.  Remove argv definitions conditional on
14241         [__BOUNDED_POINTERS__].
14242         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
14243         __ptrvalue.
14244         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
14245         use __unbounded.
14246         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
14247         or __ptrvalue.
14248         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
14249         use __unbounded.
14250         (__new_shmctl): Do not use __ptrvalue.
14251         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
14252         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
14253         Likewise.
14254         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
14255         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
14256         (__libc_sigaction): Likewise.
14257         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
14258         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
14259         Likewise.
14260         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
14262 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
14264         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
14266         * string/mempcpy.c: Implement by calling memcpy.
14268 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
14270         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
14272         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
14273         evaluation.
14275         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
14276         values in the mantissa.
14278         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
14279         minimize writes to Z.
14280         (sub_magnitudes): Simplify code a bit.
14282 2013-02-12  Roland McGrath  <roland@hack.frob.com>
14284         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
14285         from the message.  The linker prefixes all warnings with that already.
14287 2013-02-12  Andreas Schwab  <schwab@suse.de>
14289         [BZ #15078]
14290         * posix/regexec.c (extend_buffers): Add parameter min_len.
14291         (check_matching): Pass minimum needed length.
14292         (clean_state_log_if_needed): Likewise.
14293         (get_subexp): Likewise.
14294         * posix/Makefile (tests): Add bug-regex34.
14295         (bug-regex34-ENV): Define.
14296         * posix/bug-regex34.c: New file.
14298         [BZ #11561]
14299         * posix/regcomp.c (parse_bracket_exp): When looking up collating
14300         elements compare against the byte sequence of it, not its name.
14301         * posix/Makefile (tests): Add bug-regex35.
14302         (bug-regex35-ENV): Define.
14303         * posix/bug-regex35.c: New file.
14305 2013-02-11  Tom de Vries  <tom@codesourcery.com>
14307         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
14308         comment.
14309         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
14310         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
14311         (CHECK_EOL): Add undef.
14313 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
14315         * bits/stdlib-bsearch.h: New file.
14316         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
14317         * stdlib/stdlib.h: Likewise.
14319 2013-02-11  Roland McGrath  <roland@hack.frob.com>
14321         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
14322         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
14323         declaration.
14324         * manual/search.texi (Array Search Function): Add missing const in
14325         lfind prototype.
14326         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
14327         declaration to use rlim_t.
14328         (Basic Scheduling Functions): Remove erroneous const from
14329         sched_getparam prototype.  Remove erroneous * from
14330         sched_get_priority_max and sched_get_priority_min prototypes.
14331         (Resource Usage): Fix summary @comment on vtimes to refer to
14332         sys/vtimes.h rather than vtimes.h.
14333         Add missing *s in vtimes prototype.
14334         (Limits on Resources): Fix ulimit prototype to return long int.
14335         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
14336         prototypes to use long int rather than double.
14337         (BSD Random): Fix initstate and setstate to use char *, not void *.
14338         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
14339         prototype to make second argument 'struct aiocb64 *const[]'.
14340         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
14341         (Status of AIO Operations): Remove erroneous const in aio_return and
14342         aio_return64 prototypes.
14343         (Synchronizing I/O): Fix sync prototype to return void.
14344         * manual/startup.texi (Suboptions): Remove an erroneous const in
14345         getsubopt prototype.
14346         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
14347         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
14348         use size_t rather than int.
14349         (Scanning All Users): Likewise for getpwent_r.
14350         (Setting Groups): Add missing const to setgroups prototype.
14351         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
14352         * manual/socket.texi (Host Names): Fix gethostbyaddr and
14353         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
14354         'const void *' rather than 'const char *'.
14355         (Host Address Functions): Likewise for inet_ntop.
14356         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
14357         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
14358         ssize_t for return value.
14359         (Sending Data): Likewise for send, sendto, sendmsg.
14360         (Socket Option Functions): Add a missing const in setsockopt prototype.
14361         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
14362         use wchar_t for the argument.
14363         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
14364         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
14365         take no arguments.
14366         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
14367         double/float/long double for second argument.
14368         Fix return types of significand, significandf, significandl.
14369         * manual/filesys.texi (Setting Permissions): Use mode_t for second
14370         argument in fchmod prototype.
14371         (File Owner): Use uid_t and gid_t in fchown prototype.
14372         (File Times): Add const to utimes, futimes, and lutimes prototypes.
14373         (Making Special Files): Use mode_t and dev_t in mknod prototype.
14374         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
14375         use 'const struct dirent **' as argument types to CMP function pointer
14376         argument.
14377         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
14378         (File Times): Fix summary magic @comment for struct utimbuf and utime
14379         to refer to utime.h, not time.h.
14380         * manual/string.texi (Argz Functions): Add missing const in
14381         argz_extract and argz_next prototypes.
14382         (Finding Tokens in a String): Likewise for basename.
14383         (String/Array Comparison): Fix typo in wcscasecmp prototype.
14384         (Copying and Concatenation): Fix typo in wmemmove prototype.
14385         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
14386         (Signal Stack): Remove erroneous const in sigstack prototype.
14387         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
14388         prototype.
14389         (Simple Calendar Time): Likewise for stime.
14390         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
14391         prototype.
14392         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
14393         say sys/sysctl.h instead.
14394         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
14395         and vsyslog prototypes.
14397 2013-02-11  Tom de Vries  <tom@codesourcery.com>
14399         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
14400         Remove.
14402 2013-02-11  Roland McGrath  <roland@hack.frob.com>
14404         * misc/sys/mman.h: Fix typo in mremap comment.
14406 2013-02-08  Roland McGrath  <roland@hack.frob.com>
14408         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
14409         the '\0' terminator.
14411 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
14413         [BZ #13550]
14414         * debug/segfault.c: Don't include <bp-checks.h>.
14415         * sysdeps/generic/bp-checks.h: Remove file.
14416         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
14417         (__GETDENTS): Don't use CHECK_N.
14418         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
14419         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
14420         (__getgroups): Don't use CHECK_N.
14421         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
14422         (setgroups): Don't use CHECK_N.
14423         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
14424         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
14425         (__libc_msgrcv): Don't use CHECK_N.
14426         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
14427         (__libc_msgsnd): Don't use CHECK_N.
14428         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
14429         <bp-checks.h>.
14430         (__libc_pread): Don't use CHECK_N.
14431         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
14432         include <bp-checks.h>.
14433         (__libc_pread64): Don't use CHECK_N.
14434         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
14435         include <bp-checks.h>.
14436         (__libc_pwrite): Don't use CHECK_N.
14437         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
14438         include <bp-checks.h>.
14439         (__libc_pwrite64): Don't use CHECK_N.
14440         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
14441         <bp-checks.h>.
14442         (__libc_pread): Don't use CHECK_N.
14443         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
14444         include <bp-checks.h>.
14445         (__libc_pread64): Don't use CHECK_N.
14446         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
14447         include <bp-checks.h>.
14448         (__libc_pwrite): Don't use CHECK_N.
14449         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
14450         include <bp-checks.h>.
14451         (__libc_pwrite64): Don't use CHECK_N.
14452         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
14453         (do_pread): Don't use CHECK_N.
14454         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
14455         (do_pread64): Don't use CHECK_N.
14456         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
14457         (do_pwrite): Don't use CHECK_N.
14458         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
14459         (do_pwrite64): Don't use CHECK_N.
14460         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
14461         (__libc_readv): Don't use CHECK_N.
14462         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
14463         (semop): Don't use CHECK_N.
14464         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
14465         <bp-checks.h>.
14466         (semtimedop): Don't use CHECK_N.
14467         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
14468         (__libc_pread): Don't use CHECK_N.
14469         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
14470         <bp-checks.h>.
14471         (__libc_pread64): Don't use CHECK_N.
14472         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
14473         <bp-checks.h>.
14474         (__libc_pwrite): Don't use CHECK_N.
14475         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
14476         <bp-checks.h>.
14477         (__libc_pwrite64): Don't use CHECK_N.
14478         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
14479         <bp-checks.h>.
14480         (__libc_msgrcv): Don't use CHECK_N.
14481         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
14482         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
14483         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
14484         (__libc_writev): Don't use CHECK_N.
14486 2013-02-08  Roland McGrath  <roland@hack.frob.com>
14488         * string/strcpy.c: Removed unused variable.
14490         * Makeconfig (+sysdep-includes): Define with := rather than =.
14491         Use an existing include/ subdir of each sysdeps dir before it.
14493 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
14495         * nscd/connection.c (register_traced_file): Comment function.
14496         [HAVE_INOTIFY] (union __inev): Define.
14497         [HAVE_INOTIFY] (inotify_check_files): New function.
14498         [HAVE_INOTIFY] (clear_db_cache): Likewise.
14499         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
14500         clear_db_cache.
14501         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
14503 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
14505         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
14506         loaded if not already and that a failure is permanent.
14508 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
14510         [BZ #15006]
14511         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
14512         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
14514 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
14516         [BZ #13550]
14517         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
14518         (CHECK_1_NULL_OK): Likewise.
14519         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
14520         (__fxstat): Do not use CHECK_1.
14521         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
14522         <bp-checks.h>.
14523         (___fxstat64): Do not use CHECK_1.
14524         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
14525         <bp-checks.h>.
14526         (__fxstatat): Do not use CHECK_1.
14527         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
14528         <bp-checks.h>.
14529         (__fxstatat64): Do not use CHECK_1.
14530         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
14531         <bp-checks.h>.
14532         (__fxstat): Do not use CHECK_1.
14533         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
14534         <bp-checks.h>.
14535         (__fxstatat): Do not use CHECK_1.
14536         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
14537         <bp-checks.h>.
14538         (__getresgid): Do not use CHECK_1.
14539         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
14540         <bp-checks.h>.
14541         (__getresuid): Do not use CHECK_1.
14542         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
14543         <bp-checks.h>.
14544         (__lxstat): Do not use CHECK_1.
14545         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
14546         <bp-checks.h>.
14547         (__old_msgctl): Do not use CHECK_1.
14548         (__new_msgctl): Likewise.
14549         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
14550         <bp-checks.h>.
14551         (__new_setrlimit): Do not use CHECK_1.
14552         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
14553         <bp-checks.h>.
14554         (__old_shmctl): Do not use CHECK_1.
14555         (__new_shmctl): Likewise.
14556         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
14557         <bp-checks.h>.
14558         (__xstat): Do not use CHECK_1.
14559         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
14560         (__lxstat): Do not use CHECK_1.
14561         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
14562         <bp-checks.h>.
14563         (___lxstat64): Do not use CHECK_1.
14564         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
14565         (__old_msgctl): Do not use CHECK_1.
14566         (__new_msgctl): Likewise.
14567         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
14568         <bp-checks.h>.
14569         (__gettimeofday): Do not use CHECK_1.
14570         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
14571         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
14572         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
14573         <bp-checks.h>.
14574         (__gettimeofday): Do not use CHECK_1.
14575         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
14576         (__old_shmctl): Do not use CHECK_1_NULL_OK.
14577         (__new_shmctl): Do not use CHECK_1.
14578         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
14579         <bp-checks.h>.
14580         (do_sigtimedwait): Do not use CHECK_1.
14581         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
14582         <bp-checks.h>.
14583         (do_sigwaitinfo): Do not use CHECK_1.
14584         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
14585         <bp-checks.h>.
14586         (msgctl): Do not use CHECK_1.
14587         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
14588         <bp-checks.h>.
14589         (shmctl): Do not use CHECK_1.
14590         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
14591         (ustat): Do not use CHECK_1.
14592         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
14593         <bp-checks.h>.
14594         (__fxstat): Do not use CHECK_1.
14595         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
14596         <bp-checks.h>.
14597         (__fxstatat): Do not use CHECK_1.
14598         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
14599         <bp-checks.h>.
14600         (__lxstat): Do not use CHECK_1.
14601         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
14602         <bp-checks.h>.
14603         (__xstat): Do not use CHECK_1.
14604         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
14605         (__xstat): Do not use CHECK_1.
14606         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
14607         (___xstat64): Do not use CHECK_1.
14609         [BZ #13550]
14610         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
14611         definitions.
14612         (CHECK_BOUNDS_HIGH): Likewise.
14613         * string/strcpy.c: Do not include <bp-checks.h>.
14614         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
14616 2013-02-07  Roland McGrath  <roland@hack.frob.com>
14618         * nscd/nscd-client.h (__nscd_drop_map_ref):
14619         Add __attribute__ ((unused)).
14620         * nis/nss-nisplus.h (niserr2nss): Likewise.
14622         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
14623         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
14625         * csu/libc-tls.c (init_static_tls, init_slotinfo):
14626         Remove inline keyword.
14627         * include/rounding-mode.h (round_away): Likewise.
14628         * libio/wfileops.c (adjust_wide_data): Likewise.
14629         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
14630         (__m128i_strloadu_tolower): Likewise.
14631         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
14632         (__m128i_strloadu_tolower): Likewise.
14633         * time/mktime.c (ydhms_diff): Likewise.
14634         * locale/elem-hash.h (elem_hash): Likewise.
14635         * locale/setlocale.c (setdata): Likewise.
14636         * posix/regex_internal.h (re_string_char_size_at): Likewise.
14637         (re_string_wchar_at): Likewise.
14638         (bitset_not, bitset_merge, bitset_mask): Likewise.
14639         [!(__GNUC__ > 3)] (inline): Remove macro.
14640         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
14641         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
14642         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
14643         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
14644         * string/memcmp.c (memcmp_bytes): Likewise.
14645         * locale/programs/locarchive.c (compute_hashval): Likewise.
14646         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
14647         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
14648         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
14649         * nss/getent.c (print_rpc, print_protocols): Likewise.
14650         (print_passwd, print_group, print_aliases): Likewise.
14651         * nis/nss-nisplus.h (niserr2nss): Likewise.
14652         * nscd/connections.c (restart_p): Likewise.
14653         Change return type to bool.
14655 2013-02-05  Roland McGrath  <roland@hack.frob.com>
14657         * Makeconfig (all-Depend-files): Add existing
14658         $(sorted-subdirs:=/Depend) files.
14659         (all-subdirs): Remove nss.
14660         * sysdeps/unix/inet/Subdirs: Add it here instead.
14661         * hesiod/Depend: New file.
14663         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
14664         instead of calling alloca.
14666         * io/lseek.c (__lseek): Rename to __libc_lseek.
14667         Define __lseek as an alias.
14669         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
14671 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
14673         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
14674         else clause and remove check for non-standard endianness.
14676 2013-02-04  David S. Miller  <davem@davemloft.net>
14678         * sysdeps/sparc/fpu/libm-test-ulps: Update.
14680 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
14682         [BZ #13550]
14683         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
14684         (__ubp_memchr): Remove prototype.
14685         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
14686         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
14687         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
14688         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
14689         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
14690         Remove alias.
14691         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
14692         (__ubp_memchr): Likewise.
14693         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
14694         (__ubp_memchr): Likewise.
14695         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
14696         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
14697         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
14698         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
14699         CHECK_STRING.
14700         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
14701         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
14702         (__getcwd): Do not use CHECK_STRING.
14703         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
14704         <bp-checks.h>.
14705         (__real_chown): Do not use CHECK_STRING.
14706         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
14707         <bp-checks.h>.
14708         (fchownat): Do not use CHECK_STRING.
14709         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
14710         CHECK_STRING.
14711         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
14712         <bp-checks.h>.
14713         (__lchown): Do not use CHECK_STRING.
14714         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
14715         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
14716         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
14717         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
14718         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
14719         include <bp-checks.h>.
14720         (truncate64): Do not use CHECK_STRING.
14721         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
14722         <bp-checks.h>.
14723         (__real_chown): Do not use CHECK_STRING.
14724         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
14725         <bp-checks.h>.
14726         (__lchown): Do not use CHECK_STRING.
14727         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
14728         <bp-checks.h>.
14729         (__chown): Do not use CHECK_STRING.
14730         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
14731         <bp-checks.h>.
14732         (truncate64): Do not use CHECK_STRING.
14733         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
14734         Likewise.
14735         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
14736         (__xmknod): Do not use CHECK_STRING.
14737         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
14738         <bp-checks.h>.
14739         (__xmknodat): Do not use CHECK_STRING.
14740         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
14741         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
14743 2013-02-04  Andreas Schwab  <schwab@suse.de>
14745         [BZ #14142]
14746         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
14747         * include/netdb.h: Likewise for h_errno.
14748         * elf/tst-stackguard1.c: Include <tls.h>.
14750 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
14752         * elf/link.h (struct link_map): Extend the l_addr comment.
14753         * include/link.h (struct link_map): Likewise.
14755 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
14757         [BZ #13550]
14758         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
14759         (BOUNDED_1): Remove macro.
14760         * debug/backtrace.c: Don't include <bp-checks.h>.
14761         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
14762         (__backtrace): Likewise.
14763         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
14764         <bp-checks.h>.
14765         (__backtrace): Don't use BOUNDED_1.
14766         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
14767         <bp-checks.h>.
14768         (__backtrace): Don't use BOUNDED_1.
14769         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
14770         (__backtrace): Don't use BOUNDED_1.
14771         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
14772         (shmat): Don't use BOUNDED_N.
14774 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
14776         [BZ #13550]
14777         * sysdeps/generic/bp-start.h: Remove file.
14778         * csu/libc-start.c: Don't include <bp-start.h>.
14779         (LIBC_START_MAIN): Set up __environ directly instead of using
14780         INIT_ARGV_and_ENVIRON.
14781         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
14782         <bp-start.h>.
14784         [BZ #13550]
14785         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
14786         definitions.
14787         (CHECK_FCNTL): Likewise.
14788         (CHECK_N_PAGES): Likewise.
14790         [BZ #13550]
14791         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
14792         definitions.
14793         (CHECK_SIGSET_NULL_OK): Likewise.
14794         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
14795         <bp-checks.h>.
14796         (sigpending): Don't use CHECK_SIGSET.
14797         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
14798         <bp-checks.h>.
14799         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
14800         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
14801         <bp-checks.h>.
14802         (do_sigsuspend): Don't use CHECK_SIGSET.
14803         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
14804         use CHECK_SIGSET.
14805         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
14806         (do_sigwait): Don't use CHECK_SIGSET.
14807         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
14808         use CHECK_SIGSET.
14809         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
14810         include <bp-checks.h>.
14811         (sigpending): Don't use CHECK_SIGSET.
14812         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
14813         include <bp-checks.h>.
14814         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
14815         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
14816         <bp-checks.h>.
14817         (sigpending): Don't use CHECK_SIGSET.
14818         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
14819         <bp-checks.h>.
14820         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
14822         [BZ #13550]
14823         * sysdeps/generic/bp-semctl.h: Remove file.
14824         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
14825         <bp-checks.h> and <bp-semctl.h>.
14826         (__old_semctl): Don't use CHECK_SEMCTL.
14827         (__new_semctl): Likewise.
14828         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
14829         and <bp-semctl.h>.
14830         (__old_semctl): Don't use CHECK_SEMCTL.
14831         (__new_semctl): Likewise.
14832         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
14833         <bp-checks.h> and <bp-semctl.h>.
14834         (__old_semctl): Don't use CHECK_SEMCTL.
14835         (__new_semctl): Likewise.
14836         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
14837         <bp-checks.h> and <bp-semctl.h>.
14838         (semctl): Don't use CHECK_SEMCTL.
14840         [BZ #13550]
14841         * Makerules (elide-bp-thunks): Remove variable.
14842         (elide-routines.oS): Don't use $(elide-bp-thunks).
14843         (elide-routines.os): Likewise.
14844         (elide-routines.o): Likewise.
14845         (elide-routines.op): Likewise.
14846         (elide-routines.og): Likewise.
14847         (objects): Don't use $(bp-thunks).
14848         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
14849         include.
14850         (common-generated): Do not add s-proto-bp.d.
14851         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
14852         (int): Likewise.
14853         (typ): Likewise.
14854         Do not generate makefile rules for bounded-pointer thunks.
14855         * sysdeps/generic/bp-thunks.h: Remove file.
14856         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
14857         * sysdeps/unix/s-proto-bp.S: Likewise.
14859         [BZ #15062]
14860         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
14861         parts of result separately when argument is not close to line from
14862         -i to i and one part of argument is small.
14863         * math/k_casinhf.c (__kernel_casinhf): Likewise.
14864         * math/k_casinhl.c (__kernel_casinhl): Likewise.
14865         * math/libm-test.inc (cacos_test): Add more tests.
14866         (casin_test): Likewise.
14867         (casinh_test): Likewise.
14868         * sysdeps/i386/fpu/libm-test-ulps: Update.
14869         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14871 2013-01-31  David S. Miller  <davem@davemloft.net>
14873         * po/de.po: Update from translation team.
14875 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
14877         * time/tzfile.c: Include stdint.h for SIZE_MAX.
14879 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
14881         * configure.in (_AC_PROG_CC_C89): New definition.
14882         * configure: Regenerate.
14884         * configure.in (AC_PROG_CPP): New definition.
14885         * configure: Regenerate.
14887 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
14889         * debug/tst-backtrace.h: New file.
14890         * debug/tst-backtrace2.c: Include tst-backtrace.h.
14891         (ret): Remove variable.
14892         (x): Likewise.
14893         (FAIL): Remove macro.
14894         (NO_INLINE): Likewise.
14895         (fn1): Use match function instead of strstr.
14896         * debug/tst-backtrace3.c: Include tst-backtrace.h.
14897         (ret): Remove variable.
14898         (x): Likewise.
14899         (FAIL): Remove macro.
14900         (NO_INLINE): Likewise.
14901         (fn): Use match function instead of strstr.
14902         * debug/tst-backtrace4.c: Include tst-backtrace.h.
14903         (ret): Remove variable.
14904         (x): Likewise.
14905         (FAIL): Remove macro.
14906         (NO_INLINE): Likewise.
14907         (handle_signal): Use match function instead of strstr.
14908         * debug/tst-backtrace5.c: Include tst-backtrace.h.
14909         (ret): Remove variable.
14910         (x): Likewise.
14911         (FAIL): Remove macro.
14912         (NO_INLINE): Likewise.
14913         (handle_signal): Use match function instead of strstr.
14915 2013-01-23  Roland McGrath  <roland@hack.frob.com>
14917         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
14919 2013-01-23  David S. Miller  <davem@davemloft.net>
14921         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
14922         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
14923         argument of CAS if possible.
14924         * sysdeps/sparc/sparc64/bits/atomic.h
14925         (__arch_compare_and_exchange_val_32_acq): Likewise.
14926         (__arch_compare_and_exchange_val_64_acq): Likewise.
14928 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
14930         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
14931         * sysdeps/posix/ulimit.c: ... this.
14932         Include <limits.h>.
14933         * sysdeps/unix/bsd/ulimit.c: Remove file.
14935 2013-01-23  Adam Conrad  <adconrad@0c3.net>
14937         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
14938         (LDFLAGS-tst-array5): Likewise.
14940 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
14942         [BZ #15036]
14943         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
14944         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
14945         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
14946         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
14948 2013-01-21  David S. Miller  <davem@davemloft.net>
14950         * sysdeps/sparc/backtrace.c: New file.
14951         * sysdeps/sparc/sparc32/backtrace.h: New file.
14952         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
14953         * sysdeps/sparc/sparc64/backtrace.h: New file.
14954         * sysdeps/sparc/sparc64/backtrace.c: Delete.
14955         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
14956         -funwind-tables.
14958 2013-01-21  Andreas Schwab  <schwab@suse.de>
14960         [BZ #15020]
14961         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
14962         closed its stdout.
14964 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
14966         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
14967         "mpa2.h".
14968         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
14970 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
14971             Mark Mitchell  <mark@codesourcery.com>
14972             Tom de Vries  <tom@codesourcery.com>
14973             Paul Pluzhnikov  <ppluzhnikov@google.com>
14975         * debug/tst-backtrace2.c: New file.
14976         * debug/tst-backtrace3.c: Likewise.
14977         * debug/tst-backtrace4.c: Likewise.
14978         * debug/tst-backtrace5.c: Likewise.
14979         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
14980         (CFLAGS-tst-backtrace3.c): Likewise.
14981         (CFLAGS-tst-backtrace4.c): Likewise.
14982         (CFLAGS-tst-backtrace5.c): Likewise.
14983         (LDFLAGS-tst-backtrace2): Likewise.
14984         (LDFLAGS-tst-backtrace3): Likewise.
14985         (LDFLAGS-tst-backtrace4): Likewise.
14986         (LDFLAGS-tst-backtrace5): Likewise.
14987         (tests): Add new tests tst-backtrace2, tst-backtrace3,
14988         tst-backtrace4 and tst-backtrace5.
14990 2013-01-18  Anton Blanchard  <anton@samba.org>
14991             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
14993         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
14994         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
14995         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
14996         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
14997         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
14998         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
14999         "+r" and remove output regs list as redundant.  Add explicit inline
15000         asm to specify register of return val to work around compiler codegen
15001         bug.  Remove (int) cast on return value.  Add return type parameter to
15002         use in macro so that this macro does not truncate return value for
15003         64-bit values.
15004         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
15005         pass to INTERNAL_VSYSCALL_NCS.
15006         (INLINE_VSYSCALL): Add 'long int' as return type to
15007         INTERNAL_VSYSCALL_NCS macro invocation.
15008         (INTERNAL_VSYSCALL): Add 'long int' as return type to
15009         INTERNAL_VSYSCALL_NCS macro invocation.
15010         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
15012 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
15014         [BZ #14496]
15015         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
15016         Fix application of SIMD FP exception mask.
15018         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
15019         mp_no from a power of two.
15020         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
15021         __mpexp_twomm1.  Use __pow_mp.
15023         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
15024         multiplication.
15026 2013-01-17  David S. Miller  <davem@davemloft.net>
15028         * sysdeps/sparc/fpu/libm-test-ulps: Update.
15030 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
15032         [BZ #15023]
15033         * include/complex.h: Condition contents on [!_COMPLEX_H].
15034         (__kernel_casinhf): New prototype.
15035         (__kernel_casinh): Likewise.
15036         (__kernel_casinhl): Likewise.
15037         * math/Makefile (libm_calls): Add k_casinh.
15038         * math/k_casinh.c: New file.
15039         * math/k_casinhf.c: Likewise.
15040         * math/k_casinhl.c: Likewise.
15041         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
15042         finite nonzero arguments.
15043         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
15044         finite nonzero arguments.
15045         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
15046         finite nonzero arguments.
15047         * math/s_casinh.c: Do not include <float.h>.
15048         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
15049         * math/s_casinhf.c: Do not include <float.h>.
15050         (__casinhf): Move code for finite nonzero arguments to
15051         k_casinhf.c.
15052         * math/s_casinhl.c: Do not include <float.h>.
15053         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
15054         redefine.
15055         (__casinhl): Move code for finite nonzero arguments to
15056         k_casinhl.c.
15057         * math/libm-test.inc (cacos_test): Add more tests.
15058         * sysdeps/i386/fpu/libm-test-ulps: Update.
15059         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15061 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
15063         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
15064         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
15065         [!HAVE_MREMAP]: Remove [defined linux] case.
15066         * malloc/arena.c: Do not include <malloc-sysdep.h>.
15068 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
15070         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
15072 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
15074         * elf/elf.h (R_386_SIZE32): New relocation.
15075         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
15076         R_386_SIZE32.
15077         (elf_machine_rela): Likewise.
15078         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
15079         R_X86_64_SIZE64 and R_X86_64_SIZE32.
15081 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
15083         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
15084         (FP_FAST_FMA): Do not define.
15085         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
15086         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
15087         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
15088         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
15089         !_SOFT_FLOAT]: Likewise.
15090         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
15091         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
15092         value.
15093         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
15094         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
15095         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
15096         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
15097         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
15098         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
15099         file.
15101 2013-01-16  Andreas Schwab  <schwab@suse.de>
15103         [BZ #14327]
15104         * include/stdlib.h (__mktemp): Add declaration.
15105         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
15106         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
15108 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
15110         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
15111         definitions.
15112         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
15113         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
15114         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
15115         definitions here.
15116         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
15117         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
15118         definitions.
15119         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
15120         and ONE.
15121         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
15122         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
15123         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
15124         definitions.
15125         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
15126         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
15127         definitions.
15128         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
15130         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
15132 2013-01-15  David S. Miller  <davem@davemloft.net>
15134         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
15135         trunc{,f} to libm-sysdep_routes.
15136         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
15137         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
15138         file.
15139         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
15140         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
15141         file.
15142         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
15143         file.
15144         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
15145         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
15146         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
15147         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
15148         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
15149         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
15150         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
15151         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
15153         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
15154         nearbyint{,f} to libm-sysdep_routes.
15155         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
15156         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
15157         New file.
15158         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
15159         file.
15160         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
15161         New file.
15162         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
15163         file.
15164         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
15165         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
15166         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
15167         file.
15168         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
15169         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
15170         file.
15171         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
15172         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
15173         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
15175         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
15176         libc_feholdexcept and libc_fesetenv.
15178 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
15180         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
15182 2013-01-14  David S. Miller  <davem@davemloft.net>
15184         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
15185         (SPARC_ASM_VIS2_IFUNC): Likewise.
15186         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
15187         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
15188         use of 'siam' instruction.
15189         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
15190         Likewise.
15191         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
15192         Likewise.
15193         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
15194         Likewise.
15195         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
15196         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
15197         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
15198         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
15199         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
15200         file.
15201         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
15202         file.
15203         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
15204         file.
15205         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
15206         file.
15207         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
15208         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
15209         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
15210         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
15211         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
15212         new VIS2 routines.
15213         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
15214         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
15215         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
15216         Likewise.
15217         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
15218         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
15219         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
15220         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
15221         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
15222         routines to libm-sysdep_routines.
15223         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
15225         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
15226         fdim/fdimf to libm-sysdep_routines.
15227         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
15228         file.
15229         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
15230         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
15231         file.
15232         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
15233         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
15234         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
15235         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
15236         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
15237         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
15238         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
15240 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
15242         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
15243         to optimize copies.
15245         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
15246         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
15247         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
15249         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
15250         local variable MPTWO.
15251         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
15252         Likewise.
15254 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
15256         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
15257         GLOB_NOESCAPE.
15259 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
15261         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
15263 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
15265         * manual/pattern.texi (glob_t): Document gl_flags.
15266         (glob64_t): Likewise.
15268 2013-01-11  David S. Miller  <davem@davemloft.net>
15270         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
15271         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
15272         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
15273         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
15274         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
15275         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
15276         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
15277         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
15278         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
15279         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
15280         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
15281         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
15282         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
15284         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
15285         sparc V9 rather than using V8 code.
15286         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
15287         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
15289         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
15290         Move to...
15291         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
15292         Here.
15294 2013-01-11  Roland McGrath  <roland@hack.frob.com>
15296         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
15297         not in the main loop.
15298         * configure: Regenerated.
15300 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
15302         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
15303         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
15304         to just #else.
15305         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
15306         [!__GLIBC_HAVE_LONG_LONG] case.
15307         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
15308         condition to just #else.
15309         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
15310         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
15311         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
15312         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
15313         unconditional.
15314         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
15315         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
15316         #elif condition to just #else.
15317         * sysdeps/unix/sysv/linux/sys/sysmacros.h
15318         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
15319         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
15320         #elif condition to just #else.
15322 2013-01-11  Steve Ellcey  <sellcey@mips.com>
15324         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
15325         (EF_MIPS_ARCH_64): Fix value.
15326         (EF_MIPS_ARCH_32R2): New.
15327         (EF_MIPS_ARCH_64R2): New.
15329 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
15331         * Makeconfig (+link-pie-before-libc): New.
15332         (+link-pie-after-libc): Likewise.
15333         (+link-pie-tests): Likewise.
15334         (+link-pie): Rewritten.
15335         (link-before-libc): Remove $(config-LDFLAGS).
15336         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
15337         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
15338         (config-LDFLAGS): Renamed to ...
15339         (rtld-LDFLAGS): This.
15340         (rtld-tests-LDFLAGS): New macro.
15341         (link-libc-rpath-link): Likewise.
15342         (link-libc-tests-rpath-link): Likewise.
15343         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
15344         (link-libc): Prepand $(link-libc-rpath-link).
15345         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
15346         (test-program-prefix): New macro.
15347         (test-via-rtld-prefix): Likewise.
15348         (test-program-cmd): Likewise.
15349         (host-test-program-cmd): Likewise.
15350         * Makefile ($(common-objpfx)testrun.sh): Replace
15351         $(run-program-prefix) with $(test-program-prefix).
15352         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
15353         $(rtld-LDFLAGS).
15354         ($(common-objpfx)shlib.lds): Likewise.
15355         (build-module-helper): Likewise.
15356         ($(common-objpfx)format.lds): Likewise.
15357         * Rules (binaries-pie-tests): New.
15358         (binaries-pie-notests): Likewise.
15359         (binaries-pie): Rewritten.
15360         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
15361         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
15362         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
15363         (make-test-out): Replace $(host-built-program-cmd) with
15364         $(host-test-program-cmd).
15365         * config.make.in (build-hardcoded-path-in-tests): New variable.
15366         * configure.in (--enable-hardcoded-path-in-tests): New configure
15367         option.
15368         (hardcoded_path_in_tests): New AC_SUBST.
15369         * configure: Regenerated.
15370         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
15371         $(built-program-cmd) with $(test-program-cmd).
15372         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
15373         (test_program_cmd): This.
15374         * elf/Makefile ($(objpfx)order.out): Run test with
15375         $(test-program-prefix).
15376         ($(objpfx)order2.out): Likewise.
15377         ($(objpfx)tst-initorder.out): Likewise.
15378         ($(objpfx)tst-initorder2.out): Likewise.
15379         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
15380         $(test-program-cmd).
15381         ($(objpfx)tst-array1-static.out): Likewise.
15382         ($(objpfx)tst-array2.out): Likewise.
15383         ($(objpfx)tst-array3.out): Likewise.
15384         ($(objpfx)tst-array4.out): Likewise.
15385         ($(objpfx)tst-array5.out): Likewise.
15386         ($(objpfx)tst-array5-static.out): Likewise.
15387         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
15388         $(test-program-cmd).
15389         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
15390         $(run-program-prefix) with $(test-program-prefix).
15391         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
15392         (test_program_prefix): This.
15393         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
15394         $(run-program-prefix) with $(test-program-prefix).
15395         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
15396         (test_program_prefix): This.
15397         * iconvdata/tst-tables.sh: Likewise.
15398         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
15399         $(run-program-prefix) with $(test-program-prefix).
15400         ($(objpfx)tst-translit.out): Likewise.
15401         ($(objpfx)tst-gettext2.out): Likewise.
15402         ($(objpfx)tst-gettext4.out): Likewise.
15403         ($(objpfx)tst-gettext6.out): Likewise.
15404         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
15405         (test_program_prefix): This.
15406         * intl/tst-gettext2.sh: Likewise.
15407         * intl/tst-gettext4.sh  Likewise.
15408         * intl/tst-gettext6.sh: Likewise.
15409         * intl/tst-translit.sh: Likewise.
15410         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
15411         with $(test-program-cmd).
15412         * libio/Makefile ($(objpfx)test-freopen.out): Replace
15413         $(run-program-prefix) with $(test-program-prefix).
15414         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
15415         (test_program_prefix): This.
15416         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
15417         $(run-program-prefix) with $(test-program-prefix).
15418         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
15419         (test_program_prefix): This.
15420         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
15421         * posix/Makefile ($(objpfx)globtest.out): Replace
15422         $(run-via-rtld-prefix) and $(test-wrapper) with
15423         $(test-program-prefix) and $(test-via-rtld-prefix).
15424         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
15425         $(test-program-prefix).
15426         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
15427         $(host-test-program-cmd).
15428         (tst-spawn-ARGS): Likewise.
15429         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
15430         $(test-program-prefix).
15431         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
15432         (test_via_rtld_prefix): This.
15433         (test_wrapper): Renamed to ...
15434         (test_program_prefix): This.
15435         (run_program_prefix): Replaced by test_program_prefix.
15436         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
15437         (test_program_prefix): This.
15438         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
15439         with $(host-test-program-cmd).
15440         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
15441         $(run-program-prefix) with $(test-program-prefix).
15442         ($(objpfx)tst-printf.out): Likewise.
15443         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
15444         $(test-program-cmd).
15445         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
15446         (test_program_prefix): This.
15447         * stdio-common/tst-unbputc.sh: Likewise.
15448         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
15449         $(run-program-prefix) with $(test-program-prefix).
15450         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
15451         (test_program_prefix): This.
15452         * string/Makefile ($(objpfx)tst-svc.out):  Replace
15453         $(built-program-cmd) with $(test-program-cmd).
15455 2013-01-11  Andreas Jaeger  <aj@suse.de>
15457         [BZ #15003]
15458         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
15459         value. Sync with Linux 3.7.
15461 2013-01-10  David S. Miller  <davem@davemloft.net>
15463         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
15464         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
15465         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
15467 2013-01-10  Roland McGrath  <roland@hack.frob.com>
15469         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
15470         never set.
15471         * configure: Regenerated.
15473 2013-01-10  David S. Miller  <davem@davemloft.net>
15475         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
15476         sparc V9 rather than using V8 code.
15477         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
15478         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
15480 2013-01-10  Roland McGrath  <roland@hack.frob.com>
15482         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
15483         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
15484         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
15485         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
15486         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
15487         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
15488         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
15489         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
15490         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
15491         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
15492         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
15493         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
15494         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
15495         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
15496         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
15497         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
15498         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
15499         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
15500         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
15501         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
15502         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
15503         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
15504         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
15505         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
15506         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
15507         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
15508         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
15510 2013-01-10  David S. Miller  <davem@davemloft.net>
15512         * sysdeps/sparc/fpu/libm-test-ulps: Update.
15514 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
15516         * posix/Makefile (tests-static): New variable.
15517         (tests): Add $(tests-static).
15518         (tst-exec-static-ARGS): New variable.
15519         (tst-spawn-static-ARGS): Likewise.
15520         * posix/tst-exec-static.c: New file.
15521         * posix/tst-spawn-static.c: Likewise.
15522         * posix/tst-exec.c: Support run directly.
15523         * posix/tst-spawn.c: Likewise.
15525 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
15527         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
15528         long.
15529         * math/bits/mathcalls.h (llrint): Likewise.
15530         (llround): Likewise.
15531         * stdlib/stdlib.h (struct drand48_data): Likewise.
15532         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
15533         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
15534         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
15535         Likewise.
15536         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
15537         Likewise.
15538         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
15539         (elf_greg_t): Likewise.
15540         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
15541         (__jmp_buf): Likewise.
15542         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
15543         definitions.
15544         (llrint): Likewise, for all definitions.
15545         (llrintl): Likewise.
15547         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
15548         Remove [__GNUC__] condition.
15549         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
15550         condition to just [__USE_ISOC99].
15551         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
15553 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
15555         [BZ #14200]
15556         * sysdeps/unix/sysv/linux/x86/bits/environments.h
15557         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
15558         defined.
15559         (_POSIX_V6_ILP32_OFF32): Likewise.
15560         (_XBS5_ILP32_OFF32): Likewise.
15561         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
15562         (__ILP32_OFFBIG_LDFLAGS): Likewise.
15564 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
15566         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
15568         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
15569         doubles __mpexp_twomm1.  Adjust usage.
15570         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
15571         Remove.
15573 2013-01-10  Andreas Schwab  <schwab@suse.de>
15575         [BZ #14964]
15576         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
15577         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
15579 2013-01-09  David S. Miller  <davem@davemloft.net>
15581         [BZ #15003]
15582         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
15583         TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
15584         TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
15585         TCP_FASTOPEN): Define.
15586         (tcp_repair_opt): New structure.
15587         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
15588         enum values.
15589         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
15590         TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
15591         TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
15592         (tcp_cookie_transactions): New structure.
15594 2013-01-09  Anton Blanchard  <anton@samba.org>
15596         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
15597         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
15598         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
15599         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
15601 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
15603         * include/features.h (__USE_ANSI): Remove.
15605 2013-01-09  Roland McGrath  <roland@hack.frob.com>
15607         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
15609         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
15611 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
15613         * sysdeps/s390/fpu/libm-test-ulps: Update.
15615         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15617         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
15618         (__acr): Likewise.
15619         (__cpy): Likewise.
15620         (norm): Likewise.
15621         (denorm): Likewise.
15622         (__mp_dbl): Likewise.
15623         (__dbl_mp): Likewise.
15624         (add_magnitudes): Likewise.
15625         (sub_magnitudes): Likewise.
15626         (__add): Likewise.
15627         (__sub): Likewise.
15628         (__mul): Likewise.
15629         (__inv): Likewise.
15630         (__dvd): Likewise.
15631         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
15632         (__acr): Likewise.
15633         (__cpy): Likewise.
15634         (norm): Likewise.
15635         (denorm): Likewise.
15636         (__mp_dbl): Likewise.
15637         (__dbl_mp): Likewise.
15638         (add_magnitudes): Likewise.
15639         (sub_magnitudes): Likewise.
15640         (__add): Likewise.
15641         (__sub): Likewise.
15642         (__mul): Likewise.
15643         (__inv): Likewise.
15644         (__dvd): Likewise.
15645         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
15646         (__acr): Likewise.
15647         (__cpy): Likewise.
15648         (norm): Likewise.
15649         (denorm): Likewise.
15650         (__mp_dbl): Likewise.
15651         (__dbl_mp): Likewise.
15652         (add_magnitudes): Likewise.
15653         (sub_magnitudes): Likewise.
15654         (__add): Likewise.
15655         (__sub): Likewise.
15656         (__mul): Likewise.
15657         (__inv): Likewise.
15658         (__dvd): Likewise.
15660 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
15662         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
15663         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
15664         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
15665         2 && __USE_EXTERN_INLINES]: Likewise.
15667 2013-01-08  Andreas Jaeger  <aj@suse.de>
15669         [BZ# 14985]
15670         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
15671         Remove.
15672         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
15673         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
15675 2013-01-07  Anton Blanchard  <anton@samba.org>
15677         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
15678         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
15679         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
15680         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
15681         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
15682         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
15683         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
15684         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
15685         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
15686         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
15687         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
15688         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
15689         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
15690         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
15691         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
15692         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
15693         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
15694         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
15695         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
15696         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
15697         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
15698         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
15699         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
15700         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
15701         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
15702         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
15703         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
15704         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
15705         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
15706         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
15707         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
15708         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
15709         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
15710         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
15711         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
15712         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
15713         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
15714         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
15715         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
15716         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
15717         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
15718         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
15719         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
15721 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
15723         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
15724         (__MALLOC_PMT): Likewise.
15725         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
15726         [__GNUC__], only on [_LIBC].
15727         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
15728         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
15729         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
15730         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
15731         forward declaration.
15732         (realloc_hook_ini): Likewise.
15733         (memalign_hook_ini): Likewise.
15734         (__libc_memalign): Do not use __MALLOC_PMT in variable
15735         declaration.
15736         (__libc_valloc): Likewise.
15737         (__libc_pvalloc): Likewise.
15738         (__libc_calloc): Likewise.
15739         (__posix_memalign): Likewise.
15741         [BZ #14996]
15742         * math/s_casinh.c: Include <float.h>.
15743         (__casinh): Do not do computation with squaring and square root
15744         for large arguments.
15745         * math/s_casinhf.c: Include <float.h>.
15746         (__casinhf): Do not do computation with squaring and square root
15747         for large arguments.
15748         * math/s_casinhl.c: Include <float.h>.
15749         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
15750         (__casinhl): Do not do computation with squaring and square root
15751         for large arguments.
15752         * math/libm-test.inc (casin_test): Add more tests.
15753         (casinh_test): Likewise.
15754         * sysdeps/i386/fpu/libm-test-ulps: Update.
15755         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15757 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
15759         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
15760         (__x86_64_raw_data_cache_size): Likewise.
15761         (__x86_64_data_cache_size_half): Likewise.
15762         (__x86_64_raw_data_cache_size_half): Likewise.
15763         (__x86_64_shared_cache_size): Likewise.
15764         (__x86_64_raw_shared_cache_size): Likewise.
15765         (__x86_64_shared_cache_size_half): Likewise.
15766         (__x86_64_raw_shared_cache_size_half): Likewise.
15767         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
15768         to ...
15769         (__x86_data_cache_size): This.
15770         (__x86_64_raw_data_cache_size): Renamed to ...
15771         (__x86_raw_data_cache_size): This.
15772         (__x86_64_data_cache_size_half): Renamed to ...
15773         (__x86_data_cache_size_half): This.
15774         (__x86_64_raw_data_cache_size_half): Renamed to ...
15775         (__x86_raw_data_cache_size_half): This.
15776         (__x86_64_shared_cache_size): Renamed to ...
15777         (__x86_shared_cache_size): This.
15778         (__x86_64_raw_shared_cache_size): Renamed to ...
15779         (__x86_raw_shared_cache_size): This.
15780         (__x86_64_shared_cache_size_half): Renamed to ...
15781         (__x86_shared_cache_size_half): This.
15782         (__x86_64_raw_shared_cache_size_half): Renamed to ...
15783         (__x86_raw_shared_cache_size_half): This.
15784         * sysdeps/x86_64/memcpy.S: Updated.
15785         * sysdeps/x86_64/memset.S: Likewise.
15786         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
15787         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
15788         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
15790 2013-01-04  David S. Miller  <davem@davemloft.net>
15792         * sysdeps/sparc/fpu/libm-test-ulps: Update.
15794 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
15796         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
15797         1 to avoid redefinition warning.
15798         (__USE_GNU): Don't define.
15799         (init_signaling_nan): Protoize.
15801         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15803 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
15805         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
15806         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
15807         (__cpymn): Likewise.
15808         (norm): Remove commented code.
15809         (denorm): Likewise.
15810         (__mp_dbl): Likewise.
15811         (__inv): Likewise.
15812         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
15813         (__cpymn): Likewise.
15814         (norm): Remove commented code.
15815         (denorm): Likewise.
15816         (__mp_dbl): Likewise.
15817         (__inv): Likewise.
15819         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
15820         mp_no value for 1.0 and 2.0.
15821         (norm): Use RADIXI instead of radixi.d.
15822         (denorm): Likewise.
15823         (__mul): Use 0.0 instead of zero.d.
15824         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
15825         mp_no value for 1.0 and 2.0.
15826         (norm): Use RADIXI instead of radixi.d.
15827         (denorm): Likewise.
15828         (__mul): Use 0.0 instead of zero.d.
15830 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
15832         [BZ #14994]
15833         * math/s_casinh.c (__casinh): Reduce finite argument to first
15834         quadrant then set signs of results at the end.
15835         * math/s_casinhf.c (__casinhf): Likewise.
15836         * math/s_casinhl.c (__casinhl): Likewise.
15837         * math/libm-test.inc (casin_test): Add more tests.
15838         (casinh_test): Likewise.
15839         * sysdeps/i386/fpu/libm-test-ulps: Update.
15840         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15842 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
15844         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
15846         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
15848         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
15849         declarations.
15850         (denorm): Likewise.
15851         (__mp_dbl): Likewise.
15852         (__inv): Likewise.
15854         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
15855         and adjust the header comment.
15857         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
15858         variable name from declaration.
15860 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
15862         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
15863         Initialize COMMON_CPUID_INDEX_7 element.
15864         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
15865         (CPUID_RTM): Likewise.
15866         (HAS_RTM): Likewise.
15867         (COMMON_CPUID_INDEX_7): New enum.
15869 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
15871         [BZ #14981]
15872         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
15873         size is zero, record memory as freed.
15875 2013-01-03  Andreas Jaeger  <aj@suse.de>
15877         * po/ia.po: Add new Interlingua translation.
15879 2012-01-03  Allan McRae  <allan@archlinux.org>
15881         * locale/programs/localedef.c: Fix description of '--posix' flag.
15883 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
15885         * NEWS: Update dates in second copyright notice.
15886         * README: Update copyright dates in example.
15887         * manual/libc.texinfo: Update copyright dates.
15888         * scripts/test-installation.pl: Update copyright date in --version
15889         output.
15891         * hurd/ctty-input.c: Fix copyright notice formatting.
15892         * hurd/ctty-output.c: Likewise.
15893         * hurd/dtable.c: Likewise.
15894         * hurd/hurd-raise.c: Likewise.
15895         * hurd/hurdprio.c: Likewise.
15896         * hurd/msgportdemux.c: Likewise.
15897         * misc/sys/file.h: Likewise.
15898         * misc/sys/ioctl.h: Likewise.
15899         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
15900         * sysdeps/mach/hurd/chdir.c: Likewise.
15901         * sysdeps/mach/hurd/fchdir.c: Likewise.
15902         * sysdeps/mach/hurd/rename.c: Likewise.
15903         * sysdeps/mach/hurd/rmdir.c: Likewise.
15904         * sysdeps/mach/hurd/seekdir.c: Likewise.
15905         * sysdeps/mach/hurd/setsid.c: Likewise.
15906         * sysdeps/posix/wait3.c: Likewise.
15908         * All files with FSF copyright notices: Update copyright dates
15909         using scripts/update-copyrights.
15910         * intl/plural.c: Regenerated.
15911         * locale/programs/charmap-kw.h: Likewise.
15912         * locale/programs/locfile-kw.h: Likewise.
15914 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
15916         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
15917         four values.
15919         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
15920         calculation loop and add branch prediction.
15922         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
15923         check access beyond bounds of m1np.
15925         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
15926         MPTWO.
15927         (__inv): Remove local variable MPTWO to use the global
15928         constant.
15929         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
15930         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
15931         variable MPTWO.
15932         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
15933         MP3HALFS static const.
15935 2013-01-01  David S. Miller  <davem@davemloft.net>
15937         * po/ca.po: Update from translation team.
15939 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
15941         * scripts/update-copyrights: New file.
15942         * Makeconfig: Reformat copyright notice.
15943         * ctype/ctype.h: Likewise.
15944         * debug/swprintf_chk.c: Likewise.
15945         * elf/dl-cache.c: Likewise.
15946         * elf/dl-debug.c: Likewise.
15947         * elf/dl-object.c: Likewise.
15948         * grp/initgroups.c: Likewise.
15949         * hurd/Makefile: Likewise.
15950         * hurd/hurd/signal.h: Likewise.
15951         * hurd/hurdfault.c: Likewise.
15952         * hurd/hurdioctl.c: Likewise.
15953         * hurd/hurdlookup.c: Likewise.
15954         * hurd/intr-msg.c: Likewise.
15955         * iconv/gconv_open.c: Likewise.
15956         * libio/swprintf.c: Likewise.
15957         * locale/lc-ctype.c: Likewise.
15958         * locale/nl_langinfo.c: Likewise.
15959         * mach/Machrules: Likewise.
15960         * mach/Makefile: Likewise.
15961         * malloc/obstack.h: Likewise.
15962         * manual/Makefile: Likewise.
15963         * manual/tsort.awk: Likewise.
15964         * misc/bits/stab.def: Likewise.
15965         * nis/nis_print_group_entry.c: Likewise.
15966         * nis/nis_table.c: Likewise.
15967         * nis/nss_compat/compat-pwd.c: Likewise.
15968         * nis/nss_compat/compat-spwd.c: Likewise.
15969         * po/Makefile: Likewise.
15970         * posix/fnmatch.c: Likewise.
15971         * posix/regex.h: Likewise.
15972         * resolv/Makefile: Likewise.
15973         * resolv/nss_dns/dns-network.c: Likewise.
15974         * resolv/res_hconf.c: Likewise.
15975         * scripts/gen-sorted.awk: Likewise.
15976         * soft-fp/soft-fp.h: Likewise.
15977         * stdio-common/printf.h: Likewise.
15978         * stdlib/monetary.h: Likewise.
15979         * stdlib/random.c: Likewise.
15980         * stdlib/random_r.c: Likewise.
15981         * sysdeps/generic/Makefile: Likewise.
15982         * sysdeps/gnu/Makefile: Likewise.
15983         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
15984         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
15985         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
15986         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
15987         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
15988         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
15989         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
15990         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
15991         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
15992         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
15993         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
15994         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
15995         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
15996         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
15997         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
15998         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
15999         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
16000         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
16001         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
16002         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
16003         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
16004         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
16005         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
16006         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
16007         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
16008         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
16009         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
16010         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
16011         * sysdeps/mach/hurd/errnos.awk: Likewise.
16012         * sysdeps/mach/hurd/fork.c: Likewise.
16013         * sysdeps/mach/hurd/getcwd.c: Likewise.
16014         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
16015         * sysdeps/mach/hurd/mmap.c: Likewise.
16016         * sysdeps/mach/hurd/utimes.c: Likewise.
16017         * sysdeps/mach/hurd/xmknod.c: Likewise.
16018         * sysdeps/posix/profil.c: Likewise.
16019         * sysdeps/posix/readdir_r.c: Likewise.
16020         * sysdeps/powerpc/bits/mathdef.h: Likewise.
16021         * sysdeps/powerpc/bits/setjmp.h: Likewise.
16022         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
16023         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
16024         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
16025         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
16026         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
16027         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
16028         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
16029         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
16030         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
16031         * sysdeps/pthread/lio_listio.c: Likewise.
16032         * sysdeps/sparc/dl-procinfo.h: Likewise.
16033         * sysdeps/unix/i386/sysdep.S: Likewise.
16034         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
16035         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
16036         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
16037         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
16038         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
16039         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
16040         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
16041         * sysdeps/unix/sysv/linux/speed.c: Likewise.
16042         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
16043         * sysdeps/wordsize-32/divdi3.c: Likewise.
16044         * time/sys/time.h: Likewise.
16045         * wcsmbs/Makefile: Likewise.
16047 2013-01-01  David S. Miller  <davem@davemloft.net>
16049         * po/fr.po: Update from translation team.
16051         * catgets/gencat.c: Update copyright year.
16052         * csu/version.c: Likewise.
16053         * debug/catchsegv.sh: Likewise.
16054         * debug/pcprofiledump.c: Likewise.
16055         * debug/xtrace.sh: Likewise.
16056         * elf/ldconfig.c: Likewise.
16057         * elf/ldd.bash.in: Likewise.
16058         * elf/pldd.c: Likewise.
16059         * elf/sotruss.ksh: Likewise.
16060         * elf/sprof.c: Likewise.
16061         * iconv/iconv_prog.c: Likewise.
16062         * iconv/iconvconfig.c: Likewise.
16063         * locale/programs/locale.c: Likewise.
16064         * locale/programs/localedef.c: Likewise.
16065         * login/programs/pt_chown.c: Likewise.
16066         * malloc/memusage.sh: Likewise.
16067         * malloc/memusagestat.c: Likewise.
16068         * malloc/mtrace.pl: Likewise.
16069         * nscd/nscd.c: Likewise.
16070         * nss/getent.c: Likewise.
16071         * nss/makedb.c: Likewise.
16072         * posix/getconf.c: Likewise.
16074 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
16076         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
16077         numbers.
16079 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
16081         * math/bits/mathcalls.h (modf): Use __nonnull.
16083 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
16085         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
16086         (split): Use macro CN instead of the bare value.
16087         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
16088         could be used.
16089         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
16090         instead of the bare value.
16091         (power1): Likewise.
16093 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
16095         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
16096         __ATAN_TWOM.
16097         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
16099         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
16100         their values.
16101         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
16102         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
16103         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
16104         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
16106 2012-12-28  Andreas Jaeger  <aj@suse.de>
16108         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
16109         values are from Linux 3.7.
16111         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
16112         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
16114 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
16116         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
16117         TRUE case.
16119         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
16120         (norm): Likewise.
16121         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
16122         variables with preprocessor constants.
16123         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
16124         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
16125         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
16127 2012-12-27  Bruno Haible  <bruno@clisp.org>
16129         [BZ #14317]
16130         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
16131         only if needed.
16133 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
16135         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
16136         and use variable directly.
16137         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
16139         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
16140         MPONE.
16141         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
16142         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
16143         variable MPONE.
16144         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
16145         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
16146         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
16147         include directive.  Remove local variable MPONE.
16148         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
16149         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
16150         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
16152 2012-12-25  David S. Miller  <davem@davemloft.net>
16154         * version.h (RELEASE): Set to "development".
16155         (VERSION): Set to "2.17.90".
16156         * NEWS: Add 2.18 section.
16158 2012-12-21  David S. Miller  <davem@davemloft.net>
16160         * po/hr.po: Update from translation team.
16162 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
16164         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
16166 2012-12-19  Steve Ellcey  <sellcey@mips.com>
16168         * NEWS:  Mention new memcpy for MIPS.
16170 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
16172         * manual/contrib.texi (Contributors): Spelling correction.
16174 2012-12-15  David S. Miller  <davem@davemloft.net>
16176         * po/ru.po: Update from translation team.
16178 2012-12-13  David S. Miller  <davem@davemloft.net>
16180         * NEWS: Mention IFUNC testsuite enhancements.
16182         * po/pl.po: Update from translation team.
16183         * po/bg.po: Likewise.
16185         * manual/contrib.texi (Contributors): Update entries for Hongjiu
16186         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
16188 2012-12-11  David S. Miller  <davem@davemloft.net>
16190         * po/sv.po: Update from translation team.
16192         * po/vi.po: Update from translation team.
16194         * po/cs.po: Update from translation team.
16196         * po/de.po: Update from translation team.
16197         * po/eo.po: Likewise.
16198         * po/nl.po: Likewise.
16200 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
16202         [BZ #14246]
16203         * manual/argp.texi (Argp Helper Functions): Move node to follow
16204         Argp Parsing State.
16206         [BZ #14872]
16207         * manual/conf.texi (Limits on File System Capacity): Mention if
16208         terminating null is included in the max size.
16210 2012-12-10  Andreas Jaeger  <aj@suse.de>
16212         * po/cs.po: Update from translation team.
16214 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
16216         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
16217         void pointer and cast to uintptr_t.
16218         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
16219         path.
16220         * sysdeps/s390/s390-64/memcpy.S: Likewise.
16221         * sysdeps/s390/s390-64/memset.S: Likewise.
16223 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
16225         [BZ #14833]
16226         * menual/message.texi (Message Translation): Fix typos.
16227         (Helper programs for gettext): Likewise.
16229 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
16231         [BZ #14898]
16232         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
16233         Change to -1.
16235 2012-12-07  David S. Miller  <davem@davemloft.net>
16237         * po/libc.pot: Update.
16239 2012-12-07  Richard Henderson  <rth@redhat.com>
16241         [BZ #10114]
16242         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
16243         normal/normal case to before the switch.
16244         (_FP_DIV): Likewise.
16246 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
16247             Mike Frysinger  <vapier@gentoo.org>
16249         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
16250         check for __NR_fadvise64_64.
16252 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
16254         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
16255         0, not just to plain "0" as a statement.
16256         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
16257         with cw.
16259 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
16261         * NEWS: Use sourceware.org in Bugzilla URL.
16263 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
16265         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
16266         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
16268         * stdio-common/tst-put-error.c (do_test): Add newline to the
16269         padded test to ensure flush.
16271 2012-12-05  Jeff Law  <law@redhat.com>
16273         * sunrpc/etc.rpc (fedfs_admin): Add entry.
16275 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
16277         * README: Don't refer to ports add-on as distributed separately.
16278         Mention AArch64 in list of systems supported in the ports add-on.
16280         * LICENSES: Add more non-FSF copyright and license notices.
16282         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
16283         ((unused)).
16285         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
16287         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
16288         10000 as width of padded output.
16290 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
16292         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
16294         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
16295         variable LX with __attribute__ ((unused)).
16296         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
16297         Likewise.
16298         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
16299         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
16300         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
16301         with __attribute__ ((unused)).
16303 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
16305         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
16307 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
16309         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
16310         (CFLAGS-nldbl-acos.c): New variable.
16311         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
16312         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
16313         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
16314         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
16315         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
16316         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
16317         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
16318         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
16319         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
16320         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
16321         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
16322         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
16323         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
16324         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
16325         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
16326         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
16327         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
16328         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
16329         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
16330         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
16331         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
16332         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
16333         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
16334         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
16335         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
16336         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
16337         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
16338         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
16339         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
16340         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
16341         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
16342         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
16343         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
16344         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
16345         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
16346         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
16347         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
16348         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
16349         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
16350         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
16351         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
16352         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
16353         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
16354         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
16355         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
16356         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
16357         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
16358         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
16359         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
16360         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
16361         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
16362         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
16363         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
16364         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
16365         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
16366         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
16367         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
16368         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
16369         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
16370         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
16371         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
16372         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
16373         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
16374         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
16375         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
16376         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
16377         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
16378         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
16379         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
16380         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
16381         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
16382         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
16383         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
16384         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
16385         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
16386         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
16387         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
16388         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
16389         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
16390         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
16391         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
16392         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
16393         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
16394         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
16395         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
16396         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
16397         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
16398         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
16399         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
16400         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
16401         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
16402         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
16403         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
16404         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
16405         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
16406         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
16407         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
16409         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
16410         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
16412         [BZ #14914]
16413         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
16414         whole low double instead of just low 47 bits when splitting values
16415         into two parts.
16417 2012-12-03  Allan McRae  <allan@archlinux.org>
16419         * manual/stdio.texi (Predefined Printf Handlers): Remove
16420         @hsep and @vsep usage.
16422 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
16424         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
16425         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
16427 2012-12-03  Jeff Law  <law@redhat.com>
16429         * time/sys/time.h (settimeofday): Do not mark TV argument
16430         as __nonnull.
16432 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
16434         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
16435         when currently writing and seek to current position when not.
16436         * libio/Makefile (tests): Remove bug-fclose1.
16437         * libio/bug-fclose1.c: Delete.
16439 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
16441         * manual/arith.texi (feenableexcept): Fix typo.
16442         (fedisableexcept): Likewise.
16444 2012-11-30  Roland McGrath  <roland@hack.frob.com>
16446         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
16447         second, differently-typed declaration, rather than a cast.
16449 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
16451         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
16452         * include/rpc/svc.h: ... here.
16454 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
16456         [BZ #13013]
16457         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
16458         depending n and resplen2 to catch cases where answer
16459         equals answerp2.
16461 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
16463         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
16464         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
16466 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
16468         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
16470 2012-11-29  Roland McGrath  <roland@hack.frob.com>
16472         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
16474 2012-11-28  Jeff Law  <law@redhat.com>
16476         [BZ #13761]
16477         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
16478         dataset_temporary.  Track alloca usage into alloca_used.
16479         If dataset is large allocate and release it via malloc/free.
16481 2012-06-04  Florian Weimer  <fweimer@redhat.com>
16483         [BZ #14197]
16484         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
16486 2012-11-28  David S. Miller  <davem@davemloft.net>
16488         * sysdeps/sparc/fpu/libm-test-ulps: Update.
16490 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
16492         [BZ #14803]
16493         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
16494         of pi/2 rounded to nearest to 64 bits.
16495         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
16496         nearest to 64 bits.
16497         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
16498         bits.
16500 2012-11-28  Jeff Law <law@redhat.com>
16501             Martin Osvald <mosvald@redhat.com>
16503         [BZ #14889]
16504         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
16505         * sunrpc/svc.c: Include time.h.
16506         (__svc_accept_failed): New function.
16507         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
16508         any reason other than EINTR, call __svc_accept_failed.
16509         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
16510         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
16512 2012-11-28  Andreas Schwab  <schwab@suse.de>
16514         * scripts/abilist.awk: Also handle indirect functions in .opd
16515         section.
16517 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
16519         [BZ #13881]
16520         * sysdeps/x86/fpu/powl_helper.c: New file.
16521         * sysdeps/x86/fpu/Makefile: Likewise.
16522         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
16523         (p3): New object.
16524         (__ieee754_powl): Use __powl_helper for finite arguments except
16525         integer exponents below 8.
16526         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
16527         (p3): New object.
16528         (__ieee754_powl): Use __powl_helper for finite arguments except
16529         integer exponents below 8.
16530         * math/libm-test.inc (pow_test): Add more tests and enable some
16531         previously disabled tests.
16532         * sysdeps/i386/fpu/libm-test-ulps: Update.
16533         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16535 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
16536             Carlos O'Donell  <carlos_odonell@mentor.com>
16538         * nss/makedb.c (is_prime): Assert that input is odd and greater
16539         than 4.  Note that fact in a comment too.
16540         (next_prime): Add 4 to input.
16542 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
16544         [BZ #11741]
16545         * libio/Makefile (tests): Add test case tst-fwrite-error.
16546         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
16547         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
16548         * libio/tst-fwrite-error.c: New test case.
16550 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
16552         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
16553         before casting to void *.
16554         * include/libc-internal.h (__pointer_type): New macro.
16555         (__integer_if_pointer_type_sub): Likewise.
16556         (__integer_if_pointer_type): Likewise.
16557         (cast_to_integer): Likewise.
16558         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
16559         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
16560         before casting to atomic64_t.
16561         (atomic_exchange_acq): Likewise.
16562         (__arch_exchange_and_add_body): Likewise.
16563         (__arch_add_body): Likewise.
16564         (atomic_add_negative): Likewise.
16565         (atomic_add_zero): Likewise.
16567 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
16569         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
16570         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
16571         (add_fdes): Likewise.
16572         (linear_search_fdes): Likewise.
16573         (binary_search_unencoded_fdes): Likewise.
16575 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
16577         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
16579 2012-11-24  Adam Conrad  <adconrad@0c3.net>
16581         * configure.in: Autodetect C++ header directories.
16582         * configure: Regenerated.
16584 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
16586         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
16588 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
16590         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16592 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
16594         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
16595         LDBL_MANT_DIG == 106]: Disable some tests.
16596         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
16597         Likewise.
16598         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
16599         Likewise.
16601         [BZ #14871]
16602         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
16603         input for small inputs.  Return +/- pi/2 for large inputs.
16604         * math/libm-test.inc (atan_test): Add more tests.
16606         * sysdeps/generic/unwind-dw2-fde-glibc.c
16607         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
16608         __attribute__ ((unused)).
16610         [BZ #14645]
16611         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
16612         x * y if x and y are nonzero and z is zero.
16614         [BZ #14811]
16615         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
16616         nonzero exponents with absolute value below 0x1p-117 to +/-
16617         0x1p-117.
16619         [BZ #14869]
16620         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
16621         up arguments below 2**-450, not just those below 2**-500.
16622         * math/libm-test.inc (hypot_test): Add another test.
16624         [BZ #14868]
16625         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
16626         Return a+b for ratio over 2**120, not 2**60.
16627         * math/libm-test.inc (hypot_test): Add another test.
16629         * math/libm-test.inc (clog_test): Use
16630         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
16631         (clog10_test): Likewise.
16633         [BZ #6778]
16634         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
16636 2012-11-22  Andreas Schwab  <schwab@suse.de>
16638         * sysdeps/i386/fpu/libm-test-ulps: Update.
16640 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
16642         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
16643         printf output with newline.
16645 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
16647         [BZ #14865]
16648         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
16649         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
16650         -z nodlopen, -z initfirst and -z execstack support.
16651         * configure: Regenerated.
16653         * elf/elf.h (DF_1_NODIRECT): New macro.
16654         (DF_1_IGNMULDEF): Likewise.
16655         (DF_1_NOKSYMS): Likewise.
16656         (DF_1_NOHDR): Likewise.
16657         (DF_1_EDITED): Likewise.
16658         (DF_1_NORELOC): Likewise.
16659         (DF_1_SYMINTPOSE): Likewise.
16660         (DF_1_GLOBAUDIT): Likewise.
16661         (DF_1_SINGLETON): Likewise.
16662         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
16663         DT_1_SUPPORTED_MASK bits.
16664         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
16666 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
16668         * sysdeps/unix/make-syscalls.sh: Document prefixes.
16670 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
16672         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
16673         macro.
16675         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
16676         (sendmmsg): Move declarations...
16677         * socket/sys/socket.h: ... here.
16678         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
16679         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
16680         include it from...
16681         * socket/recvmmsg.c: ... this new file.
16682         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
16683         (sendmmsg): Rename to __sendmmsg, create weak alias and make
16684         definition of __sendmmsg hidden.
16685         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
16686         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
16687         Move ENOSYS stub into and include it from...
16688         * socket/sendmmsg.c: ... this new file.
16689         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
16690         (sysdep_routines): Move recvmmsg and sendmmsg...
16691         * socket/Makefile (routines): ... here.
16692         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
16693         (GLIBC_PRIVATE): Add __sendmmsg.
16694         * include/sys/socket.h (__sendmmsg): Add declarations.
16695         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
16696         sendmmsg.
16698 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
16700         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
16701         variable I1 with __attribute__ ((unused)).
16702         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
16704 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
16706         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
16707         DUMMY variables with __attribute__ ((unused)).
16709         * bits/byteswap.h: Include <bits/types.h>.
16710         (__bswap_64): Use __uint64_t instead of unsigned long long int.
16712 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
16714         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
16715         string_t.  Do not manually set errno.
16716         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
16717         length with __strnlen.  Make sure to both set errno and return it on
16718         failure.
16720 2012-11-19  David S. Miller  <davem@davemloft.net>
16722         With help from Joseph Myers.
16723         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
16724         very large arguments properly.
16725         * math/libm-test.inc (atan_test): New tests.
16726         (atan2_test): New tests.
16727         * sysdeps/sparc/fpu/libm-test-ulps: Update.
16728         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16730 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
16732         [BZ #14856]
16733         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
16734         Define to 3.
16736         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
16737         [POSIX] (EADDRNOTAVAIL): Likewise.
16738         [POSIX] (EAFNOSUPPORT): Likewise.
16739         [POSIX] (EALREADY): Likewise.
16740         [POSIX] (ECONNABORTED): Likewise.
16741         [POSIX] (ECONNREFUSED): Likewise.
16742         [POSIX] (ECONNRESET): Likewise.
16743         [POSIX] (EDESTADDRREQ): Likewise.
16744         [POSIX] (EDQUOT): Likewise.
16745         [POSIX] (EHOSTUNREACH): Likewise.
16746         [POSIX] (EIDRM): Likewise.
16747         [POSIX] (EISCONN): Likewise.
16748         [POSIX] (ELOOP): Likewise.
16749         [POSIX] (EMULTIHOP): Likewise.
16750         [POSIX] (ENETDOWN): Likewise.
16751         [POSIX] (ENETUNREACH): Likewise.
16752         [POSIX] (ENOBUFS): Likewise.
16753         [POSIX] (ENODATA): Likewise.
16754         [POSIX] (ENOLINK): Likewise.
16755         [POSIX] (ENOMSG): Likewise.
16756         [POSIX] (ENOPROTOOPT): Likewise.
16757         [POSIX] (ENOSR): Likewise.
16758         [POSIX] (ENOSTR): Likewise.
16759         [POSIX] (ENOTCONN): Likewise.
16760         [POSIX] (ENOTSOCK): Likewise.
16761         [POSIX] (EOPNOTSUPP): Likewise.
16762         [POSIX] (EOVERFLOW): Likewise.
16763         [POSIX] (EPROTO): Likewise.
16764         [POSIX] (EPROTONOSUPPORT): Likewise.
16765         [POSIX] (EPROTOTYPE): Likewise.
16766         [POSIX] (ESTALE): Likewise.
16767         [POSIX] (ETIME): Likewise.
16768         [POSIX] (ETXTBSY): Likewise.
16769         [POSIX] (EWOULDBLOCK): Likewise.
16770         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
16771         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
16772         [POSIX] (SEEK_CUR): Likewise.
16773         [POSIX] (SEEK_END): Likewise.
16774         [POSIX || UNIX98] (mode_t): Do not require.
16775         [POSIX] (off_t): Likewise.
16776         [POSIX] (pid_t): Likewise.
16777         [POSIX] (sys/stat.h): Do not allow header.
16778         [POSIX] (unistd.h): Likewise.
16779         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
16780         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
16781         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
16782         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
16783         require.
16784         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
16785         sigevent): Specify elements.
16786         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
16787         entry.
16788         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
16789         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
16791         * conform/data/cpio.h-data [POSIX]: Disable whole file.
16792         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
16793         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
16794         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
16795         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
16796         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
16797         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
16798         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
16799         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
16800         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
16801         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
16802         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
16803         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
16804         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
16805         Likewise.
16806         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
16807         Likewise.
16808         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
16809         Likewise.
16810         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
16811         Likewise.
16812         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
16813         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
16814         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
16815         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
16816         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
16817         Specify lower bound on value.
16818         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
16819         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
16820         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
16821         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
16822         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
16823         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
16824         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
16825         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
16826         value.
16827         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
16828         as optional.
16829         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
16830         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
16831         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
16832         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
16833         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
16834         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
16835         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
16836         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
16837         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
16838         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
16839         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
16840         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
16841         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
16842         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
16843         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
16844         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
16845         entry.
16846         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
16847         optional.
16848         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
16849         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
16850         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
16851         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
16852         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
16853         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
16854         Likewise.
16855         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
16856         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
16857         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
16858         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
16859         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
16860         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
16861         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
16862         as optional.
16863         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
16864         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
16865         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
16866         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
16867         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
16868         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
16869         specify as optional.
16870         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
16871         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
16872         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
16873         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
16874         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
16875         [XPG3] (NL_LANGMAX): Likewise.
16876         [POSIX || XPG3] (NL_MSGMAX): Likewise.
16877         [POSIX || XPG3] (NL_NMAX): Likewise.
16878         [POSIX || XPG3] (NL_SETMAX): Likewise.
16879         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
16880         [XPG3] (NZERO): Likewise.
16881         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
16882         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
16883         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
16884         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
16885         (REG_ERANGE): Expect.
16886         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
16887         optional-constant.
16888         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
16889         Use (void) in prototype.
16890         [POSIX] (*_t): Allow.
16891         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
16892         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
16893         (WRDE_BADVAL): Expect.
16895         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
16896         expect.
16897         [XPG3 || XPG4] (O_RSYNC): Likewise.
16898         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
16899         Likewise.
16900         [XPG3 || XPG4] (pthread_sigmask): Likewise.
16901         [XPG3 || XPG4] (sigqueue): Likewise.
16902         [XPG3 || XPG4] (sigtimedwait): Likewise.
16903         [XPG3 || XPG4] (sigwaitinfo): Likewise.
16904         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
16905         [XPG3 || XPG4] (vsnprintf): Likewise.
16906         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
16907         Likewise.
16908         [XPG3 || XPG4] (blksize_t): Likewise.
16909         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
16910         Likewise.
16911         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
16912         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
16913         [XPG3 || XPG4] (struct itimerspec): Likewise.
16914         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
16915         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
16916         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
16917         [XPG3 || XPG4] (clockid_t): Likewise.
16918         [XPG3 || XPG4] (timer_t): Likewise.
16919         [XPG3 || XPG4] (clock_getres): Likewise.
16920         [XPG3 || XPG4] (clock_gettime): Likewise.
16921         [XPG3 || XPG4] (clock_settime): Likewise.
16922         [XPG3 || XPG4] (nanosleep): Likewise.
16923         [XPG3 || XPG4] (timer_create): Likewise.
16924         [XPG3 || XPG4] (timer_delete): Likewise.
16925         [XPG3 || XPG4] (timer_gettime): Likewise.
16926         [XPG3 || XPG4] (timer_getoverrun): Likewise.
16927         [XPG3 || XPG4] (timer_settime): Likewise.
16928         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
16929         [XPG3 || XPG4] (getlogin_r): Likewise.
16930         [XPG3 || XPG4] (pread): Likewise.
16931         [XPG3 || XPG4] (pthread_atfork): Likewise.
16932         [XPG3 || XPG4] (pwrite): Likewise.
16934         [BZ #14835]
16935         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
16936         <bits/siginfo.h>.
16938 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
16940         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
16941         finalizing MALLSTREAM.
16943         * sysdeps/mach/hurd/syncfs.c: New file.
16945 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
16947         [BZ #14719]
16948         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
16949         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
16950         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
16951         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
16952         (_nss_dns_gethostbyname4_r): Likewise.
16953         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
16954         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
16956 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
16958         [BZ #13763]
16959         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
16961 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
16963         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
16964         * elf/cache.c (print_entry): Print ",AArch64" for
16965         FLAG_AARCH64_LIB64
16967         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
16968         * elf/cache.c (print_entry): Print ",hard-float" for
16969         FLAG_ARM_LIBHF.
16971 2012-11-18  David S. Miller  <davem@davemloft.net>
16973         With help from Joseph Myers.
16974         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
16975         cutoff to 2**-13.
16976         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
16977         cutoff to 2**-25.
16978         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
16979         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
16980         small.
16981         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
16982         * math/libm-test.inc (y0_test): New tests.
16983         (y1_test): New tests.
16984         * sysdeps/i386/fpu/libm-test-ulps: Update.
16985         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16986         * sysdeps/sparc/fpu/libm-test-ulps: Update.
16988 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
16990         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
16991         64-bit targets.
16992         * configure: Regenerated.
16994 2012-11-17  David S. Miller  <davem@davemloft.net>
16996         [BZ #14811]
16997         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
16998         nonzero exponents with absolute value below 0x1p-128 to +/-
16999         0x1p-128.
17001 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
17003         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
17005         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
17007         * posix/getconf-speclist.c: New file.
17008         * posix/posix-envs.def: Likewise.
17009         * posix/confstr.c (START_ENV_GROUP): New macro.
17010         (END_ENV_GROUP): Likewise.
17011         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
17012         (KNOWN_PRESENT_ENV_STRING): Likewise.
17013         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
17014         (UNKNOWN_ENVIRONMENT): Likewise.
17015         (confstr): Include posix-envs.def instead of handling
17016         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
17017         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
17018         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
17019         (END_ENV_GROUP): Likewise.
17020         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
17021         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
17022         (UNKNOWN_ENVIRONMENT): Likewise.
17023         (__sysconf): Include posix-envs.def instead of handling associated
17024         cases directly here.
17025         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
17026         preprocessing getconf-speclist.c rather than running getconf or
17027         generating empty file.
17029 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
17031         * scripts/check-local-headers.sh: Ignore 'mach' headers.
17033 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
17035         [BZ #14672]
17036         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
17038 2012-11-16  David S. Miller  <davem@davemloft.net>
17040         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
17041         smaller than LDBL_EPSILON/2.0L, just return xm1.
17043 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
17045         * elf/tst-array1.c (init): Set constructor priority to 1000.
17046         (fini): Set destructor priority to 1000.
17047         * elf/tst-array2dep.c: Likewise.
17049 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
17051         [BZ #11741]
17052         * libio/fileops.c (_IO_new_file_write): Correctly return error.
17053         (_IO_new_file_xsputn): Also return EOF if none of the input
17054         data was written when overflow failed.
17055         * libio/iopadn.c (_IO_padn): Likewise.
17056         * libio/iowpadn.c (_IO_wpadn): Likewise.
17057         * stdio-common/tst-put-error.c: Add copyright notice.
17058         (do_test): Add case for printing padded string.
17059         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
17060         _IO_padn returned error.
17061         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
17062         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
17063         return EOF.
17065 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
17067         * libio/libioP.h: Add comment note that the references to C++
17068         bits are now obsolete.
17070 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
17072         * math/libm-test.inc (check_complex): Use asprintf.
17074 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
17076         * debug/pcprofiledump.c (print_version): Update copyright year.
17077         * malloc/memusagestat.c (print_version): Likewise.
17079 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
17081         [BZ #14831]
17082         * elf/Makefile (tests): Add tst-audit8.
17083         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
17084         ($(objpfx)tst-audit8.out): New target.
17085         (tst-audit8-ENV): New variable.
17086         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
17087         audit if l_reloc_result is NULL.
17088         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
17089         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
17090         * elf/tst-audit8.c: New file.
17092 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
17094         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
17095         * misc/Makefile (CFLAGS-select.c): Define.
17096         * posix/Makefile (CFLAGS-pause.c): Define.
17098 2012-11-13  David S. Miller  <davem@davemloft.net>
17100         * crypt/Makefile: Move test targets after toplevel Rules
17101         inclusion.  Grab any necessary sysdep routines when linking.
17102         * crypt/md5.c (md5_process_block): Remove define, we will always
17103         name it __md5_process_block.
17104         (md5_finish_ctx): Update md5_process_block call.
17105         (md5_stream): Likewise.
17106         (md5_process_bytes): Likewise.
17107         (md5_process_block): Rename to __md5_process_block and move to ...
17108         * crypt/md5-block.c: ... here.
17109         * crypt/sha256.c (sha256_process_block): Move to ...
17110         * crypt/sha256-block.c: ... here.
17111         * crypt/sha512.c (sha512_process_block): Move to ...
17112         * crypt/sha512-block.c: ... here.
17113         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
17114         path.
17115         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
17116         * sysdeps/sparc/sparc64/multiarch/Makefile
17117         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
17118         crypt subdir.
17119         (localedef-aux): Add md5 crypto assembler when in locale subdir.
17120         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
17121         multiarch changes.
17122         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
17123         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
17124         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
17125         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
17126         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
17127         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
17128         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
17129         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
17130         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
17131         file.
17132         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
17133         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
17134         file.
17135         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
17137 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
17139         * timezone/tzselect.ksh: Update from tzcode git revision
17140         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
17141         * timezone/zdump.c: Likewise.
17142         * timezone/zic.c: Likewise.
17143         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
17144         in TZVERSION setting, not $(PKGVERSION).
17145         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
17146         REPORT_BUGS_TO settings.
17148         [BZ #14838]
17149         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
17150         macro.
17152 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
17154         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
17155         detection to immediately after _FP_ROUND().
17156         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
17157         bits are 0.
17159 2012-11-11  David S. Miller  <davem@davemloft.net>
17161         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
17162         inttypes.h
17163         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
17164         __close rather than their public counterparts.
17166 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
17168         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
17169         file.
17170         [UNIX98] (sem_timedwait): Do not expect.
17171         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
17172         [XPG4 || UNIX98] (sockatmark): Do not expect.
17173         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
17174         (clock_getcpuclockid): Do not expect.
17175         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
17176         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
17177         Do not expect.
17178         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
17179         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
17180         [UNIX98] (vwscanf): Likewise.
17181         [UNIX98] (vswscanf): Likewise.
17183 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
17185         * timezone/version.h: Remove file.
17186         * timezone/README: Do not refer to version.h.
17187         * timezone/Makefile ($(objpfx)zic.o): New dependency on
17188         $(objpfx)version.h.
17189         ($(objpfx)zdump.o): Likewise.
17190         ($(objpfx)version.h): New target.
17192         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
17193         2012i.
17194         * timezone/README: Don't mention modification to tzselect.ksh.
17195         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
17196         work on unmodified tzselect.ksh.  Substitute version numbers in
17197         tzselect.ksh.
17199         * Makefile (format-me): Remove.
17200         (INSTALL): Adjust indentation.  Use commands directly instead of
17201         using $(format-me).
17203         * aclocal.m4 (ACX_PKGVERSION): New macro.
17204         (ACX_BUGURL): Likewise.
17205         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
17206         (PKGVERSION): New AC_DEFINE_UNQUOTED.
17207         (REPORT_BUGS_TO): Likewise.
17208         * configure: Regenerated.
17209         * config.h.in (PKGVERSION): New macro.
17210         (REPORT_BUGS_TO): Likewise.
17211         * config.make.in (PKGVERSION): New variable.
17212         (PKGVERSION_TEXI): Likewise.
17213         (REPORT_BUGS_TO): Likewise.
17214         (REPORT_BUGS_TEXI): Likewise.
17215         * Makefile (format-me): Use -I$(common-objpfx)manual.
17216         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
17217         ($(common-objpfx)manual/%): New target.
17218         (manual/%): Remove target.
17219         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
17220         (print_version): Use PKGVERSION.
17221         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
17222         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
17223         and REPORT_BUGS_TO.
17224         ($(objpfx)xtrace): Likewise.
17225         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
17226         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
17227         (print_version): Use PKGVERSION.
17228         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
17229         (do_version): Use PKGVERSION.
17230         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
17231         REPORT_BUGS_TO.
17232         (common-ldd-rewrite): Likewise.
17233         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
17234         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
17235         (print_version): Use PKGVERSION.
17236         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
17237         * elf/pldd.c (argp_program_bug_address): Remove variable.
17238         (more_help): New function.
17239         (argp): Use more_help.
17240         (print_version): Use PKGVERSION.
17241         * elf/sln.c (main): Use PKGVERSION.
17242         (usage): Use REPORT_BUGS_TO.
17243         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
17244         (top level): Use PKGVERSION.
17245         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
17246         (print_version): Use PKGVERSION.
17247         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
17248         (print_version): Use PKGVERSION.
17249         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
17250         (print_version): Use PKGVERSION.
17251         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
17252         (print_version): Use PKGVERSION.
17253         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
17254         (print_version): Use PKGVERSION.
17255         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
17256         (print_version): Use PKGVERSION.
17257         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
17258         and BUGURL.
17259         ($(objpfx)memusage): Likewise.
17260         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
17261         (do_version): Use PKGVERSION.
17262         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
17263         (print_version): Use PKGVERSION.
17264         * malloc/mtrace.pl ($PACKAGE): Remove variable.
17265         ($PKGVERSION): New variable.
17266         ($REPORT_BUGS_TO): Likewise.
17267         (usage): Use $REPORT_BUGS_TO.
17268         (top level): Use $PKGVERSION.
17269         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
17270         ($(objpfx)pkgvers.texi): New rule.
17271         ($(objpfx)stamp-pkgvers): Likewise.
17272         * manual/install.texi: Include pkgvers.texi.
17273         (--with-pkgversion): Document new configure option.
17274         (--with-bugurl): Likewise.
17275         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
17276         than necessarily for this particular distribution.  Use
17277         REPORT_BUGS_TO for where to report bugs.
17278         * INSTALL: Regenerated.
17279         * manual/libc.texinfo: Include pkgvers.texi.
17280         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
17281         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
17282         (print_version): Use PKGVERSION.
17283         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
17284         (print_version): Use PKGVERSION.
17285         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
17286         (print_version): Use PKGVERSION.
17287         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
17288         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
17289         macro.
17290         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
17291         (print_version): Use PKGVERSION.
17292         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
17293         (print_version): Use PKGVERSION.
17294         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
17295         and PKGVERSION.
17297         * timezone/checktab.awk: Update from tzcode 2012i.
17298         * timezone/ialloc.c: Likewise.
17299         * timezone/private.h: Likewise.
17300         * timezone/scheck.c: Likewise.
17301         * timezone/tzfile.h: Likewise.
17302         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
17303         (TZVERSION): Hardcode tzcode version number.
17304         * timezone/zdump.c: Update from tzcode 2012i.
17305         * timezone/zic.c: Likewise.
17306         * timezone/version.h: New file.
17307         * timezone/README: Describe version.h.  Update upstream location.
17309         [BZ #14824]
17310         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
17311         (mktemp): Enable declaration.
17312         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
17313         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
17314         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
17315         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
17316         Likewise.
17317         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
17318         Likewise.
17319         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
17320         Likewise.
17321         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
17322         Likewise.
17323         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
17324         Likewise.
17325         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
17326         Likewise.
17328         [BZ #14821]
17329         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
17330         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
17331         for copies of such integer values.
17332         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
17333         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
17335 2012-11-09  Andreas Jaeger  <aj@suse.de>
17337         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
17338         definitions and declarations that are provided by
17339         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
17341 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
17343         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
17344         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
17345         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
17346         definition.
17348 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
17350         * elf/elf.h: Update comment before AArch64 relocations.
17352 2012-11-07  David S. Miller  <davem@davemloft.net>
17354         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
17355         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
17356         (__start_context): Declare.
17357         (__makecontext_ret): Delete.
17358         (__makecontext): Hook up __start_context instead of
17359         __makecontext_ret.
17360         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
17361         (sysdep_routines): Add __start_context when in stdlib.
17363 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
17365         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
17366         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
17367         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
17368         hardcoded "nm".
17369         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
17370         (READELF): New variable.  Use it instead of hardcoded "readelf".
17372 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
17374         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
17375         * sysdeps/x86/Makefile: Here.
17376         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
17377         * sysdeps/x86/tst-xmmymm.sh: This.
17379 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
17381         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
17382         expectations.
17383         [UNIX98] (pthread_barrier_t): Do not expect.
17384         [UNIX98] (pthread_barrierattr_t): Likewise.
17385         [UNIX98] (pthread_spinlock_t): Likewise.
17386         [UNIX98] (pthread_barrier_destroy): Likewise.
17387         [UNIX98] (pthread_barrier_init): Likewise.
17388         [UNIX98] (pthread_barrier_wait): Likewise.
17389         [UNIX98] (pthread_barrierattr_destroy): Likewise.
17390         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
17391         [UNIX98] (pthread_barrierattr_init): Likewise.
17392         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
17393         [UNIX98] (pthread_getcpuclockid): Likewise.
17394         [UNIX98] (pthread_mutex_timedlock): Likewise.
17395         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
17396         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
17397         [UNIX98] (pthread_sigmask): Likewise.
17398         [UNIX98] (pthread_spin_destroy): Likewise.
17399         [UNIX98] (pthread_spin_init): Likewise.
17400         [UNIX98] (pthread_spin_lock): Likewise.
17401         [UNIX98] (pthread_spin_trylock): Likewise.
17402         [UNIX98] (pthread_spin_unlock): Likewise.
17403         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
17404         Do not expect.
17405         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
17406         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
17407         [XPG3 || XPG4] (pthread_cond_t): Likewise.
17408         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
17409         [XPG3 || XPG4] (pthread_key_t): Likewise.
17410         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
17411         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
17412         [XPG3 || XPG4] (pthread_once_t): Likewise.
17413         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
17414         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
17415         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
17416         [XPG3 || XPG4] (pthread_t): Likewise.
17418         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
17419         not expect.
17420         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
17422         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
17423         Change function return type to int.
17425         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
17426         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
17427         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
17428         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
17429         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
17430         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
17431         [!POSIX] (posix_madvise): Likewise.
17432         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
17433         && !UNIX98].
17434         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
17435         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
17436         (mode_t): Likewise.
17437         (posix_mem_offset): Likewise.
17438         (posix_typed_mem_get_info): Likewise.
17439         (posix_typed_mem_open): Likewise.
17441         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
17442         Change condition to [XOPEN2K8].
17444         * conform/conformtest.pl: Preprocess allow-header data with -x c
17445         instead of from stdin.
17446         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
17447         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
17448         [C99-based standards] (cerfc): Likewise.
17449         [C99-based standards] (cexp2): Likewise.
17450         [C99-based standards] (cexpm1): Likewise.
17451         [C99-based standards] (clog10): Likewise.
17452         [C99-based standards] (clog1p): Likewise.
17453         [C99-based standards] (clog2): Likewise.
17454         [C99-based standards] (clgamma): Likewise.
17455         [C99-based standards] (ctgamma): Likewise.
17456         [C99-based standards] (cerff): Likewise.
17457         [C99-based standards] (cerfcf): Likewise.
17458         [C99-based standards] (cexp2f): Likewise.
17459         [C99-based standards] (cexpm1f): Likewise.
17460         [C99-based standards] (clog10f): Likewise.
17461         [C99-based standards] (clog1pf): Likewise.
17462         [C99-based standards] (clog2f): Likewise.
17463         [C99-based standards] (clgammaf): Likewise.
17464         [C99-based standards] (ctgammaf): Likewise.
17465         [C99-based standards] (cerfl): Likewise.
17466         [C99-based standards] (cerfcl): Likewise.
17467         [C99-based standards] (cexp2l): Likewise.
17468         [C99-based standards] (cexpm1l): Likewise.
17469         [C99-based standards] (clog10l): Likewise.
17470         [C99-based standards] (clog1pl): Likewise.
17471         [C99-based standards] (clog2l): Likewise.
17472         [C99-based standards] (clgammal): Likewise.
17473         [C99-based standards] (ctgammal): Likewise.
17474         * conform/data/inttypes.h-data [C99-based standards]: Include
17475         stdint.h-data.  Remove all expectations for stdint.h contents.
17476         [C99-based standards] (PRI*): Do not allow.
17477         [C99-based standards] (SCN*): Likewise.
17478         [C99-based standards] (*_t): Likewise.
17479         [C99-based-standards] (PRId8): Expect macro.
17480         [C99-based-standards] (PRIi8): Likewise.
17481         [C99-based-standards] (PRIo8): Likewise.
17482         [C99-based-standards] (PRIu8): Likewise.
17483         [C99-based-standards] (PRIx8): Likewise.
17484         [C99-based-standards] (PRIX8): Likewise.
17485         [C99-based-standards] (SCNd8): Likewise.
17486         [C99-based-standards] (SCNi8): Likewise.
17487         [C99-based-standards] (SCNo8): Likewise.
17488         [C99-based-standards] (SCNu8): Likewise.
17489         [C99-based-standards] (SCNx8): Likewise.
17490         [C99-based-standards] (PRIdLEAST8): Likewise.
17491         [C99-based-standards] (PRIiLEAST8): Likewise.
17492         [C99-based-standards] (PRIoLEAST8): Likewise.
17493         [C99-based-standards] (PRIuLEAST8): Likewise.
17494         [C99-based-standards] (PRIxLEAST8): Likewise.
17495         [C99-based-standards] (PRIXLEAST8): Likewise.
17496         [C99-based-standards] (SCNdLEAST8): Likewise.
17497         [C99-based-standards] (SCNiLEAST8): Likewise.
17498         [C99-based-standards] (SCNoLEAST8): Likewise.
17499         [C99-based-standards] (SCNuLEAST8): Likewise.
17500         [C99-based-standards] (SCNxLEAST8): Likewise.
17501         [C99-based-standards] (PRIdFAST8): Likewise.
17502         [C99-based-standards] (PRIiFAST8): Likewise.
17503         [C99-based-standards] (PRIoFAST8): Likewise.
17504         [C99-based-standards] (PRIuFAST8): Likewise.
17505         [C99-based-standards] (PRIxFAST8): Likewise.
17506         [C99-based-standards] (PRIXFAST8): Likewise.
17507         [C99-based-standards] (SCNdFAST8): Likewise.
17508         [C99-based-standards] (SCNiFAST8): Likewise.
17509         [C99-based-standards] (SCNoFAST8): Likewise.
17510         [C99-based-standards] (SCNuFAST8): Likewise.
17511         [C99-based-standards] (SCNxFAST8): Likewise.
17512         [C99-based-standards] (PRId16): Likewise.
17513         [C99-based-standards] (PRIi16): Likewise.
17514         [C99-based-standards] (PRIo16): Likewise.
17515         [C99-based-standards] (PRIu16): Likewise.
17516         [C99-based-standards] (PRIx16): Likewise.
17517         [C99-based-standards] (PRIX16): Likewise.
17518         [C99-based-standards] (SCNd16): Likewise.
17519         [C99-based-standards] (SCNi16): Likewise.
17520         [C99-based-standards] (SCNo16): Likewise.
17521         [C99-based-standards] (SCNu16): Likewise.
17522         [C99-based-standards] (SCNx16): Likewise.
17523         [C99-based-standards] (PRIdLEAST16): Likewise.
17524         [C99-based-standards] (PRIiLEAST16): Likewise.
17525         [C99-based-standards] (PRIoLEAST16): Likewise.
17526         [C99-based-standards] (PRIuLEAST16): Likewise.
17527         [C99-based-standards] (PRIxLEAST16): Likewise.
17528         [C99-based-standards] (PRIXLEAST16): Likewise.
17529         [C99-based-standards] (SCNdLEAST16): Likewise.
17530         [C99-based-standards] (SCNiLEAST16): Likewise.
17531         [C99-based-standards] (SCNoLEAST16): Likewise.
17532         [C99-based-standards] (SCNuLEAST16): Likewise.
17533         [C99-based-standards] (SCNxLEAST16): Likewise.
17534         [C99-based-standards] (PRIdFAST16): Likewise.
17535         [C99-based-standards] (PRIiFAST16): Likewise.
17536         [C99-based-standards] (PRIoFAST16): Likewise.
17537         [C99-based-standards] (PRIuFAST16): Likewise.
17538         [C99-based-standards] (PRIxFAST16): Likewise.
17539         [C99-based-standards] (PRIXFAST16): Likewise.
17540         [C99-based-standards] (SCNdFAST16): Likewise.
17541         [C99-based-standards] (SCNiFAST16): Likewise.
17542         [C99-based-standards] (SCNoFAST16): Likewise.
17543         [C99-based-standards] (SCNuFAST16): Likewise.
17544         [C99-based-standards] (SCNxFAST16): Likewise.
17545         [C99-based-standards] (PRId32): Likewise.
17546         [C99-based-standards] (PRIi32): Likewise.
17547         [C99-based-standards] (PRIo32): Likewise.
17548         [C99-based-standards] (PRIu32): Likewise.
17549         [C99-based-standards] (PRIx32): Likewise.
17550         [C99-based-standards] (PRIX32): Likewise.
17551         [C99-based-standards] (SCNd32): Likewise.
17552         [C99-based-standards] (SCNi32): Likewise.
17553         [C99-based-standards] (SCNo32): Likewise.
17554         [C99-based-standards] (SCNu32): Likewise.
17555         [C99-based-standards] (SCNx32): Likewise.
17556         [C99-based-standards] (PRIdLEAST32): Likewise.
17557         [C99-based-standards] (PRIiLEAST32): Likewise.
17558         [C99-based-standards] (PRIoLEAST32): Likewise.
17559         [C99-based-standards] (PRIuLEAST32): Likewise.
17560         [C99-based-standards] (PRIxLEAST32): Likewise.
17561         [C99-based-standards] (PRIXLEAST32): Likewise.
17562         [C99-based-standards] (SCNdLEAST32): Likewise.
17563         [C99-based-standards] (SCNiLEAST32): Likewise.
17564         [C99-based-standards] (SCNoLEAST32): Likewise.
17565         [C99-based-standards] (SCNuLEAST32): Likewise.
17566         [C99-based-standards] (SCNxLEAST32): Likewise.
17567         [C99-based-standards] (PRIdFAST32): Likewise.
17568         [C99-based-standards] (PRIiFAST32): Likewise.
17569         [C99-based-standards] (PRIoFAST32): Likewise.
17570         [C99-based-standards] (PRIuFAST32): Likewise.
17571         [C99-based-standards] (PRIxFAST32): Likewise.
17572         [C99-based-standards] (PRIXFAST32): Likewise.
17573         [C99-based-standards] (SCNdFAST32): Likewise.
17574         [C99-based-standards] (SCNiFAST32): Likewise.
17575         [C99-based-standards] (SCNoFAST32): Likewise.
17576         [C99-based-standards] (SCNuFAST32): Likewise.
17577         [C99-based-standards] (SCNxFAST32): Likewise.
17578         [C99-based-standards] (PRId64): Likewise.
17579         [C99-based-standards] (PRIi64): Likewise.
17580         [C99-based-standards] (PRIo64): Likewise.
17581         [C99-based-standards] (PRIu64): Likewise.
17582         [C99-based-standards] (PRIx64): Likewise.
17583         [C99-based-standards] (PRIX64): Likewise.
17584         [C99-based-standards] (SCNd64): Likewise.
17585         [C99-based-standards] (SCNi64): Likewise.
17586         [C99-based-standards] (SCNo64): Likewise.
17587         [C99-based-standards] (SCNu64): Likewise.
17588         [C99-based-standards] (SCNx64): Likewise.
17589         [C99-based-standards] (PRIdLEAST64): Likewise.
17590         [C99-based-standards] (PRIiLEAST64): Likewise.
17591         [C99-based-standards] (PRIoLEAST64): Likewise.
17592         [C99-based-standards] (PRIuLEAST64): Likewise.
17593         [C99-based-standards] (PRIxLEAST64): Likewise.
17594         [C99-based-standards] (PRIXLEAST64): Likewise.
17595         [C99-based-standards] (SCNdLEAST64): Likewise.
17596         [C99-based-standards] (SCNiLEAST64): Likewise.
17597         [C99-based-standards] (SCNoLEAST64): Likewise.
17598         [C99-based-standards] (SCNuLEAST64): Likewise.
17599         [C99-based-standards] (SCNxLEAST64): Likewise.
17600         [C99-based-standards] (PRIdFAST64): Likewise.
17601         [C99-based-standards] (PRIiFAST64): Likewise.
17602         [C99-based-standards] (PRIoFAST64): Likewise.
17603         [C99-based-standards] (PRIuFAST64): Likewise.
17604         [C99-based-standards] (PRIxFAST64): Likewise.
17605         [C99-based-standards] (PRIXFAST64): Likewise.
17606         [C99-based-standards] (SCNdFAST64): Likewise.
17607         [C99-based-standards] (SCNiFAST64): Likewise.
17608         [C99-based-standards] (SCNoFAST64): Likewise.
17609         [C99-based-standards] (SCNuFAST64): Likewise.
17610         [C99-based-standards] (SCNxFAST64): Likewise.
17611         [C99-based-standards] (PRIdMAX): Likewise.
17612         [C99-based-standards] (PRIiMAX): Likewise.
17613         [C99-based-standards] (PRIoMAX): Likewise.
17614         [C99-based-standards] (PRIuMAX): Likewise.
17615         [C99-based-standards] (PRIxMAX): Likewise.
17616         [C99-based-standards] (PRIXMAX): Likewise.
17617         [C99-based-standards] (SCNdMAX): Likewise.
17618         [C99-based-standards] (SCNiMAX): Likewise.
17619         [C99-based-standards] (SCNoMAX): Likewise.
17620         [C99-based-standards] (SCNuMAX): Likewise.
17621         [C99-based-standards] (SCNxMAX): Likewise.
17622         [C99-based-standards] (PRIdPTR): Likewise.
17623         [C99-based-standards] (PRIiPTR): Likewise.
17624         [C99-based-standards] (PRIoPTR): Likewise.
17625         [C99-based-standards] (PRIuPTR): Likewise.
17626         [C99-based-standards] (PRIxPTR): Likewise.
17627         [C99-based-standards] (PRIXPTR): Likewise.
17628         [C99-based-standards] (SCNdPTR): Likewise.
17629         [C99-based-standards] (SCNiPTR): Likewise.
17630         [C99-based-standards] (SCNoPTR): Likewise.
17631         [C99-based-standards] (SCNuPTR): Likewise.
17632         [C99-based-standards] (SCNxPTR): Likewise.
17633         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
17634         allow.
17635         * conform/data/stdint.h-data: Update comments to clarify
17636         requirements.
17637         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
17638         type.
17639         [C99-based standards] (INT8_MAX): Likewise.
17640         [C99-based standards] (INT16_MIN): Likewise.
17641         [C99-based standards] (INT16_MAX): Likewise.
17642         [C99-based standards] (INT32_MIN): Likewise.
17643         [C99-based standards] (INT32_MAX): Likewise.
17644         [C99-based standards] (INT64_MIN): Likewise.
17645         [C99-based standards] (INT64_MAX): Likewise.
17646         [C99-based standards] (UINT8_MAX): Likewise.
17647         [C99-based standards] (UINT16_MAX): Likewise.
17648         [C99-based standards] (UINT32_MAX): Likewise.
17649         [C99-based standards] (UINT64_MAX): Likewise.
17650         [C99-based standards] (INT_LEAST8_MIN): Likewise.
17651         [C99-based standards] (INT_LEAST8_MAX): Likewise.
17652         [C99-based standards] (INT_LEAST16_MIN): Likewise.
17653         [C99-based standards] (INT_LEAST16_MAX): Likewise.
17654         [C99-based standards] (INT_LEAST32_MIN): Likewise.
17655         [C99-based standards] (INT_LEAST32_MAX): Likewise.
17656         [C99-based standards] (INT_LEAST64_MIN): Likewise.
17657         [C99-based standards] (INT_LEAST64_MAX): Likewise.
17658         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
17659         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
17660         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
17661         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
17662         [C99-based standards] (INT_FAST8_MIN): Likewise.
17663         [C99-based standards] (INT_FAST8_MAX): Likewise.
17664         [C99-based standards] (INT_FAST16_MIN): Likewise.
17665         [C99-based standards] (INT_FAST16_MAX): Likewise.
17666         [C99-based standards] (INT_FAST32_MIN): Likewise.
17667         [C99-based standards] (INT_FAST32_MAX): Likewise.
17668         [C99-based standards] (INT_FAST64_MIN): Likewise.
17669         [C99-based standards] (INT_FAST64_MAX): Likewise.
17670         [C99-based standards] (UINT_FAST8_MAX): Likewise.
17671         [C99-based standards] (UINT_FAST16_MAX): Likewise.
17672         [C99-based standards] (UINT_FAST32_MAX): Likewise.
17673         [C99-based standards] (UINT_FAST64_MAX): Likewise.
17674         [C99-based standards] (INTPTR_MIN): Likewise.
17675         [C99-based standards] (INTPTR_MAX): Likewise.
17676         [C99-based standards] (UINTPTR_MAX): Likewise.
17677         [C99-based standards] (INTMAX_MIN): Likewise.
17678         [C99-based standards] (INTMAX_MAX): Likewise.
17679         [C99-based standards] (UINTMAX_MAX): Likewise.
17680         [C99-based standards] (PTRDIFF_MIN): Likewise.
17681         [C99-based standards] (PTRDIFF_MAX): Likewise.
17682         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
17683         [C99-based standards] (SIZE_MAX): Likewise.
17684         [C99-based standards] (WCHAR_MAX): Likewise.
17685         [C99-based standards] (WINT_MAX): Likewise.
17686         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
17687         constraint on value.
17688         [C99-based standards] (WCHAR_MIN): Likewise.
17689         [C99-based standards] (WINT_MIN): Likewise.
17690         [C99-based standards] (*_t): Allow.
17691         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
17692         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
17693         Include math.h-data and complex.h-data.  Remove all expectations
17694         of math.h and complex.h contents.
17695         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
17696         at end of line.
17697         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
17698         (struct tm): Expect tag.
17699         [C99-based-standards] (wcstof): Expect function.
17700         [C99-based-standards] (wcstold): Likewise.
17701         [C99-based-standards] (wcstoll): Likewise.
17702         [C99-based-standards] (wcstoull): Likewise.
17703         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
17704         macro-int-constant.  Specify type.
17705         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
17706         constraint on value.
17707         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
17708         Specify type.
17709         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
17710         Specify value.
17711         [ISO C standards]: Do not allow headers.
17712         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
17713         wcs[abcdefghijklmnopqrstuvwxyz]*.
17714         [ISO C standards] (*_t): Do not allow.
17715         * conform/data/wctype.h-data [C99-based standards] (iswblank):
17716         Expect function.
17717         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
17718         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
17719         Specify type.
17720         [ISO C standards]: Do not allow headers.
17721         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
17722         is[abcdefghijklmnopqrstuvwxyz]*.
17723         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
17724         to[abcdefghijklmnopqrstuvwxyz]*.
17725         [ISO C standards] (*_t): Do not allow.
17726         * conform/data/stdalign.h-data: New file.
17727         * conform/data/stdbool.h-data: Likewise.
17728         * conform/data/stdnoreturn.h-data: Likewise.
17730 2012-11-07  Roland McGrath  <roland@hack.frob.com>
17732         [BZ #14815]
17733         * manual/filesys.texi (Directory Entries): Typo fix.
17734         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
17736 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
17738         * elf/elf.h (EM_AARCH64): New macro.
17739         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
17740         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
17741         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
17742         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
17743         (R_AARCH64_TLSDESC): Likewise.
17744         (NT_ARM_TLS): Likewise.
17745         (NT_ARM_HW_BREAK): Likewise.
17746         (NT_ARM_HW_WATCH): Likewise.
17748 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
17750         [BZ #14811]
17751         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
17752         (__ieee754_powl): Saturate nonzero exponents with absolute value
17753         below 0x1p-79 to +/- 0x1p-79.
17754         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
17755         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
17756         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
17757         nonzero exponents with absolute value below 0x1p-32 to +/-
17758         0x1p-32.
17759         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
17760         (__ieee754_powl): Saturate nonzero exponents with absolute value
17761         below 0x1p-79 to +/- 0x1p-79.
17762         * math/libm-test.inc (pow_test): Add more tests.
17764 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
17766         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
17767         _dl_s390_cap_flags with kernel. Increase string length.
17768         (_dl_s390_platforms): Add z196 and zEC12.
17770 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
17772         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
17773         Change XOPEN21K to XOPEN2K.
17775 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
17777         * string/memmove.c: Use memcpy when possible.
17779 2012-11-06  Andreas Jaeger  <aj@suse.de>
17781         * po/eo.po: Update from translation team.
17783 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
17785         [BZ #14793]
17786         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
17787         exponent and small x and y exponents, scale x or y up.  Increase
17788         by 2 the exponent used in scaling up.
17789         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
17790         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
17791         * math/libm-test.inc (fma_test): Add more tests.
17792         (fma_test_towardzero): Likewise.
17793         (fma_test_downward): Likewise.
17794         (fma_test_upward): Likewise.
17796 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
17798         [BZ #14805]
17799         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
17800         fenv_t *.
17802         [BZ #14801]
17803         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
17804         namespace for names of struct fields.
17805         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
17806         fenv_t fields.
17807         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
17808         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
17810 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
17812         [BZ #3665]
17813         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
17815 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
17817         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
17818         PTR_DEMANGLE.
17820         [BZ #5246]
17821         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
17822         PTR_DEMANGLE.
17824 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
17826         [BZ #14797]
17827         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
17828         definitely overflow as x * y not x * y + z.
17829         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
17830         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
17831         * math/libm-test.inc (fma_test): Add more tests.
17832         (fma_test_towardzero): Likewise.
17833         (fma_test_downward): Likewise.
17834         (fma_test_upward): Likewise.
17836 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
17838         [BZ #157]
17840         * include/stub-tag.h: Remove file.
17841         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
17842         '#include' of it.
17843         * manual/maint.texi (Porting): Don't reference it.
17844         * Makerules ($(objpfx)stubs): Likewise.
17845         * dirent/closedir.c: Don't include <stub-tag.h>.
17846         * dirent/dirfd.c: Likewise.
17847         * dirent/fdopendir.c: Likewise.
17848         * dirent/getdents.c: Likewise.
17849         * dirent/getdents64.c: Likewise.
17850         * dirent/opendir.c: Likewise.
17851         * dirent/readdir.c: Likewise.
17852         * dirent/readdir64.c: Likewise.
17853         * dirent/readdir64_r.c: Likewise.
17854         * dirent/readdir_r.c: Likewise.
17855         * dirent/rewinddir.c: Likewise.
17856         * dirent/seekdir.c: Likewise.
17857         * dirent/telldir.c: Likewise.
17858         * gmon/profil.c: Likewise.
17859         * grp/setgroups.c: Likewise.
17860         * inet/if_index.c: Likewise.
17861         * io/access.c: Likewise.
17862         * io/chdir.c: Likewise.
17863         * io/chmod.c: Likewise.
17864         * io/chown.c: Likewise.
17865         * io/close.c: Likewise.
17866         * io/dup.c: Likewise.
17867         * io/dup2.c: Likewise.
17868         * io/dup3.c: Likewise.
17869         * io/euidaccess.c: Likewise.
17870         * io/faccessat.c: Likewise.
17871         * io/fchdir.c: Likewise.
17872         * io/fchmod.c: Likewise.
17873         * io/fchmodat.c: Likewise.
17874         * io/fchown.c: Likewise.
17875         * io/fchownat.c: Likewise.
17876         * io/fcntl.c: Likewise.
17877         * io/flock.c: Likewise.
17878         * io/fstatfs.c: Likewise.
17879         * io/fstatfs64.c: Likewise.
17880         * io/fstatvfs.c: Likewise.
17881         * io/fstatvfs64.c: Likewise.
17882         * io/futimens.c: Likewise.
17883         * io/fxstat.c: Likewise.
17884         * io/fxstat64.c: Likewise.
17885         * io/fxstatat.c: Likewise.
17886         * io/fxstatat64.c: Likewise.
17887         * io/getcwd.c: Likewise.
17888         * io/isatty.c: Likewise.
17889         * io/lchmod.c: Likewise.
17890         * io/lchown.c: Likewise.
17891         * io/link.c: Likewise.
17892         * io/linkat.c: Likewise.
17893         * io/lseek.c: Likewise.
17894         * io/lseek64.c: Likewise.
17895         * io/lxstat64.c: Likewise.
17896         * io/mkdir.c: Likewise.
17897         * io/mkdirat.c: Likewise.
17898         * io/mkfifo.c: Likewise.
17899         * io/mkfifoat.c: Likewise.
17900         * io/open.c: Likewise.
17901         * io/open64.c: Likewise.
17902         * io/openat.c: Likewise.
17903         * io/openat64.c: Likewise.
17904         * io/pipe.c: Likewise.
17905         * io/pipe2.c: Likewise.
17906         * io/poll.c: Likewise.
17907         * io/posix_fadvise.c: Likewise.
17908         * io/posix_fadvise64.c: Likewise.
17909         * io/posix_fallocate.c: Likewise.
17910         * io/posix_fallocate64.c: Likewise.
17911         * io/read.c: Likewise.
17912         * io/readlink.c: Likewise.
17913         * io/readlinkat.c: Likewise.
17914         * io/rmdir.c: Likewise.
17915         * io/sendfile.c: Likewise.
17916         * io/sendfile64.c: Likewise.
17917         * io/statfs.c: Likewise.
17918         * io/statfs64.c: Likewise.
17919         * io/statvfs.c: Likewise.
17920         * io/statvfs64.c: Likewise.
17921         * io/symlink.c: Likewise.
17922         * io/symlinkat.c: Likewise.
17923         * io/ttyname.c: Likewise.
17924         * io/ttyname_r.c: Likewise.
17925         * io/umask.c: Likewise.
17926         * io/unlink.c: Likewise.
17927         * io/unlinkat.c: Likewise.
17928         * io/utime.c: Likewise.
17929         * io/utimensat.c: Likewise.
17930         * io/write.c: Likewise.
17931         * io/xmknod.c: Likewise.
17932         * io/xmknodat.c: Likewise.
17933         * io/xstat.c: Likewise.
17934         * io/xstat64.c: Likewise.
17935         * login/getpt.c: Likewise.
17936         * login/grantpt.c: Likewise.
17937         * login/unlockpt.c: Likewise.
17938         * math/e_acoshl.c: Likewise.
17939         * math/e_acosl.c: Likewise.
17940         * math/e_asinl.c: Likewise.
17941         * math/e_atan2l.c: Likewise.
17942         * math/e_atanhl.c: Likewise.
17943         * math/e_coshl.c: Likewise.
17944         * math/e_expl.c: Likewise.
17945         * math/e_fmodl.c: Likewise.
17946         * math/e_gammal_r.c: Likewise.
17947         * math/e_hypotl.c: Likewise.
17948         * math/e_j0l.c: Likewise.
17949         * math/e_j1l.c: Likewise.
17950         * math/e_jnl.c: Likewise.
17951         * math/e_lgammal_r.c: Likewise.
17952         * math/e_log10l.c: Likewise.
17953         * math/e_log2l.c: Likewise.
17954         * math/e_logl.c: Likewise.
17955         * math/e_powl.c: Likewise.
17956         * math/e_rem_pio2l.c: Likewise.
17957         * math/e_sinhl.c: Likewise.
17958         * math/e_sqrtl.c: Likewise.
17959         * math/fclrexcpt.c: Likewise.
17960         * math/fedisblxcpt.c: Likewise.
17961         * math/feenablxcpt.c: Likewise.
17962         * math/fegetenv.c: Likewise.
17963         * math/fegetexcept.c: Likewise.
17964         * math/fegetround.c: Likewise.
17965         * math/feholdexcpt.c: Likewise.
17966         * math/fesetenv.c: Likewise.
17967         * math/fesetround.c: Likewise.
17968         * math/feupdateenv.c: Likewise.
17969         * math/fgetexcptflg.c: Likewise.
17970         * math/fraiseexcpt.c: Likewise.
17971         * math/fsetexcptflg.c: Likewise.
17972         * math/ftestexcept.c: Likewise.
17973         * math/k_cosl.c: Likewise.
17974         * math/k_rem_pio2l.c: Likewise.
17975         * math/k_sinl.c: Likewise.
17976         * math/k_tanl.c: Likewise.
17977         * math/s_asinhl.c: Likewise.
17978         * math/s_atanl.c: Likewise.
17979         * math/s_cbrtl.c: Likewise.
17980         * math/s_erfl.c: Likewise.
17981         * math/s_expm1l.c: Likewise.
17982         * math/s_log1pl.c: Likewise.
17983         * math/s_tanhl.c: Likewise.
17984         * misc/acct.c: Likewise.
17985         * misc/brk.c: Likewise.
17986         * misc/chflags.c: Likewise.
17987         * misc/chroot.c: Likewise.
17988         * misc/fchflags.c: Likewise.
17989         * misc/fgetxattr.c: Likewise.
17990         * misc/flistxattr.c: Likewise.
17991         * misc/fremovexattr.c: Likewise.
17992         * misc/fsetxattr.c: Likewise.
17993         * misc/fsync.c: Likewise.
17994         * misc/ftruncate.c: Likewise.
17995         * misc/futimes.c: Likewise.
17996         * misc/futimesat.c: Likewise.
17997         * misc/getdomain.c: Likewise.
17998         * misc/getdtsz.c: Likewise.
17999         * misc/gethostid.c: Likewise.
18000         * misc/gethostname.c: Likewise.
18001         * misc/getloadavg.c: Likewise.
18002         * misc/getpagesize.c: Likewise.
18003         * misc/getsysstats.c: Likewise.
18004         * misc/getxattr.c: Likewise.
18005         * misc/gtty.c: Likewise.
18006         * misc/ioctl.c: Likewise.
18007         * misc/lgetxattr.c: Likewise.
18008         * misc/listxattr.c: Likewise.
18009         * misc/llistxattr.c: Likewise.
18010         * misc/lremovexattr.c: Likewise.
18011         * misc/lsetxattr.c: Likewise.
18012         * misc/lutimes.c: Likewise.
18013         * misc/madvise.c: Likewise.
18014         * misc/mincore.c: Likewise.
18015         * misc/mlock.c: Likewise.
18016         * misc/mlockall.c: Likewise.
18017         * misc/mmap.c: Likewise.
18018         * misc/mprotect.c: Likewise.
18019         * misc/msync.c: Likewise.
18020         * misc/munlock.c: Likewise.
18021         * misc/munlockall.c: Likewise.
18022         * misc/munmap.c: Likewise.
18023         * misc/preadv.c: Likewise.
18024         * misc/preadv64.c: Likewise.
18025         * misc/ptrace.c: Likewise.
18026         * misc/pwritev.c: Likewise.
18027         * misc/pwritev64.c: Likewise.
18028         * misc/readv.c: Likewise.
18029         * misc/reboot.c: Likewise.
18030         * misc/remap_file_pages.c: Likewise.
18031         * misc/removexattr.c: Likewise.
18032         * misc/revoke.c: Likewise.
18033         * misc/select.c: Likewise.
18034         * misc/setdomain.c: Likewise.
18035         * misc/setegid.c: Likewise.
18036         * misc/seteuid.c: Likewise.
18037         * misc/sethostid.c: Likewise.
18038         * misc/sethostname.c: Likewise.
18039         * misc/setregid.c: Likewise.
18040         * misc/setreuid.c: Likewise.
18041         * misc/setxattr.c: Likewise.
18042         * misc/sstk.c: Likewise.
18043         * misc/stty.c: Likewise.
18044         * misc/swapoff.c: Likewise.
18045         * misc/swapon.c: Likewise.
18046         * misc/sync.c: Likewise.
18047         * misc/syncfs.c: Likewise.
18048         * misc/syscall.c: Likewise.
18049         * misc/truncate.c: Likewise.
18050         * misc/ualarm.c: Likewise.
18051         * misc/usleep.c: Likewise.
18052         * misc/ustat.c: Likewise.
18053         * misc/utimes.c: Likewise.
18054         * misc/vhangup.c: Likewise.
18055         * misc/writev.c: Likewise.
18056         * posix/_exit.c: Likewise.
18057         * posix/alarm.c: Likewise.
18058         * posix/execve.c: Likewise.
18059         * posix/fexecve.c: Likewise.
18060         * posix/fork.c: Likewise.
18061         * posix/fpathconf.c: Likewise.
18062         * posix/getaddrinfo.c: Likewise.
18063         * posix/getegid.c: Likewise.
18064         * posix/geteuid.c: Likewise.
18065         * posix/getgid.c: Likewise.
18066         * posix/getgroups.c: Likewise.
18067         * posix/getlogin.c: Likewise.
18068         * posix/getlogin_r.c: Likewise.
18069         * posix/getpgid.c: Likewise.
18070         * posix/getpid.c: Likewise.
18071         * posix/getppid.c: Likewise.
18072         * posix/getresgid.c: Likewise.
18073         * posix/getresuid.c: Likewise.
18074         * posix/getsid.c: Likewise.
18075         * posix/getuid.c: Likewise.
18076         * posix/glob64.c: Likewise.
18077         * posix/nanosleep.c: Likewise.
18078         * posix/pathconf.c: Likewise.
18079         * posix/pause.c: Likewise.
18080         * posix/posix_madvise.c: Likewise.
18081         * posix/pread.c: Likewise.
18082         * posix/pread64.c: Likewise.
18083         * posix/pwrite.c: Likewise.
18084         * posix/pwrite64.c: Likewise.
18085         * posix/sched_getaffinity.c: Likewise.
18086         * posix/sched_getp.c: Likewise.
18087         * posix/sched_gets.c: Likewise.
18088         * posix/sched_primax.c: Likewise.
18089         * posix/sched_primin.c: Likewise.
18090         * posix/sched_rr_gi.c: Likewise.
18091         * posix/sched_setaffinity.c: Likewise.
18092         * posix/sched_setp.c: Likewise.
18093         * posix/sched_sets.c: Likewise.
18094         * posix/sched_yield.c: Likewise.
18095         * posix/setgid.c: Likewise.
18096         * posix/setlogin.c: Likewise.
18097         * posix/setpgid.c: Likewise.
18098         * posix/setresgid.c: Likewise.
18099         * posix/setresuid.c: Likewise.
18100         * posix/setsid.c: Likewise.
18101         * posix/setuid.c: Likewise.
18102         * posix/sleep.c: Likewise.
18103         * posix/spawni.c: Likewise.
18104         * posix/sysconf.c: Likewise.
18105         * posix/times.c: Likewise.
18106         * posix/wait.c: Likewise.
18107         * posix/wait3.c: Likewise.
18108         * posix/wait4.c: Likewise.
18109         * posix/waitpid.c: Likewise.
18110         * resolv/gai_sigqueue.c: Likewise.
18111         * resource/getpriority.c: Likewise.
18112         * resource/getrlimit.c: Likewise.
18113         * resource/getrusage.c: Likewise.
18114         * resource/nice.c: Likewise.
18115         * resource/setpriority.c: Likewise.
18116         * resource/setrlimit.c: Likewise.
18117         * resource/ulimit.c: Likewise.
18118         * rt/aio_cancel.c: Likewise.
18119         * rt/aio_fsync.c: Likewise.
18120         * rt/aio_read.c: Likewise.
18121         * rt/aio_sigqueue.c: Likewise.
18122         * rt/aio_suspend.c: Likewise.
18123         * rt/aio_write.c: Likewise.
18124         * rt/clock_getres.c: Likewise.
18125         * rt/clock_gettime.c: Likewise.
18126         * rt/clock_nanosleep.c: Likewise.
18127         * rt/clock_settime.c: Likewise.
18128         * rt/lio_listio.c: Likewise.
18129         * rt/mq_close.c: Likewise.
18130         * rt/mq_getattr.c: Likewise.
18131         * rt/mq_notify.c: Likewise.
18132         * rt/mq_open.c: Likewise.
18133         * rt/mq_receive.c: Likewise.
18134         * rt/mq_send.c: Likewise.
18135         * rt/mq_setattr.c: Likewise.
18136         * rt/mq_timedreceive.c: Likewise.
18137         * rt/mq_timedsend.c: Likewise.
18138         * rt/mq_unlink.c: Likewise.
18139         * rt/shm_open.c: Likewise.
18140         * rt/shm_unlink.c: Likewise.
18141         * rt/timer_create.c: Likewise.
18142         * rt/timer_delete.c: Likewise.
18143         * rt/timer_getoverr.c: Likewise.
18144         * rt/timer_gettime.c: Likewise.
18145         * rt/timer_settime.c: Likewise.
18146         * setjmp/__longjmp.c: Likewise.
18147         * setjmp/setjmp.c: Likewise.
18148         * signal/kill.c: Likewise.
18149         * signal/killpg.c: Likewise.
18150         * signal/raise.c: Likewise.
18151         * signal/sigaction.c: Likewise.
18152         * signal/sigaltstack.c: Likewise.
18153         * signal/sigblock.c: Likewise.
18154         * signal/sigignore.c: Likewise.
18155         * signal/sigintr.c: Likewise.
18156         * signal/signal.c: Likewise.
18157         * signal/sigpause.c: Likewise.
18158         * signal/sigpending.c: Likewise.
18159         * signal/sigqueue.c: Likewise.
18160         * signal/sigreturn.c: Likewise.
18161         * signal/sigset.c: Likewise.
18162         * signal/sigsetmask.c: Likewise.
18163         * signal/sigstack.c: Likewise.
18164         * signal/sigsuspend.c: Likewise.
18165         * signal/sigtimedwait.c: Likewise.
18166         * signal/sigvec.c: Likewise.
18167         * signal/sigwait.c: Likewise.
18168         * signal/sigwaitinfo.c: Likewise.
18169         * signal/sysv_signal.c: Likewise.
18170         * socket/accept.c: Likewise.
18171         * socket/accept4.c: Likewise.
18172         * socket/bind.c: Likewise.
18173         * socket/connect.c: Likewise.
18174         * socket/getpeername.c: Likewise.
18175         * socket/getsockname.c: Likewise.
18176         * socket/getsockopt.c: Likewise.
18177         * socket/isfdtype.c: Likewise.
18178         * socket/listen.c: Likewise.
18179         * socket/recv.c: Likewise.
18180         * socket/recvfrom.c: Likewise.
18181         * socket/recvmsg.c: Likewise.
18182         * socket/send.c: Likewise.
18183         * socket/sendmsg.c: Likewise.
18184         * socket/sendto.c: Likewise.
18185         * socket/setsockopt.c: Likewise.
18186         * socket/shutdown.c: Likewise.
18187         * socket/sockatmark.c: Likewise.
18188         * socket/socket.c: Likewise.
18189         * socket/socketpair.c: Likewise.
18190         * stdio-common/ctermid.c: Likewise.
18191         * stdio-common/cuserid.c: Likewise.
18192         * stdio-common/remove.c: Likewise.
18193         * stdio-common/rename.c: Likewise.
18194         * stdio-common/renameat.c: Likewise.
18195         * stdio-common/tempname.c: Likewise.
18196         * stdlib/getcontext.c: Likewise.
18197         * stdlib/makecontext.c: Likewise.
18198         * stdlib/setcontext.c: Likewise.
18199         * stdlib/swapcontext.c: Likewise.
18200         * stdlib/system.c: Likewise.
18201         * streams/fattach.c: Likewise.
18202         * streams/fdetach.c: Likewise.
18203         * streams/getmsg.c: Likewise.
18204         * streams/getpmsg.c: Likewise.
18205         * streams/putmsg.c: Likewise.
18206         * streams/putpmsg.c: Likewise.
18207         * sysdeps/unix/bsd/getpt.c: Likewise.
18208         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
18209         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
18210         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
18211         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
18212         Likewise.
18213         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
18214         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
18215         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
18216         * sysvipc/msgctl.c: Likewise.
18217         * sysvipc/msgget.c: Likewise.
18218         * sysvipc/msgrcv.c: Likewise.
18219         * sysvipc/msgsnd.c: Likewise.
18220         * sysvipc/semctl.c: Likewise.
18221         * sysvipc/semget.c: Likewise.
18222         * sysvipc/semop.c: Likewise.
18223         * sysvipc/semtimedop.c: Likewise.
18224         * sysvipc/shmat.c: Likewise.
18225         * sysvipc/shmctl.c: Likewise.
18226         * sysvipc/shmdt.c: Likewise.
18227         * sysvipc/shmget.c: Likewise.
18228         * termios/tcdrain.c: Likewise.
18229         * termios/tcflow.c: Likewise.
18230         * termios/tcflush.c: Likewise.
18231         * termios/tcgetattr.c: Likewise.
18232         * termios/tcgetpgrp.c: Likewise.
18233         * termios/tcsendbrk.c: Likewise.
18234         * termios/tcsetattr.c: Likewise.
18235         * termios/tcsetpgrp.c: Likewise.
18236         * time/adjtime.c: Likewise.
18237         * time/clock.c: Likewise.
18238         * time/getitimer.c: Likewise.
18239         * time/gettimeofday.c: Likewise.
18240         * time/setitimer.c: Likewise.
18241         * time/settimeofday.c: Likewise.
18242         * time/stime.c: Likewise.
18243         * time/time.c: Likewise.
18245 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
18247         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
18248         /usr/old/bin.
18250         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
18251         instead of spaces.
18252         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
18254 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
18256         [BZ #14796]
18257         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
18258         FE_TONEAREST before applying Dekker multiplication and Knuth
18259         addition.  Clear inexact exceptions and check for exact zero
18260         results afterwards.
18261         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
18262         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
18263         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
18264         * math/libm-test.inc (fma_test): Add more tests.
18265         (fma_test_towardzero): Likewise.
18266         (fma_test_downward): Likewise.
18267         (fma_test_upward): Likewise.
18268         * sysdeps/generic/math_private.h (default_libc_fesetround): New
18269         function.
18270         (libc_fesetround): New macro.
18271         (libc_fesetroundf): Likewise.
18272         (libc_fesetroundl): Likewise.
18273         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
18274         function.
18275         (libc_fesetround_387): Likewise.
18276         (libc_fesetroundf): New macro.
18277         (libc_fesetround): Likewise.
18278         (libc_fesetroundl): Likewise.
18279         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
18280         function.
18281         (libc_fesetroundf): New macro.
18282         (libc_fesetround): Likewise.
18283         (libc_fesetroundl): Likewise.
18284         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
18285         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
18286         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
18287         libm_hidden_ver.
18288         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
18289         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
18290         libm_hidden_def.
18291         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
18292         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
18293         libm_hidden_ver.
18294         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
18295         libm_hidden_def.
18297         [BZ #3439]
18298         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
18299         integer constant usable in #if and use that to give value to enum
18300         constant.
18301         (FE_DIVBYZERO): Likewise.
18302         (FE_UNDERFLOW): Likewise.
18303         (FE_OVERFLOW): Likewise.
18304         (FE_INVALID): Likewise.
18305         (FE_INVALID_SNAN): Likewise.
18306         (FE_INVALID_ISI): Likewise.
18307         (FE_INVALID_IDI): Likewise.
18308         (FE_INVALID_ZDZ): Likewise.
18309         (FE_INVALID_IMZ): Likewise.
18310         (FE_INVALID_COMPARE): Likewise.
18311         (FE_INVALID_SOFTWARE): Likewise.
18312         (FE_INVALID_SQRT): Likewise.
18313         (FE_INVALID_INTEGER_CONVERSION): Likewise.
18314         (FE_TONEAREST): Likewise.
18315         (FE_TOWARDZERO): Likewise.
18316         (FE_UPWARD): Likewise.
18317         (FE_DOWNWARD): Likewise.
18318         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
18319         (FE_DIVBYZERO): Likewise.
18320         (FE_OVERFLOW): Likewise.
18321         (FE_UNDERFLOW): Likewise.
18322         (FE_INEXACT): Likewise.
18323         (FE_TONEAREST): Likewise.
18324         (FE_DOWNWARD): Likewise.
18325         (FE_UPWARD): Likewise.
18326         (FE_TOWARDZERO): Likewise.
18327         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
18328         (FE_UNDERFLOW): Likewise.
18329         (FE_OVERFLOW): Likewise.
18330         (FE_DIVBYZERO): Likewise.
18331         (FE_INVALID): Likewise.
18332         (FE_TONEAREST): Likewise.
18333         (FE_TOWARDZERO): Likewise.
18334         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
18335         (FE_OVERFLOW): Likewise.
18336         (FE_UNDERFLOW): Likewise.
18337         (FE_DIVBYZERO): Likewise.
18338         (FE_INEXACT): Likewise.
18339         (FE_TONEAREST): Likewise.
18340         (FE_TOWARDZERO): Likewise.
18341         (FE_UPWARD): Likewise.
18342         (FE_DOWNWARD): Likewise.
18343         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
18344         (FE_DIVBYZERO): Likewise.
18345         (FE_OVERFLOW): Likewise.
18346         (FE_UNDERFLOW): Likewise.
18347         (FE_INEXACT): Likewise.
18348         (FE_TONEAREST): Likewise.
18349         (FE_DOWNWARD): Likewise.
18350         (FE_UPWARD): Likewise.
18351         (FE_TOWARDZERO): Likewise.
18353 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
18355         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
18357 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
18359         * scripts/cross-test-ssh.sh (command): Use newlines to separate
18360         commands.  Quote $PWD.
18361         (blacklist_exports): Don't use remove_newlines.  Replace "declare
18362         -x" by "export".
18363         (remove_newlines): Remove.
18365 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
18367         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
18368         * stdlib/stdlib.h (atof): Moved to ...
18369         * include/bits/stdlib-float.h: Here.  New file.
18370         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
18371         * stdlib/bits/stdlib-float.h: New file.
18372         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
18373         -mno-sse -mno-mmx.
18374         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
18375         <xmmintrin.h>.
18377 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
18379         * conform/conformtest.pl (@headers): Add fenv.h.
18380         * conform/data/fenv.h-data: New file.
18381         * include/fenv.h [_ISOMAC]: Disable all contents of file except
18382         include of <math/fenv.h>.
18384         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
18385         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
18386         && !UNIX98].  Enables tests for XOPEN2K8.
18387         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
18388         POSIX2008]: Likewise.
18390         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
18391         (struct rusage): Do not expect type or its members.
18393         [BZ #3439]
18394         * math/math.h (FP_NAN): Define macro to integer constant usable in
18395         #if and use that to give value to enum constant.
18396         (FP_INFINITE): Likewise.
18397         (FP_ZERO): Likewise.
18398         (FP_SUBNORMAL): Likewise.
18399         (FP_NORMAL): Likewise.
18401 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
18403         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
18404         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
18405         arguments.
18407 2012-11-02  Roland McGrath  <roland@hack.frob.com>
18409         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
18410         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
18411         autoconf-time if not.
18412         * configure.in: Remove AC_PREREQ.
18414 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
18416         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
18417         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
18418         of the internal implementation.
18420 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
18422         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
18423         except include of <misc/sys/syslog.h>.
18425 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
18427         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
18428         function returns with a NULL context exit with zero.
18430 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
18432         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
18434 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
18436         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
18437         (run_program_cmd): This.
18438         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
18439         (tst_langinfo): New variable.  Use it.
18441 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
18443         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
18444         floating point opcodes.
18446 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
18448         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
18449         variable.
18451         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
18453         * sysdeps/mach/hurd/powerpc: Remove directory.
18454         * sysdeps/mach/powerpc: Likewise.
18456 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
18458         * scripts/check-local-headers.sh: Ignore c++ headers.
18460 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
18462         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
18463         __libc_cleanup_region_start argument.
18465 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
18467         [BZ #14784]
18468         [BZ #14785]
18469         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
18470         x * y using scaling, not as x * y + z.
18471         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
18472         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
18473         * math/libm-test.inc (fma_test): Add more tests.
18474         (fma_test_towardzero): Likewise.
18475         (fma_test_downward): Likewise.
18476         (fma_test_upward): Likewise.
18478 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
18480         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
18482 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
18484         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
18485         New variable.
18487 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
18489         * rt/tst-shm.c (worker): Correct checking for mmap failure.
18491 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
18493         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
18494         Fix sort order.
18495         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
18496         Likewise.
18498 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
18500         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
18501         Fix the order of the list for glibc 2.17.
18502         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
18503         Likewise.
18505 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
18507         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18509 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
18511         [BZ #14610]
18512         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
18513         for low part of x being zero before using __atanl (y).
18514         * math/libm-test.inc (atan2_test): Add another test.
18516         * manual/install.texi (Configuring and compiling): Document
18517         general use of test-wrapper and test-wrapper-env.
18518         * INSTALL: Regenerated.
18520         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
18521         (__fma): Do not extract and scale down low bits on after-rounding
18522         systems when result rounded to normal precision would have normal
18523         exponent.
18524         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
18525         (__fmal): Do not extract and scale down low bits on after-rounding
18526         systems when result rounded to normal precision would have normal
18527         exponent.
18528         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
18529         (__fmal): Do not extract and scale down low bits on after-rounding
18530         systems when result rounded to normal precision would have normal
18531         exponent.
18532         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
18533         macro.
18534         (fma_test): Add more tests.
18535         (fma_test_towardzero): Likewise.
18536         (fma_test_downward): Likewise.
18537         (fma_test_upward): Likewise.
18539 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
18541         * sysdeps/i386/tininess.h: Renamed to ...
18542         * sysdeps/x86/tininess.h: This.
18543         * sysdeps/x86_64/tininess.h: Removed.
18545 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
18547         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
18548         input.  Use $(build-program-cmd).
18549         ($(objpfx)tst-array1-static.out): Likewise.
18550         ($(objpfx)tst-array2.out): Likewise.
18551         ($(objpfx)tst-array3.out): Likewise.
18552         ($(objpfx)tst-array4.out): Likewise.
18553         ($(objpfx)tst-array5.out): Likewise.
18554         ($(objpfx)tst-array5-static.out): Likewise.
18556 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
18558         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
18559         if defined.
18561         * nss/nsswitch.h (nss_interface_function): Provide new
18562         macro for use with NSS functions.
18563         * grp/initgroups.c: Use new macro.
18564         * nss/getXXbyYY.c: Likewise.
18565         * nss/getXXbyYY_r.c: Likewise.
18566         * nss/getXXent.c: Likewise.
18567         * nss/getXXent_r.c: Likewise.
18568         * sysdeps/posix/getaddrinfo.c: Likewise.
18570 2012-10-30  Andreas Jaeger  <aj@suse.de>
18572         * po/ru.po: Update Russion translation from translation project.
18574 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
18576         [BZ #14152]
18577         [BZ #14783]
18578         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
18579         result and shift together with sticky bit instead of replicating
18580         round-to-nearest rounding.
18581         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
18582         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
18583         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
18584         missing underflow exceptions.
18585         (fma_test_towardzero): Add more tests.
18586         (fma_test_downward): Likewise.
18587         (fma_test_upward): Likewise.
18589         [BZ #14047]
18590         * sysdeps/generic/tininess.h: New file.
18591         * sysdeps/i386/tininess.h: Likewise.
18592         * sysdeps/sh/tininess.h: Likewise.
18593         * sysdeps/x86_64/tininess.h: Likewise.
18594         * stdlib/tst-strtod-underflow.c: Likewise.
18595         * stdlib/tst-tininess.c: Likewise.
18596         * stdlib/strtod_l.c: Include <tininess.h>.
18597         (round_and_return): Do not set errno for exact underflow cases.
18598         Force an underflow exception when setting errno for underflow.
18599         Determine underflow based on rounding to normal precision if
18600         TININESS_AFTER_ROUNDING.
18601         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
18602         ERANGE for exact underflow cases.
18603         * stdlib/Makefile (tests): Add tst-tininess and
18604         tst-strtod-underflow.
18605         ($(objpfx)tst-tininess): Use $(link-libm).
18606         ($(objpfx)tst-strtod-underflow): Likewise.
18608 2012-10-30  Andreas Jaeger  <aj@suse.de>
18610         [BZ#14767]
18611         * elf/Makefile (tests): Remove conditional for have-initfini-array
18612         since this is now always required and the variable does not exist
18613         anymore.
18614         (tests-static): Likewise.
18615         (modules-names): Likewise.
18617         * po/eo.po: Add Esperanto translation from translation project.
18619         * elf/tst-array1.c (fini_array): Make writeable so that it can be
18620         merged with constructor/destructor.
18621         (init_array): Likewise.
18622         * elf/tst-array2dep.c (fini_array): Likewise.
18623         (init_array): Likewise.
18625 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
18627         * manual/message.texi: Delete @cartouche tags.
18629 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
18631         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
18632         EOPNOTSUPP.
18633         * sysdeps/mach/hurd/fsync.c: Likewise.
18635         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
18636         [_POSIX_REALTIME_SIGNALS]: Change condition to
18637         [_POSIX_REALTIME_SIGNALS > 0].
18639 2012-10-27  Andreas Jaeger  <aj@suse.de>
18641         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
18642         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
18643         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
18644         [__WORDSIZE != 64]: Likewise.
18646 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
18648         *  iconvdata/tst-table.sh: Remove ${SHELL}.
18649         *  iconvdata/tst-tables.sh: Likewise.
18651 2012-10-25  David S. Miller  <davem@davemloft.net>
18653         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
18654         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
18655         of strtoull.
18657         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
18658         ifunc-impl-list.c
18659         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
18660         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
18661         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
18662         file.
18664 2012-10-25  Roland McGrath  <roland@hack.frob.com>
18666         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
18667         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
18668         __getdirentries.
18670 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
18671             Jim Blandy  <jimb@codesourcery.com>
18673         * scripts/cross-test-ssh.sh: New file.
18674         * manual/install.texi (Configuring and compiling): Document use of
18675         cross-test-ssh.sh.
18676         * INSTALL: Regenerated.
18678 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
18680         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
18681         EOPNOTSUPP.
18683 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
18685         * Makeconfig (run-program-prefix): Fix comment.
18687 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
18688             Jim Blandy  <jimb@codesourcery.com>
18690         * Makeconfig (test-wrapper): New variable,
18691         (test-wrapper-env): Likewise.
18692         [$(cross-compiling) = yes && $(test-wrapper) != ""]
18693         (run-built-tests): Define to yes.
18694         (run-program-prefix): Use $(test-wrapper).
18695         (built-program-cmd): Likewise.
18696         * Rules (make-test-out): Use $(test-wrapper-env) and
18697         $(host-built-program-cmd).
18698         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
18699         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
18700         tst-pathopt.sh.
18701         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
18702         $(test-wrapper-env) to tst-rtld-load-self.sh.
18703         ($(objpfx)order2.out): Use $(test-wrapper).
18704         ($(objpfx)tst-initorder.out): Likewise.
18705         ($(objpfx)tst-initorder2.out): Likewise.
18706         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
18707         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
18708         (test_wrapper_env): New variable.  Use it to run ld.so.
18709         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
18710         Use it to run ld.so.
18711         (test_wrapper_env): Likewise.
18712         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
18713         $(test-wrapper) to run-iconv-test.sh.
18714         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
18715         (ICONV): Use $test_wrapper.
18716         * posix/Makefile ($(objpfx)globtest.out): Pass
18717         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
18718         globtest.sh, not $(run-program-prefix).
18719         * posix/globtest.sh (run_via_rtld_prefix): New variable.
18720         (test_wrapper): Likewise.
18721         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
18722         set together with run_via_rtld_prefix.
18723         (run_program_prefix): Define in terms of test_wrapper and
18724         run_via_rtld_prefix.
18726 2012-10-24  Roland McGrath  <roland@hack.frob.com>
18728         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
18729         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
18730         Targets removed.
18732         [BZ #14743]
18733         * include/time.h: Remove librt_hidden_proto (clock_gettime).
18734         Declare __clock_getres, __clock_gettime, __clock_settime,
18735         __clock_nanosleep, and __clock_getcpuclockid.
18736         * rt/clock_gettime.c: Define __clock_gettime as an alias.
18737         Remove librt_hidden_def (clock_gettime).
18738         * sysdeps/unix/clock_gettime.c: Likewise.
18739         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
18740         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
18741         * rt/clock_getres.c: Define __clock_getres as an alias.
18742         * sysdeps/posix/clock_getres.c: Likewise.
18743         * rt/clock_settime.c: Define __clock_settime as an alias.
18744         * sysdeps/unix/clock_settime.c: Likewise.
18745         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
18746         * sysdeps/unix/clock_nanosleep.c: Likewise.
18747         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
18748         * rt/clock-compat.c: New file.
18749         * rt/Makefile (librt-routines): Add clock-compat and move
18750         $(clock-routines) to ...
18751         (routines): ... here, new variable.
18752         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
18753         Don't add get_clockfreq here.
18754         * rt/Versions (libc: GLIBC_2.17): New version set.
18755         Add clock_* symbols here.
18756         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
18757         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
18758         (GLIBC_2.17): Add clock_* symbols.
18759         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
18760         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
18761         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
18762         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
18763         Likewise.
18764         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
18765         Likewise.
18766         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
18767         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
18768         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
18769         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
18770         * NEWS: Mention the move.
18772         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
18773         Use __open, __read, __close rather than their public counterparts.
18774         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
18775         (__get_clockfreq_via_cpuinfo): Likewise.
18776         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
18777         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
18779         * config.h.in (HAVE_IFUNC): New #undef.
18780         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
18781         was successful.
18782         * configure: Regenerated.
18784 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
18786         * configure.in: Move READELF check to start of file.
18787         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
18788         libc_cv_asm_gnu_indirect_function in the process.
18789         * configure: Regenerated.
18791 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
18793         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
18794         send the output to /dev/null.
18795         (libc_cv_cc_with_libunwind): Likewise.
18796         (libc_cv_as_noexecstack): Likewise.
18797         * configure: Regenerate.
18799 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
18801         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
18803         * posix/globtest.sh (TMPDIR): Do not set.
18804         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
18805         (testout): Likewise.
18807 2012-10-24  Andreas Jaeger  <aj@suse.de>
18809         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
18810         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
18811         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
18812         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
18813         posix_fadvise64, posix_fallocate64.
18815         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
18816         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
18817         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
18818         Likewise.
18819         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
18820         Likewise.
18821         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
18823         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
18824         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
18825         <bits/fcntl-linux.h>.
18826         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
18828         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
18829         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
18830         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
18831         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
18832         [__WORDSIZE != 64]: Likewise.
18834 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
18836         * Makeconfig (run-built-tests): New variable.
18837         * Rules [$(cross-compiling) = yes]: Change condition to
18838         [$(run-built-tests) = no].
18839         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
18840         to [$(run-built-tests) = yes].
18841         * elf/Makefile [$(cross-compiling) = no]: Likewise
18842         * grp/Makefile [$(cross-compiling) = no]: Likewise.
18843         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
18844         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
18845         * intl/Makefile [$(cross-compiling) = no]: Likewise.
18846         * io/Makefile [$(cross-compiling) = no]: Likewise.
18847         * libio/Makefile [$(cross-compiling) = no]: Likewise.
18848         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
18849         * misc/Makefile [$(cross-compiling) = no]: Likewise.
18850         * posix/Makefile [$(cross-compiling) = no]: Likewise.
18851         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
18852         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
18853         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
18854         * string/Makefile [$(cross-compiling) = no]: Likewise.
18856         * posix/Makefile ($(objpfx)globtest.out): Pass
18857         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
18858         $(rtld-installed-name).
18859         * posix/globtest.sh (elf_objpfx): Remove variable.
18860         (rtld_installed_name): Likewise.
18861         (library_path): Likewise.
18862         (run_program_prefix): New variable.  Use for running globtest
18863         binary.
18865 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
18866             Joseph Myers  <joseph@codesourcery.com>
18868         * Makeconfig (host-built-program-cmd): New variable.
18869         * elf/Makefile (tst-stackguard1-ARGS): Use
18870         $(host-built-program-cmd).
18871         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
18872         (tst-spawn-ARGS): Likewise.
18873         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
18875 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
18876             Jim Blandy  <jimb@codesourcery.com>
18878         * Makeconfig (run-via-rtld-prefix): New variable.
18879         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
18880         (built-program-cmd): Likewise.
18882 2012-10-22  Andreas Jaeger  <aj@suse.de>
18884         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
18885         __O_RSYNC if it exists, otherwise to O_SYNC.
18887 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
18888             Joseph Myers  <joseph@codesourcery.com>
18890         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
18891         /dev/null.
18892         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
18893         from /dev/null
18894         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
18895         /dev/null.
18897 2012-10-22  Andreas Jaeger  <aj@suse.de>
18899         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
18900         Define always.
18901         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
18903         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
18904         bits/fcntl-linux.h.
18906         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
18907         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
18909         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
18910         to __O_LARGEFILE.
18911         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
18912         to __O_LARGEFILE.
18914 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
18915             Joseph Myers  <joseph@codesourcery.com>
18917         * config.make.in (NM): New variable.
18919 2012-10-21  Andreas Jaeger  <aj@suse.de>
18921         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
18922         definitions and declarations that are provided by
18923         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
18925 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
18927         [BZ #14683]
18928         * elf/Makefile (tests-static): Add tst-leaks1-static.
18929         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
18930         ($(objpfx)tst-leaks1-static): New rule.
18931         ($(objpfx)tst-leaks1-static-mem): Likewise.
18932         (tst-leaks1-static-ENV): New macro.
18933         * elf/dl-open.c (dl_open_worker): Check the main application
18934         only if SHARED is defined.
18935         * elf/tst-leaks1-static.c: New file.
18937 2012-10-20  Andreas Jaeger  <aj@suse.de>
18939         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
18940         generic values for Linux.
18941         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
18942         and declarations that are provided by <bits/fcntl-linux.h> and
18943         include <bits/fcntl-linux.h>.
18944         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
18945         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
18947 2012-10-20  Roland McGrath  <roland@hack.frob.com>
18949         * io/fcntl.h: Move include of <bits/types.h> to the top and
18950         include it unconditionally.
18952 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
18954         * wcsmbs/Makefile (tests-ifunc): New variable.
18955         (tests): Add $(tests-ifunc).
18956         * wcsmbs/test-wcschr-ifunc.c: New file.
18957         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
18958         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
18959         * wcsmbs/test-wcslen-ifunc.c: Likewise.
18960         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
18961         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
18963         * string/Makefile (tests-ifunc): New variable.
18964         (tests): Add $(tests-ifunc).
18965         * string/test-memccpy.c (TEST_NAME): New macro.
18966         * string/test-memchr.c (TEST_NAME): Likewise.
18967         * string/test-memcmp.c (TEST_NAME): Likewise.
18968         * string/test-memcpy.c (TEST_NAME): Likewise.
18969         * string/test-memmem.c (TEST_NAME): Likewise.
18970         * string/test-memmove.c (TEST_NAME): Likewise.
18971         * string/test-memset.c (TEST_NAME): Likewise.
18972         * string/test-rawmemchr.c (TEST_NAME): Likewise.
18973         * string/test-stpcpy.c (TEST_NAME): Likewise.
18974         * string/test-stpncpy.c (TEST_NAME): Likewise.
18975         * string/test-strcasecmp.c (TEST_NAME): Likewise.
18976         * string/test-strcasestr.c (TEST_NAME): Likewise.
18977         * string/test-strcat.c (TEST_NAME): Likewise.
18978         * string/test-strchr.c (TEST_NAME): Likewise.
18979         * string/test-strcmp.c(TEST_NAME): Likewise.
18980         * string/test-strcpy.c (TEST_NAME): Likewise.
18981         * string/test-strcspn.c (TEST_NAME): Likewise.
18982         * string/test-strlen.c (TEST_NAME): Likewise.
18983         * string/test-strncasecmp.c (TEST_NAME): Likewise.
18984         * string/test-strncmp.c (TEST_NAME): Likewise.
18985         * string/test-strncpy.c (TEST_NAME): Likewise.
18986         * string/test-strnlen.c (TEST_NAME): Likewise.
18987         * string/test-strpbrk.c (TEST_NAME): Likewise.
18988         * string/test-strrchr.c (TEST_NAME): Likewise.
18989         * string/test-strspn.c (TEST_NAME): Likewise.
18990         * string/test-strstr.c (TEST_NAME): Likewise.
18991         * string/test-bcopy-ifunc.c: New file.
18992         * string/test-bzero-ifunc.c: Likewise.
18993         * string/test-memccpy-ifunc.c: Likewise.
18994         * string/test-memchr-ifunc.c: Likewise.
18995         * string/test-memcmp-ifunc.c: Likewise.
18996         * string/test-memcpy-ifunc.c: Likewise.
18997         * string/test-memmem-ifunc.c: Likewise.
18998         * string/test-memmove-ifunc.c: Likewise.
18999         * string/test-mempcpy-ifunc.c: Likewise.
19000         * string/test-memset-ifunc.c: Likewise.
19001         * string/test-rawmemchr-ifunc.c: Likewise.
19002         * string/test-stpcpy-ifunc.c: Likewise.
19003         * string/test-stpncpy-ifunc.c: Likewise.
19004         * string/test-strcasecmp-ifunc.c: Likewise.
19005         * string/test-strcasestr-ifunc.c: Likewise.
19006         * string/test-strcat-ifunc.c: Likewise.
19007         * string/test-strchr-ifunc.c: Likewise.
19008         * string/test-strchrnul-ifunc.c: Likewise.
19009         * string/test-strcmp-ifunc.c: Likewise.
19010         * string/test-strcpy-ifunc.c: Likewise.
19011         * string/test-strcspn-ifunc.c: Likewise.
19012         * string/test-strlen-ifunc.c: Likewise.
19013         * string/test-strncasecmp-ifunc.c: Likewise.
19014         * string/test-strncat-ifunc.c: Likewise.
19015         * string/test-strncmp-ifunc.c: Likewise.
19016         * string/test-strncpy-ifunc.c: Likewise.
19017         * string/test-strnlen-ifunc.c: Likewise.
19018         * string/test-strpbrk-ifunc.c: Likewise.
19019         * string/test-strrchr-ifunc.c: Likewise.
19020         * string/test-strspn-ifunc.c: Likewise.
19021         * string/test-strstr-ifunc.c: Likewise.
19023         * debug/Makefile (tests-ifunc): New variable.
19024         (tests): Add $(tests-ifunc).
19025         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
19026         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
19027         * debug/test-stpcpy_chk-ifunc.c: New file.
19028         * debug/test-strcpy_chk-ifunc.c: Likewise.
19030 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
19032         [BZ #13601]
19033         * elf/dl-load.c (open_verify): Retry read if the entire ELF
19034         header is not read in.
19036 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
19038         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
19039         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
19040         directly.  Pass built executable to script as
19041         $(built-program-cmd).
19042         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
19043         $testprogram without using LD_LIBRARY_PATH and $ldso.
19045         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
19046         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
19047         $(rtld-installed-name).
19048         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
19049         (rtld_installed_name): Likewise.
19050         (library_path): Likewise.
19051         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
19052         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
19053         $(run-program-prefix) to tst-tables.sh.
19054         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
19055         it to run tst-table-from and tst-table-to.
19056         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
19057         Pass it to tst-table.sh.
19058         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
19059         $(run-program-prefix) to tst-gettext.sh.
19060         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
19061         tst-translit.sh.
19062         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
19063         tst-gettext2.sh.
19064         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
19065         to run tst-gettext.
19066         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
19067         to run tst-gettext2.
19068         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
19069         to run tst-translit.
19070         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
19071         $(run-program-prefix) to tst-mtrace.sh.
19072         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
19073         to run tst-mtrace.
19074         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
19075         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
19076         $(rtld-installed-name).
19077         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
19078         (rtld_installed_name): Likewise.
19079         (run_program_prefix): New variable.  Use it to run wordexp-test.
19081         * Makeconfig (ARCH): Remove all definitions.
19082         (machine): Likewise.
19083         [ARCH]: Remove conditional code.
19084         [!objdir]: Give error.
19085         [!objdir] (objpfx): Remove.
19086         [!objdir] (common-objpfx): Likewise.
19087         [!objdir] (common-objdir): Likewise.
19088         * configure.in (config_makefile): Remove.  Hardcode Makefile in
19089         AC_CONFIG_FILES call.
19090         * configure: Regenerated.
19092         [BZ #13888]
19093         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
19094         or TMPDIR.
19095         (testout): Likewise.
19097         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
19098         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
19099         $(rtld-installed-name).
19100         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
19101         (rtld_installed_name): Likwise.
19102         (runit): Remove function.
19103         (run_getconf): New variable,  Use it for running getconf binary.
19105 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
19107         [BZ #14716]
19108         * string/test-memmem.c (check_result): New function.
19109         (do_one_test): Use it.
19110         (check1): New function.
19111         (test_main): Use it.
19113 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
19115         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
19117 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
19119         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
19120         (_G_LSEEK64): Likewise.
19121         (_G_MMAP64): Likewise.
19122         (_G_FSTAT64): Likewise.
19123         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
19124         (_G_LSEEK64): Likewise.
19125         (_G_MMAP64): Likewise.
19126         (_G_FSTAT64): Likewise.
19127         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
19128         unconditional.  Call __mmap64 directly.
19129         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
19130         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
19131         __lseek64 directly.
19132         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
19133         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
19134         __mmap64 directly.
19135         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
19136         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
19137         __lseek64 directly.
19138         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
19139         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
19140         __lseek64 directly.
19141         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
19142         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
19143         __lseek64 directly.
19144         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
19145         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
19146         __fxstat64 directly.
19147         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
19148         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
19149         unconditional.
19150         (freopen64) [!_G_OPEN64]: Remove conditional code.
19151         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
19152         unconditional.
19153         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
19154         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
19155         unconditional.
19156         (ftello64) [!_G_LSEEK64]: Remove conditional code.
19157         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
19158         unconditional.
19159         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
19160         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
19161         unconditional.
19162         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
19163         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
19164         unconditional.
19165         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
19166         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
19167         unconditional.
19168         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
19169         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
19170         unconditional.
19171         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
19173 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
19175         [BZ #12140]
19176         * manual/memory.texi (Malloc Tunable Parameters): Add note
19177         about free list pointers overwriting some perturb bytes.
19178         Wording suggested by Roland McGrath.
19180 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
19182         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
19183         (lgamma_test): Likewise.
19184         (tgamma_test): Likewise.
19186 2012-10-16  Florian Weimer  <fweimer@redhat.com>
19188         [BZ #14700]
19189         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
19190         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
19192 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
19194         * NEWS: Mention BZ #14716.
19195         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
19196         when removing AVAILABLE1_USES_J macro.
19198 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
19200         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
19201         (__bswap_64): __uint64_t for unsigned 64-bit int.
19203 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
19205         * include/string.h (memmem): Declare libc hidden alias.
19206         * string/memmem.c (memmem): Define libc hidden alias.
19207         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
19208         __read, __close instead of open, read, close.
19210 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
19212         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
19213         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
19214         global and hidden.
19215         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
19216         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
19217         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
19218         Likewise.
19219         (__rawmemchr_sse2): Likewise.
19220         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
19221         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
19222         (__strchr_sse2): Likewise.
19223         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
19224         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
19225         (__strcasecmp_sse2): Likewise.
19226         (__strncasecmp_sse2): Likewise.
19227         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
19228         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
19229         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
19230         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
19231         (__strrchr_sse2): Likewise.
19232         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
19233         ifunc-impl-list.c.
19234         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
19235         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
19236         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
19237         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
19238         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
19239         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
19240         * sysdeps/x86_64/multiarch/memset.S: Likewise.
19241         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
19242         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
19243         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
19244         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
19245         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
19246         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
19247         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
19248         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
19249         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
19250         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
19251         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
19252         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
19253         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
19254         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
19255         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
19256         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
19257         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
19258         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
19259         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
19260         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
19261         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
19262         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
19263         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
19265         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
19266         global and hidden.
19267         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
19268         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
19269         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
19270         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
19271         Likewise.
19272         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
19273         Likewise.
19274         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
19275         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
19276         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
19277         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
19278         ifunc-impl-list.c.
19279         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
19280         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
19281         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
19282         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
19283         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
19284         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
19285         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
19286         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
19287         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
19288         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
19289         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
19290         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
19291         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
19292         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
19293         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
19294         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
19295         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
19296         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
19297         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
19298         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
19299         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
19300         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
19301         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
19302         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
19303         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
19304         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
19305         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
19306         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
19307         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
19308         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
19309         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
19310         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
19311         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
19312         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
19313         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
19314         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
19315         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
19316         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
19317         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
19318         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
19319         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
19321         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
19322         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
19323         * include/ifunc-impl-list.h: New file.
19324         * misc/ifunc-impl-list.c: Likewise.
19325         * misc/Makefile (routines): Add ifunc-impl-list.
19326         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
19327         * string/test-string.h: Include <ifunc-impl-list.h>.
19328         [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
19329         impl_array): New variables.
19330         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
19331         are defined.
19332         (test_init): Call __libc_ifunc_impl_list to initialize
19333         func_list if TEST_IFUNC and TEST_NAME are defined.
19335         * string/Makefile (strop-tests): Add bcopy and bzero.
19336         * string/test-bcopy.c: New file.
19337         * string/test-bzero.c: Likewise.
19338         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
19339         defined.
19340         * string/test-memset.c: Support bzero test if TEST_BZERO is
19341         defined.
19342         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
19343         __libc_memmove.
19344         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
19345         __libc_memset.
19346         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
19347         of memset.
19349 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
19351         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
19352         * configure: Regenerated.
19354         * Makeconfig (+link-static-before-libc): Don't include
19355         $(link-static-libc).
19357         * libio/libio.h (_IO_pos_t): Remove.
19359 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
19361         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
19362         McGrath.
19364 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
19366         * crypt/crypt-entry.c: Include fips-private.h.
19367         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
19368         * crypt/md5c-test.c (main): Tolerate disabled MD5.
19369         * sysdeps/unix/sysv/linux/fips-private.h: New file.
19370         * sysdeps/generic/fips-private.h: New file, dummy fallback.
19372 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
19374         * crypt/crypt-private.h: Include stdbool.h.
19375         (_ufc_setup_salt_r): Return bool.
19376         * crypt/crypt-entry.c: Include errno.h.
19377         (__crypt_r): Return NULL with EINVAL for bad salt.
19378         * crypt/crypt_util.c (bad_for_salt): New.
19379         (_ufc_setup_salt_r): Check that salt is long enough and within
19380         the specified alphabet.
19381         * crypt/badsalttest.c: New file.
19382         * crypt/Makefile (tests): Add it.
19383         ($(objpfx)badsalttest): New.
19385 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
19387         * NEWS: Add entry for BZ #14602.
19389 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
19391         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
19392         type-generic.
19393         * math/libm-test.inc: Update comment listing what functions and
19394         macros are tested.
19395         (isgreater_test): New function.
19396         (isgreaterequal_test): Likewise.
19397         (isless_test): Likewise.
19398         (islessequal_test): Likewise.
19399         (islessgreater_test): Likewise.
19400         (isunordered_test): Likewise.
19401         (main): Call the new functions.
19403 2012-10-09  Roland McGrath  <roland@hack.frob.com>
19405         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
19406         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
19407         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
19408         * sysdeps/i386/configure: Regenerated.
19409         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
19410         * sysdeps/mach/configure: Regenerated.
19411         * sysdeps/mach/hurd/configure: Regenerated.
19412         * sysdeps/powerpc/configure: Regenerated.
19413         * sysdeps/powerpc/powerpc32/configure: Regenerated.
19414         * sysdeps/powerpc/powerpc64/configure: Regenerated.
19415         * sysdeps/s390/s390-32/configure: Regenerated.
19416         * sysdeps/s390/s390-64/configure: Regenerated.
19417         * sysdeps/sh/configure: Regenerated.
19418         * sysdeps/sparc/configure: Regenerated.
19419         * sysdeps/unix/sysv/linux/configure: Regenerated.
19420         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
19421         * sysdeps/x86_64/configure: Regenerated.
19423         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
19424         defined.  Don't check if MAP is NULL.
19426 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
19428         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
19429         (_G_stat64): Likewise.
19430         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
19431         (_G_stat64): Likewise.
19432         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
19433         instead of struct _G_stat64.
19434         * libio/fileops.c (mmap_remap_check): Likewise.
19435         (decide_maybe_mmap): Likewise.
19436         (_IO_new_file_seekoff): Likewise.
19437         (_IO_file_stat): Likewise.
19438         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
19439         _G_off64_t.
19440         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
19441         instead of struct _G_stat64.
19442         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
19444 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
19446         [BZ #14602]
19447         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
19448         Replace with ...
19449         (CHECK_EOL): New macro.
19450         (two_way_short_needle): Check beginning of haystack for EOL.  Use
19451         CHECK_EOL.
19452         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
19453         Replace with CHECK_EOL.
19454         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
19455         Replace with CHECK_EOL.
19457 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
19459         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
19460         type-generic.
19461         * math/libm-test.inc: Update comment listing what functions and
19462         macros are tested.
19463         (finite_test): New function.
19464         (isinf_test): Likewise.
19465         (isnan_test): Likewise.
19466         (fpclassify_test): Test subnormal input.
19467         (isfinite_test): Likewise.
19468         (isnormal_test): Likewise.
19469         (main): Call the new functions.
19471 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
19473         [BZ #14660]
19474         * Makerules (%.dynsym): Force C locale when running
19475         $(OBJDUMP) --dynamic-syms.
19477 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
19479         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
19480         <stdint.h>.
19482 2012-10-06  David S. Miller  <davem@davemloft.net>
19484         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
19485         upper 32-bits of the length value in %o2 since we use branch-on-register
19486         tests which consider the entire 64-bit register.
19488 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
19490         * string/test-strstr.c (check2): Add a test for page boundary.
19492 2012-10-05  David S. Miller  <davem@davemloft.net>
19494         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
19495         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
19496         file.
19497         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
19498         sysdep_routines.
19499         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
19500         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
19501         and bzero when HWCAP_SPARC_CRYPTO is present.
19503 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
19505         [BZ #14602]
19506         * string/test-strstr.c (check2): New function.
19507         (test_main): Call check2.
19509         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
19510         and bug-strchr1.
19511         * string/bug-strcasestr1.c (do_test): Moved to ...
19512         * string/test-strcasestr.c (check1): Here.  New function.
19513         (do_one_test): Break out result checking code into ...
19514         (check_result): This.  New function.
19515         (do_one_test): Call check_result.
19516         (test_main): Call check1.
19517         * string/bug-strchr1.c (do_test): Moved to ...
19518         * string/test-strchr.c (check1): Here.  New function.
19519         (do_one_test): Break out result checking code into ...
19520         (check_result): This.  New function.
19521         (do_one_test): Call check_result.
19522         (test_main): Call check1.
19523         * string/bug-strstr1.c (main): Moved to ...
19524         * string/test-strstr.c (check1): Here.  New function.
19525         (do_one_test): Break out result checking code into ...
19526         (check_result): This.  New function.
19527         (do_one_test): Call check_result.
19528         (test_main): Call check1.
19529         * string/bug-strcasestr1.c: Removed.
19530         * string/bug-strchr1.c: Likewise.
19531         * string/bug-strstr1.c: Likewise.
19533         * elf/Makefile (dl-routines): Add hwcaps.
19534         * elf/dl-support.c (_dl_important_hwcaps): Removed.
19535         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
19536         (_dl_important_hwcaps): Moved to ...
19537         * elf/dl-hwcaps.c: Here.  New file.
19538         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
19540         [BZ #14557]
19541         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
19542         if IS_IN_rtld isn't defined.
19544         * elf/dl-support.c (_dl_sysinfo_map): New.
19545         Include "get-dynamic-info.h" and "setup-vdso.h".
19546         (_dl_non_dynamic_init): Call setup_vdso.
19547         * elf/dynamic-link.h: Don't include <assert.h>.
19548         (elf_get_dynamic_info): Moved to ...
19549         * elf/get-dynamic-info.h: Here.  New file.
19550         * elf/dynamic-link.h: Include "get-dynamic-info.h".
19551         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
19552         * elf/setup-vdso.h: Here.  New file.
19553         * elf/rtld.c: Include "setup-vdso.h".
19554         (dl_main): Call setup_vdso.
19556 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
19558         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
19559         creal in comment listing functions tested.  List finite, isinf,
19560         isnan, isless, islessequal, isgreater, isgreaterequal,
19561         islessgreater, isunordered, lgamma_r and pow10 as functions and
19562         macros not tested.  Mention which functions not tested are aliases
19563         for other functions.  Fix typo.  Note that signs of NaNs are not
19564         tested.
19566         * scripts/config.guess: Update from config.git.
19567         * scripts/config.sub: Likewise.
19569 2012-10-04  Roland McGrath  <roland@hack.frob.com>
19571         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
19572         * misc/madvise.c (madvise): Renamed to __madvise.
19573         Make madvise a weak alias.
19574         * include/sys/mman.h: Declare __madvise.
19575         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
19576         * sysdeps/unix/syscalls.list
19577         (madvise): Make __madvise the strong name, and madvise a weak alias.
19578         * sysdeps/unix/sysv/linux/syscalls.list
19579         (madvise, mmap): Remove redundant entries.
19580         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
19581         * malloc/malloc.c (mtrim): Likewise.
19582         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
19584 2012-10-03  Roland McGrath  <roland@hack.frob.com>
19586         * sysdeps/mach/hurd/dl-cache.c: File removed.
19587         * config.h.in (USE_LDCONFIG): New #undef.
19588         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
19589         * configure: Regenerated.
19590         * elf/Makefile (dl-routines): Add dl-cache only under
19591         [$(use-ldconfig) = yes].
19592         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
19593         cache on [USE_LDCONFIG].
19594         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
19595         [USE_LDCONFIG].
19596         * elf/rtld.c (dl_main): Likewise.
19598 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
19600         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
19601         _SC_LEVEL4_CACHE_LINESIZE.
19603 2012-10-03  Roland McGrath  <roland@hack.frob.com>
19605         * sysdeps/unix/bsd/confstr.h: File removed.
19607 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
19609         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
19610         sys/sdt-config.h.
19612 2012-10-02  Roland McGrath  <roland@hack.frob.com>
19614         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
19615         Make 'mapoff' field ElfW(Off) rather than off_t.
19617 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
19619         * nscd/Makefile: Remove nscd-cflags and all its users.
19620         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
19621         (CFLAGS-nonlib): Add compiler flags for nscd modules.
19623         [BZ #10631]
19624         * malloc.c (malloc_printerr): Clarify error message.
19626 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
19628         [BZ #14648]
19629         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
19630         Set bit_FMA_Usable if FMA is supported.
19631         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
19632         macro.
19633         (bit_FMA4_Usable): Updated.
19634         (index_FMA_Usable): New macro.
19635         (CPUID_FMA): Likewise
19636         (HAS_FMA): Defined with bit_FMA_Usable.
19638 2012-10-01  Roland McGrath  <roland@hack.frob.com>
19640         * bits/types.h (__swblk_t): Type removed.
19641         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
19642         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
19643         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
19644         (__SWBLK_T_TYPE): Likewise.
19645         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
19646         (__SWBLK_T_TYPE): Likewise.
19647         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
19648         (__SWBLK_T_TYPE): Likewise.
19649         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
19650         (__SWBLK_T_TYPE): Likewise.
19652 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
19653             Honza Horak <hhorak@redhat.com>
19655         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
19656         (xdr_mapname): Use YPMAXMAP as maxsize.
19657         (xdr_peername): Use YPMAXPEER as maxsize.
19658         (xdr_keydat): Use YPAXRECORD as maxsize.
19659         (xdr_valdat): Use YPMAXRECORD as maxsize.
19661 2012-10-01  Roland McGrath  <roland@hack.frob.com>
19663         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
19665         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
19666         * csu/init-first.c: ... here.
19667         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
19668         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
19669         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
19670         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
19671         * sysdeps/i386/init-first.c: File removed.
19672         * sysdeps/sh/init-first.c: File removed.
19674 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
19676         [BZ #14645]
19677         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
19678         if x * y might underflow to zero and z is zero.
19679         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
19680         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
19681         * math/libm-test.inc (min_subnorm_value): New variable.
19682         (fma_test): Add more tests.
19683         (fma_test_towardzero): Likewise.
19684         (fma_test_downward): Likewise
19685         (fma_test_upward): Likewise.
19686         (initialize): Set min_subnorm_value.
19688 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
19690         [BZ #14638]
19691         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
19692         0 + 0.
19693         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
19694         mode for addition resulting in exact zero.
19695         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
19696         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
19697         exact 0 + 0.
19698         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
19699         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
19700         * math/libm-test.inc (fma_test): Add more tests.
19701         (fma_test_towardzero): New function.
19702         (fma_test_downward): Likewise.
19703         (fma_test_upward): Likewise.
19704         (main): Call the new functions.
19706 2012-09-28  David S. Miller  <davem@davemloft.net>
19708         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
19710 2012-09-28  Roland McGrath  <roland@hack.frob.com>
19712         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
19713         instead of SIGALRM.
19715         * sysdeps/gnu/_G_config.h: Moved to ...
19716         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
19717         * sysdeps/mach/hurd/_G_config.h: Moved to ...
19718         * sysdeps/generic/_G_config.h: ... here.
19720         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
19722         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
19724         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
19725         Conditionalize target on [libnss_test1.so-version].
19727         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
19729         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
19730         (elfobjdir): Move out of conditionals.
19732         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
19733         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
19734         (__nss_lookup_function): Conditionalize label remove_from_tree on
19735         [!DO_STATIC_NSS || SHARED], matching its only use.
19737 2012-09-28  David S. Miller  <davem@davemloft.net>
19739         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
19740         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
19741         file.
19742         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
19743         sysdep_routines.
19744         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
19745         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
19746         when HWCAP_SPARC_CRYPTO is present.
19748 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
19750         * io/tst-mknodat.c: Create a FIFO instead of a socket.
19752 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
19754         [BZ #6530]
19755         * stdio-common/vfprintf.c (process_string_arg): Revert
19756         2000-07-22 change.
19758 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
19760         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
19761         for testcase.
19762         * stdio-common/tst-sprintf.c: Include <locale.h>
19763         (main): Test sprintf's handling of incomplete multibyte
19764         characters.
19766 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
19768         * elf/dl-runtime.c (VERSYMIDX): Removed.
19769         * elf/dl-version.c (VERSYMIDX): Likewise.
19770         * elf/do-rel.h (VERSYMIDX): Likewise.
19771         (VALIDX): Likewise.
19772         * elf/dynamic-link.h (VERSYMIDX): Likewise.
19773         * elf/rtld.c (VALIDX): Likewise.
19774         (ADDRIDX): Likewise.
19775         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
19776         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
19777         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
19778         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
19779         (VALIDX): Likewise.
19780         (ADDRIDX): Likewise.
19782 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
19784         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
19786 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
19788         [BZ #11438]
19789         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
19790         to global scope.
19791         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
19792         addresses are in the same scope as 192.0.2/24.
19793         * posix/gai.conf: Document new scope table defaults.
19795 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
19797         [BZ #5298]
19798         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
19799         for ftell.  Compute offsets from write pointers instead.
19800         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
19802 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
19804         [BZ #14543]
19805         * libio/Makefile (tests): New test case tst-fseek.
19806         * libio/tst-fseek.c: New test case to verify that fseek/ftell
19807         combination works in wide mode.
19808         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
19809         state when the external buffer state changes.
19811 2012-09-27  David S. Miller  <davem@davemloft.net>
19813         [BZ #14376]
19814         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
19815         pass reloc->r_addend in as the 'high' argument to
19816         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
19818         * sysdeps/sparc/fpu/libm-test-ulps: Update.
19820 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
19822         * rt/tst-aio2.c: Include <pthread.h>.
19823         * rt/tst-aio3.c: Likewise.
19825 2012-09-27  Steve Ellcey  <sellcey@mips.com>
19827         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
19829 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
19831         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
19832         contents on [SHARED].
19834 2012-09-26  Marek Polacek  <polacek@redhat.com>
19836         [BZ #14530]
19837         [BZ #13741]
19838         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
19839         for C++ and GCC <4.3 as well as for non GCC compilers.
19841 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
19843         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19845 2012-09-25  Roland McGrath  <roland@hack.frob.com>
19847         * Makefile.in (all, install): Declare with .PHONY.
19848         Reported by Michael Hope <michael.hope@linaro.org>.
19850 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
19852         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
19853         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
19854         system header.
19855         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
19856         Likewise.
19857         (sydep_routines): Add the new and the internal functions.
19858         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
19859         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
19860         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
19861         (GLIBC_2.17): Add the new function.
19862         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
19863         (GLIBC_2.17): Likewise.
19864         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
19865         (GLIBC_2.17): Likewise.
19866         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
19867         (GLIBC_2.17): Likewise.
19868         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
19870 2012-09-25  Alan Modra  <amodra@gmail.com>
19872         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
19873         Add release barrier before setting once_control to say
19874         initialisation is done.  Add hints on lwarx.  Use macro in
19875         place of isync.
19876         (clear_once_control): Add release barrier.
19878 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
19880         [BZ #13629]
19881         * math/s_clog.c (__clog): Handle more values close to |z| = 1
19882         specially.
19883         * math/s_clog10.c (__clog10): Likewise.
19884         * math/s_clog10f.c (__clog10f): Likewise.
19885         * math/s_clog10l.c (__clog10l): Likewise.
19886         * math/s_clogf.c (__clogf): Likewise.
19887         * math/s_clogl.c (__clogl): Likewise.
19888         * math/Makefile (libm-calls): Add x2y2m1.
19889         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
19890         (__x2y2m1): Likewise.
19891         (__x2y2m1l): Likewise.
19892         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
19893         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
19894         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
19895         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
19896         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
19897         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
19898         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
19899         * sysdeps/i386/fpu/libm-test-ulps: Update.
19900         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19902         [BZ #14621]
19903         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
19904         int as type of variable DEPTH.
19905         (glob): Use size_t instead of int as type of variables NEWCOUNT
19906         and OLD_PATHC.
19908 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
19910         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
19911         Add s_sincosf-sse2.
19912         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
19913         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
19914         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
19915         macros for using routine as __sincosf_ia32.
19916         Use macro for function declaration and weak_alias.
19917         * sysdeps/i386/fpu/libm-test-ulps: Update.
19919         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
19920         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19922         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
19923         subnormal argument.
19924         * math/s_cexpf.c (__cexpf): Likewise.
19925         * math/s_csinf.c (__csinf): Likewise.
19926         * math/s_csinhf.c (__csinhf): Likewise.
19927         * math/s_ctanf.c (__ctanf): Likewise.
19928         * math/s_ctanhf.c (__ctanhf): Likewise.
19929         * math/s_ccosh.c (__ccoshf): Likewise.
19930         * math/s_cexp.c (__cexpl): Likewise.
19931         * math/s_csin.c (__csin): Likewise.
19932         * math/s_csinh.c (__csinh): Likewise.
19933         * math/s_ctan.c (__ctan): Likewise.
19934         * math/s_ctanh.c (ctanh): Likewise.
19935         * math/s_ccoshl.c (__ccoshl): Likewise.
19936         * math/s_cexpl.c (__cexpl): Likewise.
19937         * math/s_csinl.c (__csinl): Likewise.
19938         * math/s_csinhl.c (__csinhl): Likewise.
19939         * math/s_ctanl.c (__ctanl): Likewise.
19940         * math/s_ctanhl.c (__ctanhl): Likewise.
19942 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
19944         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
19945         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
19946         (_IO_off_t): Define to __off_t, not _G_off_t.
19947         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
19948         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
19949         (_IO_wint_t): Define to wint_t, not _G_wint_t.
19950         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
19951         type of __dummy and __dummy2 fields.
19952         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
19953         (_G_ssize_t): Likewise.
19954         (_G_off_t): Likewise.
19955         (_G_pid_t): Likewise.
19956         (_G_uid_t): Likewise.
19957         (_G_wchar_t): Likewise.
19958         (_G_wint_t): Likewise.
19959         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
19960         (_G_ssize_t): Likewise.
19961         (_G_off_t): Likewise.
19962         (_G_pid_t): Likewise.
19963         (_G_uid_t): Likewise.
19964         (_G_wchar_t): Likewise.
19965         (_G_wint_t): Likewise.
19966         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
19967         (_G_ssize_t): Likewise.
19968         (_G_off_t): Likewise.
19969         (_G_pid_t): Likewise.
19970         (_G_uid_t): Likewise.
19971         (_G_wchar_t): Likewise.
19972         (_G_wint_t): Likewise.
19974 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
19976         * malloc/arena.c: Include malloc-sysdep.h.
19977         (shrink_heap): Use check_may_shrink_heap to decide if madvise
19978         is sufficient to shrink the heap or an unmap is needed.
19979         * sysdeps/generic/malloc-sysdep.h: New file.  Define
19980         new function check_may_shrink_heap.
19981         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
19982         new function check_may_shrink_heap.
19984 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
19986         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
19987         comments.
19989 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
19991         * catgets/test-gencat.sh: Add "set -e".
19992         * elf/tst-pathopt.sh: Likewise.
19993         * grp/tst_fgetgrent.sh: Likewise.
19994         * iconvdata/run-iconv-test.sh: Likewise.
19995         * intl/tst-gettext.sh: Likewise.
19996         * intl/tst-gettext2.sh: Likewise.
19997         * intl/tst-gettext4.sh: Likewise.
19998         * intl/tst-gettext6.sh: Likewise.
19999         * intl/tst-translit.sh: Likewise.
20000         * io/ftwtest-sh: Likewise.
20001         * libio/test-freopen.sh: Likewise.
20002         * malloc/tst-mtrace.sh: Likewise.
20003         * posix/globtest.sh: Likewise.
20004         * posix/tst-getconf.sh: Likewise.
20005         * posix/wordexp-tst.sh: Likewise.
20006         * stdio-common/tst-printf.sh: Likewise.
20007         * stdio-common/tst-unbputc.sh: Likewise.
20008         * stdlib/tst-fmtmsg.sh: Likewise.
20009         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
20010         * catgets/Makefile: Do not specify -e option when running
20011         testsuite shell scripts.
20012         * elf/Makefile: Likewise.
20013         * grp/Makefile: Likewise.
20014         * iconvdata/Makefile: Likewise.
20015         * intl/Makefile: Likewise.
20016         * io/Makefile: Likewise.
20017         * libio/Makefile: Likewise.
20018         * malloc/Makefile: Likewise.
20019         * posix/Makefile: Likewise.
20020         * stdio-common/Makefile: Likewise.
20021         * stdlib/Makefile: Likewise.
20022         * sysdeps/x86_64/Makefile: Likewise.
20024         * io/ftwtest-sh: Add copyright header.
20025         * posix/globtest.sh: Likewise.
20026         * posix/tst-getconf.sh: Likewise.
20027         * posix/wordexp-tst.sh: Likewise.
20028         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
20030 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
20032         [BZ #13679]
20033         * Makeconfig (+link): Defined as $(+link-static) if
20034         $(build-shared) isn't yes.
20035         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
20036         isn't yes.
20037         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
20039         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
20041         [BZ #14562]
20042         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
20043         new chunk size with MALLOC_ALIGN_MASK.
20045 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
20047         [BZ #5044]
20048         * stdio-common/printf_fphex.c: Include <stdbool.h> and
20049         <rounding-mode.h>.
20050         (__printf_fphex): Determine rounding using get_rounding_mode and
20051         round_away.
20052         * stdio-common/tst-printf-round.c (struct hex_test): New
20053         structure.
20054         (hex_tests): New variable.
20055         (test_hex_in_one_mode): New function.
20056         (do_test): Also run tests for hex float output.
20058 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
20060         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
20061         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
20062         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
20063         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
20064         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
20065         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
20066         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
20067         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
20069 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
20071         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
20072         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
20073         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
20074         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
20076 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
20078         [BZ #14579]
20079         * elf/rtld.c (dl_main): Limit the check for self loading to normal
20080         mode only.
20081         * elf/tst-rtld-load-self.sh: New test.
20082         * elf/Makefile: Run it.
20084 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
20086         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
20087         (tst-writev-ENV): Remove.
20088         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
20090 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
20092         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
20094 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
20096         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
20097         unconditional.
20098         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
20099         Likewise.
20100         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
20101         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
20102         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
20103         Likewise.
20105 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
20107         [BZ #14587]
20108         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
20109         * config.make.in (have-cpp-asm-debuginfo): Removed.
20110         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
20111         * configure: Regenerated.
20113 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
20115         [BZ #5044]
20116         * stdio-common/printf_fp.c: Include <stdbool.h> and
20117         <rounding-mode.h>.
20118         (___printf_fp): Determine rounding using get_rounding_mode and
20119         round_away.
20120         * stdio-common/tst-printf-round.c: New file.
20121         * stdio-common/Makefile (tests): Add tst-printf-round.
20122         (link-libm): New variable.
20123         ($(objpfx)tst-printf-round): Depend in $(link-libm).
20125 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
20127         [BZ #14576]
20128         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
20129         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
20130         Likewise.
20131         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
20132         Likewise.
20134 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
20136         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
20137         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
20138         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
20139         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
20141 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
20143         [BZ #14518]
20144         * include/rounding-mode.h: New file.
20145         * sysdeps/generic/get-rounding-mode.h: Likewise.
20146         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
20147         * stdlib/strtod_l.c: Include <rounding-mode.h>.
20148         (MAX_VALUE): New macro.
20149         (MIN_VALUE): Likewise.
20150         (overflow_value): New function.
20151         (underflow_value): Likewise.
20152         (round_and_return): Use overflow_value and underflow_value to
20153         determine return values in overflow and underflow cases.  Use
20154         round_away to determine rounding depending on rounding mode.
20155         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
20156         determine return values in overflow and underflow cases.
20157         * stdlib/tst-strtod-round.c: Include <fenv.h>.
20158         (struct test_results): New structure.
20159         (struct test): Use struct test_results to store expected results
20160         for all rounding modes.
20161         (TEST): Include expected results for all rounding modes.
20162         (test_in_one_mode): New function.
20163         (do_test): Use test_in_one_mode to compute and check results.
20164         Check results for all rounding modes.
20165         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
20166         $(link-libm).
20168 2012-12-09  Allan McRae  <allan@archlinux.org>
20170         * sysdeps/i386/fpu/libm-test-ulps: Update
20172 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
20174         * sysdeps/generic/_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.
20182         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
20183         (_G_int32_t): Likewise.
20184         (_G_uint16_t): Likewise.
20185         (_G_uint32_t): Likewise.
20186         (_G_HAVE_BOOL): Likewise.
20187         (_G_HAVE_ATEXIT): Likewise.
20188         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
20189         (_G_HAVE_IO_FILE_OPEN): Likewise.
20190         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
20191         (_G_int32_t): Likewise.
20192         (_G_uint16_t): Likewise.
20193         (_G_uint32_t): Likewise.
20194         (_G_HAVE_BOOL): Likewise.
20195         (_G_HAVE_ATEXIT): Likewise.
20196         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
20197         (_G_HAVE_IO_FILE_OPEN): Likewise.
20199 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
20201         * csu/libc-tls.c: Update copyright years.
20203 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
20205         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
20206         [!_G_USING_THUNKS]: Remove conditional code.
20207         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
20208         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
20210         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
20211         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
20212         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
20213         (_G_VTABLE_LABEL_PREFIX): Likewise.
20214         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
20215         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
20216         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
20217         (_G_VTABLE_LABEL_PREFIX): Likewise.
20218         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
20219         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
20220         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
20221         (_G_VTABLE_LABEL_PREFIX): Likewise.
20222         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
20224 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
20226         * libio/Makefile: Include ../Makeconfig before tests.
20227         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
20228         only if $(build-shared) is yes.
20230         * iconv/gconv_db.c: Update copyright years.
20232 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
20234         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
20235         unwind info if defined PIC. Fix special cases description.
20236         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
20238         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
20239         DP_HI_MASK entry.
20240         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
20242 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
20244         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
20246         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
20247         is NULL.
20249         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
20250         (LDLIBS-tst-chk4): This.
20251         (LDFLAGS-tst-chk5): Renamed to ...
20252         (LDLIBS-tst-chk5): This.
20253         (LDFLAGS-tst-chk6): Renamed to ...
20254         (LDLIBS-tst-chk6): This.
20255         (LDFLAGS-tst-lfschk4): Renamed to ...
20256         (LDLIBS-tst-lfschk4): This.
20257         (LDFLAGS-tst-lfschk5): Renamed to ...
20258         (LDLIBS-tst-lfschk5): This.
20259         (LDFLAGS-tst-lfschk6): Renamed to ...
20260         (LDLIBS-tst-lfschk6): This.
20262         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
20263         on $(common-objpfx)soversions.mk.
20265 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
20267         [BZ #10014]
20268         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
20269         example host name.
20271 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
20273         * malloc/arena.c (arena_get_retry): New function that gets
20274         another arena for the caller to try its request on.
20275         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
20276         current arena cannot fulfill the request.
20277         (__libc_memalign): Likewise.
20278         (__libc_memalign): Likewise.
20279         (__libc_pvalloc): Likewise.
20280         (__libc_calloc): Likewise.
20282 2012-09-05  John Tobey  <john.tobey@gmail.com>
20284         [BZ #13542]
20285         * manual/arith.texi (Operations on Complex): Fix description
20286         of carg branch cut.
20288 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
20290         [BZ #10014]
20291         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
20292         host name.
20294         [BZ #10038]
20295         * manual/memory.texi (Memory): Make order of menu items match
20296         order of sections.
20298 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
20300         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
20301         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
20302         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
20304 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
20306         * csu/libc-tls.c (static_dtv): Renamed to ...
20307         (_dl_static_dtv): This.  Make it global.
20308         (_dl_initial_dtv): Removed.
20309         (__libc_setup_tls): Updated.
20310         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
20311         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
20312         DL_INITIAL_DTV.
20314 2012-09-06  Petr Machata  <pmachata@redhat.com>
20316         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
20317         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
20318         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
20319         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
20321 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
20323         [BZ #14545]
20324         * csu/libc-tls.c (_dl_initial_dtv): New variable.
20325         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
20326         freeing dtv[-1].
20328 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
20330         [BZ #14544]
20331         * Makeconfig (link-static-before-libc): Replace $(+prector)
20332         with $(+prectorT).
20333         (link-static-after-libc): Replace $(+postctor) with
20334         $(+postctorT).
20335         (link-bounded): Replace $(+prector)/$(+postctor) with
20336         $(+prectorT)/$(+postctorT).
20337         (+prectorT): New macro.
20338         (+postctorT): Likewise.
20340 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
20342         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
20343         (round_str): Handle values above the maximum for IBM long double
20344         as inexact.
20345         * stdlib/tst-strtod-round.c (tests): Regenerated.
20347 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
20349         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
20350         assembler flag.
20351         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
20352         zarch_nohighgprs around the zarch optimized routines.
20353         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
20354         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
20355         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
20356         for zarch.
20358 2012-09-05  David S. Miller  <davem@davemloft.net>
20360         * sysdeps/sparc/fpu/libm-test-ulps: Update.
20362         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
20363         HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
20364         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
20365         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
20366         entries.
20368 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
20370         * malloc/arena.c: Fold copyright years.
20371         * malloc/mcheck.c, malloc/memusage.c: Likewise.
20373 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
20375         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
20377 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
20379         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
20381 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
20383         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
20384         change internal state upon failure.
20386 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
20388         * malloc/mcheck.c (mcheck_check_all): Fix typo.
20389         * malloc/memusage.c (mmap): Likewise.
20390         (mmap64, mremap): Likewise.  Adjust name in comment.
20392 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
20394         * libio/fileops.c: Fix typos in comments.
20395         * libio/oldfileops.c: Likewise.
20396         * libio/wfileops.c: Likewise.
20398 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
20400         [BZ #1349]
20401         * malloc/Makefile (tests): Add tst-malloc-usable test case.
20402         (tst-malloc-usable-ENV): Set environment for test case.
20403         * malloc/hooks.c (malloc_check_get_size): New function to get
20404         requested size.
20405         * malloc/malloc.c (musable): Use malloc_check_get_size.
20406         * malloc/tst-malloc-usable.c: New test case.
20408 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
20410         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
20412 2012-09-05  Allan McRae  <allan@archlinux.org>
20414         [BZ #13966]
20415         * configure.in (CXX_SYSINCLUDES): Use compiler output to
20416         determine header location.
20417         * configure: Regenerated.
20419 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
20421         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
20422         float format.
20423         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
20424         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
20425         format.
20426         (test): Regenerate.
20428 2012-09-04  David S. Miller  <davem@davemloft.net>
20430         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
20431         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
20432         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
20434 2012-09-04  Florian Weimer  <fweimer@redhat.com>
20436         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
20437         failures.
20439         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
20441 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
20443         [BZ #9914]
20444         * libio/iogetdelim.c: Include <limits.h>.
20445         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
20446         + len + 1 would overflow.
20448 2012-09-03  Andreas Jaeger  <aj@suse.de>
20450         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20451         * sysdeps/i386/fpu/libm-test-ulps: Update.
20453 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
20455         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
20456         Add s_sinf-sse2, s_conf-sse2.
20458         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
20459         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
20460         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
20461         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
20463         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
20464         for using routine as __sinf_ia32.
20465         Use macro for function declaration and weak_alias.
20466         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
20467         for using routine as __cosf_ia32.
20468         Use macro for function declaration and weak_alias.
20470         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
20471         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
20473         * sysdeps/x86_64/fpu/s_sinf.S: New file.
20474         * sysdeps/x86_64/fpu/s_cosf.S: New file.
20475         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20477         * math/libm-test.inc (cos_test): Add more test cases.
20478         (sin_test): Likewise.
20479         (sincos_test): Likewise.
20481 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
20483         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
20484         (IFUNC_RESOLVE): Make pointers to the specialized implementations
20485         hidden.
20486         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
20488 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
20490         [BZ #14538]
20491         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
20492         first element of the GOT.
20493         (elf_machine_load_address): Return the difference between
20494         the runtime address of _DYNAMIC and elf_machine_dynamic ().
20496 2012-09-01  Allan McRae  <allan@archlinux.org>
20498         [BZ #13412]
20499         * configure.in (AWK): Require gawk version 3.0 or later.
20500         * configure: Regenerated.
20502 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
20504         * sysdeps/unix/sysv/linux/kernel-features.h
20505         (__ASSUME_POSIX_CPU_TIMERS): Remove.
20506         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
20507         [__NR_clock_getres]: Make code unconditional.
20508         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
20509         (clock_getcpuclockid): Remove code left unreachable by removal of
20510         conditionals.
20511         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
20512         code unconditional.
20513         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
20514         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
20515         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
20516         Make code unconditional.
20517         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
20518         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
20519         * sysdeps/unix/sysv/linux/clock_settime.c
20520         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
20521         conditional code.
20522         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
20523         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
20525 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
20527         [BZ #14476]
20528         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
20529         scripts/test-installation.pl.
20531         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
20532         and $ld_so_version if it is set.
20534 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
20536         [BZ #14516]
20537         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
20538         failure if reading from procfs failed.
20539         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
20541 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
20543         * sysdeps/unix/sysv/linux/kernel-features.h
20544         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
20545         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
20546         Remove conditional code.
20547         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
20548         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
20549         Remove conditional code.
20550         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
20551         * sysdeps/unix/sysv/linux/i386/fxstat.c
20552         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
20553         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
20554         * sysdeps/unix/sysv/linux/i386/fxstatat.c
20555         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
20556         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
20557         * sysdeps/unix/sysv/linux/i386/lxstat.c
20558         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
20559         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
20560         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
20561         Remove conditional code.
20562         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
20563         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
20564         Remove conditional code.
20565         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
20566         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
20567         <kernel-features.h>.
20568         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
20569         Remove.
20570         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
20571         Remove conditional code.
20572         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
20573         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
20574         Remove conditional.
20576 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
20578         [BZ #5400]
20579         * NEWS: Add fixed bug number.
20581 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
20583         [BZ #14519]
20584         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
20585         underflowing exponent in case of negative sign.
20586         * stdlib/tst-strtod-round-data: Add more tests.
20587         * stdlib/tst-strtod-round.c (tests): Regenerated.
20589         [BZ #3479]
20590         * stdlib/strtod_l.c (NDIG): Remove.
20591         (HEXNDIG): Likewise.
20592         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
20593         smallest representable value.
20594         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
20595         lie within an exact representation of 1/2 ulp of the result.
20596         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
20597         unconditionally.
20598         (TENS_P9_IDX): Define unconditionally.
20599         (TENS_P9_SIZE): Likewise.
20600         (TENS_P10_IDX): Likewise.
20601         (TENS_P10_SIZE): Likewise.
20602         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
20603         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
20604         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
20605         entries for 10^2^13 and 10^2^14.
20606         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
20607         (TENS_P13_IDX): Define.
20608         (TENS_P13_SIZE): Likewise.
20609         (TENS_P14_IDX): Likewise.
20610         (TENS_P14_SIZE): Likewise.
20611         (_fpioconst_pow10): Change array size to
20612         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
20613         unconditional.
20614         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
20615         1024]: Add entries for 10^2^13 and 10^2^14.
20616         [LAST_POW10 > _LAST_POW10]: Remove #error.
20617         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
20618         (_fpioconst_pow10): Change array size to
20619         FPIOCONST_POW10_ARRAY_SIZE.
20620         * stdlib/gen-fpioconst.c: New file.
20621         * stdlib/gen-tst-strtod-round.c: Likewise.
20622         * stdlib/tst-strtod-round-data: Likewise.
20623         * stdlib/tst-strtod-round.c: Likewise.
20624         * stdlib/Makefile (tests): Add tst-strtod-round.
20626         [BZ #14459]
20627         * stdlib/strtod_l.c: Include <stdint.h>.
20628         (NDEBUG): Do not define.
20629         (round_and_return): Change EXPONENT parameter to type intmax_t.
20630         Rearrange calculations to avoid internal overflow possibilities.
20631         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
20632         Rearrange calculations to avoid internal overflow possibilities.
20633         Assert that number fits inside MPNSIZE limbs.
20634         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
20635         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
20636         calculations and add assertions to avoid internal overflow
20637         possibilities.  Add casts to avoid signed/unsigned operations.
20638         * stdlib/tst-strtod-overflow.c: New file.
20639         * stdlib/Makefile (tests): Add tst-strtod-overflow.
20641 2012-08-25  Marek Polacek  <polacek@redhat.com>
20643         * time/time.h: Fix some typos in comments.
20645 2012-08-23  Roland McGrath  <roland@hack.frob.com>
20647         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
20648         * posix/tst-rfc3484-2.c: Likewise.
20649         * posix/tst-rfc3484-3.c: Likewise.
20651 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
20653         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
20654         (EF_ARM_ABI_FLOAT_HARD): Likewise.
20656 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
20658         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
20659         #include of fxstatat64.c.
20661 2012-08-22  Roland McGrath  <roland@hack.frob.com>
20663         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
20664         * shadow/getspent_r.c: Likewise.
20665         * shadow/getspnam.c: Likewise.
20666         * shadow/getspnam_r.c: Likewise.
20667         * gshadow/getsgent.c: Likewise.
20668         * gshadow/getsgent_r.c: Likewise.
20669         * gshadow/getsgnam.c: Likewise.
20670         * gshadow/getsgnam_r.c: Likewise.
20671         * inet/getnetbyad.c: Likewise.
20672         * inet/getnetbyad_r.c: Likewise.
20673         * inet/getnetbynm.c: Likewise.
20674         * inet/getnetbynm_r.c: Likewise.
20675         * inet/getnetent.c: Likewise.
20676         * inet/getnetent_r.c: Likewise.
20677         * inet/getproto.c: Likewise.
20678         * inet/getproto_r.c: Likewise.
20679         * inet/getprtent.c: Likewise.
20680         * inet/getprtent_r.c: Likewise.
20681         * inet/getprtname.c: Likewise.
20682         * inet/getprtname_r.c: Likewise.
20683         * inet/getrpcbyname.c: Likewise.
20684         * inet/getrpcbyname_r.c: Likewise.
20685         * inet/getrpcbynumber.c: Likewise.
20686         * inet/getrpcbynumber_r.c: Likewise.
20687         * inet/getrpcent.c: Likewise.
20688         * inet/getrpcent_r.c: Likewise.
20689         * inet/getaliasent.c: Likewise.
20690         * inet/getaliasent_r.c: Likewise.
20691         * inet/getaliasname.c: Likewise.
20692         * inet/getaliasname_r.c: Likewise.
20693         * nscd/getgrgid_r.c: Likewise.
20694         * nscd/getgrnam_r.c: Likewise.
20695         * nscd/gethstbyad_r.c: Likewise.
20696         * nscd/gethstbynm3_r.c: Likewise.
20697         * nscd/getpwnam_r.c: Likewise.
20698         * nscd/getpwuid_r.c: Likewise.
20699         * nscd/getsrvbynm_r.c: Likewise.
20700         * nscd/getsrvbypt_r.c: Likewise.
20701         * nscd/gai.c: Likewise.
20703         * configure.in (build_nscd): New substituted variable, set
20704         by --disable-build-nscd and defaults to $use_nscd.
20705         * configure: Regenerated.
20706         * config.make.in (build-nscd): New substituted variable.
20707         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
20708         Change conditional to require [$(build-nscd) = yes] as well.
20709         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
20711         [BZ# 13696]
20712         * configure.in (use_nscd): New substituted variable, set by
20713         --disable-nscd.  If enabled, define USE_NSCD.
20714         * configure: Regenerated.
20715         * config.h.in: Add USE_NSCD.
20716         * config.make.in (use-nscd): New substituted variable.
20717         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
20718         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
20719         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
20720         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
20721         (CFLAGS-getgrnam_r.c): Likewise.
20722         (CFLAGS-initgroups.c): Likewise.
20723         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
20724         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
20725         Variables removed.
20726         * inet/getnetgrent_r.c
20727         (nscd_setnetgrent): New function, broken out of ...
20728         (setnetgrent): ... here.  Call it.
20729         (innetgr): Conditionalize nscd bits on [USE_NSCD].
20730         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
20731         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
20732         * nscd/Makefile (routines, aux): Move definitions after include of
20733         Makeconfig.  Conditionalize on [$(use-nscd) != no].
20734         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
20735         Conditionalize on [USE_NSCD].
20736         (is_nscd, nscd_init_cb): Likewise.
20737         (nss_load_library): Conditionalize init callback on [USE_NSCD].
20738         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
20739         * nss/nss_db/db-init.c: Likewise.
20740         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
20741         [USE_NSCD].
20742         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
20743         (make_request): Use it.
20744         (cache_valid_p): New function.
20745         (__check_pf): Use it.
20746         * NEWS: Add item for --disable-nscd.
20748 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
20750         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
20751         to support sed >= 4.2.1-20-ga9bf076.
20752         * configure: Regenerated.
20754 2012-08-22  Roland McGrath  <roland@hack.frob.com>
20756         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
20757         Conditionalize whole body on [IREL].
20759 2012-08-22  Jeff Law <law@redhat.com>
20761         [BZ #14505]
20762         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
20763         if the family is PF_UNSPEC.
20765 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
20767         * Makerules (lib-version): Rename from V.
20768         (install-lib-nosubdir): Change V to lib-version.
20770 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
20772         [BZ #14252]
20773         * powerpc32/power6/wcschr.c: New file.
20774         * powerpc32/power6/wcscpy.c: New file.
20775         * powerpc32/power6/wcsrchr.c: New file.
20776         * powerpc64/power6/wcschr.c: New file.
20777         * powerpc64/power6/wcscpy.c: New file.
20778         * powerpc64/power6/wcsrchr.c: New file.
20780 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
20782         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
20783         (two_way_short_needle): Use it.
20784         * string/strstr.c (AVAILABLE1_USES_J): Define.
20785         * string/strcasestr.c: Likewise.
20787         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
20788         array references.
20789         * string/strcasestr.c (TOLOWER): Make side-effect safe.
20791         [BZ #11607]
20792         * NEWS: Add an entry.
20793         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
20794         define their defaults.
20795         (two_way_short_needle): Detect end-of-string on-the-fly.
20796         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
20797         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
20798         * string/bug-strcasestr1.c: New test.
20799         * string/Makefile: Run it.
20801 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
20803         [BZ #11607]
20804         * string/str-two-way.h (two_way_short_needle): Optimize matching of
20805         the first character.
20807 2012-08-21  Roland McGrath  <roland@hack.frob.com>
20809         * csu/elf-init.c (__libc_csu_irel): Function removed.
20810         * csu/libc-start.c (apply_irel): New function.
20811         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
20813 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
20815         * sysdeps/unix/sysv/linux/kernel-features.h
20816         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
20817         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
20818         <kernel-features.h>.
20819         [__NR_fadvise64_64]: Make code unconditional.
20820         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
20821         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
20822         !__NR_fadvise64_64)]: Likewise.
20823         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
20824         !__NR_fadvise64_64))]: Likewise.
20825         [__NR_fadvise64]: Make code unconditional.
20826         [!__NR_fadvise64]: Remove conditional code.
20827         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
20828         <kernel-features.h>.
20829         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
20830         unconditional.
20831         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
20832         conditional code.
20833         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
20834         not include <kernel-features.h>.
20835         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
20836         unconditional.
20837         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
20838         conditional code.
20839         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
20840         include <kernel-features.h>.
20841         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
20842         unconditional.
20843         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
20844         conditional code.
20846 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
20848         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
20849         slight instruction rearrangements per scrollpipe analysis.
20850         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
20852 2012-08-20  Roland McGrath  <roland@hack.frob.com>
20854         * manual/syslog.texi (syslog; vsyslog, closelog):
20855         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
20856         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
20858         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
20859         DSOCAPS to match condition on defining it.
20861 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
20863         * sysdeps/unix/sysv/linux/kernel-features.h
20864         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
20865         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
20866         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
20867         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
20868         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
20869         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
20870         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
20871         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
20872         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
20873         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
20875         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
20876         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
20878         * sysdeps/unix/sysv/linux/kernel-features.h
20879         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
20880         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
20881         unconditional.
20882         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
20883         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
20884         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
20885         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
20886         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
20887         Make code unconditional.
20888         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
20889         (__mmap64) [!__NR_mmap2]: Likewise.
20890         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
20891         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
20892         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
20893         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
20894         [__NR_mmap2]: Make code unconditional.
20895         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
20896         (__mmap64) [!__NR_mmap2]: Likewise.
20898 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
20900         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
20902 2012-08-18  Andreas Jaeger  <aj@suse.de>
20904         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
20906 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
20908         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
20909         * include/unistd.h (__have_sock_cloexec): Likewise.
20910         (__have_pipe2): Likewise.
20911         (__have_dup3): Likewise.
20913 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
20915         [BZ #9685]
20916         * include/unistd.h (__have_pipe2): Change define into an extern int.
20917         (__have_dup3): Likewise.
20918         * socket/have_sock_cloexec.c: Include fcntl.h.
20919         (__have_pipe2): New variable.
20920         (__have_dup3): Likewise.
20922 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
20924         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
20926 2012-08-17  Marek Polacek  <polacek@redhat.com>
20928         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
20929         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
20931 2012-08-17  Roland McGrath  <roland@hack.frob.com>
20933         * configure.in: Add AC_SUBST for sysheaders.
20934         * configure: Regenerated.
20935         * config.make.in (sysheaders): New substituted variable.
20937         * sysdeps/unix/mkfifo.c: Moved ...
20938         * sysdeps/posix/mkfifo.c: ... here.
20939         * sysdeps/unix/mkfifoat.c: Moved ...
20940         * sysdeps/posix/mkfifoat.c: ... here.
20942         * sysdeps/unix/utime.c: Moved ...
20943         * sysdeps/posix/utime.c: ... here.
20945         * sysdeps/unix/time.c: Moved ...
20946         * sysdeps/posix/time.c: ... here.
20947         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
20948         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
20950         * sysdeps/unix/nice.c: Moved ...
20951         * sysdeps/posix/nice.c: ... here.
20953         * sysdeps/unix/alarm.c: Moved ...
20954         * sysdeps/posix/alarm.c: ... here.
20956         * intl/Makefile ($(codeset_mo)): Depend on the input file.
20958 2012-08-17  Jeff Law <law@redhat.com>
20960         * intl/Makefile (codeset_mo): New variable.
20961         ($(codeset_mo)): New target.
20962         (tst-codeset.out): Depend on that.  Remove explicit rule.
20963         (tst-gettext3.out, tst-gettext5.out): Likewise.
20964         (LOCPATH-ENV, tst-codeset-ENV): New variables.
20965         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
20966         * intl/tst-codeset.sh: Remove.
20967         * intl/tst-gettext3.sh: Likewise.
20968         * intl/tst-gettext5.sh: Likewise.
20970 2012-08-17  Roland McGrath  <roland@hack.frob.com>
20972         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
20973         * sysdeps/unix/syscalls.list: ... here.
20975         * sysdeps/posix/getaddrinfo.c
20976         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
20977         (gaiconf_init, gaiconf_reload): Use them.
20978         [!_STATBUF_ST_NSEC]
20979         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
20980         Define using time_t rather than struct timespec.
20982         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
20983         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
20984         Macros removed.
20985         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
20986         [!NO_THREADS].
20987         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
20988         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
20989         Likewise.
20991         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
20992         __libc_cleanup_push argument.
20994         * bits/param.h: New file.
20995         * misc/sys/param.h: New file.
20996         * include/sys/param.h: New file.
20997         * misc/Makefile (headers): Add bits/param.h.
20998         * sysdeps/generic/sys/param.h: File removed.
20999         * sysdeps/unix/sysv/linux/bits/param.h: New file.
21000         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
21001         * sysdeps/mach/hurd/bits/param.h: New file.
21002         * sysdeps/mach/hurd/sys/param.h: File removed.
21004         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
21005         last change.
21007         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
21008         [_IO_MTSAFE_IO].
21009         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
21010         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
21011         New macros.
21013         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
21014         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
21015         rather than -D_IO_MTSAFE_IO conditionally.
21016         * stdio-common/Makefile (CPPFLAGS): Likewise.
21017         * wcsmbs/Makefile (CPPFLAGS): Likewise.
21018         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
21019         Use $(libio-mtsafe).
21020         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
21021         of -D_IO_MTSAFE_IO.
21022         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
21023         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
21024         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
21025         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
21026         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
21027         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
21028         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
21029         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
21030         (CFLAGS-fread_u_chk.c): Likewise.
21031         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
21032         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
21033         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
21034         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
21035         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
21036         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
21037         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
21038         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
21039         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
21041         * libio/Makefile: Test [$(libc-reentrant) = yes]
21042         instead of [$(filter %REENTRANT, $(defines)) nonempty].
21044         * Makeconfig
21045         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
21046         * sysdeps/pthread/configure: File removed.
21047         * sysdeps/pthread/Makeconfig: New file.
21048         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
21049         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
21051 2012-08-16  Gary Benson  <gbenson@redhat.com>
21053         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
21054         unmapping the first object in a namespace.
21056 2012-08-16  Roland McGrath  <roland@hack.frob.com>
21058         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
21059         (__internal_setnetgrent): ... this.  Add internal_function to
21060         definition.  Add libc_hidden_def.
21061         (setnetgrent): Update caller.
21062         (internal_endnetgrent): Renamed to ...
21063         (__internal_endnetgrent): ... this.  Add internal_function to
21064         definition.  Add libc_hidden_def.
21065         (endnetgrent): Update caller.
21066         (internal_getnetgrent_r): Renamed to ...
21067         (__internal_getnetgrent_r): ... this.  Add internal_function to
21068         definition.  Add libc_hidden_def.
21069         (__getnetgrent_r): Update caller.
21070         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
21072 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
21074         * stdlib/longlong.h: Update from GCC.
21076 2012-08-16  Roland McGrath  <roland@hack.frob.com>
21078         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
21079         on _QL, which is set by umul_ppmm but never used.
21080         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
21081         variables, which are set by GMP macros but never used.
21082         * stdio-common/_itowa.c (_itowa): Likewise.
21083         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
21084         * stdlib/mod_1.c (mpn_mod_1): Likewise.
21086 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
21088         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
21089         struct La_sh_regs is not constant.
21090         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
21091         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
21092         and struct La_sparc64_regs are not constant.
21094 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
21096         * sysdeps/unix/sysv/linux/kernel-features.h
21097         (__ASSUME_POSIX_TIMERS): Remove.
21098         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
21099         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
21100         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
21101         Make code unconditional.
21102         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
21103         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
21104         Make code unconditional.
21105         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
21106         * sysdeps/unix/sysv/linux/clock_nanosleep.c
21107         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
21108         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
21109         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
21110         Make code unconditional.
21111         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
21112         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
21113         (__libc_missing_posix_timers): Remove.
21115 2012-08-15  Roland McGrath  <roland@hack.frob.com>
21117         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
21118         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
21120         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
21122         * elf/dl-sym.c: Include <stdlib.h>.
21124         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
21125         constants, which avoids warnings in 32-bit builds.
21127         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
21128         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
21130         * misc/lseek.c: File moved to ...
21131         * io/lseek.c: ... here.
21133         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
21135         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
21136         shifting LEN more than 31 bits at once.
21138 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
21140         [BZ #14195]
21141         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
21142         segmentation fault for a case of two empty input strings.
21143         * string/test-strncasecmp.c (check1): Renamed to...
21144         (bz12205): ...this.
21145         (bz14195): Add new testcase for two empty input strings and N > 0.
21146         (test_main): Call new testcase, adapt for renamed function.
21148 2012-08-15  Andreas Jaeger  <aj@suse.de>
21150         [BZ #14090]
21151         * crypt/md5test2.c: New test, based on test supplied by Serge
21152         Belyshev <belyshev@depni.sinp.msu.ru>.
21153         * crypt/Makefile (xtests): Add md5test-giant..
21154         * crypt/Makefile ($(objpfx)md5test-giant): Add.
21156 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
21158         [BZ #14090]
21159         * crypt/md5.c (md5_process_block): Don't assume the buffer
21160         length is less than 2**32.
21161         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
21162         length is less than 2**64.
21164 2012-08-15  Roland McGrath  <roland@hack.frob.com>
21166         * string/str-two-way.h: Include <sys/param.h>.
21167         (MAX): Macro removed.
21169         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
21170         Move #define and #undef of memmove to just before and after
21171         including <string.h>.
21173         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
21174         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
21175         and after including <string.h>.  Move declarations of
21176         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
21177         to before #include "string/memmove.c".
21179         * include/dirent.h: Declare __getdirentries.
21181         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
21182         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
21184 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
21186         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
21187         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
21188         * sysdeps/i386/configure: Regenerated.
21189         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
21190         STABS_CURRENT_FILE, and STABS_FUN.
21191         (END): Remove call to STABS_FUN_END.
21192         (STABS_CURRENT_FILE1): Delete.
21193         (STABS_CURRENT_FILE): Likewise.
21194         (STABS_FUN): Likewise.
21195         (STABS_FUN_END): Likewise.
21196         (STABS_FUN2): Likewise.
21197         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
21198         * sysdeps/x86_64/configure: Regenerated.
21200 2012-08-14  Roland McGrath  <roland@hack.frob.com>
21202         * elf/dl-open.c: Include <atomic.h>.
21203         * elf/dl-lookup.c: Likewise.
21205 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
21207         * sysdeps/unix/sysv/linux/kernel-features.h
21208         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
21209         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
21210         unconditionally.
21211         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
21212         unconditionally.
21213         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
21214         condition on __ASSUME_CLONE_THREAD_FLAGS.
21216 2012-08-14  Andreas Jaeger  <aj@suse.de>
21218         * sysdeps/i386/fpu/libm-test-ulps: Update.
21220 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
21222         * include/atomic.h (atomic_exchange_and_add): Split into ...
21223         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
21224         New atomic macros.
21226 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
21228         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21230 2012-08-13  Jeff Law <law@redhat.com>
21232         * manual/stdio.texi (snprintf): Clarify handling of the trailing
21233         null byte in the output string.
21235 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
21237         * sysdeps/unix/sysv/linux/kernel-features.h
21238         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
21239         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
21240         (__ASSUME_ARG_MAX_STACK_BASED): Define.
21241         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
21242         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
21243         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
21244         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
21246 2012-08-09  Jeff Law <law@redhat.com>
21248         [BZ #13939]
21249         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
21250         When avoid_arena is set, don't retry in the that arena.  Pick the
21251         next one, whatever it might be.
21252         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
21253         (arena_lock): Pass in new parameter to arena_get2.
21254         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
21255         arena_get2.
21256         (__libc_malloc): Unify retrying after main arena failure with
21257         __libc_memalign version.
21258         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
21260 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
21262         [BZ #14166]
21263         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
21264         to __redirect_strstr.
21265         (__strstr_sse42): Use typeof __redirect_strstr.
21266         (__strstr_ia32): Likewise.
21267         (__libc_strstr): New prototype.
21268         (strstr): Renamed to ...
21269         (__libc_strstr): This.
21270         (strstr): New strong alias of __libc_strstr.
21271         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
21272         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
21273         __redirect_time.
21274         Include <time.h>.
21275         (__libc_time): New prototype.
21276         (time_ifunc): Replace time with __libc_time.
21277         (time): New strong alias and hidden definition of __libc_time.
21278         (__GI_time): Remove strong alias.
21279         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
21280         Include <stddef.h>.
21281         (memmove): Redefined to __redirect_memmove.
21282         (__memmove_sse2): Use typeof __redirect_memmove.
21283         (__memmove_ssse3): Likewise.
21284         (__memmove_ssse3_back): Likewise.
21285         (__libc_memmove): New prototype.
21286         (memmove): Renamed to ...
21287         (__libc_memmove): This.
21288         (memmove): New strong alias of __libc_memmove.
21290 2012-08-08  Mark Salter  <msalter@redhat.com>
21292         * elf/elf.h
21293         (R_MN10300_TLS_GD): Define.
21294         (R_MN10300_TLS_LD): Likewise.
21295         (R_MN10300_TLS_LDO): Likewise.
21296         (R_MN10300_TLS_GOTIE): Likewise.
21297         (R_MN10300_TLS_IE): Likewise.
21298         (R_MN10300_TLS_LE): Likewise.
21299         (R_MN10300_TLS_DTPMOD): Likewise.
21300         (R_MN10300_TLS_DTPOFF): Likewise.
21301         (R_MN10300_TLS_TPOFF): Likewise.
21302         (R_MN10300_SYM_DIFF): Likewise.
21303         (R_MN10300_ALIGN): Likewise.
21304         (R_MN10300_NUM): Update.
21306 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
21308         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
21309         Remove.
21311 2012-08-08  Roland McGrath  <roland@hack.frob.com>
21313         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
21315         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
21316         sysdeps/unix -> sysdeps/posix move.
21317         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
21319 2012-08-07      Allan McRae     <allan@archlinux.org>
21321         [BZ #14303]
21322         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
21323         (SUNOS_CPP): Likewise.
21324         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
21325         not found.
21326         (open_input): Call CPP using execvp.
21328 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
21330         * sysdeps/unix/sysv/linux/kernel-features.h
21331         (__ASSUME_PROT_GROWSUPDOWN): Remove.
21332         (__ASSUME_NO_CLONE_DETACHED): Likewise.
21333         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
21334         (__ASSUME_WAITID_SYSCALL): Likewise.
21335         * sysdeps/unix/sysv/linux/dl-execstack.c
21336         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
21337         code unconditional.
21338         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
21339         conditional code.
21340         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
21341         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
21342         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
21343         code.
21344         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
21345         unconditional.
21346         [__ASSUME_WAITID_SYSCALL]: Likewise.
21347         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
21349 2012-08-07  Roland McGrath  <roland@hack.frob.com>
21351         * sysdeps/unix/closedir.c: Renamed to ...
21352         * sysdeps/posix/closedir.c: ... here.
21353         * sysdeps/unix/dirfd.c: Renamed to ...
21354         * sysdeps/posix/dirfd.c: ... here.
21355         * sysdeps/unix/dirstream.h: Renamed to ...
21356         * sysdeps/posix/dirstream.h: ... here.
21357         * sysdeps/unix/fdopendir.c: Renamed to ...
21358         * sysdeps/posix/fdopendir.c: ... here.
21359         * sysdeps/unix/opendir.c: Renamed to ...
21360         * sysdeps/posix/opendir.c: ... here.
21361         * sysdeps/unix/readdir.c: Renamed to ...
21362         * sysdeps/posix/readdir.c: ... here.
21363         * sysdeps/unix/readdir_r.c: Renamed to ...
21364         * sysdeps/posix/readdir_r.c: ... here.
21365         * sysdeps/unix/rewinddir.c: Renamed to ...
21366         * sysdeps/posix/rewinddir.c: ... here.
21367         * sysdeps/unix/seekdir.c: Renamed to ...
21368         * sysdeps/posix/seekdir.c: ... here.
21369         * sysdeps/unix/telldir.c: Renamed to ...
21370         * sysdeps/posix/telldir.c: ... here.
21371         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
21372         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
21373         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
21374         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
21376         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
21377         * bits/fcntl.h: ... here.
21379         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
21380         not 0.
21381         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
21382         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
21383         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
21384         (struct flock): Move l_start, l_len to the beginning.
21385         Use __pid_t for l_pid.
21386         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
21387         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
21388         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
21389         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
21390         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
21391         [__USE_LARGEFILE64] (struct flock64): New type.
21392         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
21394         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
21395         * bits/dirent.h: ... here.
21397         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
21398         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
21400 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
21402         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
21403         Change from 2.6.0 to 2.6.16.
21404         * sysdeps/unix/sysv/linux/configure: Regenerated.
21405         * sysdeps/unix/sysv/linux/kernel-features.h
21406         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
21407         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
21408         version.
21409         (__ASSUME_UTIMES): Likewise.
21410         (__ASSUME_CLONE_STOPPED): Remove.
21411         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
21412         architectures, not kernel version.
21413         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
21414         (__ASSUME_NO_CLONE_DETACHED): Likewise.
21415         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
21416         (__ASSUME_WAITID_SYSCALL): Likewise.
21417         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
21418         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
21419         * README: State 2.6.16 as minimum Linux kernel version.  Do not
21420         refer to older versions.
21422 2012-08-06  Roland McGrath  <roland@hack.frob.com>
21424         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
21425         Define alphasort64 as an alias.
21426         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
21427         Define versionsort64 as an alias.
21428         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
21429         Define scandir64 as an alias.
21430         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
21431         Define scandirat64 as an alias.
21432         * dirent/alphasort64.c (alphasort64):
21433         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
21434         * dirent/versionsort64.c: Likewise.
21435         * dirent/scandir64.c: Likewise.
21436         * dirent/scandirat64.c: Likewise.
21437         * sysdeps/wordsize-64/alphasort.c: File removed.
21438         * sysdeps/wordsize-64/alphasort64.c: File removed.
21439         * sysdeps/wordsize-64/scandir.c: File removed.
21440         * sysdeps/wordsize-64/scandir64.c: File removed.
21441         * sysdeps/wordsize-64/scandirat.c: File removed.
21442         * sysdeps/wordsize-64/scandirat64.c: File removed.
21443         * sysdeps/wordsize-64/versionsort.c: File removed.
21444         * sysdeps/wordsize-64/versionsort64.c: File removed.
21445         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
21446         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
21447         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
21448         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
21449         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
21450         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
21451         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
21452         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
21454         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
21455         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
21456         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
21457         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
21458         [defined __arch64__ || defined __sparcv9]
21459         (__INO_T_MATCHES_INO64_T): New macro.
21460         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
21461         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
21462         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
21463         * sysdeps/unix/sysv/linux/bits/dirent.h
21464         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
21465         (_DIRENT_MATCHES_DIRENT64): New macro.
21467         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
21468         Define lockf64 as an alias.
21469         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
21470         Define fseeko64 as an alias.
21471         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
21472         Define ftello64 as an alias.
21473         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
21474         Define _IO_fgetpos64 and fgetpos64 as aliases.
21475         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
21476         Define _IO_fsetpos64 and fsetpos64 as aliases.
21477         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
21478         Conditionalize body on this.
21479         * libio/fseeko64.c: Likewise.
21480         * libio/ftello64.c: Likewise.
21481         * libio/iofgetpos64.c: Likewise.
21482         * libio/iofsetpos64.c: Likewise.
21483         * sysdeps/wordsize-64/lockf.c: File removed.
21484         * sysdeps/wordsize-64/lockf64.c: File removed.
21485         * sysdeps/wordsize-64/fseeko.c: File removed.
21486         * sysdeps/wordsize-64/fseeko64.c: File removed.
21487         * sysdeps/wordsize-64/ftello.c: File removed.
21488         * sysdeps/wordsize-64/ftello64.c: File removed.
21489         * sysdeps/wordsize-64/iofgetpos.c: File removed.
21490         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
21491         * sysdeps/wordsize-64/iofsetpos.c: File removed.
21492         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
21493         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
21494         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
21495         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
21496         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
21497         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
21498         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
21499         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
21500         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
21501         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
21502         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
21504         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
21505         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
21506         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
21507         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
21508         [defined __arch64__ || defined __sparcv9]
21509         (__OFF_T_MATCHES_OFF64_T): New macro.
21510         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
21511         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
21512         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
21513         (__OFF_T_MATCHES_OFF64_T): New macro.
21515 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
21517         * stdlib/secure-getenv.c (__secure_getenv): Replace
21518         GLIBC_2_16 with GLIBC_2_17.
21520 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
21522         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
21523         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
21525 2012-08-03  David S. Miller  <davem@davemloft.net>
21527         * sysdeps/sparc/fpu/libm-test-ulps: Update.
21529 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
21531         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
21532         Remove.
21533         (__ASSUME_CORRECT_SI_PID): Likewise.
21534         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
21535         (__ASSUME_TMPFS_NAME): Likewise.
21536         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
21537         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
21538         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
21539         (HAVE_AUX_SECURE): Make definition unconditional.
21540         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
21541         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
21543 2012-08-03  Roland McGrath  <roland@hack.frob.com>
21545         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
21546         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
21547         * sysdeps/mach/hurd/eloop-threshold.h: New file.
21548         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
21549         __eloop_threshold instead of SYMLOOP_MAX.
21551         * sysdeps/generic/eloop-threshold.h: New file.
21552         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
21553         of MAXSYMLINKS.
21554         * elf/chroot_canon.c (chroot_canon): Likewise.
21556 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
21558         [BZ #13717]
21559         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
21560         Change to 2.6.0 everywhere.
21561         * sysdeps/unix/sysv/linux/configure: Regenerated.
21562         * sysdeps/unix/sysv/linux/kernel-features.h
21563         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
21564         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
21565         kernel versions.
21566         (__ASSUME_POSIX_TIMERS): Define unconditionally.
21567         (__ASSUME_FUTEX_REQUEUE): Remove.
21568         (__ASSUME_STATFS64): Define unconditionally.
21569         (__ASSUME_AT_SECURE): Likewise.
21570         (__ASSUME_CORRECT_SI_PID): Likewise.
21571         (__ASSUME_TGKILL): Define without depending on kernel version for
21572         i386.
21573         (__ASSUME_UTIMES): Likewise.
21574         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
21575         kernel version.
21576         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
21577         (__ASSUME_TMPFS_NAME): Likewise.
21578         * README: Update reference to Linux kernel versions.
21580 2012-08-02  Marek Polacek  <polacek@redhat.com>
21582         [BZ# 14150]
21583         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
21584         libc_cv_asm_type_prefix with %.
21585         * configure: Regenerated.
21586         * include/libc-symbols.h: Remove comment about
21587         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
21588         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
21589         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
21590         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
21591         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
21592         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
21593         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
21594         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
21595         * elf/tst-unique2mod1.c: Likewise.
21596         * elf/tst-unique1mod2.c: Likewise.
21597         * elf/tst-unique1mod1.c: Likewise.
21598         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
21599         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
21600         Replace ASM_TYPE_DIRECTIVE with .type.
21601         * sysdeps/s390/s390-64/sysdep.h: Likewise.
21602         * sysdeps/i386/sysdep.h: Likewise.
21603         * sysdeps/x86_64/sysdep.h: Likewise.
21604         * sysdeps/sh/sysdep.h: Likewise.
21605         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
21606         Do not define ASM_TYPE_DIRECTIVE.
21607         * sysdeps/powerpc/sysdep.h: Likewise.
21608         * sysdeps/powerpc/powerpc32/sysdep.h:
21609         Replace ASM_TYPE_DIRECTIVE with .type.
21610         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
21611         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
21612         * sysdeps/i386/fpu/e_powf.S: Likewise.
21613         * sysdeps/i386/fpu/e_expl.S: Likewise.
21614         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
21615         * sysdeps/i386/fpu/e_acosh.S: Likewise.
21616         * sysdeps/i386/fpu/e_pow.S: Likewise.
21617         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
21618         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
21619         * sysdeps/i386/fpu/s_expm1.S: Likewise.
21620         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
21621         * sysdeps/i386/fpu/e_log2.S: Likewise.
21622         * sysdeps/i386/fpu/e_log2l.S: Likewise.
21623         * sysdeps/i386/fpu/e_scalb.S: Likewise.
21624         * sysdeps/i386/fpu/e_powl.S: Likewise.
21625         * sysdeps/i386/fpu/e_log10f.S: Likewise.
21626         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
21627         * sysdeps/i386/fpu/e_logl.S: Likewise.
21628         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
21629         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
21630         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
21631         * sysdeps/i386/fpu/e_log2f.S: Likewise.
21632         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
21633         * sysdeps/i386/fpu/e_log.S: Likewise.
21634         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
21635         * sysdeps/i386/fpu/e_logf.S: Likewise.
21636         * sysdeps/i386/fpu/e_log10l.S: Likewise.
21637         * sysdeps/i386/fpu/e_atanh.S: Likewise.
21638         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
21639         * sysdeps/i386/fpu/e_log10.S: Likewise.
21640         * sysdeps/i386/fpu/s_frexp.S: Likewise.
21641         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
21642         * sysdeps/i386/fpu/s_asinh.S: Likewise.
21643         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
21644         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
21645         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
21646         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
21647         * sysdeps/i386/i686/strtok.S: Likewise.
21648         * sysdeps/i386/i386-mcount.S: Likewise.
21649         * sysdeps/i386/strtok.S: Likewise.
21650         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
21651         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
21652         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
21653         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
21654         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
21655         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
21656         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
21657         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
21658         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
21659         * sysdeps/x86_64/_mcount.S: Likewise.
21660         * sysdeps/x86_64/strtok.S: Likewise.
21661         * sysdeps/sh/_mcount.S: Likewise.
21663 2012-08-01  Roland McGrath  <roland@hack.frob.com>
21665         * libio/iofopen.c: Include <fcntl.h>.
21666         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
21667         (_IO_fopen64, fopen64): Define as aliases.
21668         * libio/iofopen64.c: Include <fcntl.h>.
21669         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
21670         Conditionalize body on this.
21671         * sysdeps/wordsize-64/iofopen.c: File removed.
21672         * sysdeps/wordsize-64/iofopen64.c: File removed.
21674 2012-08-01  Marek Polacek  <polacek@redhat.com>
21676         * libc/Makeconfig: Use elf in place of binfmt-subdir.
21677         Use dlfcn directly instead of a variable.
21678         (binfmt-subdir): Do not define.
21679         (dlfcn): Likewise.
21681 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
21683         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
21684         Remove all definitions.
21685         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
21686         <kernel-features.h>.
21687         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
21688         (miss_F_GETOWN_EX): Remove all definitions.
21689         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
21690         macro definition.
21691         [!__ASSUME_FCNTL64]: Remove conditional code.
21692         [__ASSUME_FCNTL64]: Make code unconditional.
21693         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
21694         <kernel-features.h>.
21695         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
21696         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
21697         (lockf64) [__NR_fcntl64]: Make code unconditional.
21698         (lockf64) [__ASSUME_FCNTL64]: Likewise.
21700         * sysdeps/unix/sysv/linux/kernel-features.h
21701         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
21702         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
21703         Make code unconditional.
21704         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
21705         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
21706         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
21707         [__NR_vfork]: Make code unconditional.
21708         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
21709         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
21710         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
21711         [__NR_vfork]: Make code unconditional.
21712         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
21713         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
21715 2012-08-01  Roland McGrath  <roland@hack.frob.com>
21717         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
21718         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
21720         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
21721         Define mkstemp64 as an alias.
21722         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
21723         Define mkstemps64 as an alias.
21724         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
21725         Define mkostemp64 as an alias.
21726         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
21727         Define mkostemps64 as an alias.
21728         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
21729         Conditionalize body on this.
21730         * misc/mkostemp64.c: Likewise.
21731         * misc/mkostemps64.c: Likewise.
21732         * misc/mkstemps64.c: Likewise.
21733         * sysdeps/wordsize-64/mkstemp64.c: File removed.
21734         * sysdeps/wordsize-64/mkostemp64.c: File removed.
21735         * sysdeps/wordsize-64/mkostemp.c: File removed.
21736         * sysdeps/wordsize-64/mkstemp.c: File removed.
21737         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
21738         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
21739         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
21740         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
21742         [BZ #14138]
21743         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
21744         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
21745         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
21746         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
21748         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
21749         compat_symbol macros from <shlib-compat.h> rather than the underlying
21750         default_symbol_version and symbol_version macros, so that DEFAULT
21751         lines in shlib-versions are respected.
21752         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
21754 2012-08-01  Florian Weimer  <fweimer@redhat.com>
21756         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
21757         Declare with warn_unused_result.
21758         (setgid, setregid, setegid, setresgid): Likewise.
21759         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
21760         Likewise.
21761         * WUR-REPORT: Remove set*id functions.
21763 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
21765         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
21767 2012-07-31  Roland McGrath  <roland@hack.frob.com>
21769         [BZ #10191]
21770         * include/sys/socket.h (__libc_accept, __libc_accept4):
21771         Add attribute_hidden.
21772         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
21774         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
21775         use of PTR_MANGLE.
21776         * inet/getnetgrent_r.c (setup): Likewise.
21778         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
21780 2012-07-31  David S. Miller  <davem@davemloft.net>
21782         * sysdeps/sparc/fpu/libm-test-ulps: Update.
21784 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
21786         [BZ #13629]
21787         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
21788         value between 1.0 and 2.0 and smaller part has absolute value less
21789         than 1.0.
21790         * math/s_clog10.c (__clog10): Likewise.
21791         * math/s_clog10f.c (__clog10f): Likewise.
21792         * math/s_clog10l.c (__clog10l): Likewise.
21793         * math/s_clogf.c (__clogf): Likewise.
21794         * math/s_clogl.c (__clogl): Likewise.
21795         * math/libm-test.inc (clog_test): Add more tests.
21796         (clog10_test): Likewise.
21797         * sysdeps/i386/fpu/libm-test-ulps: Update.
21798         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21800 2012-07-31  Florian Weimer  <fweimer@redhat.com>
21802         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
21803         Exit with zero in case no suitable GID is found, and write a
21804         message to standard error.
21806 2012-07-30  Roland McGrath  <roland@hack.frob.com>
21808         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
21809         rather than to 1.
21810         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
21811         (MAXPATHLEN): Removed.
21812         (NOGROUP, NODEV): New macros.
21813         (setbit, clrbit, isset, isclr): New macros.
21814         (howmany, roundup, powerof2): New macros.
21815         (DEV_BSIZE): New macro.
21817         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
21818         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
21820         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
21821         definition on [!__NO_LONG_DOUBLE_MATH].
21823         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
21824         PTR_MANGLE and PTR_DEMANGLE.
21826         * socket/accept4.c (accept4): Rename to __libc_accept4.
21827         Define accept4 as a weak alias.
21829         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
21830         on [_DIRENT_HAVE_D_TYPE].
21831         * io/ftw.c (ftw_dir): Likewise.
21833         * io/xmknod.c (__xmknod): Don't check PATH for being null.
21835         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
21837         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
21838         Use the BSD numbers rather than the arbitrary ones we had.
21839         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
21840         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
21841         (SIGXCPU, SIGXFSZ): New macros.
21842         (_NSIG): Now 32.
21844         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
21845         initializer on [_LIBC_REENTRANT].
21847         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
21848         definitions inside [_POSIX_MAPPED_FILES].
21850         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
21852         * dirent/opendir.c: Include <fcntl.h>.
21854         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
21855         (__libc_getspecific): Likewise.
21856         (__libc_key_create): Likewise.
21858         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
21859         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
21860         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
21861         (tmpfile64): Define as alias.
21862         * sysdeps/wordsize-64/tmpfile.c: File removed.
21863         * sysdeps/wordsize-64/tmpfile64.c: File removed.
21864         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
21865         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
21867         * stdio-common/vfscanf.c: Include <stdbool.h>.
21868         * nss/makedb.c: Likewise.
21869         * stdio-common/_i18n_number.h: Likewise.
21870         * argp/argp-help.c: Likewise.
21871         * posix/wordexp.c: Likewise.
21872         * sysdeps/posix/spawni.c: Likewise.
21873         * nss/nss_files/files-initgroups.c: Likewise.
21874         * stdio-common/reg-modifier.c: Include <stdlib.h>.
21875         * nss/nss_files/files-initgroups.c: Likewise.
21876         * nss/nss_db/db-netgrp.c: Likewise.
21877         * nss/nss_db/db-initgroups.c: Likewise.
21878         * io/fchmodat.c: Include <sys/stat.h>.
21880         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
21881         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
21883         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
21884         [HAVE_MMAP].
21886         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
21887         Add multiple inclusion protection.
21889 2012-07-27  David S. Miller  <davem@davemloft.net>
21891         * sysdeps/sparc/fpu/libm-test-ulps: Update.
21893 2012-07-27  Gary Benson  <gbenson@redhat.com>
21895         [BZ #14298]
21896         * elf/rtld.c: Include <stap-probe.h>.
21897         (dl_main): Added static probes "init_start" and "init_complete".
21898         * elf/dl-load.c: Include <stap-probe.h>.
21899         (lose): Take new parameter "nsid".
21900         Added static probe "map_failed".
21901         (_dl_map_object_from_fd): Pass namespace id to lose.
21902         Added static probe "map_start".
21903         (open_verify): Pass namespace id to lose.
21904         * elf/dl-open.c: Include <stap-probe.h>.
21905         (dl_open_worker) Added static probes "map_complete", "reloc_start"
21906         and "reloc_complete".
21907         * elf/dl-close.c: Include <stap-probe.h>.
21908         (_dl_close_worker): Added static probes "unmap_start" and
21909         "unmap_complete".
21910         * elf/rtld-debugger-interface.txt: New file documenting the above.
21912 2012-07-26  Roland McGrath  <roland@hack.frob.com>
21914         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
21915         rather than a string variable.
21916         * sunrpc/rpc_main.c (h_output): Likewise.
21917         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
21919 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
21921         * inet/check_native.c: New file.
21923 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
21925         [BZ #13629]
21926         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
21927         if larger part has absolute value 1.0.
21928         * math/s_clog10.c (__clog10): Likewise.
21929         * math/s_clog10f.c (__clog10f): Likewise.
21930         * math/s_clog10l.c (__clog10l): Likewise.
21931         * math/s_clogf.c (__clogf): Likewise.
21932         * math/s_clogl.c (__clogl): Likewise.
21933         * math/libm-test.inc (clog_test): Add more tests.
21934         (clog10_test): Likewise.
21935         * sysdeps/i386/fpu/libm-test-ulps: Update.
21936         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21938         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
21939         (pltexit): Likewise.
21940         (La_regs): Likewise.
21941         (La_retval): Likewise.
21942         (int_retval): Likewise.
21943         Update #error for removed macros to refer only to definitions in
21944         tst-audit.h.
21945         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
21946         macro.
21947         (pltexit): Likewise.
21948         (La_regs): Likewise.
21949         (La_retval): Likewise.
21950         (int_retval): Likewise.
21951         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
21952         macro.
21953         (pltexit): Likewise.
21954         (La_regs): Likewise.
21955         (La_retval): Likewise.
21956         (int_retval): Likewise.
21957         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
21958         macro.
21959         (pltexit): Likewise.
21960         (La_regs): Likewise.
21961         (La_retval): Likewise.
21962         (int_retval): Likewise.
21963         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
21964         macro.
21965         (pltexit): Likewise.
21966         (La_regs): Likewise.
21967         (La_retval): Likewise.
21968         (int_retval): Likewise.
21969         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
21970         macro.
21971         (pltexit): Likewise.
21972         (La_regs): Likewise.
21973         (La_retval): Likewise.
21974         (int_retval): Likewise.
21975         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
21976         macro.
21977         (pltexit): Likewise.
21978         (La_regs): Likewise.
21979         (La_retval): Likewise.
21980         (int_retval): Likewise.
21981         * sysdeps/generic/tst-audit.h: Update comment to refer only to
21982         macro definitions in tst-audit.h.
21983         * sysdeps/i386/tst-audit.h: New file.
21984         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
21985         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
21986         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
21987         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
21988         * sysdeps/sh/tst-audit.h: Likewise.
21989         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
21990         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
21991         * sysdeps/x86_64/tst-audit.h: Likewise.
21993 2012-07-26  Andreas Jaeger  <aj@suse.de>
21995         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
21996         ptrace.
21998         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
21999         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
22000         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
22001         PTRACE_O_MASK.
22002         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
22003         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
22004         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
22006         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
22007         value.
22009         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
22010         _sigsys.
22011         (si_call_addr, si_syscall, si_arch): Define new macro.
22012         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
22013         _sigsys.
22014         (si_call_addr, si_syscall, si_arch): Define new marcro.
22015         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
22016         _sigsys.
22017         (si_call_addr, si_syscall, si_arch): Define new macro.
22018         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
22019         _sigsys.
22020         (si_call_addr, si_syscall, si_arch): Define new macro.
22022 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
22024         [BZ #13717]
22025         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
22026         Change to 2.4.21 where previously 2.4.1.
22027         * sysdeps/unix/sysv/linux/configure: Regenerated.
22028         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
22029         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
22030         Linux kernel version.
22031         (__ASSUME_STD_AUXV): Remove.
22032         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
22033         kernel version.
22034         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
22035         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
22036         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
22037         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
22038         (__ASSUME_NETLINK_SUPPORT): Likewise.
22039         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
22040         (__no_netlink_support): Remove conditional definition.
22041         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
22042         Remove.
22043         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
22044         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
22045         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
22046         (if_nameindex_ioctl): Remove.
22047         (if_nameindex_netlink): Do not handle __no_netlink_support.
22048         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
22049         code.
22050         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
22051         Remove conditional code.
22052         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
22053         code.
22054         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
22055         unconditional.
22056         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
22057         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
22058         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
22059         Remove.
22060         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
22061         [!__ASSUME_STD_AUXV]: Remove conditional code.
22062         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
22063         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
22064         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
22065         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
22066         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
22067         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
22068         code.
22069         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
22070         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
22071         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
22072         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
22073         conditional code.
22074         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
22075         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
22076         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
22077         code.
22078         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
22079         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
22080         conditional code.
22081         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
22082         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
22083         code unconditional.
22084         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
22085         conditional code.
22086         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
22087         unconditional.
22088         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
22089         conditional code.
22090         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
22091         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
22092         unconditional.
22093         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
22094         conditional code.
22095         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
22096         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
22097         code unconditional.
22098         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
22099         conditional code.
22100         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
22101         unconditional.
22102         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
22103         conditional code.
22104         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
22105         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
22106         code unconditional.
22107         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
22108         conditional code.
22109         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
22110         unconditional.
22111         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
22112         conditional code.
22114 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
22116         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
22117         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
22118         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
22119         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
22120         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
22121         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
22122         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
22123         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
22124         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
22125         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
22126         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
22127         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
22128         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
22129         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
22130         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
22131         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
22132         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
22133         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
22134         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
22135         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
22136         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
22137         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
22138         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
22140 2012-07-25  Florian Weimer  <fweimer@redhat.com>
22142         * Versions.def: Add GLIBC_2.17.
22143         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
22144         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
22145         Introduce __libc_secure_getenv.
22146         * stdlib/Versions (2.17): Add secure_getenv
22147         (GLIBC_PRIVATE): Add __libc_secure_getenv.
22148         * stdlib/secure-getenv.c: Rename __secure_getenv to
22149         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
22150         symbol __secure_getenv for GLIBC_2.0.
22151         * stdlib/tst-secure-getenv.c: New.
22152         * stdlib/Makefile (tests): Add testcase.
22153         * manual/startup.texi (Environment Access): Document
22154         secure_getenv.
22155         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
22156         __libc_secure_getenv.
22157         * inet/ruserpass.c (ruserpass): Likewise.
22158         * malloc/mtrace.c (mtrace): Likewise.
22159         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
22160         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
22161         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
22162         * sysdeps/posix/tempname.c: Likewise.  Evaluate
22163         HAVE_SECURE_GETENV.
22164         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
22165         __secure_getenv to __libc_secure_getenv.
22166         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
22167         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
22168         Likewise.
22169         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
22170         Likewise.
22171         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
22172         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
22173         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
22174         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
22175         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
22176         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
22177         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
22179 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
22181         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
22182         (struct La_i86_retval): Likewise.
22183         (struct La_x86_64_regs): Likewise.
22184         (struct La_x86_64_retval): Likewise.
22185         (struct La_x32_regs): Likewise.
22186         (struct La_x32_retval): Likewise.
22187         (struct La_ppc32_regs): Likewise.
22188         (struct La_ppc32_retval): Likewise.
22189         (struct La_ppc64_regs): Likewise.
22190         (struct La_ppc64_retval): Likewise.
22191         (struct La_sh_regs): Likewise.
22192         (struct La_sh_retval): Likewise.
22193         (struct La_s390_32_regs): Likewise.
22194         (struct La_s390_32_retval): Likewise.
22195         (struct La_s390_64_regs): Likewise.
22196         (struct La_s390_64_retval): Likewise.
22197         (struct La_sparc32_regs): Likewise.
22198         (struct La_sparc32_retval): Likewise.
22199         (struct La_sparc64_regs): Likewise.
22200         (struct La_sparc64_retval): Likewise.
22201         (struct audit_ifaces): Remove architecture-specific pltenter and
22202         pltexit members.
22203         * sysdeps/i386/ldsodefs.h: New file.
22204         * sysdeps/powerpc/ldsodefs.h: Likewise.
22205         * sysdeps/s390/ldsodefs.h: Likewise.
22206         * sysdeps/sh/ldsodefs.h: Likewise.
22207         * sysdeps/sparc/ldsodefs.h: Likewise.
22208         * sysdeps/x86_64/ldsodefs.h: Likewise.
22210 2012-07-25  Marek Polacek  <polacek@redhat.com>
22212         [BZ #6808]
22213         * math/libm-test.inc (yn_test): Add another test.
22214         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
22215         to ERANGE when the result is +-Inf.
22216         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
22217         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
22218         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
22219         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
22221 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
22223         * conform/data/time.h-data (NULL): Use macro-constant.  Require
22224         equal to 0.
22225         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
22226         clock_t.
22227         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
22229 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
22231         * configure.in <sysdeps resolving>: Correct printing
22232         Implies_before.
22233         * configure: Regenerate.
22235 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
22237         * math/w_ilogb.c: Include <limits.h>.
22238         * math/w_ilogbl.c: Likewise.
22240 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
22242         * manual/lang.texi (__va_copy): Document primarily as ISO C99
22243         va_copy.  Document allowing for unavailable va_copy only as
22244         pre-C99 compatibility.
22245         * manual/string.texi (Copying and Concatenation): Use va_copy
22246         instead of __va_copy in concat example.
22248 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
22250         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
22251         (__sendto): Use create_address_port.  Initialize APORT and deallocate
22252         it if not null.
22254         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
22255         with O_NOLINK passed to __file_name_lookup.
22257         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
22258         with O_NOLINK passed to __file_name_lookup.
22260         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
22261         negative N or less than NGIDS.
22263         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
22264         type to string_t.  Set ERANGE as errno and return it if NAME is not big
22265         enough.  Use memcpy instead of strncpy.
22267 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
22269         * elf/Makefile (check-data): Remove.
22270         (localplt.data): New vpath directive.
22271         ($(objpfx)check-localplt.out): Use localplt.data from vpath
22272         instead of $(check-data).
22273         * scripts/data/localplt-generic.data: Move to ...
22274         * sysdeps/generic/localplt.data: ... here.
22275         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
22276         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
22277         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
22278         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
22279         ... here.
22280         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
22281         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
22282         ... here.
22283         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
22284         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
22285         ... here.
22286         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
22287         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
22288         ... here.
22289         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
22290         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
22291         ... here.
22292         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
22293         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
22294         ... here.
22296 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22298         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
22299         PPC32 and PPC64 files.
22300         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
22301         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
22303 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
22305         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
22306         __makecontext_ret to ...
22307         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
22308         ... here and call exit if uc_link is NULL.  New file.
22309         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
22310         __makecontext_ret.S.
22311         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
22312         __makecontext_ret to ...
22313         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
22314         ... here and call exit if uc_link is NULL.  New file.
22315         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
22316         __makecontext_ret.S.
22318 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
22320         * elf/elf.h (R_390_IRELATIVE): New definition.
22321         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
22322         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
22323         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
22324         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
22325         (elf_machine_lazy_rel): Likewise.
22326         * sysdeps/s390/dl-irel.h: New file.
22327         * sysdeps/s390/s390-64/memcpy.S: New asm code.
22328         * sysdeps/s390/s390-64/memset.S: New asm code.
22329         * sysdeps/s390/s390-64/memcmp.S: New asm code.
22330         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
22331         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
22332         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
22333         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
22334         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
22335         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
22336         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
22337         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
22338         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
22339         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
22340         * sysdeps/s390/s390-32/memcpy.S: New asm code.
22341         * sysdeps/s390/s390-32/memset.S: New asm code.
22342         * sysdeps/s390/s390-32/memcmp.S: New asm code.
22344 2012-07-17  Marek Polacek  <polacek@redhat.com>
22346         [BZ #14349]
22347         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
22348         * sysdeps/s390/s390-64/configure.in: Likewise.
22349         * sysdeps/sparc/configure.in: Likewise.
22350         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
22351         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
22352         * sysdeps/i386/configure.in: Likewise.
22353         * sysdeps/x86_64/configure.in: Likewise.
22354         * sysdeps/sh/configure.in: Likewise.
22355         * sysdeps/s390/s390-32/configure: Regenerated.
22356         * sysdeps/s390/s390-64/configure: Likewise.
22357         * sysdeps/x86_64/configure: Likewise.
22358         * sysdeps/sh/configure: Likewise.
22359         * sysdeps/powerpc/powerpc64/configure: Likewise.
22360         * sysdeps/powerpc/powerpc32/configure: Likewise.
22361         * sysdeps/sparc/configure: Likwise.
22362         * sysdeps/i386/configure: Likewise.
22364         * elf/dl-open.c: Comment fixes.
22366 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
22368         * Makefile [CXX] (check-data): Remove.
22369         [CXX] (c++-types.data): New vpath directive.
22370         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
22371         vpath.  Do not allow for C++ type data being missing.
22372         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
22373         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
22374         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
22375         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
22376         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
22377         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
22378         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
22379         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
22380         ... here.
22381         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
22382         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
22383         ... here.
22384         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
22385         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
22386         ... here.
22387         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
22388         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
22389         ... here.
22390         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
22391         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
22392         ... here.
22393         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
22394         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
22395         ... here.
22396         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
22397         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
22398         ... here.
22399         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
22400         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
22402         * elf/tls-macros.h (TLS_LE): Move architecture-specific
22403         definitions to architecture-specific files.
22404         (TLS_IE): Likewise.
22405         (TLS_LD): Likewise.
22406         (TLS_GD): Likewise.
22407         * sysdeps/i386/tls-macros.h: New file.
22408         * sysdeps/powerpc/tls-macros.h: Likewise.
22409         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
22410         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
22411         * sysdeps/sh/tls-macros.h: Likewise.
22412         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
22413         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
22414         * sysdeps/x86_64/tls-macros.h: Likewise.
22416 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
22418         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
22419         zero value for regular exit case.
22421         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
22422         (__start_context): Preserve zero value for regular exit case.
22424 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
22425             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
22427         * manual/setjmp.texi (setcontext): Clarify normal process
22428         termination when uc_link is the null pointer.
22429         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
22430         exit call.
22432 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
22434         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
22435         preprocessor.  Test for each exception mask separately.
22437 2012-07-16  Andreas Jaeger  <aj@suse.de>
22439         * po/ru.po: Update from translation team.
22441 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
22443         * conform/data/string.h-data (NULL): Use macro-constant.  Require
22444         equal to 0.
22445         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
22446         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
22447         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
22448         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
22449         [ISO || ISO99 || ISO11] (*_t): Do not allow.
22451 2012-07-13  Andreas Jaeger  <aj@suse.de>
22453         * po/fr.po: Update from translation team.
22455 2012-07-12  Marek Polacek  <polacek@redhat.com>
22457         [BZ #14173]
22458         * math/libm-test.inc (yn_test): Add test for BZ #14173.
22459         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
22460         loop condition.
22462 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
22464         [BZ #13717]
22465         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
22466         Change to 2.4.1 where previously 2.4.0.
22467         * sysdeps/unix/sysv/linux/configure: Regenerated.
22468         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
22469         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
22470         version.
22471         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
22472         (__ASSUME_AT_CLKTCK): Remove.
22473         (__ASSUME_AT_PAGESIZE): Likewise.
22474         (__ASSUME_AT_XID): Likewise.
22475         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
22476         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
22477         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
22478         unconditionally.
22479         (HAVE_AUX_PAGESIZE): Likewise.
22480         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
22481         [__ASSUME_AT_CLKTCK]: Make code unconditional.
22482         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
22484 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
22486         [BZ #14307]
22487         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
22488         the temporary buffer used to invoke __gethostbyname2_r,
22489         __gethostbyaddr_r and gethostbyname4_r to make room for struct
22490         host_data / struct gaih_addrtuple.
22491         * resolv/nss_dns/dns-host.c (global scope): Move definition of
22492         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
22493         header file nss/nsswitch.h.
22494         * nss/nsswitch.h (global scope): Add definition of implementation
22495         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
22496         resolv/nss_dns/dns-host.c).
22498 2012-07-11  Andreas Jaeger  <aj@suse.de>
22500         * po/fr.po: Update from translation team.
22502         * po/sv.po: Update from translation team
22503         * po/fr.po: Another update from translation team.
22505 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22507         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
22508         for subnormals or multiply small sinh result by itself.
22509         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
22510         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22512 2012-07-11  David S. Miller  <davem@davemloft.net>
22514         * sysdeps/sparc/fpu/libm-test-ulps: Update.
22516 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
22518         [BZ #14347]
22519         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
22520         (INTERNAL_MARK): Shift it here.
22522 2012-07-10  Marek Polacek  <polacek@redhat.com>
22524         [BZ #14151]
22525         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
22526         libc_cv_asm_global_directive with .globl.
22527         * configure: Regenerated.
22528         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
22529         with .globl.
22530         * sysdeps/i386/configure: Regenerated.
22531         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
22532         with .globl.
22533         * sysdeps/x86_64/configure: Regenerated.
22534         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
22535         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
22536         * elf/tst-unique2mod2.c: Likewise.
22537         * elf/tst-unique2mod1.c: Likewise.
22538         * elf/tst-unique1mod2.c: Likewise.
22539         * elf/tst-unique1mod1.c: Likewise.
22540         * sysdeps/s390/s390-32/sysdep.h: Likewise.
22541         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
22542         * sysdeps/s390/s390-64/sysdep.h: Likewise.
22543         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
22544         * sysdeps/mach/sysdep.h: Likewise.
22545         * sysdeps/i386/sysdep.h: Likewise.
22546         * sysdeps/i386/i386-mcount.S: Likewise.
22547         * sysdeps/x86_64/_mcount.S: Likewise.
22548         * sysdeps/x86_64/sysdep.h: Likewise.
22549         * sysdeps/sh/_mcount.S: Likewise.
22550         * sysdeps/sh/sysdep.h: Likewise.
22551         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
22552         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
22553         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
22554         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
22555         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
22556         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
22557         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
22558         * locale/localeinfo.h: Likewise.
22559         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
22560         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
22562 2012-07-09  Roland McGrath  <roland@hack.frob.com>
22564         [BZ #14336]
22565         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
22566         system".
22567         * manual/message.texi (The Uniforum approach): Likewise.
22568         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
22569         (glibc iconv Implementation): Likewise.
22571 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
22573         [BZ #14337]
22574         * math/s_clog.c (__clog): Avoid scaling a value down where that
22575         could result in underflow.
22576         * math/s_clog10.c (__clog10): Likewise.
22577         * math/s_clog10f.c (__clog10f): Likewise.
22578         * math/s_clog10l.c (__clog10l): Likewise.
22579         * math/s_clogf.c (__clogf): Likewise.
22580         * math/s_clogl.c (__clogl): Likewise.
22581         * math/libm-test.inc (clog_test): Add more tests.
22582         (clog10_test): Likewise.
22583         * sysdeps/i386/fpu/libm-test-ulps: Update.
22584         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22586 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
22588         [BZ #14283]
22589         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
22590         by 7 not 8 to examine high bit of fractional part.
22592         [BZ #14042]
22593         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
22594         for call to __mcount_internal.
22595         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
22596         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
22597         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
22599 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
22601         [BZ #14154]
22602         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
22603         approximation for values within 0x1p-13f of an odd multiple of
22604         pi/4.
22605         * math/libm-test.inc (tan_test): Do not allow spurious underflow
22606         exception.  Add more tests.
22607         * sysdeps/i386/fpu/libm-test-ulps: Update.
22609         [BZ #6778]
22610         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
22611         inputs and return -1 for them.  Do not check for +Inf in case not
22612         reachable for +Inf.
22613         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
22614         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
22615         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
22616         and return -1 for them.  Do not check for +Inf in case not
22617         reachable for +Inf.
22618         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
22619         define.
22620         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
22621         and return -1 for them.  Do not check for +Inf in case not
22622         reachable for +Inf.
22623         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
22624         spurious underflow.
22625         * sysdeps/i386/fpu/libm-test-ulps: Update.
22626         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22628 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
22630         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
22632 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
22634         [BZ #14157]
22635         [BZ #14331]
22636         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
22637         could result in spurious underflow.  Scale down values above
22638         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
22639         * math/s_csqrtf.c (__csqrtf): Likewise.
22640         * math/s_csqrtl.c (__csqrtl): Likewise.
22641         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
22642         spurious underflow.
22643         * sysdeps/i386/fpu/libm-test-ulps: Update.
22644         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22646 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
22648         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
22649         xopen-msg.sed.
22650         * catgets/xopen-msg.awk: New file.
22651         * catgets/xopen-msg.sed: Removed.
22653         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
22654         po2text.sed.
22655         * intl/po2test.awk: New file.
22656         * intl/po2test.sed: Removed.
22658 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
22660         [BZ #14328]
22661         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
22662         or multiply small sinh result by itself.
22663         * math/s_ctanf.c (__ctanf): Likewise.
22664         * math/s_ctanh.c (__ctanh): Likewise.
22665         * math/s_ctanhf.c (__ctanhf): Likewise.
22666         * math/s_ctanhl.c (__ctanhl): Likewise.
22667         * math/s_ctanl.c (__ctanl): Likewise.
22668         * math/libm-test.inc (ctan_test_tonearest): New function.
22669         (ctan_test_towardzero): Likewise.
22670         (ctan_test_downward): Likewise.
22671         (ctan_test_upward): Likewise.
22672         (ctanh_test_tonearest): Likewise.
22673         (ctanh_test_towardzero): Likewise.
22674         (ctanh_test_downward): Likewise.
22675         (ctanh_test_upward): Likewise.
22676         (main): Call these new functions.
22677         * sysdeps/i386/fpu/libm-test-ulps: Update.
22678         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22680 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
22682         * .gitignore: Delete /ports entry.
22684 2012-07-03  Andreas Jaeger  <aj@suse.de>
22686         * po/bg.po: Update from translation team.
22687         * po/cs.po: Likewise.
22688         * po/de.po: Likewise.
22689         * po/hr.po: Likewise.
22690         * po/nl.pl: Likewise.
22691         * po/pl.po: Likewise.
22692         * po/vi.po: Likewise.
22694 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
22696         * Makeconfig [!+link] (+link-before-libc): New variable.
22697         [!+link] (+link-after-libc): Likewise.
22698         [!+link] (+link-tests): Likewise.
22699         [!+link] (+link): Define in terms of $(+link-before-libc) and
22700         $(+link-after-libc).
22701         [!+link-static] (+link-static-before-libc): New variable.
22702         [!+link-static] (+link-static-after-libc): Likewise.
22703         [!+link-static] (+link-static-tests): Likewise.
22704         [!+link-static] (+link-static): Define in terms of
22705         $(+link-static-before-libc) and $(+link-static-after-libc).
22706         [build-shared] (link-libc-before-gnulib): New variable.
22707         [build-shared] (link-libc-tests): Likewise.
22708         [build-shared] (link-libc): Define in terms of
22709         $(link-libc-before-gnulib).
22710         [!build-shared] (link-libc-tests): New variable.
22711         (link-libc-static-tests): New variable.
22712         [!gnulib] (gnulib-arch): New variable.
22713         [!gnulib] (gnulib-tests): Likewise.
22714         [!gnulib] (static-gnulib-arch): Likewise.
22715         [!gnulib] (static-gnulib-tests): Likewise.
22716         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
22717         Define with "=" instead of ":=".
22718         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
22719         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
22720         * Rules (binaries-all-notests): New variable.
22721         (binaries-all-tests): Likewise.
22722         (binaries-static-notests): Likewise.
22723         (binaries-static-tests): Likewise.
22724         (binaries-all): Define using $(binaries-all-notests) and
22725         $(binaries-all-tests).
22726         (binaries-static): Define using $(binaries-static-notests) and
22727         $(binaries-static-tests).
22728         (binaries-shared-tests): New variable.
22729         (binaries-shared-notests): Likewise.
22730         (binaries-shared): Remove variable.
22731         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
22732         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
22733         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
22734         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
22735         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
22736         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
22737         * elf/Makefile (sln-modules): New variable.
22738         (extra-objs): Add $(sln-modules:=.o).
22739         (ldconfig-modules): Add static-stubs.
22740         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
22741         * elf/static-stubs.c: New file.
22743         [BZ #14283]
22744         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
22745         by 7 not 8 to examine high bit of fractional part.  Use volatile
22746         variables when splitting into final array of floats if
22747         __FLT_EVAL_METHOD__ != 0.
22748         * math/libm-test.inc (cos_test): Add another test.
22749         (sin_test): Likewise.
22750         * sysdeps/i386/fpu/libm-test-ulps: Update.
22752         [BZ #14273]
22753         * math/libm-test.inc (cosh_test): Add more tests.
22755         * version.h (RELEASE): Set to "development".
22756         (VERSION): Set to "2.16.90".
22758 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
22760         * NEWS: Update copyright. Remove last-updated date.
22761         Mention math library bug fixes and timezone data changes.
22762         * README: Mention GNU/Hurd, x32, and HPPA support status.
22764 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
22766         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
22768 2012-06-27  Andreas Jaeger  <aj@suse.de>
22770         * manual/contrib.texi (Contributors): Add Samuel Thibault.
22772 2012-06-25  Andreas Jaeger  <aj@suse.de>
22774         * sysdeps/s390/fpu/libm-test-ulps: Update.
22776 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
22777             Thomas Schwinge  <thomas@codesourcery.com>
22779         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
22780         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
22781         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
22782         fanotify_mark.
22784 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
22786         * sysdeps/mach/start.c: Remove file.
22787         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
22788         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
22789         * sysdeps/sh/init-first.c: Likewise.
22791         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
22792         registers for frame unwinding purposes, add CFI directives.
22793         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
22794         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
22795         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
22796         Likewise.
22798         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
22799         __fortify_fail returning.
22800         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
22802         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
22803         sysdeps/sh/____longjmp_chk.S.
22804         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
22805         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
22806         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
22807         (gen-as-const-headers): Append sigaltstack-offsets.sym.
22809         * sysdeps/sh/abort-instr.h: New file.
22810         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
22811         process in case exit returns.
22813         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
22814         initialize the GOT register before use.
22816         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
22817         calculation of ARGC > 4.
22819         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
22820         meaningful names to some local labels.
22822 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
22823             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
22825         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
22826         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
22827         (__arch_compare_and_exchange_val_16_acq): Likewise.
22828         (__arch_compare_and_exchange_val_32_acq): Likewise.
22829         (atomic_exchange_and_add): Fix gUSA sequence.
22830         (atomic_add): Likewise.
22831         (atomic_add_negative): Likewise.
22832         (atomic_add_zero): Likewise.
22833         (atomic_bit_test_set): Likewise.
22835 2012-06-22  Andreas Schwab  <schwab@redhat.com>
22837         [BZ #13579]
22838         * include/link.h (struct link_map): Add l_free_initfini.
22839         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
22840         l_initfini.
22841         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
22842         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
22843         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
22844         set.
22846 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
22848         * configure.in: Use AC_LANG_SOURCE.
22849         * configure: Regenerate.
22851 2012-06-22  Roland McGrath  <roland@hack.frob.com>
22853         * configure.in (libc_cv_localstatedir): New substituted variable.
22854         * configure: Regenerated.
22855         * config.make.in (localstatedir): New variable, substituted from
22856         libc_cv_localstatedir.
22857         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
22858         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
22859         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
22860         * sysdeps/gnu/configure: Regenerated.
22862 2012-06-21  Jeff Law  <law@redhat.com>
22864         [BZ #14277]
22865         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
22866         free.  Simplify list management for _LIBC case.
22868 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
22870         [BZ #14273]
22871         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
22872         Clear sign bit of 64-bit integer value before comparing against
22873         overflow value.
22875         * sysdeps/mach/configure: Regenerated.
22877 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
22879         [BZ #14278]
22880         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
22882 2012-06-21  Jeff Law  <law@redhat.com>
22884         [BZ #13882]
22885         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
22886         uint16_t for elements in the "seen" array to avoid char overflows.
22887         * elf/dl-fini.c (_dl_sort_fini): Likewise.
22888         * elf/dl-open.c (dl_open_worker): Likewise.
22890 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
22892         * scripts/list-sources.sh: Scan PORTS for translations.
22893         * po/libc.pot: Regenerated.
22895 2012-06-21  Andreas Jaeger  <aj@suse.de>
22897         [BZ #12194]
22898         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
22899         warning.
22900         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
22901         * bits/byteswap-16.h (__bswap_16): Likewise.
22902         * bits/byteswap.h (__bswap_constant_16): Likewise.
22904 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
22906         [BZ #14117]
22907         * sysdeps/i386/fpu_control.h: Removed.
22908         * sysdeps/x86_64/fpu_control.h: Moved to ...
22909         * sysdeps/x86/fpu_control.h: Here.
22911         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
22912         (_FPU_SETCW): Likewise.
22914 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
22916         [BZ #14117]
22917         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
22918         * sysdeps/x86/fpu/bits/mathinline.h: This.
22919         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
22921         [BZ #14050]
22922         [BZ #14117]
22923         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
22924         functions if __x86_64__ is defined.
22926 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
22928         * string/endian.h: Add !__ASSEMBLER__ condition for including
22929         conversion interfaces.
22931 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
22933         [BZ #14241]
22934         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
22935         of ABS(x) in calculating zero to negative powers other than odd
22936         integers.
22937         * math/libm-test.inc (pow_test): Add more tests.
22939 2012-06-15  Andreas Jaeger  <aj@suse.de>
22941         * manual/contrib.texi (Contributors): Update entry of Liubov
22942         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
22943         Machado Filho.
22945 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
22947         * string/string.h: Add __wur to GNU version of strerror_r.
22949 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
22951         [BZ #14229]
22952         * string/Makefile (tests): Add tst-strtok_r.
22953         * string/tst-strtok_r.c: New file.
22954         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
22955         RAX_LP/RDX_LP on SAVE_PTR.
22957 2012-06-14  Roland McGrath  <roland@hack.frob.com>
22959         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
22961 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
22963         * libm_test.inc (csqrt_test): Allow more spurious underflow
22964         exceptions.
22965         (j0_test): Likewise.
22966         (j1_test): Likewise.
22967         (y0_test): Likewise.
22968         (y1_test): Likewise.
22970 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
22972         * po/Makefile (libc.pot): Use UTF-8 charset.
22974 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
22976         [BZ #14210]
22977         Suppress sign-conversion warning from FD_SET.
22978         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
22979         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
22980         not unsigned long int.
22981         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
22983 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
22985         [BZ #14050]
22986         [BZ #14117]
22987         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
22988         __extern_always_inline instead of __extern_inline.
22989         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
22990         (__signbit): Likewise.
22991         (__signbitl): Support C++ namespace.
22992         (lrintf): New inline function.
22993         (lrint): Likewise.
22994         (llrintf): Likewise.
22995         (llrint): Likewise.
22996         (fmaxf): Likewise.
22997         (fmax): Likewise.
22998         (fminf): Likewise.
22999         (fmin): Likewise.
23000         (rint): Likewise.
23001         (rintf): Likewise.
23002         (ceil): Likewise.
23003         (ceilf): Likewise.
23004         (floor): Likewise.
23005         (floorf): Likewise.
23006         (nearbyint): Likewise.
23007         (nearbyintf): Likewise.
23009 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
23011         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
23012         non-default versions.
23014 2012-06-11  Roland McGrath  <roland@hack.frob.com>
23016         [BZ #14218]
23017         * manual/argp.texi (Argp): Reword argp_parse description slightly.
23019 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
23021         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
23022         (FE_UPWARD, FE_DOWNWARD): Don't define.
23023         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
23024         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
23026         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
23027         reading it.
23028         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
23029         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
23031 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
23033         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
23034         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
23035         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
23036         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
23038 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
23040         [BZ #14117]
23041         * sysdeps/i386/fpu/bits/fenv.h: Removed.
23042         * sysdeps/i386/fpu/Implies: New file.
23043         * sysdeps/x86_64/fpu/Implies: Likewise.
23044         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
23045         * sysdeps/x86/fpu/bits/fenv.h: This.
23047         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
23048         __SSE_MATH__.
23050 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
23052         [BZ #14134]
23053         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
23054         character 0xffff that matches the last element of the
23055         conversion table.
23057 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23059         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
23060         fmodl commit.
23062 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23064         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
23065         values higher than 25.6283.
23067 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23069         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
23070         subnormal exponent extraction and add some __builtin_expect.
23071         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
23072         Fix for subnormal mantissa calculation.
23074 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
23076         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
23077         cpu2 is -1 and errno is not ENOSYS.
23079 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
23081         [BZ #14117]
23082         * sysdeps/i386/i486/bits/string.h: Renamed to ...
23083         * sysdeps/x86/bits/string.h: This.
23084         * sysdeps/x86_64/bits/string.h: Removed.
23086         * sysdeps/i386/i486/bits/string.h: Define inline functions only
23087         if not compiling for x86-64, but compiling for >= i486.
23089         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
23090         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
23092         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
23093         New macro from Linux kernel 3.4.0.
23094         (FP_XSTATE_MAGIC2): Likewise.
23095         (FP_XSTATE_MAGIC2_SIZE): Likewise.
23096         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
23097         (struct _fpx_sw_bytes): New struct.
23098         (struct _xsave_hdr): Likewise.
23099         (struct _ymmh_state): Likewise.
23100         (struct _xstate): Likewise.
23102         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
23103         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
23104         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
23105         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
23106         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
23107         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
23109         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
23110         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
23111         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
23112         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
23113         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
23114         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
23116 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
23118         [BZ #13743]
23119         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
23120         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
23121         (sysdep_headers): Include sys/platform/ppc.h.
23122         * sysdeps/powerpc/test-gettimebase.c: Test for
23123         __ppc_get_timebase() to catch future ISA opcode/insn changes.
23124         * manual/Makefile (appendices): Include platform.texi.
23125         * manual/contrib.texi (Contributors): Update @node pointers.
23126         * manual/maint.texi (Maintenance): Likewise.
23127         (Platform): New node.
23128         * manual/platform.texi: New file.  Document the new features.
23130 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
23131             Jakub Jelinek  <jakub@redhat.com>
23133         [BZ #14188]
23134         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
23135         where __builtin_expect is unavailable.
23137 2012-06-03  David S. Miller  <davem@davemloft.net>
23139         * stdlib/longlong.h: Updated from GCC.
23141 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
23143         [BZ #14042]
23144         * sysdeps/powerpc/powerpc32/mcount.c: New file.
23145         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
23146         __mcount_internal.
23147         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
23148         (GLIBC_2.16): Likewise.
23150 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
23152         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
23154 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
23156         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
23157         (default-abi): New variable.
23158         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
23159         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
23160         variable.
23161         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
23162         Likewise.
23163         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
23164         Likewise.
23165         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
23166         Likewise.
23168         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
23169         definition.  Document in comment.
23171 2012-06-01  David S. Miller  <davem@davemloft.net>
23173         * stdlib/longlong.h: Updated from GCC.
23175 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
23177         [BZ #14117]
23178         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
23179         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
23180         sys/debugreg.h sys/io.h here.
23181         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
23182         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
23183         sys/io.h.
23184         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
23185         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
23186         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
23187         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
23188         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
23189         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
23191         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
23192         Define only if __x86_64__ is defined.
23194 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
23196         [BZ #14048]
23197         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
23198         Use int64_t for variable i.
23199         * math/libm-test.inc (fmod_test): Add more tests.
23201         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
23202         z computation is not scheduled after fetestexcept.
23203         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
23204         Use math_force_eval instead of asm to ensure calculation scheduled
23205         before exception test.
23206         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
23207         Ensure a1 + u.d computation is not scheduled after fetestexcept.
23209 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
23211         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
23212         computation is not scheduled after fetestexcept.
23214 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
23216         [BZ #14117]
23217         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
23218         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
23220 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23222         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
23223         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
23225 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
23227         [BZ #14117]
23228         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
23229         <bits/wordsize.h>.
23230         (__WCHAR_MIN): Support __WORDSIZE == 64.
23231         (__WCHAR_MAX): Likewise.
23233         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
23234         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
23236         [BZ #14183]
23237         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
23238         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
23240         [BZ #14117]
23241         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
23242         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
23244         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
23245         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
23247         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
23248         Defined to 1 if __x86_64__ isn't defined.
23249         (_STAT_VER_LINUX_OLD): New.
23250         (st_atime): Remove duplicate.
23251         (st_mtime): Likewise.
23252         (st_ctime): Likewise.
23254 2012-05-31  David S. Miller  <davem@davemloft.net>
23256         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
23257         entries.
23259 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
23261         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
23262         gen-libm-test.pl.
23264         [BZ #14132]
23265         * elf/dl-reloc.c: Include <_itoa.h>.
23266         (_dl_reloc_bad_type): Remove use of INTUSE.
23267         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
23268         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
23269         * stdio-common/psiginfo.c (psiginfo): Likewise.
23270         * stdio-common/psignal.c (psignal): Likewise.
23271         * string/strsignal.c (strsignal): Likewise.
23272         * include/signal.h (_sys_siglist): Declare hidden proto.
23273         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
23274         INTVARDEF with libc_hidden_data_def.
23275         * stdio-common/itoa-udigits.c: Likewise.
23276         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
23277         (_itoa_lower_digits_internal): Remove declaration.
23278         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
23279         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
23280         (_sys_sigabbrev_internal): Remove aliases.
23281         (_sys_siglist): Define hidden alias.
23283 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
23285         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
23286         bits/sysctl.h.
23288 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
23290         [BZ #14117]
23291         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
23292         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
23294         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
23295         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
23296         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
23297         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
23298         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
23299         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
23301         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
23302         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
23303         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
23305         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
23306         with __addr.
23307         (insw): Likewise.
23308         (insl): Likewise.
23309         (outsb): Likewise.
23310         (outsw): Likewise.
23311         (outsl): Likewise.
23313         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
23314         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
23315         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
23317         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
23318         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
23319         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
23320         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
23321         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
23322         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
23324         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
23325         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
23327         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
23328         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
23330         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
23331         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
23332         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
23334         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
23335         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
23336         to ...
23337         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
23339         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
23340         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
23341         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
23343         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
23344         for x86-64.
23345         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
23347 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
23349         * math/math.h (M_El): Use two more decimal places.
23350         (M_LOG2El): Likewise.
23351         (M_LOG10El): Likewise.
23352         (M_LN2l): Likewise.
23353         (M_LN10l): Likewise.
23354         (M_PIl): Likewise.
23355         (M_PI_2l): Likewise.
23356         (M_PI_4l): Likewise.
23357         (M_1_PIl): Likewise.
23358         (M_2_PIl): Likewise.
23359         (M_2_SQRTPIl): Likewise.
23360         (M_SQRT2l): Likewise.
23361         (M_SQRT1_2l): Likewise.
23363 2012-05-31  David S. Miller  <davem@davemloft.net>
23365         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
23366         values between float registers.
23367         * sysdeps/sparc/sparc64/memset.S: Likewise.
23368         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
23370 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
23372         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
23373         -D_FORTIFY_SOURCE=1.
23374         (CPPFLAGS-tst-longjmp_chk.c): Define.
23375         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
23376         (CPPFLAGS-tst-longjmp_chk2.c): Define.
23377         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
23378         CFLAGS-tst-wchar-h.c.
23380 2012-05-31  Marek Polacek  <polacek@redhat.com>
23382         [BZ #14132]
23383         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
23384         __endmntent_internal): Remove declaration.
23385         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
23386         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
23387         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
23389 2012-05-30  David S. Miller  <davem@davemloft.net>
23391         * sysdeps/sparc/sparc32/soft-fp/q_util.c
23392         (___Q_simulate_exceptions): Use real FP ops rather than writing
23393         into the %fsr.
23394         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
23395         Likewise.
23397 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
23399         [BZ #14117]
23400         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
23401         * sysdeps/x86/bits/xtitypes.h: This.
23403         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
23404         * sysdeps/x86/bits/wordsize.h: This.
23406         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
23407         * sysdeps/x86/bits/huge_vall.h: This.
23409         * sysdeps/i386/bits/select.h: Removed.
23410         * sysdeps/x86_64/bits/select.h: Renamed to ...
23411         * sysdeps/x86/bits/select.h: This.
23413         * sysdeps/i386/bits/setjmp.h: Removed.
23414         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
23415         * sysdeps/x86/bits/setjmp.h: This.
23417         * sysdeps/i386/bits/mathdef.h: Removed.
23418         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
23419         * sysdeps/x86/bits/mathdef.h: This.
23421 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
23423         [BZ #14132]
23424         * include/sys/socket.h (__connect_internal)
23425         (__libc_sa_len_internal): Remove declaration.
23426         (__connect, __libc_sa_len): Declare hidden_proto.
23427         (SA_LEN): Remove use of INTUSE.
23428         * socket/connect.c: Add libc_hidden_def.
23429         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
23430         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
23431         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
23432         alias.
23433         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
23434         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
23435         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
23436         of adding _internal alias.
23438 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
23440         [BZ #14117]
23441         * sysdeps/i386/bits/link.h: Removed.
23442         * sysdeps/i386/bits/linkmap.h: Likewise.
23443         * sysdeps/x86_64/bits/link.h: Renamed to ...
23444         * sysdeps/x86/bits/link.h: This.
23445         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
23446         * sysdeps/x86/bits/linkmap.h: This.
23448         * sysdeps/i386/bits/endian.h: Removed.
23449         * sysdeps/x86_64/bits/endian.h: Renamed to ...
23450         * sysdeps/x86/bits/endian.h: This.
23452         * sysdeps/i386/bits/byteswap.h: Removed.
23453         * sysdeps/i386/bits/byteswap-16.h: Likewise.
23454         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
23455         * sysdeps/x86/bits/byteswap.h: This.
23456         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
23457         * sysdeps/x86/bits/byteswap-16.h: This.
23458         * sysdeps/i386/Implies: Add x86.
23459         * sysdeps/x86_64/Implies: Likewise.
23461 2012-05-30  David S. Miller  <davem@davemloft.net>
23463         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
23464         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
23465         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
23466         (FP_TRAPPING_EXCEPTIONS): Define.
23467         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
23468         (FP_TRAPPING_EXCEPTIONS): Define.
23469         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
23470         subnormals only when inexact has been signalled or underflow
23471         exceptions are enabled.
23472         (_FP_PACK_CANONICAL): Likewise.
23474 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
23476         [BZ #14183]
23477         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
23478         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
23480 2012-05-30  Richard Henderson  <rth@twiddle.net>
23482         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
23483         with #ifndef NOT_IN_libc.
23485         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
23486         marked to avoid plt entry.
23488 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
23490         [BZ #14112]
23491         * Makeconfig (default-abi): New macro.
23492         (abi-includes): Likewise.
23493         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
23494         $(abi-$(default-abi)-lib-soname) for soname if defined.
23495         ($(common-objpfx)gnu/lib-names.stmp): Generate from
23496         abi-variants.
23497         * Makefile (installed-stubs): Likewise.
23498         * include/stubs-biarch.h: Removed.
23499         * scripts/lib-names.awk: Only handle one library at a time.
23500         * scripts/soversions.awk: Remove WORDSIZE support.
23501         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
23502         entries.
23503         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
23504         Removed.
23505         (syscall-list-default-condition): Likewise.
23506         (syscall-list-default-condition): Likewise.
23507         (syscall-list-includes): Likewise.
23508         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
23509         syscall-list-* with abi-*.  Handle undefined abi-variants.
23510         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
23511         * sysdeps/unix/sysv/linux/i386/Implies: New file.
23512         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
23513         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
23514         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
23515         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
23516         Removed.
23517         (syscall-list-32-options): Likewise.
23518         (syscall-list-32-condition): Likewise.
23519         (syscall-list-64-options): Likewise.
23520         (syscall-list-64-condition): Likewise.
23521         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
23522         macro.
23523         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
23524         Renamed to ...
23525         (abi-*): This.
23526         (abi-64-ld-soname): New macro.
23527         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
23528         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
23529         Renamed to ...
23530         (abi-*): This.
23531         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
23532         * sysdeps/x86_64/x32/shlib-versions: Likewise.
23534 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
23536         * sysdeps/unix/sysv/linux/kernel-features.h
23537         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
23538         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
23539         include <kernel-features.h>.
23540         [!__NR_ftruncate64]: Remove conditional code.
23541         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
23542         [__NR_ftruncate64]: Make code unconditional.
23543         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
23544         * sysdeps/unix/sysv/linux/truncate64.c: Do not
23545         include <kernel-features.h>.
23546         [!__NR_ftruncate64]: Remove conditional code.
23547         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
23548         [__NR_ftruncate64]: Make code unconditional.
23549         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
23550         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
23551         include <kernel-features.h>.
23552         [!__NR_ftruncate64]: Remove conditional code.
23553         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
23554         [__NR_ftruncate64]: Make code unconditional.
23555         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
23556         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
23557         include <kernel-features.h>.
23558         [!__NR_ftruncate64]: Remove conditional code.
23559         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
23560         [__NR_ftruncate64]: Make code unconditional.
23561         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
23563         * configure.in (libc_cv_fpie): Weaken to a compile test using
23564         LIBC_TRY_CC_OPTION.
23565         * configure: Regenerated.
23567 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
23569         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
23570         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
23571         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
23572         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
23573         Refreshed.
23574         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
23575         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
23576         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
23577         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
23578         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
23579         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
23580         Refreshed.
23582 2012-05-27  David S. Miller  <davem@davemloft.net>
23584         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
23585         (___Q_zero): New.
23586         (__Q_simulate_exceptions): Return void.  Change to simulate
23587         exceptions by writing into the %fsr.
23588         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
23589         (__Qp_handle_exceptions): Likewise.
23590         (numbers): Delete.
23591         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
23592         __Qp_handle_exceptions.
23593         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
23594         __Qp_handle_exceptions.
23595         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
23596         as unused and give dummy FP_RND_NEAREST initializer.
23597         (FP_INHIBIT_RESULTS): Define.
23598         (___Q_simulate_exceptions): Update declaration.
23599         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
23600         formatting.
23601         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
23602         as unused and give dummy FP_RND_NEAREST initializer.
23603         (__Qp_handle_exceptions): Update declaration.
23604         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
23605         formatting.
23607 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
23609         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
23610         the temporary FPU control word.
23611         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
23612         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
23613         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
23614         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
23615         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
23616         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
23617         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
23618         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
23619         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
23620         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
23621         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
23623 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
23625         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
23626         fields.
23628 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
23630         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
23631         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
23632         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
23633         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
23634         Likewise.
23635         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
23636         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
23637         Likewise.
23639 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
23641         * po/h.po: Update from translation team.
23643 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
23645         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
23647         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
23648         handling of denormals.
23649         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
23650         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
23651         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
23652         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
23653         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
23654         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
23655         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
23656         Likewise.
23658 2012-05-26  Marek Polacek  <polacek@redhat.com>
23660         [BZ #14152]
23661         * math/libm-test.inc (fma_test): Don't always expect underflow
23662         exception.
23664 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
23666         [BZ #12416]
23667         * elf/tst-execstack.c: Include stackinfo.h.
23668         (do_test): Adjust test case to ensure that pthread_getattr_np
23669         behaviour remains the same after marking stack executable.
23671 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
23673         * sysdeps/unix/sysv/linux/kernel-features.h
23674         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
23675         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
23676         kernel-features.h.
23677         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
23678         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
23679         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
23680         kernel-features.h.
23681         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
23682         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
23684 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
23686         * configure.in: Define the default includes to being none.
23687         * configure: Regenerated.
23689 2012-05-25  Roland McGrath  <roland@hack.frob.com>
23691         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
23692         * sysdeps/x86_64/setjmp.S: Likewise.
23693         * sysdeps/i386/bsd-setjmp.S: Likewise.
23694         * sysdeps/i386/bsd-_setjmp.S: Likewise.
23695         * sysdeps/i386/setjmp.S: Likewise.
23696         * sysdeps/i386/__longjmp.S: Likewise.
23697         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
23698         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
23700         * include/stap-probe.h: New file.
23701         * configure.in: Handle --enable-systemtap.
23702         * configure: Regenerated.
23703         * config.h.in (USE_STAP_PROBE): New #undef.
23704         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
23705         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
23706         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
23708 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
23710         [BZ #13717]
23711         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
23712         to 2.4.0 where earlier.
23713         * sysdeps/unix/sysv/linux/configure: Regenerated.
23714         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
23715         <kernel-features.h>.
23716         [__ASSUME_32BITUIDS]: Make code unconditional.
23717         [!__ASSUME_32BITUIDS]: Remove conditional code.
23718         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
23719         <kernel-features.h>.
23720         [__ASSUME_32BITUIDS]: Make code unconditional.
23721         [!__ASSUME_32BITUIDS]: Remove conditional code.
23722         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
23723         [__ASSUME_32BITUIDS]: Make code unconditional.
23724         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
23725         * sysdeps/unix/sysv/linux/i386/getegid.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/geteuid.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/getgid.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/getgroups.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/getresgid.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/getresuid.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/getuid.c: Do not include
23750         <kernel-features.h>.
23751         [__ASSUME_32BITUIDS]: Make code unconditional.
23752         [!__ASSUME_32BITUIDS]: Remove conditional code.
23753         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
23754         <kernel-features.h>.
23755         [__ASSUME_32BITUIDS]: Make code unconditional.
23756         [!__ASSUME_32BITUIDS]: Remove conditional code.
23757         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
23758         <kernel-features.h>.
23759         [__ASSUME_32BITUIDS]: Make code unconditional.
23760         [!__ASSUME_32BITUIDS]: Remove conditional code.
23761         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
23762         <kernel-features.h>.
23763         [__ASSUME_32BITUIDS]: Make code unconditional.
23764         [!__ASSUME_32BITUIDS]: Remove conditional code.
23765         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
23766         <kernel-features.h>.
23767         [__NR_setresgid] (__setresgid): Do not declare.
23768         [__ASSUME_32BITUIDS]: Make code unconditional.
23769         [!__ASSUME_32BITUIDS]: Remove conditional code.
23770         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
23771         <kernel-features.h>.
23772         [__NR_setresuid] (__setresuid): Do not declare.
23773         [__ASSUME_32BITUIDS]: Make code unconditional.
23774         [!__ASSUME_32BITUIDS]: Remove conditional code.
23775         * sysdeps/unix/sysv/linux/i386/setfsgid.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/setfsuid.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/setgid.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/setgroups.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/setregid.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/setresgid.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/i386/setresuid.c: Do not include
23800         <kernel-features.h>.
23801         [__ASSUME_32BITUIDS]: Make code unconditional.
23802         [!__ASSUME_32BITUIDS]: Remove conditional code.
23803         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
23804         <kernel-features.h>.
23805         [__ASSUME_32BITUIDS]: Make code unconditional.
23806         [!__ASSUME_32BITUIDS]: Remove conditional code.
23807         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
23808         <kernel-features.h>.
23809         [__ASSUME_32BITUIDS]: Make code unconditional.
23810         [!__ASSUME_32BITUIDS]: Remove conditional code.
23811         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
23812         <kernel-features.h>.
23813         [__ASSUME_32BITUIDS]: Make code unconditional.
23814         [!__ASSUME_32BITUIDS]: Remove conditional code.
23815         * sysdeps/unix/sysv/linux/kernel-features.h
23816         (__ASSUME_SETRESUID_SYSCALL): Remove.
23817         (__ASSUME_SETRESGID_SYSCALL): Likewise.
23818         (__ASSUME_32BITUIDS): Likewise.
23819         (__ASSUME_LDT_WORKS): Likewise.
23820         (__ASSUME_O_DIRECTORY): Likewise.
23821         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
23822         architecture but not kernel version.
23823         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
23824         (__ASSUME_MMAP2_SYSCALL): Likewise.
23825         (__ASSUME_STAT64_SYSCALL): Likewise.
23826         (__ASSUME_IPC64): Likewise.
23827         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
23828         <kernel-features.h>.
23829         [__ASSUME_32BITUIDS]: Make code unconditional.
23830         [!__ASSUME_32BITUIDS]: Remove conditional code.
23831         * sysdeps/unix/sysv/linux/opendir.c: Do not include
23832         <kernel-features.h>.
23833         [__ASSUME_O_DIRECTORY]: Make code unconditional.
23834         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
23835         132096]: Remove conditional code.
23836         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
23837         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
23838         <kernel-features.h>.
23839         [__ASSUME_32BITUIDS]: Make code unconditional.
23840         [!__ASSUME_32BITUIDS]: Remove conditional code.
23841         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
23842         <kernel-features.h>.
23843         [__ASSUME_32BITUIDS]: Make code unconditional.
23844         [!__ASSUME_32BITUIDS]: Remove conditional code.
23845         * sysdeps/unix/sysv/linux/setegid.c: Do not include
23846         <kernel-features.h>.
23847         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
23848         unconditional.
23849         (__setresgid): Do not declare.
23850         [__ASSUME_32BITUIDS]: Make code unconditional.
23851         [!__ASSUME_32BITUIDS]: Remove conditional code.
23852         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
23853         <kernel-features.h>.
23854         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
23855         unconditional.
23856         (__setresuid): Do not declare.
23857         [__ASSUME_32BITUIDS]: Make code unconditional.
23858         [!__ASSUME_32BITUIDS]: Remove conditional code.
23859         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
23860         <kernel-features.h>.
23861         [__ASSUME_32BITUIDS]: Make code unconditional.
23862         [!__ASSUME_32BITUIDS]: Remove conditional code.
23863         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
23864         <kernel-features.h>.
23865         [__ASSUME_32BITUIDS]: Make code unconditional.
23866         [!__ASSUME_32BITUIDS]: Remove conditional code.
23868 2012-05-25  Richard Henderson  <rth@twiddle.net>
23870         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
23871         dl_hwcap to ifunc resolver.
23872         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
23873         elf_ifunc_invoke.
23874         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
23875         dl_hwcap to ifunc resolver.
23876         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
23878 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
23880         [BZ #14153]
23881         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
23882         for |x| <= 2**-26, not 2**-57.
23883         * math/libm-test.inc (acos_test): Do not allow spurious underflow
23884         exception.
23886 2012-05-24  Jeff Law  <law@redhat.com>
23888         * stdio-common/Makefile (tests): Add bug25.
23889         * stdio-common/bug25.c: New test.
23891 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
23893         [BZ #13576]
23894         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
23895         multiple of MALLOC_ALIGNMENT in size.
23896         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
23898 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
23900         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
23901         Require >= 256.
23902         (FILENAME_MAX): Use macro-int-constant.
23903         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
23904         (_IOFBF): Use macro-int-constant.
23905         (_IOLBF): Likewise.
23906         (_IONBF): Likewise.
23907         (SEEK_CUR): Likewise.
23908         (SEEK_END): Likewise.
23909         (SEEK_SET): Likewise.
23910         (TMP_MAX): Likewise.
23911         (EOF): Use macro-int-constant.  Require < 0.
23912         (NULL): Use macro-constant.  Require == 0.
23913         (stdin): Require type to be FILE *.
23914         (stdout): Likewise.
23915         (stderr): Likewise.
23916         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
23917         macro-int-constant.
23918         (EXIT_SUCCESS): Likewise.
23919         (NULL): Use macro-constant.  Require == 0.
23920         (RAND_MAX): Use macro-int-constant.
23921         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
23922         [C99-based standards] (strtof): Require function.
23923         [C99-based standards] (strtold): Likewise.
23924         [C99-based standards] (strtoll): Likewise.
23925         [C99-based standards] (strtoull): Likewise.
23926         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
23927         [ISO || ISO99 || ISO11] (limits.h): Likewise.
23928         [ISO || ISO99 || ISO11] (math.h): Likewise.
23929         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
23930         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
23931         [ISO || ISO99 || ISO11] (*_t): Do not allow.
23933 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
23935         [BZ #14132]
23936         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
23937         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
23938         * intl/dgettext.c (DCGETTEXT): Likewise.
23939         * intl/gettext.c (DCGETTEXT): Likewise.
23940         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
23941         * posix/regex_internal.h (gettext): Likewise.
23942         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
23943         Remove declaration.
23944         * include/argz.h (__argz_count_internal)
23945         (__argz_stringify_internal): Remove declaration.
23946         (__argz_count, __argz_stringify): Declare hidden proto.
23947         * intl/dcgettext.c: Remove use of INTDEF.
23948         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
23949         * string/argz-stringify.c: Likewise.
23950         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
23951         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
23952         Declare hidden proto.
23953         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
23954         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
23955         Declare hidden proto.
23956         * include/stdio.h (__asprintf_internal): Don't declare.
23957         (__asprintf): Don't define as macro.  Declare hidden proto.
23958         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
23959         (__fsetlocking): Declare hidden proto.
23960         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
23961         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
23962         hidden proto.
23963         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
23964         (_IO_setlinebuf): Remove use of INTUSE.
23965         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
23966         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
23967         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
23968         Remove declaration.
23969         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
23970         (_IO_do_flush): Remove use of INTUSE.
23971         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
23972         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
23973         (_IO_adjust_column, _IO_least_wmarker)
23974         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
23975         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
23976         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
23977         (_IO_default_doallocate, _IO_wdefault_doallocate)
23978         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
23979         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
23980         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
23981         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
23982         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
23983         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
23984         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
23985         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
23986         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
23987         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
23988         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
23989         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
23990         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
23991         proto.
23992         (_IO_flush_all_internal, _IO_adjust_column_internal)
23993         (_IO_default_uflow_internal, _IO_default_finish_internal)
23994         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
23995         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
23996         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
23997         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
23998         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
23999         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
24000         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
24001         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
24002         (_IO_file_close_internal, _IO_file_close_it_internal)
24003         (_IO_file_underflow_internal, _IO_file_overflow_internal)
24004         (_IO_file_init_internal, _IO_file_attach_internal)
24005         (_IO_file_fopen_internal, _IO_file_read_internal)
24006         (_IO_file_sync_internal, _IO_file_seek_internal)
24007         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
24008         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
24009         (_IO_str_underflow_internal, _IO_str_overflow_internal)
24010         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
24011         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
24012         (_IO_list_all_internal, _IO_link_in_internal)
24013         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
24014         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
24015         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
24016         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
24017         (_IO_do_write_internal, _IO_padn_internal)
24018         (_IO_getline_info_internal, _IO_getline_internal)
24019         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
24020         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
24021         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
24022         (_IO_vfscanf_internal, _IO_vfprintf_internal)
24023         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
24024         (_IO_init_internal, _IO_un_link_internal): Don't declare.
24025         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
24026         with libc_hidden_ver, remove use of INTUSE.
24027         * libio/genops.c: Likewise.
24028         * libio/freopen.c: Likewise.
24029         * libio/freopen64.c: Likewise.
24030         * libio/iofclose.c: Likewise.
24031         * libio/iofdopen.c: Likewise.
24032         * libio/iofflush.c: Likewise.
24033         * libio/iofflush_u.c: Likewise.
24034         * libio/iofgets.c: Likewise.
24035         * libio/iofgets_u.c: Likewise.
24036         * libio/iofopen.c: Likewise.
24037         * libio/iofopncook.c: Likewise.
24038         * libio/iofread.c: Likewise.
24039         * libio/iofread_u.c: Likewise.
24040         * libio/ioftell.c: Likewise.
24041         * libio/iofwrite.c: Likewise.
24042         * libio/iogetline.c: Likewise.
24043         * libio/iogets.c: Likewise.
24044         * libio/iogetwline.c: Likewise.
24045         * libio/iopadn.c: Likewise.
24046         * libio/iopopen.c: Likewise.
24047         * libio/ioseekoff.c: Likewise.
24048         * libio/ioseekpos.c: Likewise.
24049         * libio/iosetbuffer.c: Likewise.
24050         * libio/iosetvbuf.c: Likewise.
24051         * libio/ioungetc.c: Likewise.
24052         * libio/ioungetwc.c: Likewise.
24053         * libio/iovdprintf.c: Likewise.
24054         * libio/iovsprintf.c: Likewise.
24055         * libio/iovsscanf.c: Likewise.
24056         * libio/memstream.c: Likewise.
24057         * libio/obprintf.c: Likewise.
24058         * libio/oldfileops.c: Likewise.
24059         * libio/oldiofclose.c: Likewise.
24060         * libio/oldiofdopen.c: Likewise.
24061         * libio/oldiofopen.c: Likewise.
24062         * libio/oldiopopen.c: Likewise.
24063         * libio/oldstdfiles.c: Likewise.
24064         * libio/putc.c: Likewise.
24065         * libio/setbuf.c: Likewise.
24066         * libio/setlinebuf.c: Likewise.
24067         * libio/stdfiles.c: Likewise.
24068         * libio/strops.c: Likewise.
24069         * libio/vasprintf.c: Likewise.
24070         * libio/vscanf.c: Likewise.
24071         * libio/vsnprintf.c: Likewise.
24072         * libio/vswprintf.c: Likewise.
24073         * libio/wfiledoalloc.c: Likewise.
24074         * libio/wfileops.c: Likewise.
24075         * libio/wgenops.c: Likewise.
24076         * libio/wmemstream.c: Likewise.
24077         * libio/wstrops.c: Likewise.
24078         * libio/__fpurge.c: Likewise.
24079         * libio/__fsetlocking.c: Likewise.
24080         * assert/assert.c: Likewise.
24081         * debug/fgets_chk.c: Likewise.
24082         * debug/fgets_u_chk.c: Likewise.
24083         * debug/fread_chk.c: Likewise.
24084         * debug/fread_u_chk.c: Likewise.
24085         * debug/gets_chk.c: Likewise.
24086         * debug/obprintf_chk.c: Likewise.
24087         * debug/vasprintf_chk.c: Likewise.
24088         * debug/vdprintf_chk.c: Likewise.
24089         * debug/vsnprintf_chk.c: Likewise.
24090         * debug/vsprintf_chk.c: Likewise.
24091         * malloc/mtrace.c: Likewise.
24092         * misc/error.c: Likewise.
24093         * misc/syslog.c: Likewise.
24094         * stdio-common/asprintf.c: Likewise.
24095         * stdio-common/fxprintf.c: Likewise.
24096         * stdio-common/getw.c: Likewise.
24097         * stdio-common/isoc99_fscanf.c: Likewise.
24098         * stdio-common/isoc99_scanf.c: Likewise.
24099         * stdio-common/isoc99_vfscanf.c: Likewise.
24100         * stdio-common/isoc99_vscanf.c: Likewise.
24101         * stdio-common/isoc99_vsscanf.c: Likewise.
24102         * stdio-common/printf-prs.c: Likewise.
24103         * stdio-common/printf_fp.c: Likewise.
24104         * stdio-common/printf_fphex.c: Likewise.
24105         * stdio-common/printf_size.c: Likewise.
24106         * stdio-common/putw.c: Likewise.
24107         * stdio-common/scanf.c: Likewise.
24108         * stdio-common/sprintf.c: Likewise.
24109         * stdio-common/tmpfile.c: Likewise.
24110         * stdio-common/vfprintf.c: Likewise.
24111         * stdio-common/vfscanf.c: Likewise.
24112         * stdlib/strfmon_l.c: Likewise.
24113         * sunrpc/openchild.c: Likewise.
24114         * sunrpc/xdr_stdio.c: Likewise.
24115         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
24116         * sysdeps/mach/hurd/tmpfile.c: Likewise.
24118 2012-05-24  Roland McGrath  <roland@hack.frob.com>
24120         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
24122         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
24123         in the third column, to generate for the shared library an IFUNC
24124         that uses _dl_vdso_vsym.
24125         * Makerules (COMPILE.c, compile-stdin.c): New variables.
24126         * Makeconfig (object-suffixes-noshared): New variable.
24128         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
24129         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
24130         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
24131         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
24133         [BZ #14132]
24134         * include/sys/time.h (__gettimeofday): Remove macro.
24135         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
24136         * time/gettimeofday.c (__gettimeofday): Remove #undef.
24137         Remove INTDEF.
24138         (__gettimeofday): Add libc_hidden_def.
24139         (gettimeofday): Add libc_hidden_weak.
24140         * sysdeps/mach/gettimeofday.c: Likewise.
24141         * sysdeps/posix/gettimeofday.c: Likewise.
24142         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
24143         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
24144         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
24145         (__gettimeofday_internal): Remove strong_alias.
24146         (__gettimeofday): Add libc_hidden_def.
24147         (gettimeofday): Add libc_hidden_weak.
24148         * sysdeps/unix/syscalls.list (gettimeofday):
24149         Remove __gettimeofday_internal alias.
24151 2012-05-24  Daniel Jacobowitz  <drow@false.org>
24152             H.J. Lu  <hongjiu.lu@intel.com>
24154         [BZ #12495]
24155         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
24156         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
24157         (largebin_index_32_big): New.
24158         (largebin_index): Use it for 16-byte alignment.
24159         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
24160         correction with front_misalign.
24162 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
24164         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
24165         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
24166         Likewise.
24167         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
24168         Likewise.
24169         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
24170         Likewise.
24171         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
24172         Likewise.
24173         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
24174         Likewise.
24175         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
24176         Likewise.
24177         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
24178         Likewise.
24179         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
24180         Likewise.
24181         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
24182         Likewise.
24183         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
24184         Likewise.
24185         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
24186         Likewise.
24187         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
24188         Likewise.
24190         * scripts/data/c++-types-x32-linux-gnu.data: New file.
24191         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
24193 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
24195         [BZ #10846]
24196         [BZ #14036]
24197         * math/libm-test.inc (exp_test): Add test from bug 14036.
24198         (pow_test): Add test from bug 10846.
24200         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
24201         and other flags.
24202         (special_function): Do not include flags in test name.
24203         (parse_args): Likewise.
24204         * sysdeps/i386/fpu/libm-test-ulps: Update.
24205         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
24206         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
24207         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
24208         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24210         * math/gen-libm-test.pl (%beautify): Add entries for underflow
24211         exceptions.
24212         * math/libm-test.inc ("Philosophy"): Update comment about
24213         exception testing.
24214         (UNDERFLOW_EXCEPTION): New macro.
24215         (UNDERFLOW_EXCEPTION_OK): Likewise.
24216         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
24217         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
24218         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
24219         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
24220         (INVALID_EXCEPTION_OK): Update value.
24221         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
24222         (OVERFLOW_EXCEPTION_OK): Likewise.
24223         (IGNORE_ZERO_INF_SIGN): Likewise.
24224         (test_exceptions): Handle underflow exceptions.
24225         (acos_test): Update for underflow exception expectations.
24226         (cexp_test): Likewise.
24227         (clog_test): Likewise.
24228         (clog10_test): Likewise.
24229         (csqrt_test): Likewise.
24230         (ctan_test): Likewise.
24231         (ctanh_test): Likewise.
24232         (exp_test): Likewise.
24233         (exp10_test): Likewise.
24234         (exp2_test): Likewise.
24235         (expm1_test): Likewise.
24236         (fma_test): Likewise.
24237         (j0_test): Likewise.
24238         (jn_test): Likewise.
24239         (nexttoward_test): Likewise.
24240         (pow_test): Likewise.
24241         (scalbn_test): Likewise.
24242         (scalbln_test): Likewise.
24243         (tan_test): Likewise.
24244         (y1_test): Likewise.
24245         * sysdeps/i386/fpu/libm-test-ulps: Update.
24246         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24248 2012-05-23  David S. Miller  <davem@davemloft.net>
24250         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
24251         (__libc_sigaction): Remove unused local variables.
24253 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
24255         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
24257 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
24259         mktime: avoid signed integer overflow
24260         * time/mktime.c (__mktime_internal): Do not mishandle the case
24261         where diff == INT_MIN.
24263         mktime: simplify computation of average
24264         * time/mktime.c (ranged_convert): Use new time_t_avg function
24265         instead of rolling our own (probably-slower) code.
24267         mktime: do not assume signed right shift propagates sign bit
24268         * time/mktime.c (isdst_differ): New static function.
24269         (__mktime_internal): No need to normalize tm_isdst now.
24270         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
24271         tm_isdst values.
24273         mktime: merge another wrapv change from gnulib
24274         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
24275         from some compilers.
24277         mktime: remove incorrect attempt at unusual arithmetics
24278         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
24279         The code didn't really work on such machines anyway.
24280         (TYPE_MINIMUM): Assume two's complement.
24281         (twos_complement_arithmetic): Verify that long_int and time_t
24282         are two's complement (or unsigned, in the latter case).
24284         mktime: check signed shifts on long_int and time_t, too
24285         * time/mktime.c (SHR): Check that shifts work as desired
24286         on the types long_int and time_t too, as SHR is used on
24287         such types.
24289         mktime: do not assume 'long' is wide enough
24290         * time/mktime.c (verify): Move decl up.
24291         (long_int): New type.
24292         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
24293         to remove assumption in the code that 'long' is wide enough to
24294         store year values.  This assumption is not true on x32 and on
24295         some non-glibc platforms.
24297         mktime: merge wrapv change from gnulib
24298         * time/mktime.c (WRAPV): New macro.
24299         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
24300         (guess_time_tm, __mktime_internal): Do not assume that signed
24301         integer overflow wraps around; modern compilers generate code
24302         where this assumption is no longer valid.
24304 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
24306         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
24307         Replace "jmp L(pseudo_end)" with "ret".
24308         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
24309         Likewise.
24311 2012-05-23  Andreas Jaeger  <aj@suse.de>
24313         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
24314         * sysdeps/unix/sysv/linux/poll.c: Remove file.
24316 2012-05-23  Andreas Jaeger  <aj@suse.de>
24317             Maximilian Attems  <max@stro.at>
24319         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
24320         New macros.
24322 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
24324         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
24325         code so that pseudo_end is just ret and the stack pointer is
24326         correct also for static library in error case.
24328 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
24330         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
24331         move to syscalls.list.
24332         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
24333         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
24334         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
24335         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
24337         * manual/install.texi (Running make install): Do not mention Linux
24338         kernel version for which pt_chown is not needed.
24339         (Linux): Do not mention problems with nscd with 2.0 kernels.
24340         * INSTALL: Regenerated.
24342 2012-05-23  Andreas Jaeger  <aj@suse.de>
24344         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
24345         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
24346         macro.
24347         * sysdeps/unix/sysv/linux/s390/bits/mman.h
24348         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
24349         * sysdeps/unix/sysv/linux/sh/bits/mman.h
24350         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
24351         * sysdeps/unix/sysv/linux/i386/bits/mman.h
24352         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
24353         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
24354         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
24355         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
24356         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
24357         * sysdeps/unix/sysv/linux/bits/in.h
24358         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
24360 2012-05-22  Roland McGrath  <roland@hack.frob.com>
24362         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
24363         (PREPARE_VERSION): Just use assert instead, it will be elided
24364         under [NDEBUG] anyway.
24366 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
24368         * sysdeps/unix/sysv/linux/Makefile: Include
24369         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
24370         (sysdep_routines): Remove sysctl.
24371         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
24372         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
24373         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
24374         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
24375         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
24377 2012-05-22  Andreas Jaeger  <aj@suse.de>
24379         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
24380         that pseudo_end is just ret and the stack pointer is correct also
24381         for static library in error case.
24383 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
24385         [BZ #14122]
24386         * nss/nsswitch.c (defconfig_entries): New variable.
24387         (__nss_database_lookup): Don't leak defconfig entries.
24388         (nss_parse_service_list): Don't leak on error paths.
24389         (free_database_entries): New function.
24390         (free_defconfig): New function.
24391         (free_mem): Move common code to free_database_entries.
24393 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
24395         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
24396         Add arch_prctl.
24397         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
24399         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
24400         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
24401         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
24402         New macro.
24403         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
24404         (INTERNAL_SYSCALL_TYPES): Likewise.
24405         (LOAD_ARGS_TYPES_[1-6]): Likewise.
24406         (LOAD_REGS_TYPES_[1-6]): Likewise.
24407         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
24408         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
24410 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24412         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
24413         copysignl for GLIBC_2_0.
24414         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
24415         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
24416         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
24417         logbl for GLIBC_2_0.
24418         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
24419         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
24421 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
24423         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
24424         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
24426         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
24427         Use "neg %eax".
24429         * time/mktime.c: Update copyright years.
24431 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
24433         mktime: merge comment-quoting-style change from gnulib
24434         * time/mktime.c: Quote 'like this' in comments.
24435         The GNU coding standards suggest that we no longer quote `like this',
24436         as "`" and "'" are typically rendered asymmetrically nowadays.
24437         The typical gnulib style is to quote 'like this' when quoting
24438         code, and "like this" when quoting English.
24440         * time/mktime.c (compile-command): Add "-I.".
24442         mktime: merge mktime-internal.h change from gnulib
24443         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
24445         mktime: merge time_r change from gnulib
24446         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
24448         mktime: merge DEBUG change from gnulib
24449         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
24450         case system <time.h> has a #define.
24452         mktime: merge <sys/types.h> change from gnulib
24453         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
24454         since <time.t> is now guaranteed to define time_t.
24456         mktime: merge HAVE_CONFIG_H change from gnulib
24457         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
24459 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
24461         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
24462         Use "neg %eax".
24464         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
24465         __rlim_t cast.
24466         (struct rusage): Use anonymous union to pad each field to
24467         __syscall_slong_t.
24469 2012-05-21  David S. Miller  <davem@davemloft.net>
24471         * Makefules (o-iterator): Remove .s cases.
24472         (compile-command.s): Delete.
24473         (COMPILE.s): Delete.
24474         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
24476 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
24478         * configure.in (libc_cv_predef_stack_protector): Only consider
24479         "foobar" and "__stack_chk_fail" lines in libc_undefs.
24480         * configure: Regenerated.
24482 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
24484         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
24485         New macro.  Use R*LP on int and pointer.
24486         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
24487         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
24488         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
24489         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
24491         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
24492         [__WORDSIZE_TIME64_COMPAT32] instead of
24493         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
24494         (struct utmp): Likewise.
24495         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
24496         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
24497         Renamed to ...
24498         (__WORDSIZE_TIME64_COMPAT32): This.
24499         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
24500         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
24501         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
24502         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
24503         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
24504         (__WORDSIZE_TIME64_COMPAT32): New macro.
24506 2012-05-21  Andreas Jaeger  <aj@suse.de>
24508         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
24509         only if [SHARED]. Add prototype for __wcschr_ia32.
24511 2012-05-21  Roland McGrath  <roland@hack.frob.com>
24513         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
24514         of %rbp unmolested in the jmp_buf while mangling the low bits.
24515         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
24516         unmolested high bits of %rbp while demangling the low bits.
24517         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
24519 2012-05-21  Andreas Jaeger  <aj@suse.de>
24521         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
24522         * sunrpc/svc_simple.c: Use it for registerrpc.
24523         * sunrpc/xcrypt.c: Use it for passwd2des.
24525         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
24527 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
24529         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
24530         Don't define if [__SYSCALL_WORDSIZE != 32].
24531         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
24532         New macro.
24534 2012-05-21  Bruno Haible  <bruno@clisp.org>
24535             Andreas Jaeger  <aj@suse.de>
24537         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
24538         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
24539         inptr and inend for must_buffer_ch.
24540         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
24541         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
24542         * stdio-common/Makefile (tests): Remove bug15.
24543         (bug15-ENV): Remove macro.
24544         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
24545         anymore.
24547 2012-05-19  Andreas Jaeger  <aj@suse.de>
24548             Roland McGrath  <roland@hack.frob.com>
24550         * manual/contrib.texi: Completely rewritten. It contains now an
24551         alphabetical list of contributors and their contributions.
24553 2012-05-21  Richard Henderson  <rth@twiddle.net>
24555         * misc/getauxval.c (__getauxval): Use unsigned long int.
24556         * misc/sys/auxv.h: Include <sys/cdefs.h>.
24557         (getauxval): Use unsigned long int.
24559 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
24561         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
24563 2012-05-21  Roland McGrath  <roland@hack.frob.com>
24565         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
24566         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
24567         __alignof__ (long double).
24569 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24571         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24573 2012-05-20  Richard Henderson  <rth@twiddle.net>
24575         * misc/getauxval.c: New file.
24576         * misc/sys/auxv.h: New file.
24577         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
24578         (routines): Add getauxval.
24579         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
24580         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
24581         * elf/dl-sysdep.c (_dl_auxv): Remove.
24582         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
24583         * elf/dl-support.c (_dl_auxv): New variable.
24584         (_dl_aux_init): Initialize it.
24585         * manual/startup.texi (Auxiliary Vector): New node.
24586         * sysdeps/generic/bits/hwcap.h: New file.
24587         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
24588         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
24589         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
24590         * sysdeps/sparc/sysdep.h: ... here.  Include it.
24591         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
24592         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
24593         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
24594         Update.
24595         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
24596         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
24597         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
24598         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
24599         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
24600         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
24601         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
24602         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
24604 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24606         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24608 2012-05-19  David S. Miller  <davem@davemloft.net>
24610         * sysdeps/sparc/fpu/libm-test-ulps: Update.
24612 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
24614         [BZ #14123]
24615         * math/s_ccosh.c: Include <float.h>
24616         (__ccosh): Avoid internal overflow calculating sinh and cosh
24617         values before multiplying by sin and cos values.
24618         * math/s_ccoshf.c: Likewise.
24619         * math/s_ccoshl.c: Likewise.
24620         * math/s_csin.c: Likewise.
24621         * math/s_csinf.c: Likewise.
24622         * math/s_csinl.c: Likewise.
24623         * math/s_csinh.c: Likewise.
24624         * math/s_csinhf.c: Likewise.
24625         * math/s_csinhl.c: Likewise.
24626         * math/libm-test.inc (ccos_test): Add more tests.
24627         (ccosh_test): Likewise.
24628         (csin_test): Likewise.
24629         (csinh_test): Likewise.
24630         * sysdeps/i386/fpu/libm-test-ulps: Update.
24631         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24633 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
24635         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
24636         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
24638         * sysdeps/x86_64/x32/_itoa.h: Add comment.
24640 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
24642         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
24643         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
24644         * sysdeps/powerpc/soft-fp/Versions: Likewise.
24645         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
24646         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
24647         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
24648         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
24649         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
24650         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
24651         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
24652         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
24653         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
24654         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
24655         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
24656         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
24657         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
24658         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
24659         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
24660         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
24661         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
24662         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
24663         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
24664         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
24665         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
24666         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
24667         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
24668         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
24669         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
24670         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
24671         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
24672         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
24674 2012-05-18  Andreas Jaeger  <aj@suse.de>
24676         * csu/.gitignore: Delete.
24678 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
24680         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
24681         (timex): Use __syscall_slong_t.
24683 2012-05-18  Andreas Jaeger  <aj@suse.de>
24684             Carlos O'Donell  <carlos_odonell@mentor.com>
24686         * manual/install.texi (Configuring and compiling): Update
24687         description about files modified in the source directory.
24688         * INSTALL: Regenerated.
24690 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
24692         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
24693         value.  Use "or" to set return value to -1.
24694         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
24695         negate return value.
24697 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
24699         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
24700         CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
24701         failure if the compiler has Graphite support disabled.
24702         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
24703         Likewise.
24704         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
24705         CFLAGS-memmove.c): Likewise.
24706         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
24707         Likewise.
24709 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
24711         * sysdeps/x86_64/x32/_itoa.h: New file.
24713         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
24714         getdents system call only if kernel and user dirents have the
24715         same d_ino and d_off.
24717         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
24718         LLONG_MAX != LONG_MAX.
24719         (_itoa_word): Use _ITOA_WORD_TYPE on value.
24720         (_fitoa_word): Likewise.
24722         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
24723         years.
24724         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
24725         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
24726         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
24728         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
24729         include <bits/wordsize.h>.  Check __x86_64__ instead of
24730         __WORDSIZE.
24731         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
24732         if __x86_64__ is defined.  Use anonymous union on fpstate.
24734         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
24735         anonymous union.
24737 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
24739         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
24740         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
24741         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
24742         Refer to _rtld_local_ro instead of _rtld_global_ro.
24743         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
24744         Likewise.
24745         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
24746         Likewise.
24747         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
24748         Likewise.
24749         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
24750         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
24751         of _rtld_global, and rtld_progname instead of _dl_argv[0].
24753         * sysdeps/powerpc/powerpc32/dl-machine.c
24754         (__elf_machine_runtime_setup) [PROF]: Don't reference
24755         _dl_prof_resolve.
24757 2012-05-18  Andreas Jaeger  <aj@suse.de>
24759         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
24760         function only available for GCCs before 3.4 since GCC 3.4
24761         introduced a builtin.
24762         (lrint): Likewise.
24763         (llrintf): Likewise.
24764         (llrint): Likewise.
24765         (fmaxf): Likewise.
24766         (fmax): Likewise.
24767         (fminf): Likewise.
24768         (fmin): Likewise.
24769         (rint): Likewise.
24770         (rintf): Likewise.
24771         (nearbyint): Likewise.
24772         (nearbyintf): Likewise.
24773         (ceil): Likewise.
24774         (ceilf): Likewise.
24775         (floor): Likewise.
24776         (floorf): Likewise.
24778 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
24780         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
24781         on both fields and cast pointer to __syscall_ulong_t.
24783         * bits/types.h (__fsword_t): New type.
24784         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
24785         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
24786         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
24787         (__FSWORD_T_TYPE): Likewise.
24788         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
24789         (__FSWORD_T_TYPE): Likewise.
24790         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
24791         (__FSWORD_T_TYPE): Likewise.
24792         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
24793         (__FSWORD_T_TYPE): Likewise.
24794         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
24795         __SWORD_TYPE with __fsword_t.
24796         (statfs64): Likewise.
24798 2012-05-17  David S. Miller  <davem@davemloft.net>
24800         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
24802 2012-05-17  Andreas Jaeger  <aj@suse.de>
24804         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
24805         warning.
24807 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
24809         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
24811 2012-05-17  Andreas Jaeger  <aj@suse.de>
24813         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
24814         when it is used.
24816 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
24818         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
24820 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
24822         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
24823         * sysdeps/x86_64/tst-mallocalign1.c: New file.
24825 2012-05-17  Andreas Jaeger  <aj@suse.de>
24826             Carlos O'Donell  <carlos_odonell@mentor.com>
24828         [BZ #14059]
24829         * sysdeps/x86_64/multiarch/init-arch.h
24830         (bit_YMM_Usable): Rename to...
24831         (bit_AVX_Usable): ... this.
24832         (bit_FMA4_Usable): New macro.
24833         (bit_XMM_state): New macro.
24834         (bit_YMM_state): New macro.
24835         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
24836         [__ASSEMBLER__] (index_AVX_Usable): ... this.
24837         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
24838         (CPUID_OSXSAVE): New macro.
24839         (CPUID_AVX): New macro.
24840         (CPUID_FMA4): New macro.
24841         (index_YMM_Usable): Rename to...
24842         (index_AVX_Usable): ... this.
24843         (HAS_AVX): Use HAS_ARCH_FEATURE.
24844         (HAS_FMA4): Likewise.
24845         (HAS_YMM_USABLE): Remove.
24846         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
24847         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
24848         are present.
24849         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
24850         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
24851         * sysdeps/x86_64/multiarch/Makefile: Likewise.
24852         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
24853         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
24855 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
24857         * math/libm-test.c: Support platforms without multiple rounding modes.
24858         * math/bug-nextafter.c: Support platforms without FP exceptions.
24859         * math/bug-nexttoward.c: Likewise.
24860         * math/test-fenv.c: Likewise.
24861         * math/test-misc.c: Likewise.
24862         * stdlib/bug-getcontext.c: Likewise.
24864 2012-05-17  Andreas Jaeger  <aj@suse.de>
24866         * manual/examples/search.c (critter_cmp): Change signature to
24867         avoid warnings.
24868         * manual/string.texi (Collation Functions): Likewise.
24870 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
24872         * bits/types.h: Fold copyright years.
24873         * bits/typesizes.h: Likewise.
24874         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
24875         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
24876         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
24877         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
24878         * time/time.h: Likewise.
24880 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
24882         [BZ #208]
24883         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
24884         in instead of returning them.  Return void.
24885         (__libc_mallinfo): Accumulate over all arenas.
24886         (__malloc_stats): Adjust for change in int_mallinfo interface.
24888 2012-05-16  Roland McGrath  <roland@hack.frob.com>
24890         [BZ #10375]
24891         * configure.in (NM): Add AC_CHECK_TOOL for it.
24892         (libc_extra_cflags): New substituted variable.
24893         Check for -fstack-protector being used implicitly.
24894         * configure: Regenerated.
24895         * config.make.in (config-extra-cflags): New variable,
24896         gets @libc_extra_cflags@.
24897         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
24899         [BZ #10375]
24900         * configure.in: Check for _FORTIFY_SOURCE being predefined.
24901         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
24902         * configure: Regenerated.
24903         * config.make.in (CPPUNDEFS): New substituted variable.
24904         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
24905         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
24906         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
24908 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
24910         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
24911         (mq_attr): Use __syscall_slong_t.
24913 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
24915         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
24916         Check __x86_64__ instead of __WORDSIZE.
24917         (_STAT_VER_LINUX): Likewise.
24918         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
24919         __syscall_ulong_t and __syscall_slong_t.
24920         (stat64): Likewise.
24922 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
24924         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
24926 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
24928         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
24930 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
24932         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
24933         __syscall_ulong_t.
24935         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
24936         include <bits/wordsize.h>.  Check __x86_64__ instead of
24937         __WORDSIZE.
24938         (greg_t): Use "__extension__ long long int" if __x86_64__ is
24939         defined.
24940         (mcontext_t): Replace "unsigned long" with "unsigned long long".
24942         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
24943         include <bits/wordsize.h>.  Check __x86_64__ instead of
24944         __WORDSIZE.
24945         (user_regs_struct): Use "__extension__ unsigned long long"
24946         instead of "unsigned long" if __x86_64__ is defined.
24947         (user): Likewise.  Pad after pointer field if __ILP32__ is
24948         defined.
24950 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
24952         * configure.in (makeinfo): Require version 4.5 or later.  Allow
24953         versions 5 to 9.
24954         * configure: Regenerated.
24955         * manual/install.texi (texinfo): Increase version requirement to
24956         4.5 or later.
24957         * INSTALL: Regenerated.
24959         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
24961 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
24963         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
24965         * sysdeps/x86_64/x32/ffs.c: New file.
24967         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
24968         __syscall_ulong_t.
24969         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
24970         defined.  Use __syscall_ulong_t.
24971         (shminfo): Use __syscall_ulong_t.
24972         (shm_info): Likewise.
24974         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
24975         __syscall_ulong_t.
24977         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
24978         <bits/wordsize.h>.
24979         (msgqnum_t): Use __syscall_ulong_t.
24980         (msglen_t): Likewise.
24981         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
24982         __syscall_ulong_t.
24984         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
24985         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
24987         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
24989         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
24990         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
24992         * sysvipc/sys/msg.h (msgbuf): Replace long int with
24993         __syscall_slong_t.
24995         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
24996         include <bits/wordsize.h>.  Check __x86_64__ instead of
24997         __WORDSIZE.
24999         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
25000         "unsigned long long int" if __x86_64__ is defined.
25001         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
25003         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
25004         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
25005         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
25007         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
25008         <stdint.h>.
25009         (GET_PC): Cast to uintptr_t first.
25010         (GET_FRAME): Likewise.
25011         (GET_STACK): Likewise.
25013         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
25014         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
25015         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
25016         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
25017         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
25018         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
25019         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
25020         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
25021         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
25022         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
25023         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
25024         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
25025         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
25026         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
25027         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
25028         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
25029         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
25030         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
25031         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
25032         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
25033         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
25034         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
25035         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
25036         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
25037         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
25038         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
25039         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
25040         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
25041         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
25043 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
25045         * Makerules (+depfiles): Also collect depfiles from .oS in
25046         $(extra-objs).
25047         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
25048         .oS, $(libnldbl-routines)).
25050         * Makerules (native-compile-mkdep-flags): Define.
25051         * sunrpc/Makefile (extra-objs): Add $(addprefix
25052         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
25053         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
25054         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
25055         calling $(make-target-directory).
25057 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
25059         * bits/types.h (__snseconds_t): Removed.
25060         * time/time.h (struct timespec): Replace __snseconds_t with
25061         __syscall_slong_t.
25062         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
25063         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
25064         Likewise.
25065         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
25066         (__SNSECONDS_T_TYPE): Likewise.
25067         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
25068         (__SNSECONDS_T_TYPE): Likewise.
25069         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
25070         (__SNSECONDS_T_TYPE): Likewise.
25072 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
25074         * sysdeps/mach/hurd/bits/typesizes.h
25075         (__SYSCALL_SLONG_TYPE): New macro.
25076         (__SYSCALL_ULONG_TYPE): Likewise.
25078 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
25080         * bits/types.h (__syscall_slong_t): New type.
25081         (__syscall_ulong_t): Likewise.
25083         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
25084         (__SYSCALL_ULONG_TYPE): Likewise.
25085         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
25086         (__SYSCALL_SLONG_TYPE): Likewise.
25087         (__SYSCALL_ULONG_TYPE): Likewise.
25088         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
25089         (__SYSCALL_SLONG_TYPE): Likewise.
25090         (__SYSCALL_ULONG_TYPE): Likewise.
25091         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
25092         (__SYSCALL_SLONG_TYPE): Likewise.
25093         (__SYSCALL_ULONG_TYPE): Likewise.
25095 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
25097         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
25098         Add sigaltstack-offsets.sym.
25099         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
25100         <sigaltstack-offsets.h>.
25101         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
25102         longjmp_msg pointer.
25103         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
25104         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
25105         signal stack.
25106         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
25108 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
25110         * elf/stackguard-macros.h: Remove file.
25111         * sysdeps/generic/stackguard-macros.h: New file.
25112         * sysdeps/i386/stackguard-macros.h: Likewise.
25113         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
25114         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
25115         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
25116         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
25117         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
25118         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
25119         * sysdeps/x86_64/stackguard-macros.h: Likewise.
25120         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
25121         <elf/stackguard-macros.h>.
25123         [BZ #14109]
25124         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
25125         __aligned__ in attribute.
25126         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
25127         (gregset_t): Likewise.
25129 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
25131         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
25132         * sysdeps/x86_64/64/Implies-after: Here.  New file.
25133         * sysdeps/x86_64/x32/Implies-after: New file.
25135 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
25137         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
25138         and access return value for _dl_profile_fixup.  Use R10_LP to
25139         load frame size.
25141 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
25143         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
25145 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
25147         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
25148         * sysdeps/x86_64/x32/sysdep.h: New file.
25150 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
25152         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
25153         * sysdeps/x86_64/setjmp.S: Likewise.
25155 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25157         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
25158         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
25159         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
25160         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
25161         remove unused global constant.
25163 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
25165         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
25166         include of <not-cancel.h>.
25168 2012-05-15  Roland McGrath  <roland@hack.frob.com>
25170         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
25172 2012-05-15  Jeff Law  <law@redhat.com>
25173             Andreas Jaeger  <aj@suse.de>
25175         [BZ #13594]
25176         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
25177         out from...
25178         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
25179         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
25180         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
25181         code changing __hst_map_handle.map.
25183 2012-05-15  Roland McGrath  <roland@hack.frob.com>
25185         * configure.in (sysnames): Look for Implies-before and Implies-after
25186         files.
25187         * configure: Regenerated.
25189 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
25191         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
25192         8-byte data alignment with LP_SIZE alignment.
25194 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
25196         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
25197         into R10_LP.
25199 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
25201         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
25203 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
25205         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
25206         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
25207         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
25208         Likewise.
25209         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
25211 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
25213         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
25214         (stackinfo_sub_sp): Likewise.
25216 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
25218         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
25219         RAX_LP.
25221 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
25223         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
25224         into R*_LP.
25226 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
25228         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
25229         sizes into R*_LP.
25231 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
25233         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
25235 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
25237         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
25238         into R11_LP and load __x86_64_shared_cache_size_half into
25239         R8_LP.
25241 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
25243         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
25244         R8_LP.
25246 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25248         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
25249         logb for POWER7.
25250         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
25251         logbf for POWER7.
25252         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
25253         logbl for POWER7.
25254         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
25255         powerpc32/power7/fpu/s_logb.c via #include.
25256         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
25257         powerpc32/power7/fpu/s_logbf.c via #include.
25258         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
25259         powerpc32/power7/fpu/s_logbl.c via #include.
25261 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
25263         * README.libm: Remove file.
25265 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
25267         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
25268         count for x32.  Use R*_LP and omit operand-size suffix.
25270 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
25272         * shlib-versions: Move x86_64-.*-linux.* entries to ...
25273         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
25274         * sysdeps/x86_64/x32/shlib-versions: New file.
25276 2012-05-14  Roland McGrath  <roland@hack.frob.com>
25278         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
25279         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
25280         Use _dl_fatal_printf instead.
25282 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
25284         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
25285         set if not set by the user.  Do not allow for being unset.
25286         * sysdeps/unix/sysv/linux/configure: Regenerated.
25288 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
25290         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
25291         the `q' suffix from lea and replace .quad with ASM_ADDR.
25293 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
25295         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
25296         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
25297         instead of $17.
25298         (PTR_DEMANGLE): Likewise.
25300 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
25302         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
25303         (LP_OP): Likewise.
25304         (ASM_ADDR): Likewise.
25305         (RAX_LP): Likewise.
25306         (RBP_LP): Likewise.
25307         (RBX_LP): Likewise.
25308         (RCX_LP): Likewise.
25309         (RDI_LP): Likewise.
25310         (RSI_LP): Likewise.
25311         (RSP_LP): Likewise.
25312         (R8_LP): Likewise.
25313         (R9_LP): Likewise.
25314         (R10_LP): Likewise.
25315         (R10_LP): Likewise.
25316         (R11_LP): Likewise.
25317         (R12_LP): Likewise.
25318         (R13_LP): Likewise.
25319         (R14_LP): Likewise.
25320         (R15_LP): Likewise.
25322 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
25324         * sysdeps/x86_64/x32/dl-machine.h: New file.
25326 2012-05-14  Andreas Jaeger  <aj@suse.de>
25328         * manual/Makefile (subdir): Remove export of subdir.
25329         (all): Remove target.
25330         (.PHONY): Remove all from list.
25331         (mkinstalldirs): Remove.
25332         (.PHONY): Remove installdirs from list.
25333         ($(inst_infodir)/libc.info): Use make-target-directory.
25334         (installdirs): Remove.
25335         (subdir_%): Remove.
25336         (glibc-targets): Remove.
25337         (lib): Remove.
25338         (stubs): Remove.
25339         ($(objpfx)stubs ../po/manual.pot): Remove.
25340         ($(objpfx)stamp%): Remove.
25341         (make-target-directory): Remove.
25342         (subdir_install): Remove.
25343         (routines): Remove.
25344         (aux): Remove.
25345         (sources): Remove.
25346         (objects): Remove.
25347         (headers): Remove.
25349         [BZ #13750]
25350         * manual/.gitignore: Remove, it's not needed anymore.
25351         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
25352         all files in it.
25353         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
25354         directory.
25355         (texis): Renamed to $(objpfx)texis.
25356         (texis-path): New, contains path to generated files.
25357         (chapters.%): Use texis-path for complete path, add extra argument
25358         libc-texinfo.sh.
25359         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
25360         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
25361         (summary,texi, stamp-summary): Use complete path of
25362         files. Generate files in build dir.
25363         (dir-add.texi): Build in build dir.
25364         (libm-err.texi,stamp-libm-err): Likewise.
25365         (version.texi, stamp-version): Likewise.
25366         (.%c.texi): Likewise.
25367         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
25368         (mostlyclean): Remove target.
25369         (realclean): Remove target.
25370         (generated): Add new variable with contents from mostlyclean and
25371         realclean, remove entries duplicated in common-mostlyclean, add
25372         stamp-libm-err and stamp-version.
25373         (generated-dirs): Add libc directory.
25374         ($(inst_infodir)/libc.info): Install files from build dir.
25376         * manual/install.texi (Configuring and compiling): Adjust since
25377         the info files are not part of the tar ball anymore.
25379 2012-05-14  Andreas Jaeger  <aj@suse.de>
25381         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
25382         variable.
25384 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
25386         [BZ #13717]
25387         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
25388         to 2.2.0 where earlier.
25389         * sysdeps/unix/sysv/linux/configure: Regenerated.
25390         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
25391         Remove conditional code.
25392         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
25393         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
25394         Remove conditional code.
25395         [!__NR_lchown]: Likewise.
25396         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
25397         [__NR_lchown]: Likewise.
25398         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
25399         comment referencing __ASSUME_LCHOWN_SYSCALL.
25400         * sysdeps/unix/sysv/linux/i386/sigaction.c
25401         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
25402         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
25403         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
25404         Remove conditional code.
25405         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
25406         (__protocol_available): Remove #if 0 code.
25407         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
25408         conditional code.
25409         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
25410         * sysdeps/unix/sysv/linux/kernel-features.h
25411         (__ASSUME_GETCWD_SYSCALL): Don't define.
25412         (__ASSUME_REALTIME_SIGNALS): Likewise.
25413         (__ASSUME_PREAD_SYSCALL): Likewise.
25414         (__ASSUME_PWRITE_SYSCALL): Likewise.
25415         (__ASSUME_POLL_SYSCALL): Likewise.
25416         (__ASSUME_LCHOWN_SYSCALL): Likewise.
25417         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
25418         non-SPARC.
25419         (__ASSUME_SIOCGIFNAME): Don't define.
25420         (__ASSUME_MSG_NOSIGNAL): Likewise.
25421         (__ASSUME_SENDFILE): Define unconditionally.
25422         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
25423         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
25424         conditional code.
25425         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
25426         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
25427         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
25428         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
25429         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
25430         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
25431         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
25432         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
25433         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
25434         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
25435         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
25436         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
25437         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
25438         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
25439         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
25440         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
25441         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
25442         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
25443         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
25444         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
25445         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
25446         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
25447         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
25448         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
25449         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
25450         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
25451         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
25452         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
25453         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
25454         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
25455         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
25456         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
25457         Remove conditional code.
25458         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
25459         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
25460         Remove conditional code.
25461         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
25462         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
25463         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
25464         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
25465         Remove conditional code.
25466         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
25467         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
25468         Remove conditional code.
25469         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
25470         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
25471         Remove conditional code.
25472         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
25473         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
25474         Remove conditional code.
25475         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
25476         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
25477         Remove conditional code.
25478         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
25479         * sysdeps/unix/sysv/linux/sh/pwrite64.c
25480         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
25481         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
25482         * sysdeps/unix/sysv/linux/sigaction.c
25483         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
25484         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
25485         * sysdeps/unix/sysv/linux/sigpending.c
25486         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
25487         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
25488         * sysdeps/unix/sysv/linux/sigprocmask.c
25489         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
25490         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
25491         * sysdeps/unix/sysv/linux/sigsuspend.c
25492         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
25493         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
25494         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
25495         (__libc_missing_rt_sigs): Remove.
25496         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
25497         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
25498         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
25499         Remove conditional code.
25500         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
25501         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
25502         return 1.
25503         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
25504         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
25505         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
25506         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
25508 2012-05-14  Andreas Jaeger  <aj@suse.de>
25510         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
25511         it's not used in glibc.
25512         (__coshm1): Likewise.
25513         (__acosh1p): Likewise.
25514         (__sgn): Likewise.
25516         * manual/string.texi (Copying and Concatenation): Add missing
25517         variable in concat example.
25518         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
25520 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
25522         [BZ #14103]
25523         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
25524         __builtin_clzl with __builtin_clzll.
25526 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
25528         [BZ #14104]
25529         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
25530         libc_freeres_ptr.
25532 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
25534         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
25535         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
25536         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
25537         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
25539 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
25541         * NEWS: Update ia64 info.
25543 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
25545         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
25546         used as bcopy.
25548 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
25550         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
25551         * sysdeps/unix/syscalls.list (dup3): Likewise.
25552         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
25553         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
25555 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
25557         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
25558         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
25560 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
25562         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
25563         thread pointer.
25564         (TLS_IE): Use mov/add instead of movq/addq to load thread
25565         pointer.
25566         (TLS_GD_PREFIX): New.
25567         (TLS_GD): Use it.
25569 2012-05-11  David S. Miller  <davem@davemloft.net>
25571         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
25572         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
25573         (_FPU_SETCW): Likewise.
25575 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
25577         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
25578         is 32-byte aligned.
25580 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
25582         [BZ #11837]
25583         * iconvdata/gb18030.c: Update tables.
25584         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
25585         characters specially.
25586         (BODY for TO_LOOP): Add encoding of missing ranges.
25588 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
25590         [BZ #13673]
25591         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
25592         * sysdeps/mach/hurd/dup3.c: Likewise.
25593         * sysdeps/mach/hurd/readlinkat.c: Likewise.
25594         * sysdeps/powerpc/memmove.c:: Likewise.
25596 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
25598         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
25599         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
25601 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
25603         * elf/elf.h (R_X86_64_RELATIVE64): New.
25604         (R_X86_64_NUM): Updated.
25605         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
25606         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
25607         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
25608         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
25609         tst-quad1pie tst-quad2pie
25610         (modules-names): Add tst-quadmod1 tst-quadmod2.
25611         ($(objpfx)tst-quad1): New dependency.
25612         ($(objpfx)tst-quad2): Likewise.
25613         ($(objpfx)tst-quad1pie): Likewise.
25614         ($(objpfx)tst-quad2pie): Likewise.
25615         * sysdeps/x86_64/tst-quad1.c: New file.
25616         * sysdeps/x86_64/tst-quad1pie.c: New file.
25617         * sysdeps/x86_64/tst-quad2.c: Likewise.
25618         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
25619         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
25620         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
25621         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
25622         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
25624 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
25626         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
25627         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
25628         * streams/stropts.h (t_scalar_t): Define type.
25630         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
25631         (_PATH_PRESERVE): Set to "/var/lib".
25632         (_PATH_RWHODIR): Set to "/var/spool/rwho".
25634         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
25635         instead of int.
25637         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
25638         if __dir_mkfile succeeded.
25640         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
25641         checking for _hurd_dtablesize.  Unlock it right after having
25642         finished _hurd_dtable allocation.
25644 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
25646         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
25647         * sysdeps/mach/hurd/configure: Regenerated.
25648         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
25649         special-casing to...
25650         * sysdeps/gnu/configure.in: ... this new file.
25651         * sysdeps/unix/sysv/linux/configure: Regenerated.
25652         * sysdeps/gnu/configure: New generated file.
25654         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
25655         for Linux: use nsec instead of usec, as well as:
25656         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
25657         members of type struct timespec.
25658         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
25659         New macros.
25660         (struct stat64): Likewise.
25661         (_STATBUF_ST_NSEC): New macro.
25662         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
25664         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
25665         __strtoul_internal rather than strtoul.
25667 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
25669         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
25670         and reject them.
25672 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
25674         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
25675         which preserves existing values.
25676         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
25678 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
25680         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
25681         TIMEOUT values.  Return EINVAL for NFDS values either negative or
25682         greater than FD_SETSIZE.
25684 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
25686         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
25687         allocated, call __vm_protect to finish enabling the existing space, and
25688         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
25689         allocate the remainder.
25691 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
25693         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
25694         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
25696 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
25698         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
25699         sysdeps/mach/hurd/readlink.c.
25701         * posix/tst-sysconf.c (posix_options): Only use
25702         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
25703         _POSIX_SYNCHRONIZED_IO when they are defined
25704         * sysdeps/mach/hurd/bits/posix_opt.h:
25705         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
25706         (_XOPEN_REALTIME): Undefine macro.
25707         (_XOPEN_REALTIME_THREADS): Undefine macro.
25708         (_XOPEN_SHM): Undefine macro.
25709         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
25710         macro to -1.
25711         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
25712         macro to -1.
25713         (_POSIX_ASYNC_IO): Undefine macro.
25714         (_POSIX_PRIORITIZED_IO): Undefine macro.
25715         (_POSIX_SPIN_LOCKS): Define macro to -1.
25717         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
25718         SA_NODEFER, SA_RESETHAND.
25719         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
25720         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
25721         F_DUPFD_CLOEXEC.
25723 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
25725         * elf/Makefile (pldd-modules): Define unconditionally.
25727 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
25729         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
25731 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
25733         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
25734         Return ENOENT when name is empty.
25735         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
25737 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
25739         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
25741         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
25743 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
25745         Fix mlock in all cases except non-readable pages.
25746         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
25747         instead of VM_PROT_ALL as parameter to __vm_wire function.
25749         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
25750         (__mkdir): When path is `/', just fail with EEXIST.
25751         * sysdeps/mach/hurd/mkdirat.c: Likewise.
25753 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
25755         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
25756         <sys/uio.h> (for writev).
25757         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
25758         and <sys/param.h> (for MIN).
25760 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
25762         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
25763         REQUESTED_TIME.  Properly set the remaining time and return EINTR
25764         if interrupted.
25766 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
25768         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
25769         Depend on against $(link-rpcuserlibs).
25771 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
25773         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
25774         (__libc_stack_end): Do not use attribute_relro.
25775         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
25776         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
25777         to libthread-provided value.
25778         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
25779         attribute_relro.
25781 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
25783         [BZ #3748]
25784         * bits/libc-lock.h (__libc_once_get): New macro.
25785         * sysdeps/mach/bits/libc-lock.h: Likewise.
25786         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
25787         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
25788         instead of using implementation details.
25790         * libio/fileops.c: Unconditionally include <kernel-features.h>.
25791         * libio/freopen.c: Likewise.
25792         * libio/freopen64.c: Likewise.
25793         * misc/syslog.c: Likewise.
25794         * nscd/connections.c: Likewise.
25795         * nscd/netgroupcache.c: Likewise.
25796         * sysdeps/posix/getcwd.c: Likewise.
25798 2012-05-10  Roland McGrath  <roland@hack.frob.com>
25800         * math/w_ilogbf.c: Add #include <limits.h>.
25802 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
25804         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
25805         path instead of returning without unlocking.
25807         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
25808         immediate-write ioctls.
25809         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
25811 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
25813         * sysdeps/mach/hurd/i386/init-first.c (init): Use
25814         __builtin_frame_address instead of making assumptions about the
25815         location of the return address relative to DATA.  Force early load of
25816         the return address.
25817         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
25818         __builtin_frame_address.
25820         dup3 for GNU Hurd.
25821         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
25822         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
25823         implement dup3 and do some further code clean-ups.
25824         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
25825         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
25827 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
25829         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
25831         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
25832         HURD_CRITICAL_END around holding _hurd_dtable_lock.
25833         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
25834         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
25835         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
25836         d->port.lock.
25838         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
25839         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
25840         when handler == SIG_ERR, not when handler != SIG_ERR.
25842 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
25844         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
25845         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
25846         definitions.
25848         accept4 for GNU Hurd.
25849         * include/sys/socket.h (__libc_accept4): New prototype.
25850         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
25851         to implement __libc_accept4.
25852         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
25853         __libc_accept4.
25854         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
25856         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
25857         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
25858         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
25859         signal-defines.sym.
25861 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
25863         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
25865 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
25867         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
25868         assertion on O_CLOEXEC flag.
25869         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
25870         * hurd/intern-fd.c: Likewise.
25871         * hurd/port2fd.c: Likewise.
25873 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
25875         [BZ #3906]
25876         * bits/in.h (IPV6_PKTINFO): Define new macro.
25877         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
25879 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25881         [BZ #13954]
25882         [BZ #13955]
25883         [BZ #13956]
25884         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
25885         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
25886         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
25887         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
25888         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
25889         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
25890         * math/libm-test.inc (logb_test) : Additional logb tests.
25892 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
25893             Andreas Jaeger  <aj@suse.de>
25895         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
25896         * configure: Regenerated.
25897         * config.h.in (LINK_OBSOLETE_RPC): New macro.
25898         * config.make.in (link-obsolete-rpc): New substituted variable.
25899         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
25900         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
25901         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
25902         (shared-only-routines): Don't set it under [link-obsolete-rpc],
25903         so that libc.a contains the symbols.
25904         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
25905         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
25906         * sunrpc/auth_none.c: Likewise.
25907         * sunrpc/auth_unix.c: Likewise.
25908         * sunrpc/authdes_prot.c: Likewise.
25909         * sunrpc/authuxprot.c: Likewise.
25910         * sunrpc/clnt_gen.c: Likewise.
25911         * sunrpc/clnt_perr.c: Likewise.
25912         * sunrpc/clnt_raw.c: Likewise.
25913         * sunrpc/clnt_simp.c: Likewise.
25914         * sunrpc/clnt_tcp.c: Likewise.
25915         * sunrpc/clnt_udp.c: Likewise.
25916         * sunrpc/clnt_unix.c: Likewise.
25917         * sunrpc/des_crypt.c: Likewise.
25918         * sunrpc/des_soft.c: Likewise.
25919         * sunrpc/get_myaddr.c: Likewise.
25920         * sunrpc/key_call.c: Likewise.
25921         * sunrpc/key_prot.c: Likewise.
25922         * sunrpc/netname.c: Likewise.
25923         * sunrpc/pm_getmaps.c: Likewise.
25924         * sunrpc/pm_getport.c: Likewise.
25925         * sunrpc/pmap_clnt.c: Likewise.
25926         * sunrpc/pmap_prot.c: Likewise.
25927         * sunrpc/pmap_prot2.c: Likewise.
25928         * sunrpc/pmap_rmt.c: Likewise.
25929         * sunrpc/publickey.c: Likewise.
25930         * sunrpc/rpc_cmsg.c: Likewise.
25931         * sunrpc/rpc_common.c: Likewise.
25932         * sunrpc/rpc_dtable.c: Likewise.
25933         * sunrpc/rpc_prot.c: Likewise.
25934         * sunrpc/rpc_thread.c: Likewise.
25935         * sunrpc/rtime.c: Likewise.
25936         * sunrpc/svc.c: Likewise.
25937         * sunrpc/svc_auth.c: Likewise.
25938         * sunrpc/svc_raw.c: Likewise.
25939         * sunrpc/svc_run.c: Likewise.
25940         * sunrpc/svc_tcp.c: Likewise.
25941         * sunrpc/svc_udp.c: Likewise.
25942         * sunrpc/svc_unix.c: Likewise.
25943         * sunrpc/svcauth_des.c: Likewise.
25944         * sunrpc/xcrypt.c: Likewise.
25945         * sunrpc/xdr.c: Likewise.
25946         * sunrpc/xdr_array.c: Likewise.
25947         * sunrpc/xdr_float.c: Likewise.
25948         * sunrpc/xdr_intXX_t.c: Likewise.
25949         * sunrpc/xdr_mem.c: Likewise.
25950         * sunrpc/xdr_rec.c: Likewise.
25951         * sunrpc/xdr_ref.c: Likewise.
25952         * sunrpc/xdr_sizeof.c: Likewise.
25953         * sunrpc/xdr_stdio.c: Likewise.
25955 2012-05-10  Roland McGrath  <roland@hack.frob.com>
25957         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
25958         change.  Update copyright years.
25960 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
25962         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
25964 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
25965             Joseph Myers  <joseph@codesourcery.com>
25966             Paul Pluzhnikov  <ppluzhnikov@google.com>
25968         [BZ #14012]
25969         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
25970         requiring rpcgen.
25971         [cross-compiling] (extra-libs): Likewise.
25972         [cross-compiling] (extra-libs-others): Likewise.
25973         [cross-compiling] (librpcsvc-routines): Likewise.
25974         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
25975         [cross-compiling] (omit-deps): Likewise.
25976         (sunrpc-CPPFLAGS): New variable.
25977         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
25978         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
25979         (cross-rpcgen-objs): New variable.
25980         (extra-objs): Append $(cross-rpcgen-objs).
25981         ($(cross-rpcgen-objs)): New rule.
25982         ($(objpfx)cross-rpcgen): Likewise.
25983         (rpcgen-cmd): Define to use $(built-program-file).  Expand
25984         comment.
25985         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
25986         ($(objpfx)x%.stmp): Likewise.
25987         * sunrpc/proto.h [IS_IN_build] (_): Define.
25988         [IS_IN_build] (_libc_intl_domainname): Likewise.
25990 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
25992         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
25993         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
25994         and R_X86_64_TPOFF64.
25996 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
25998         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
25999         sysdeps/unix/sysv/syscalls.list.
26000         (stime): Likewise.
26001         (utime): Likewise.
26002         * sysdeps/unix/sysv/syscalls.list: Remove file.
26004 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
26006         [BZ #3440]
26007         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
26008         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
26009         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
26010         (__LC_IDENTIFICATION): Make these macros useful in #if
26011         expressions, as required by C99.
26013 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
26015         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
26016         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
26017         after this.
26019 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
26021         * stdlib/longlong.h: Updated from GCC.
26023 2012-05-09  Andreas Jaeger  <aj@suse.de>
26025         * nscd/nscd.c (run_modes): Make named enum, reorder so that
26026         default is first entry.
26027         (run_mode): Set type.
26028         (main): Remove informal message about syslog.
26029         (options): Fix typo.
26031         [BZ #14053]
26032         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
26033         to asm.
26034         (lrint): Likewise.
26035         (llrintf): Likewise.
26036         (llrint): Likewise.
26037         (rint): Likewise.
26038         (rintf): Likewise.
26039         (nearbyint): Likewise.
26040         (nearbyintf): Likewise.
26042 2012-05-09  Andreas Jaeger  <aj@suse.de>
26043             Pedro Alves  <palves@redhat.com>
26045         * nscd/nscd.c (run_mode): Use enum.
26046         (main): Cleanup coding style issue.
26048 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
26049             Andreas Jaeger  <aj@suse.de>
26051         * nscd/nscd.c (go_background): Replaced with...
26052         (run_mode): ... this.
26053         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
26054         (options): Add -F --foreground.
26055         (main): Implement it.
26056         (parse_opt): Parse it.
26058 2012-05-09  Andreas Jaeger  <aj@suse.de>
26060         [BZ #14083]
26061         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
26062         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
26063         -Wconversion warning.
26064         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
26065         Likewise.
26067 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
26069         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
26070         == 0.
26071         (LC_ALL): Use macro-int-constant.
26072         (LC_COLLATE): Likewise.
26073         (LC_CTYPE): Likewise.
26074         (LC_MESSAGES): Likewise.
26075         (LC_MONETARY): Likewise.
26076         (LC_NUMERIC): Likewise.
26077         (LC_TIME): Likewise.
26078         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
26079         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
26080         [ISO || ISO99 || ISO11] (*_t): Do not allow.
26081         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
26082         Specify type.
26083         [C99-based standards] (float_t): Expect type.
26084         [C99-based standards] (double_t): Expect type.
26085         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
26086         type.
26087         [C99-based standards] (HUGE_VALL): Likewise.
26088         [C99-based standards] (INFINITY): Likewise.
26089         [C99-based standards] (NAN): Likewise.
26090         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
26091         [C99-based standards] (FP_NAN): Likewise.
26092         [C99-based standards] (FP_NORMAL): Likewise.
26093         [C99-based standards] (FP_SUBNORMAL): Likewise.
26094         [C99-based standards] (FP_ZERO): Likewise.
26095         [C99-based standards] (FP_FAST_FMA): Use
26096         optional-macro-int-constant.  Specify type.  Require == 1.
26097         [C99-based standards] (FP_FAST_FMAF): Likewise.
26098         [C99-based standards] (FP_FAST_FMAL): Likewise.
26099         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
26100         [C99-based standards] (FP_ILOGBNAN): Likewise.
26101         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
26102         Specify type.
26103         [C99-based standards] (MATH_ERREXCEPT): Likewise.
26104         [C99-based standards] (math_errhandling): Specify type.
26105         [ISO99 || ISO11] (signgam): Do not allow.
26106         [non-C99-based standards] (copysignf): Do not allow.
26107         [non-C99-based standards] (exp2f): Likewise.
26108         [non-C99-based standards] (log2f): Likewise.
26109         [non-C99-based standards] (modff): Allow.
26110         [non-C99-based standards] (erff): Do not allow.
26111         [non-C99-based standards] (erfcf): Likewise.
26112         [non-C99-based standards] (gammaf): Likewise.
26113         [non-C99-based standards] (hypotf): Likewise.
26114         [non-C99-based standards] (j0f): Likewise.
26115         [non-C99-based standards] (j1f): Likewise.
26116         [non-C99-based standards] (jnf): Likewise.
26117         [non-C99-based standards] (lgammaf): Likewise.
26118         [non-C99-based standards] (tgammaf): Likewise.
26119         [non-C99-based standards] (y0f): Likewise.
26120         [non-C99-based standards] (y1f): Likewise.
26121         [non-C99-based standards] (ynf): Likewise.
26122         [non-C99-based standards] (isnanf): Likewise.
26123         [non-C99-based standards] (acoshf): Likewise.
26124         [non-C99-based standards] (asinhf): Likewise.
26125         [non-C99-based standards] (atanhf): Likewise.
26126         [non-C99-based standards] (cbrtf): Likewise.
26127         [non-C99-based standards] (expm1f): Likewise.
26128         [non-C99-based standards] (ilogbf): Likewise.
26129         [non-C99-based standards] (log1pf): Likewise.
26130         [non-C99-based standards] (logbf): Likewise.
26131         [non-C99-based standards] (nextafterf): Likewise.
26132         [non-C99-based standards] (remainderf): Likewise.
26133         [non-C99-based standards] (rintf): Likewise.
26134         [non-C99-based standards] (scalbf): Likewise.
26135         [non-C99-based standards] (copysignl): Likewise.
26136         [non-C99-based standards] (exp2l): Likewise.
26137         [non-C99-based standards] (log2l): Likewise.
26138         [non-C99-based standards] (modfl): Allow.
26139         [non-C99-based standards] (erfl): Do not allow.
26140         [non-C99-based standards] (erfcl): Likewise.
26141         [non-C99-based standards] (gammal): Likewise.
26142         [non-C99-based standards] (hypotl): Likewise.
26143         [non-C99-based standards] (j0l): Likewise.
26144         [non-C99-based standards] (j1l): Likewise.
26145         [non-C99-based standards] (jnl): Likewise.
26146         [non-C99-based standards] (lgammal): Likewise.
26147         [non-C99-based standards] (tgammal): Likewise.
26148         [non-C99-based standards] (y0l): Likewise.
26149         [non-C99-based standards] (y1l): Likewise.
26150         [non-C99-based standards] (ynl): Likewise.
26151         [non-C99-based standards] (isnanl): Likewise.
26152         [non-C99-based standards] (acoshl): Likewise.
26153         [non-C99-based standards] (asinhl): Likewise.
26154         [non-C99-based standards] (atanhl): Likewise.
26155         [non-C99-based standards] (cbrtl): Likewise.
26156         [non-C99-based standards] (expm1l): Likewise.
26157         [non-C99-based standards] (ilogbl): Likewise.
26158         [non-C99-based standards] (log1pl): Likewise.
26159         [non-C99-based standards] (logbl): Likewise.
26160         [non-C99-based standards] (nextafterl): Likewise.
26161         [non-C99-based standards] (remainderl): Likewise.
26162         [non-C99-based standards] (rintl): Likewise.
26163         [non-C99-based standards] (scalbl): Likewise.
26164         [ISO || ISO99 || ISO11] (*_t): Do not allow.
26165         [non-C99-based standards] (FP_*): Do not allow.
26166         [C99-based standards] (FP_*): Change to
26167         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
26168         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
26169         allow.
26170         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
26171         (SIG_ERR): Likewise.
26172         [X/Open-based standards] (SIG_HOLD): Likewise.
26173         (SIG_IGN): Likewise.
26174         (SIGABRT): Use macro-int-constant.  Specify type.  Require
26175         positive value.
26176         (SIGFPE): Likewise.
26177         (SIGILL): Likewise.
26178         (SIGINT): Likewise.
26179         (SIGSEGV): Likewise.
26180         (SIGTER): Likewise.
26181         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
26182         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
26183         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
26184         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
26185         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
26186         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
26187         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
26188         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
26189         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
26190         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
26191         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
26192         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
26193         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
26194         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
26195         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
26196         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
26197         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
26198         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
26199         [X/Open-based standards] (SIGTRAP): Likewise.
26200         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
26201         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
26202         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
26203         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
26204         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
26205         allow.
26207 2012-05-08  Ian Wienand  <ianw@vmware.com>
26209         [BZ #14080]
26210         * time/tzset.c (__tzset_parse_tz): Update default rules for
26211         daylight time changes in the Energy Policy Act of 2005.
26213 2012-05-09  Andreas Jaeger  <aj@suse.de>
26215         [BZ #13983]
26216         * elf/ldconfig.c (parse_conf): Change string to make clear that
26217         ldconfig only issued a warning if ld.so.conf does not exist.
26219 2012-05-08  David S. Miller  <davem@davemloft.net>
26221         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
26222         movxtod instead of popping the value on the stack.
26224         * sysdeps/sparc/fpu/libm-test-ulps: Update.
26226 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
26228         * config.h.in: Add HAVE_ARM_PCS_VFP.
26230 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
26232         [BZ #13979]
26233         * include/features.h: Warn if user requests __FORTIFY_SOURCE
26234         checking but the checks are disabled for any reason.
26236 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
26238         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
26239         and ELF64_R_TYPE with ELFW(R_TYPE).
26241 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
26243         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
26244         (ulimit): Likewise.
26246         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
26247         (settimeofday): Likewise.
26249 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
26251         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
26252         a struct th_u2 inside the union, and move tu_block/tu_code into
26253         a new th_u3 union of tu_block/tu_code inside of that.  Move
26254         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
26255         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
26256         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
26257         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
26258         (th_stuff): Change to th_u1.tu_stuff.
26259         (th_data): Define.
26260         (th_msg): Change to th_u1.th_u2.tu_data.
26262 2012-05-07  David S. Miller  <davem@davemloft.net>
26264         * sysdeps/sparc/fpu/libm-test-ulps: Update.
26266         [BZ #14074]
26267         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
26268         (SETUP_PIC_REG): Use it.
26269         (SETUP_PIC_REG_LEAF): Use it.
26271 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
26273         [BZ #13885]
26274         [BZ #13923]
26275         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
26276         USE_AS_EXPM1L.
26277         (EXPL_FINITE): Likewise.
26278         (FLDLOG): Likewise.
26279         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
26280         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
26281         e_expl.S.
26282         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
26283         USE_AS_EXPM1L.
26284         (EXPL_FINITE): Likewise.
26285         (FLDLOG): Likewise.
26286         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
26287         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
26288         e_expl.S.
26289         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
26290         test of -max_value argument for long double.
26291         * sysdeps/i386/fpu/libm-test-ulps: Update.
26292         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26294 2012-05-06  David S. Miller  <davem@davemloft.net>
26296         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
26297         quad soft-float symbols whose references which are compiler
26298         generated.
26299         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
26301 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
26303         [BZ #13884]
26304         [BZ #13914]
26305         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
26306         USE_AS_EXP10L.
26307         (EXPL_FINITE): Likewise.
26308         (FLDLOG): Likewise.
26309         (c0): Likewise.
26310         (c1): Likewise.
26311         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
26312         Adjust comments for base varying.
26313         (__expl_finite): Change alias to EXPL_FINITE.
26314         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
26315         e_expl.S.
26316         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
26317         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
26318         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
26319         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
26320         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
26321         USE_AS_EXP10L.
26322         (EXPL_FINITE): Likewise.
26323         (FLDLOG): Likewise.
26324         (c0): Likewise.
26325         (c1): Likewise.
26326         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
26327         Adjust comments for base varying.
26328         (__expl_finite): Change alias to EXPL_FINITE.
26329         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
26330         tests for bugs.
26331         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26333         [BZ #14064]
26334         * math/libm-test.inc (check_float_internal): Correct ulp
26335         calculation for subnormal expected results.
26337 2012-05-06  Andreas Jaeger  <aj@suse.de>
26339         * Makeconfig (+math-flags): New, set to -frounding-math.
26340         (+cflags): Add +math-flags so that all of glibc gets compiled with
26341         it.
26343         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
26345 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
26347         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
26348         Disable one test.
26350         [BZ #13787]
26351         [BZ #13922]
26352         [BZ #14036]
26353         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
26354         (__ieee754_expl): Allow for and saturate large arguments.
26355         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
26356         (u_threshold): Likewise.
26357         (__exp): Call __ieee754_exp before checking for overflow and
26358         underflow.
26359         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
26360         (u_threshold): Likewise.
26361         (__expf): Call __ieee754_expf before checking for overflow and
26362         underflow.
26363         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
26364         (u_threshold): Likewise.
26365         (__expl): Call __ieee754_expl before checking for overflow and
26366         underflow.
26367         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
26368         (__ieee754_expl): Allow for and saturate large arguments.
26369         * math/libm-test.inc (exp_test): Add another test.  Do not allow
26370         missing overflow exception on overflow.
26371         (expm1_test): Do not allow missing overflow exception on overflow.
26373         * sysdeps/i386/fpu/e_expl.c: Move to ...
26374         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
26375         rather than using inline asm.
26376         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
26377         * sysdeps/x86_64/fpu/e_expl.S: Copy from
26378         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
26380         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
26381         (nice): Likewise.
26382         (poll): Likewise.
26383         (signal): Likewise.
26384         (time): Likewise.
26385         (times): Likewise.
26387 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
26389         * sysdeps/unix/syscalls.list (adjtime): Add entry from
26390         sysdeps/unix/common/syscalls.list.
26391         (fchmod): Likewise.
26392         (fchown): Likewise.
26393         (ftruncate): Likewise.
26394         (getrusage): Likewise.
26395         (gettimeofday): Likewise.
26396         (setpgid): Likewise.
26397         (setregid): Likewise.
26398         (setreuid): Likewise.
26399         (sigaction): Likewise.
26400         (truncate): Likewise.
26401         (vhangup): Likewise.
26402         * sysdeps/unix/common/syscalls.list: Remove file.
26403         * sysdeps/unix/bsd/Implies: Don't include unix/common.
26404         * sysdeps/unix/sysv/linux/Implies: Likewise.
26406 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
26408         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
26409         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
26410         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
26411         Moved to ...
26412         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
26413         Here.
26414         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
26415         to ...
26416         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
26417         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
26418         to ...
26419         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
26420         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
26421         to ...
26422         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
26423         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
26424         to ...
26425         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
26426         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
26427         to ...
26428         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
26429         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
26430         to ...
26431         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
26432         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
26433         to ...
26434         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
26435         Here.
26436         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
26437         to ...
26438         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
26439         Here.
26440         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
26441         to ...
26442         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
26443         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
26444         Moved to ...
26445         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
26446         Here.
26447         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
26448         to ...
26449         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
26451 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
26453         * sysdeps/unix/common/bits/dirent.h: Remove file.
26454         * sysdeps/unix/common/bits/fcntl.h: Likewise.
26456         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
26457         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
26458         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
26459         * sysdeps/unix/bsd/isatty.c: Likewise.
26460         * sysdeps/unix/bsd/tcdrain.c: Likewise.
26461         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
26462         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
26464 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26466         [BZ #13563]
26467         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
26468         long double comparison inaccuracies.
26469         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
26470         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26472 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
26474         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
26475         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
26477 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
26479         [BZ #14049]
26480         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
26481         nonzero digits before rounding a hex value.
26482         * stdlib/tst-strtod.c (tests): Add another test.
26484 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
26486         * sysdeps/s390/fpu/libm-test-ulps: Update.
26488 2012-05-03  Andreas Jaeger  <aj@suse.de>
26490         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
26491         does not get optimized out.
26492         (malloc_opt_barrier): New.
26494 2012-05-03  Andreas Jaeger  <aj@suse.de>
26495             Roland McGrath  <roland@hack.frob.com>
26497         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
26498         intermediate file deletion.
26499         (generated): Add .symlist files.
26501 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
26503         [BZ #13775]
26504         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
26505         Redirect under this condition.
26506         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
26507         [__USE_GNU] (__dprintf_chk): Not under this condition.
26508         [__USE_GNU] (__vdprintf_chk): Likewise.
26509         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
26510         under this condition.
26511         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
26512         [__USE_XOPEN2K8] (dprintf): Define under this condition.
26513         [__USE_XOPEN2K8] (vdprintf): Likewise.
26514         [__USE_GNU] (__dprintf_chk): Not under this condition.
26515         [__USE_GNU] (__vdprintf_chk): Likewise.
26516         [__USE_GNU] (dprintf): Likewise.
26517         [__USE_GNU] (vdprintf): Likewise.
26519 2012-05-03  Roland McGrath  <roland@hack.frob.com>
26521         * elf/Makefile (common-generated): Set this instead of generated for
26522         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
26523         $(all-built-dso)-derived lists.
26525 2012-05-03  Andreas Jaeger  <aj@suse.de>
26527         * sysdeps/i386/fpu/libm-test-ulps: Update.
26529         * FAQ: Removed.
26530         * FAQ.in: Likewise.
26531         * scripts/gen-FAQ.pl: Likewise.
26532         * manual/install.texi (Installation): Point to online location of
26533         FAQ.
26534         * Makefile (files-for-dist): Remove FAQ.
26535         (FAQ): Remove.
26537 2012-05-02  Allan McRae  <allan@archlinux.org>
26539         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
26540         (LDFLAGS-reldepmod5.so): Likewise.
26541         (LDFLAGS-reldep6mod1.so): Likewise.
26542         (LDFLAGS-reldep6mod4.so): Likewise.
26543         (LDFLAGS-reldep8mod3.so): Likewise.
26544         (LDFLAGS-unload4mod1.so): Likewise.
26545         (LDFLAGS-unload4mod2.so): Likewise.
26546         (LDFLAGS-tst-initorder): Likewise.
26547         (LDFLAGS-tst-initordera2.so): Likewise.
26548         (LDFLAGS-tst-initordera3.so): Likewise.
26549         (LDFLAGS-tst-initordera4.so): Likewise.
26550         (LDFLAGS-tst-initorderb2.so): Likewise.
26551         (LDFLAGS-noload): Likewise.
26552         (LDFLAGS-next): Likewise.
26553         (LDFLAGS-order2mod1.so): Likewise.
26554         (LDFLAGS-order2mod2.so): Likewise.
26555         (LDFLAGS-tst-initorder2): Likewise.
26556         (LDFLAGS-tst-initorder2a.so): Likewise.
26557         (LDFLAGS-tst-initorder2b.so): Likewise.
26558         (LDFLAGS-tst-initorder2c.so): Likewise.
26559         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
26561 2012-05-02  David S. Miller  <davem@davemloft.net>
26563         * sysdeps/sparc/fpu/libm-test-ulps: Update.
26565 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
26567         [BZ #14055]
26568         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
26570 2012-05-02  Andreas Jaeger  <aj@suse.de>
26572         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
26573         since we manipulate rounding mode.
26574         (CPPFLAGS-test-idouble.c): Likewise.
26575         (CPPFLAGS-test-ifloat.c): Likewise.
26576         (CFLAGS-test-ldouble.c): Likewise.
26577         (CFLAGS-test-double.c): Likewise.
26578         (CFLAGS-test-float.c): Likewise.
26579         (CFLAGS-test-misc.c): Likewise.
26580         (CFLAGS-test-test-fenv.c): Likewise.
26582 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26584         [BZ #2550]
26585         [BZ #2570]
26586         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
26587         comparisons to determine direction to adjust input.
26589 2012-05-01  Roland McGrath  <roland@hack.frob.com>
26591         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
26592         output to the target.
26594         * scripts/localplt.awk: New file.
26595         * elf/Makefile ($(objpfx)check-localplt): Target removed.
26596         (check-localplt-CFLAGS): Variable removed.
26597         ($(all-built-dso:=.jmprel)): New static pattern rule.
26598         (generated): Add those targets.
26599         (localplt-built-dso): New variable.
26600         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
26602         * elf/check-localplt.c: File removed.
26604         * scripts/check-execstack.awk: New file.
26605         * elf/Makefile ($(objpfx)check-execstack): Target removed.
26606         (check-execstack-CFLAGS): Variable removed.
26607         ($(objpfx)check-execstack.h): Target removed.
26608         ($(objpfx)execstack-default): New target.
26609         (generated): Add that instead of check-execstack.h.
26610         ($(all-built-dso:=.phdr)): New static pattern rule.
26611         (generated): Add those targets.
26612         * elf/check-execstack.c: File removed.
26614         * scripts/check-textrel.awk: New file.
26615         * elf/Makefile ($(objpfx)check-textrel): Target removed.
26616         (check-textrel-CFLAGS): Variable removed.
26617         (all-built-dso): Use := to define.o
26618         ($(all-built-dso:=.dyn)): New static pattern rule.
26619         (generated): Add those targets.
26620         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
26621         * config.make.in (READELF): New substituted variable.
26622         * elf/check-textrel.c: File removed.
26624 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
26626         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
26627         allow.
26628         * conform/data/ctype.h-data [C99-based standards] (isblank):
26629         Expect function.
26630         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
26631         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
26632         [ISO || ISO99 || ISO11] (*_t): Do not allow.
26633         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
26634         Specify type.  Require positive value.
26635         (EILSEQ): Likewise.
26636         (ERANGE): Likewise.
26637         [ISO || POSIX] (EILSEQ): Do not expect.
26638         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
26639         Specify type.  Require positive value.
26640         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
26641         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
26642         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
26643         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
26644         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
26645         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
26646         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
26647         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
26648         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
26649         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
26650         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
26651         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
26652         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
26653         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
26654         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
26655         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
26656         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
26657         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
26658         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
26659         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
26660         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
26661         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
26662         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
26663         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
26664         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
26665         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
26666         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
26667         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
26668         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
26669         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
26670         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
26671         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
26672         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
26673         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
26674         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
26675         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
26676         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
26677         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
26678         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
26679         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
26680         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
26681         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
26682         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
26683         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
26684         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
26685         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
26686         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
26687         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
26688         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
26689         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
26690         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
26691         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
26692         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
26693         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
26694         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
26695         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
26696         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
26697         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
26698         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
26699         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
26700         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
26701         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
26702         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
26703         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
26704         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
26705         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
26706         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
26707         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
26708         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
26709         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
26710         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
26711         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
26712         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
26713         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
26714         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
26715         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
26716         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
26717         Require >= 2.
26718         (FLT_ROUNDS): Expect as macro, not constant.
26719         (FLT_MANT_DIG): Use macro-int-constant.
26720         (DBL_MANT_DIG): Likewise.
26721         (LDBL_MANT_DIG): Likewise.
26722         (FLT_DIG): Likewise.
26723         (DBL_DIG): Likewise.
26724         (LDBL_DIG): Likewise.
26725         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
26726         (DBL_MIN_EXP): Likewise.
26727         (LDBL_MIN_EXP): Likewise.
26728         (FLT_MAX_EXP): Use macro-int-constant.
26729         (DBL_MAX_EXP): Likewise.
26730         (LDBL_MAX_EXP): Likewise.
26731         (FLT_MAX_10_EXP): Likewise.
26732         (DBL_MAX_10_EXP): Likewise.
26733         (LDBL_MAX_10_EXP): Likewise.
26734         (FLT_MAX): Use macro-constant.
26735         (DBL_MAX): Likewise.
26736         (LDBL_MAX): Likewise.
26737         (FLT_EPSILON): Use macro-constant.  Give upper bound.
26738         (DBL_EPSILON): Likewise.
26739         (LDBL_EPSILON): Likewise.
26740         (FLT_MIN): Likewise.
26741         (DBL_MIN): Likewise.
26742         (LDBL_MIN): Likewise.
26743         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
26744         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
26745         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
26746         [ISO11] (FLT_HAS_SUBNORM): Likewise.
26747         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
26748         [ISO11] (DBL_DECIMAL_DIG): Likewise.
26749         [ISO11] (FLT_DECIMAL_DIG): Likewise.
26750         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
26751         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
26752         [ISO11] (FLT_TRUE_MIN): Likewise.
26753         [ISO11] (LDBL_TRUE_MIN): Likewise.
26754         [ISO || ISO99 || ISO11] (*_t): Do not allow.
26755         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
26756         (SCHAR_MIN): Use macro-int-constant.  Specify type.
26757         (SCHAR_MAX): Likewise.
26758         (UCHAR_MAX): Likewise.
26759         (CHAR_MIN): Likewise.
26760         (CHAR_MAX): Likewise.
26761         (MB_LEN_MAX): Use macro-int-constant.
26762         (SHRT_MIN): Use macro-int-constant.  Specify type.
26763         (SHRT_MAX): Likewise.
26764         (USHRT_MAX): Likewise.
26765         (INT_MAX): Likewise.
26766         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
26767         bound negative.
26768         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
26769         bound with "U".
26770         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
26771         bound with "L".
26772         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
26773         bound negative.  Suffix upper bound with "L".
26774         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
26775         bound with "UL".
26776         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
26777         Specify type.
26778         [C99-based standards] (LLONG_MAX): Likewise.
26779         [C99-based standards] (ULLONG_MAX): Likewise.
26780         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
26781         == 0.
26782         [ISO11] (max_align_t): Require type.
26783         [ISO || ISO99 || ISO11] (*_t): Do not allow.
26785         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
26786         from $CFLAGS, without defining away __attribute__ calls.
26787         (checknamespace): Use $CFLAGS_namespace.
26789         * conform/conformtest.pl (@keywords): Only include C99 keywords
26790         for standards based on C99 or C11.
26792         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
26793         Disable tests.
26794         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
26795         UNIX98]: Likewise.
26797         * conform/conformtest.pl: Handle "macro-int-constant" and test for
26798         usability of symbols in #if.
26800         * conform/conformtest.pl: If macro or constant types start
26801         "promoted:", expect the symbol to be of the following type
26802         promoted by the integer promotions.
26804         * conform/conformtest.pl: Parse all "constant" and "macro" lines
26805         in one place.  Also handle "macro-constant".
26807         * conform/conformtest.pl: Only accept expected macro values with
26808         "==".  Parse all "macro" lines in one place.
26809         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
26811         * conform/conformtest.pl: Handle braced types on "constant" lines
26812         instead of handling "typed-constant".
26813         * conform/data/signal.h-data: Use "constant" instead of
26814         "typed-constant".
26816         * conform/conformtest.pl: Handle "optional-" at start of lines in
26817         one place rather than duplicating several cases.  Handle each
26818         format of "macro" line with initial "optional-".
26820         * conform/conformtest.pl: Only accept expected constant or
26821         optional-constant values with "==".  Parse all "constant" lines in
26822         one place.  Parse all "optional-constant" lines in one place.
26823         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
26824         * conform/data/fmtmsg.h-data: Likewise.
26825         * conform/data/netinet/in.h-data: Likewise.
26826         * conform/data/tar.h-data: Likewise.
26827         * conform/data/limits.h-data: Use "==" form on "constant" and
26828         "optional-constant" lines.
26830         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
26831         Use -std=c99 for XOPEN2K.
26832         (@knownproblems): Remove.
26833         (newtoken): Don't check %isknown.
26835         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
26836         Do not expect macro.
26837         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
26838         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
26839         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
26840         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
26841         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
26842         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
26843         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
26844         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
26845         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
26846         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
26847         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
26848         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
26849         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
26850         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
26851         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
26852         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
26853         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
26854         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
26855         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
26856         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
26857         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
26858         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
26859         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
26860         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
26861         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
26862         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
26863         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
26864         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
26865         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
26866         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
26867         [XPG3] (acosh): Likewise.
26868         [XPG3] (asinh): Likewise.
26869         [XPG3] (atanh): Likewise.
26870         [XPG3] (cbrt): Likewise.
26871         [XPG3] (expm1): Likewise.
26872         [XPG3] (ilogb): Likewise.
26873         [XPG3] (log1p): Likewise.
26874         [XPG3] (logb): Likewise.
26875         [XPG3] (nextafter): Likewise.
26876         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
26877         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
26878         [XPG3] (remainder): Likewise.
26879         [XPG3] (rint): Likewise.
26880         [XPG3 || XPG4 || UNIX98] (round): Likewise.
26881         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
26882         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
26883         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
26884         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
26885         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
26886         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
26887         [UNIX98 || XOPEN2K] (scalb): Expect.
26888         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
26889         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
26890         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
26891         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
26892         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
26893         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
26894         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
26895         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
26896         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
26897         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
26898         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
26899         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
26900         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
26901         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
26902         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
26903         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
26904         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
26905         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
26906         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
26907         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
26908         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
26909         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
26910         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
26911         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
26912         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
26913         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
26914         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
26915         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
26916         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
26917         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
26918         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
26919         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
26920         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
26921         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
26922         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
26923         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
26924         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
26925         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
26926         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
26927         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
26928         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
26929         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
26930         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
26931         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
26932         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
26933         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
26934         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
26935         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
26936         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
26937         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
26938         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
26939         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
26940         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
26941         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
26942         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
26943         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
26944         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
26945         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
26946         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
26947         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
26948         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
26949         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
26950         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
26951         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
26952         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
26953         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
26954         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
26955         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
26956         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
26957         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
26958         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
26959         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
26960         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
26961         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
26962         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
26963         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
26964         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
26965         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
26966         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
26967         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
26968         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
26969         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
26970         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
26971         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
26972         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
26973         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
26974         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
26975         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
26976         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
26977         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
26978         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
26979         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
26980         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
26981         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
26982         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
26983         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
26984         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
26985         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
26986         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
26987         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
26988         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
26989         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
26990         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
26991         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
26992         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
26993         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
26994         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
26995         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
26996         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
26997         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
26998         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
26999         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
27000         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
27001         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
27002         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
27003         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
27004         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
27005         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
27006         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
27007         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
27008         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
27009         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
27010         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
27011         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
27012         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
27013         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
27014         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
27015         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
27016         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
27017         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
27018         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
27019         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
27020         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
27021         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
27022         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
27023         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
27024         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
27026         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
27027         _XOPEN_SOURCE_EXTENDED for XPG4.
27029         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
27031         * Makeconfig (localtime): Remove variable.
27032         (inst_localtime-file): Likewise.
27034 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
27036         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
27037         Update.
27038         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
27039         Update.
27040         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
27041         Update.
27042         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
27043         Update.
27044         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
27045         Update.
27046         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
27047         Update.
27048         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
27049         Update.
27050         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
27051         Update.
27052         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
27053         Update.
27055 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
27057         [BZ #2550]
27058         [BZ #2570]
27059         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
27060         comparisons to determine direction to adjust input.
27061         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
27062         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
27063         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
27064         Likewise.
27065         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
27066         Likewise.
27067         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
27068         Likewise.
27069         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
27070         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
27071         Likewise.
27072         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
27073         Likewise.
27074         * math/libm-test.inc (nexttoward_test): Add more tests.
27076 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
27078         [BZ #14040]
27079         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
27080         in version GLIBC_2.1, not GLIBC_2.0.
27081         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
27082         Likewise.
27084 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
27086         [BZ #13942]
27087         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
27088         (1 - x) * (1 + x).
27089         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
27090         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
27091         * math/libm-test.inc (acos_test): Add more tests.
27092         (asin_test): Likewise.
27093         * sysdeps/i386/fpu/libm-test-ulps: Update.
27094         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27096         [BZ #14034]
27097         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
27098         of square root.
27099         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
27100         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
27101         * math/libm-test.inc (acos_test_tonearest): New function.
27102         (acos_test_towardzero): Likewise.
27103         (acos_test_downward): Likewise.
27104         (acos_test_upward): Likewise.
27105         (asin_test_tonearest): Likewise.
27106         (asin_test_towardzero): Likewise.
27107         (asin_test_downward): Likewise.
27108         (asin_test_upward): Likewise.
27109         (main): Call the new functions.
27110         * sysdeps/i386/fpu/libm-test-ulps: Update.
27111         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27113         [BZ #13884]
27114         [BZ #13924]
27115         * math/e_exp10.c: Include <float.h>.
27116         (__ieee754_exp10): Handle underflow here rather than multiplying
27117         large negative argument by M_LN10.
27118         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
27119         of __ieee754_expf.
27120         * math/e_exp10l.c: Include <float.h>.
27121         (__ieee754_exp10l): Handle underflow here rather than multiplying
27122         large negative argument by M_LN10l.
27123         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
27124         spurious overflow exception on underflow.
27126 2012-04-29  Marek Polacek  <polacek@redhat.com>
27128         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
27129         (__fortify_function): New macro.
27130         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
27131         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
27132         __extern_always_inline.
27133         * libio/bits/stdio2.h: Likewise.
27134         * libio/bits/stdio.h: Likewise.
27135         * string/string.h: Likewise.
27136         * string/bits/string3.h: Likewise.
27137         * include/stdio.h: Likewise.
27138         * stdlib/bits/stdlib.h: Likewise.
27139         * stdlib/stdlib.h: Likewise.
27140         * rt/bits/mqueue2.h: Likewise.
27141         * rt/mqueue.h: Likewise.
27142         * posix/bits/unistd.h: Likewise.
27143         * posix/unistd.h: Likewise.
27144         * io/bits/poll2.h: Likewise.
27145         * io/bits/fcntl2.h: Likewise.
27146         * io/fcntl.h: Likewise.
27147         * io/sys/poll.h: Likewise.
27148         * misc/bits/syslog.h: Likewise.
27149         * misc/bits/syslog-ldbl.h: Likewise.
27150         * misc/sys/syslog.h: Likewise.
27151         * socket/bits/socket2.h: Likewise.
27152         * socket/sys/socket.h: Likewise.
27153         * debug/tst-chk1.c: Likewise.
27154         * wcsmbs/bits/wchar2.h: Likewise.
27155         * wcsmbs/bits/wchar-ldbl.h: Likewise.
27156         * wcsmbs/wchar.h: Likewise.
27158 2012-04-29  Andreas Jaeger  <aj@suse.de>
27160         * Makerules (tests): Remove enable-check-abi protection.
27161         (check-abi-warn): Remove.
27162         (check-abi-%): Remove check-abi-warn usage.
27164         * configure.in: Remove check-abi configure option.
27165         * configure: Regenerated.
27166         * config.make.in (enable-check-abi): Remove.
27168 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
27170         [BZ #14033]
27171         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
27172         double functions to double *_finite functions.
27174         [BZ #13941]
27175         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
27176         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
27177         LDBL_MIN_EXP.
27178         * stdio-common/Makefile (tests): Add tst-sprintf3.
27179         * stdio-common/tst-sprintf3.c: New file.
27181         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
27182         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
27184 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
27186         * conform/conformtest.pl: Remove duplicate typed-constant
27187         handling.
27189 2012-04-28  David S. Miller  <davem@davemloft.net>
27191         * Makerules (%.abilist): Add vpath on sysdep_dirs.
27192         (check-abi-%): Remove AWK script prerequisite and explicit
27193         abilist directory.
27194         (check-abi): Rewrite to just diff the symlist with the abilist.
27195         (config-tls, config-abi-config): Delete, no longer used.
27196         (update-abi-%): Remove AWK script and explicit abilist directory.
27197         (update-abi): Rewrite to simply compare and conditionally copy the
27198         symlist and the sysdep abilist file.  Remove update-abi-config
27199         checks.
27200         * abilist/ld.abilist: Remove.
27201         * abilist/libBrokenLocale.abilist: Remove.
27202         * abilist/libanl.abilist: Remove.
27203         * abilist/libcrypt.abilist: Remove.
27204         * abilist/libdl.abilist: Remove.
27205         * abilist/librt.abilist: Remove.
27206         * abilist/libthread_db.abilist: Remove.
27207         * abilist/libutil.abilist: Remove.
27208         * scripts/extract-abilist.awk: Remove.
27209         * scripts/merge-abilist.awk: Remove.
27210         * sysdeps/generic/libcidn.abilist: New file.
27211         * sysdeps/generic/libnss_compat.abilist: New file.
27212         * sysdeps/generic/libnss_db.abilist: New file.
27213         * sysdeps/generic/libnss_dns.abilist: New file.
27214         * sysdeps/generic/libnss_files.abilist: New file.
27215         * sysdeps/generic/libnss_hesiod.abilist: New file.
27216         * sysdeps/generic/libnss_nis.abilist: New file.
27217         * sysdeps/generic/libnss_nisplus.abilist: New file.
27218         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
27219         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
27220         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
27221         file.
27222         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
27223         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
27224         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
27225         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
27226         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
27227         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
27228         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
27229         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
27230         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
27231         file.
27232         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
27233         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
27234         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
27235         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
27236         file.
27237         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
27238         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
27239         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
27240         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
27241         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
27242         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
27243         file.
27244         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
27245         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
27246         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
27247         file.
27248         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
27249         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
27250         New file.
27251         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
27252         New file.
27253         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
27254         New file.
27255         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
27256         New file.
27257         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
27258         New file.
27259         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
27260         New file.
27261         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
27262         New file.
27263         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
27264         New file.
27265         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
27266         New file.
27267         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
27268         New file.
27269         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
27270         New file.
27271         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
27272         New file.
27273         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
27274         New file.
27275         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
27276         file.
27277         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
27278         New file.
27279         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
27280         New file.
27281         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
27282         file.
27283         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
27284         New file.
27285         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
27286         New file.
27287         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
27288         file.
27289         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
27290         New file.
27291         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
27292         New file.
27293         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
27294         New file.
27295         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
27296         New file.
27297         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
27298         New file.
27299         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
27300         New file.
27301         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
27302         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
27303         file.
27304         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
27305         New file.
27306         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
27307         file.
27308         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
27309         file.
27310         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
27311         file.
27312         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
27313         file.
27314         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
27315         file.
27316         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
27317         New file.
27318         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
27319         file.
27320         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
27321         file.
27322         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
27323         New file.
27324         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
27325         file.
27326         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
27327         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
27328         file.
27329         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
27330         New file.
27331         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
27332         file.
27333         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
27334         file.
27335         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
27336         file.
27337         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
27338         file.
27339         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
27340         file.
27341         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
27342         New file.
27343         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
27344         file.
27345         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
27346         file.
27347         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
27348         New file.
27349         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
27350         file.
27351         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
27352         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
27353         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
27354         file.
27355         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
27356         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
27357         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
27358         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
27359         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
27360         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
27361         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
27362         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
27363         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
27364         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
27365         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
27366         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
27367         file.
27368         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
27369         New file.
27370         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
27371         file.
27372         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
27373         file.
27374         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
27375         file.
27376         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
27377         file.
27378         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
27379         file.
27380         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
27381         New file.
27382         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
27383         New file.
27384         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
27385         file.
27386         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
27387         New file.
27388         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
27389         file.
27390         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
27391         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
27392         file.
27393         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
27394         New file.
27395         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
27396         file.
27397         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
27398         file.
27399         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
27400         file.
27401         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
27402         file.
27403         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
27404         file.
27405         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
27406         New file.
27407         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
27408         New file.
27409         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
27410         file.
27411         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
27412         New file.
27413         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
27414         file.
27416 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
27418         * conform/conformtest.pl: Fix typo in handling typed-constant from
27419         allow-header.
27421 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
27423         * README: Cut down references to pre-2.6 Linux kernels and
27424         Linuxthreads.  Update lists of configurations in libc and ports
27425         and sort alphabetically.  Say "or newer" with Linux kernel version
27426         requirements.
27428         * config.h.in [IS_IN_build]: Allow compiling without optimization.
27430 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
27432         [BZ #887]
27433         * math/libm-test.inc (logb_test_downward): New test to expose
27434         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
27435         rounding mode.
27437 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
27439         [BZ #14027]
27440         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
27441         to be done.
27442         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
27443         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
27445 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
27447         * sysdeps/unix/i386/brk.S: Remove file.
27448         * sysdeps/unix/i386/dl-brk.S: Likewise.
27449         * sysdeps/unix/i386/pipe.S: Likewise.
27450         * sysdeps/unix/i386/sigreturn.S: Likewise.
27451         * sysdeps/unix/i386/syscall.S: Likewise.
27452         * sysdeps/unix/i386/vfork.S: Likewise.
27453         * sysdeps/unix/i386/wait.S: Likewise.
27455         * sysdeps/unix/common/tcsendbrk.c: Move to ...
27456         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
27458         * configure.in (arm*-none*): Do not allow without
27459         --enable-hacker-mode.
27460         (netbsd*): Remove case setting base_os.
27461         (386bsd*): Likewise.
27462         (freebsd*): Likewise.
27463         (bsdi*): Likewise.
27464         (osf*): Likewise.
27465         (sunos*): Likewise.
27466         (ultrix*): Likewise.
27467         (newsos*): Likewise.
27468         (dynix*): Likewise.
27469         (*bsd*): Likewise.
27470         (sysv*): Likewise.
27471         (isc*): Likewise.
27472         (esix*): Likewise.
27473         (sco*): Likewise.
27474         (minix*): Likewise.
27475         (irix4*): Likewise.
27476         (irix6*): Likewise.
27477         (solaris[2-9]*): Likewise.
27478         (none): Likewise.
27479         * configure: Regenerated.
27481 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27483         [BZ #11521]
27484         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
27485         overflow or cancellation in calculating denominator.
27486         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
27487         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
27488         down expression to avoid unexpected rounding in newer GCCs.
27489         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
27491 2012-04-26  David S. Miller  <davem@davemloft.net>
27493         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
27494         long-double compat symbols.
27495         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
27496         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
27497         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
27498         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
27499         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
27500         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
27501         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
27502         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
27503         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
27504         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
27505         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
27506         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
27507         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
27509 2012-04-25  David S. Miller  <davem@davemloft.net>
27511         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
27512         HWCAP_* values only after the memory barriers have been defined.
27513         (atomic_full_barrier): Define.
27514         (atomic_read_barrier): Define.
27515         (atomic_write_barrier): Define.
27517 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
27519         * shlib-versions: Add libgcc_s version information.
27520         * sysdeps/generic/libgcc_s.h: Remove.
27521         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
27522         libgcc_s.h.
27523         * sysdeps/gnu/unwind-resume.c: Likewise.
27524         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
27526 2012-04-25  David S. Miller  <davem@davemloft.net>
27528         * sysdeps/unix/sparc/brk.S: Delete.
27529         * sysdeps/unix/sparc/dl-brk.S: Delete.
27530         * sysdeps/unix/sparc/pipe.S: Delete.
27531         * sysdeps/unix/sparc/sysdep.S: Delete.
27532         * sysdeps/unix/sparc/sysdep.h: Delete.
27533         * sysdeps/unix/sparc/vfork.S: Delete.
27534         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
27535         SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
27536         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
27537         ret_ERRVAL, r0, r1, MOVE): Define.
27538         (JUMPTARGET): Remove.
27539         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
27540         sysdeps/unix/sparc/sysdep.h
27541         (ENTRY, END): Remove.
27542         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
27544 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
27546         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
27547         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
27548         -DIS_IN_build.
27550         * timezone/README: Update upstream location and email address for
27551         tzcode and tzdata.
27552         * timezone/zdump.c: Update from tzcode 2012b.
27553         * timezone/zic.c: Likewise.
27555         * configure.in (libc_cv_as_needed): Remove test.
27556         * configure: Regenerated.
27557         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
27558         conditional definition.
27559         [$(have-as-needed) != yes] (no-as-needed): Likewise.
27560         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
27561         * config.make.in (have-as-needed): Remove variable.
27563 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
27564             Paul Pluzhnikov  <ppluzhnikov@google.com>
27566         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
27567         strings correctly.
27569 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
27571         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
27572         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
27573         * sysdeps/sh/strlen.S: Likewise.
27575 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
27577         * sysdeps/unix/fork.S: Remove file.
27578         * sysdeps/unix/i386/fork.S: Likewise.
27579         * sysdeps/unix/sparc/fork.S: Likewise.
27581         * sysdeps/unix/system.c: Remove file.
27582         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
27584         * sysdeps/unix/getegid.S: Remove file.
27585         * sysdeps/unix/geteuid.S: Likewise.
27587 2012-04-24  Roland McGrath  <roland@hack.frob.com>
27589         * scripts/check-localplt.awk: New file.
27590         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
27591         of diff.
27592         * scripts/data/localplt-generic.data: Add a comment.
27594         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
27595         NODE when __dir_mkfile failed.
27596         * sysdeps/mach/hurd/symlinkat.c: Likewise.
27597         Reported by Ludovic Courtès <ludo@gnu.org>.
27599 2012-04-24  Andreas Jaeger  <aj@suse.de>
27601         * Makerules (common-clean): Also remove gen-as-const-headers
27602         files.
27604 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
27606         * Makerules (native-compile): Do not change working directory for
27607         build.  Use $(OUTPUT_OPTION) in command.
27608         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
27610 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27612         [BZ #13886]
27613         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
27614         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
27615         * math/libm-test.inc (floor_test): Add more tests.
27616         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
27618 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
27620         * sysdeps/unix/getdents.c: Remove file.
27621         * sysdeps/unix/sysv/getdents.c: Likewise.
27622         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
27624         * sysdeps/unix/syscalls.list (madvise): Add syscall from
27625         sysdeps/unix/mman/syscalls.list.
27626         (mmap): Likewise.
27627         (mprotect): Likewise.
27628         (msync): Likewise.
27629         (munmap): Likewise.
27630         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
27631         * sysdeps/unix/mman/syscalls.list: Remove.
27632         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
27634         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
27635         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
27636         * configure: Regenerated.
27637         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
27638         $(libgcc_s_suffix).
27639         * config.make.in (libgcc_s_suffix): Remove variable.
27641 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
27643         * sysdeps/unix/sysv/gethostname.c: Move to ...
27644         * sysdeps/posix/gethostname.c: ... here.
27646         * sysdeps/unix/execve.S: Remove file.
27648         * sysdeps/unix/_exit.S: Remove file.
27650 2012-04-23  Andreas Jaeger  <aj@suse.de>
27652         [BZ #13739]
27653         * manual/Makefile: Remove make dist support, there's no
27654         need for a stand-alone documentation tar ball.
27655         (TEXI2DVI): Define always, it's not in Makeconfig.
27656         (dist): Removed.
27657         (tar-it): Removed.
27658         (edition): Removed.
27659         (glibc-doc-$(edition).tar): Removed
27660         (%.Z): Removed.
27661         (%.gz): Removed.
27662         (%.uu): Removed.
27663         (ETAGS): Remove, it's in Makeconfig.
27664         (move-if-change): Remove, it's in Makeconfig.
27666 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
27668         [BZ #13970]
27669         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
27670         (strtod, strtof, strtold, strtol, strtoul, strtoq)
27671         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
27672         (strtod_l, strtof_l, strtold_l): Remove __wur.
27673         It is not necessarily an error to ignore strtol's return value.
27674         One can reliably look at the stored endptr to decide whether
27675         the number had valid syntax.
27677 2012-04-21  Andreas Jaeger  <aj@suse.de>
27679         [BZ #13739]
27680         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
27682 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
27684         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
27685         * sysdeps/unix/sysv/Versions: Remove file.
27687 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
27689         [BZ #13927]
27690         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27692 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
27694         [BZ #7064]
27695         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
27696         version from __vm86.
27698 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
27700         * sysdeps/unix/common/lxstat.c: Remove file.
27701         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
27703         * sysdeps/unix/sysv/Makefile: Remove file.
27705         * sysdeps/unix/sysv/direct.h: Remove file.
27707         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
27708         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
27709         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
27710         * sysdeps/unix/sysv/bits/signum.h: Likewise.
27711         * sysdeps/unix/sysv/bits/stat.h: Likewise.
27712         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
27713         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
27715         * sysdeps/unix/sysv/setrlimit.c: Remove file.
27717         * sysdeps/unix/xmknod.c: Remove file.
27718         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
27720         * sysdeps/unix/sysv/settimeofday.c: Remove file.
27722         * sysdeps/unix/sysv/i386/time.S: Remove file.
27724         * sysdeps/unix/fxstat.c: Remove file.
27725         * sysdeps/unix/xstat.c: Likewise.
27726         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
27728         * sysdeps/unix/sysv/sigaction.c: Remove file.
27730         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
27731         (sysdep_headers): Remove variable.
27732         [termio.h not in sysdep_headers] (generated): Likewise.
27733         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
27734         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
27735         * sysdeps/unix/sysv/tcdrain.c: Likewise.
27736         * sysdeps/unix/sysv/tcflow.c: Likewise.
27737         * sysdeps/unix/sysv/tcflush.c: Likewise.
27738         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
27739         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
27740         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
27741         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
27742         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
27744         * sysdeps/unix/siglist.c: Remove file.
27746         * sysdeps/unix/getppid.S: Remove file.
27748         * sysdeps/unix/mkdir.c: Remove file.
27749         * sysdeps/unix/rmdir.c: Likewise.
27751 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
27753         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
27754         ERR_MAX value.
27755         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
27756         errlist-compat value.
27758 2012-04-18  David S. Miller  <davem@davemloft.net>
27760         * sysdeps/generic/memcopy.h (reg_char): Delete.
27761         * debug/strcat_chk.c: Use char, not reg_char.
27762         * debug/strcpy_chk.c: Likewise.
27763         * debug/strncat_chk.c: Likewise.
27764         * debug/strncpy_chk.c: Likewise.
27765         * string/memchr.c: Likewise.
27766         * string/memrchr.c: Likewise.
27767         * string/rawmemchr.c: Likewise.
27768         * string/strcat.c: Likewise.
27769         * string/strchr.c: Likewise.
27770         * string/strchrnul.c: Likewise.
27771         * string/strcmp.c: Likewise.
27772         * string/strcpy.c: Likewise.
27773         * string/strncat.c: Likewise.
27774         * string/strncmp.c: Likewise.
27775         * string/strncpy.c: Likewise.
27777 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
27779         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
27780         __builtin_memcopy is called when src and dest ranges are known to not
27781         overlap.
27783 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
27785         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
27786         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
27787         fwd_align_merge macro call.
27788         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
27789         bwd_align_merge macro call.
27790         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
27792 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
27794         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
27795         bwd_align_merge macros.
27796         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
27797         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
27798         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
27800 2012-04-18  David S. Miller  <davem@davemloft.net>
27802         * sysdeps/sparc/sparc64/memcopy.h: Delete.
27804 2012-04-18  Andreas Jaeger  <aj@suse.de>
27806         [BZ# 6794]
27807         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
27808         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
27809         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
27811         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
27812         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
27813         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
27815         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
27816         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
27817         Adjust for changed ldbl-128 files.
27819         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
27820         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
27821         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
27823 2012-04-17  David S. Miller  <davem@davemloft.net>
27825         * sysdeps/sparc/sparc32/memcopy.h: Delete.
27827 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
27829         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
27830         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
27831         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
27832         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
27833         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
27834         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
27836 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27838         [BZ #6794]
27839         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
27840         * math/libm-test.inc: Add ilogb errno and exception tests.
27841         * math/w_ilogb.c: New file: ilogb wrapper.
27842         * math/w_ilogbf.c: New file: ilogbf wrapper.
27843         * math/w_ilogbl.c: New file: ilogbl wrapper.
27844         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
27845         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
27846         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
27847         exception being thrown with 0.0 as argument.
27848         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
27849         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
27850         exception being thrown with 0.0 as argument.
27851         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
27852         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
27853         exception being thrown with 0.0 as argument.
27854         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
27855         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
27856         exception being thrown with 0.0 as argument.
27857         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
27858         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
27859         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
27860         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
27861         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
27862         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
27863         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
27864         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
27865         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
27867 2012-04-17  Petr Baudis  <pasky@ucw.cz>
27869         * include/sys/uio.h: Change __vector to __iovec to avoid clash
27870         with altivec.
27872 2012-04-16  Marek Polacek  <polacek@redhat.com>
27874         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
27876 2012-04-16  Marek Polacek  <polacek@redhat.com>
27878         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
27879         operands of fdivp instruction.
27881 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
27883         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
27884         * elf/tst-auditmod3b.c: Likewise.
27885         * elf/tst-auditmod4b.c: Likewise.
27886         * elf/tst-auditmod5b.c: Likewise.
27887         * elf/tst-auditmod6b.c: Likewise.
27888         * elf/tst-auditmod6c.c: Likewise.
27889         * elf/tst-auditmod7b.c: Likewise.
27890         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
27891         * sysdeps/x86_64/preconfigure.in: Likewise.
27892         * sysdeps/x86_64/preconfigure: Regenerated.
27894 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
27896         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
27897         __ILP32__.
27899 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
27901         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
27902         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
27904 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
27906         [BZ #13973]
27907         * locale/iso-639.def: Fix gl language name. Spotted by
27908         Yaron Shahrabani.
27910 2012-04-12  Roland McGrath  <roland@hack.frob.com>
27912         [BZ #2074]
27913         * libio/libio.h (__io_write_fn): Update comment.
27915 2012-04-12  Petr Baudis  <pasky@ucw.cz>
27917         [BZ #2074]
27918         * stdio.texi (Hook Functions): The user provided writer function
27919         is not allowed to return -1.
27921 2012-04-11  David S. Miller  <davem@davemloft.net>
27923         * sysdeps/sparc/fpu/libm-test-ulps: Update.
27925 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
27927         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
27928         Add a leading slash to rtkaio.
27930 2012-04-11  Jim Meyering  <meyering@redhat.com>
27932         [BZ #11959]
27933         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
27934         It is not necessarily an error to ignore fwrite's return
27935         value.  One can reliably use ferror to test for errors after
27936         the fact.
27938 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
27940         * bits/types.h (__snseconds_t): New type.
27941         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
27943         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
27944         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
27945         (__SNSECONDS_T_TYPE): Likewise.
27946         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
27947         (__SNSECONDS_T_TYPE): Likewise.
27948         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
27949         (__SNSECONDS_T_TYPE): Likewise.
27951 2012-04-10  Andreas Jaeger  <aj@suse.de>
27953         [BZ #2636]
27954         * manual/time.texi (Processor Time): Return type of times is
27955         elapsed real time since an arbitrary point in the past.
27956         (CPU Time): Move CLK_TCK from here...
27957         (Processor Time): ...to here.  Correct description.
27958         * manual/conf.texi (Constants for Sysconf): Correct description of
27959         _SC_CLK_TCK.
27961 2012-04-10  David S. Miller  <davem@davemloft.net>
27963         [BZ #13967]
27964         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
27965         where the is a gap between DT_REL(A) and DT_JMPREL.
27967 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
27969         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
27970         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
27971         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
27973 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
27975         * elf/dl-support.c (_dl_inhibit_cache): New variable.
27976         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
27977         (dl_main): Handle --inhibit-cache.
27978         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
27979         _dl_inhibit_cache.
27980         * elf/dl-load.c (_dl_map_object): Use it.
27981         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
27983 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
27985         [BZ #13872]
27986         * sysdeps/i386/fpu/e_powl.S (p78): New object.
27987         (__ieee754_powl): Saturate large exponents rather than testing for
27988         overflow of y*log2(x).
27989         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
27990         * math/libm-test.inc (pow_test): Do not permit spurious overflow
27991         exceptions.
27993         [BZ #11521]
27994         * math/s_ctan.c: Include <float.h>.
27995         (__ctan): Avoid internal overflow or cancellation in calculating
27996         denominator.
27997         * math/s_ctanf.c: Likewise.
27998         * math/s_ctanl.c: Likewise.
27999         * math/s_ctanh.c: Likewise.
28000         * math/s_ctanhf.c: Likewise.
28001         * math/s_ctanhl.c: Likewise.
28002         * math/libm-test.inc (ctan_test): Add more tests.
28003         (ctanh_test): Likewise.
28004         * sysdeps/i386/fpu/libm-test-ulps: Update.
28005         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28007 2012-04-09  Andreas Jaeger  <aj@suse.de>
28009         [BZ #6894]
28010         * manual/filesys.texi (Directory Entries): Mention that d_namlen
28011         is an optional BSD extension.
28013         [BZ #10254]
28014         * manual/stdio.texi (Opening Streams): Document additional fopen
28015         parameters.
28017 2012-04-09  Roland McGrath  <roland@hack.frob.com>
28019         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
28020         %eax without telling the compiler.
28022 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
28024         [BZ # 13963]
28025         * manual/install.texi: Use sourceware.org.
28027 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
28029         [BZ #13873]
28030         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
28031         (__ieee754_pow): Generate overflow and underflow using huge*huge
28032         and tiny*tiny rather than just returning constant infinity or zero
28033         for large exponents.
28034         * math/libm-test.inc (pow_test): Require overflow exceptions for
28035         applicable cases of large exponents.
28037         [BZ #706]
28038         * sysdeps/i386/fpu/e_pow.S (p10): New object.
28039         (__ieee754_pow): Use iterative multiplication algorithm only for
28040         integer exponents with absolute value below 1024.  Check for odd
28041         integer exponents when using algorithm for real exponents.
28042         * math/libm-test.inc (pow_test): Add more tests.
28043         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
28045 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
28047         [BZ #13705]
28048         * math/libm-test.inc (exp_test): Do not allow overflow exception
28049         on underflow test.
28051 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
28053         [BZ #13705]
28054         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
28055         instead of __kernel_standard_f.
28057 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
28059         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
28060         * sysdeps/x86_64/memset_chk.S: Likewise.
28062 2012-04-08  Andreas Jaeger  <aj@suse.de>
28064         [BZ #10153]
28065         * manual/startup.texi (Environment Access): Describe return value
28066         for putenv and setenv.
28068         [BZ #6895]
28069         * manual/filesys.texi (Directory Entries): Add description for
28070         DT_LNK.
28072         [BZ #6890]
28073         * manual/filesys.texi (Directory Entries): Clarify that it's file
28074         system not operating system in the description of DT_UNKNOWN.
28076         [BZ #6578]
28077         * manual/syslog.texi (closelog): Fix reference, it's openlog.
28079 2012-04-08  Stephen Compall  <s11@member.fsf.org>
28081         [BZ #6649]
28082         * manual/llio.texi (Opening and Closing Files): Add cross
28083         reference to explain mode argument.
28085 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
28087         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
28088         * sysdeps/x86_64/memset_chk.S: Likewise.
28090 2012-04-07  David S. Miller  <davem@davemloft.net>
28092         * elf/elf.h (R_SPARC_WDISP10): Define.
28093         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
28094         R_SPARC_SIZE32.
28095         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
28096         R_SPARC_SIZE64 and R_SPARC_H34.
28098 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
28100         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
28101         conditions and remove no longer applicable assertion.
28103 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
28105         * bits/byteswap.h: Include <features.h>.
28106         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
28107         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
28109 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
28111         * bits/byteswap.h (__bswap_16): Removed.
28112         Include <bits/byteswap-16.h> to get __bswap_16.
28113         * sysdeps/i386/bits/byteswap.h: Likewise.
28114         * sysdeps/s390/bits/byteswap.h: Likewise.
28115         * sysdeps/x86_64/bits/byteswap.h: Likewise.
28116         * bits/byteswap-16.h: New file.
28117         * sysdeps/i386/bits/byteswap-16.h: Likewise.
28118         * sysdeps/s390/bits/byteswap-16.h: Likewise.
28119         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
28120         * string/Makefile (headers): Add bits/byteswap-16.h.
28122 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
28124         [BZ #13895]
28125         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
28126         extra indirection.
28127         * nss/Makefile (tests-static, tests): Add tst-nss-static.
28128         * nss/tst-nss-static.c: New.
28130 2012-04-06  Robert Millan  <rmh@gnu.org>
28132         [BZ #6486]
28133         * manual/llio.texi (File Position Primitive): lseek
28134         refers to WHENCE when it really means OFFSET.
28136 2012-04-06  Andreas Jaeger  <aj@suse.de>
28138         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
28139         strncmp declarations.
28141         * abilist/libc.abilist: Add __poll and __ppoll.
28143 2012-04-05  David S. Miller  <davem@davemloft.net>
28145         * scripts/check-local-headers.sh: Accept a host triplet in the
28146         path matched by the exclude regexp.
28148         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
28149         definition.
28150         * sysdeps/powerpc/powerpc32/dl-machine.h
28151         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
28152         * sysdeps/s390/s390-32/dl-machine.h
28153         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
28154         * sysdeps/sparc/sparc32/dl-machine.h
28155         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
28156         * sysdeps/sparc/sparc64/dl-machine.h
28157         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
28159         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
28160         lazy binding.
28161         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
28162         undefined symbol errors.
28164         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
28165         DT_NEEDED entries.
28167 2012-04-05  Michael Matz  <matz@suse.de>
28169         [BZ #13592]
28170         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
28172 2012-04-05  Andreas Jaeger  <aj@suse.de>
28174         [BZ #13908]
28175         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
28176         comment.
28178 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
28180         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
28181         which ROUND is no valid rounding mode.
28183 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
28185         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
28186         read again.
28187         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
28189 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
28191         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
28192         an exception using FPU order intentionally.
28194 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
28196         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
28197         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
28198         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
28199         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
28201 2012-04-05  Simon Josefsson  <simon@josefsson.org>
28203         [BZ #12340]
28204         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
28205         EINVAL when BUFLEN is too smal.
28207 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
28209         [BZ #13553]
28210         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
28211         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
28213 2012-04-03  Andreas Jaeger  <aj@suse.de>
28215         [BZ #13938]
28216         * manual/setjmp.texi (System V contexts): Fix sentence.
28218         [BZ #13926]
28219         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
28220         New macro for this case.
28221         [!__GNUC__] (__bswap_64): New inline function for this case.
28222         * sysdeps/x86_64/bits/byteswap.h: Likewise.
28223         * bits/byteswap.h: Likewise.
28224         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
28225         ull, guard with __GLIBC_HAVE_LONG_LONG.
28227         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
28228         __GLIBC_HAVE_LONG_LONG.
28230         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
28231         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
28233 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
28235         [BZ #13691]
28236         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
28237         inptr and inend, rather than using last_ch.
28239 2012-04-02  David S. Miller  <davem@davemloft.net>
28241         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
28242         * stdio-common/printf-parse.h (read_int): Change return type to
28243         'int', return -1 on INT_MAX overflow.
28244         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
28245         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
28246         overflows INT_MAX.  Check for overflow of in-format-string precision
28247         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
28248         SIZE_MAX not INT_MAX for integer overflow test.
28249         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
28250         skip the construct in the format string but do not record anything.
28251         * stdio-common/bug22.c: Adjust to test both width/prevision
28252         INT_MAX overflow as well as total length INT_MAX overflow.  Check
28253         explicitly for proper errno values.
28255 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
28257         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
28258         CHAR_MAX.
28259         * string/test-strcmp.c [! WIDE]: Likewise.
28260         * time/tst-mktime2.c: Likewise for INT_MAX.
28261         * string/test-string.h: #include <sys/param.h> for MIN.
28263         * csu/init-first.c (__libc_init_first): Call __ctype_init.
28264         * sysdeps/i386/init-first.c (init): Likewise.
28265         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
28266         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
28267         * sysdeps/sh/init-first.c (init): Likewise.
28269 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
28271         * po/ru.po: Update from translation team.
28272         * po/vi.po: Likewise.
28274 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
28276         * resolv/nss_dns/dns-host.c: Merge copyright years.
28278 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
28280         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
28281         Optimize memcpy with prefetch if
28282         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
28283         src, dst pointers have unequal 16 byte alignments.
28285 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
28287         [BZ #13928]
28288         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
28289         from a CNAME entry and return the minimum ttl for the query.
28290         (gaih_getanswer_slice): Likewise.
28292 2012-03-30  Jeff Law  <law@redhat.com>
28294         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
28295         due to long keys.
28296         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
28297         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
28299         * resolv/nss_dns/dns-host.c: Update copyright year.
28301 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
28303         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
28304         requests to save a system call.  Fix check that all bytes are sent.
28306         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
28307         comments for sendmmsg.
28309 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
28311         [BZ #13691]
28312         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
28313         with only 1 character between 0x0041 and 0x01b0.
28314         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
28315         * wcsmbs/tst-mbsnrtowcs.c: New file.
28317 2012-03-29  David S. Miller  <davem@davemloft.net>
28319         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
28320         small copies by hand.
28322 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
28324         [BZ #13761]
28325         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
28326         _nss_compat_initgroups_dyn): Fall back to malloc/free
28327         for large group memberships.
28329 2012-03-28  David S. Miller  <davem@davemloft.net>
28331         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
28332         that branches into memcpy.
28333         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
28334         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
28335         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
28336         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
28337         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
28338         bits.
28339         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
28340         implementation too.
28341         * sysdeps/sparc/mempcpy.S: New file.
28343         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
28344         the IFUNC routine in the libc case.
28345         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
28347         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
28348         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
28349         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
28350         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
28351         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
28352         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
28353         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
28354         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
28356         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
28357         loop to 256 bytes instead of 64 bytes and fix test signedness.
28359         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
28360         * sysdeps/sparc/sparc32/Makefile: rather than here...
28361         * sysdeps/sparc/sparc64/Makefile: and here.
28363 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
28365         * malloc/mallocbug.c: Avoid warnings about unused variables.
28367 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
28369         [BZ #13760]
28370         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
28371         in the right place. Discard and retry query if response is
28372         larger than input buffer size.
28374 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
28376         [BZ #369]
28377         [BZ #2678]
28378         [BZ #3866]
28379         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
28380         x for large integer exponent.
28381         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
28382         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
28383         sign of result as needed afterwards.
28384         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
28385         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
28386         result for underflowing pow the same as for overflow.
28387         (__kernel_standard_l): Handle powl overflow and underflow here
28388         rather than calling __kernel_standard.
28389         * math/libm-test.inc (pow_test): Add more tests.
28391         [BZ #3868]
28392         [BZ #13879]
28393         [BZ #13910]
28394         [BZ #13911]
28395         [BZ #13912]
28396         [BZ #13913]
28397         [BZ #13915]
28398         [BZ #13916]
28399         [BZ #13917]
28400         [BZ #13918]
28401         [BZ #13919]
28402         [BZ #13920]
28403         [BZ #13921]
28404         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
28405         * sysdeps/ieee754/k_standard.c: Include <float.h>.
28406         (__kernel_standard_l): New function.
28407         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
28408         __kernel_standard.
28409         * math/w_acosl.c (__acosl): Likewise.
28410         * math/w_asinl.c (__asinl): Likewise.
28411         * math/w_atan2l.c (__atan2l): Likewise.
28412         * math/w_atanhl.c (__atanhl): Likewise.
28413         * math/w_coshl.c (__coshl): Likewise.
28414         * math/w_exp10l.c (__exp10l): Likewise.
28415         * math/w_exp2l.c (__exp2l): Likewise.
28416         * math/w_fmodl.c (__fmodl): Likewise.
28417         * math/w_hypotl.c (__hypotl): Likewise.
28418         * math/w_j0l.c (__j0l, __y0l): Likewise.
28419         * math/w_j1l.c (__j1l, __y1l): Likewise.
28420         * math/w_jnl.c (__jnl, __ynl): Likewise.
28421         * math/w_lgammal.c (__lgammal): Likewise.
28422         * math/w_log10l.c (__log10l): Likewise.
28423         * math/w_log2l.c (__log2l): Likewise.
28424         * math/w_logl.c (__logl): Likewise.
28425         * math/w_powl.c (__powl): Likewise.
28426         * math/w_remainderl.c (__remainderl): Likewise.
28427         * math/w_scalbl.c (sysv_scalbl): Likewise.
28428         * math/w_sinhl.c (__sinhl): Likewise.
28429         * math/w_sqrtl.c (__sqrtl): Likewise.
28430         * math/w_tgammal.c (__tgammal): Likewise.
28431         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
28432         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
28433         * math/libm-test.inc (acos_test): Add more tests.
28434         (acosh_test): Likewise.
28435         (asin_test): Likewise.
28436         (atanh_test): Likewise.
28437         (exp_test): Likewise.
28438         (exp10_test): Likewise.
28439         (exp2_test): Likewise.
28440         (expm1_test): Likewise.
28441         (lgamma_test): Likewise.
28442         (log_test): Likewise.
28443         (log10_test): Likewise.
28444         (log1p_test): Likewise.
28445         (log2_test): Likewise.
28446         (pow_test): Do not allow some spurious overflow exceptions.
28447         (sqrt_test): Add more tests.
28448         (tgamma_test): Likewise.
28449         (y0_test): Likewise.
28450         (y1_test): Likewise.
28451         (yn_test): Likewise.
28453 2012-03-27  Anton Blanchard  <anton@samba.org>
28455         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
28456         MAP_HUGETLB.
28457         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
28458         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
28459         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
28461 2012-03-27  David S. Miller  <davem@davemloft.net>
28463         * conform/Makefile: Run run-conformtest.sh using $(BASH).
28465         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
28466         have-as-vis3 check.
28468 2012-03-27  Andreas Jaeger  <aj@suse.de>
28470         * sysdeps/x86_64/elf/configure.in: Moved to ...
28471         * sysdeps/x86_64/configure.in: ... here.
28472         * sysdeps/x86_64/elf/start.S: Moved to ...
28473         * sysdeps/x86_64/start.S: ... here.
28474         * sysdeps/x86_64/elf/configure: Delete.
28476         * sysdeps/x86_64/configure.in: Merge contents from
28477         sysdeps/i386/configure.in (without i686 check).
28479         * sysdeps/i386/elf/Versions: Merge into ...
28480         * sysdeps/i386/Versions: ... this.
28481         * sysdeps/i386/elf/Versions: Delete file.
28482         * sysdeps/i386/elf/start.S: Moved to ...
28483         * sysdeps/i386/start.S: ...here.
28484         * sysdeps/i386/elf/configure.in: Merge into...
28485         * sysdeps/i386/configure.in: ...here.
28486         * sysdeps/i386/elf/configure.in: Delete file.
28487         * sysdeps/i386/elf/configure: Delete file.
28489         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
28490         * debug/backtracesyms.c: ... here.
28491         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
28492         * debug/backtracesymsfd.c: ... here.
28493         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
28494         * sysdeps/generic/ifunc-sel.h: ... here.
28496         * sysdeps/unix/i386/start.c: Delete file.
28497         * sysdeps/unix/sparc/start.c: Delete file.
28498         * sysdeps/unix/start.c: Delete file.
28500         * sysdeps/sh/elf/configure.in: Moved to ...
28501         * sysdeps/sh/configure.in: ... here.
28502         * sysdeps/sh/elf/start.S: Moved to ...
28503         * sysdeps/sh/start.S: ... here.
28504         * sysdeps/sh/elf/configure: Delete file.
28506         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
28507         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
28508         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
28509         * sysdeps/powerpc/powerpc64/entry.h: ... here.
28510         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
28511         * sysdeps/powerpc/powerpc64/start.S: here.
28512         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
28513         * sysdeps/powerpc/powerpc64/Makefile: ... this.
28514         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
28515         * sysdeps/powerpc/powerpc64/configure.in: ... this.
28516         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
28518         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
28519         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
28520         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
28521         * sysdeps/powerpc/powerpc32/start.S: ... here.
28522         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
28523         * sysdeps/powerpc/powerpc32/configure.in: ... this.
28524         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
28526         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
28527         * sysdeps/powerpc/ifunc-sel.h: ... here.
28528         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
28529         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
28531         * sysdeps/sparc/elf/configure.in: Moved to ...
28532         * sysdeps/sparc/configure.in: ... here.
28533         * sysdeps/sparc/elf/configure: Delete file.
28534         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
28535         * sysdeps/sparc/sparc32/start.S: ... here.
28536         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
28537         * sysdeps/sparc/sparc64/start.S: ... here.
28538         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
28539         * sysdeps/sparc/sparc32/Makefile: ... this.
28540         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
28541         * sysdeps/sparc/sparc64/Makefile: ... this.
28543         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
28544         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
28545         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
28546         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
28547         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
28548         * sysdeps/s390/s390-32/setjmp.S: ... here.
28549         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
28550         * sysdeps/s390/s390-32/configure.in: ... here.
28551         * sysdeps/s390/s390-32/elf/configure: Delete file.
28552         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
28553         * sysdeps/s390/s390-32/start.S: ... here.
28555         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
28556         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
28557         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
28558         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
28559         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
28560         * sysdeps/s390/s390-64/setjmp.S: ... here.
28561         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
28562         * sysdeps/s390/s390-64/configure.in: ... here
28563         * sysdeps/s390/s390-64/elf/configure: Delete file.
28564         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
28565         * sysdeps/s390/s390-64/start.S: ... here.
28566         * sysdeps/s390/s390-64/elf/configure: Delete.
28568         * configure.in: Remove support for elf directories in sysdeps.
28570         * configure: Regenerated.
28571         * sysdeps/i386/configure: Regenerated.
28572         * sysdeps/powerpc/powerpc32/configure: Regenerated.
28573         * sysdeps/powerpc/powerpc64/configure: Regenerated.
28574         * sysdeps/s390/s390-32/configure: Regenerated.
28575         * sysdeps/s390/s390-64/configure: Regenerated.
28576         * sysdeps/sh/configure: Regenerated.
28577         * sysdeps/sparc/configure: Regenerated.
28578         * sysdeps/x86_64/configure: Regenerated.
28580 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
28582         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28584         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
28585         denormal result into account.
28587 2012-03-25  Roland McGrath  <roland@hack.frob.com>
28589         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
28590         Reported by Allan McRae <allan@archlinux.org>.
28592 2012-03-23  Jeff Law  <law@redhat.com>
28594         * nss/getnssent.c (__nss_getent): Fix typo.
28596 2012-03-23  David S. Miller  <davem@davemloft.net>
28598         * sysdeps/sparc/fpu/libm-test-ulps: Update.
28600 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
28602         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
28603         to pad to uint64_t for each field.
28604         (dl_tls_index): Replace unsigned long with uint64_t.
28606 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
28607         Paul Pluzhnikov  <ppluzhnikov@google.com>
28609         [BZ #6528]
28610         * grp/Makefile (otherlibs): Don't set it.
28611         * inet/Makefile (otherlibs): Likewise.
28612         * login/Makefile (otherlibs): Likewise.
28613         * nscd/Makefile (otherlibs): Likewise.
28614         * posix/Makefile (otherlibs): Likewise.
28615         * pwd/Makefile (otherlibs): Likewise.
28616         * rt/Makefile (otherlibs): Likewise.
28617         * sunrpc/Makefile (otherlibs): Likewise.
28618         * nss/Makefile (otherlibs): Likewise.
28619         Add libnss_files to routines and static-only-routines.
28620         ($(objpfx)getent): Remove rule.
28621         * resolv/Makefile: Add libnss_dns and libresolv to routines and
28622         static-only-routines.
28624 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
28626         [BZ #13892]
28627         * math/s_cexp.c: Include <float.h>.
28628         (__cexp): Handle exp result overflowing not necessarily
28629         overflowing both real and imaginary parts of result.
28630         * math/s_cexpf.c: Likewise.
28631         * math/s_cexpl.c: Likewise.
28632         * math/libm-test.inc (cexp_test): Add more tests.
28633         * sysdeps/i386/fpu/libm-test-ulps: Update.
28634         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28636 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
28638         * include/link.h (ELFW): New macro.
28639         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
28640         Replace ELF64_R_TYPE with ELFW(R_TYPE).
28642 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
28644         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
28645         with uint64_t.
28647 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
28649         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
28650         declaration.
28651         (struct La_x32_retval): Likewise.
28653 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
28655         * sysdeps/x86_64/preconfigure.in: New file.
28656         * sysdeps/x86_64/preconfigure: New generated file.
28658 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
28660         [BZ #13824]
28661         * math/e_exp2l.c: Include <float.h>.
28662         (__ieee754_exp2l): Handle overflow and underflow cases
28663         separately.  Only pass fractional part of argument to
28664         __ieee754_expl.
28665         * math/libm-test.inc (exp2_test): Add more tests.
28667         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
28668         negating x to take absolute value.
28669         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
28670         Likewise.
28671         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
28672         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
28673         Likewise.
28674         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
28675         computing low part if x was negated.
28676         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
28678 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
28680         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
28681         la_x32_gnu_pltexit.
28682         (pltexit): Cast int_retval to ptrdiff_t.
28683         * elf/tst-auditmod3b.c: Likewise.
28684         * elf/tst-auditmod4b.c: Likewise.
28685         * elf/tst-auditmod5b.c: Likewise.
28686         * elf/tst-auditmod6b.c: Likewise.
28687         * elf/tst-auditmod6c.c: Likewise.
28688         * elf/tst-auditmod7b.c: Likewise.
28690         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
28691         and x32_gnu_pltexit.
28693         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
28694         __ELF_NATIVE_CLASS.
28695         (La_x32_regs): New macro.
28696         (La_x32_retval): Likewise.
28697         (la_x32_gnu_pltenter): New function prototype.
28698         (la_x32_gnu_pltexit): Likewise.
28700 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
28702         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
28703         exponent.
28705         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28707         * configure.in (libc_cv_cc_nofma): Check for option to disable
28708         generation of FMA instructions.
28709         * configure: Regenerate.
28710         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
28711         * sysdeps/ieee754/dbl-64/Makefile: New file.
28712         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
28713         Remove brandred-fma4.
28714         (CFLAGS-brandred-fma4.c): Remove.
28715         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
28716         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
28717         define.
28718         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
28719         define.
28721 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
28723         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
28724         LLONG_MAX != LONG_MAX.
28725         (_itoa_word): Use _ITOA_WORD_TYPE on value.
28726         (_fitoa_word): Likewise.
28727         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
28728         LLONG_MAX != LONG_MAX.
28729         * stdio-common/_itowa.h: Include <_itoa.h>.
28730         (_itowa_word): Use _ITOA_WORD_TYPE on value.
28731         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
28732         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
28733         only if not defined.
28734         (_ITOA_WORD_TYPE): Likewise.
28735         (_itoa_word): Use _ITOA_WORD_TYPE on value.
28736         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
28738 2012-03-21  David S. Miller  <davem@davemloft.net>
28740         * sysdeps/sparc/fpu/libm-test-ulps: Update.
28742 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
28744         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
28745         of x86_64 when setting libc_cv_slibdir, libdir and
28746         libc_cv_localedir.
28747         * sysdeps/unix/sysv/linux/configure: Regenerated.
28749 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
28751         * manual/lang.texi (Old Varargs): Remove section.
28752         (How Variadic): Update menu.
28753         (va_start): Do not mention varargs.h.
28755 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
28756             Joseph Myers  <joseph@codesourcery.com>
28758         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
28759         link test.
28760         * configure: Regenerated.
28762 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
28764         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
28765         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
28766         conformtest.pl
28768 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
28770         * NOTES: Remove.
28771         * Makefile (files-for-dist): Remove NOTES.
28772         (NOTES): Remove rule.
28773         * README: Don't refer to NOTES.
28774         * manual/creature.texi: Don't include macros.texi.
28775         * manual/intro.texi (creature.texi): Remove comment referring to
28776         NOTES.
28778         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
28779         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
28780         * configure: Regenerated.
28781         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
28782         LIBC_TRY_CC_OPTION.
28783         (libc_cv_as_i686): Likewise.
28784         (libc_cv_cc_avx): Likewise.
28785         (libc_cv_cc_sse2avx): Likewise.
28786         (libc_cv_cc_fma4): Likewise.
28787         (libc_cv_cc_novzeroupper): Likewise.
28788         * sysdeps/i386/configure: Regenerated.
28790         [BZ #13883]
28791         * sysdeps/i386/fpu/s_cexp.S: Remove.
28792         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
28793         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
28794         * math/libm-test.inc (cexp_test): Add more tests.
28795         * sysdeps/i386/fpu/libm-test-ulps: Update.
28796         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28798 2012-03-21  Allan McRae  <allan@archlinux.org>
28800         * timezone/Makefile: Do not install iso3166.tab and zone.tab
28802 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
28804         [BZ #13871]
28805         * math/w_exp2.c: Do not include <float.h>.
28806         (o_threshold, u_threshold): Remove.
28807         (__exp2): Calculate result before checking finiteness and calling
28808         __kernel_standard.
28809         * math/w_exp2f.c: Likewise.
28810         * math/w_exp2l.c: Likewise.
28811         * math/libm-test.inc (exp2_test): Require overflow exception for
28812         1e6 input.
28814         [BZ #3866]
28815         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
28816         range of signed 64-bit integers before using fistpll.  Remove
28817         checks for whether integers fit in mantissa bits.
28818         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
28819         the range of signed 32-bit integers before using fistpl.  Remove
28820         checks for whether integers fit in mantissa bits.
28821         * sysdeps/i386/fpu/e_powl.S (p64): New object.
28822         (__ieee754_powl): Test for y outside the range of signed 64-bit
28823         integers before using fistpll.  Reduce 64-bit values to 63-bit
28824         ones as needed.
28825         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
28826         divide-by-zero is raised for zero to large negative powers.
28827         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
28828         (__ieee754_powl): Test for y outside the range of signed 64-bit
28829         integers before using fistpll.  Reduce 64-bit values to 63-bit
28830         ones as needed.
28831         * math/libm-test.inc (pow_test): Add more tests.
28833 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
28835         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
28836         <stdio-common/_itoa.h>.
28837         * debug/segfault.c: Likewise.
28838         * elf/dl-cache.c: Likewise.
28839         * elf/dl-minimal.c: Likewise.
28840         * elf/dl-misc.c: Likewise.
28841         * elf/dl-sysdep.c: Likewise.
28842         * elf/dl-version.c: Likewise.
28843         * elf/rtld.c: Likewise.
28844         * hurd/hurdsock.c: Likewise.
28845         * hurd/lookup-retry.c: Likewise.
28846         * malloc/malloc.c: Likewise.
28847         * malloc/mtrace.c: Likewise.
28848         * nscd/nscd_getgr_r.c: Likewise.
28849         * nscd/nscd_getpw_r.c: Likewise.
28850         * nscd/nscd_getserv_r.c: Likewise.
28851         * posix/getopt_init.c: Likewise.
28852         * posix/wordexp.c: Likewise.
28853         * stdio-common/_itoa.c: Likewise.
28854         * stdio-common/printf_fphex.c: Likewise.
28855         * stdio-common/vfprintf.c: Likewise.
28856         * string/_strerror.c: Likewise.
28857         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
28858         * sysdeps/i386/i686/hp-timing.h: Likewise.
28859         * sysdeps/mach/_strerror.c: Likewise.
28860         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
28861         * sysdeps/mach/hurd/sethostid.c: Likewise.
28862         * sysdeps/mach/hurd/xmknodat.c: Likewise.
28863         * sysdeps/mach/xpg-strerror.c: Likewise.
28864         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
28865         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
28866         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
28867         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
28868         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
28869         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
28870         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
28871         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
28872         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
28873         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
28874         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
28875         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
28876         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
28877         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
28878         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
28879         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
28880         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
28881         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
28882         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
28883         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
28884         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
28886         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
28888         * stdio-common/_itoa.h: Moved to ...
28889         * sysdeps/generic/_itoa.h: Here.
28891         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
28893         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
28894         instead of "_itoa.h" and "_itowa.h".
28895         * stdio-common/vfprintf.: Likewise.
28897 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
28899         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
28900         <bits/wordsize.h>.
28901         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
28902         (__signbit): Likwise.
28903         (llrintf): Likwise.
28904         (llrint): Likwise.
28906 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
28908         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
28909         __WORDSIZE != 64.
28911 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
28913         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
28914         OVERFLOW_EXCEPTION_OK.
28915         * math/libm-test.inc ("Philosophy"): Update comment about
28916         exception testing.
28917         (OVERFLOW_EXCEPTION): Define.
28918         (OVERFLOW_EXCEPTION_OK): Likewise.
28919         (INVALID_EXCEPTION_OK): Renumber.
28920         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
28921         (IGNORE_ZERO_INF_SIGN): Likewise.
28922         (test_exceptions): Handle FE_OVERFLOW.
28923         (exp10_test): Expect overflow exceptions.
28924         (exp2_test): Likewise.
28925         (expm1_test): Likewise.
28926         (nextafter_test): Likewise.
28927         (pow_test): Likewise.
28928         (scalbn_test): Likewise.
28929         (scalbln_test): Likewise.
28931 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
28933         * sysdeps/x86_64/bits/atomic.h
28934         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
28935         64bit integer.
28936         (atomic_exchange_acq): Likewise.
28937         (__arch_exchange_and_add_body): Likewise.
28938         (__arch_add_body): Likewise.
28939         (atomic_add_negative): Likewise.
28940         (atomic_add_zero): Likewise.
28942 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
28944         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
28945         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
28947 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
28949         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
28950         Check __x86_64__ instead of __WORDSIZE.
28952 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
28954         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
28956 2012-03-19  David S. Miller  <davem@davemloft.net>
28958         * sysdeps/sparc/fpu/libm-test-ulps: Update.
28960         * sysdeps/sparc/fpu/fenv_private.h: New file.
28961         * sysdeps/sparc/fpu/math_private.h: Use it.
28962         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
28963         Remove.
28964         (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
28965         (libc_feholdexcept_setroundl): Remove.
28966         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
28967         Remove.
28968         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
28969         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
28971 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
28973         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
28974         int64_t instead of long int.
28975         (INSERT_WORDS64): Likwise.
28977 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
28979         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
28980         _Unwind_GetCFA return to _Unwind_Ptr first.
28982 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
28984         [BZ #13629]
28985         * math/s_clog.c: Include <float.h>.
28986         (__clog): Scale large or subnormal inputs.
28987         * math/s_clogf.c: Likewise.
28988         * math/s_clogl.c: Likewise.
28989         * math/s_clog10.c: Include <float.h>.
28990         (M_LOG10_2): Define.
28991         (__clog10): Scale large or subnormal inputs.
28992         * math/s_clog10f.c: Likewise.
28993         * math/s_clog10l.c: Likewise.
28994         * math/libm-test.inc (clog_test): Add more tests.
28995         (clog10_test): Likewise.
28996         * sysdeps/i386/fpu/libm-test-ulps: Update.
28997         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28999         [BZ #11451]
29000         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
29001         x and y.
29002         * math/libm-test.inc (atan2_test): Add another test.
29004         * Makerules (common-objdir-compile): Remove.
29005         * sysdeps/unix/Makefile (config-generated): Do not add
29006         $(unix-generated) to variable.
29007         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
29008         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
29009         Remove rule.
29010         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
29011         Likewise.
29012         [generic bits/local_lim.h] (before-compile): Do not append to
29013         variable.
29014         [generic bits/local_lim.h] (common-generated): Likewise.
29015         [generic sys/param.h] (before-compile): Do not append to variable.
29016         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
29017         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
29018         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
29019         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
29020         include.
29021         [generic sys/param.h] (sys/param.h-includes): Remove variable.
29022         [generic sys/param.h] (sys/param.h-includes): Remove rule.
29023         [generic sys/param.h] ($(addprefix
29024         $(common-objpfx),$(sys/param.h-includes))): Likewise.
29025         [generic sys/param.h] (common-generated): Do not append to
29026         variable.
29027         [generic sys/param.h] (sysdep_headers): Likewise.
29028         [generic bits/errno.h] (before-compile): Do not append to
29029         variable.
29030         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
29031         rule.
29032         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
29033         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
29034         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
29035         [generic bits/errno.h] (common-generated): Do not append to
29036         variable.
29037         [generic bits/ioctls.h] (before-compile): Do not append to
29038         variable.
29039         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
29040         rule.
29041         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
29042         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
29043         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
29044         rule.
29045         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
29046         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
29047         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
29048         [generic bits/ioctls.h] (common-generated): Do not append to
29049         variable.
29050         [generic sys/syscall.h] (syscall.h): Remove variable.
29051         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
29052         rule.
29053         [generic sys/syscall.h] (before-compile): Do not append to
29054         variable.
29055         [generic sys/syscall.h] (common-generated): Likewise.
29056         * sysdeps/unix/errnos-tmpl.c: Remove file.
29057         * sysdeps/unix/errnos.awk: Likewise.
29058         * sysdeps/unix/ioctls-tmpl.c: Likewise.
29059         * sysdeps/unix/ioctls.awk: Likewise.
29060         * sysdeps/unix/mk-local_lim.c: Likewise.
29061         * sysdeps/unix/snarf-ioctls: Likewise.
29063 2012-03-19  Richard Henderson  <rth@twiddle.net>
29065         * sysdeps/i386/fpu/fenv_private.h: New file.
29066         * sysdeps/i386/fpu/math_private.h: Use it.
29067         (math_opt_barrier, math_force_eval): Remove.
29068         (libc_feholdexcept_setround_53bit): Remove.
29069         (libc_feupdateenv_53bit): Remove.
29070         * sysdeps/x86_64/fpu/math_private.h: Likewise.
29071         (math_opt_barrier, math_force_eval): Remove.
29072         (libc_feholdexcept): Remove.
29073         (libc_feholdexcept_setround): Remove.
29074         (libc_fetestexcept, libc_fesetenv): Remove.
29075         (libc_feupdateenv_test): Remove.
29076         (libc_feupdateenv, libc_feholdsetround): Remove.
29077         (libc_feresetround): Remove.
29079         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
29080         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
29082         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
29083         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
29084         (libc_feupdateenv_testl): New.
29085         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
29086         (libc_feupdateenv_testf): New.
29087         (libc_feupdateenv): Use libc_feupdateenv_test.
29088         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
29089         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
29091         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
29092         (libc_feholdsetroundf, libc_feholdsetroundl): New.
29093         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
29094         (libc_feresetround_noex): New.
29095         (libc_feresetround_noexf): New.
29096         (libc_feresetround_noexl): New.
29097         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
29098         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
29099         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
29100         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
29101         SET_RESTORE_ROUND.
29102         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
29103         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
29104         (__cos): Likewise.
29105         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
29106         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
29107         SET_RESTORE_ROUND_NOEX.
29108         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
29109         SET_RESTORE_ROUND_NOEXF.
29110         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
29111         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
29112         (libc_feholdsetroundf): New.
29113         (libc_feresetround, libc_feresetroundf): New.
29115         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
29116         (libc_feholdexcept_setround_53bit): Convert from macro to function.
29117         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
29119         * sysdeps/generic/math_private.h: Include <fenv.h>.
29120         (default_libc_feholdexcept): New.
29121         (default_libc_feholdexcept_setround): New.
29122         (default_libc_fesetenv, default_libc_feupdateenv): New.
29123         (libc_feholdexcept): Only define if undefined.
29124         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
29125         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
29126         (libc_feholdexcept_setroundl): Likewise.
29127         (libc_feholdexcept_setround_53bit): Likewise.
29128         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
29129         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
29130         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
29131         (libc_feupdateenv_53bit): Likewise.
29132         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
29133         (libc_feholdexcept): Convert from macro to inline function.
29134         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
29135         (libc_fesetenv, libc_feupdateenv): Likewise.
29137         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
29138         not previously defined.
29139         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
29140         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
29141         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
29142         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
29143         * sysdeps/ieee754/flt-32/math_private.h: New file.
29144         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
29145         math_private.h below SET_FLOAT_WORD.
29146         (__isnan, __isinf_ns, __finite): Remove.
29147         (__isnanf, __isinf_nsf, __finitef): Remove.
29149 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
29151         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29153 2012-03-17  David S. Miller  <davem@davemloft.net>
29155         [BZ #6471]
29156         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
29157         for 2.16.
29159 2012-03-16  David S. Miller  <davem@davemloft.net>
29161         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
29162         warnings.
29164         [BZ #6471]
29165         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
29166         properly.
29167         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
29168         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
29169         sysdep_routines when subdir is sysvipc.
29170         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
29171         __getshmlba helper.
29173         * sysdeps/sparc/fpu/libm-test/ulps: Update.
29175 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
29177         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
29178         [__LP64__].
29180 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
29182         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
29183         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
29184         (__lround): Renamed to ...
29185         (__llround): This.  Replace long int with long long int.
29186         Define lround functions as aliases of llround functions.
29187         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
29189 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
29191         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
29192         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
29193         adresses to uintptr_t.  Replace "long int" and "unsigned long
29194         int" with "greg_t" on va_arg.
29196 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
29198         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
29199         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
29201         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
29202         Move e_machine check before EI_CLASS check.  Handle x32
29203         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
29204         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
29205         SKIP_EM_IA_64 and include
29206         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
29208         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
29209         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
29210         (add_system_dir): New macro.
29212         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
29213         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
29215 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
29217         [BZ #2551]
29218         [BZ #2552]
29219         [BZ #2553]
29220         [BZ #2554]
29221         [BZ #2562]
29222         [BZ #2563]
29223         [BZ #2565]
29224         [BZ #2566]
29225         [BZ #2576]
29226         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
29227         (y0): Likewise.
29228         * math/w_j0f.c (j0f): Likewise.
29229         (y0f): Likewise.
29230         * math/w_j0l.c (__j0l): Likewise.
29231         (__y0l): Likewise.
29232         * math/w_j1.c (j1): Likewise.
29233         (y1): Likewise.
29234         * math/w_j1f.c (j1f): Likewise.
29235         (y1f): Likewise.
29236         * math/w_j1l.c (__j1l): Likewise.
29237         (__y1l): Likewise.
29238         * math/w_jn.c (jn): Likewise.
29239         (yn): Likewise.
29240         * math/w_jnf.c (jnf): Likewise.
29241         (ynf): Likewise.
29242         * math/w_jnl.c (__jnl): Likewise.
29243         (__ynl): Likewise.
29244         * math/libm-test.inc (j0_test): Add more tests.
29245         (j1_test): Likewise.
29246         (jn_test): Likewise.  Add trailing semicolon to existing test.
29247         (y0_test): Likewise.
29248         (y1_test): Likewise.
29249         * sysdeps/i386/fpu/libm-test-ulps: Update.
29250         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29252         [BZ #13851]
29253         [BZ #13854]
29254         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
29255         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
29256         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
29257         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
29258         (__tanl): Set errno for infinite argument.
29259         * sysdeps/i386/fpu/mptan.c: Remove.
29260         * sysdeps/i386/fpu/s_tan.S: Likewise.
29261         * sysdeps/i386/fpu/s_tanl.S: Likewise.
29262         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
29263         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
29264         * math/libm-test.inc (tan_test): Add more tests and enable more
29265         tests for double and long double.
29266         * sysdeps/i386/fpu/libm-test-ulps: Update.
29267         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29269 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
29271         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
29272         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
29274 2012-03-16  Roland McGrath  <roland@hack.frob.com>
29276         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
29277         * configure.in: Use it for both main tree and add-ons.
29278         * configure: Regenerated.
29280 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
29282         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
29284 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
29286         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
29287         in comment.
29289         [BZ #13851]
29290         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
29291         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
29292         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
29293         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
29294         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
29295         infinite argument.
29296         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
29297         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
29298         != 0 for prec == 2.
29299         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
29300         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
29301         * sysdeps/i386/fpu/s_cosl.S: Likewise.
29302         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
29303         * sysdeps/i386/fpu/s_sinl.S: Likewise.
29304         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
29305         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
29306         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
29307         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
29308         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
29309         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
29310         * math/libm-test.inc (cos_test): Add more tests and enable more
29311         tests for long double.
29312         (sin_test): Likewise.
29313         (sincos_test): Likewise.
29314         * sysdeps/i386/fpu/libm-test-ulps: Update.
29315         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29317 2012-03-16  David S. Miller  <davem@davemloft.net>
29319         * sysdeps/sparc/fpu/math_private.h: New file.
29321 2012-03-15  David S. Miller  <davem@davemloft.net>
29323         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
29324         file.
29325         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
29326         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
29327         file.
29328         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
29329         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
29330         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
29331         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
29332         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
29333         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
29334         sysdep routines.
29335         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
29337         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
29338         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
29340         * sysdeps/sparc/sparc-ifunc.h: New file.
29341         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
29342         sparc-ifunc.h
29343         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
29344         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
29345         Likewise.
29346         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
29347         Likewise.
29348         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
29349         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
29350         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
29351         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
29352         Likewise.
29353         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
29354         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
29355         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
29356         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
29357         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
29358         Likewise.
29359         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
29360         Likewise.
29361         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
29362         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
29363         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
29364         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
29365         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
29366         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
29367         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
29368         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
29369         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
29370         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
29371         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
29372         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
29373         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
29374         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
29375         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
29376         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
29377         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
29378         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
29379         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
29380         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
29381         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
29382         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
29383         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
29384         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
29386 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
29388         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
29389         scaling.
29390         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29392 2012-03-15  Andreas Jaeger  <aj@suse.de>
29394         [BZ #13852]
29395         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
29396         ieee754/flt-32 implementation for sin, cos and sincos.
29397         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
29398         * sysdeps/i386/fpu/s_cosf.S: Likewise.
29399         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
29400         * sysdeps/i386/fpu/s_sinf.S: Likewise.
29401         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
29402         ieee754/flt-32 implementation for tan.
29404         * math/libm-test.inc (cos_test): Enable some large input tests for
29405         float as well
29406         (sin_test): Likewise.
29407         (sincos_test): Likewise.
29408         (tan_test): Add tests for large input.
29410         * sysdeps/i386/fpu/libm-test-ulps: Update.
29412 2012-03-15  Andreas Jaeger  <aj@suse.de>
29414         [BZ #13658]
29415         * math/libm-test.inc (cos_test): Add more test cases.
29416         (sin_test): Likewise.
29417         (sincos_test): Likewise.
29419 2012-03-15  Andreas Jaeger  <aj@suse.de>
29421         [BZ #13837]
29422         * math/libm-test.inc (cos_test): Add a test case for large input
29423         value.
29424         (sin_test): Likewise.
29425         (sincos_test): Likewise.
29427 2012-03-15  Andreas Jaeger  <aj@suse.de>,
29428         Joseph Myers  <joseph@codesourcery.com>
29430         [BZ #13658]
29431         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
29432         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
29433         * sysdeps/i386/fpu/branred.c: Likewise.
29434         * sysdeps/i386/fpu/dosincos.c: Likewise.
29435         * sysdeps/i386/fpu/mpa.c: Likewise.
29436         * sysdeps/i386/fpu/s_cos.S: Likewise.
29437         * sysdeps/i386/fpu/s_sin.S: Likewise.
29438         * sysdeps/i386/fpu/s_sincos.S: Likewise.
29439         * sysdeps/i386/fpu/sincos32.c: Likewise.
29441         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
29442         Define.
29443         (libc_feupdateenv_53bit): Define.
29444         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
29445         Define.
29446         (libc_feupdateenv_53bit): Define.
29448         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
29449         53 bit (without extend i386 double precision).
29451         * math/libm-test.inc (sincos_test): Add tests for large input.
29452         (sin): Likewise.
29453         (cos): Likewise.
29455         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
29457 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
29459         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29461 2012-03-15  David S. Miller  <davem@davemloft.net>
29463         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
29464         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
29465         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
29466         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
29467         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
29468         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
29469         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
29470         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
29471         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
29472         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
29473         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
29474         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
29475         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
29476         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
29477         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
29478         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
29479         file.
29480         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
29481         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
29482         file.
29483         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
29484         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
29485         file.
29486         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
29487         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
29488         file.
29489         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
29490         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
29491         fmin/fmax sysdep routines.
29492         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
29494 2012-03-14  David S. Miller  <davem@davemloft.net>
29496         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
29497         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
29498         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
29499         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
29500         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
29501         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
29502         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
29503         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
29504         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
29505         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
29506         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
29507         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
29508         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
29509         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
29510         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
29511         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
29512         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
29513         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
29514         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
29515         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
29516         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
29517         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
29518         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
29519         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
29520         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
29521         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
29522         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
29523         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
29524         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
29525         routines.
29526         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
29527         file.
29528         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
29529         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
29530         file.
29531         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
29532         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
29533         file.
29534         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
29535         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
29536         file.
29537         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
29538         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
29539         file.
29540         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
29541         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
29542         file.
29543         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
29544         file.
29545         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
29546         file.
29547         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
29548         file.
29549         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
29550         New file.
29551         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
29552         file.
29553         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
29554         file.
29555         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
29556         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
29557         file.
29558         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
29559         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
29560         file.
29561         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
29562         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
29563         file.
29564         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
29565         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
29566         VIS3 routines.
29568         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
29569         New file.
29571         * sysdeps/sparc/fpu/libm-test-ulps: Update.
29573         * sysdeps/sparc/configure.in: New file.
29574         * sysdeps/sparc/configure: Generate.
29575         * configure.in (libc_cv_sparc_as_vis3): Substitute.
29576         * configure: Regenerate.
29577         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
29578         * config.make.in (have-as-vis3): New.
29579         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
29580         available use -Av9d instead of -Av9a.
29581         * sysdeps/sparc/sparc64/Makefile: Likewise.
29582         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
29583         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
29584         New file.
29585         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
29586         file.
29587         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
29588         New file.
29589         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
29590         file.
29591         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
29592         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
29593         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
29594         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
29595         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
29597         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
29598         fzeros/fnegs to load 0x80000000 into a float register instead of
29599         using the stack.
29600         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
29602 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
29604         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
29605         bits/syscall.h.
29606         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
29607         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
29608         ($(inst_includedir)/bits/syscall.h): Remove rule.
29609         ($(objpfx)bits/syscall.d): Include instead of
29610         $(objpfx)syscall-list.d.
29611         (generated): Change syscall-list.h and syscall-list.d to
29612         bits/syscall.h and bits/syscall.d.
29614 2012-03-14  Roland McGrath  <roland@hack.frob.com>
29616         [BZ #13846]
29617         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
29619 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
29621         [BZ #13841]
29622         * math/s_csqrt.c: Include <float.h>.
29623         (__csqrt): Scale large or subnormal inputs.
29624         * math/s_csqrtf.c: Likewise.
29625         * math/s_csqrtl.c: Likewise.
29626         * math/libm-test.inc (csqrt_test): Add more tests.
29627         * sysdeps/i386/fpu/libm-test-ulps: Update.
29628         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29630         [BZ #13840]
29631         * math/libm-test.inc (hypot_test): Add more tests.
29633 2012-03-13  David S. Miller  <davem@davemloft.net>
29635         [BZ #13840]
29636         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
29637         double-precision for the calculation instead of scaling.
29639 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
29641         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
29642         manipulate bits before adding and subtracting TWO52[sx].
29643         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
29644         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
29645         Likewise.
29646         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
29648 2012-03-13  David S. Miller  <davem@davemloft.net>
29650         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
29651         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
29652         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
29653         rtld-global-offsets.h
29654         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
29656         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
29657         large parameters.
29659         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
29661         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
29662         'err' in the ifdef scope in which it is actually used.
29664         * nss/nss_db/db-init.c: Include string.h
29666 2012-03-12  David S. Miller  <davem@davemloft.net>
29668         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
29669         masking out of the most significant byte of random value used.
29670         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
29671         Fix coding style in previous change.
29673         * sysdeps/unix/sysv/linux/kernel-features.h
29674         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
29675         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
29676         expression.
29677         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
29678         later.
29680 2012-03-11  David S. Miller  <davem@davemloft.net>
29682         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
29683         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
29684         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
29685         for 'resultvar' otherwise things get truncated on 64-bit.
29687         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
29688         Fix masking out of the most significant byte of random value used.
29690         * sysdeps/sparc/fpu/libm-test-ulps: Update.
29692 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
29694         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29696 2012-03-09  David S. Miller  <davem@davemloft.net>
29698         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
29699         variables with appropriate CPP guards.
29700         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
29701         frame pointer, not the stack pointer.  Correct layout comments.  Fix test
29702         on resulting framesize and the management of the outregs buffer for pltexit.
29703         Preserve floating point return values across _dl_call_pltexit call.
29704         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
29705         framesize and the management of the outregs buffer for pltexit.
29706         Preserve floating point return values across _dl_call_pltexit
29707         call.
29708         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
29709         la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
29710         (print_exit): Fix format string for return register value.
29712 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
29714         * sunrpc/Makefile (others): Add rpcgen.
29715         ($(objpfx)rpcgen): Remove special build rule and dependency on
29716         libc.
29717         * sunrpc/rpcgen.c: New file.
29719 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
29721         [BZ #13673]
29722         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
29723         * stdio-common/bug-vfprintf-nargs.c: Likewise.
29724         * sysdeps/i386/crti.S: Likewise.
29725         * sysdeps/i386/crtn.S: Likewise.
29726         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
29727         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
29728         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
29729         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
29730         * sysdeps/sh/crti.S: Likewise.
29731         * sysdeps/sh/crtn.S: Likewise.
29732         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
29734         [BZ #13673]
29735         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
29736         with URL.
29737         * locale/programs/locfile-kw.gperf: Likewise.
29738         * locale/programs/charmap-kw.h: Regenerated.
29739         * locale/programs/locfile-kw.h: Likewise.
29741         [BZ #13673]
29742         * intl/plural.y: Replace FSF snail mail address with URL.
29743         * intl/plural.c: Regenerated.
29745 2012-03-09  Richard Henderson  <rth@twiddle.net>
29747         * include/math_private.h: Remove file.
29748         * math/math_private.h: Move file ...
29749         * sysdeps/generic/math_private.h: ... here.
29751         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
29752         * sysdeps/powerpc/fpu/math_private.h: Likewise.
29753         * sysdeps/x86_64/fpu/math_private.h: Likewise.
29755         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
29756         and <math_private.h>.
29757         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
29758         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
29759         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
29760         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
29761         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
29762         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
29763         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
29764         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
29765         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
29766         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
29767         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
29768         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
29769         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
29770         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
29771         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
29772         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
29773         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
29774         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
29775         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
29776         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
29777         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
29778         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
29779         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
29780         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
29781         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
29782         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
29783         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
29784         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
29785         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
29786         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
29787         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
29788         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
29789         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
29790         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
29791         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
29792         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
29793         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
29794         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
29795         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
29796         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
29797         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
29798         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
29799         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
29800         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
29801         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
29802         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
29803         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
29804         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
29805         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
29806         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
29807         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
29808         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
29809         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
29810         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
29811         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
29812         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
29813         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
29814         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
29815         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
29816         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
29817         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
29818         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
29819         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
29820         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
29821         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
29822         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
29823         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
29824         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
29825         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
29826         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
29827         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
29828         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
29829         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
29830         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
29831         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
29832         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
29833         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
29834         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
29835         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
29836         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
29837         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
29838         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
29839         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
29840         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
29841         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
29842         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
29843         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
29844         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
29845         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
29846         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
29847         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
29848         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
29849         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
29850         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
29851         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
29852         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
29853         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
29854         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
29855         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
29856         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
29857         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
29858         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
29859         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
29860         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
29861         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
29862         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
29863         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
29864         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
29865         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
29866         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
29867         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
29868         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
29869         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
29870         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
29871         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
29872         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
29873         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
29874         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
29875         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
29876         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
29877         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
29878         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
29879         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
29880         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
29881         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
29882         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
29883         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
29884         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
29885         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
29886         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
29887         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
29888         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
29889         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
29890         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
29891         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
29892         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
29893         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
29894         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
29895         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
29896         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
29897         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
29898         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
29899         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
29900         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
29901         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
29902         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
29903         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
29904         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
29905         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
29906         * sysdeps/ieee754/k_standard.c: Likewise.
29907         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
29908         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
29909         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
29910         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
29911         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
29912         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
29913         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
29914         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
29915         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
29916         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
29917         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
29918         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
29919         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
29920         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
29921         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
29922         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
29923         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
29924         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
29925         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
29926         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
29927         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
29928         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
29929         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
29930         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
29931         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
29932         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
29933         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
29934         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
29935         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
29936         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
29937         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
29938         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
29939         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
29940         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
29941         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
29942         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
29943         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
29944         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
29945         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
29946         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
29947         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
29948         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
29949         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
29950         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
29951         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
29952         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
29953         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
29954         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
29955         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
29956         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
29957         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
29958         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
29959         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
29960         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
29961         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
29962         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
29963         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
29964         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
29965         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
29966         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
29967         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
29968         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
29969         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
29970         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
29971         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
29972         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
29973         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
29974         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
29975         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
29976         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
29977         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
29978         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
29979         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
29980         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
29981         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
29982         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
29983         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
29984         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
29985         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
29986         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
29987         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
29988         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
29989         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
29990         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
29991         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
29992         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
29993         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
29994         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
29995         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
29996         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
29997         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
29998         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
29999         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
30000         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
30001         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
30002         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
30003         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
30004         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
30005         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
30006         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
30007         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
30008         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
30009         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
30010         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
30011         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
30012         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
30013         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
30014         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
30015         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
30016         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
30017         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
30018         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
30019         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
30020         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
30021         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
30022         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
30023         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
30024         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
30025         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
30026         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
30027         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
30028         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
30029         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
30030         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
30031         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
30032         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
30033         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
30034         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
30035         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
30036         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
30037         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
30038         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
30039         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
30040         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
30041         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
30042         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
30043         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
30044         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
30045         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
30046         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
30047         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
30048         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
30049         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
30050         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
30051         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
30052         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
30053         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
30054         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
30055         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
30056         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
30057         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
30058         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
30059         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
30060         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
30061         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
30062         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
30063         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
30064         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
30065         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
30066         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
30067         * sysdeps/ieee754/s_lib_version.c: Likewise.
30068         * sysdeps/ieee754/s_matherr.c: Likewise.
30069         * sysdeps/ieee754/s_signgam.c: Likewise.
30070         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
30071         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
30072         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
30073         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
30074         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
30075         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
30076         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
30077         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
30078         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
30079         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
30080         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
30081         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
30082         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
30083         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
30084         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
30085         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
30086         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
30087         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
30088         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
30089         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
30090         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
30092 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
30094         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
30095         * sunrpc/rpc_main.c: Likewise.
30096         * sunrpc/rpc_svcout.c: Likewise.
30098 2012-03-09  David S. Miller  <davem@davemloft.net>
30100         * include/math_private.h: New file.
30102 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
30104         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
30105         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
30106         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
30107         from <bits/socket_type.h>.
30108         (enum __socket_type): Don't define here.
30109         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
30110         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
30111         bits/socket_type.h.
30113         [BZ #13566]
30114         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
30115         checking __USE_GNU.
30117         * Makerules ($(inst_includedir)/%.h): New rule.
30118         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
30119         (install-others): Remove variable setting.
30120         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
30122 2012-03-08  Richard Henderson  <rth@twiddle.net>
30124         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
30125         from macro to inline function; merge with the
30126         !__LIBC_INTERNAL_MATH_INLINES version.
30127         (__ieee754_sqrtf): Likewise.
30129         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
30130         to inline function.
30131         (__rintf, __floor, __floorf): Likewise.
30133         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
30134         macro to inline function.
30135         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
30137         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
30138         not <math/math_private.h>.
30140 2012-03-08  David S. Miller  <davem@davemloft.net>
30142         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
30143         copyright year.
30144         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
30146 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
30148         * resolv/gai_misc.c (handle_requests): Fix struct timespec
30149         normalization.
30150         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
30151         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
30153 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
30155         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
30156         be defined individually, they must be defined as a block.  Define
30157         S for printing a string instead of hidint the different by using a
30158         macro for adding the 'l'.
30159         * stdio-common/tst-fphex-wide.c: Adjust.
30161 2012-03-07  Marek Polacek  <polacek@redhat.com>
30163         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
30165 2012-03-08  Marek Polacek  <polacek@redhat.com>
30167         [BZ #13806]
30168         * stdio-common/Makefile (tests): Add tst-fphex-wide.
30169         * stdio-common/tst-fphex.c: Define a few macros to make the
30170         test reusable.  Use them.
30171         * stdio-common/tst-fphex-wide.c: New file.
30173 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
30175         [BZ #6911]
30176         * manual/macros.texi (gnusystems): New macro.
30177         (nongnusystems): Likewise.
30178         (gnulinuxhurdsystems): Likewise.
30179         (gnuhurdsystems): Likewise..
30180         (gnulinuxsystems): Likewise.
30181         * manual/charset.texi: Use new macros or @theglibc{} to refer to
30182         variants of the GNU system, not "GNU system".
30183         * manual/conf.texi: Likewise.
30184         * manual/errno.texi: Likewise.  Update example of errno macro
30185         expansion.
30186         * manual/filesys.texi: Likewise.
30187         (getumask): Document as specific to GNU/Hurd.
30188         * manual/install.texi: Likewise.  Reword some references to
30189         GNU/Linux.
30190         * manual/intro.texi: Likewise.
30191         * manual/io.texi: Likewise.
30192         (File Name Portability): Detail which constraints are inapplicable
30193         to all GNU systems and which are only inapplicable to GNU/Hurd.
30194         * manual/job.texi: Likewise.
30195         * manual/llio.texi: Likewise.
30196         (O_NOCTTY): Document as present on GNU/Linux.
30197         * manual/maint.texi: Likewise.
30198         * manual/memory.texi: Likewise.
30199         * manual/pattern.texi: Likewise.
30200         * manual/pipe.texi: Likewise.
30201         * manual/process.texi: Likewise.
30202         * manual/resource.texi: Likewise.
30203         (RUSAGE_CHILDREN): Remove statement about specifying a particular
30204         child on GNU/Hurd.
30205         * manual/setjmp.texi: Likewise.
30206         * manual/signal.texi: Likewise.
30207         * manual/startup.texi: Likewise.
30208         * manual/stdio.texi: Likewise.
30209         * manual/terminal.texi: Likewise.
30210         (ONLCR): Document as POSIX.
30211         (OXTABS): Document availability on GNU/Linux as XTABS.
30212         (ONOEOT): Document availability separately from other bits.
30213         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
30214         * manual/time.texi: Likewise.
30215         * manual/users.texi: Likewise.
30216         * INSTALL: Regenerated.
30217         * sysdeps/gnu/errlist.c: Regenerated.
30219         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
30220         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
30221         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
30222         puts.
30223         * configure: Regenerated.
30225 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
30227         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
30228         default includes instead of AC_HEADER_CHECK.
30229         * sysdeps/i386/configure: Regenerated.
30231         [BZ #10716]
30232         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
30233         * math/s_cacoshf.c (__cacoshf): Likewise.
30234         * math/s_cacoshl.c (__cacoshl): Likewise.
30235         * math/s_casinh.c (__casinh): Set signs of result from argument.
30236         * math/s_casinhf.c (__casinhf): Likewise.
30237         * math/s_casinhl.c (__casinhl): Likewise.
30238         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
30239         (casinh_test): Add more tests.
30240         * sysdeps/i386/fpu/libm-test-ulps: Update.
30241         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30243 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
30245         * po/zh_TW.po: Update from translation team.
30247         * login/Makefile (distribute): Remove variable.
30248         * catgets/Makefile: Likewise.
30249         * mach/Makefile: Likewise.
30250         * malloc/Makefile: Likewise.
30251         * misc/Makefile: Likewise.
30252         * iconv/Makefile: Likewise.
30253         * nscd/Makefile: Likewise.
30254         * hurd/Makefile: Likewise.
30255         * manual/Makefile: Likewise.
30256         * locale/Makefile: Likewise.
30257         * intl/Makefile: Likewise.
30258         * conform/Makefile: Likewise.
30259         * nss/Makefile: Likewise.
30260         * time/Makefile: Likewise.
30261         * soft-fp/Makefile: Likewise.
30262         * dirent/Makefile: Likewise.
30263         * gmon/Makefile: Likewise.
30264         * po/Makefile: Likewise.
30265         * rt/Makefile: Likewise.
30266         * socket/Makefile: Likewise.
30267         * math/Makefile: Likewise.
30268         * signal/Makefile: Likewise.
30269         * debug/Makefile: Likewise.
30270         * elf/Makefile: Likewise.
30271         * timezone/Makefile: Likewise.
30272         * stdlib/Makefile: Likewise.
30273         * iconvdata/Makefile: Likewise.
30274         * sunrpc/Makefile: Likewise.
30275         * io/Makefile: Likewise.
30276         * argp/Makefile: Likewise.
30277         * inet/Makefile: Likewise.
30278         * hesiod/Makefile: Likewise.
30279         * grp/Makefile: Likewise.
30280         * csu/Makefile: Likewise.
30281         * wctype/Makefile: Likewise.
30282         * crypt/Makefile: Likewise.
30283         * libio/Makefile: Likewise.
30284         * string/Makefile: Likewise.
30285         * nis/Makefile: Likewise.
30286         * resolv/Makefile: Likewise.
30287         * stdio-common/Makefile: Likewise.
30288         * wcsmbs/Makefile: Likewise.
30289         * dlfcn/Makefile: Likewise.
30290         * posix/Makefile: Likewise.
30292         [BZ #6959]
30293         * timezone/Makefile: Don't install timezone files, just the programs
30294         and scripts.
30296 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
30298         * nss/databases.def: Add missing gshadow entry.
30300         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
30302 2012-03-06  Marek Polacek  <polacek@redhat.com>
30304         [BZ #13726]
30305         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
30306         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
30307         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
30308         * stdio-common/tst-long-dbl-fphex.c: New file.
30310 2012-03-06  David S. Miller  <davem@davemloft.net>
30312         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
30313         (set_obp_int): New function.
30314         (get_obp_int): New function.
30315         (__get_clockfreq_via_dev_openprom): Likewise.
30316         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
30317         Avoid unused variable warnings on 'val' and use builtin_expect.
30318         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
30319         __builtin_expect.
30320         (INLINE_CLONE_SYSCALL): Likewise.
30322 2012-03-05  David S. Miller  <davem@davemloft.net>
30324         * sysdeps/sparc/fpu/libm-test-ulps: Update.
30326 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
30328         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30330         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
30331         only for |x| >= 40.
30332         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
30334 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
30336         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
30337         Replace gettimeofday with __vdso_gettimeofday.
30339         * sysdeps/unix/sysv/linux/x86_64/init-first.c
30340         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
30341         __vdso_clock_gettime and __vdso_getcpu.
30343         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
30344         time with __vdso_time.
30346 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
30348         * manual/lang.texi (size_t): Note types to which size_t may be
30349         equivalent with the GNU C Library, but do not describe when
30350         differences between them are significant.
30352 2012-03-05  Andreas Jaeger  <aj@suse.de>
30354         * sysdeps/i386/fpu/libm-test-ulps: Update.
30356 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
30358         [BZ #3976]
30359         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
30360         (__ieee754_pow): Save and restore rounding mode and use
30361         round-to-nearest for main computations.
30362         * math/libm-test.inc (pow_test_tonearest): New function.
30363         (pow_test_towardzero): Likewise.
30364         (pow_test_downward): Likewise.
30365         (pow_test_upward): Likewise.
30366         (main): Call the new functions.
30367         * sysdeps/i386/fpu/libm-test-ulps: Update.
30368         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30370         [BZ #3976]
30371         * math/libm-test.inc (cosh_test_tonearest): New function.
30372         (cosh_test_towardzero): Likewise.
30373         (cosh_test_downward): Likewise.
30374         (cosh_test_upward): Likewise.
30375         (sinh_test_tonearest): Likewise.
30376         (sinh_test_towardzero): Likewise.
30377         (sinh_test_downward): Likewise.
30378         (sinh_test_upward): Likewise.
30379         (main): Call the new functions.
30380         * sysdeps/i386/fpu/libm-test-ulps: Update.
30381         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30383 2012-03-05  Tom de Vries  <tom@codesourcery.com>
30385         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
30386         default stack guard is set in last bytes.
30387         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
30389 2012-03-05  Kees Cook  <keescook@chromium.org>
30391         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
30393         [BZ #13656]
30394         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
30395         possibly allocate from heap instead of stack.
30396         * stdio-common/bug-vfprintf-nargs.c: New file.
30397         * stdio-common/Makefile (tests): Add nargs overflow test.
30399 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
30401         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30403 2012-03-03  Marek Polacek  <polacek@redhat.com>
30405         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
30406         * math/math_private.h: Likewise.
30407         * stdlib/tst-strtod.c: Likewise.
30408         * sysdeps/i386/i486/bits/atomic.h: Likewise.
30409         * sysdeps/x86_64/bits/atomic.h: Likewise.
30411 2012-03-02  David S. Miller  <davem@davemloft.net>
30413         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
30414         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
30415         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
30416         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
30417         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
30418         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
30419         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
30420         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
30422 2012-03-02  Roland McGrath  <roland@hack.frob.com>
30424         [BZ #13792]
30425         * manual/examples/README: New file, says the example source files
30426         can be used under GPL>=2.
30427         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
30428         line containing just "*/".
30429         * manual/examples/add.c: Add copyright header (GPL>=2).
30430         * manual/examples/argp-ex1.c: Likewise.
30431         * manual/examples/argp-ex2.c: Likewise.
30432         * manual/examples/argp-ex3.c: Likewise.
30433         * manual/examples/argp-ex4.c: Likewise.
30434         * manual/examples/atexit.c: Likewise.
30435         * manual/examples/db.c: Likewise.
30436         * manual/examples/dir.c: Likewise.
30437         * manual/examples/dir2.c: Likewise.
30438         * manual/examples/execinfo.c: Likewise.
30439         * manual/examples/filecli.c: Likewise.
30440         * manual/examples/filesrv.c: Likewise.
30441         * manual/examples/fmtmsgexpl.c: Likewise.
30442         * manual/examples/genpass.c: Likewise.
30443         * manual/examples/inetcli.c: Likewise.
30444         * manual/examples/inetsrv.c: Likewise.
30445         * manual/examples/isockad.c: Likewise.
30446         * manual/examples/longopt.c: Likewise.
30447         * manual/examples/memopen.c: Likewise.
30448         * manual/examples/memstrm.c: Likewise.
30449         * manual/examples/mkfsock.c: Likewise.
30450         * manual/examples/mkisock.c: Likewise.
30451         * manual/examples/mygetpass.c: Likewise.
30452         * manual/examples/pipe.c: Likewise.
30453         * manual/examples/popen.c: Likewise.
30454         * manual/examples/rprintf.c: Likewise.
30455         * manual/examples/search.c: Likewise.
30456         * manual/examples/select.c: Likewise.
30457         * manual/examples/setjmp.c: Likewise.
30458         * manual/examples/sigh1.c: Likewise.
30459         * manual/examples/sigusr.c: Likewise.
30460         * manual/examples/stpcpy.c: Likewise.
30461         * manual/examples/strdupa.c: Likewise.
30462         * manual/examples/strftim.c: Likewise.
30463         * manual/examples/strncat.c: Likewise.
30464         * manual/examples/subopt.c: Likewise.
30465         * manual/examples/swapcontext.c: Likewise.
30466         * manual/examples/termios.c: Likewise.
30467         * manual/examples/testopt.c: Likewise.
30468         * manual/examples/testpass.c: Likewise.
30469         * manual/examples/timeval_subtract.c: Likewise.
30471         [BZ #13792]
30472         * manual/time.texi (Elapsed Time): Move timeval_subtract example
30473         function to ...
30474         * manual/timeval_subtract.c.texi: ... here, new file.
30476 2012-03-02  David S. Miller  <davem@davemloft.net>
30478         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
30480 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
30482         [BZ #3976]
30483         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
30484         (__sin): Save and restore rounding mode and use round-to-nearest
30485         for all computations.
30486         (__cos): Save and restore rounding mode and use round-to-nearest
30487         for all computations.
30488         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
30489         <fenv.h>.
30490         (tan): Save and restore rounding mode and use round-to-nearest for
30491         all computations.
30492         * math/libm-test.inc (cos_test_tonearest): New function.
30493         (cos_test_towardzero): Likewise.
30494         (cos_test_downward): Likewise.
30495         (cos_test_upward): Likewise.
30496         (sin_test_tonearest): Likewise.
30497         (sin_test_towardzero): Likewise.
30498         (sin_test_downward): Likewise.
30499         (sin_test_upward): Likewise.
30500         (tan_test_tonearest): Likewise.
30501         (tan_test_towardzero): Likewise.
30502         (tan_test_downward): Likewise.
30503         (tan_test_upward): Likewise.
30504         (main): Call the new functions.
30505         * sysdeps/i386/fpu/libm-test-ulps: Update.
30506         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30508         [BZ #10135]
30509         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
30510         small n, then large n, before computing and testing k+n.
30511         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
30512         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
30513         Likewise.
30514         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
30515         Likewise.
30516         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
30517         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
30518         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
30519         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
30520         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
30521         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
30522         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
30523         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
30524         * math/libm-test.inc (scalbn_test): Add more tests.
30525         (scalbln_test): Likewise.
30527         * manual/filesys.texi (mode_t): Describe constraints on size and
30528         signedness, not exact equivalence to a particular type.
30529         (ino_t): Likewise.
30530         (ino64_t): Likewise.
30531         (dev_t): Likewise.
30532         (nlink_t): Likewise.
30533         (blkcnt_t): Likewise.
30534         (blkcnt64_t): Likewise.
30535         * manual/llio.texi (off_t): Likewise.
30537         [BZ #3976]
30538         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
30539         (__ieee754_exp): Save and restore rounding mode and use
30540         round-to-nearest for all computations.
30541         * math/libm-test.inc (exp_test_tonearest): New function.
30542         (exp_test_towardzero): Likewise.
30543         (exp_test_downward): Likewise.
30544         (exp_test_upward): Likewise.
30545         (main): Call the new functions.
30546         * sysdeps/i386/fpu/libm-test-ulps: Update.
30547         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30549 2012-03-01  Chris Demetriou  <cgd@google.com>
30551         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
30552         have predictable order.
30554 2012-03-01  David S. Miller  <davem@davemloft.net>
30556         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
30558         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
30559         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
30560         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
30561         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
30563         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
30564         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
30565         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
30566         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
30567         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
30568         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
30569         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
30570         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
30571         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
30573         * sysdeps/sparc/fpu/libm-test-ulps: Update.
30575         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
30576         * sysdeps/sparc/fpu/libm-test-ulps: to here.
30577         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
30579         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
30580         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
30581         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
30582         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
30583         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
30584         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
30585         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
30586         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
30587         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
30588         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
30589         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
30590         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
30591         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
30592         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
30593         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
30594         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
30595         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
30596         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
30597         * sysdeps/sparc/elf/configure: Regenerated.
30599 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
30601         * configure.in (AS, LD): Require binutils 2.20 or later.
30602         * configure: Regenerated.
30603         * manual/install.texi (Tools for Compilation): Give binutils 2.20
30604         as required minimum version.
30605         * INSTALL: Regenerated.
30607         [BZ #2541]
30608         [BZ #4108]
30609         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
30610         before squaring exponent.
30611         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
30612         bottom long double and 27 bits of top long double before squaring
30613         exponent.
30614         * math/libm-test.inc (erfc_test): Add more tests.
30615         * sysdeps/i386/fpu/libm-test-ulps: Update.
30616         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
30617         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30619 2012-03-01  Kai Tietz  <ktietz@redhat.com>
30621         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
30622         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
30623         containing bit-fields.
30624         * soft-fp/extended.h (_FP_UNION_E): Likewise.
30625         * soft-fp/single.h (_FP_UNION_S): Likewise.
30626         * soft-fp/double.h (_FP_UNION_D): Likewise.
30628 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
30630         [BZ #13786]
30631         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
30632         not include ../strcmp.S.
30633         [USE_AS_STRNCASECMP_L]: Likewise.
30634         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
30635         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
30636         * sysdeps/i386/i686/multiarch/strncase_l-c.c
30637         (__strncasecmp_l_ia32): Define as alias to
30638         __strncasecmp_l_nonascii.
30640         [BZ #5794]
30641         * math/libm-test.inc (expm1_test): Add test for bug 5794.
30642         * sysdeps/i386/fpu/libm-test-ulps: Update.
30643         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30645         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
30646         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30648 2012-02-29  Jeff Law  <law@redhat.com>
30650         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
30651         out of bounds read.
30653 2012-02-29  Marek Polacek  <polacek@redhat.com>
30655         [BZ #13706]
30656         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
30657         * elf/Makefile: Add rules to run tst-unused-dep.out.
30659 2012-02-28  David S. Miller  <davem@davemloft.net>
30661         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
30662         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
30663         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
30664         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
30665         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
30666         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
30668 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
30670         * math/libm-test.inc (llround_test): Move one test from
30671         lround_test.  Use TEST_f_L in moved test.
30672         (lround_test): Move misplaced test to llround_test.  Add testcase
30673         from bug 2561.
30675 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
30677         * sysdeps/x86_64/fpu/e_expf.S: New file.
30678         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
30680 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
30682         [BZ #13637]
30683         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
30684         of remain_len that may cause incomplete multi-byte character and
30685         false match.
30686         * posix/bug-regex33.c: New file.
30687         * posix/Makefile (tests): Add bug-regex33.
30689 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
30691         * manual/macros.texi: New file.
30692         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
30693         * manual/libc.texinfo: Include macros.texi.
30694         * manual/creatute.texi: Likewise.
30695         * manual/install.texi: Likewise.
30696         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
30697         @glibcadj{} in references to the GNU C Library.
30698         * manual/charset.texi: Likewise.
30699         * manual/conf.texi: Likewise.
30700         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
30701         when not using those macros.
30702         * manual/creature.texi: Likewise.
30703         * manual/crypt.texi: Likewise.
30704         * manual/errno.texi: Likewise.
30705         * manual/filesys.texi: Likewise.
30706         * manual/header.texi: Likewise.
30707         * manual/install.texi: Likewise.
30708         * manual/intro.texi: Likewise.
30709         * manual/io.texi: Likewise.
30710         * manual/job.texi: Likewise.
30711         * manual/lang.texi: Likewise.
30712         * manual/libc.texiinfo: Likewise.
30713         * manual/llio.texi: Likewise.
30714         * manual/locale.texi: Likewise.
30715         * manual/maint.texi: Likewise.
30716         * manual/math.texi: Likewise.
30717         * manual/memory.texi: Likewise.
30718         * manual/message.texi: Likewise.
30719         * manual/nss.texi: Likewise.
30720         * manual/pattern.texi: Likewise.
30721         * manual/process.texi: Likewise.
30722         * manual/resource.texi: Likewise.
30723         * manual/search.texi: Likewise.
30724         * manual/setjmp.texi: Likewise.
30725         * manual/signal.texi: Likewise.
30726         * manual/socket.texi: Likewise.
30727         * manual/startup.texi: Likewise.
30728         * manual/stdio.texi: Likewise.
30729         * manual/string.texi: Likewise.
30730         * manual/sysinfo.texi: Likewise.
30731         * manual/syslog.texi: Likewise.
30732         * manual/terminal.texi: Likewise.
30733         * manual/time.texi: Likewise.
30734         * manual/users.texi: Likewise.
30735         * INSTALL: Regenerated.
30736         * NOTES: Regenerated.
30737         * sysdeps/gnu/errlist.c: Regenerated.
30739 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
30741         * include/dirent.h: Include <dirstream.h> before
30742         <dirent/dirent.h>.
30744 2012-02-28  David S. Miller  <davem@davemloft.net>
30746         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
30747         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
30748         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
30749         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
30751 2012-02-27  David S. Miller  <davem@davemloft.net>
30753         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
30754         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
30755         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
30756         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
30758         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
30759         frame pointer instead of stack pointer relative arg slot.
30760         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
30761         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
30762         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
30764 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
30766         [BZ #3992]
30767         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
30769 2012-02-27  David S. Miller  <davem@davemloft.net>
30771         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
30772         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
30773         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
30774         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
30775         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
30776         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
30777         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
30778         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
30780 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
30782         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
30783         later.  Allow versions 5-9.
30784         * configure: Regenerated.
30785         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
30786         required minimum version and 4.6 as recommended version.  Do not
30787         mention bugs in GCC 2.7 and 2.8.
30788         * INSTALL: Regenerated.
30790 2012-02-27  David S. Miller  <davem@davemloft.net>
30792         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
30793         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
30794         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
30795         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
30796         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
30797         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
30798         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
30799         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
30801         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
30802         manipulate bits before adding and subtracting TWO112[sx].
30803         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
30805 2012-02-27  Roland McGrath  <roland@hack.frob.com>
30807         [BZ #13775]
30808         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
30809         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
30810         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
30811         being in POSIX, because they are in 1003.1-2008.
30813         * rt/tst-aio.c: Include <fcntl.h>.
30814         * rt/tst-aio7.c: Likewise.
30815         * rt/tst-aio64.c: Likewise.
30817         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
30819 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
30821         * manual/install.texi (--with-headers): Describe headers as
30822         interface headers, not private headers.
30823         (Specific advice for GNU/Linux systems): Describe use of headers
30824         from "make headers_install", not private headers from older
30825         kernels.
30826         * INSTALL: Regenerated.
30827         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
30828         Change to 2.6.19.
30829         * sysdeps/unix/sysv/linux/configure: Regenerated.
30831         * manual/llio.texi (fclean): Remove documentation.
30833         * manual/Makefile (libc-texi-generated): New variable.  Include
30834         version.texi.
30835         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
30836         $(libc-texi-generated), not duplicated list of files.
30837         (version.texi, stamp-version): New rules.
30838         (realclean): Remove $(libc-texi-generated), not individual files
30839         from that list.  Do not remove dir-add.texinfo.
30840         * manual/libc.texinfo: Comment out uses of edition numbers and
30841         references to printed manual.  Remove last-updated dates.
30842         (EDITION): Comment out.
30843         (ISBN): Likewise.
30844         (VERSION, UPDATED): Remove.
30845         (version.texi): Include.
30847 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
30849         * sysdeps/posix/spawni.c: Include <signal.h>.
30850         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
30851         * sysdeps/pthread/aio_fsync.c: Likewise.
30853 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
30855         * conform/Makefile (tests): Run only when not cross-compiling and
30856         when fast-check is not defined.
30858         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
30859         * conform/data/limits.h-data: Fixes for POSIX2008.
30860         * conform/run-conformtest.sh: Run all tests.
30861         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
30862         headers.
30863         * include/bits/dlfcn.h: Likewise.
30864         * include/langinfo.h: Likewise.
30865         * include/monetary.h: Likewise.
30866         * include/sys/poll.h: Likewise.
30868         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
30869         for __USE_GNU.
30870         * posix/spawn.h: Define __need_sigset_t.
30871         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
30872         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
30873         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
30874         to get sigevent_t only.
30875         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
30876         only for __USE_GNU.
30877         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
30878         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
30879         process_vm_writev only for __USE_GNU.
30880         * termios/termios.h: Declare tcgetsid also for POSIX2008.
30882         * conform/Makefile: For now ignore errors from run-conformtest.
30883         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
30884         POSIX to avoid namespace pollution.  Don't prepend headers.
30885         * conform/data/aio.h-data: Fixes for POSIX testing.
30886         * conform/data/fcntl.h-data: Likewise.
30887         * conform/data/glob.h-data: Likewise.
30888         * conform/data/grp.h-data: Likewise.
30889         * conform/data/pthread.h-data: Likewise.
30890         * conform/data/pwd.h-data: Likewise.
30891         * conform/data/signal.h-data: Likewise.
30892         * conform/data/spawn.h-data: Likewise.
30893         * conform/data/stdio.h-data: Likewise.
30894         * conform/data/stdlib.h-data: Likewise.
30895         * conform/data/stropts.h-data: Likewise.
30896         * conform/data/sys/mman.h-data: Likewise.
30897         * conform/data/sys/stat.h-data: Likewise.
30898         * conform/data/sys/types.h-data: Likewise.
30899         * conform/data/sys/wait.h-data: Likewise.
30900         * conform/data/time.h-data: Likewise.
30901         * conform/data/unistd.h-data: Likewise.
30902         * conform/data/utime.h-data: Likewise.
30904         * io/sys/stat.h: fchmod was always in POSIX.
30905         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
30906         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
30907         * rt/aio.h: Define __need_timespec before including <time.h>.
30908         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
30909         struct.  Add forward declaration of pthread_attr_t and use it in
30910         sigevent.
30911         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
30912         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
30913         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
30914         always remove CLK_TCK definition.
30916 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
30918         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
30920 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
30922         * conform/run-conformtest.sh: New file.
30923         * conform/Makefile: Run run-conformtest for tests.
30924         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
30925         support.
30927         * conform/data/uchar.h-data: New file.
30928         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
30929         * conform/data/arpa/inet.h-data: Likewise.
30930         * conform/data/assert.h-data: Likewise.
30931         * conform/data/complex.h-data: Likewise.
30932         * conform/data/cpio.h-data: Likewise.
30933         * conform/data/ctype.h-data: Likewise.
30934         * conform/data/dirent.h-data: Likewise.
30935         * conform/data/dlfcn.h-data: Likewise.
30936         * conform/data/errno.h-data: Likewise.
30937         * conform/data/fcntl.h-data: Likewise.
30938         * conform/data/float.h-data: Likewise.
30939         * conform/data/fmtmsg.h-data: Likewise.
30940         * conform/data/fnmatch.h-data: Likewise.
30941         * conform/data/ftw.h-data: Likewise.
30942         * conform/data/glob.h-data: Likewise.
30943         * conform/data/grp.h-data: Likewise.
30944         * conform/data/iconv.h-data: Likewise.
30945         * conform/data/inttypes.h-data: Likewise.
30946         * conform/data/langinfo.h-data: Likewise.
30947         * conform/data/libgen.h-data: Likewise.
30948         * conform/data/limits.h-data: Likewise.
30949         * conform/data/locale.h-data: Likewise.
30950         * conform/data/math.h-data: Likewise.
30951         * conform/data/monetary.h-data: Likewise.
30952         * conform/data/mqueue.h-data: Likewise.
30953         * conform/data/ndbm.h-data: Likewise.
30954         * conform/data/net/if.h-data: Likewise.
30955         * conform/data/netdb.h-data: Likewise.
30956         * conform/data/netinet/in.h-data: Likewise.
30957         * conform/data/nl_types.h-data: Likewise.
30958         * conform/data/poll.h-data: Likewise.
30959         * conform/data/pthread.h-data: Likewise.
30960         * conform/data/pwd.h-data: Likewise.
30961         * conform/data/regex.h-data: Likewise.
30962         * conform/data/sched.h-data: Likewise.
30963         * conform/data/search.h-data: Likewise.
30964         * conform/data/semaphore.h-data: Likewise.
30965         * conform/data/setjmp.h-data: Likewise.
30966         * conform/data/signal.h-data: Likewise.
30967         * conform/data/spawn.h-data: Likewise.
30968         * conform/data/stdarg.h-data: Likewise.
30969         * conform/data/stdio.h-data: Likewise.
30970         * conform/data/stdlib.h-data: Likewise.
30971         * conform/data/string.h-data: Likewise.
30972         * conform/data/strings.h-data: Likewise.
30973         * conform/data/stropts.h-data: Likewise.
30974         * conform/data/sys/ipc.h-data: Likewise.
30975         * conform/data/sys/mman.h-data: Likewise.
30976         * conform/data/sys/msg.h-data: Likewise.
30977         * conform/data/sys/resource.h-data: Likewise.
30978         * conform/data/sys/select.h-data: Likewise.
30979         * conform/data/sys/sem.h-data: Likewise.
30980         * conform/data/sys/shm.h-data: Likewise.
30981         * conform/data/sys/socket.h-data: Likewise.
30982         * conform/data/sys/stat.h-data: Likewise.
30983         * conform/data/sys/statvfs.h-data: Likewise.
30984         * conform/data/sys/time.h-data: Likewise.
30985         * conform/data/sys/timeb.h-data: Likewise.
30986         * conform/data/sys/times.h-data: Likewise.
30987         * conform/data/sys/types.h-data: Likewise.
30988         * conform/data/sys/uio.h-data: Likewise.
30989         * conform/data/sys/un.h-data: Likewise.
30990         * conform/data/sys/utsname.h-data: Likewise.
30991         * conform/data/sys/wait.h-data: Likewise.
30992         * conform/data/syslog.h-data: Likewise.
30993         * conform/data/tar.h-data: Likewise.
30994         * conform/data/termios.h-data: Likewise.
30995         * conform/data/utime.h-data: Likewise.
30996         * conform/data/utmpx.h-data: Likewise.
30997         * conform/data/varargs.h-data: Likewise.
30998         * conform/data/wchar.h-data: Likewise.
30999         * conform/data/wctype.h-data: Likewise.
31000         * conform/data/wordexp.h-data: Likewise.
31002         * include/stropts.h: New file.
31003         * include/uchar.h: New file.
31004         * include/aio.h: Changes to allow conformtest.pl to use the headers.
31005         * include/assert.h: Likewise.
31006         * include/ctype.h: Likewise.
31007         * include/dirent.h: Likewise.
31008         * include/dlfcn.h: Likewise.
31009         * include/fcntl.h: Likewise.
31010         * include/fnmatch.h: Likewise.
31011         * include/glob.h: Likewise.
31012         * include/grp.h: Likewise.
31013         * include/libio.h: Likewise.
31014         * include/locale.h: Likewise.
31015         * include/math.h: Likewise.
31016         * include/net/if.h: Likewise.
31017         * include/netdb.h: Likewise.
31018         * include/netinet/in.h: Likewise.
31019         * include/pthread.h: Likewise.
31020         * include/pwd.h: Likewise.
31021         * include/regex.h: Likewise.
31022         * include/sched.h: Likewise.
31023         * include/search.h: Likewise.
31024         * include/setjmp.h: Likewise.
31025         * include/signal.h: Likewise.
31026         * include/stdio.h: Likewise.
31027         * include/stdlib.h: Likewise.
31028         * include/string.h: Likewise.
31029         * include/sys/cdefs.h: Likewise.
31030         * include/sys/mman.h: Likewise.
31031         * include/sys/msg.h: Likewise.
31032         * include/sys/resource.h: Likewise.
31033         * include/sys/select.h: Likewise.
31034         * include/sys/socket.h: Likewise.
31035         * include/sys/stat.h: Likewise.
31036         * include/sys/statvfs.h: Likewise.
31037         * include/sys/time.h: Likewise.
31038         * include/sys/times.h: Likewise.
31039         * include/sys/uio.h: Likewise.
31040         * include/sys/utsname.h: Likewise.
31041         * include/sys/wait.h: Likewise.
31042         * include/termios.h: Likewise.
31043         * include/time.h: Likewise.
31044         * include/ulimit.h: Likewise.
31045         * include/unistd.h: Likewise.
31046         * include/utime.h: Likewise.
31047         * include/wchar.h: Likewise.
31048         * include/wctype.h: Likewise.
31049         * include/wordexp.h: Likewise.
31051         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
31053         * time/time.h: TIME_UTC must be a macro.
31054         Make timespec_get available for ISO C11 only as well.
31056 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
31058         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
31059         Reported by Peng Haitao <penght@cn.fujitsu.com>.
31061 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
31063         * configure.in: Use -o not -a in test for unsupported multi-arch.
31065 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
31067         * manual/texinfo.tex: Update to version 2012-01-19.16.
31069 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
31071         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
31073 2012-02-24  Roland McGrath  <roland@hack.frob.com>
31075         [BZ #13738]
31076         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
31077         * manual/fdl-1.3.texi: New file.
31078         * manual/fdl-1.1.texi: File removed.
31080         [BZ #13738]
31081         * manual/libc.texinfo (FDL_VERSION): New @set.
31082         Use it for mention of FDL in cover text.
31083         (Documentation License): Use it in @include file name.
31085 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
31086             Roland McGrath  <roland@hack.frob.com>
31088         [BZ #5461]
31089         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
31090         not LONG_LONG_MAX and LONG_LONG_MIN.
31091         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
31092         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
31093         name.
31094         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
31096 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
31098         [BZ #2547]
31099         [BZ #11365]
31100         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
31101         manipulate bits before adding and subtracting TWO23[sx].
31102         * math/libm-test.inc (nearbyint_test): Add more tests.
31104 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
31106         [BZ #2548]
31107         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
31108         bits before adding and subtracting TWO23[sx].
31109         * math/libm-test.inc (rint_test): Add more tests.
31110         (rint_test_tonearest): Likewise.
31111         (rint_test_towardzero): Likewise.
31112         (rint_test_downward): Likewise.
31113         (rint_test_upward: Likewise.
31115 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
31117         [BZ #10110]
31118         * include/stdc-predef.h: New file.  Extracted from features.h.
31119         * include/features.h: Include stdc-predef.h.
31120         * Makefile (headers): Add stdc-predef.h.
31121         * CONFORMANCE (Compiler limitations): Update.
31123 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
31125         * manual/libc.texinfo (VERSION, UPDATED): Revert.
31127 2012-02-21  David S. Miller  <davem@davemloft.net>
31129         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
31130         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
31132 2012-02-20  David S. Miller  <davem@davemloft.net>
31134         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
31135         using a normal save/restore sequence, rather than allocating a
31136         dummy stack frame just to store a frame pointer and restore.
31137         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
31139 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
31141         * manual/install.texi: Fix stray word in line-wrapped comment.
31143 2012-02-20  David S. Miller  <davem@davemloft.net>
31145         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
31146         both binutils and gcc support GOTDATA.
31148         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
31149         "rd %pc" in the PIC register setup sequences.
31151         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
31152         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
31153         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
31154         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
31155         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
31156         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
31157         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
31158         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
31159         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
31160         (SYSCALL_ERROR_HANDLER): Likewise.
31161         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
31162         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
31163         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
31164         (SYSCALL_ERROR_HANDLER): Likewise.
31166         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
31167         (HAVE_GCC_GOTDATA): New.
31168         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
31169         relocation support in both binutils and gcc.
31170         * sysdeps/sparc/elf/configure: Regenerate.
31172         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
31173         * sysdeps/sparc/sparc32/elf/configure: Delete.
31174         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
31175         * sysdeps/sparc/sparc64/elf/configure: Delete.
31176         * sysdeps/sparc/elf/configure.in: New file.
31177         * sysdeps/sparc/elf/configure: Generate.
31179         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
31180         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
31181         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
31182         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
31183         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
31185 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
31187         * manual/install.texi: Do not mention specific glibc version
31188         numbers.
31189         * manual/libc.texinfo (VERSION, UPDATED): Update.
31190         (@copying): Use @copyright{} and range of years.
31192 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
31194         [BZ #13695]
31195         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
31196         [crti.S not in sysdirs] (generated): Do not append.
31197         [crti.S not in sysdirs] (omit-deps): Likewise.
31198         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
31199         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
31200         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
31201         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
31202         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
31203         Likewise.
31204         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
31205         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
31206         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
31207         * csu/defs.awk: Remove file.
31208         * sysdeps/generic/initfini.c: Likewise.
31209         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
31210         variable.
31211         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
31212         Likewise.
31214 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
31216         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
31217         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
31218         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
31219         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
31220         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
31221         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
31222         <bits/epoll.h>.
31223         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
31224         (__EPOLL_PACKED): Define to empty if not defined by
31225         <bits/epoll.h>.
31226         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
31227         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
31228         bits/epoll.h.
31230 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
31232         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
31233         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
31234         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
31235         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
31236         <bits/timerfd.h>.
31237         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
31238         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
31239         bits/timerfd.h.
31241 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
31243         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
31244         in C locale.
31245         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
31246         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
31247         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
31248         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31250 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
31252         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
31253         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
31255 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
31257         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
31258         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
31259         defined.
31260         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
31261         Likewise.
31262         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
31263         entry for 2.16.
31265 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
31267         * math/w_acos.c: Use non-signaling floating-point comparisons.
31268         * math/w_acosf.c: Likewise.
31269         * math/w_acosh.c: Likewise.
31270         * math/w_acoshf.c: Likewise.
31271         * math/w_acoshl.c: Likewise.
31272         * math/w_acosl.c: Likewise.
31273         * math/w_asin.c: Likewise.
31274         * math/w_asinf.c: Likewise.
31275         * math/w_asinl.c: Likewise.
31276         * math/w_atanh.c: Likewise.
31277         * math/w_atanhf.c: Likewise.
31278         * math/w_atanhl.c: Likewise.
31279         * math/w_exp2.c: Likewise.
31280         * math/w_exp2f.c: Likewise.
31281         * math/w_exp2l.c: Likewise.
31282         * math/w_j0.c: Likewise.
31283         * math/w_j0f.c: Likewise.
31284         * math/w_j0l.c: Likewise.
31285         * math/w_j1.c: Likewise.
31286         * math/w_j1f.c: Likewise.
31287         * math/w_j1l.c: Likewise.
31288         * math/w_jn.c: Likewise.
31289         * math/w_jnf.c: Likewise.
31290         * math/w_log.c: Likewise.
31291         * math/w_log10.c: Likewise.
31292         * math/w_log10f.c: Likewise.
31293         * math/w_log10l.c: Likewise.
31294         * math/w_log2.c: Likewise.
31295         * math/w_log2f.c: Likewise.
31296         * math/w_log2l.c: Likewise.
31297         * math/w_logf.c: Likewise.
31298         * math/w_logl.c: Likewise.
31299         * math/w_sqrt.c: Likewise.
31300         * math/w_sqrtf.c: Likewise.
31301         * math/w_sqrtl.c: Likewise.
31302         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
31303         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
31304         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
31305         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
31306         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
31308 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
31310         [BZ #9739]
31311         * manual/string.texi (strnlen): Use correct parameter name in
31312         equivalent expression.
31314 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
31316         [BZ #11174]
31317         * manual/users.texi (seteuid): Consistently use neweuid for
31318         argument name.
31320 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
31322         [BZ #13704]
31323         * manual/nss.texi (Services in the NSS configuration): Correct
31324         list of services in example configuration file.
31326 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
31328         [BZ #11322]
31329         * manual/arith.texi: Remove statements about negative zero
31330         behaving identically to zero.
31332 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
31334         [BZ #5993]
31335         * manual/install.texi: Do not document upgrading from libc5.
31337 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
31339         [BZ #4596]
31340         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
31342 2012-02-18  David S. Miller  <davem@davemloft.net>
31344         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
31345         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
31346         %o7 across the call.
31347         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
31348         instead.
31349         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
31350         SETUP_PIC_REG_LEAF.
31351         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
31352         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
31353         * sysdeps/sparc/crtn.S: Likewise.
31355 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
31357         * aout/Makefile: Remove.
31359 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
31361         [BZ #13058]
31362         * manual/examples/argp-ex1.c (main): Format definition in GNU
31363         style.
31364         * manual/examples/argp-ex2.c (main): Likewise.
31365         * manual/examples/argp-ex3.c (main): Likewise.
31366         * manual/examples/argp-ex4.c (main): Likewise.
31367         * manual/examples/longopt.c (main): Use new-style prototype
31368         definition.
31369         * manual/examples/strncat.c (main): Specify return type and use
31370         (void) for arguments.
31371         * manual/examples/subopt.c (main): Use char **argv argument.
31373 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
31375         [BZ #5077]
31376         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
31377         rounding modes.
31379 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
31381         [BZ #6907]
31382         * manual/string.texi (strchr): Change when strchrnul is
31383         recommended.
31385 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
31387         [BZ #174]
31388         * manual/locale.texi (setlocale): Document LOCPATH.
31390 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
31392         [BZ #10210]
31393         * manual/process.texi (execle): Move @dots{} before last argument.
31395 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
31397         [BZ #12047]
31398         * manual/charset.texi (Generic Charset Conversion): Fix typo
31399         (LC_TYPE -> LC_CTYPE).
31401 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
31403         [BZ #5805]
31404         * manual/arith.texi (scalbn): Use @var{} on parameter names.
31405         (scalbnf): Likewise.
31406         (scalbnl): Likewise.
31407         (scalbln): Likewise.
31408         (scalblnf): Likewise.
31409         (scalblnl): Likewise.
31410         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
31411         (vwarnx): Likewise.
31412         (verr): Likewise.
31413         (verrx): Likewise.
31414         * manual/filesys.texi (telldir): Use braces around return type.
31415         * manual/llio.texi (mmap): Add space after comma.
31416         (mmap64): Likewise.
31417         * manual/math.texi (jn): Use @var{} on parameter names.
31418         (jnf): Likewise.
31419         (jnl): Likewise.
31420         (yn): Likewise.
31421         (ynf): Likewise.
31422         (ynl): Likewise.
31423         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
31424         line.
31425         * manual/resource.texi (ulimit): Use @dots{} instead of literal
31426         "...".
31427         (sched_get_priority_min): Remove semicolon on @deftypefun line.
31428         (sched_get_priority_max): Likewise.
31429         * manual/signal.texi (sigvec): Add space after comma.
31430         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
31431         names.
31432         (if_indextoname): Likewise.
31433         (if_freenameindex): Likewise.
31434         (sendto): Use ',' instead of '.' in prototype.
31435         * manual/startup.texi (syscall): Use @dots{} instead of literal
31436         "...".
31437         * manual/stdio.texi (__fpending): Separate initial words of
31438         paragraph from @deftypefun line.
31439         * manual/syslog.texi (syslog): Use @dots{} instead of literal
31440         "...".
31441         (vsyslog): Use @var{} on parameter names.
31442         * manual/terminal.texi (stty): Use @var{} on parameter names.
31443         * manual/users.texi (getutmp): Use @var{} on parameter names.
31444         (getutmpx): Likewise.
31446 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
31448         [BZ #6884]
31449         * manual/stdio.texi (fopen): Fix typos in description of
31450         ",ccs=STRING".
31452 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
31454         [BZ #4026]
31455         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
31456         get clock_id definition.
31458 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
31460         [BZ #4822]
31461         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
31462         (madvise): Cast every argument to void on its own.
31464 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
31466         [BZ #9902]
31467         * manual/startup.texi (Exit Status): Fix typo.
31469 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
31471         [BZ #10140]
31472         * manual/examples/argp-ex1.c: Include <stdlib.h>.
31473         * manual/examples/argp-ex2.c: Likewise.
31474         * manual/examples/argp-ex3.c: Likewise.
31476 2012-02-16  Richard Henderson  <rth@redhat.com>
31478         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
31479         * sysdeps/s390/s390-32/initfini.c: Remove.
31480         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
31481         * sysdeps/s390/s390-64/initfini.c: Remove.
31483 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
31485         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
31486         compiler output for sysdeps/generic/initfini.c.
31487         * sysdeps/sh/elf/initfini.c: Remove file.
31489 2012-02-16  David S. Miller  <davem@davemloft.net>
31491         [BZ #11494]
31492         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
31494         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
31495         * sysdeps/sparc/crti.S: New file.
31496         * sysdeps/sparc/crtn.S: New file.
31497         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
31498         * sysdeps/sparc/sparc64/Makefile: Likewise.
31500 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
31502         [BZ #3335]
31503         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
31505 2012-02-15  Roland McGrath  <roland@hack.frob.com>
31507         [BZ #4822]
31508         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
31510         * mach/devstream.c (cookie_io_functions_t): Macro removed.
31511         (write, read, close): Likewise.
31512         Patch by Aurelien Jarno <aurelien@aurel32.net>.
31514 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
31516         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
31517         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
31518         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
31519         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
31520         <bits/signalfd.h>.
31521         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
31522         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
31523         bits/signalfd.h.
31525 2012-02-14  Marek Polacek  <polacek@redhat.com>
31527         * sysdeps/x86_64/crti.S: New file.
31528         * sysdeps/x86_64/crtn.S: New file.
31529         * sysdeps/x86_64/elf/initfini.c: Remove file.
31531 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
31533         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
31534         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
31535         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
31536         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
31537         <bits/inotify.h>.
31538         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
31539         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
31540         bits/inotify.h.
31542 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
31544         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
31545         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
31546         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
31547         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
31548         <bits/eventfd.h>.
31549         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
31550         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
31551         bits/eventfd.h.
31553 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
31555         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
31556         __feraiseexcept instead of feraiseexcept.
31558         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
31559         nanosleep invocations.
31560         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
31561         strings, and add error checking for a nanosleep invocations.
31563 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
31565         Replace FSF snail mail address with URLs, as per GNU coding standards.
31566         Most of the snail mail addresses were wrong anyway, and omitting
31567         them makes the source code easier to maintain.  Almost all of the
31568         changes are to license notices and to locale LC_IDENTIFICATION
31569         addresses, except for this one:
31570         * manual/libc.texinfo: In "Published by", give the FSF's URL,
31571         not its snail mail address.
31573 2012-02-09  Richard Henderson  <rth@twiddle.net>
31575         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
31576         of kernel-features.h.
31578         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
31580 2012-02-08  Marek Polacek  <polacek@redhat.com>
31582         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
31583         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
31584         * sysdeps/gnu/_G_config.h: Likewise.
31585         * sysdeps/generic/_G_config.h: Likewise.
31587 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
31589         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
31590         tests.
31591         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31593         * sysdeps/powerpc/powerpc32/crti.S: New file.
31594         * sysdeps/powerpc/powerpc32/crtn.S: New file.
31595         * sysdeps/powerpc/powerpc64/crti.S: New file.
31596         * sysdeps/powerpc/powerpc64/crtn.S: New file.
31598         * Makeconfig (have-initfini): Don't set.
31599         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
31600         * configure.in (nopic_initfini): Don't substitute.
31601         * config.h.in (HAVE_INITFINI): Don't #undef.
31602         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
31603         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
31605 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
31607         Support crti.S and crtn.S provided directly by architectures.
31608         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
31609         [crti.S in sysdirs] (omit-deps): Likewise.
31610         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
31611         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
31612         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
31613         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
31614         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
31615         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
31616         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
31617         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
31618         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
31619         compiler output for sysdeps/generic/initfini.c.
31620         * sysdeps/i386/elf/Makefile: Remove file.
31621         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
31623 2012-02-07  Marek Polacek  <polacek@redhat.com>
31625         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
31626         * sysdeps/gnu/_G_config.h: Likewise.
31627         * sysdeps/mach/hurd/_G_config.h: Likewise.
31629 2012-02-07  Marek Polacek  <polacek@redhat.com>
31631         * math/Makefile (tests): Add tst-CMPLX2.
31632         * math/tst-CMPLX2.c: New file.
31634 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
31636         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
31638         * math/libm-test.inc (jn_test): Add missing L suffix.
31640 2012-02-06  Marek Polacek  <polacek@redhat.com>
31642         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
31643         * sysdeps/i386/fpu/e_powf.S: Likewise.
31644         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
31645         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
31646         * sysdeps/i386/fpu/e_acosh.S: Likewise.
31647         * sysdeps/i386/fpu/e_pow.S: Likewise.
31648         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
31649         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
31650         * sysdeps/i386/fpu/s_expm1.S: Likewise.
31651         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
31652         * sysdeps/i386/fpu/e_log2.S: Likewise.
31653         * sysdeps/i386/fpu/e_log2l.S: Likewise.
31654         * sysdeps/i386/fpu/e_scalb.S: Likewise.
31655         * sysdeps/i386/fpu/e_powl.S: Likewise.
31656         * sysdeps/i386/fpu/s_log1p.S: Likewise.
31657         * sysdeps/i386/fpu/e_log10f.S: Likewise.
31658         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
31659         * sysdeps/i386/fpu/e_logl.S: Likewise.
31660         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
31661         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
31662         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
31663         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
31664         * sysdeps/i386/fpu/e_log2f.S: Likewise.
31665         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
31666         * sysdeps/i386/fpu/e_log.S: Likewise.
31667         * sysdeps/i386/fpu/s_cexp.S: Likewise.
31668         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
31669         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
31670         * sysdeps/i386/fpu/e_logf.S: Likewise.
31671         * sysdeps/i386/fpu/e_log10l.S: Likewise.
31672         * sysdeps/i386/fpu/e_atanh.S: Likewise.
31673         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
31674         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
31675         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
31676         * sysdeps/i386/fpu/e_log10.S: Likewise.
31677         * sysdeps/i386/fpu/s_frexp.S: Likewise.
31678         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
31679         * sysdeps/i386/fpu/s_asinh.S: Likewise.
31680         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
31681         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
31682         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
31683         * sysdeps/i386/asm-syntax.h: Likewise.
31684         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
31685         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
31686         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
31687         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
31688         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
31689         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
31690         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
31691         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
31692         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
31693         * sysdeps/powerpc/sysdep.h: Likewise.
31694         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
31695         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
31697 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
31699         [BZ #411]
31700         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
31702 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
31704         * sysdeps/i386/sysdep.h: Include <features.h>.
31705         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
31706         version.
31708 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
31710         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
31711         Define.
31712         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
31713         LOAD_PIC_REG_STR.
31715 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
31717         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
31718         (SETUP_PIC_REG): Use GET_PC_THUNK.
31719         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
31720         macro.
31722 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
31724         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
31725         for non-PIC compilation.
31726         (SETUP_PIC_REG): Add .p2align directive.
31727         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
31728         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
31729         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
31730         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
31731         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
31732         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
31733         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
31734         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
31735         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
31736         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
31737         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
31738         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
31739         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
31740         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
31741         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
31742         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
31743         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
31744         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
31745         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
31746         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
31747         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
31748         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
31749         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
31750         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
31751         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
31752         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
31753         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
31754         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
31755         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
31756         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
31757         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
31758         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
31759         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
31760         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
31761         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
31762         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
31763         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
31764         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
31765         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
31766         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
31767         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
31769 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
31771         * math/tst-CMPLX.c: Include <stdio.h>.
31773 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
31775         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
31776         float.
31777         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
31778         * sysdeps/sparc/bits/mathdef.h: Likewise.
31780 2012-01-31  Marek Polacek  <polacek@redhat.com>
31782         * libio/libio.h: Don't define _PARAMS.
31783         * locale/programs/config.h: Don't define PARAMS.
31784         * stdlib/strtol_l.c: Likewise.
31785         (__strtol_l): Remove PARAMS from the prototype.
31787 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
31789         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
31790         names.  Just use the correct names.  Remove unnecessary wrapper
31791         functions.
31792         * malloc/arena.c: Likewise.
31793         * malloc/hooks.c: Likewise.
31795         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
31796         ARENA_TEST says not to.  Simplify test for creation of a new arena.
31797         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
31799 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
31801         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
31802         into tail calls.
31803         (update_get_addr): New function.
31804         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
31805         GET_ADDR_MODULE parameter.
31807 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
31809         * crypt/cert.c: Remove __STDC__ conditionals.
31810         * crypt/crypt-entry.c: Likewise.
31811         * crypt/crypt_util.c: Likewise.
31812         * libio/filedoalloc.c: Likewise.
31813         * libio/fileops.c: Likewise.
31814         * libio/genops.c: Likewise.
31815         * libio/iofclose.c: Likewise.
31816         * libio/iofdopen.c: Likewise.
31817         * libio/iofopen.c: Likewise.
31818         * libio/iofopen64.c: Likewise.
31819         * libio/iogetdelim.c: Likewise.
31820         * libio/iopopen.c: Likewise.
31821         * libio/obprintf.c: Likewise.
31822         * libio/oldfileops.c: Likewise.
31823         * libio/oldiofclose.c: Likewise.
31824         * libio/oldiofdopen.c: Likewise.
31825         * libio/oldiofopen.c: Likewise.
31826         * libio/oldiopopen.c: Likewise.
31827         * libio/wfiledoalloc.c: Likewise.
31828         * libio/wgenops.c: Likewise.
31829         * locale/programs/xmalloc.c: Likewise.
31830         * misc/syslog.c: Likewise.
31831         * stdio-common/xbug.c: Likewise.
31832         * string/memchr.c: Likewise.
31833         * string/memcmp.c: Likewise.
31834         * string/memrchr.c: Likewise.
31835         * string/rawmemchr.c: Likewise.
31836         * sysdeps/posix/getcwd.c: Likewise.
31837         * time/strftime_l.c: Likewise.
31839 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
31841         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
31842         * config.make.in (config-cflags-sse2avx): Define.
31843         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
31844         Fix typo.
31846 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
31848         * scripts/config.guess: Update from upstream config git repository.
31849         * scripts/config.sub: Likewise.
31851 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
31853         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
31854         (EM_NUM): Update.
31855         (R_TILEPRO_*, R_TILEGX_*): New macros.
31857         * scripts/firstversions.awk: Fix bug in version range handling.
31859         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
31861         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
31863         * include/sys/epoll.h: New file.
31864         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
31865         libc_hidden_def.
31867 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
31869         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
31870         Avoid unnecessary __WORDSIZE == 64 test.
31871         (fmaxf): Use VEX format if possible.
31872         (fmax): Likewise.
31873         (fminf): Likewise.
31874         (fmin): Likewise.
31876         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
31877         * math/math_private.h: Remove libc_fegetround* and
31878         libc_fesetround*.
31879         * sysdeps/i386/configure.in: Check for -msse2avx.
31880         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
31881         also if SSE2AVX is defined.
31882         Remove libc_fegetround* and libc_fesetround*.
31883         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
31884         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
31885         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
31886         of HAS_YMM_USABLE.
31887         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
31888         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
31889         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
31890         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
31891         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
31893         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
31895 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31897         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
31898         size is not set.
31899         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
31901 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
31903         [BZ #13618]
31904         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
31905         relocation.
31906         * Makeconfig (libm): Define.
31907         * elf/Makefile: Add rules to build and run tst-relsort1.
31908         * elf/tst-relsort1.c: New file.
31909         * elf/tst-relsort1mod1.c: New file.
31910         * elf/tst-relsort1mod2.c: New file.
31912 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
31914         * math/s_ldexp.c: Remove __STDC__ conditionals.
31915         * math/s_ldexpf.c: Likewise.
31916         * math/s_ldexpl.c: Likewise.
31917         * math/s_nextafter.c: Likewise.
31918         * math/s_nexttowardf.c: Likewise.
31919         * math/s_significand.c: Likewise.
31920         * math/s_significandf.c: Likewise.
31921         * math/s_significandl.c: Likewise.
31922         * math/w_jnl.c: Likewise.
31923         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
31924         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
31925         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
31926         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
31927         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
31928         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
31929         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
31930         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
31931         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
31932         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
31933         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
31934         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
31935         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
31936         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
31937         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
31938         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
31939         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
31940         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
31941         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
31942         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
31943         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
31944         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
31945         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
31946         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
31947         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
31948         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
31949         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
31950         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
31951         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
31952         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
31953         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
31954         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
31955         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
31956         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
31957         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
31958         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
31959         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
31960         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
31961         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
31962         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
31963         * sysdeps/ieee754/k_standard.c: Likewise.
31964         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
31965         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
31966         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
31967         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
31968         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
31969         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
31970         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
31971         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
31972         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
31973         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
31974         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
31975         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
31976         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
31977         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
31978         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
31979         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
31980         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
31981         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
31982         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
31983         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
31984         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
31985         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
31986         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
31987         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
31988         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
31989         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
31990         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
31991         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
31992         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
31993         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
31994         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
31995         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
31996         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
31997         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
31998         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
31999         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
32000         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
32001         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
32002         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
32003         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
32004         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
32005         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
32006         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
32007         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
32008         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
32009         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
32010         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
32011         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
32012         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
32013         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
32014         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
32015         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
32016         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
32017         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
32018         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
32019         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
32020         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
32021         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
32022         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
32023         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
32024         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
32025         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
32026         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
32027         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
32028         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
32029         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
32030         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
32031         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
32032         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
32033         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
32034         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
32035         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
32036         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
32037         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
32038         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
32039         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
32040         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
32041         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
32042         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
32043         * sysdeps/ieee754/s_matherr.c: Likewise.
32044         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
32045         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
32046         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
32047         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
32049 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
32051         * crypt/md5.h: Remove __STDC__ conditionals.
32052         * libio/libioP.h: Likewise.
32053         * locale/programs/config.h: Likewise.
32054         * sysdeps/generic/sysdep.h: Likewise.
32055         * sysdeps/i386/asm-syntax.h: Likewise.
32056         * sysdeps/s390/asm-syntax.h: Likewise.
32057         * sysdeps/unix/sysdep.h: Likewise.
32058         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
32059         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
32061 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
32063         * libio/libio.h: Remove __STDC__ conditionals.
32064         * malloc/obstack.h: Likewise.
32065         * math/complex.h: Likewise.
32066         * math/math.h: Likewise.
32067         * sysdeps/generic/_G_config.h: Likewise.
32068         * sysdeps/gnu/_G_config.h: Likewise.
32069         * sysdeps/mach/hurd/_G_config.h: Likewise.
32070         * sysdeps/powerpc/bits/mathdef.h: Likewise.
32071         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
32072         * sysdeps/sparc/bits/mathdef.h: Likewise.
32074 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
32076         [BZ #13583]
32077         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
32078         Clean up HAS_* macros.
32079         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
32080         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
32081         possible.
32082         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
32083         HAS_AVX.
32084         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
32085         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
32086         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
32087         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
32088         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
32090 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
32092         * elf/tst-unique3.cc (gets): Remove declaration.
32093         * elf/tst-unique3lib.cc (gets): Likewise.
32094         * elf/tst-unique3lib2.cc (gets): Likewise.
32095         * elf/tst-unique4.cc (gets): Likewise.
32097 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
32099         * include/stdio.h: Add C++ protection.  Add gets declarations and
32100         definitions.
32101         * debug/tst-chk1.c: Don't declare gets here.
32102         * stdio-common/tst-gets.c: Likewise.
32104 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
32106         * posix/glob: Remove directory.
32108 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
32110         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
32112 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
32114         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
32115         of the non-standard EPFNOSUPPORT.
32117 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
32119         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
32120         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
32121         ANYWHERE set to 1 only on KERN_NO_SPACE error.
32123 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
32125         * wcsmbs/uchar.h: Test __STDC_VERSION__.
32127 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
32129         * nscd/aicache.c (addhstaiX): Do not cache negative results of
32130         transient errors.
32131         * nscd/grpcache.c (cache_addgr): Likewise.
32132         * nscd/hstcache.c (cache_addhst): Likewise.
32133         * nscd/initgrcache.c (addinitgroupsX): Likewise.
32134         * nscd/pwdcache.c (cache_addpw): Likewise.
32135         * nscd/servicescache.c (cache_addserv): Likewise.
32137 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
32139         * malloc/malloc.c: Various cleanups.
32140         * malloc/hooks.c: Likewise.
32142         * stdlib/Makefile (tests): Add bug-fmtmsg1.
32143         * stdlib/bug-fmtmsg1.c: New file.
32145         * stdlib/fmtmsg.c (init): Add missing unlock.
32146         Patch by Peng Haitao <penght@cn.fujitsu.com>.
32148 2012-01-12  Marek Polacek  <polacek@redhat.com>
32150         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
32151         and _GNU_SOURCE.
32153 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
32155         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
32156         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
32157         macro to ensure uniqueness of label name.
32158         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
32159         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
32161 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
32163         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
32165         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
32166         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
32167         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
32168         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
32170 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
32172         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
32174         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
32175         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
32176         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
32178         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
32180         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
32181         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
32182         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
32183         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
32185         * math/bits/math-finite.h: Add ldexp support.
32187 2012-01-10  Marek Polacek  <polacek@redhat.com>
32189         * locale/programs/localedef.h (show_archive_content): Add noreturn
32190         attribute.
32192 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
32194         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
32196 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
32198         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
32200         * io/Makefile (headers): Add bits/poll2.h.
32202 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
32204         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
32205         typo #include statement.
32207 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
32209         * include/sys/cdefs.h: Define __attribute_alloc_size.
32210         * catgets/gencat.c: Add alloc_size attribute and apply consistently
32211         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
32212         * elf/pldd.c: Likewise.
32213         * iconv/iconv_charmap.c: Likewise.
32214         * iconv/iconvconfig.c: Likewise.
32215         * iconv/strtab.c: Likewise.
32216         * locale/programs/locale.c: Likewise.
32217         * locale/programs/localedef.h: Likewise.
32218         * locale/programs/simple-hash.c: Likewise.
32219         * nscd/nscd.h: Likewise.
32220         * nss/makedb.c: Likewise.
32221         * sysdeps/generic/ldconfig.h: Likewise.
32222         * locale/programs/localedef.c: Remove xmalloc prototype.
32223         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
32225 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
32227         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
32228         appropriate.
32230 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
32232         * math/Makefile (tests): Add tst-CMPLX.
32233         * math/tst-CMPLX.c: New file.
32235         * math/complex.h (CMPLXL): Fix typo.
32237         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
32238         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
32239         GLIBC_2.16.
32240         * debug/tst-chk1.c: Add poll and ppoll tests.
32241         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
32242         * include/sys/poll.h: Add hidden proto for ppoll.
32243         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
32244         * sysdeps/mach/hurd/ppoll.c: Likewise.
32245         * io/ppoll.c: Likewise.
32246         * debug/poll_chk.c: New file.
32247         * debug/ppoll_chk.c: New file.
32248         * include/bits/poll2.h: New file.
32249         * io/bits/poll2.h: New file.
32251         [BZ #1350]
32252         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
32254         * configure.in: static is always set to yes.  Remove.
32255         * config.make.in: Don't set build-static.
32256         * Makeconfig: Remove use of build-static.
32257         * dlfcn/Makefile: Likewise.
32258         * elf/Makefile: Likewise.
32259         * math/Makefile: Likewise.
32260         * misc/Makefile: Likewise.
32261         * nptl/Makefile: Likewise.
32262         * sysdeps/mach/hurd/Makefile: Likewise.
32264         * configure.in: PWD_P is not used anymore.
32265         * config.make.in: Remove PWD_P entry.
32267         * configure.in: Remove last remnants of RANLIB.
32268         No need to check for signed size_t anymore.
32269         Don't set libc_commonpagesize and libc_relro_required here for Alpha
32270         and IA-64.
32271         Remove __builtin_expect test because we require at least gcc 3.4.
32272         * aclocal.m4: Likewise.
32274         * wcsmbs/mbrtoc16.c: Implement using towc function.
32275         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
32276         * wcsmbs/wcsmbsload.c: Likewise.
32277         * iconv/gconv_simple.c: Likewise.
32278         * iconv/gconv_int.h: Likewise.
32279         * iconv/gconv_builtin.h: Likewise.
32280         * iconv/iconv_prog.c: Remove CHAR16 handling.
32282         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
32284         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
32286         * configure.in: Remove --with-elf and --enable-bounded options.
32287         Dont set base_machine for ia64.  More non-ELF conditions removed.
32288         Remove testing and setting of leading underscore information.
32289         * config.make.in (build-bounded): Set to no.
32290         * config.h.in: Remove NO_UNDERSCORES entry.
32291         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
32292         them.
32293         * csu/start.c: Remove !NO_UNDERSCORE code.
32294         * locale/localeinfo.h: Likewise.
32295         * sysdeps/generic/machine-gmon.h: Likewise.
32296         * sysdeps/generic/sysdep.h: Likewise.
32297         * sysdeps/i386/sysdep.h: Likewise.
32298         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
32299         * sysdeps/mach/sysdep.h: Likewise.
32300         * sysdeps/s390/s390-32/sysdep.h: Likewise.
32301         * sysdeps/s390/s390-64/sysdep.h: Likewise.
32302         * sysdeps/sh/sysdep.h: Likewise.
32303         * sysdeps/sparc/sparc32/alloca.S: Likewise.
32304         * sysdeps/unix/i386/sysdep.S: Likewise.
32305         * sysdeps/unix/sparc/start.c: Likewise.
32306         * sysdeps/unix/sparc/sysdep.S: Likewise.
32307         * sysdeps/unix/sparc/sysdep.h: Likewise.
32308         * sysdeps/unix/start.c: Likewise.
32309         * sysdeps/unix/x86_64/sysdep.S: Likewise.
32310         * sysdeps/x86_64/sysdep.h: Likewise.
32312 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
32314         [BZ #13553]
32315         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
32316         for non-gcc.
32317         * argp/argp-fmtstream.h: Use const instead __const.
32318         * argp/argp.h: Likewise.
32319         * assert/assert.h: Likewise.
32320         * bits/fenv.h: Likewise.
32321         * bits/sched.h: Likewise.
32322         * bits/sigset.h: Likewise.
32323         * bits/sigthread.h: Likewise.
32324         * catgets/nl_types.h: Likewise.
32325         * conform/data/pthread.h-data: Likewise.
32326         * crypt/crypt-private.h: Likewise.
32327         * crypt/crypt.h: Likewise.
32328         * crypt/crypt_util.c: Likewise.
32329         * ctype/ctype.h: Likewise.
32330         * debug/execinfo.h: Likewise.
32331         * debug/mbsnrtowcs_chk.c: Likewise.
32332         * debug/mbsrtowcs_chk.c: Likewise.
32333         * debug/wcsnrtombs_chk.c: Likewise.
32334         * debug/wcsrtombs_chk.c: Likewise.
32335         * debug/wcstombs_chk.c: Likewise.
32336         * dirent/dirent.h: Likewise.
32337         * dlfcn/dlfcn.h: Likewise.
32338         * elf/neededtest4.c: Likewise.
32339         * grp/grp.h: Likewise.
32340         * gshadow/gshadow.h: Likewise.
32341         * iconv/gconv.h: Likewise.
32342         * iconv/gconv_int.h: Likewise.
32343         * iconv/gconv_simple.c: Likewise.
32344         * iconv/iconv.h: Likewise.
32345         * iconv/loop.c: Likewise.
32346         * iconv/skeleton.c: Likewise.
32347         * include/aio.h: Likewise.
32348         * include/aliases.h: Likewise.
32349         * include/argz.h: Likewise.
32350         * include/arpa/inet.h: Likewise.
32351         * include/assert.h: Likewise.
32352         * include/dirent.h: Likewise.
32353         * include/dlfcn.h: Likewise.
32354         * include/execinfo.h: Likewise.
32355         * include/fcntl.h: Likewise.
32356         * include/fenv.h: Likewise.
32357         * include/glob.h: Likewise.
32358         * include/grp.h: Likewise.
32359         * include/libintl.h: Likewise.
32360         * include/mntent.h: Likewise.
32361         * include/netdb.h: Likewise.
32362         * include/pwd.h: Likewise.
32363         * include/rpc/netdb.h: Likewise.
32364         * include/sched.h: Likewise.
32365         * include/search.h: Likewise.
32366         * include/shadow.h: Likewise.
32367         * include/signal.h: Likewise.
32368         * include/stdio.h: Likewise.
32369         * include/stdlib.h: Likewise.
32370         * include/string.h: Likewise.
32371         * include/sys/socket.h: Likewise.
32372         * include/sys/stat.h: Likewise.
32373         * include/sys/statfs.h: Likewise.
32374         * include/sys/statvfs.h: Likewise.
32375         * include/sys/syslog.h: Likewise.
32376         * include/sys/time.h: Likewise.
32377         * include/sys/uio.h: Likewise.
32378         * include/time.h: Likewise.
32379         * include/unistd.h: Likewise.
32380         * include/utmp.h: Likewise.
32381         * include/wchar.h: Likewise.
32382         * include/wctype.h: Likewise.
32383         * inet/aliases.h: Likewise.
32384         * inet/arpa/inet.h: Likewise.
32385         * inet/netinet/ether.h: Likewise.
32386         * inet/netinet/in.h: Likewise.
32387         * intl/libintl.h: Likewise.
32388         * io/bits/fcntl2.h: Likewise.
32389         * io/fcntl.h: Likewise.
32390         * io/ftw.h: Likewise.
32391         * io/sys/poll.h: Likewise.
32392         * io/sys/stat.h: Likewise.
32393         * io/sys/statfs.h: Likewise.
32394         * io/sys/statvfs.h: Likewise.
32395         * io/utime.h: Likewise.
32396         * libio/bits/stdio.h: Likewise.
32397         * libio/bits/stdio2.h: Likewise.
32398         * libio/libio.h: Likewise.
32399         * libio/libioP.h: Likewise.
32400         * libio/stdio.h: Likewise.
32401         * locale/lc-ctype.c: Likewise.
32402         * locale/locale.h: Likewise.
32403         * login/utmp.h: Likewise.
32404         * malloc/arena.c: Likewise.
32405         * malloc/malloc.c: Likewise.
32406         * malloc/malloc.h: Likewise.
32407         * malloc/mcheck.c: Likewise.
32408         * malloc/mtrace.c: Likewise.
32409         * math/bits/mathcalls.h: Likewise.
32410         * math/fenv.h: Likewise.
32411         * math/math_private.h: Likewise.
32412         * misc/bits/error.h: Likewise.
32413         * misc/bits/syslog.h: Likewise.
32414         * misc/err.h: Likewise.
32415         * misc/error.h: Likewise.
32416         * misc/fstab.h: Likewise.
32417         * misc/mntent.h: Likewise.
32418         * misc/regexp.h: Likewise.
32419         * misc/search.h: Likewise.
32420         * misc/sgtty.h: Likewise.
32421         * misc/sys/mman.h: Likewise.
32422         * misc/sys/syslog.h: Likewise.
32423         * misc/sys/uio.h: Likewise.
32424         * misc/sys/xattr.h: Likewise.
32425         * misc/ttyent.h: Likewise.
32426         * nis/rpcsvc/ypclnt.h: Likewise.
32427         * nss/nss.h: Likewise.
32428         * posix/bits/unistd.h: Likewise.
32429         * posix/fnmatch.h: Likewise.
32430         * posix/glob.h: Likewise.
32431         * posix/sched.h: Likewise.
32432         * posix/spawn.h: Likewise.
32433         * posix/sys/wait.h: Likewise.
32434         * posix/unistd.h: Likewise.
32435         * posix/wordexp.h: Likewise.
32436         * pwd/pwd.h: Likewise.
32437         * resolv/netdb.h: Likewise.
32438         * resource/sys/resource.h: Likewise.
32439         * rt/aio.h: Likewise.
32440         * rt/bits/mqueue2.h: Likewise.
32441         * rt/mqueue.h: Likewise.
32442         * shadow/shadow.h: Likewise.
32443         * signal/signal.h: Likewise.
32444         * socket/send.c: Likewise.
32445         * socket/sendto.c: Likewise.
32446         * socket/sys/socket.h: Likewise.
32447         * stdio-common/printf.h: Likewise.
32448         * stdlib/bits/stdlib.h: Likewise.
32449         * stdlib/fmtmsg.h: Likewise.
32450         * stdlib/monetary.h: Likewise.
32451         * stdlib/stdlib.h: Likewise.
32452         * stdlib/ucontext.h: Likewise.
32453         * streams/stropts.h: Likewise.
32454         * string/argz.h: Likewise.
32455         * string/bits/string2.h: Likewise.
32456         * string/string.h: Likewise.
32457         * string/strings.h: Likewise.
32458         * sunrpc/rpc/auth.h: Likewise.
32459         * sunrpc/rpc/auth_des.h: Likewise.
32460         * sunrpc/rpc/clnt.h: Likewise.
32461         * sunrpc/rpc/netdb.h: Likewise.
32462         * sunrpc/rpc/pmap_clnt.h: Likewise.
32463         * sunrpc/rpc/xdr.h: Likewise.
32464         * sysdeps/generic/inttypes.h: Likewise.
32465         * sysdeps/generic/net/if.h: Likewise.
32466         * sysdeps/generic/sys/swap.h: Likewise.
32467         * sysdeps/gnu/net/if.h: Likewise.
32468         * sysdeps/gnu/utmpx.h: Likewise.
32469         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
32470         * sysdeps/i386/i486/bits/string.h: Likewise.
32471         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
32472         * sysdeps/s390/bits/string.h: Likewise.
32473         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
32474         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
32475         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
32476         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
32477         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
32478         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
32479         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
32480         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
32481         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
32482         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
32483         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
32484         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
32485         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
32486         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
32487         * sysdeps/unix/sysv/linux/readv.c: Likewise.
32488         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
32489         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
32490         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
32491         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
32492         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
32493         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
32494         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
32495         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
32496         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
32497         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
32498         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
32499         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
32500         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
32501         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
32502         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
32503         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
32504         * sysvipc/sys/ipc.h: Likewise.
32505         * sysvipc/sys/msg.h: Likewise.
32506         * sysvipc/sys/sem.h: Likewise.
32507         * sysvipc/sys/shm.h: Likewise.
32508         * termios/termios.h: Likewise.
32509         * time/sys/time.h: Likewise.
32510         * time/time.h: Likewise.
32511         * wcsmbs/bits/wchar2.h: Likewise.
32512         * wcsmbs/uchar.h: Likewise.
32513         * wcsmbs/wchar.h: Likewise.
32514         * wctype/wctype.h: Likewise.
32516         [BZ #13551]
32517         * Makeconfig: Remove all but ELF support including AIX support.
32518         * Makerules: Likewise.
32519         * config.h.in: Likewise.
32520         * config.make.in: Likewise.
32521         * configure: Likewise.
32522         * configure.in: Likewise.
32523         * csu/Makefile: Likewise.
32524         * csu/version.c: Likewise.
32525         * debug/Makefile: Likewise.
32526         * dlfcn/Makefile: Likewise.
32527         * elf/Makefile: Likewise.
32528         * extra-lib.mk: Likewise.
32529         * iconv/Makefile: Likewise.
32530         * include/libc-symbols.h: Likewise.
32531         * include/shlib-compat.h: Likewise.
32532         * resolv/Makefile: Likewise.
32533         * resolv/res_libc.c: Likewise.
32534         * rt/Makefile: Likewise.
32535         * sysdeps/i386/asm-syntax.h: Likewise.
32536         * sysdeps/i386/sysdep.h: Likewise.
32537         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
32538         * sysdeps/mach/sysdep.h: Likewise.
32539         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
32540         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
32541         * sysdeps/s390/asm-syntax.h: Likewise.
32542         * sysdeps/s390/s390-32/sysdep.h: Likewise.
32543         * sysdeps/s390/s390-64/sysdep.h: Likewise.
32544         * sysdeps/sh/sysdep.h: Likewise.
32545         * sysdeps/unix/sparc/sysdep.h: Likewise.
32546         * sysdeps/wordsize-32/divdi3.c: Likewise.
32547         * sysdeps/x86_64/sysdep.h: Likewise.
32549         * argp/Versions: Remove _argp_unlock_xxx.
32551         [BZ #13559]
32552         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
32553         * abilist/libBrokenLocale.abilist: Likewise.
32554         * abilist/libanl.abilist: Likewise.
32555         * abilist/libc.abilist: Likewise.
32556         * abilist/libcrypt.abilist: Likewise.
32557         * abilist/libdl.abilist: Likewise.
32558         * abilist/libm.abilist: Likewise.
32559         * abilist/libnsl.abilist: Likewise.
32560         * abilist/libpthread.abilist: Likewise.
32561         * abilist/libresolv.abilist: Likewise.
32562         * abilist/librt.abilist: Likewise.
32563         * abilist/libthread_db.abilist: Likewise.
32564         * abilist/libutil.abilist: Likewise.
32565         * abilist/libnss_db.abilist: New file.
32567         * scripts/abilist.awk: Add support for indirect functions.
32569         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
32571         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
32573         * shlib-versions: Remove entries for ports architectures.
32575         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
32576         files in ports.
32577         * elf/stackguard-macros.h: Remove support for IA-64.
32578         * elf/tst-auditmod1.c: Likewise.
32579         * sysdeps/generic/ldsodefs.h: Likewise.
32581         * sysdeps/unix/sysv/linux/configure.in: Ports should define
32582         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
32583         configure files.
32585         [BZ #13552]
32586         * configure.in: Remove --enable-omitfp support.
32587         * FAQ.in: Adjust.
32588         * config.make.in: Likewise.
32589         * Makeconfig: Likewise.
32590         * manual/install.texi: Likewise.
32592         In case anyone cares, the IA-64 architecture could move to ports.
32593         * sysdeps/ia64/*: Removed.
32594         * sysdeps/unix/sysv/linux/ia64/*: Removed.
32595         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
32597         [BZ #13555]
32598         * configure.in: Remove entries for unsupported architectures.
32600         [BZ #13533]
32601         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
32602         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
32603         routines.
32604         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
32605         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
32606         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
32607         fall back to using wcrtomb.
32608         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
32609         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
32610         renaming.
32611         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
32612         * wcsmbs/tst-c16c32-1.c: New file.
32614         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
32615         local variable.
32617         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
32619         * elf/tst-unique3.cc: Add explicit declaration of gets.
32620         * elf/tst-unique3lib.cc: Likewise.
32621         * elf/tst-unique3lib2.cc: Likewise.
32622         * elf/tst-unique4.cc: Likewise.
32624         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
32626 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
32628         [BZ #13566]
32629         * assert/assert.h (static_assert): Don't define for C++.
32630         * libio/stdio.h (gets): Do declare for C++ <= C++11.
32631         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
32633 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
32635         * iconv/loop.c (single loop): Fix assertion in storing of
32636         remaining bytes.
32638         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
32640 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
32642         * posix/getconf.c: Update copyright year.
32643         * nss/getent.c: Likewise.
32644         * nss/makedb.c: Likewise.
32645         * iconv/iconvconfig.c: Likewise.
32646         * iconv/iconv_prog.c: Likewise.
32647         * elf/ldconfig.c: Likewise.
32648         * elf/pldd.c: Likewise.
32649         * elf/sotruss.ksh: Likewise.
32650         * catgets/gencat.c: Likewise.
32651         * csu/version.c: Likewise.
32652         * elf/ldd.bash.in: Likewise.
32653         * elf/sprof.c (print_version): Likewise.
32654         * locale/programs/locale.c: Likewise.
32655         * locale/programs/localedef.c: Likewise.
32656         * login/programs/pt_chown.c: Likewise.
32657         * nscd/nscd.c (print_version): Likewise.
32658         * debug/xtrace.sh: Likewise.
32659         * malloc/memusage.sh: Likewise.
32660         * malloc/mtrace.pl: Likewise.
32661         * debug/catchsegv.sh: Likewise.
32663 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
32665         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
32666         pure attribute.
32668 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
32670         [BZ #13533]
32671         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
32672         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
32673         transformations.
32674         * iconv/gconv_int.h: Likewise.
32675         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
32676         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
32677         from libc for GLIBC_2.16.
32678         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
32679         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
32680         * wcsmbs/uchar.h: Really define mbstate_t.
32681         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
32682         * wcsmbs/c16rtomb.c: New file.
32683         * wcsmbs/mbrtoc16.c: New file.
32684         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
32685         for C/POSIX locale.
32686         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
32687         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
32689         * wcsmbs/wchar.h: Add missing __restrict.
32691 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
32693         [BZ #13532]
32694         * time/Makefile (routines): Add timespec_get.
32695         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
32696         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
32697         timespec for ISO C11.
32698         * time/timespec_get.c: New file.
32699         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
32700         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
32702         [BZ #13531]
32703         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
32704         * stdlib/stdlib.h: Declare aligned_alloc.
32705         * Versions.def: Add GLIBC_2.16 for libc.
32706         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
32708         [BZ 13527]
32709         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
32710         ISO C11.
32712         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
32713         code.
32715         [BZ #13528]
32716         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
32718         [BZ #13529]
32719         * assert/assert.h (static_assert): Define.
32721         * version.h: Update for 2.16 development version.
32723         [BZ #13526]
32724         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
32725         _ISOC11_SOURCE.
32727         * version.h (RELEASE): Bump for 2.15 release.
32728         * include/features.h (__GLIBC_MINOR__): Bump to 15.
32730         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
32731         Patch by Marek Polacek <mpolacek@redhat.com>.
32733         * bits/byteswap.h: Protect long long constants with __extension__.
32734         * sysdeps/i386/bits/byteswap.h: Likewise.
32735         * sysdeps/ia64/bits/byteswap.h: Likewise.
32736         * sysdeps/s390/bits/byteswap.h: Likewise.
32737         * sysdeps/x86_64/bits/byteswap.h: Likewise.
32739 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
32741         [BZ #13540]
32742         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
32743         destination buffer.
32744         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
32746 2011-12-23  Marek Polacek  <polacek@redhat.com>
32748         * elf/dl-addr.c (determine_info): Add inline keyword.
32749         * elf/tst-auditmod4b.c (check_avx): Likewise.
32750         * elf/tst-auditmod6b.c (check_avx): Likewise.
32751         * elf/tst-auditmod6c.c (check_avx): Likewise.
32752         * elf/tst-auditmod7b.c (check_avx): Likewise.
32754 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
32756         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
32757         !__SSE_MATH__.
32759 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
32761         [BZ #13540]
32762         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
32763         processing for last bytes.
32765 2011-08-06  Bruno Haible  <bruno@clisp.org>
32767         [BZ #13061]
32768         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
32769         U+0385, not to U+1FEE.
32771         [BZ #13062]
32772         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
32773         entry for U+00A5 U+0301.
32775 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
32777         [BZ #13166]
32778         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
32779         buffer for the output is too small.
32781         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
32782         optimization.
32784         [BZ #13185]
32785         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
32786         SSE flags if possible.
32788 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
32790         [BZ #13540]
32791         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
32792         processing for last bytes.
32794 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
32796         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
32797         (syscall-list-default-options, syscall-list-default-condition)
32798         (syscall-list-includes): Define.
32799         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
32800         list of ABIs and options and #if conditions for each ABI.  Do not
32801         handle common syscalls between ABIs specially.
32802         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
32803         Remove.
32804         (syscall-list-variants, syscall-list-32bit-options)
32805         (syscall-list-32bit-condition, syscall-list-64bit-options)
32806         (syscall-list-64bit-condition): Define.
32807         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
32808         (syscall-list-variants, syscall-list-32bit-options)
32809         (syscall-list-32bit-condition, syscall-list-64bit-options)
32810         (syscall-list-64bit-condition): Define.
32811         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
32812         Remove.
32813         (syscall-list-variants, syscall-list-32bit-options)
32814         (syscall-list-32bit-condition, syscall-list-64bit-options)
32815         (syscall-list-64bit-condition): Define.
32816         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
32817         Remove.
32818         (syscall-list-variants, syscall-list-32bit-options)
32819         (syscall-list-32bit-condition, syscall-list-64bit-options)
32820         (syscall-list-64bit-condition): Define.
32822 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
32824         * locale/iso-639.def: Add brx entry.
32826         [BZ #13328]
32827         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
32828         Proposed by Mariusz_Cukr <marcukr@op.pl>.
32830         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
32831         __feraiseexcept_renamed.
32833 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
32835         [BZ #13538]
32836         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
32837         EPOLLET with unsigned values.
32838         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
32839         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
32841         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
32842         to large cancellation.
32843         * math/s_cacoshf.c: Likewise.
32844         * math/s_cacoshl.c: Likewise.
32846 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
32848         [BZ #13305]
32849         [BZ #12786]
32850         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
32851         * math/s_cacoshf.c: Likewise.
32852         * math/s_cacoshl.c: Likewise.
32854 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
32856         [BZ #13439]
32857         * iconv/gconv.h: Define __GCONV_SWAP.
32858         * iconvdata/unicode.c: The swap bit must be stored in __flags.
32859         * iconvdata/utf-16.c: Likewise.
32860         * iconvdata/utf-32.c: Likewise.
32862 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
32864         [BZ #13524]
32865         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
32866         numerator after shifting it by one limb.
32868 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
32870         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
32871         under [__USE_EXTERN_INLINES].
32873 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
32875         [BZ #13446]
32876         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
32878 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32880         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
32881         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
32882         optimized code.
32883         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
32884         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
32885         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
32886         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
32887         for strncasecmp/strncasecmp_l compilation.
32888         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
32889         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
32891 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
32893         [BZ #13484]
32894         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
32895         of __asm__.
32897 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
32899         [BZ #13506]
32900         * time/tzfile.c (__tzfile_read): Check values from file header.
32902 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
32904         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
32905         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
32906         * powerpc/powerpc32/dl-start.S: Likewise.
32907         * powerpc/powerpc32/elf/start.S: Likewise.
32908         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
32909         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
32910         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
32911         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
32912         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
32913         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
32914         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
32915         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
32916         * powerpc/powerpc32/fpu/s_round.S: Likewise.
32917         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
32918         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
32919         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
32920         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
32921         * powerpc/powerpc32/memset.S: Likewise.
32922         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
32923         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
32924         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
32925         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
32926         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
32927         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
32928         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
32929         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
32930         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
32931         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
32932         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
32933         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
32934         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
32936 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32938         * math/libm-test.inc: Added more nearbyint tests.
32939         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
32940         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
32941         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
32942         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
32944 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
32946         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
32947         FD_CLOEXEC.
32949 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
32951         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
32952         Add wcscpy-ssse3 wcscpy-c.
32953         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
32954         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
32955         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
32956         * sysdeps/x86_64/wcschr.S: New file.
32957         * sysdeps/x86_64/wcsrchr.S: New file.
32958         * string/test-strcmp.c: Remove checking of wcscmp function for
32959         wrong alignments.
32960         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
32961         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
32962         wcsrchr-sse2 wcsrchr-c.
32963         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
32964         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
32965         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
32966         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
32967         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
32968         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
32969         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
32970         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
32971         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
32972         * wcsmbc/wcschr.c (WCSCHR): New macro.
32974 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
32976         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
32977         * wcsmbs/test-wcsrchr.c: New file.
32978         * string/test-strrchr.c: Add wcsrchr support.
32979         (WIDE): New macro.
32980         * wcsmbs/test-wcscpy.c: New file.
32981         * string/test-strcpy.c: Add wcscpy support.
32982         (WIDE): New macro.
32984 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
32986         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
32987         the inner loop.
32989 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
32991         [BZ #13472]
32992         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
32994 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
32996         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
32997         Minor optimizations.
32999         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
33000         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
33001         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
33003 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
33005         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
33006         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
33007         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
33008         for gcc to avoid warnings.
33009         * inet/Makefile (tests): Add tst-checks.
33010         * inet/tst-checks.c: New file.
33012         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
33013         warning.
33015         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
33016         __wmemcmp_sse2.
33018         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
33019         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
33021         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
33023 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
33025         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
33026         problem.
33028         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
33030 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
33032         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
33033         conditional on GCC version.
33034         (__arch_compare_and_exchange_val_8_acq)
33035         (__arch_compare_and_exchange_val_16_acq)
33036         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
33037         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
33038         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
33040 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
33042         * sysdeps/sh/backtrace.c: New file.
33044 2011-12-02  Andreas Schwab  <schwab@redhat.com>
33046         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
33047         parenthesis.
33049 2011-12-01  Andreas Schwab  <schwab@redhat.com>
33051         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
33052         falling back to utime.
33054 2011-11-30  Andreas Schwab  <schwab@redhat.com>
33056         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
33057         expectations for float.
33059 2011-11-29  Andreas Schwab  <schwab@redhat.com>
33061         * locale/weight.h (findidx): Add parameter len.
33062         * locale/weightwc.h (findidx): Likewise.
33063         * posix/fnmatch_loop.c (FCT): Adjust caller.
33064         * posix/regcomp.c (build_equiv_class): Likewise.
33065         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
33066         * posix/regexec.c (check_node_accept_bytes): Likewise.
33067         * string/strcoll_l.c (STRCOLL): Likewise.
33068         * string/strxfrm_l.c (STRXFRM): Likewise.
33070 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
33072         * Makefile.in: Remove CVSOPT handling.
33073         * configure.in: Remove use of AC_REVISION.
33074         * iconvdata/Makefile (distribute): No need to filter out CVS.
33075         * scripts/list-sources.sh: Remove CVS, subversion and monotone
33076         handling.
33078 2011-11-16  Andreas Schwab  <schwab@redhat.com>
33080         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
33081         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
33082         [USE_AS_STRNCASECMP_L]: Likewise.
33083         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
33084         NO_TLS_DIRECT_SEG_REFS.
33085         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
33086         Fix argument offsets for non-PIC.
33087         [USE_AS_STRNCASECMP_L]: Likewise.
33088         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
33089         NO_TLS_DIRECT_SEG_REFS.
33091 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
33093         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
33094         O_CLOEXEC.
33095         * locale/loadlocale.c (_nl_load_locale): Likewise.
33097 2011-11-15  Andreas Schwab  <schwab@redhat.com>
33099         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
33100         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
33101         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
33102         (SYSCALL_GETTIME): Set errno on error.
33104         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
33105         count references to noai6ai_cached.
33107 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
33109         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
33111         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
33112         FD_CLOEXEC for /proc/self/maps.
33114         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
33115         FD_CLOEXEC for /proc/meminfo.
33117         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
33118         gai.conf.
33120         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
33121         FD_CLOEXEC for given file.
33123         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
33125         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
33126         FD_CLOEXEC for /etc/hosts.
33127         (_gethtent): Likewise.
33129         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
33131         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
33132         cancellation and set FD_CLOEXEC for /etc/netgroup.
33134         * nss/nss_files/files-key.c (search): Don't allow cancellation when
33135         reading /etc/publickey.
33137         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
33138         allow cancellation when reading /etc/group.
33140         * nss/nss_files/files-alias.c (internal_setent): Don't allow
33141         cancellation.
33142         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
33144         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
33145         when using data file.
33147         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
33149         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
33150         (write_nis_obj): Use "c" and "e" in fopen.
33152         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
33154         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
33156         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
33158         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
33160         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
33161         locale.alias.
33163         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
33165         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
33167         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
33169         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
33170         file parsing and set FD_CLOEXEC.
33172 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
33174         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
33176 2011-11-14  Andreas Schwab  <schwab@redhat.com>
33178         * malloc/arena.c (arena_get2): Don't call reused_arena when
33179         _int_new_arena failed.
33181 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
33183         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
33184         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
33185         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
33186         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
33187         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
33188         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
33189         to compile strcasecmp and strncasecmp.
33190         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
33191         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
33193         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
33195 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
33197         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
33198         locale-defines.sym to gen-as-const-headers.
33199         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
33200         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
33201         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
33202         to compile strcasecmp and strncasecmp.
33203         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
33204         strcasecmp_l and strncasecmp_l.
33205         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
33206         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
33207         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
33208         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
33209         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
33210         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
33211         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
33212         * sysdeps/i386/i686/multiarch/strncase.S: New file.
33213         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
33214         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
33215         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
33217 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
33219         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
33220         result of SYSDEP_GETTIME_CPU to retval.
33221         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
33222         parameter list to macro.  Remove trailing semicolon.  Adjust users.
33224         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
33225         variable.
33227         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
33228         mantissa words.
33229         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
33231         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
33232         from unused variable.
33234         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
33235         DWARF definitions.
33236         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
33237         for assembling.
33239         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
33240         over namespaces.
33242         * sunrpc/rpc_prot.c (rejected): Fix case value.
33244         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
33245         unsigned long long int to avoid warnings in shift.
33247         * posix/regex_internal.c (re_string_reconstruct): Actually use result
33248         of use of trans.
33249         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
33250         variable tmp.
33252         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
33253         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
33254         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
33256         * nis/nis_table.c (nis_list): Use variable of correct type for
33257         result of __follow_path call.
33259 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33261         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
33262         of math functions ceil, trunc, floor, round, and sqrt, when
33263         avaliable on the platform.
33264         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
33265         name clash.
33266         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
33267         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
33268         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
33270 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
33272         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
33273         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
33275 2011-11-11  Roland McGrath  <roland@hack.frob.com>
33277         * include/unistd.h: Fix __readlink return type.
33278         Reported by Chris Metcalf <cmetcalf@tilera.com>.
33280 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
33282         * stdlib/ucontext.h: Undo last change for makecontext.
33284 2011-11-11  Andreas Schwab  <schwab@redhat.com>
33286         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
33288         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
33289         * setjmp/setjmp.h: Mark functions as non-leaf.
33290         * setjmp/bits/setjmp2.h: Likewise.
33291         * stdlib/ucontext.h: Likewise.
33293 2011-11-10  Andreas Schwab  <schwab@redhat.com>
33295         * malloc/arena.c (_int_new_arena): Don't increment narenas.
33296         (reused_arena): Don't check arena limit.
33297         (arena_get2): Atomically check arena limit.
33299 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
33301         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
33302         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
33304         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
33305         instructions.
33307 2011-11-07  Andreas Schwab  <schwab@redhat.com>
33309         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
33310         handler when locking.
33312         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
33313         Fix size of allocated buffer.
33315 2011-11-04  Andreas Schwab  <schwab@redhat.com>
33317         [BZ #10103]
33318         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
33319         declarations for long double functions.
33320         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
33322         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
33324 2011-11-03  Andreas Schwab  <schwab@redhat.com>
33326         * nscd/nscd.c (main): Don't start AVC thread until credentials are
33327         installed.
33329         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
33330         is disabled.
33332 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
33334         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
33336 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
33338         * include/alloca.h (stackinfo_alloca_round): Define.
33339         (extend_alloca): Use it.
33340         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
33341         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
33342         here.
33344         * scripts/check-local-headers.sh: Ignore libaudit.h.
33346         * nscd/Makefile (extra-objs): Make recursively expanded.
33348 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
33350         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
33351         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
33353         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
33354         * posix/tst-rfc3484-2.c: Likewise.
33355         * posix/tst-rfc3484-3.c: Likewise.
33357         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
33358         process_vm_writev.
33359         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
33360         process_vm_writev.
33361         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
33362         process_vm_writev from libc using GLIBC_2.15 version.
33364         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
33366 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
33368         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
33369         stack usage.
33371 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
33373         [BZ #13367]
33374         * nss/getent.c (initgroups_keys): Show error message in case no group
33375         names are given.
33377         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
33378         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
33379         __bump_nl_timestamp.
33380         * nscd/connections (nscd_init): When host database is served open
33381         netlink socket and request notification about configuration changes.
33382         (main_loop_poll): Track netlink file descriptor and bump timestamp
33383         in case data becomes available.
33384         (main_loop_epoll): Likewise.
33385         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
33386         (database_pers_head): Add extra_data fileds.
33387         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
33388         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
33389         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
33390         Adjust caller.
33391         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
33392         in6ai data, call __free_in6ai.
33393         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
33394         Add -DHAVE_NETLINK.
33395         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
33396         interface information.  Reuse previous data if netlink timestamp
33397         is not changed.
33398         (__bump_nl_timestamp): New function.
33399         (__free_in6ai): New function.
33401 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
33403         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
33404         close_not_cancel_no_status here.
33405         (__check_pf): Reorganize code a bit to not call close twice if OOM.
33407 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
33409         [BZ #13276]
33410         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
33411         return value.
33413         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
33414         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
33415         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
33417 2011-07-03  Andreas Jaeger  <aj@suse.de>
33419         [BZ #10709]
33420         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
33421         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
33422         * math/libm-test.inc (sin_test): Add test case.
33424 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
33426         [BZ #13337]
33427         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
33428         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
33430         * elf/chroot_canon.c (chroot_canon): Cleanups.
33432         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
33434         [BZ #13335]
33435         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
33436         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
33438         * string/test-strchr.c: Make usable for strchrnul testing.
33439         * string/test-strchrnul.c: New file.
33440         * string/Makefile (strop-tests): Add strchrnul.
33442         * po/it.po: Update from translation team.
33443         * po/es.po: Likewise.
33445 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
33447         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
33448         the three constants needed as parameters.  Drop the others.
33449         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
33450         __m128i_strloadu_tolower.
33451         Create and initialize variable zero and use it in all the places
33452         where _mm_setzero_si128 was used.
33454         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
33455         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
33456         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
33457         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
33458         anymore.
33459         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
33460         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
33461         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
33462         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
33463         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
33464         __mpranred, __mptan.
33465         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
33466         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
33467         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
33468         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
33469         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
33470         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
33471         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
33472         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
33473         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
33475 2011-10-28  Andreas Schwab  <schwab@redhat.com>
33477         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
33478         redefine if SHARED.
33479         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
33481         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
33482         wide char related routines to wcsmbs subdir.
33484 2011-10-27  Andreas Schwab  <schwab@redhat.com>
33486         [BZ #13344]
33487         * misc/sys/cdefs.h (__THROWNL): Define.
33488         * posix/unistd.h: Use __THREADNL instead of __THREAD
33489         for memory synchronization functions.
33491 2011-10-26  Roland McGrath  <roland@hack.frob.com>
33493         [BZ #13349]
33494         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
33495         doesn't exist.
33496         * manual/stdio.texi (Obstack Streams): Node removed.
33498 2011-10-26  Andreas Schwab  <schwab@redhat.com>
33500         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
33501         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
33502         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
33504         * math/math_private.h (math_force_eval): Allow non-addressable
33505         arguments.
33506         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
33508 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
33510         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
33511         file is not needed.
33513         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
33514         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
33515         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
33516         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
33517         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
33518         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
33519         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
33520         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
33521         Add AVX variants.
33522         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
33523         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
33524         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
33525         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
33526         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
33527         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
33528         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
33529         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
33530         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
33531         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
33532         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
33533         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
33534         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
33535         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
33536         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
33537         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
33538         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
33539         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
33540         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
33542         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
33543         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
33545         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
33546         place.  Use VEX encoding when compiling for AVX.
33548 2011-10-25  Andreas Schwab  <schwab@redhat.com>
33550         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
33551         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
33553         * string/test-strchr.c (do_test): Don't generate NUL bytes.
33555 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
33557         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
33558         useless if() expression.
33559         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
33560         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
33561         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
33562         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
33563         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
33564         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
33565         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
33566         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
33567         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
33568         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
33569         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
33570         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
33571         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
33572         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
33573         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
33574         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
33575         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
33576         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
33577         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
33579         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
33581 2011-10-25  Andreas Schwab  <schwab@redhat.com>
33583         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
33584         condition.
33585         * elf/dl-fini.c (_dl_sort_fini): Likewise.
33587 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
33589         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
33590         .text section.  Avoid duplicate constants.
33591         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
33592         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
33593         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
33594         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
33595         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
33596         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
33597         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
33598         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
33599         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
33600         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
33601         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
33602         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
33603         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
33604         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
33605         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
33606         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
33607         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
33608         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
33609         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
33610         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
33611         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
33612         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
33613         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
33614         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
33615         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
33616         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
33617         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
33618         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
33619         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
33620         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
33621         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
33622         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
33623         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
33624         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
33625         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
33626         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
33627         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
33628         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
33629         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
33630         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
33631         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
33632         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
33633         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
33634         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
33635         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
33637 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
33639         * sysdeps/x86_64/dla.h: Move to ...
33640         * sysdeps/x86_64/fpu/dla.h: ...here.
33641         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
33642         situations.  Use __builtin_fma only for gcc 4.6 and up.
33644         * config.make.in: Add have-mfma4 entry.
33645         * configure.in: Substitute libc_cv_cc_fma4.
33646         * math/Makefile (dbl-only-routines): Add sincostab.
33647         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
33648         Use __sincostab not sincos.
33649         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
33650         name is a macro.
33651         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
33652         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
33653         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
33654         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
33655         using __copysign.
33656         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
33657         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
33658         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
33659         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
33660         and __inv.
33661         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
33662         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
33663         __copysign.
33664         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
33665         define aliases when function name is a macro.
33666         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
33667         sysdeps/ieee754/dbl-64/sincos.tbl.
33668         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
33669         fma4-enabled routines.
33670         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
33671         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
33672         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
33673         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
33674         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
33675         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
33676         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
33677         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
33678         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
33679         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
33680         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
33681         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
33682         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
33683         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
33684         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
33685         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
33686         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
33687         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
33688         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
33689         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
33690         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
33691         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
33692         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
33693         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
33694         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
33695         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
33696         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
33697         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
33698         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
33699         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
33701         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
33702         rename.
33703         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
33704         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
33705         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
33706         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
33707         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
33708         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
33709         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
33710         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
33712 2011-10-24  Andreas Schwab  <schwab@redhat.com>
33714         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
33716 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
33718         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
33720         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
33721         prediction.
33722         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
33724         * string/strnlen.c: Don't define STRNLEN, reverse logic.
33725         Remove unused variable magic_bits.
33726         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
33728         * string/strnlen.c: Define and use STRNLEN macro.
33729         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
33730         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
33731         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
33732         * wcsmbs/wcslen.c: Define and use WCSLEN.
33733         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
33734         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
33735         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
33736         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
33737         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
33738         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
33739         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
33741 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
33743         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
33744         strnlen-sse2-no-bsf.
33745         Rename strlen-no-bsf to strlen-sse2-no-bsf.
33746         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
33747         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
33748         Add strnlen support.
33749         (USE_AS_STRNLEN): New macro.
33750         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
33751         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
33752         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
33753         * sysdeps/x86_64/wcslen.S: New file.
33755 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
33757         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
33758         XMM-moves are used for copying on small sizes.
33760 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
33762         * wcsmbs/Makefile (strop-tests): Add wcschr.
33763         * wcsmbs/test-wcschr.c: New file.
33764         * string/test-strchr.c: Update.
33765         Add wcschr support.
33766         (WIDE): New macro.
33768 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
33770         * wcsmbs/Makefile (strop-tests): Add wcslen.
33771         * wcsmbs/test-wcslen.c: New file.
33772         * string/test-strlen.c: Update.
33773         Add wcslen support.
33774         (WIDE): New macro.
33776 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
33778         * po/it.po: Update from translation team.
33780 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
33782         * sysdeps/x86_64/wcscmp.S: Update.
33783         Fix wrong comparison semantics.
33784         wcscmp shall use signed comparison not unsigned.
33785         Don't use substraction to avoid overflow bug.
33786         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
33787         * wcsmbc/wcscmp.c: Likewise.
33788         * string/test-strcmp.c: Likewise.
33789         Add new tests to check cases with negative values.
33791 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
33793         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
33794         * sysdeps/x86_64/dla.h: ...here.  New file.
33795         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
33796         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
33797         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
33798         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
33799         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
33800         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
33801         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
33802         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
33803         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
33805 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
33807         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
33808         __ynl_finite aliases.
33810 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
33812         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
33814         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
33815         define DLA_FMA.
33816         [DLA_FMA] (EMULV): Use DLA_FMA.
33817         [DLA_FMA] (MUL12): Use EMULV.
33818         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
33819         that are not needed.
33820         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
33821         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
33822         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
33823         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
33824         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
33825         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
33826         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
33828 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
33830         * math/s_nan.c: Undef __nan.
33831         * math/s_nanf.c: Undef __nanf.
33832         * math/s_nanl.c: Undef __nanl.
33833         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
33834         "math_private.h".
33836 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
33838         * math/s_catan.c: Add branch predictions.
33839         * math/s_catanf.c: Likewise.
33840         * math/s_catanh.c: Likewise.
33841         * math/s_catanhf.c: Likewise.
33842         * math/s_catanhl.c: Likewise.
33843         * math/s_catanl.c: Likewise.
33844         * math/s_cexp.c: Likewise.
33845         * math/s_cexpf.c: Likewise.
33846         * math/s_cexpl.c: Likewise.
33847         * math/s_clog.c: Likewise.
33848         * math/s_clog10.c: Likewise.
33849         * math/s_clog10f.c: Likewise.
33850         * math/s_clog10l.c: Likewise.
33851         * math/s_clogf.c: Likewise.
33852         * math/s_clogl.c: Likewise.
33853         * math/s_csqrt.c: Likewise.
33854         * math/s_csqrtf.c: Likewise.
33855         * math/s_csqrtl.c: Likewise.
33856         * math/s_ctanf.c: Likewise.
33857         * math/s_ctanh.c: Likewise.
33858         * math/s_ctanhf.c: Likewise.
33859         * math/s_ctanhl.c: Likewise.
33860         * math/s_ctanl.c: Likewise.
33862         * math/math_private.h: Define __nan, __nanf, __nanl.
33863         * math/s_cacosh.c: Include <math_private.h>.
33864         * math/s_cacoshl.c: Likewise.
33865         * math/s_casinh.c: Likewise.
33866         * math/s_casinhf.c: Likewise.
33867         * math/s_casinhl.c: Likewise.
33868         * math/s_ccos.c: Rely entire on ccosh.
33869         * math/s_ccosf.c: Rely entire on ccoshf.
33870         * math/s_ccosl.c: Rely entirely on ccoshl.
33871         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
33872         Remove tests for FE_INVALID.
33873         * math/s_ccoshf.c: Likewise.
33874         * math/s_ccoshl.c: Likewise.
33875         * math/s_csin.c: Likewise.
33876         * math/s_csinf.c: Likewise.
33877         * math/s_csinh.c Likewise.
33878         * math/s_csinhf.c: Likewise.
33879         * math/s_csinhl.c: Likewise.
33880         * math/s_csinl.c: Likewise.
33881         * math/s_ctan.c: Likewise.
33882         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
33883         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
33884         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
33886 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
33888         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
33889         compilation problems.
33891         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
33892         __builtin_expect.
33894 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
33896         * sysdeps/i386/configure.in: Test for -mfma4 option.
33897         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
33898         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
33899         COMMON_CPUID_INDEX_80000001.
33900         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
33901         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
33902         use it if FMA3 is not supported.
33903         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
33905         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
33906         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
33908 2011-10-20  Andreas Schwab  <schwab@redhat.com>
33910         [BZ #12892]
33911         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
33912         it would create a cycle with a link time dependency.
33914 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
33916         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
33917         instruction.
33918         * string/Makefile (strop-tests): Add rawmemchr.
33919         * string/test-rawmemchr.c: New file.
33921         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
33922         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
33923         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
33924         when compiling str{,n}casecmp and when AVX is available.  Hook up
33925         new optimized code in initializers.
33927 2011-10-19  Andreas Schwab  <schwab@redhat.com>
33929         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
33930         __feraiseexcept instead of feraiseexcept.
33932 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
33934         * math/math_private.h: Define defaults for libc_fetestexcept and
33935         libc_feupdateenv.
33936         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
33937         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
33938         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
33939         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
33940         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
33941         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
33942         libc_fetestexcept and libc_feupdateenv.
33944         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
33945         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
33946         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
33947         * sysdeps/x86_64/fpu/math_private.h: Define special version of
33948         libc_feholdexcept_setround.
33950         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
33951         Add s_nearbyint-c and s_nearbyintf-c.
33952         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
33953         nearbyintf inlines.
33954         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
33955         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
33956         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
33957         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
33959         * math/math_private.h: Define defaults for libc_fegetround,
33960         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
33961         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
33962         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
33963         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
33964         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
33965         standard functions.
33966         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
33967         Remove comments and hacks for old compiler versions.
33968         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
33969         libc_fegetround, libc_fesetround, libc_feholdexcept, and
33970         libc_feholdexceptl.
33972 2011-10-18  Andreas Schwab  <schwab@redhat.com>
33974         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
33975         (__feraiseexcept_renamed): Add __NTH.
33976         (feraiseexcept): Add __NTH.  Rename local variables to fix
33977         namespace violations.
33979 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
33981         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
33983         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
33985         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
33986         recently added interfaces.
33987         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
33989         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
33990         about macro parameter expansion.
33992         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
33993         __NO_MATH_INLINES is defined.  Cleanups.
33995         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
33996         and __floorf is target has SSE4.1.
33997         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
33998         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
33999         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
34000         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
34002         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
34003         name.
34004         (floorf): Likewise.
34006         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
34008 2011-10-17  Andreas Schwab  <schwab@redhat.com>
34010         * misc/sys/cdefs.h: Fix last change.
34012         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
34013         database lookup.
34015 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
34017         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
34019         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
34020         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
34021         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
34022         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
34023         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
34024         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
34025         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
34026         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
34027         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
34028         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
34029         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
34030         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
34031         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
34032         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
34033         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
34034         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
34035         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
34036         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
34037         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
34038         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
34039         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
34040         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
34042         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
34043         ceil, ceilf, floor, floorf.
34045         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
34046         Perform IRELATIVE relocations last.
34048         * elf/do-rel.h: Add another parameter nrelative, replacing the
34049         local variable with the same name.  Change name of the function
34050         to end in Rel or Rela (uppercase).
34051         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
34052         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
34053         elf_dynamic_do_##reloc function.
34055 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
34057         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
34058         is sufficient, at least on modern CPUs.
34060         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
34062         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
34063         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
34065         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
34066         __expl_finite.
34067         * math/bits/math-finite.h: Add entries for exp.
34068         * math/e_expl.c: Add __*_finite alias.
34069         * sysdeps/i386/fpu/e_exp.S: Likewise.
34070         * sysdeps/i386/fpu/e_expf.S: Likewise.
34071         * sysdeps/i386/fpu/e_expl.c: Likewise.
34072         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
34073         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
34074         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
34075         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
34076         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
34077         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
34078         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
34080         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
34081         is sufficient, at least on modern CPUs.
34083         * ctype/ctype-info.c (__ctype_init): Define.
34084         * include/ctype.h (__ctype_init): Declare.
34085         (__ctype_b_loc): The variable is always initialized.
34086         (__ctype_toupper_loc): Likewise.
34087         (__ctype_tolower_loc): Likewise.
34088         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
34089         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
34091 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
34093         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
34095         * configure.in: Also look in $cxxmachine/include for C++ system
34096         headers.
34098 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
34100         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
34101         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
34102         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
34103         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
34104         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
34105         (USE_AS_WMEMCMP): New macro.
34106         Fixing indents.
34107         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
34108         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
34109         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
34110         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
34111         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
34112         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
34113         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
34114         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
34115         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
34116         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
34117         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
34118         (USE_AS_WMEMCMP): New macro.
34119         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
34120         * sysdeps/string/test-memcmp.c: Update.
34121         Fix simple_wmemcmp.
34122         Add new tests.
34123         * wcsmbs/wmemcmp.c: Update.
34124         (WMEMCMP): New macro.
34125         Fix overflow bug.
34127 2011-10-12  Andreas Jaeger  <aj@suse.de>
34129         [BZ #13268]
34130         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
34132 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
34134         * libio/iofwide.c (do_length): Avoid warning.
34136         * ctype/ctype.h (__isctype_f): Add missing __THROW.
34138 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
34140         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
34142         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
34143         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
34144         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
34145         * sysdeps/i386/i686/fpu/e_log.S: New file.
34146         * sysdeps/i386/i686/fpu/e_logf.S: New file.
34147         * sysdeps/i386/i686/fpu/e_logl.S: New file.
34149         * ctype/ctype.h: Add support for inlined isXXX functions when
34150         compiling C++ code.
34152 2011-10-14  Andreas Schwab  <schwab@redhat.com>
34154         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
34156         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
34158 2011-10-13  Roland McGrath  <roland@hack.frob.com>
34160         [BZ #13291]
34161         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
34163 2011-10-13  Andreas Schwab  <schwab@redhat.com>
34165         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
34166         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
34167         feraiseexcept.
34169         * sysdeps/x86_64/memrchr.S: Check for zero size.
34171         * string/stratcliff.c: Add memrchr tests.
34173 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
34175         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
34176         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
34177         rawmemchr-sse2 rawmemchr-sse2-bsf.
34178         * sysdeps/i386/i686/multiarch/memchr.S: New file.
34179         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
34180         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
34181         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
34182         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
34183         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
34184         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
34185         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
34186         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
34187         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
34188         * string/memrchr.c (MEMRCHR): New macro.
34190 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
34192         Add integration with gcc's -ffinite-math-only and optimize wrapper
34193         functions in libm.
34194         * Versions.def: Define GLIBC_2.15 version for libm.
34195         * math/Makefile (headers): Add bits/math-finite.h.
34196         * math/bits/math-finite.h: New file.
34197         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
34198         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
34199         * math/e_acoshl.c: Add __*_finite alias.
34200         * math/e_acosl.c: Likewise.
34201         * math/e_asinl.c: Likewise.
34202         * math/e_atan2l.c: Likewise.
34203         * math/e_atanhl.c: Likewise.
34204         * math/e_coshl.c: Likewise.
34205         * math/e_exp10.c: Likewise.
34206         * math/e_exp10f.c: Likewise.
34207         * math/e_exp10l.c: Likewise.
34208         * math/e_exp2l.c: Likewise.
34209         * math/e_fmodl.c: Likewise.
34210         * math/e_gammal_r.c: Likewise.
34211         * math/e_hypotl.c: Likewise.
34212         * math/e_j0l.c: Likewise.
34213         * math/e_j1l.c: Likewise.
34214         * math/e_jnl.c: Likewise.
34215         * math/e_lgammal_r.c: Likewise.
34216         * math/e_log10l.c: Likewise.
34217         * math/e_log2l.c: Likewise.
34218         * math/e_logl.c: Likewise.
34219         * math/e_powl.c: Likewise.
34220         * math/e_sinhl.c: Likewise.
34221         * math/e_sqrtl.c: Likewise.
34222         * math/e_scalb.c: Completely rewritten and optimized.
34223         * math/e_scalbf.c: Likewise.
34224         * math/e_scalbl.c: Likewise.
34225         * math/w_acos.c: Likewise.
34226         * math/w_acosf.c: Likewise.
34227         * math/w_acosl.c: Likewise.
34228         * math/w_acosh.c: Likewise.
34229         * math/w_acoshf.c: Likewise.
34230         * math/w_acoshl.c: Likewise.
34231         * math/w_asin.c: Likewise.
34232         * math/w_asinf.c: Likewise.
34233         * math/w_asinl.c: Likewise.
34234         * math/w_atan2.c: Likewise.
34235         * math/w_atan2f.c: Likewise.
34236         * math/w_atan2l.c: Likewise.
34237         * math/w_atanh.c: Likewise.
34238         * math/w_atanhf.c: Likewise.
34239         * math/w_atanhl.c: Likewise.
34240         * math/w_exp10.c: Likewise.
34241         * math/w_exp10f.c: Likewise.
34242         * math/w_exp10l.c: Likewise.
34243         * math/w_fmod.c: Likewise.
34244         * math/w_fmodf.c: Likewise.
34245         * math/w_fmodl.c: Likewise.
34246         * math/w_j0.c: Likewise.
34247         * math/w_j0f.c: Likewise.
34248         * math/w_j0l.c: Likewise.
34249         * math/w_j1.c: Likewise.
34250         * math/w_j1f.c: Likewise.
34251         * math/w_j1l.c: Likewise.
34252         * math/w_jn.c: Likewise.
34253         * math/w_jnf.c: Likewise.
34254         * math/w_log.c: Likewise.
34255         * math/w_logf.c: Likewise.
34256         * math/w_logl.c: Likewise.
34257         * math/w_log10.c: Likewise.
34258         * math/w_log10f.c: Likewise.
34259         * math/w_log10l.c: Likewise.
34260         * math/w_log2.c: Likewise.
34261         * math/w_log2f.c: Likewise.
34262         * math/w_log2l.c: Likewise.
34263         * math/w_pow.c: Likewise.
34264         * math/w_powf.c: Likewise.
34265         * math/w_powl.c: Likewise.
34266         * math/w_remainder.c: Likewise.
34267         * math/w_remainderf.c: Likewise.
34268         * math/w_remainderl.c: Likewise.
34269         * math/w_scalb.c: Likewise.
34270         * math/w_scalbf.c: Likewise.
34271         * math/w_scalbl.c: Likewise.
34272         * math/w_sqrt.c: Likewise.
34273         * math/w_sqrtf.c: Likewise.
34274         * math/w_sqrtl.c: Likewise.
34275         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
34276         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
34277         used.
34278         * math/math_private.h: Declare __kernel_standard_f.
34279         * math/w_cosh.c: Remove cruft and optimize a bit.
34280         * math/w_coshf.c: Likewise.
34281         * math/w_coshl.c: Likewise.
34282         * math/w_exp2.c: Likewise.
34283         * math/w_exp2f.c: Likewise.
34284         * math/w_exp2l.c: Likewise.
34285         * math/w_hypot.c: Likewise.
34286         * math/w_hypotf.c: Likewise.
34287         * math/w_hypotl.c: Likewise.
34288         * math/w_lgamma.c: Likewise.
34289         * math/w_lgamma_r.c: Likewise.
34290         * math/w_lgammaf.c: Likewise.
34291         * math/w_lgammaf_r.c: Likewise.
34292         * math/w_lgammal.c: Likewise.
34293         * math/w_lgammal_r.c: Likewise.
34294         * math/w_sinh.c: Likewise.
34295         * math/w_sinhf.c: Likewise.
34296         * math/w_sinhl.c: Likewise.
34297         * math/w_tgamma.c: Likewise.
34298         * math/w_tgammaf.c: Likewise.
34299         * math/w_tgammal.c: Likewise.
34300         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
34301         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
34302         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
34303         Minor optimizations.  Pretty printing.  Remove cruft.
34304         * sysdeps/i386/fpu/e_acosf.S: Likewise.
34305         * sysdeps/i386/fpu/e_acosh.S: Likewise.
34306         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
34307         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
34308         * sysdeps/i386/fpu/e_acosl.c: Likewise.
34309         * sysdeps/i386/fpu/e_asin.S: Likewise.
34310         * sysdeps/i386/fpu/e_asinf.S: Likewise.
34311         * sysdeps/i386/fpu/e_atan2.S: Likewise.
34312         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
34313         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
34314         * sysdeps/i386/fpu/e_atanh.S: Likewise.
34315         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
34316         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
34317         * sysdeps/i386/fpu/e_exp10.S: Likewise.
34318         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
34319         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
34320         * sysdeps/i386/fpu/e_exp2.S: Likewise.
34321         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
34322         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
34323         * sysdeps/i386/fpu/e_fmod.S: Likewise.
34324         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
34325         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
34326         * sysdeps/i386/fpu/e_hypot.S: Likewise.
34327         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
34328         * sysdeps/i386/fpu/e_log.S: Likewise.
34329         * sysdeps/i386/fpu/e_log10.S: Likewise.
34330         * sysdeps/i386/fpu/e_log10f.S: Likewise.
34331         * sysdeps/i386/fpu/e_log10l.S: Likewise.
34332         * sysdeps/i386/fpu/e_log2.S: Likewise.
34333         * sysdeps/i386/fpu/e_log2f.S: Likewise.
34334         * sysdeps/i386/fpu/e_log2l.S: Likewise.
34335         * sysdeps/i386/fpu/e_logf.S: Likewise.
34336         * sysdeps/i386/fpu/e_logl.S: Likewise.
34337         * sysdeps/i386/fpu/e_pow.S: Likewise.
34338         * sysdeps/i386/fpu/e_powf.S: Likewise.
34339         * sysdeps/i386/fpu/e_powl.S: Likewise.
34340         * sysdeps/i386/fpu/e_remainder.S: Likewise.
34341         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
34342         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
34343         * sysdeps/i386/fpu/e_scalb.S: Likewise.
34344         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
34345         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
34346         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
34347         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
34348         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
34349         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
34350         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
34351         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
34352         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
34353         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
34354         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
34355         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
34356         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
34357         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
34358         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
34359         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
34360         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
34361         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
34362         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
34363         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
34364         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
34365         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
34366         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
34367         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
34368         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
34369         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
34370         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
34371         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
34372         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
34373         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
34374         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
34375         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
34376         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
34377         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
34378         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
34379         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
34380         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
34381         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
34382         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
34383         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
34384         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
34385         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
34386         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
34387         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
34388         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
34389         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
34390         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
34391         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
34392         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
34393         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
34394         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
34395         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
34396         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
34397         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
34398         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
34399         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
34400         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
34401         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
34402         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
34403         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
34404         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
34405         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
34406         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
34407         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
34408         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
34409         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
34410         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
34411         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
34412         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
34413         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
34414         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
34415         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
34416         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
34417         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
34418         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
34419         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
34420         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
34421         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
34422         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
34423         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
34424         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
34425         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
34426         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
34427         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
34428         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
34429         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
34430         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
34431         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
34432         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
34433         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
34434         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
34435         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
34436         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
34437         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
34438         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
34439         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
34440         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
34441         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
34442         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
34443         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
34444         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
34445         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
34446         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
34447         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
34448         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
34449         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
34450         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
34451         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
34452         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
34453         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
34454         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
34455         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
34456         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
34457         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
34458         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
34459         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
34460         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
34461         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
34462         (__isnanf): Likewise.
34463         (__isinf_ns): Likewise.
34464         (__isinf_nsf): Likewise.
34465         (__finite): Likewise.
34466         (__finitef): Likewise.
34467         (__ieee754_sqrt): Define as macro.
34468         (__ieee754_sqrtf): Define as macro.
34469         (__ieee754_sqrtl): Define as macro.
34470         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
34471         inlined copy.
34472         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
34473         __FINITE_MATH_ONLY__ consistent.
34474         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
34476 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
34478         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
34479         of rawmemchr.
34481         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
34483 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
34485         * po/ja.po: Update from translation team.
34487 2011-10-08  Roland McGrath  <roland@hack.frob.com>
34489         * locale/programs/locarchive.c (prepare_address_space): New function.
34490         (create_archive, enlarge_archive, open_archive): Use it.
34492         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
34493         inside [SHARED], where it is used.
34495         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
34497         * nss/getent.c (netgroup_keys): Remove unused variable.
34498         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
34500 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
34502         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
34503         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
34504         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
34505         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
34506         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
34507         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
34508         * math/Makefile (libm-calls): Add s_isinf_ns.
34509         * math/divtc3.c: Use __isinf_nsl instead of isinf.
34510         * math/multc3.c: Likewise.
34511         * math/s_casin.c: Likewise.
34512         * math/s_casinf.c: Likewise.
34513         * math/s_casinl.c: Likewise.
34514         * math/s_ccos.c: Likewise.
34515         * math/s_ccosf.c: Likewise.
34516         * math/s_ccosl.c: Likewise.
34517         * math/s_ctan.c: Likewise.
34518         * math/s_ctanf.c: Likewise.
34519         * math/s_ctanh.c: Likewise.
34520         * math/s_ctanhf.c: Likewise.
34521         * math/s_ctanhl.c: Likewise.
34522         * math/s_ctanl.c: Likewise.
34523         * math/w_fmod.c: Likewise.
34524         * math/w_fmodf.c: Likewise.
34525         * math/w_fmodl.c: Likewise.
34526         * math/w_remainder.c: Likewise.
34527         * math/w_remainderf.c: Likewise.
34528         * math/w_remainderl.c: Likewise.
34529         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
34530         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
34531         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
34532         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
34533         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
34534         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
34535         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
34536         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
34538         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
34539         of the number.
34540         * stdio-common/printf_fphex.c: Likewise.
34541         * stdio-common/printf_size.c: Likewise.
34543         * math/e_exp10.c: Include math_private.h using <...> not "...".
34544         * math/e_exp10f.c: Likewise.
34545         * math/e_exp10l.c: Likewise.
34546         * math/e_exp2l.c: Likewise.
34547         * math/e_j0l.c: Likewise.
34548         * math/e_j1l.c: Likewise.
34549         * math/e_jnl.c: Likewise.
34550         * math/e_lgammal_r.c: Likewise.
34551         * math/e_rem_pio2l.c: Likewise.
34552         * math/e_scalb.c: Likewise.
34553         * math/e_scalbf.c: Likewise.
34554         * math/e_scalbl.c: Likewise.
34555         * math/k_cosl.c: Likewise.
34556         * math/k_sinl.c: Likewise.
34557         * math/k_tanl.c: Likewise.
34558         * math/s_cacoshf.c: Likewise.
34559         * math/s_catan.c: Likewise.
34560         * math/s_catanf.c: Likewise.
34561         * math/s_catanh.c: Likewise.
34562         * math/s_catanhf.c: Likewise.
34563         * math/s_catanhl.c: Likewise.
34564         * math/s_catanl.c: Likewise.
34565         * math/s_ccosh.c: Likewise.
34566         * math/s_ccoshf.c: Likewise.
34567         * math/s_ccoshl.c: Likewise.
34568         * math/s_cexp.c: Likewise.
34569         * math/s_cexpf.c: Likewise.
34570         * math/s_cexpl.c: Likewise.
34571         * math/s_clog.c: Likewise.
34572         * math/s_clog10.c: Likewise.
34573         * math/s_clog10f.c: Likewise.
34574         * math/s_clog10l.c: Likewise.
34575         * math/s_clogf.c: Likewise.
34576         * math/s_clogl.c: Likewise.
34577         * math/s_csin.c: Likewise.
34578         * math/s_csinf.c: Likewise.
34579         * math/s_csinh.c: Likewise.
34580         * math/s_csinhf.c: Likewise.
34581         * math/s_csinhl.c: Likewise.
34582         * math/s_csinl.c: Likewise.
34583         * math/s_csqrt.c: Likewise.
34584         * math/s_csqrtf.c: Likewise.
34585         * math/s_csqrtl.c: Likewise.
34586         * math/s_ctan.c: Likewise.
34587         * math/s_ctanf.c: Likewise.
34588         * math/s_ctanh.c: Likewise.
34589         * math/s_ctanhf.c: Likewise.
34590         * math/s_ctanhl.c: Likewise.
34591         * math/s_ctanl.c: Likewise.
34592         * math/s_ldexp.c: Likewise.
34593         * math/s_ldexpf.c: Likewise.
34594         * math/s_ldexpl.c: Likewise.
34595         * math/s_significand.c: Likewise.
34596         * math/s_significandf.c: Likewise.
34597         * math/s_significandl.c: Likewise.
34598         * math/w_acos.c: Likewise.
34599         * math/w_acosf.c: Likewise.
34600         * math/w_acosh.c: Likewise.
34601         * math/w_acoshf.c: Likewise.
34602         * math/w_acoshl.c: Likewise.
34603         * math/w_acosl.c: Likewise.
34604         * math/w_asin.c: Likewise.
34605         * math/w_asinf.c: Likewise.
34606         * math/w_asinl.c: Likewise.
34607         * math/w_atan2.c: Likewise.
34608         * math/w_atan2f.c: Likewise.
34609         * math/w_atan2l.c: Likewise.
34610         * math/w_atanh.c: Likewise.
34611         * math/w_atanhf.c: Likewise.
34612         * math/w_atanhl.c: Likewise.
34613         * math/w_cosh.c: Likewise.
34614         * math/w_coshf.c: Likewise.
34615         * math/w_coshl.c: Likewise.
34616         * math/w_dremf.c: Likewise.
34617         * math/w_exp10.c: Likewise.
34618         * math/w_exp10f.c: Likewise.
34619         * math/w_exp10l.c: Likewise.
34620         * math/w_exp2.c: Likewise.
34621         * math/w_exp2f.c: Likewise.
34622         * math/w_fmod.c: Likewise.
34623         * math/w_fmodf.c: Likewise.
34624         * math/w_fmodl.c: Likewise.
34625         * math/w_hypot.c: Likewise.
34626         * math/w_hypotf.c: Likewise.
34627         * math/w_hypotl.c: Likewise.
34628         * math/w_j0.c: Likewise.
34629         * math/w_j0f.c: Likewise.
34630         * math/w_j0l.c: Likewise.
34631         * math/w_j1.c: Likewise.
34632         * math/w_j1f.c: Likewise.
34633         * math/w_j1l.c: Likewise.
34634         * math/w_jn.c: Likewise.
34635         * math/w_jnf.c: Likewise.
34636         * math/w_jnl.c: Likewise.
34637         * math/w_lgamma.c: Likewise.
34638         * math/w_lgamma_r.c: Likewise.
34639         * math/w_lgammaf.c: Likewise.
34640         * math/w_lgammaf_r.c: Likewise.
34641         * math/w_lgammal.c: Likewise.
34642         * math/w_lgammal_r.c: Likewise.
34643         * math/w_log.c: Likewise.
34644         * math/w_log10.c: Likewise.
34645         * math/w_log10f.c: Likewise.
34646         * math/w_log10l.c: Likewise.
34647         * math/w_log2.c: Likewise.
34648         * math/w_log2f.c: Likewise.
34649         * math/w_log2l.c: Likewise.
34650         * math/w_logf.c: Likewise.
34651         * math/w_logl.c: Likewise.
34652         * math/w_pow.c: Likewise.
34653         * math/w_powf.c: Likewise.
34654         * math/w_powl.c: Likewise.
34655         * math/w_remainder.c: Likewise.
34656         * math/w_remainderf.c: Likewise.
34657         * math/w_remainderl.c: Likewise.
34658         * math/w_scalb.c: Likewise.
34659         * math/w_scalbf.c: Likewise.
34660         * math/w_scalbl.c: Likewise.
34661         * math/w_sinh.c: Likewise.
34662         * math/w_sinhf.c: Likewise.
34663         * math/w_sinhl.c: Likewise.
34664         * math/w_sqrt.c: Likewise.
34665         * math/w_sqrtf.c: Likewise.
34666         * math/w_sqrtl.c: Likewise.
34667         * math/w_tgamma.c: Likewise.
34668         * math/w_tgammaf.c: Likewise.
34669         * math/w_tgammal.c: Likewise.
34671         * po/ja.po: Update from translation team.
34673 2011-09-29  Andreas Jaeger  <aj@suse.de>
34675         [BZ #13179]
34676         * sunrpc/netname.c (netname2host): Fix logic.
34678         [BZ #6779]
34679         [BZ #6783]
34680         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
34681         correctly.
34682         * math/w_remainder.c (__remainder): Likewise.
34683         * math/w_remainderf.c (__remainderf): Likewise.
34684         * math/libm-test.inc (remainder_test): Add test cases.
34686 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
34688         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
34689         sdiv_qrnnd.
34691 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
34693         * string/test-memcmp.c: Avoid unncessary #defines.
34694         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
34696 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
34698         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
34699         Use new sse2 version for core i3 - i7 as it's faster
34700         than sse42 version.
34701         (bit_Prefer_PMINUB_for_stringop): New.
34702         * sysdeps/x86_64/rawmemchr.S: Update.
34703         Replace with faster SSE2 version.
34704         * sysdeps/x86_64/memrchr.S: New file.
34705         * sysdeps/x86_64/memchr.S: Update.
34706         Replace with faster SSE2 version.
34708 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
34710         * elf/dl-load.c (lose): Add cast to avoid warning.
34712 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
34714         * po/ca.po: Update from translation team.
34716         * inet/getnetgrent_r.c: Hook up nscd.
34717         * nscd/Makefile (routines): Add nscd_netgroup.
34718         (nscd-modules): Add netgroupcache.
34719         (CFLAGS-netgroupcache.c): Define.
34720         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
34721         (cache_search): Add const to second parameter.
34722         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
34723         INNETGR.
34724         (dbs): Add netgrdb entry.
34725         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
34726         (verify_persistent_db): Handle netgrdb.
34727         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
34728         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
34729         GETFDNETGR.
34730         (netgroup_response_header): Define.
34731         (innetgroup_response_header): Define.
34732         (datahead): Add netgroup_response_header and innetgroup_response_header
34733         elements.
34734         * nscd/nscd.conf: Add entries for netgroup cache.
34735         * nscd/nscd.h (dbtype): Add netgrdb.
34736         (_PATH_NSCD_NETGROUP_DB): Define.
34737         (netgroup_iov_disabled): Declare.
34738         (xmalloc, xcalloc, xrealloc): Move declarations here.
34739         (cache_search): Adjust prototype.
34740         Add netgroup-related prototypes.
34741         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
34742         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
34743         (__nscd_innetgr): Declare.
34744         * nscd/selinux.c (perms): Use access_vector_t as element type and
34745         add netgroup-related initializers.
34746         * nscd/netgroupcache.c: New file.
34747         * nscd/nscd_netgroup.c: New file.
34748         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
34749         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
34750         For four parameters use innetgr.
34751         * nss/nss_files/files-init.c: Add definition and callback for netgr.
34752         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
34753         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
34754         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
34756         * nscd/connections.c (register_traced_file): Don't register file
34757         for disabled databases.
34759 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
34761         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
34763         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
34764         from tree and freeing node.
34766 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
34768         * nss/nsswitch.c (__nss_database_lookup): Handle
34769         nss_parse_service_list out of memory case.
34771 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
34773         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
34774         out of memory case.
34776 2011-10-04  Andreas Schwab  <schwab@redhat.com>
34778         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
34779         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
34780         pass it down.
34781         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
34782         elf_machine_rela, elf_machine_lazy_rel.
34783         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
34784         (ELF_DYNAMIC_DO_REL): Likewise.
34785         (ELF_DYNAMIC_DO_RELA): Likewise.
34786         (ELF_DYNAMIC_RELOCATE): Likewise.
34787         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
34788         to ELF_DYNAMIC_DO_REL.
34789         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
34790         (dl_main): In trace mode always set __RTLD_NOIFUNC.
34791         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
34792         elf_machine_rela.
34793         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
34794         skip_ifunc, don't call ifunc function if non-zero.
34795         (elf_machine_rela): Likewise.
34796         (elf_machine_lazy_rel): Likewise.
34797         (elf_machine_lazy_rela): Likewise.
34798         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
34799         (elf_machine_lazy_rel): Likewise.
34800         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
34801         Likewise.
34802         (elf_machine_lazy_rel): Likewise.
34803         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
34804         Likewise.
34805         (elf_machine_lazy_rel): Likewise.
34806         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
34807         (elf_machine_lazy_rel): Likewise.
34808         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
34809         (elf_machine_lazy_rel): Likewise.
34810         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
34811         (elf_machine_lazy_rel): Likewise.
34812         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
34813         (elf_machine_lazy_rel): Likewise.
34814         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
34815         (elf_machine_lazy_rel): Likewise.
34816         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
34817         (elf_machine_lazy_rel): Likewise.
34819 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
34821         * nss/nss_files/files-init.c (_nss_files_init): Use static
34822         initialization for all the *_traced_file variables.
34824 2011-09-28  Andreas Schwab  <schwab@redhat.com>
34826         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
34828 2011-09-27  Roland McGrath  <roland@hack.frob.com>
34830         [BZ #13226]
34831         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
34833 2011-09-27  Andreas Schwab  <schwab@redhat.com>
34835         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
34836         Reread the line before reparsing it.
34838 2011-09-26  Andreas Schwab  <schwab@redhat.com>
34840         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
34842 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
34843             Maxim Kuvyrkov  <maxim@codesourcery.com>
34844             Joseph Myers  <joseph@codesourcery.com>
34846         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
34847         if needed for __stack_chk_guard.
34849 2011-09-19  Roland McGrath  <roland@hack.frob.com>
34851         * sysdeps/posix/spawni.c (script_execute): Always define it.
34852         It will be optimized away if unused.
34853         (maybe_script_execute): New function.
34854         (__spawni): Call it.
34856         * Makerules: Don't include tls.make.
34857         (config-tls): Always set to thread.
34858         * tls.make.c: File removed.
34860 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
34862         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
34863         * config.make.in (CPPFLAGS-config): New substituted variable.
34865 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
34867         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
34869         [BZ #13192]
34870         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
34871         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
34873 2011-09-15  Roland McGrath  <roland@hack.frob.com>
34875         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
34876         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
34877         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
34878         (CALL_FAIL): Likewise.
34879         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
34880         (CALL_FAIL): Macro removed.
34881         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
34883 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
34885         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
34886         for __FINITE_MATH_ONLY__ == 1.
34888 2011-09-15  Andreas Schwab  <schwab@redhat.com>
34890         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
34891         __ieee754_sqrt instead of sqrt.
34892         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
34893         __ieee754_sqrtf instead of sqrtf.
34894         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
34895         __floorf instead of floorf.
34896         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
34897         __floorf, __truncf instead of floorf, truncf.
34899 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
34901         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
34903         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
34904         __extern_always_inline.
34905         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
34906         32-bit.
34908 2011-09-14  Andreas Schwab  <schwab@redhat.com>
34910         * elf/rtld.c (dl_main): Also relocate in dependency order when
34911         doing symbol dependency testing.
34913 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
34915         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
34916         Always define `refsym'.
34918 2011-09-13  Andreas Schwab  <schwab@redhat.com>
34920         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
34921         (__FD_ELT): Renamed from __FDELT.
34922         * misc/bits/select2.h (__FD_ELT): Likewise.
34923         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
34924         __FD_MASK instead of __FDELT, __FDMASK.
34925         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
34926         Likewise.
34927         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
34928         Likewise.
34930         * elf/Makefile (gen-ldd): Fix pattern.
34932         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
34933         (init_tls): Likewise.
34935 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
34937         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
34939 2011-09-12  Andreas Schwab  <schwab@redhat.com>
34941         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
34942         `struct cmsghdr *' instead of `void *'.
34943         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
34944         Likewise.
34946 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
34948         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
34949         if non-absolute.
34950         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
34951         ldd_rewrite_script.
34953 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
34955         * configure.in: Remove --with-tls option.
34956         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
34957         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
34958         out in case it is missing.
34959         * sysdeps/ia64/elf/configure.in: Likewise.
34960         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
34961         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
34962         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
34963         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
34964         * sysdeps/sh/elf/configure.in: Likewise.
34965         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
34966         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
34967         * sysdeps/x86_64/elf/configure.in: Likewise.
34968         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
34969         * sysdeps/mach/hurd/tls.h: Likewise.
34971         [BZ #13067]
34972         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
34974         [BZ #13090]
34975         * configure.in: Fix use of AC_INIT.
34977         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
34979 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
34981         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
34982         __set_errno.
34983         * malloc/hooks.c: Likewise.
34985         [BZ #11929]
34986         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
34987         variables statically.
34988         (narenas): Initialize.
34989         (list_lock): Initialize.
34990         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
34991         initializtion of main_arena and list_lock.  Small cleanups.
34992         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
34993         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
34994         Add initializers to main_arena and mp_.
34995         (malloc_state): Remove pagesize member.  Change all users to use
34996         GLRO(dl_pagesize).
34998         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
34999         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
35000         is always initialized.
35002         * malloc/malloc.c: Removed unused configurations and dead code.
35003         * malloc/arena.c: Likewise.
35004         * malloc/hooks.c: Likewise.
35005         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
35007         * include/tls.h: Removed.  USE___THREAD must always be defined.
35008         * bits/libc-tsd.h: Don't handle !USE___THREAD.
35009         * elf/dl-libc.c: Likewise.
35010         * elf/dl-tsd.c: Likewise.
35011         * include/errno.h: Likewise.
35012         * include/netdb.h: Likewise.
35013         * include/resolv.h: Likewise.
35014         * inet/herrno-loc.c: Likewise.
35015         * inet/herrno.c: Likewise.
35016         * malloc/arena.c: Likewise.
35017         * malloc/hooks.c: Likewise.
35018         * malloc/malloc.c: Likewise.
35019         * resolv/res-state.c: Likewise.
35020         * resolv/res_libc.c: Likewise.
35021         * sysdeps/i386/dl-machine.h: Likewise.
35022         * sysdeps/ia64/dl-machine.h: Likewise.
35023         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
35024         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
35025         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
35026         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
35027         * sysdeps/sh/dl-machine.h: Likewise.
35028         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
35029         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
35030         * sysdeps/unix/i386/sysdep.S: Likewise.
35031         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
35032         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
35033         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
35034         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
35035         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
35036         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
35037         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
35038         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
35039         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
35040         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
35041         * sysdeps/unix/x86_64/sysdep.S: Likewise.
35042         * sysdeps/x86_64/dl-machine.h: Likewise.
35043         * tls.make.c: Likewise.
35045         * configure.in: Remove --with-__thread option.  Make tests for
35046         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
35047         tls_model attribute fail if no support is available.  Remove
35048         USE_IN_LIBIO.
35049         * Makeconfig: Adjust for dropped configure option.  All features are
35050         now mandatory.
35051         * Makerules: Likewise.
35052         * Versions.def: Likewise.
35053         * argp/argp-fmtstream.c: Likewise.
35054         * argp/argp-fmtstream.h: Likewise.
35055         * argp/argp-help.c: Likewise.
35056         * assert/assert.c: Likewise.
35057         * config.h.in: Likewise.
35058         * config.make.in: Likewise.
35059         * configure: Likewise.
35060         * configure.in: Likewise.
35061         * csu/Versions: Likewise.
35062         * csu/init.c: Likewise.
35063         * elf/tst-audit2.c: Likewise.
35064         * elf/tst-tls10.c: Likewise.
35065         * elf/tst-tls10.h: Likewise.
35066         * elf/tst-tls11.c: Likewise.
35067         * elf/tst-tls12.c: Likewise.
35068         * elf/tst-tls14.c: Likewise.
35069         * elf/tst-tlsmod11.c: Likewise.
35070         * elf/tst-tlsmod12.c: Likewise.
35071         * elf/tst-tlsmod13.c: Likewise.
35072         * elf/tst-tlsmod13a.c: Likewise.
35073         * elf/tst-tlsmod14a.c: Likewise.
35074         * elf/tst-tlsmod15b.c: Likewise.
35075         * elf/tst-tlsmod16a.c: Likewise.
35076         * elf/tst-tlsmod16b.c: Likewise.
35077         * elf/tst-tlsmod7.c: Likewise.
35078         * elf/tst-tlsmod8.c: Likewise.
35079         * elf/tst-tlsmod9.c: Likewise.
35080         * gmon/gmon.c: Likewise.
35081         * grp/fgetgrent_r.c: Likewise.
35082         * grp/putgrent.c: Likewise.
35083         * hurd/fopenport.c: Likewise.
35084         * include/libc-symbols.h: Likewise.
35085         * include/tls.h: Likewise.
35086         * intl/gettextP.h: Likewise.
35087         * intl/loadinfo.h: Likewise.
35088         * locale/global-locale.c: Likewise.
35089         * locale/localeinfo.h: Likewise.
35090         * mach/devstream.c: Likewise.
35091         * malloc/arena.c: Likewise.
35092         * malloc/set-freeres.c: Likewise.
35093         * misc/err.c: Likewise.
35094         * misc/getttyent.c: Likewise.
35095         * misc/mntent_r.c: Likewise.
35096         * posix/getopt.c: Likewise.
35097         * posix/wordexp.c: Likewise.
35098         * pwd/fgetpwent_r.c: Likewise.
35099         * resolv/Versions: Likewise.
35100         * resolv/res_hconf.c: Likewise.
35101         * shadow/fgetspent_r.c: Likewise.
35102         * shadow/putspent.c: Likewise.
35103         * stdio-common/printf_fphex.c: Likewise.
35104         * stdio-common/tmpfile.c: Likewise.
35105         * stdlib/abort.c: Likewise.
35106         * stdlib/fmtmsg.c: Likewise.
35107         * sunrpc/auth_unix.c: Likewise.
35108         * sunrpc/clnt_perr.c: Likewise.
35109         * sunrpc/clnt_tcp.c: Likewise.
35110         * sunrpc/clnt_udp.c: Likewise.
35111         * sunrpc/clnt_unix.c: Likewise.
35112         * sunrpc/openchild.c: Likewise.
35113         * sunrpc/svc_simple.c: Likewise.
35114         * sunrpc/svc_tcp.c: Likewise.
35115         * sunrpc/svc_udp.c: Likewise.
35116         * sunrpc/svc_unix.c: Likewise.
35117         * sunrpc/xdr.c: Likewise.
35118         * sunrpc/xdr_array.c: Likewise.
35119         * sunrpc/xdr_rec.c: Likewise.
35120         * sunrpc/xdr_ref.c: Likewise.
35121         * sunrpc/xdr_stdio.c: Likewise.
35123 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
35125         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
35127 2011-07-03  Andreas Jaeger  <aj@suse.de>
35129         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
35130         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
35131         regenerate with gen-libm-tests.pl.
35133 2010-05-12  Petr Baudis  <pasky@suse.cz>
35135         [BZ #11589]
35136         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
35137         around j0() zero points by switching to j1().
35138         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
35139         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
35140         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
35141         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
35143 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
35145         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
35146         instead of 0.
35147         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
35148         instead of 0.
35149         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
35150         Patch in part by Pavel Roskin <proski@gnu.org>.
35152         [BZ #13138]
35153         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
35154         realloc.
35155         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
35156         Free memory block if necessary.
35158         [BZ #12847]
35159         * libio/genops.c (INTDEF): For string streams the _lock pointer can
35160         be NULL.  Don't lock in this case.
35162 2011-09-09  Roland McGrath  <roland@hack.frob.com>
35164         * elf/elf.h (ELFOSABI_GNU): New macro.
35165         (ELFOSABI_LINUX): Define to that.
35167 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
35169         * string/strncat.c (strncat): Undef the symbol in case it has been
35170         defined in bits/string.h.
35172 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
35174         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
35176         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
35177         link map.
35179 2011-08-17  Andreas Jaeger  <aj@suse.de>
35181         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
35183 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
35184             Ian Lance Taylor  <iant@google.com>
35186         * math/libm-test.inc (lround_test): New testcase.
35187         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
35189 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
35191         * Makefile: Remove support for automatic cvs check-ins.
35192         * Makerules: Likewise.
35193         * config.make.in: Likewise.
35194         * configure.in: Likewise.
35195         * intl/Makefile: Likewise.
35196         * locale/Makefile: Likewise.
35197         * po/Makefile: Likewise.
35198         * posix/Makefile: Likewise.
35199         * sysdeps/gnu/Makefile: Likewise.
35200         * sysdeps/mach/hurd/Makefile: Likewise.
35201         * sysdeps/sparc/sparc32/Makefile: Likewise.
35203         [BZ #13118]
35204         * posix/Makefile (bug-regex32-ENV): Define.
35205         Patch by John Stanley <jpsinthemix@verizon.net>.
35207         * misc/Makefile (headers): Add bits/select2.h.
35208         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
35209         * misc/bits/select2.h: New file.
35210         * include/bits/select2.h: New file.
35211         * debug/Makefile (routines): Add fdelt_chk.
35212         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
35213         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
35214         FD_ISSET.
35215         * debug/fdelt_chk.c: New file.
35217         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
35218         * wcsmbs/test-wmemcmp.c: Likewise.
35219         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
35220         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
35222 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
35224         * string/Makefile (strop-tests): Add memcmp.
35225         * string/test-wmemcmp.c: New file.
35226         * string/test-memcmp.c: Add wmemcmp support.
35228 2011-09-08  Roland McGrath  <roland@hack.frob.com>
35230         [BZ #13153]
35231         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
35232         2011-07-19 change.
35234         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
35235         garbage value in a __mach_port_mod_refs call in the cases of the
35236         task-self and thread-self ports.
35238 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
35240         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
35242 2011-09-08  Andreas Schwab  <schwab@redhat.com>
35244         * elf/dl-load.c (lose): Check for non-null L.
35246 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
35248         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
35250         * elf/dl-libc.c (dlerror_run): Pass back error code from
35251         dl_catch_error.
35253         [BZ #13123]
35254         * elf/dl-load.c (lose): Free l_origin if it is valid.
35256         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
35257         names.
35258         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
35259         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
35260         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
35261         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
35262         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
35263         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
35265 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35267         * sysdeps/powerpc/fpu/e_hypot.c: New file.
35268         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
35269         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
35270         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
35271         * sysdeps/powerpc/fpu/k_cosf.c: New file.
35272         * sysdeps/powerpc/fpu/k_sinf.c: New file.
35273         * sysdeps/powerpc/fpu/s_cosf.c: New file.
35274         * sysdeps/powerpc/fpu/s_sinf.c: New file.
35275         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
35276         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
35278 2011-08-15  Alan Modra  <amodra@gmail.com>
35280         [BZ #13092]
35281         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
35282         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
35283         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
35284         ppc_mcount to static-only-routines.
35285         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
35286         __mcount_internal.
35287         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
35288         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
35290 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
35292         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
35293         for finite and infinity parameters.
35295 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
35297         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
35298         and add nop instructions for throughput optimization.
35299         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
35301 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
35303         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
35304         aligned copy for power7 with vector-scalar instructions.
35305         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
35307 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
35309         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
35310         AVX check.
35312 2011-09-07  Andreas Schwab  <schwab@redhat.com>
35314         [BZ #13144]
35315         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
35316         last change.
35318 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
35320         * sysdeps/unix/sysv/linux/x86_64/init-first.c
35321         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
35322         syscall wrapper around clock_gettime in __vdso_clock_gettime.
35323         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
35324         clock_gettime.
35326 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
35328         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
35329         Forgot to demangle the pointer.
35331         * sysdeps/i386/sysdep.h: Define atom_text_section.
35332         * sysdeps/x86_64/sysdep.h: Likewise.
35333         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
35334         section with atom_text_section.
35335         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
35336         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
35337         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
35338         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
35339         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
35341         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
35342         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
35343         already be defined.  Change to take two parameters and don't assign
35344         result to variable.  Adjust all users.
35345         Define INTERNAL_GETTIME if not already defined.
35346         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
35347         call.
35348         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
35349         HAVE_CLOCK_GETTIME_VSYSCALL.
35350         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
35352         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
35353         gettimeofday vsyscall, just use time.
35355 2011-09-06  Andreas Schwab  <schwab@redhat.com>
35357         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
35358         <errno.h>.
35360 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
35362         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
35363         syscall on x86-64.
35364         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
35365         syscall.
35366         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
35367         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
35368         syscall if possible.
35370 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
35372         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
35373         e_ident.  Don't pass to find_mapsXX.
35374         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
35376 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
35378         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
35379         strchr-sse2-no-bsf strrchr-sse2-no-bsf
35380         * sysdeps/x86_64/multiarch/strchr.S: Update.
35381         Check bit_slow_BSF bit.
35382         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
35383         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
35384         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
35386 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
35388         [BZ #13134]
35389         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
35390         before glibc 2.15.
35391         (tryshell): Define.
35392         (__spawni): Change last parameter to be flag.  Test
35393         SPAWN_XFLAGS_USE_PATH flag to use path or not.
35394         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
35395         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
35396         * posix/spawni.c: Likewise.
35397         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
35398         * posix/spawnp.c: Likewise.  Change normal version to use
35399         SPAWN_XFLAGS_USE_PATH.
35400         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
35401         SPAWN_XFLAGS_TRY_SHELL.
35403         [BZ #13150]
35404         * posix/glob.h: Remove gcc 1.x support.
35406         [BZ #13068]
35407         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
35409 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
35411         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
35412         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
35413         strrchr-sse2-bsf
35414         * sysdeps/i386/i686/multiarch/strchr.S: New file.
35415         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
35416         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
35417         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
35418         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
35419         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
35421 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
35423         * sysdeps/x86_64/wcscmp.S: New file.
35425         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
35426         wcscmp-c wcscmp-sse2
35427         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
35428         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
35429         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
35430         * wcsmbs/wcscmp.c: Allow renaming.
35432 2011-09-05  David S. Miller  <davem@davemloft.net>
35434         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
35435         stack slot, rather than the struct return pointer slot.
35436         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
35437         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
35438         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
35439         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
35441 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
35443         * po/ja.po: Update from translation team.
35445         [BZ #13144]
35446         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
35447         kernel in 64-bit binaries.
35449 2011-09-01  David S. Miller  <davem@davemloft.net>
35451         * elf/elf.h (HWCAP_SPARC_*): Move to..
35452         * sysdeps/sparc/sysdep.h: this new file and add new values.
35453         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
35454         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
35455         _DL_HWCAP_COUNT to 24.
35456         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
35457         entries.
35458         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
35459         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
35460         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
35461         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
35462         instead of magic constants.
35463         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
35465 2011-08-31  David S. Miller  <davem@davemloft.net>
35467         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
35468         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
35469         Reimplement to do errno handling inline.
35470         (SYSCALL_ERROR_HANDLER): New macro.
35471         (__SYSCALL_STRING): Do not do errno handling in asm.
35472         (__CLONE_SYSCALL_STRING): Delete.
35473         (__INTERNAL_SYSCALL_STRING): Delete.
35474         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
35475         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
35476         (PSEUDO): Reimplement to do errno handling inline.
35477         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
35478         (SYSCALL_ERROR_HANDLER): New macro.
35479         (__SYSCALL_STRING): Do not do errno handling in asm.
35480         (__CLONE_SYSCALL_STRING): Delete.
35481         (__INTERNAL_SYSCALL_STRING): Delete.
35482         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
35483         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
35484         i386.
35485         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
35486         (inline_syscall*): Add 'err' argument.
35487         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
35488         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
35489         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
35490         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
35492         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
35493         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
35495 2011-08-30  Andreas Schwab  <schwab@redhat.com>
35497         * elf/rtld.c (dl_main): Relocate objects in dependency order.
35499 2011-08-29  Jiri Olsa <jolsa@redhat.com>
35501         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
35502         directive.
35504 2011-08-24  David S. Miller  <davem@davemloft.net>
35506         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
35508 2011-08-24  Andreas Schwab  <schwab@redhat.com>
35510         * elf/Makefile: Add rules to build and run unload8 test.
35511         * elf/unload8.c: New file.
35512         * elf/unload8mod1.c: New file.
35513         * elf/unload8mod1x.c: New file.
35514         * elf/unload8mod2.c: New file.
35515         * elf/unload8mod3.c: New file.
35517         * elf/dl-close.c (_dl_close_worker): Reset private search list if
35518         it wasn't used.
35520 2011-08-23  David S. Miller  <davem@davemloft.net>
35522         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
35523         subtract stack bias.
35524         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
35525         %sp not %fp in calculations.
35526         (_JMPBUF_UNWINDS_ADJ): Likewise.
35528         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
35529         (aio_suspend): Call it to force an exception region around the
35530         AIO_MISC_WAIT() invocation.
35532 2011-08-23  Andreas Schwab  <schwab@redhat.com>
35534         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
35535         backslash.
35537 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
35539         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
35540         protection macro.
35541         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
35542         and <dl-machine.h>.
35543         (Elf64_FuncDesc): Remove.
35545 2011-08-22  David S. Miller  <davem@davemloft.net>
35547         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
35548         sigaltstack check, add missing cfi directives.
35549         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
35550         missing cfi directives, and sigaltstack handling.
35552 2011-08-16  Andreas Schwab  <schwab@redhat.com>
35554         [BZ #11724]
35555         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
35556         object is seen twice.
35557         * elf/dl-fini.c (_dl_sort_fini): Likewise.
35559         * elf/Makefile (distribute): Add tst-initorder2.c.
35560         (tests): Add tst-initorder2.
35561         (modules-names): Add tst-initorder2a tst-initorder2b
35562         tst-initorder2c tst-initorder2d.  Add rules to build them.
35563         ($(objpfx)tst-initorder2.out): New rule.
35564         * elf/tst-initorder2.c: New file.
35565         * elf/tst-initorder2.exp: New file.
35567 2011-08-22  Andreas Schwab  <schwab@redhat.com>
35569         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
35571         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
35572         dependencies back to end of function.
35574         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
35575         $(elfobjdir)/ld.so.
35577 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
35579         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
35580         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
35581         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
35582         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
35583         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
35584         of __vdso_gettimeofday.
35585         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
35586         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
35587         attribute_hidden.
35588         (_libc_vdso_platform_setup): Remove initialization of
35589         __vdso_gettimeofday and __vdso_time.
35591 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
35593         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
35594         and fgetc_unlocked.
35595         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
35596         getc_unlocked.
35598         * elf/dl-open.c (add_to_global): Report additions to the global scope
35599         for LD_DEBUG=scopes.
35600         (dl_open_worker): Also print scope of newly loaded dependencies.
35601         (_dl_show_scope): Indicate if there is no scope.
35603         [BZ #13114]
35604         * stdio-common/Makefile (tests): Add bug24.
35605         * stdio-common/bug24.c: New file.
35607 2011-08-19  Andreas Jaeger  <aj@suse.de>
35609         [BZ #13114]
35610         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
35611         non-existant file when using close-on-exec mode.
35613 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
35615         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
35616         the very first instruction.
35618         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
35619         the CFI state in the end.
35620         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
35621         inclusion of dl-trampoline.h.
35622         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
35624 2011-08-19  Andreas Schwab  <schwab@redhat.com>
35626         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
35627         expectations for long double.
35629         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
35630         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
35632 2011-08-14  David S. Miller  <davem@davemloft.net>
35634         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
35635         artificual limit depends upon the system page size.
35637 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
35639         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
35640         * resolv/Makefile: Define CFLAGS-libresolv.
35642 2011-08-17  Andreas Schwab  <schwab@redhat.com>
35644         * nss/makedb.c (compute_tables): Make variables used in nested
35645         function static.
35647 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
35649         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
35650         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
35651         if buffer was too small.
35653         * elf/pldd.c (main): Attach to all threads in the process.
35654         Rewrite /proc handling to use *at functions.
35656 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
35658         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
35659         specifies first scope to show.
35660         (dl_open_worker): Update callers.  Move printing scope of new
35661         object to before the relocation.
35662         * elf/rtld.c (dl_main): Update _dl_show_scope call.
35663         * sysdeps/generic/ldsodefs.h: Update declaration.
35665         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
35666         string for the scope number.
35668 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
35670         * nscd/servicescache.c (cache_addserv): Make sure written is always
35671         initialized.
35673 2011-08-14  Roland McGrath  <roland@hack.frob.com>
35675         * sysdeps/i386/i486/bits/atomic.h
35676         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
35677         statement expression, so as to suppress "set but not used" warning.
35678         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
35680         * string/strncat.c (STRNCAT): Use prototype definition.
35682         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
35683         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
35684         -Iprograms here.
35685         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
35686         (localedef-modules): Add localedef.
35687         (locale-modules): Add locale.
35689         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
35690         * elf/rtld.c (dl_main): Invert order of assignment in last change,
35691         to avoid a warning.
35693 2011-08-14  David S. Miller  <davem@davemloft.net>
35695         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
35696         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
35698 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
35700         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
35701         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
35702         * elf/rtld.c (dl_main): Set l_name of vDSO.
35703         Call _dl_show_scope when DL_DEBUG_SCOPES.
35704         (process_dl_debug): Recognize scopes flag and also set it for all.
35705         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
35706         Declare _dl_show_scope.
35708         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
35709         (do_dlopen): Pass caller_dlopen to dl_open.
35710         (__libc_dlopen_mode): Initialize caller_dlopen.
35712         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
35713         of libc.  Make tolower call locale-independent.  Optimize a bit by
35714         using isdigit instead of isalnum.
35715         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
35717 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
35719         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
35720         was a dependency or dynamically loaded.
35722 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
35724         * intl/l10nflist.c: Allow architecture-specific pop function.
35725         * sysdeps/x86_64/l10nflist.c: New file.
35727         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
35728         classification.
35730 2011-08-10  Andreas Schwab  <schwab@redhat.com>
35732         * include/dirent.h: Add libc_hidden_proto for scandirat and
35733         scandirat64.  Don't declare __scandirat64.
35734         * dirent/scandirat.c: Add libc_hidden_def.
35735         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
35736         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
35738 2011-08-10  David S. Miller  <davem@davemloft.net>
35740         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
35741         enum.
35742         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
35743         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
35744         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
35746 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
35748         * Versions.def [libc]: Add GLIBC_2.15.
35749         * dirent/Makefile (routines): Add scandirat and scandirat64.
35750         * dirent/Versions [libc]: Export scandirat and scandirat64 for
35751         GLIBC_2.15.
35752         * dirent/dirent.h: Declare scandirat and scandirat64.
35753         * dirent/scandirat.c: New file.
35754         * dirent/scandirat64.c: New file.
35755         * sysdeps/wordsize-64/scandirat.c: New file.
35756         * sysdeps/wordsize-64/scandirat64.c: New file.
35757         * dirent/opendir.c: Define opendirat.
35758         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
35759         using scandirat.
35760         * dirent/scandir64.c: Adjust for scandir.c change.
35761         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
35762         __scandirat64, and __scandir_cancel_handler.
35763         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
35764         additional parameter and use openat instead of open (outside of ld.so).
35765         Add new __opendir as wrapper around __opendirat.
35766         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
35767         here without requiring old scandirat implementation.
35769 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
35771         * dirent/scandir.c (cancel_handler): Renamed to
35772         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
35773         defined.  Adjust users.
35774         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
35775         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
35777 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
35779         * string/test-string.h (IMPL): Use __STRING to expand name and then
35780         stringify it.
35782         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
35783         of cleanups.
35785 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
35787         * string/Makefile: Update.
35788         (strop-tests): Append strncat.
35789         * string/test-wcscmp.c: New file.
35790         New comprehensive test for wcscmp.
35791         * string/test-strcmp.c: Update.
35792         (WIDE): New define.
35794 2011-07-22  Andreas Schwab  <schwab@redhat.com>
35796         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
35797         line.
35799 2011-07-26  Andreas Schwab  <schwab@redhat.com>
35801         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
35802         encoding to ACE if AI_IDN.
35804 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
35806         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
35807         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
35809 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
35811         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
35812         Fix overflow bug in strncat.
35813         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
35815         * string/test-strncat.c: Update.
35816         Add new tests for checking overflow bugs.
35818 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
35820         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
35821         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
35822         * sysdeps/i386/i686/multiarch/strcat.S: New file.
35823         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
35824         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
35825         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
35826         * sysdeps/i386/i686/multiarch/strncat.S: New file.
35827         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
35828         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
35830         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
35831         (USE_AS_STRCAT): Define.
35832         Add strcat and strncat support.
35833         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
35835 2011-07-25  Andreas Schwab  <schwab@redhat.com>
35837         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
35838         __n bigger than INT_MAX+1.
35839         (__strncmp_g): Likewise.
35841 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
35843         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
35844         * libio/stido.h: Likewise.
35846         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
35847         (AF_NFC): Define.
35848         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
35849         (AF_NFC): Define.
35851         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
35852         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
35853         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
35854         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
35855         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
35857         [BZ #13021]
35858         * scripts/test-installation.pl: Don't expect libnss_test1 to be
35859         installed.
35861         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
35862         typo.
35863         (_dl_x86_64_save_sse): Likewise.
35865 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
35867         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
35868         OSXSAVE.
35869         (_dl_x86_64_save_sse): Likewise.
35871         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
35873         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
35875 2011-07-21  Andreas Schwab  <schwab@redhat.com>
35877         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
35878         change.
35879         (_dl_x86_64_save_sse): Use correct AVX check.
35881 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
35883         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
35884         bug in strncpy/strncat.
35885         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
35887 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
35889         * string/tester.c (test_strcat): Add tests for different alignments
35890         of source and destination.
35891         (test_strncat): Likewise.
35893 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
35895         [BZ #12852]
35896         * posix/glob.c (glob): Check passed in values before using them in
35897         expressions to avoid some overflows.
35898         (glob_in_dir): Likewise.
35900         [BZ #13007]
35901         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
35902         check for AVX enablement so that we don't crash with old kernels and
35903         new hardware.
35904         * elf/tst-audit4.c: Add same checks here.
35905         * elf/tst-audit6.c: Likewise.
35907         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
35909 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
35911         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
35913 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
35915         * po/cs.po: Update from translation team.
35916         * po/bg.po: Likewise.
35918 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
35920         * misc/sys/cdefs.h: Add support for const attribute.
35921         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
35922         to gnu_dev_{major,minor,makedev} functions.
35924 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
35926         * intl/dcigettext.c (get_output_charset): Add missing bracket.
35928 2011-07-20  Andreas Schwab  <schwab@redhat.com>
35930         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
35931         strlen results.
35933 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
35935         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
35936         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
35937         register in order to avoid conflicts with the soft frame pointer
35938         being held in r11 when necessary.
35939         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
35940         (INTERNAL_VSYSCALL_NCS): Likewise.
35942 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
35944         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
35945         * elf/dl-fini.c (_dl_fini): Adjust caller.
35946         * elf/dl-close.c (_dl_close_worker): Likewise.
35947         * sysdeps/generic/ldsodefs.h: Adjust declaration.
35949 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
35951         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
35952         "aux_cache->nlibs < 0".
35954         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
35955         in the reload-count case.
35957 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
35959         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
35960         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
35961         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
35962         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
35963         * sysdeps/x86_64/multiarch/strcat.S: New file.
35964         * sysdeps/x86_64/multiarch/strncat.S: New file.
35965         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
35966         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
35967         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
35968         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
35969         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
35970         (USE_AS_STRCAT): Define.
35971         Add strcat and strncat support.
35972         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
35973         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
35974         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
35975         * string/strncat.c: Update.
35976         (USE_AS_STRNCAT): Define.
35977         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
35978         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
35979         and i7.
35980         * sysdeps/x86_64/multiarch/init-arch.h
35981         (bit_Prefer_PMINUB_for_stringop): New.
35982         (index_Prefer_PMINUB_for_stringop): Likewise.
35983         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
35984         bit_Prefer_PMINUB_for_stringop.
35986 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
35988         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
35989         buffer64.
35990         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
35991         of casting of buffer.
35992         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
35993         buffer32 and buffer64.
35994         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
35995         writes instead of casting of buffer.
35996         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
35997         buffer32.
35998         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
35999         casting of buffer.
36001 2011-07-19  Andreas Schwab  <schwab@redhat.com>
36003         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
36005 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
36007         * nscd/nscd.c (termination_handler): Don't do anything for a database
36008         if it has not yet been initialized.
36010 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
36012         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
36014 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
36016         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
36018 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
36020         * po/nl.po: Update from translation team.
36021         * po/sv.po: Likewise.
36023 2011-07-16  Roland McGrath  <roland@hack.frob.com>
36025         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
36026         now disallowed by GCC.
36028         * configure.in (use-default-link): Default to yes if a test -shared
36029         link meets our qualifications.
36030         * configure: Regenerated.
36032         * config.make.in (output-format): New variable.
36033         * configure.in: Check for ld --print-output-format support.
36034         * configure: Regenerated.
36035         * Makerules ($(common-objpfx)format.lds)
36036         [$(output-format) != unknown]: Just use $(output-format),
36037         instead of the linker-script munging.
36039 2011-07-14  Roland McGrath  <roland@hack.frob.com>
36041         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
36042         of $(common-objpfx)shlib.lds.
36043         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
36045         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
36046         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
36048         * configure.in (-z relro check): Adjust test code to add a large
36049         writable data section after it.
36050         * configure: Regenerated.
36052 2011-07-11  Roland McGrath  <roland@hack.frob.com>
36054         * configure.in (-z relro check): Fix test code to make the variable
36055         truly const.
36056         * configure: Regenerated.
36058 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
36060         * nscd/nscd.h (struct traced_file): Define.
36061         (struct database_dyn): Remove inotify_descr, reset_res, and filename
36062         elements.  Add traced_files.
36063         (inotify_fd): Declare.
36064         (register_traced_file): Declare.
36065         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
36066         (inotify_fd): Export.
36067         (resolv_conf_descr): Remove.
36068         (nscd_init): Move inotify descriptor creation to main.
36069         Don't register files for notification here.
36070         (register_traced_file): New function.
36071         (invalidate_cache): Don't use reset_res to determine whether to call
36072         res_init, go through the list of registered files.
36073         (main_loop_poll): The inotify descriptors are now stored in the
36074         structures for the traced files.
36075         (main_loop_epoll): Likewise
36076         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
36077         to __nss_disable_nscd.
36078         * nscd/cache.c (prune_cache): There is no single inotify descriptor
36079         for a database anymore.  Check the records for all the registered
36080         files instead.
36081         * nss/Makefile (libnss_files-routines): Add files-init.
36082         (libnss_db-routines): Add db-init.
36083         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
36084         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
36085         * nss/nss_db/db-init.c: New file.
36086         * nss/nss_files/files-init.c: New file.
36087         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
36088         __nss_lookup_function.
36089         (__nss_lookup_function): Call nss_load_library.
36090         (nss_load_all_libraries): New function.
36091         (__nss_disable_nscd): Take parameter with callback function for files
36092         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
36093         used for the cached services.
36094         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
36095         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
36096         options for features to all the files in nscd.
36098         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
36100 2011-07-10  Roland McGrath  <roland@hack.frob.com>
36102         * csu/elf-init.c (__libc_csu_init): Comment typo.
36104 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
36106         * po/pl.po: Update from translation team.
36107         * po/ja.po: Likewise.
36108         * po/ru.po: Likewise.
36109         * po/ko.po: Likewise.
36110         * po/fr.po: Likewise.
36112 2011-07-09  Roland McGrath  <roland@hack.frob.com>
36114         * configure.in (.ctors/.dtors header and trailer check):
36115         Use an empirical test on a built program.
36116         * configure: Regenerated.
36118         * configure.in (-z relro check): Use an empirical test on a built DSO.
36119         Detect, but do not require, on ia64.
36120         * configure: Regenerated.
36122         * configure.in (READELF): Find it with AC_CHECK_TOOL.
36123         Update tests that use readelf to use $READELF instead.
36124         * configure: Regenerated.
36126 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
36128         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
36129         if the result is not used.
36131 2011-07-05  Andreas Jaeger  <aj@suse.de>
36133         [BZ#9696]
36134         * stdlib/tst-strtod.c: Add testcase.
36136 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
36138         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
36139         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
36140         The latter has a higher limit.  Take additional parameter to pass to
36141         the new function.
36142         (__pathconf): Pass file to __statfs_link_max.
36143         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
36144         __statfs_link_max.
36145         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
36146         __statfs_link_max.
36148         [BZ #12868]
36149         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
36150         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
36151         Handle Lustre.
36152         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
36153         (__statfs_filesize_max): Likewise.
36154         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
36156 2011-07-05  Andreas Jaeger  <aj@suse.de>
36158         * resolv/res_comp.c (dn_skipname): Remove unused variable.
36160 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
36162         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
36163         `status' variable.
36164         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
36165         Likewise.
36167 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
36169         * Makefile (strop-tests): Add strncat.
36170         * string/test-strncat.c: New file.
36172 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
36174         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
36176 2011-06-21  Andreas Jaeger  <aj@suse.de>
36178         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
36179         Copy rule from iconvdata/Makefile.
36181 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
36183         [BZ #12922]
36184         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
36185         but no long options are defined, just return 'W'.
36187 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
36189         [BZ #9696]
36190         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
36192 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
36194         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
36195         netgroups to read.
36196         (innetgr): Likewise.
36198 2011-07-05  Roland McGrath  <roland@hack.frob.com>
36200         * config.make.in (install_root): Default to $(DESTDIR).
36202 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
36204         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
36206 2011-07-02  Roland McGrath  <roland@hack.frob.com>
36208         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
36210         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
36211         containing directory rather than embedding absolute directory names.
36213         * scripts/check-local-headers.sh: Rewritten using awk.
36214         Match by word, not by line.  Print error messages for matches.
36215         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
36217         * Makerules [shlib-lds-flags empty]:
36218         ($(common-objpfx)libc_pic.opts): New target.
36219         ($(common-objpfx)libc_pic.os.clean): New target.
36220         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
36222         * config.make.in (OBJCOPY): New variable.
36223         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
36224         * configure: Regenerated.
36226         * config.make.in (use-default-link): New variable.
36227         * configure.in (use_default_link): Grok --with-default-link to set it.
36228         * configure: Regenerated.
36229         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
36230         (shlib-lds, shlib-lds-flags): Define to empty.
36232         * Makerules (shlib-lds): New variable.
36233         (shlib-lds-flags): New variable.
36234         (build-shlib, build-moduile, build-module-asneeded): Use it.
36235         ($(common-objpfx)libc.so): Use $(shlib-lds).
36236         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
36237         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
36239         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
36240         DT_FLAGS/DT_FLAGS_1 with zero flags.
36242         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
36243         linker script munging.
36245 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
36247         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
36248         as 128-bit value.
36249         * crypt/sha512.c (sha512_process_block): Perform total addition using
36250         128-bit if possible.
36251         (__sha512_finish_ctx): Likewise.
36252         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
36253         as 64-bit value.
36254         * crypt/sha256.c (SWAP64): Define.
36255         (sha256_process_block): Perform total addition using 64-bit if
36256         possible.
36257         (__sha256_finish_ctx): Likewise.
36259 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
36261         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
36262         * nscd/initgrcache.c (addinitgroupsX): Likewise.
36263         * nscd/hstcache.c (cache_addhst): Likewise.
36264         * nscd/grpcache.c (cache_addgr): Likewise.
36265         * nscd/aicache.c (addhstaiX): Likewise
36266         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
36268 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
36270         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
36271         * nscd/initgrcache.c (addinitgroupsX): Likewise.
36272         * nscd/hstcache.c (cache_addhst): Likewise.
36273         * nscd/grpcache.c (cache_addgr): Likewise.
36274         * nscd/aicache.c (addhstaiX): Likewise
36276 2011-07-01  Andreas Schwab  <schwab@redhat.com>
36278         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
36279         domain only when needed.
36281 2011-06-30  Andreas Schwab  <schwab@redhat.com>
36283         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
36284         is always restored.
36286 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
36288         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
36289         are re-adding the entry.
36290         * nscd/servicescache.c (cache_addserv): Likewise.
36292 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
36294         * sysdeps/generic/dl-irel.h: fix protection against multiple
36295         inclusions.
36296         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
36298 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
36300         [BZ #12935]
36301         * malloc/memusage.sh: Fix quoting in message.
36302         * debug/xtrace.sh: Likewise.
36304         * configure.in: Remove support for --experimental-malloc option, make
36305         it the default.
36306         * config.make.in: Likewise.
36307         * malloc/Makefile: Likewise.
36309 2011-06-27  Andreas Schwab  <schwab@redhat.com>
36311         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
36312         two-byte characters.
36314 2011-06-27  Roland McGrath  <roland@hack.frob.com>
36316         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
36317         AC_CACHE_CHECK invocation.
36318         * configure: Regenerated.
36320         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
36322 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
36324         [BZ #12350]
36325         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
36326         bit from old_res_options.
36328         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
36330         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
36331         value type for setfct.
36333 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
36335         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
36336         __gettimeofday instead of gettimeofday.
36338 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
36340         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
36342 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
36344         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
36346         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
36347         info.
36349 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
36351         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
36352         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
36353         strcpy-sse2-unaligned strncpy-sse2-unaligned
36354         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
36355         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
36356         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
36357         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
36358         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
36359         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
36360         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
36361         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
36362         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
36363         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
36364         (STRCPY): Support SSE2 and SSSE3 versions.
36366 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
36368         [BZ #12874]
36369         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
36370         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
36371         kernels which artificially limit size of requests.
36373 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
36375         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
36376         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
36377         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
36378         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
36379         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
36380         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
36381         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
36382         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
36383         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
36384         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
36385         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
36386         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
36387         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
36388         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
36389         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
36390         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
36391         Enable unaligned load optimization for Intel Core i3, i5 and i7
36392         processors.
36393         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
36394         Define.
36395         (index_Fast_Unaligned_Load): Define.
36396         (HAS_FAST_UNALIGNED_LOAD): Define.
36398 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
36400         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
36402 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
36404         [BZ #12907]
36405         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
36406         until it is clear that the information is realy needed.
36407         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
36409 2011-06-22  Andreas Schwab  <schwab@redhat.com>
36411         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
36413 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
36415         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
36416         /sys/devices/system/cpu/online if it is usable.
36418         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
36419         reading the information from the /proc filesystem to once a second.
36421 2011-06-21  Andreas Jaeger  <aj@suse.de>
36423         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
36424         NULL after inclusion of kernel headers.
36426 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
36428         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
36429         calls to internal_setent.
36431         [BZ #12885]
36432         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
36433         addresses using gethostbyname4_r ignore IPv4 addresses.
36435         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
36436         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
36438         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
36440 2011-06-20  David S. Miller  <davem@davemloft.net>
36442         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
36443         inclusions.
36444         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
36446         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
36447         (elf_irel): Use it.
36448         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
36449         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
36450         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
36451         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
36452         * sysdeps/x86_64/dl-irel.h: Likewise.
36454         * elf/dl-runtime.c: Use elf_ifunc_invoke.
36455         * elf/dl-sym.c: Likewise.
36457 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
36459         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
36460         need to dereference resplen2.
36462 2011-06-14  Andreas Schwab  <schwab@redhat.com>
36464         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
36466 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
36468         * Makeconfig: Define vardbdir and inst_vardbdir.
36469         * nss/Makefile: Add rules to install db-Makefile.
36471         * nss/nss_db/db-XXX.c: Cleanup.
36473         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
36474         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
36475         GLIBC_PRIVATE.
36476         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
36477         * nss/makedb.c: Implement -g option to specify that value strings
36478         are generated and should not be added to table iterated over for
36479         get*ent calls.
36480         * nss/nss_db/db-initgroups.c: New file.
36482         * nss/getent.c: Add support for initgroups lookups through getgrouplist
36483         interface.
36485         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
36486         (internal_getgrouplist): Adjust to name change.
36487         Update use_initgroups_entry if this is not the first call.
36488         * nss/databases.def: Add initgroups entry.
36490         * nss/makedb.c (compute_tables): Check result of multiple hash table
36491         sizes to minimize maximum chain length.
36493 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
36495         * Versions.def: Add entry for libnss_db.
36496         * shlib-versions: Likewise.
36497         * nss/Makefile: Add rules to build libnss_db.
36498         * nss/Versions: Add libnss_db information.  Organize libnss_files
36499         entries better.
36500         * nss/db-Makefile: Add gshadow support.  Change rules for the new
36501         makedb progra.  Some minor improvements to generate smaller files.
36502         * nss/nss_db/nss_db.h: Move NSS database header data structures to
36503         here from...
36504         * nss/makedb.c: ...here.
36505         Improve database format to be smaller and require less memory at
36506         runtime.
36507         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
36508         db anymore.
36509         * nss/nss_db/db-netgrp.c: Likewise.
36510         * nss/nss_db/db-open.c: Likewise.
36511         * nss/nss_files/flies-XXX.x: Adjust comments.
36512         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
36513         * nss/nss_files/files-grp.c: Likewise.
36514         * nss/nss_files/files-hosts.c: Likewise.
36515         * nss/nss_files/files-network.c: Likewise.
36516         * nss/nss_files/files-proto.c: Likewise.
36517         * nss/nss_files/files-pwd.c: Likewise.
36518         * nss/nss_files/files-rpc.c: Likewise.
36519         * nss/nss_files/files-service.c: Likewise.
36520         * nss/nss_files/files-sgrp.c: Likewise.
36521         * nss/nss_files/files-spwd.c: Likewise.
36522         * nss/nss_db/db-alias.c: Removed.
36523         * nss/nss_db/dummy-db.h: Removed.
36525 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
36527         * nss/makedb.c: Rewritten to not use database library.
36528         * nss/Makefile: Update to build new makedb program.
36530 2011-06-14  Andreas Jaeger  <aj@suse.de>
36532         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
36533         memset declaration.
36535 2011-06-10  Andreas Schwab  <schwab@redhat.com>
36537         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
36538         tmpbuf.
36540 2011-06-10  Roland McGrath  <roland@hack.frob.com>
36542         * Makerules (shlib.lds): Fail if the linker script comes out empty.
36543         * elf/Makefile ($(objpfx)ld.so): Likewise.
36545         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
36546         Don't list ld.so twice in dependencies.
36548         * posix/bug-regex31.c: Include <stdlib.h>.
36550         * nscd/hstcache.c (cache_addhst): Remove unused variable.
36552         * nis/nss_compat/compat-spwd.c
36553         (getspent_next_nss_netgr): Remove unused variable.
36554         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
36556         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
36557         nonmembers" output to use the right array.
36559         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
36561         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
36563         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
36564         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
36565         * catgets/gencat.c (read_input_file): Likewise.
36566         * locale/programs/locarchive.c (enlarge_archive): Likewise.
36568         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
36569         variable definition inside #if's controlling its use.
36571         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
36573         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
36575         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
36577         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
36578         unreachable code.
36580         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
36582         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
36583         * configure: Regenerated.
36585         * Makerules: Revert last change.
36586         * elf/Makefile: Likewise.
36588 2011-06-09  Roland McGrath  <roland@hack.frob.com>
36590         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
36591         * elf/Makefile ($(objpfx)librtld.os): Likewise.
36592         (reloc-link): Likewise.
36594 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
36596         * elf/Makefile: Add rules to build pldd.
36597         * elf/pldd.c: New file.
36598         * elf/pldd-xx.c: New file.
36600 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
36602         * version.h: Update for 2.15 development version.
36604 2011-06-07  David S. Miller  <davem@davemloft.net>
36606         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
36607         ifuncs.
36608         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
36609         elf_machine_lazy_rel): Likewise.
36610         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
36611         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
36612         elf_machine_lazy_rel): Likewise.
36613         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
36614         dl_hwcap via passed in argument.
36615         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
36616         Likewise.
36618 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
36620         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
36622 2011-06-06  Roland McGrath  <roland@hack.frob.com>
36624         [BZ #12849]
36625         * manual/fdl-1.1.texi: New file, verbatim from:
36626         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
36627         * manual/lgpl-2.1.texi: New file, verbatim from:
36628         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
36629         * manual/Makefile (licenses): New variable, list those new file names.
36630         (texis): Use it.
36631         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
36633         * manual/fdl.texi: File removed.
36634         * manual/lesser.texi: File removed.
36635         * manual/libc.texinfo (Copying, Documentation License):
36636         Use new @include file names, put @appendix directive before @include.
36638 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
36640         [BZ #12841]
36641         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
36642         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
36643         (mq_open): Add __NTH.
36645 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
36647         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
36648         Assume Intel Core i3/i5/i7 processor if AVX is available.
36650 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
36652         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
36653         typo.
36655 2011-05-31  Andreas Schwab  <schwab@redhat.com>
36657         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
36658         memory.  Use alloca_account.  Fix memory leak when retrying.
36660 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
36662         * version.h (RELEASE): Bump for 2.14 release.
36663         * include/features.h (__GLIBC_MINOR__): Bump to 14.
36665         * config.make.in (RANLIB): Remove entry.
36667 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
36669         * po/Makefile (po-sed-cmd): Add ksh to extensions.
36670         (libc.pot): Work around missing support for .ksh extension in xgettext.
36672         [BZ #12684]
36673         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
36674         if both request failed.
36675         (send_dg): In case of server errors clear resplen or *resplen2.
36677         [BZ #12454]
36678         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
36679         when there are multiple maps.
36680         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
36681         (_dl_fini): Remove test here.
36683         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
36685 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
36687         [BZ #12350]
36688         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
36689         bit from old_res_options.
36690         (gaih_inet): Likewise.
36692         [BZ #11099]
36693         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
36694         as signed.
36696         * resolv/res_init.c (res_setoptions): Make the code more compact.
36698         [BZ #11558]
36699         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
36700         set RES_USEVC.
36702         [BZ #11634]
36703         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
36705         * malloc/malloc.h: Mark malloc hook variables as deprecated.
36707         [BZ #11781]
36708         * malloc/malloc.h: Declare malloc hook variables as volatile.
36710         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
36711         in last patch.
36713         [BZ #11799]
36714         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
36715         raise in the comment.
36716         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
36717         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
36718         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
36720 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
36722         [BZ #12811]
36723         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
36724         grow the buffers more if it already has to be sufficient.
36725         (build_wcs_upper_buffer): Likewise.
36726         * posix/regexec.c (check_matching): Likewise.
36727         (clean_state_log_if_needed): Likewise.
36728         (extend_buffers): Don't enlarge buffers beyond size of the input
36729         buffer.
36730         Patches mostly by Emil Wojak <emil@wojak.eu>.
36731         * posix/bug-regex32.c: New file.
36732         * posix/Makefile (tests): Add bug-regex32.
36734         * locale/findlocale.c (_nl_find_locale): Return right away if
36735         _nl_explode_name failed.
36736         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
36738         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
36740         * debug/xtrace.sh: Unify messages.
36741         * malloc/memusage.sh: Likewise.
36743         [BZ #12813]
36744         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
36745         time symbol from vDSO.  Substitute with vsyscall if not available.
36746         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
36747         __vdso_time.
36749         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
36750         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
36751         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
36752         Add sendmmsg and internal_sendmmsg.
36753         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
36754         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
36755         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
36757         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
36758         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
36759         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
36761 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
36763         [BZ #12813]
36764         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
36765         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
36766         available.
36767         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
36768         __vdso_getcpu.
36770         [BZ #12814]
36771         * iconvdata/Makefile (tests): Add bug-iconv9.
36772         * iconvdata/bug-iconv9.c: New file.
36774 2011-05-27  Andreas Schwab  <schwab@redhat.com>
36776         [BZ #12814]
36777         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
36779 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
36781         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
36782         (struct user_regs_struct): Change intcs field back to cs.
36784 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
36786         * po/ja.po: Update from translation team.
36788 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
36790         [BZ #12795]
36791         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
36792         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
36794 2011-05-20  Andreas Schwab  <schwab@redhat.com>
36796         * stdlib/longlong.h: Update from GCC.
36798 2011-05-23  Andreas Schwab  <schwab@redhat.com>
36800         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
36801         parameter name.
36802         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
36803         Add parameter name.
36804         (__sysconf): Pass it down.
36806 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
36808         [BZ #12671]
36809         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
36810         some situations.
36811         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
36812         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
36813         add in in __libc_use_alloca calls.  Adjust callers.
36814         (glob): Use malloc in some situations.
36816         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
36817         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
36818         pltexit.
36820 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
36822         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
36823         and CLOCK_BOOTTIME_ALARM.
36825         [BZ #12782]
36826         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
36827         is returned.
36829         * string/_strerror.c (__strerror_r): Print negative errors as signed
36830         numbers.
36832         [BZ #12777]
36833         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
36834         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
36835         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
36837         * configure.in: Fix typo in redirection and correct removal of test
36838         files in two cases.
36840         [BZ #12788]
36841         * locale/setlocale.c (new_composite_name): Fix test to check for
36842         identical name of all categories.
36844         [BZ #12792]
36845         * libio/filedoalloc.c (local_isatty): New function.
36846         (_IO_file_doallocate): Use local_isatty.
36847         * stdio-common/perror.c (perror): In case a new stream is used
36848         forward the stream error.
36849         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
36850         error flag.
36852 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
36854         [BZ #11869]
36855         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
36856         alloca.
36857         * include/alloca.h (extend_alloca_account): Define.
36859         [BZ #11857]
36860         * posix/regex.h: Fix comments with documentation of user-accessible
36861         fields after compilation and describe correct free'ing of pattern
36862         after re_compile_pattern.
36863         Patch by Reuben Thomas <rrt@sc3d.org>.
36865 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
36867         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
36868         and -mno-altivec to prevent the compiler from using Altivec and/or
36869         VSX instructions when the corresponding registers are not available.
36871 2011-05-19  Andreas Schwab  <schwab@redhat.com>
36873         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
36875 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
36877         * libio/freopen.c (freopen): Use __dup2, not dup2.
36878         * libio/freopen64.c (freopen64): Likewise.
36880 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
36882         [BZ #12775]
36883         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
36884         * math/Makefile (tests): Add test-powl.
36885         (CFLAGS-test-powl.c): Define.
36886         * math/test-powl.c: New file.
36888 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
36890         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
36892 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
36894         [BZ #11837]
36895         * iconvdata/gb18030.c: Update to GB18020-2005.
36897 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
36899         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
36900         RE_SYNTAX_POSIX_AWK): Update to match recent development.
36901         Patch by Aharon Robbins <arnold@skeeve.com>.
36903         [BZ #11892]
36904         * stdlib/putenv.c (putenv): Don't always create copy of the variable
36905         on the stack.
36907         [BZ #11895]
36908         * misc/pselect.c (__pselect): Handle timeout value errors hidden
36909         through underflows.
36911         [BZ #12766]
36912         * misc/error.c (error_at_line): Ensure file_name and old_file_name
36913         point to strings before performing equality test for error_one_per_line
36914         mode.
36916         [BZ #11697]
36917         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
36919         [BZ #11820]
36920         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
36921         (struct user_fpregs_struct): Avoid __uint*_t types.
36923         [BZ #6420]
36924         * malloc/mtrace.c (tr_where): Add additional parameter to point to
36925         symbol info.  Use it instead of calling _dl_addr locally.
36926         (lock_and_info): New function.
36927         (tr_freehook): Call lock_and_info and pass symbol info as additional
36928         parameter to tr_where.
36929         (tr_mallochook): Likewise.
36930         (tr_reallochook): Likewise.
36931         (tr_memalignhook): Likewise.
36933         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
36934         used and couldn't be at all thread-safe.
36936 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
36938         * libio/freopen.c (freopen): Don't close old file descriptor
36939         before the new one is opened.  Instead dup the new file descriptor
36940         to the old one after the new stream is created.
36941         * libio/freopen64.c (freopen64): Likewise.
36942         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
36943         * libio/fileops.c (_IO_new_file_close_it): Handle new
36944         _IO_FLAGS2_NOCLOSE flag.
36945         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
36946         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
36947         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
36948         _IO_FLAGS2_NOCLOSE flag.
36949         * include/unistd.h: Add hidden_proto for dup3.
36950         Define __have_dup3.
36951         * io/dup3.c: Define hidden symbol.
36952         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
36954         [BZ #7101]
36955         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
36956         when an incomplete long option is used.
36957         * posix/tst-getopt_long1.c: New file.
36958         * posix/Makefile (tests): Add tst-getopt_long1.
36960         [BZ #10138]
36961         * scripts/config.guess: Update from autoconf-2.68.
36962         * scripts/config.sub: Likewise.
36964         [BZ #10157]
36965         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
36966         tests into ...
36967         (has_cpuclock): ...this.  New function.
36968         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
36969         macro here based on has_cpuclock code.
36971         [BZ #10149]
36972         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
36973         First byte (not low byte) is now always NUL.
36974         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
36976         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
36977         Use non-cancelable interfaces.
36979         [BZ #9809]
36980         * locale/iso-639.def: Add entry for Sorani.
36982         [BZ #11901]
36983         * include/stdlib.h: Move include protection to the right place.
36984         Define abort_msg_s.  Declare __abort_msg with it.
36985         * stdlib/abort.c (__abort_msg): Adjust type.
36986         * assert/assert.c (__assert_fail_base): New function.  Majority
36987         of code from __assert_fail.  Allocate memory for __abort_msg with
36988         mmap.
36989         (__assert_fail): Now call __assert_fail_base.
36990         * assert/assert-perr.c: Remove bulk of implementation.  Use
36991         __assert_fail_base.
36992         * include/assert.hL Declare __assert_fail_base.
36993         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
36994         mmap.
36995         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
36997 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
36999         [BZ #11952]
37000         [BZ #12453]
37001         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
37002         until all modules are registered in the DTV.
37003         * elf/Makefile: Add rules to build and run tst-tls19.
37004         * elf/tst-tls19.c: New file.
37005         * elf/tst-tls19mod1.c: New file.
37006         * elf/tst-tls19mod2.c: New file.
37007         * elf/tst-tls19mod3.c: New file.
37008         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
37010         [BZ #12083]
37011         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
37012         correctly.
37014         [BZ #12601]
37015         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
37016         two-byte sequence errors.
37017         * iconvdata/Makefile (tests): Add bug-iconv8.
37018         * iconvdata/bug-iconv8.c: New file.
37020         [BZ #12626]
37021         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
37022         buf2 definition.
37024         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
37026         [BZ #12432]
37027         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
37028         (dummy_getcfa): New function.
37029         (init): Get _Unwind_GetCFA address, use dummy if not found.
37030         (backtrace_helper): In recursion check, also check whether CFA changes.
37031         (__backtrace): Completely initialize arg.
37033         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
37034         storing incomplete byte sequence in state object.  Avoid testing for
37035         guaranteed too small input if we know there is enough data available.
37037 2011-05-11  Andreas Schwab  <schwab@redhat.com>
37039         * Makeconfig (+link-pie): Indent.
37040         * Rules (binaries-pie): Define if $(have-fpie) and
37041         $(build-shared).
37042         (binaries-shared): Also filter out $(binaries-pie).
37043         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
37044         * nscd/Makefile (others-pie): Add nscd.
37045         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
37046         ($(objpfx)nscd): Remove command override.
37047         * login/Makefile (others-pie): Add pt_chown.
37048         ($(objpfx)pt_chown): Remove command override.
37049         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
37050         remove command overrides.
37052 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
37054         * libio/tst_putwc.c: Fix error messages.
37056         [BZ #12724]
37057         * libio/fileops.c (_IO_new_file_close_it): Always flush when
37058         currently writing and seek to current position when not.
37059         * libio/Makefile (tests): Add bug-fclose1.
37060         * libio/bug-fclose1.c: New file.
37062 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
37064         [BZ #12511]
37065         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
37066         don't set DF_1_NODELETE here.
37067         (do_lookup_x): When entering new entry test for copy relocation
37068         and if necessary set DF_1_NODELETE flag.
37069         * elf/tst-unique4.cc: New file.
37070         * elf/tst-unique4.h: New file.
37071         * elf/tst-unique4lib.cc: New file.
37072         * elf/Makefile: Add rules to build and run tst-unique4.
37073         Patch by Piotr Bury <pbury@goahead.com>.
37075 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
37077         [BZ #12052]
37078         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
37080         [BZ #12625]
37081         * misc/mntent_r.c (addmntent): Flush the stream after the output
37083         [BZ #12393]
37084         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
37085         (is_trusted_path_normalize): Skip initial colon.  Append slash
37086         to empty buffer.  Duplicate is_trusted_path code but allow
37087         constructed patch to be prefix.
37088         (is_dst): Allow $ORIGIN followed by /.
37089         (_dl_dst_substitute): Correct clearing of check_for_trusted.
37090         Correct testing of result of is_trusted_path_normalize
37091         (decompose_rpath): Fix warning.
37093 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
37095         [BZ #11257]
37096         * grp/initgroups.c (internal_getgrouplist): When we found the service
37097         list through the initgroups entry in nsswitch.conf do not always
37098         continue on a successful lookup.  Don't always use the
37099         __nss_group_database value if it is set.
37100         * nss/nsswitch.conf (initgroups): Change action for successful db
37101         lookup to continue for compatibility.
37103 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
37105         [BZ #11532]
37106         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
37107         and CP774 modules.
37108         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
37109         and CP774 modules.
37110         * iconvdata/tst-tables.sh: Likewise.
37111         * iconvdata/cp770.c: New file.
37112         * iconvdata/cp771.c: New file.
37113         * iconvdata/cp772.c: New file.
37114         * iconvdata/cp773.c: New file.
37115         * iconvdata/cp774.c: New file.
37116         * iconvdata/testdata/CP770: New file.
37117         * iconvdata/testdata/CP770..UTF8: New file.
37118         * iconvdata/testdata/CP771: New file.
37119         * iconvdata/testdata/CP771..UTF8: New file.
37120         * iconvdata/testdata/CP772: New file.
37121         * iconvdata/testdata/CP772..UTF8: New file.
37122         * iconvdata/testdata/CP773: New file.
37123         * iconvdata/testdata/CP773..UTF8: New file.
37124         * iconvdata/testdata/CP774: New file.
37125         * iconvdata/testdata/CP774..UTF8: New file.
37127         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
37128         END CHARMAP line.
37129         * iconvdata/gen-8bit-gap.sh: Likewise.
37130         * iconvdata/gen-8bit.sh: Likewise.
37132         * locale/iso-639.def: Add ary entry.
37134         [BZ #11258]
37135         * locale/C-translit.h.in: Add U20A1 transliteration.
37137         [BZ #12178]
37138         * locale/iso-639.def: Add wae entry.
37139         Patch by Kevin Bortis <bortis@translate-wae.ch>.
37141         [BZ #12545]
37142         * locale/programs/localedef.c (construct_output_path): Use ssize_t
37143         for n.
37145         [BZ #12711]
37146         * locale/C-translit.h.in: Add entry for U20B9.
37147         Patch by pravin.d.s@gmail.com.
37149 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
37151         [BZ #12713]
37152         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
37153         ENAMETOOLONG use generic getcwd.
37154         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
37155         in rtld.  Use *stat64.
37156         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
37157         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
37158         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
37159         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
37160         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
37161         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
37162         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
37163         __fstatat64 macros.
37164         * include/dirent.h: Add libc_hidden_proto for rewinddir.
37165         * dirent/rewinddir.c: Add libc_hidden_def.
37166         * sysdeps/mach/hurd/rewinddir.c: Likewise.
37167         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
37169         * include/dirent.h (__alloc_dir): Add flags parameter.
37170         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
37171         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
37172         __alloc_dir.
37173         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
37174         from fdopendir if O_CLOEXEC is already set.
37176 2011-03-15  Alan Modra  <amodra@gmail.com>
37178         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
37179         l_tls_firstbyte_offset non-zero.  Save padding offset in
37180         l_tls_firstbyte_offset for later use.
37181         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
37182         freeing static tls block.
37184 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
37186         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
37187         where #ifdef was intended.  The intent is to prevent ARG_MAX from
37188         being defined by the kernel headers.
37190 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
37192         [BZ #12734]
37193         * resolv/resolv.h: Define RES_NOTLDQUERY.
37194         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
37195         no-tld-query and set RES_NOTLDQUERY.
37196         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
37197         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
37198         modern BIND to search name as TLD unless forbidden.
37200 2011-05-07  Petr Baudis  <pasky@suse.cz>
37201             Ulrich Drepper  <drepper@gmail.com>
37203         [BZ #12393]
37204         * elf/dl-load.c (fillin_rpath): Move trusted path check...
37205         (is_trusted_path): ...to here.
37206         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
37207         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
37208         using is_trusted_path_normalize() in setuid scripts.
37210 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
37212         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
37213         __BEGIN/__END_DECLS.
37215 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
37217         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
37218         NSS_STATUS_NOTFOUND if no record was found.
37220 2011-05-05  Andreas Schwab  <schwab@redhat.com>
37222         * sunrpc/Makefile (headers): Add rpc/netdb.h.
37223         (headers-not-in-tirpc): Remove rpc/netdb.h
37224         * resolv/netdb.h: Revert last change.
37226 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
37228         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
37229         circular dependency between libgcc.a and libc.a.
37231 2011-05-05  Andreas Schwab  <schwab@redhat.com>
37233         * resolv/netdb.h: Don't include <rpc/netdb.h>.
37234         * nis/Makefile: Don't install rpcsvc/*.
37235         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
37236         instead of <rpc/types.h>.
37237         (MAXHOSTNAMELEN): Define.
37239 2011-05-03  Andreas Schwab  <schwab@redhat.com>
37241         * elf/ldconfig.c (add_dir): Don't crash on empty path.
37243 2011-04-28  Maciej Babinski  <mbabinski@google.com>
37245         [BZ #12714]
37246         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
37247         gethostbyname4_r when IPv6 results are possible.
37249 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
37251         [BZ #12723]
37252         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
37253         _PC_PIPE_BUF handling.
37255 2011-04-30  Bruno Haible  <bruno@clisp.org>
37257         [BZ #12717]
37258         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
37259         * resolv/netdb.h (getnameinfo): Change type of flags parameter
37260         to 'int'.
37261         * inet/getnameinfo.c (getnameinfo): Likewise.
37263 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
37265         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
37266         to groups setting in database lookup.
37267         * nss/nsswitch.conf: Add initgroups entry.
37269 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
37271         [BZ #12685]
37272         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
37273         mode string.
37274         Patch by Eric Blake <eblake@redhat.com>.
37276 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
37278         * sunrpc/Makefile (need-export-routines): Add svc_run.
37279         (routines): Remove svc_run.
37280         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
37281         * sunrpc/clnt_perr.c (clnt_perrno): Export.
37282         * sunrpc/svc_run.c (svc_run): Likewise.
37283         * sunrpc/svc_udp.c (svcudp_create): Likewise.
37285 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
37287         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
37288         problem in reallocation in last patch.
37290 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
37292         * sunrpc/Makefile: Move inclusion of Rules.
37294 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
37296         * nss/nss_files/files-initgroups.c: New file.
37297         * nss/Makefile (libnss_files-routines): Add files-initgroups.
37298         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
37299         _nss_files_initgroups_dyn.
37301 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
37303         * elf/elf.h (R_ARM_IRELATIVE): Define.
37305 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
37307         * po/ru.po: Update from translation team.
37309 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
37311         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
37312         dependencies.
37314 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
37316         [BZ #12653]
37317         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
37318         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
37319         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
37320         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
37321         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
37323 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
37325         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
37326         differing bytes.
37327         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
37328         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
37329         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
37331 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
37333         [BZ #12420]
37334         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
37335         storing it.
37336         * stdlib/bug-getcontext.c: New file.
37337         * stdlib/Makefile: Add rules to build and run bug-getcontext.
37339 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
37341         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
37342         instructions into .machine "z9-109".
37343         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
37344         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
37346 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
37348         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
37349         between environment variables and auxiliary vector.
37351 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
37353         * Makefile: Add rules to build linkobj/libc.so.
37354         * include/libc-symbols.h: Define libc_hidden_nolink.
37355         * include/rpc/auth.h: Mark functions which are to be hidden.
37356         * include/rpc/auth_des.h: Likewise.
37357         * include/rpc/auth_unix.h: Likewise.
37358         * include/rpc/clnt.h: Likewise.
37359         * include/rpc/des_crypt.h: Likewise.
37360         * include/rpc/key_prot.h: Likewise.
37361         * include/rpc/pmap_clnt.h: Likewise.
37362         * include/rpc/pmap_prot.h: Likewise.
37363         * include/rpc/pmap_rmt.h: Likewise.
37364         * include/rpc/rpc_msg.h: Likewise.
37365         * include/rpc/svc.h: Likewise.
37366         * include/rpc/svc_auth.h: Likewise.
37367         * include/rpc/xdr.h: Likewise.
37368         * nis/Makefile: Link all DSOs against linkobj/libc.so.
37369         * nss/Makefile: Likewise.
37370         * sunrpc/Makefile: Don't install headers.  Build library with normal
37371         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
37372         * sunrpc/auth_des.c: Hide exported symbols by default, export some
37373         for the compat linking library.  Remove use of INTDEF/INTUSE.
37374         * sunrpc/auth_none.c: Likewise.
37375         * sunrpc/auth_unix.c: Likewise.
37376         * sunrpc/authdes_prot.c: Likewise.
37377         * sunrpc/authuxprot.c: Likewise.
37378         * sunrpc/clnt_gen.c: Likewise.
37379         * sunrpc/clnt_perr.c: Likewise.
37380         * sunrpc/clnt_raw.c: Likewise.
37381         * sunrpc/clnt_simp.c: Likewise.
37382         * sunrpc/clnt_tcp.c: Likewise.
37383         * sunrpc/clnt_udp.c: Likewise.
37384         * sunrpc/clnt_unix.c: Likewise.
37385         * sunrpc/des_crypt.c: Likewise.
37386         * sunrpc/des_soft.c: Likewise.
37387         * sunrpc/get_myaddr.c: Likewise.
37388         * sunrpc/key_call.c: Likewise.
37389         * sunrpc/key_prot.c: Likewise.
37390         * sunrpc/netname.c: Likewise.
37391         * sunrpc/pm_getmaps.c: Likewise.
37392         * sunrpc/pm_getport.c: Likewise.
37393         * sunrpc/pmap_clnt.c: Likewise.
37394         * sunrpc/pmap_prot.c: Likewise.
37395         * sunrpc/pmap_prot2.c: Likewise.
37396         * sunrpc/pmap_rmt.c: Likewise.
37397         * sunrpc/publickey.c: Likewise.
37398         * sunrpc/rpc_cmsg.c: Likewise.
37399         * sunrpc/rpc_common.c: Likewise.
37400         * sunrpc/rpc_dtable.c: Likewise.
37401         * sunrpc/rpc_prot.c: Likewise.
37402         * sunrpc/rpc_thread.c: Likewise.
37403         * sunrpc/rtime.c: Likewise.
37404         * sunrpc/svc.c: Likewise.
37405         * sunrpc/svc_auth.c: Likewise.
37406         * sunrpc/svc_authux.c: Likewise.
37407         * sunrpc/svc_raw.c: Likewise.
37408         * sunrpc/svc_run.c: Likewise.
37409         * sunrpc/svc_simple.c: Likewise.
37410         * sunrpc/svc_tcp.c: Likewise.
37411         * sunrpc/svc_udp.c: Likewise.
37412         * sunrpc/svc_unix.c: Likewise.
37413         * sunrpc/svcauth_des.c: Likewise.
37414         * sunrpc/xcrypt.c: Likewise.
37415         * sunrpc/xdr.c: Likewise.
37416         * sunrpc/xdr_array.c: Likewise.
37417         * sunrpc/xdr_float.c: Likewise.
37418         * sunrpc/xdr_intXX_t.c: Likewise.
37419         * sunrpc/xdr_mem.c: Likewise.
37420         * sunrpc/xdr_rec.c: Likewise.
37421         * sunrpc/xdr_ref.c: Likewise.
37422         * sunrpc/xdr_sizeof.c: Likewise.
37423         * sunrpc/xdr_stdio.c: Likewise.
37425 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
37427         [BZ #12650]
37428         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
37429         * sysdeps/ia64/dl-tls.h: Likewise.
37430         * sysdeps/powerpc/dl-tls.h: Likewise.
37431         * sysdeps/s390/dl-tls.h: Likewise.
37432         * sysdeps/sh/dl-tls.h: Likewise.
37433         * sysdeps/sparc/dl-tls.h: Likewise.
37434         * sysdeps/x86_64/dl-tls.h: Likewise.
37435         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
37437 2011-03-14  Andreas Schwab  <schwab@redhat.com>
37439         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
37440         rpath element also skip the following colon.
37441         (expand_dynamic_string_token): Add is_path parameter and pass
37442         down to DL_DST_REQUIRED and _dl_dst_substitute.
37443         (decompose_rpath): Call expand_dynamic_string_token with
37444         non-zero is_path.  Ignore empty rpaths.
37445         (_dl_map_object_from_fd): Call expand_dynamic_string_token
37446         with zero is_path.
37448 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
37450         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
37451         Make cancelable.
37453 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
37455         [BZ #12655]
37456         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
37457         Patch by Filipe David Manana <fdmanana@apache.org>.
37459 2011-04-07  Andreas Schwab  <schwab@redhat.com>
37461         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
37462         Maintain aligned stack.
37463         (CHECK_RSP): Remove unused macro.
37465 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
37467         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
37468         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
37470 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
37472         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
37474         * include/features.h: Mention __USE_XOPEN2K8 in comment.
37476 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
37478         [BZ #12518]
37479         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
37480         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
37481         * sysdeps/x86_64/memmove.c: New file.
37482         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
37483         (memcpy): Renamed to ...
37484         (__new_memcpy): This.
37485         (memcpy): Provide GLIBC_2_14 memcpy.
37486         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
37487         (memcpy): Provide GLIBC_2_2_5 memcpy.
37489 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
37491         [BZ #12631]
37492         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
37494 2011-03-30  Andreas Schwab  <schwab@redhat.com>
37496         * misc/syncfs.c: New file.
37497         * misc/Makefile (routines): Add syncfs.
37498         * posix/unistd.h: Declare syncfs.
37499         * sysdeps/unix/syscalls.list: Add syncfs.
37501 2011-04-01  Andreas Schwab  <schwab@redhat.com>
37503         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
37504         open_by_handle_at.
37505         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
37506         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
37507         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
37508         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
37509         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
37510         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
37511         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
37513 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
37515         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
37516         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
37517         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
37518         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
37519         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
37520         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
37521         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
37523         * io/Makefile: Compile fallocate.c, fallocate64.c, and
37524         sync_file_range.c with -fexceptions.
37525         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
37526         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
37527         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
37528         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
37529         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
37530         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
37531         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
37532         sync_file_range as cancellation point
37533         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
37534         now a wrapper around __call_sync_file_range with cancellation handling.
37535         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
37536         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
37537         function name to __call_sync_file_range.
37538         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
37539         Add call_sync_file_range.
37541 2011-04-01  Andreas Schwab  <schwab@redhat.com>
37543         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
37544         bits/timex.h.
37546 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
37548         * iconv/iconv.h: Fix typo in comment.
37549         * io/fcntl.h: Likewise.
37550         * libio/stdio.h: Likewise.
37551         * posix/spawn.h: Likewise.
37552         * posix/unistd.h: Likewise.
37553         * stdlib/stdlib.h: Likewise.
37554         * time/time.h: Likewise.
37555         * wcsmbs/wchar.h: Likewise.
37557         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
37558         open_by_handle): Add.
37559         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
37560         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
37561         Augment a few comments.
37562         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
37563         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
37564         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
37565         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
37566         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
37567         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
37568         open_by_handle.
37570         * io/fcntl.h (AT_EMPTY_PATH): Define.
37572 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
37574         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
37575         * sysdeps/unix/sysv/linux/bits/time.h: New file.
37576         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
37577         to...
37578         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
37579         * Versions.def: Add GLIBC_2.14.
37580         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
37581         Export.
37583 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
37585         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
37586         round counter.
37587         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
37589 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
37591         [BZ #12597]
37592         * string/test-strncmp.c (do_page_test): New function.
37593         (check2): Likewise.
37594         (test_main): Call check2.
37595         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
37597 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
37599         [BZ #12587]
37600         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
37601         Handle cache information in CPU leaf 4.
37602         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
37604 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
37606         [BZ #12583]
37607         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
37608         character representation.
37609         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
37611 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
37613         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
37614         END(__isnan) to END(__isnanf) to match function entry point/label
37615         EALIGN(__isnanf,...).
37617 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
37619         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
37621 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
37623         [BZ #12510]
37624         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
37625         copy from the symbol referenced in the relocation to initialize the
37626         used variable.
37627         Patch by Piotr Bury <pbury@goahead.com>.
37628         * elf/Makefile: Add rules to build and tst-unique3.
37629         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
37630         * elf/tst-unique3.cc: New file.
37631         * elf/tst-unique3.h: New file.
37632         * elf/tst-unique3lib.cc: New file.
37633         * elf/tst-unique3lib2.cc: New file.
37635         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
37637 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
37639         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
37640         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
37641         to _start.
37643 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
37645         * elf/dl-load.c (_dl_map_object): If we are looking for the first
37646         to-be-loaded object along a path to loader is ld.so.
37648 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
37649             Ulrich Drepper  <drepper@gmail.com>
37651         * sysdeps/x86_64/memset.S: After aligning destination, code
37652         branches to different locations depending on the value of
37653         misalignment, when multiarch is enabled. Fix this.
37655 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
37657         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
37658         Set _x86_64_preferred_memory_instruction for AMD processsors.
37659         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
37660         Set bit_Prefer_SSE_for_memop for AMD processors.
37662 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
37664         * libio/fmemopen.c (fmemopen): Optimize a bit.
37666 2011-03-03  Andreas Schwab  <schwab@redhat.com>
37668         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
37670 2011-03-03  Roland McGrath  <roland@redhat.com>
37672         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
37674 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
37676         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
37677         __bzero_ultra1 instead of __memset_ultra1.
37679 2011-02-23  Andreas Schwab  <schwab@redhat.com>
37680             Ulrich Drepper  <drepper@gmail.com>
37682         [BZ #12509]
37683         * include/link.h (struct link_map): Add l_orig_initfini.
37684         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
37685         returning unsuccessfully.
37686         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
37687         close of a file loaded at startup, restore the original l_initfini
37688         list.
37689         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
37690         list, store the pointer.
37691         * elf/Makefile ($(objpfx)noload-mem): New rule.
37692         (noload-ENV): Define.
37693         (tests): Add $(objpfx)noload-mem.
37694         * elf/noload.c: Include <memcheck.h>.
37695         (main): Call mtrace.  Close all opened handles.
37697 2011-02-17  Andreas Schwab  <schwab@redhat.com>
37699         [BZ #12454]
37700         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
37701         dependencies are missing.
37703 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
37705         Fix __if_freereq crash: Unlike the generic version which uses free,
37706         Hurd needs munmap.
37707         * sysdeps/mach/hurd/ifreq.h: New file.
37709 2011-01-27  Petr Baudis  <pasky@suse.cz>
37710             Ulrich Drepper  <drepper@gmail.com>
37712         [BZ 12445]#
37713         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
37714         to extend_alloca().
37715         * stdio-common/bug23.c: New file.
37716         * stdio-common/Makefile (tests): Add bug23.
37718 2010-09-28  Andreas Schwab  <schwab@redhat.com>
37719             Ulrich Drepper  <drepper@gmail.com>
37721         [BZ #12489]
37722         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
37723         before performing relro protection.  At old place add assertion
37724         to make sure nothing changed.
37726 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
37727             Glauber de Oliveira Costa  <glommer@gmail.com>
37729         * elf/elf.h: Add new ARM TLS relocs.
37731 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
37733         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
37734         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
37735         cast from r3.
37736         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
37737         'tests' variable.
37738         * sysdeps/wordsize-64/tst-writev.c: New file.
37740 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
37742         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
37743         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
37744         insns in _dl_start to prevent a TOC reference before relocs are
37745         resolved.
37747 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
37749         [BZ #12469]
37750         * Makeconfig: Remove RANLIB definition.
37751         * Makerules: Don't use RANLIB.
37752         * aclocal.m4: Remove ranlib test.
37753         * configure.in: No need to check for ranlib.
37754         * elf/rtld-Rules: Don't use RANLIB.
37756 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
37758         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
37759         protection macro.
37760         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
37761         inclusion protection macro.
37763         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
37764         SIGRTMIN and SIGRTMAX and print information in that case only when
37765         SIGRTMIN is defined.
37767 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
37769         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
37770         arginfo fn returning -1.
37772         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
37773         and thousands string is zero terminated.
37775 2011-02-03  Andreas Schwab  <schwab@redhat.com>
37777         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
37778         sysdeps/unix/sysv/linux/bits/socket.h.
37780 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
37782         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
37783         (__CPU_COUNT): Remove old macros.
37784         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
37785         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
37786         (__CPU_ALLOC, __CPU_FREE): Add macros.
37787         (__sched_cpualloc, __sched_cpufree): Add declarations.
37789 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
37791         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
37792         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
37793         * nscd/aicache.c (addhstaiX): Return timeout of added value.
37794         (readdhstai): Return value of addhstaiX call.
37795         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
37796         (addgrbyX): Return value returned by cache_addgr.
37797         (readdgrbyname): Return value returned by addgrbyX.
37798         (readdgrbygid): Likewise.
37799         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
37800         (addpwbyX): Return value returned by cache_addpw.
37801         (readdpwbyname): Return value returned by addhstbyX.
37802         (readdpwbyuid): Likewise.
37803         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
37804         (addservbyX): Return value returned by cache_addserv.
37805         (readdservbyname): Return value returned by addservbyX:
37806         (readdservbyport): Likewise.
37807         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
37808         (addhstbyX): Return value returned by cache_addhst.
37809         (readdhstbyname): Return value returned by addhstbyX.
37810         (readdhstbyaddr): Likewise.
37811         (readdhstbynamev6): Likewise.
37812         (readdhstbyaddrv6): Likewise.
37813         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
37814         (readdinitgroups): Return value returned by addinitgroupsX.
37815         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
37816         (prune_cache): Keep track of timeout value of re-added entries.
37817         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
37818         * nscd/nscd.h: Adjust prototypes of readd* functions.
37820 2011-02-04  Roland McGrath  <roland@redhat.com>
37822         * nis/nis_server.c (nis_servstate): Use the right name for 0.
37823         (nis_stats): Likewise.
37824         * nis/nis_modify.c (nis_modify): Likewise.
37825         * nis/nis_remove.c (nis_remove): Likewise.
37826         * nis/nis_add.c (nis_add): Likewise.
37828         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
37830         * posix/fnmatch_loop.c: Add some consts.
37832         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
37834 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
37836         [BZ #12460]
37837         * config.make.in (config-cflags-novzeroupper): Define.
37838         * configure.in: Substitute libc_cv_cc_novzeroupper.
37839         * elf/Makefile (AVX-CFLAGS): Define.
37840         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
37841         (CFLAGS-tst-auditmod4a.c): Likewise.
37842         (CFLAGS-tst-auditmod4b.c): Likewise.
37843         (CFLAGS-tst-auditmod6b.c): Likewise.
37844         (CFLAGS-tst-auditmod6c.c): Likewise.
37845         (CFLAGS-tst-auditmod7b.c): Likewise.
37846         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
37848 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
37850         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
37851         function to the callback.
37852         Patch partly by Jiri Olsa <jolsa@redhat.com>.
37854 2011-02-02  Andreas Schwab  <schwab@redhat.com>
37856         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
37857         of errno.
37859 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
37861         [BZ #11724]
37862         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
37863         of constructors.
37864         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
37865         of destructors.
37866         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
37868         [BZ #11724]
37869         * elf/Makefile: Add rules to build and run new test.
37870         * elf/tst-initorder.c: New file.
37871         * elf/tst-initorder.exp: New file.
37872         * elf/tst-initordera1.c: New file.
37873         * elf/tst-initordera2.c: New file.
37874         * elf/tst-initordera3.c: New file.
37875         * elf/tst-initordera4.c: New file.
37876         * elf/tst-initorderb1.c: New file.
37877         * elf/tst-initorderb2.c: New file.
37878         * elf/tst-order-a1.c: New file.
37879         * elf/tst-order-a2.c: New file.
37880         * elf/tst-order-a3.c: New file.
37881         * elf/tst-order-a4.c: New file.
37882         * elf/tst-order-b1.c: New file.
37883         * elf/tst-order-b2.c: New file.
37884         * elf/tst-order-main.c: New file.
37885         New test case by George Gensure <werkt0@gmail.com>.
37887 2010-10-01  Andreas Schwab  <schwab@redhat.com>
37889         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
37890         decoding ACE if AI_CANONIDN.
37892 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
37894         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
37896 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
37898         * version.h (RELEASE): Bump for 2.13 release.
37899         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
37901         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
37903         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
37904         MADV_NOHUGEPAGE.
37905         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
37906         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
37907         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
37908         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
37909         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
37910         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
37912         * posix/getconf.c: Update copyright year.
37913         * catgets/gencat.c: Likewise.
37914         * csu/version.c: Likewise.
37915         * debug/catchsegv.sh: Likewise.
37916         * debug/xtrace.sh: Likewise.
37917         * elf/ldconfig.c: Likewise.
37918         * elf/ldd.bash.in: Likewise.
37919         * elf/sprof.c (print_version): Likewise.
37920         * iconv/iconv_prog.c: Likewise.
37921         * iconv/iconvconfig.c: Likewise.
37922         * locale/programs/locale.c: Likewise.
37923         * locale/programs/localedef.c: Likewise.
37924         * malloc/memusage.sh: Likewise.
37925         * malloc/mtrace.pl: Likewise.
37926         * nscd/nscd.c (print_version): Likewise.
37927         * nss/getent.c: Likewise.
37929         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
37930         PF_CAIF, and PF_ALG.
37931         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
37933 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
37935         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
37936         (modules-names): Use them.
37937         (ifunc-test-modules, ifunc-pie-tests): Define.
37938         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
37939         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
37940         (test-extras): Likewise.
37941         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
37942         $(compile-command.c).
37943         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
37944         (all-built-dso): Define.
37945         (check-textrel.out, check-execstack.out): Depend on it.
37947         * configure.in: Don't override --enable-multi-arch.
37949 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
37951         [BZ #6812]
37952         * nscd/hstcache.c (tryagain): Define.
37953         (cache_addhst): Return tryagain not notfound for temporary errors.
37954         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
37955         failed.
37957 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
37959         [BZ #10563]
37960         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
37961         to make the syscall.
37962         * sysdeps/unix/sysv/linux/setgroups.c: New file.
37964         [BZ #12378]
37965         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
37966         and fall back to matching as normal character if the string ends before
37967         the matching ']' is found.  This is what POSIX requires.
37968         * posix/testfnm.c: Adjust test result.
37969         * posix/globtest.sh: Adjust test result.  Add new test.
37970         * posix/tst-fnmatch.input: Likewise.
37971         * posix/tst-fnmatch2.c: Add new test.
37973 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
37975         * elf/Makefile (check-execstack): Revert last change.  Depend on
37976         check-execstack.h.
37977         (check-execstack.h): New target.
37978         (generated): Add check-execstack.h.
37979         * elf/check-execstack.c: Include "check-execstack.h".
37980         (main): Revert last change.
37981         (handle_file): Return zero if GNU_STACK is absent and
37982         DEFAULT_STACK_PERMS doesn't include PF_X.
37984 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
37986         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
37987         in child fails because the descriptor is already closed.
37988         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
37989         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
37990         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
37992         [BZ #12397]
37993         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
37994         syscall.
37996         [BZ #10484]
37997         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
37998         temporary buffer used to handle multi lookups locally.
37999         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
38001 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
38003         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
38004         loader is ld.so.
38006 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
38008         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
38009         alignment for SSE2.
38011 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
38013         [BZ #12394]
38014         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
38015         characters.  When rounding increased number of integer digits recompute
38016         number of groups.
38017         * stdio-common/tst-grouping.c: New file.
38018         * stdio-common/Makefile: Add rules to build and run tst-grouping.
38020 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
38022         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
38023         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
38025         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
38026         void.
38027         * bits/select.h: Likewise.
38029 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
38031         * po/ja.po: Update from translation team.
38033 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
38035         [BZ #11155]
38036         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
38037         implementation just like for lxstat, fxstatat, et al.
38039 2010-12-27  Jim Meyering  <meyering@redhat.com>
38041         [BZ #12348]
38042         * posix/regexec.c (build_trtable): Return failure indication upon
38043         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
38045 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
38047         [BZ #12201]
38048         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
38049         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
38050         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
38051         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
38053         [BZ #12207]
38054         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
38056         [BZ #12204]
38057         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
38058         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
38060 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
38062         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
38063         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
38064         script has SORT_BY_INIT_PRIORITY.
38065         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
38066         NO_CTORS_DTORS_SECTIONS is defined.
38067         * elf/soinit.c: Likewise.
38068         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
38069         NO_CTORS_DTORS_SECTIONS is defined.
38070         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
38071         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
38072         * sysdeps/sh/init-first.c: Likewise.
38073         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
38075 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
38077         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
38078         always use the slow path.
38080 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
38082         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
38083         similar rule which adds the sysdep directories to the header search in
38084         order to pick up the correct platform stackinfo.h.
38085         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
38086         perform test if it is, otherwise return successfully without testing.
38087         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
38088         DEFAULT_STACK_PERMS define in stackinfo.h.
38089         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
38090         defined in stackinfo.h.
38091         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
38092         DEFAULT_STACK_PERMS defined in stackinfo.h.
38093         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
38094         * sysdeps/ia64/stackinfo.h: Likewise.
38095         * sysdeps/s390/stackinfo.h: Likewise.
38096         * sysdeps/sh/stackinfo.h: Likewise.
38097         * sysdeps/sparc/stackinfo.h: Likewise.
38098         * sysdeps/x86_64/stackinfo.h: Likewise.
38099         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
38100         PF_X for powerpc64.  Retain PF_X for powerpc32.
38102 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
38104         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
38105         accurately.
38106         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
38107         GETDENTS_64BIT_ALIGNED.
38109 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
38111         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
38113 2010-12-10  Andreas Schwab  <schwab@redhat.com>
38115         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
38116         _GNU_SOURCE.
38118         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
38119         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
38120         Remove __restrict.
38121         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
38122         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
38124 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
38126         [BZ #11655]
38127         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
38128         are initialized.
38130 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
38132         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
38134 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
38136         * po/it.po: Update from translation team.
38138 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
38140         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
38141         unused codes.
38143 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
38145         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
38147 2010-11-24  Andreas Schwab  <schwab@redhat.com>
38149         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
38150         specially.
38151         (gaih_getanswer_slice): Likewise.
38153 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
38155         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
38157 2010-05-31  Petr Baudis  <pasky@suse.cz>
38159         [BZ #11149]
38160         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
38161         silently even in the chroot mode.
38163 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
38165         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
38166         last patch a bit.  Pretty printing
38168 2010-05-31  Petr Baudis <pasky@suse.cz>
38170         [BZ #10085]
38171         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
38172         initialization of skip_initgroups_dyn.
38174 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
38176         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
38177         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
38179 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
38181         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
38183 2010-11-11  Andreas Schwab  <schwab@redhat.com>
38185         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
38186         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
38187         (tst-fnmatch-ENV): Set MALLOC_TRACE.
38188         ($(objpfx)tst-fnmatch-mem): New rule.
38189         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
38190         * posix/tst-fnmatch.c (main): Call mtrace.
38192 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
38194         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
38195         Support Intel processor model 6 and model 0x2c.
38197 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
38199         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
38200           signed comparison.
38202 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
38204         [BZ #12205]
38205         * string/test-strncasecmp.c (check_result): New function.
38206         (do_one_test): Use it.
38207         (check1): New function.
38208         (test_main): Use it.
38209         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
38210         Support strcasecmp and strncasecmp.
38212 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
38214         [BZ #12194]
38215         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
38216         * sysdeps/x86_64/bits/byteswap.h: Likewise.
38218 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
38220         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
38221         IFUNC support.
38222         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
38223         memset-x86-64.
38224         * sysdeps/x86_64/multiarch/bzero.S: New file.
38225         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
38226         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
38227         * sysdeps/x86_64/multiarch/memset.S: New file.
38228         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
38229         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
38230         Set bit_Prefer_SSE_for_memop for Intel processors.
38231         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
38232         Define.
38233         (index_Prefer_SSE_for_memop): Define.
38234         (HAS_PREFER_SSE_FOR_MEMOP): Define.
38236 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
38238         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
38239         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
38241 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
38243         [BZ #12191]
38244         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
38245         (__x86_64_raw_data_cache_size_half): Likewise.
38246         (__x86_64_raw_shared_cache_size): Likewise.
38247         (__x86_64_raw_shared_cache_size_half): Likewise.
38249         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
38250         (__x86_64_raw_data_cache_size_half): Likewise.
38251         (__x86_64_raw_shared_cache_size): Likewise.
38252         (__x86_64_raw_shared_cache_size_half): Likewise.
38253         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
38254         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
38255         and __x86_64_raw_shared_cache_size_half.  Round
38256         __x86_64_data_cache_size_half, __x86_64_data_cache_size
38257         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
38258         to multiple of 256 bytes.
38260 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
38262         [BZ #12167]
38263         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
38264         of inacessible symlinks.  Verify result of symlink before returning it.
38265         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
38266         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
38268 2010-10-28  Erich Ritz  <erichritz@gmail.com>
38270         * math/math.h (isinf): Fix typo in comment.
38272 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
38274         * po/da.po: Update from translation team.
38276 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
38278         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
38279         is added to the list.
38281 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
38282             Ulrich Drepper  <drepper@gmail.com>
38284         * elf/dl-object.c (_dl_new_object): Don't append the new object to
38285         the global list here.  Move code to...
38286         (_dl_add_to_namespace_list): ...here.  New function.
38287         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
38288         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
38289         * elf/dl-load.c (lose): Don't remove the element from the list.
38290         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
38291         (_dl_map_object): Likewise.
38293 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
38295         [BZ #12159]
38296         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
38297         into all bytes of SSE register.
38298         Patch by Richard Li <richardpku@gmail.com>.
38300 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
38302         [BZ #12140]
38303         * malloc/malloc.c (_int_free): Fill correct number of bytes when
38304         perturbing.
38306 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
38308         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
38309         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
38310         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
38311         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
38312         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
38313         submachine.
38314         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
38316 2010-10-22  Andreas Schwab  <schwab@redhat.com>
38318         * include/dlfcn.h (__RTLD_SECURE): Define.
38319         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
38320         mode & __RTLD_SECURE instead.
38321         (open_path): Rename preloaded parameter to secure.
38322         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
38323         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
38324         * elf/dl-deps.c (openaux): Likewise.
38325         * elf/rtld.c (struct map_args): Remove is_preloaded.
38326         (map_doit): Don't use it.
38327         (dl_main): Likewise.
38328         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
38329         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
38331 2010-09-09  Andreas Schwab  <schwab@redhat.com>
38333         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
38334         (sysd-rules-targets): Remove duplicates.
38335         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
38336         rtld-%.$o dependency.
38338 2010-10-18  Andreas Schwab  <schwab@redhat.com>
38340         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
38341         _dl_map_object do it.
38343 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
38345         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
38346         fast fma builtins, define the macros in the C99 standard.
38347         (FP_FAST_FMAF): Likewise.
38348         (FP_FAST_FMAL): Likewise.
38349         * sysdeps/x86_64/bits/mathdef.h: Likewise.
38351         * bits/mathdef.h: Update copyright year.
38352         * sysdeps/powerpc/bits/mathdef.h: Likewise.
38354 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
38356         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
38357         builtins, define the macros in the C99 standard.
38358         (FP_FAST_FMAF): Likewise.
38359         (FP_FAST_FMAL): Likewise.
38360         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
38361         multiply/add.
38362         (FP_FAST_FMAF): Likewise.
38364 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
38366         [BZ #3268]
38367         * math/libm-test.inc (fma_test): Some new testcases.
38368         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
38369         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
38370         y and infinite z.  Do multiplication by C already in long double.
38371         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
38372         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
38373         y and infinite z.  Do bitwise or of inexact bit into u.d.
38374         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
38375         * sysdeps/i386/fpu/s_fmaf.S: Removed.
38376         * sysdeps/i386/fpu/s_fma.S: Removed.
38377         * sysdeps/i386/fpu/s_fmal.S: Removed.
38379 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
38381         [BZ #3268]
38382         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
38383         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
38384         computation is not scheduled after fetestexcept.  Fix value
38385         of minimum denormal long double.
38387 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
38389         [BZ #3268]
38390         * math/libm-test.inc (fma_test): Add some more tests.
38391         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
38392         correctly.
38394 2010-10-15  Andreas Schwab  <schwab@redhat.com>
38396         * scripts/data/localplt-s390-linux-gnu.data: New file.
38397         * scripts/data/localplt-s390x-linux-gnu.data: New file.
38399 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
38401         [BZ #3268]
38402         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
38403         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
38404         instead of dbl-64.
38405         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
38406         inlines.
38407         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
38408         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
38409         if one of x and y is very large and the other is subnormal.
38410         * sysdeps/s390/fpu/s_fmaf.c: New file.
38411         * sysdeps/s390/fpu/s_fma.c: New file.
38412         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
38413         * sysdeps/powerpc/fpu/s_fma.S: New file.
38414         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
38415         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
38416         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
38418 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
38420         [BZ #3268]
38421         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
38422         fma tests.
38423         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
38424         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
38425         * sysdeps/i386/i686/multiarch/s_fma.c: Include
38426         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
38427         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
38428         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
38429         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
38431 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
38433         [BZ #12078]
38434         * posix/regcomp.c (parse_branch): One more memory leak plugged.
38435         * posix/bug-regex31.input: Add test case.
38437 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
38439         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
38440         * posix/bug-regex31.input: New file.
38442         [BZ #12078]
38443         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
38444         (parse_sub_exp): Fix last change, use postorder.
38446         * posix/bug-regex31.c: New file.
38447         * posix/Makefile: Add rules to build and run bug-regex31.
38449         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
38451         [BZ #12078]
38452         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
38454         [BZ #12108]
38455         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
38456         to have entries in sys_siglist.
38458         [BZ #12093]
38459         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
38460         be NULL.
38462 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
38464         [BZ #3268]
38465         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
38466         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
38467         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
38468         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
38469         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
38470         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
38471         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
38472         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
38473         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
38474         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
38475         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
38476         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
38477         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
38478         * math/ftestexcept.c (fetestexcept): Likewise.
38479         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
38480         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
38481         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
38482         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
38483         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
38484         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
38485         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
38487 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
38489         [BZ #12107]
38490         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
38491         newline.
38493 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
38495         * string/bug-strstr1.c: New file.
38496         * string/Makefile: Add rules to build and run bug-strstr1.
38498 2010-10-05  Eric Blake  <eblake@redhat.com>
38500         [BZ #12092]
38501         * string/str-two-way.h (two_way_long_needle): Always clear memory
38502         when skipping input due to the shift table.
38504 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
38506         [BZ #12005]
38507         * malloc/mcheck.c: Handle large requests.
38509         [BZ #12077]
38510         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
38511         for strncmp and strncasecmp.
38512         * string/stratcliff.c: Add tests for strcmp and strncmp.
38513         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
38515 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
38517         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
38518         __set_fpscr.
38520 2010-09-30  Andreas Jaeger  <aj@suse.de>
38522         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
38523         (CGROUP_SUPER_MAGIC): Define.
38524         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
38525         Handle btrfs and cgroup file systems.
38526         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
38527         Likewise.
38529 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
38531         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
38532         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
38534 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
38536         [BZ #12067]
38537         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
38538         trying to locate the ELF header.
38540 2010-09-27  Andreas Schwab  <schwab@redhat.com>
38542         [BZ #11611]
38543         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
38544         Mask out sign-bit copies when constructing f_fsid.
38546 2010-09-24  Petr Baudis <pasky@suse.cz>
38548         * debug/stack_chk_fail_local.c: Add missing licence exception.
38549         * debug/warning-nop.c: Likewise.
38551 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
38553         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
38554         implementing getdents64 using getdents syscall, set d_type if
38555         __ASSUME_GETDENTS32_D_TYPE.
38557 2010-09-16  Andreas Schwab  <schwab@redhat.com>
38559         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
38560         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
38562 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
38564         [BZ #12037]
38565         * posix/unistd.h: Undo change of feature selection for ftruncate from
38566         2010-01-11.
38568 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
38570         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
38571         detection.
38573 2010-09-20  Andreas Schwab  <schwab@redhat.com>
38575         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
38576         fanotify_mark.
38577         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
38579 2010-09-14  Andreas Schwab  <schwab@redhat.com>
38581         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
38582         variables after CHECK_SP call.
38583         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
38585 2010-09-13  Andreas Schwab  <schwab@redhat.com>
38586             Ulrich Drepper  <drepper@redhat.com>
38588         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
38589         re-relocationg ld.so.
38590         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
38591         _dl_init_paths call.
38592         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
38593         here anymore.
38595 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
38597         * resolv/res_init.c (__res_vinit): Count the default server we added.
38599 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
38600             Ulrich Drepper  <drepper@redhat.com>
38602         [BZ #11968]
38603         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
38604         (____longjmp_chk): Use %ebx for saving value across system call.
38605         Add unwind info.
38607 2010-09-06  Andreas Schwab  <schwab@redhat.com>
38609         * manual/Makefile: Don't mix pattern rules with normal rules.
38611 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
38613         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
38614         operation.
38615         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
38616         * libio/iofopncook.c (_IO_cookie_init): Likewise.
38617         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
38618         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
38619         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
38620         Likewise.
38622 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
38624         [BZ #11979]
38625         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
38626         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
38628 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
38630         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
38631         * sysdeps/x86_64/addmul_1.S: Likewise.
38632         * sysdeps/x86_64/lshift.S: Likewise.
38633         * sysdeps/x86_64/mul_1.S: Likewise.
38634         * sysdeps/x86_64/rshift.S: Likewise.
38635         * sysdeps/x86_64/sub_n.S: Likewise.
38636         * sysdeps/x86_64/submul_1.S: Likewise.
38638 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
38640         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
38641         Define __sched_param instead of SCHED_* and sched_param when
38642         <bits/sched.h> is included with __need_schedparam defined.
38643         * bits/sched.h [__need_schedparam]
38644         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
38645         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
38646         (__defined_schedparam): Define to 1.
38647         (__sched_param): New structure, identical to sched_param.
38648         (__need_schedparam): Undefine.
38650 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
38652         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
38653         (epoll_create1): Declare.
38655         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
38657 2010-08-31  Andreas Schwab  <schwab@redhat.com>
38659         [BZ #7066]
38660         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
38661         shifting retval into place.
38663 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
38665         * nis/rpcsvc/nis.h: Update copyright notice.
38666         * nis/rpcsvc/nis.x: Likewise.
38667         * nis/rpcsvc/nis_callback.h: Likewise.
38668         * nis/rpcsvc/nis_callback.x: Likewise.
38669         * nis/rpcsvc/nis_object.x: Likewise.
38670         * nis/rpcsvc/nis_tags.h: Likewise.
38671         * nis/rpcsvc/yp.h: Likewise.
38672         * nis/rpcsvc/yp.x: Likewise.
38673         * nis/rpcsvc/ypupd.h: Likewise.
38674         * nis/yp_xdr.c: Likewise.
38675         * nis/ypupdate_xdr.c: Likewise.
38677         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
38678         mainly the body of pmap_getport.  Add parameters to specify timeouts.
38679         (pmap_getport): Use __libc_rpc_getport.
38680         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
38681         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
38682         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
38684 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
38686         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
38687         fanotify_mark.
38689 2010-08-27  Roland McGrath  <roland@redhat.com>
38691         * sysdeps/i386/i686/multiarch/Makefile
38692         (CFLAGS-varshift.c): New variable.
38694 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
38696         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
38697         * sysdeps/i386/i686/multiarch/varshift.c: New file.
38699         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
38701         * sysdeps/x86_64/strlen.S: Minimal code improvement.
38703 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
38705         * sysdeps/x86_64/strlen.S: Unroll the loop.
38706         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
38707         strlen-sse2 strlen-sse2-bsf.
38708         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
38709         __strlen_no_bsf if bit_Slow_BSF is set.
38710         (__strlen_sse42): Removed.
38711         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
38712         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
38714 2010-08-25  Roland McGrath  <roland@redhat.com>
38716         * sysdeps/x86_64/multiarch/varshift.S: File removed.
38717         * sysdeps/x86_64/multiarch/varshift.c: New file.
38718         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
38719         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
38720         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
38721         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
38723 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
38725         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
38726         strlen-sse2 strlen-sse2-bsf.
38727         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
38728         __strlen_sse2_bsf if bit_Slow_BSF is unset.
38729         (__strlen_sse2): Removed.
38730         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
38731         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
38732         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
38733         bit_Slow_BSF for Atom.
38734         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
38735         (index_Slow_BSF): Define.
38736         (HAS_SLOW_BSF): Define.
38738 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
38740         [BZ #10851]
38741         * resolv/res_init.c (__res_vinit): When no server address at all
38742         is given default to loopback.
38744 2010-08-24  Roland McGrath  <roland@redhat.com>
38746         * configure.in: Remove config-name.h generation.
38747         * configure: Regenerated.
38748         * config-name.in: File removed.
38749         * scripts/config-uname.sh: New file.
38750         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
38751         ($(objdir)config-name.h): New target.
38753         * sunrpc/rpc_parse.h: Avoid nested comment.
38755 2010-08-24  Richard Henderson  <rth@redhat.com>
38756             Ulrich Drepper  <drepper@redhat.com>
38757             H.J. Lu  <hongjiu.lu@intel.com>
38759         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
38760         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
38761         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
38762         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
38763         _mm_alignr_epi8 with _mm_loadu_si128.
38764         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
38765         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
38766         (__m128i_shift_right): Removed.
38767         * sysdeps/i386/i686/multiarch/varshift.h: New file.
38768         * sysdeps/i386/i686/multiarch/varshift.S: New file.
38769         * sysdeps/x86_64/multiarch/varshift.h: New file.
38770         * sysdeps/x86_64/multiarch/varshift.S: New file.
38772 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
38774         * configure.in: Move assembler checks to before sysdep dir checking.
38776 2010-08-20  Petr Baudis  <pasky@suse.cz>
38778         * LICENSES: Sync the sunrpc license.
38780 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
38782         * sunrpc/auth_des.c: Update copyright notice once again.
38783         * sunrpc/auth_none.c: Likewise.
38784         * sunrpc/auth_unix.c: Likewise.
38785         * sunrpc/authdes_prot.c: Likewise.
38786         * sunrpc/authuxprot.c: Likewise.
38787         * sunrpc/bindrsvprt.c: Likewise.
38788         * sunrpc/clnt_gen.c: Likewise.
38789         * sunrpc/clnt_perr.c: Likewise.
38790         * sunrpc/clnt_raw.c: Likewise.
38791         * sunrpc/clnt_simp.c: Likewise.
38792         * sunrpc/clnt_tcp.c: Likewise.
38793         * sunrpc/clnt_udp.c: Likewise.
38794         * sunrpc/clnt_unix.c: Likewise.
38795         * sunrpc/des_crypt.c: Likewise.
38796         * sunrpc/des_soft.c: Likewise.
38797         * sunrpc/get_myaddr.c: Likewise.
38798         * sunrpc/getrpcport.c: Likewise.
38799         * sunrpc/key_call.c: Likewise.
38800         * sunrpc/key_prot.c: Likewise.
38801         * sunrpc/openchild.c: Likewise.
38802         * sunrpc/pm_getmaps.c: Likewise.
38803         * sunrpc/pm_getport.c: Likewise.
38804         * sunrpc/pmap_clnt.c: Likewise.
38805         * sunrpc/pmap_prot.c: Likewise.
38806         * sunrpc/pmap_prot2.c: Likewise.
38807         * sunrpc/pmap_rmt.c: Likewise.
38808         * sunrpc/rpc/auth.h: Likewise.
38809         * sunrpc/rpc/auth_unix.h: Likewise.
38810         * sunrpc/rpc/clnt.h: Likewise.
38811         * sunrpc/rpc/des_crypt.h: Likewise.
38812         * sunrpc/rpc/key_prot.h: Likewise.
38813         * sunrpc/rpc/netdb.h: Likewise.
38814         * sunrpc/rpc/pmap_clnt.h: Likewise.
38815         * sunrpc/rpc/pmap_prot.h: Likewise.
38816         * sunrpc/rpc/pmap_rmt.h: Likewise.
38817         * sunrpc/rpc/rpc.h: Likewise.
38818         * sunrpc/rpc/rpc_des.h: Likewise.
38819         * sunrpc/rpc/rpc_msg.h: Likewise.
38820         * sunrpc/rpc/svc.h: Likewise.
38821         * sunrpc/rpc/svc_auth.h: Likewise.
38822         * sunrpc/rpc/types.h: Likewise.
38823         * sunrpc/rpc/xdr.h: Likewise.
38824         * sunrpc/rpc_clntout.c: Likewise.
38825         * sunrpc/rpc_cmsg.c: Likewise.
38826         * sunrpc/rpc_common.c: Likewise.
38827         * sunrpc/rpc_cout.c: Likewise.
38828         * sunrpc/rpc_dtable.c: Likewise.
38829         * sunrpc/rpc_hout.c: Likewise.
38830         * sunrpc/rpc_main.c: Likewise.
38831         * sunrpc/rpc_parse.c: Likewise.
38832         * sunrpc/rpc_parse.h: Likewise.
38833         * sunrpc/rpc_prot.c: Likewise.
38834         * sunrpc/rpc_sample.c: Likewise.
38835         * sunrpc/rpc_scan.c: Likewise.
38836         * sunrpc/rpc_scan.h: Likewise.
38837         * sunrpc/rpc_svcout.c: Likewise.
38838         * sunrpc/rpc_tblout.c: Likewise.
38839         * sunrpc/rpc_util.c: Likewise.
38840         * sunrpc/rpc_util.h: Likewise.
38841         * sunrpc/rpcinfo.c: Likewise.
38842         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
38843         * sunrpc/rpcsvc/key_prot.x: Likewise.
38844         * sunrpc/rpcsvc/klm_prot.x: Likewise.
38845         * sunrpc/rpcsvc/mount.x: Likewise.
38846         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
38847         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
38848         * sunrpc/rpcsvc/rex.x: Likewise.
38849         * sunrpc/rpcsvc/rstat.x: Likewise.
38850         * sunrpc/rpcsvc/rusers.x: Likewise.
38851         * sunrpc/rpcsvc/sm_inter.x: Likewise.
38852         * sunrpc/rpcsvc/spray.x: Likewise.
38853         * sunrpc/rpcsvc/yppasswd.x: Likewise.
38854         * sunrpc/rtime.c: Likewise.
38855         * sunrpc/svc.c: Likewise.
38856         * sunrpc/svc_auth.c: Likewise.
38857         * sunrpc/svc_authux.c: Likewise.
38858         * sunrpc/svc_raw.c: Likewise.
38859         * sunrpc/svc_run.c: Likewise.
38860         * sunrpc/svc_simple.c: Likewise.
38861         * sunrpc/svc_tcp.c: Likewise.
38862         * sunrpc/svc_udp.c: Likewise.
38863         * sunrpc/svc_unix.c: Likewise.
38864         * sunrpc/svcauth_des.c: Likewise.
38865         * sunrpc/xcrypt.c: Likewise.
38866         * sunrpc/xdr.c: Likewise.
38867         * sunrpc/xdr_array.c: Likewise.
38868         * sunrpc/xdr_float.c: Likewise.
38869         * sunrpc/xdr_mem.c: Likewise.
38870         * sunrpc/xdr_rec.c: Likewise.
38871         * sunrpc/xdr_ref.c: Likewise.
38872         * sunrpc/xdr_sizeof.c: Likewise.
38873         * sunrpc/xdr_stdio.c: Likewise.
38875         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
38876         handling.
38878 2010-08-19  Andreas Schwab  <schwab@redhat.com>
38880         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
38882 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
38884         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
38885         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
38886         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
38887         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
38888         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
38889         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
38890         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
38891         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
38892         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
38893         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
38894         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
38895         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
38896         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
38897         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
38899 2010-07-26  Anton Blanchard  <anton@samba.org>
38901         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
38902         * malloc/arena.c (heap_trim): Likewise.
38904 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
38906         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
38907         here.  Not...
38908         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
38909         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
38911 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
38913         * sysdeps/i386/elf/Makefile: New file.
38915 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
38917         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
38918         from fanotify_init.
38919         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
38920         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
38922 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
38924         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
38925         of strncasecmp_l.
38926         * sysdeps/multiarch/strcmp.S: Likewise.
38928 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
38930         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
38931         strncase_l-nonascii.
38932         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
38933         Add strncase_l-ssse3.
38934         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
38935         * sysdeps/x86_64/strcmp.S: Likewise.
38936         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
38937         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
38938         * sysdeps/x86_64/strncase.S: New file.
38939         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
38940         * sysdeps/x86_64/strncase_l.S: New file.
38941         * string/Makefile (strop-tests): Add strncasecmp.
38942         * string/test-strncasecmp.c: New file.
38944         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
38945         warning.
38947         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
38948         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
38950 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
38952         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
38954 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
38956         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
38957         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
38958         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
38960 2010-05-01  Alan Modra  <amodra@gmail.com>
38962         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
38963         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
38964         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
38965         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
38966         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
38967         tidying.  Don't tail-call __sigjmp_save for static lib.
38968         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
38969         save location.
38970         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
38971         (CALL_MCOUNT): Add eh info, and nop after bl.
38972         (TAIL_CALL_SYSCALL_ERROR): New macro.
38973         (PSEUDO_RET): Use it.
38974         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
38975         Correct save location of integer regs and cr.
38976         (_dl_profile_resolve): Correct cr save location.  Delete nops
38977         after bl when SHARED.  Reduce cfi size a little by better
38978         placement of cfi directives.
38979         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
38980         make a stack frame.  Instead use parm save area as a temp.
38981         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
38982         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
38983         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
38984         Don't make a stack frame for parent, use parm save area.
38985         Increase child stack frame to 112 bytes.  Don't save unused reg,
38986         and adjust reg usage.  Set up cfi on error recovery and
38987         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
38988         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
38989         (__makecontext): Add dummy nop after jump to exit.
38990         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
38991         Use correct parm save area and cr save, reduce stack frame.
38992         Correct cfi for possible PSEUDO_RET frame setup.
38993         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
38994         Branch to local label emitted by PSEUDO_RET rather than
38995         __syscall_error.
38997 2010-08-12  Andreas Schwab  <schwab@redhat.com>
38999         [BZ #11904]
39000         * locale/programs/locale.c (print_assignment): New function.
39001         (show_locale_vars): Use it.
39003 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
39005         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
39006         field.
39007         (struct statfs64): Likewise.
39008         (_STATFS_F_FLAGS): Define.
39009         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
39010         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
39011         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
39012         (ST_VALID): Define locally.
39013         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
39014         __statvfs_getflags, use the provided value.
39015         * sysdeps/unix/sysv/linux/kernel-features.h: Define
39016         __ASSUME_STATFS_F_FLAGS.
39018         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
39020         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
39021         Add sys/fanotify.h.
39022         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
39023         fanotify_mask for GLIBC_2.13.
39024         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
39025         fanotify_init and fanotify_mark.
39026         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
39027         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
39029         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
39030         Add prlimit.
39031         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
39032         prlimit64 for GLIBC_2.13.
39033         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
39034         prlimit64.
39035         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
39036         syscall.
39037         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
39038         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
39039         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
39040         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
39041         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
39042         add prlimit alias.
39043         * sysdeps/unix/sysv/linux/prlimit.c: New file.
39045         [BZ #11903]
39046         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
39047         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
39049         * nss/Makefile: Add rules to build and run tst-nss-test1.
39050         * shlib-versions: Add entry for libnss_test1.
39051         * nss/nss_test1.c: New file.
39052         * nss/tst-nss-test1.c: New file.
39054         * nss/nsswitch.c (__nss_database_custom): Define new variable.
39055         (__nss_configure_lookup): Set appropriate entry in
39056         __nss_configure_lookup to true.
39057         * nss/nsswitch.h: Define enum with indeces of databases in
39058         databases and __nss_database_custom arrays.  Declare
39059         __nss_database_custom.
39060         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
39061         to avoid using nscd when custom rules are installed.
39062         * nss/getXXbyYY_r.c: Likewise.
39063         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
39065         * nss/nss_files/files-parse.c: Whitespace fixes.
39067 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
39069         [BZ #11883]
39070         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
39071         * posix/fnmatch_loop.c: Likewise.
39073 2010-07-17  Andi Kleen  <ak@linux.intel.com>
39075         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
39076         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
39077         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
39078         * Versions.def [GLIBC_2.13]: Add.
39080 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
39082         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
39083         Also fail if tpwd after pwuid call is NULL.
39085 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
39087         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
39088         when converting to ms.
39090 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
39092         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
39093         EOPNOTSUPP errors with ENOTTY.
39094         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
39095         EOPNOTSUPP errors with ENOTTY.
39097 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
39099         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
39100         Add strcasecmp_l-ssse3.
39101         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
39102         strcasecmp.
39103         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
39104         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
39105         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
39107 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
39109         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
39111         * string/Makefile (strop-tests): Add strcasecmp.
39112         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
39113         strcasecmp_l-nonascii.
39114         (gen-as-const-headers): Add locale-defines.sym.
39115         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
39116         * sysdeps/x86_64/strcasecmp.S: New file.
39117         * sysdeps/x86_64/strcasecmp_l.S: New file.
39118         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
39119         * sysdeps/x86_64/locale-defines.sym: New file.
39120         * string/test-strcasecmp.c: New file.
39122         * string/test-strcasestr.c: Test both ends of the range of characters.
39123         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
39125 2010-07-29  Roland McGrath  <roland@redhat.com>
39127         [BZ #11856]
39128         * manual/locale.texi (Yes-or-No Questions): Fix example code.
39130 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
39132         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
39133         for ld.so.
39135 2010-07-27  Andreas Schwab  <schwab@redhat.com>
39137         * manual/memory.texi (Malloc Tunable Parameters): Document
39138         M_PERTURB.
39140 2010-07-26  Roland McGrath  <roland@redhat.com>
39142         [BZ #11840]
39143         * configure.in (-fgnu89-inline check): Set and substitute
39144         gnu89_inline, not libc_cv_gnu89_inline.
39145         * configure: Regenerated.
39146         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
39148 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
39150         * string/test-strnlen.c: New file.
39151         * string/Makefile (strop-tests): Add strnlen.
39152         * string/tester.c (test_strnlen): Add a few more test cases.
39153         * string/tst-strlen.c: Better error reporting.
39155         * sysdeps/x86_64/strnlen.S: New file.
39157 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
39159         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
39160         lower-latency instructions.
39162 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
39164         * string/test-strcasestr.c: New file.
39165         * string/test-strstr.c: New file.
39166         * string/Makefile (strop-tests): Add strstr and strcasestr.
39167         * string/str-two-way.h: Don't undefine MAX.
39168         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
39170 2010-07-21  Andreas Schwab  <schwab@redhat.com>
39172         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
39173         strcasestr-nonascii.
39174         (CFLAGS-strcasestr-nonascii.c): Define.
39175         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
39176         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
39177         Remove unused attribute.
39179 2010-07-20  Roland McGrath  <roland@redhat.com>
39181         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
39182         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
39183         ld.so.cache was broken.  With it, there is no way to disable dsocaps
39184         like LD_HWCAP_MASK can disable hwcaps.
39186 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
39188         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
39190 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
39192         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
39193         call in strcasestr.
39194         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
39195         __strcasestr_sse42_nonascii.
39196         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
39197         strcasestr-nonascii.c.
39198         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
39200 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
39202         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
39203         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
39204         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
39205         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
39207 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
39209         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
39210         fcntl.
39212 2010-07-06  Andreas Schwab  <schwab@redhat.com>
39214         [BZ #11577]
39215         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
39216         dl_signal_cerror.
39218 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
39220         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
39221         _PC_PIPE_BUF using F_GETPIPE_SZ.
39223 2010-07-05  Roland McGrath  <roland@redhat.com>
39225         * manual/arith.texi (Rounding Functions): Fix rint description
39226         implicit in round description.
39228 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
39230         * elf/Makefile: Fix linking for a few tests to make recent linker
39231         happy.
39233 2010-06-30  Andreas Schwab  <schwab@redhat.com>
39235         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
39236         $(common-objpfx)libc_nonshared.a.
39238 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
39240         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
39241         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
39242         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
39243         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
39244         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
39245         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
39246         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
39247         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
39248         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
39249         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
39250         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
39251         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
39252         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
39253         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
39254         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
39255         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
39256         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
39257         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
39258         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
39259         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
39260         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
39261         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
39262         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
39263         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
39264         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
39265         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
39266         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
39267         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
39268         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
39269         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
39270         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
39271         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
39272         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
39273         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
39274         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
39275         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
39276         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
39277         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
39278         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
39279         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
39280         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
39281         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
39282         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
39283         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
39284         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
39285         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
39286         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
39287         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
39289 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
39291         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
39292         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
39293         * string/memmove.c (memmove): Renamed to ...
39294         (MEMMOVE): ...this.  Default to memmove.
39295         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
39296         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
39297         (END_CHK): Define.
39298         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
39299         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
39300         mempcpy-ssse3-back memmove-ssse3-back.
39301         * sysdeps/x86_64/multiarch/bcopy.S: New file .
39302         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
39303         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
39304         * sysdeps/x86_64/multiarch/memcpy.S: New file.
39305         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
39306         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
39307         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
39308         * sysdeps/x86_64/multiarch/memmove.c: New file.
39309         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
39310         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
39311         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
39312         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
39313         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
39314         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
39315         Define.
39316         (index_Fast_Copy_Backward): Define.
39317         (HAS_ARCH_FEATURE): Define.
39318         (HAS_FAST_REP_STRING): Define.
39319         (HAS_FAST_COPY_BACKWARD): Define.
39321 2010-06-21  Andreas Schwab  <schwab@redhat.com>
39323         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
39324         Restore proper fallback handling.
39326 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
39328         [BZ #11701]
39329         * posix/group_member.c (__group_member): Correct checking loop.
39331         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
39332         OOM in getpwuid_r correctly.  Return error number when the caller
39333         should return, otherwise -1.
39334         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
39335         call returning > 0 value.
39336         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
39338 2010-06-07  Andreas Schwab  <schwab@redhat.com>
39340         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
39341         libc_nonshared.a from targets in modules-names.
39343 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
39345         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
39346         requires it.
39348 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
39350         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
39351         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
39352         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
39353         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
39355 2010-06-02  Andreas Schwab  <schwab@redhat.com>
39357         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
39359 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
39361         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
39362         and F_GETPIPE_SZ.
39363         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
39364         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
39365         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
39366         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
39367         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
39368         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
39370 2010-06-14  Roland McGrath  <roland@redhat.com>
39372         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
39374 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
39376         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
39377         __REDIRECT followed by __THROW.
39378         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
39379         * posix/getopt.h (getopt): Likewise.
39381 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
39383         * hurd/lookup-at.c (__file_name_lookup_at): Accept
39384         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
39385         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
39386         in AT_FLAGS.
39387         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
39388         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
39390 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
39392         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
39394 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
39396         [BZ #11640]
39397         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
39398         Properly check family and model.
39400 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
39402         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
39404 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
39406         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
39408 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
39410         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
39411         symbol reference.
39413 2010-05-19  Andreas Schwab  <schwab@redhat.com>
39415         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
39416         symbol reference.
39418 2010-05-21  Andreas Schwab  <schwab@redhat.com>
39420         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
39421         and internal_recvmmsg.
39422         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
39423         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
39424         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
39425         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
39427         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
39428         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
39429         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
39431 2010-05-20  Andreas Schwab  <schwab@redhat.com>
39433         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
39435 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
39437         POWER7 optimizations.
39438         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
39439         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
39441 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
39443         * version.h: Update for 2.13 development version.
39445 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
39447         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
39448         exceptions.  Return 0.
39450 2010-05-07  Roland McGrath  <roland@redhat.com>
39452         * elf/ldconfig.c (main): Add a const.
39454 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
39456         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
39457         (args_options): Add no-idn option.
39458         (ahosts_keys_int): Add idn_flags to ai_flags.
39459         (parse_option): Handle 'i' option to clear idn_flags.
39461         * malloc/malloc.c (_int_free): Possible race in the most recently
39462         added check.  Only act on the data if no current modification
39463         happened.
39465 See ChangeLog.17 for earlier changes.