BZ #16447: Fix ldbl-128 expl implementation.
[jlayton/glibc.git] / ChangeLog
1 2014-02-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
2
3         [BZ #16447]
4         * math/auto-libm-test-in: Add testcase for expl.
5         * math/auto-libm-test-out: Regenerate.
6         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
7         calculation of unsafe.
8         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
9
10 2014-02-11  Marcus Shawcroft  <marcus.shawcroft@arm.com>
11
12         * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
13         * sysdeps/unix/sysv/linux/aarch64: Move directory from
14         ports/sysdeps/unix/sysv/linux/aarch64.
15         * README: Update listing for aarch64*-*-linux-gnu.
16
17 2014-02-11  Will Newton  <will.newton@linaro.org>
18
19         * manual/probes.texi (Mathematical Function Probes): Use
20         "triggered" instead of "hit".
21
22 2014-02-11  Will Newton  <will.newton@linaro.org>
23
24         * manual/probes.texi (Internal Probes): Add documentation
25         of setjmp, longjmp and longjmp_target probes.
26
27 2014-02-11  Will Newton  <will.newton@linaro.org>
28
29         * include/stap-probe.h: Add comment about probe argument
30         format.
31
32 2014-02-11  Will Newton  <will.newton@linaro.org>
33
34         * malloc/mtrace.c (attribute_hidden): Remove unused macro
35         definition.  (tr_where, tr_freehook, tr_mallochook,
36         tr_reallochook, tr_memalignhook): Use ANSI protoype.
37
38 2014-02-11  David S. Miller  <davem@davemloft.net>
39
40         * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
41         processing int_tests.
42
43 2014-02-10  Joseph Myers  <joseph@codesourcery.com>
44
45         * sysdeps/mips: Move directory from ports/sysdeps/mips.
46         * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
47         * sysdeps/unix/sysv/linux/mips: Move directory from
48         ports/sysdeps/unix/sysv/linux/mips.
49         * README: Update listing for mips-*-linux-gnu and
50         mips64-*-linux-gnu.
51
52 2014-02-10  Andreas Schwab  <schwab@linux-m68k.org>
53
54         * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
55         * sysdeps/unix/sysv/linux/m68k: Move directory from
56         ports/sysdeps/unix/sysv/linux/m68k.
57         * README: Update listing for m68k-*-linux-gnu.
58
59 2014-02-10  Chris Metcalf  <cmetcalf@tilera.com>
60
61         * sysdeps/tile: Move directory from ports/sysdeps/tile.
62         * sysdeps/unix/sysv/linux/generic: Move directory from
63         ports/sysdeps/unix/sysv/linux/generic.
64         * sysdeps/unix/sysv/linux/tile: Move directory from
65         ports/sysdeps/unix/sysv/linux/tile.
66         * README: Update listing for tile*-*-linux-gnu.
67
68 2014-02-10  Ondřej Bílka  <neleai@seznam.cz>
69
70         * assert/assert.c (__assert_fail_base): Use glibc_likely instead __builtin_expect.
71         * benchtests/bench-memmem.c (simple_memmem): Likewise.
72         * catgets/open_catalog.c (__open_catalog): Likewise.
73         * csu/libc-start.c (LIBC_START_MAIN): Likewise.
74         * debug/confstr_chk.c: Likewise.
75         * debug/fread_chk.c (__fread_chk): Likewise.
76         * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
77         * debug/getgroups_chk.c: Likewise.
78         * debug/mbsnrtowcs_chk.c: Likewise.
79         * debug/mbsrtowcs_chk.c: Likewise.
80         * debug/mbstowcs_chk.c: Likewise.
81         * debug/memcpy_chk.c: Likewise.
82         * debug/memmove_chk.c: Likewise.
83         * debug/mempcpy_chk.c: Likewise.
84         * debug/memset_chk.c: Likewise.
85         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
86         * debug/strcat_chk.c (__strcat_chk): Likewise.
87         * debug/strcpy_chk.c (__strcpy_chk): Likewise.
88         * debug/strncat_chk.c (__strncat_chk): Likewise.
89         * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
90         * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
91         * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
92         * debug/wcpncpy_chk.c: Likewise.
93         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
94         * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
95         * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
96         * debug/wcsncpy_chk.c: Likewise.
97         * debug/wcsnrtombs_chk.c: Likewise.
98         * debug/wcsrtombs_chk.c: Likewise.
99         * debug/wcstombs_chk.c: Likewise.
100         * debug/wmemcpy_chk.c: Likewise.
101         * debug/wmemmove_chk.c: Likewise.
102         * debug/wmempcpy_chk.c: Likewise.
103         * debug/wmemset_chk.c: Likewise.
104         * dirent/scandirat.c (SCANDIRAT): Likewise.
105         * dlfcn/dladdr1.c (dladdr1): Likewise.
106         * dlfcn/dladdr.c (dladdr): Likewise.
107         * dlfcn/dlclose.c (dlclose_doit): Likewise.
108         * dlfcn/dlerror.c (__dlerror): Likewise.
109         * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
110         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
111         * dlfcn/dlopen.c (dlopen_doit): Likewise.
112         * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
113         * dlfcn/dlsym.c (dlsym_doit): Likewise.
114         * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
115         * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
116         * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
117         Likewise.
118         * elf/dl-conflict.c: Likewise.
119         * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
120         * elf/dl-dst.h: Likewise.
121         * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
122         * elf/dl-fptr.c (_dl_make_fptr): Likewise.
123         * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
124         * elf/dl-init.c (call_init, _dl_init): Likewise.
125         * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
126         * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths,
127         _dl_map_object_from_fd, open_verify, open_path,
128         _dl_map_object): Likewise.
129         * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
130         Likewise.
131         * elf/dl-minimal.c (__libc_memalign): Likewise.
132         * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
133         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
134         * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
135         * elf/dl-sym.c (do_sym): Likewise.
136         * elf/dl-tls.c (tls_get_addr_tail, update_get_addr, __tls_get_addr,
137         _dl_tls_get_addr_soft): Likewise.
138         * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
139         * elf/dl-writev.h (_dl_writev): Likewise.
140         * elf/ldconfig.c (search_dir): Likewise.
141         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload,
142         dl_main): Likewise.
143         * elf/setup-vdso.h (setup_vdso): Likewise.
144         * grp/compat-initgroups.c (compat_call): Likewise.
145         * grp/fgetgrent.c (fgetgrent): Likewise.
146         * grp/initgroups.c (getgrouplist, initgroups): Likewise.
147         * grp/putgrent.c (putgrent): Likewise.
148         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
149         Likewise.
150         * hurd/hurdinit.c: Likewise.
151         * iconvdata/8bit-gap.c (struct): Likewise.
152         * iconvdata/ansi_x3.110.c : Likewise.
153         * iconvdata/big5.c : Likewise.
154         * iconvdata/big5hkscs.c : Likewise.
155         * iconvdata/cp1255.c: Likewise.
156         * iconvdata/cp1258.c : Likewise.
157         * iconvdata/cp932.c : Likewise.
158         * iconvdata/euc-cn.c: Likewise.
159         * iconvdata/euc-jisx0213.c : Likewise.
160         * iconvdata/euc-jp.c: Likewise.
161         * iconvdata/euc-jp-ms.c : Likewise.
162         * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
163         * iconvdata/gb18030.c : Likewise.
164         * iconvdata/gbbig5.c (const): Likewise.
165         * iconvdata/gbgbk.c: Likewise.
166         * iconvdata/gbk.c : Likewise.
167         * iconvdata/ibm1364.c : Likewise.
168         * iconvdata/ibm930.c : Likewise.
169         * iconvdata/ibm932.c: Likewise.
170         * iconvdata/ibm933.c : Likewise.
171         * iconvdata/ibm935.c : Likewise.
172         * iconvdata/ibm937.c : Likewise.
173         * iconvdata/ibm939.c : Likewise.
174         * iconvdata/ibm943.c: Likewise.
175         * iconvdata/iso_11548-1.c: Likewise.
176         * iconvdata/iso-2022-cn.c : Likewise.
177         * iconvdata/iso-2022-cn-ext.c : Likewise.
178         * iconvdata/iso-2022-jp-3.c: Likewise.
179         * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
180         * iconvdata/iso-2022-kr.c : Likewise.
181         * iconvdata/iso646.c (gconv_end): Likewise.
182         * iconvdata/iso_6937-2.c : Likewise.
183         * iconvdata/iso_6937.c : Likewise.
184         * iconvdata/iso8859-1.c: Likewise.
185         * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
186         * iconvdata/shift_jisx0213.c : Likewise.
187         * iconvdata/sjis.c : Likewise.
188         * iconvdata/t.61.c : Likewise.
189         * iconvdata/tcvn5712-1.c : Likewise.
190         * iconvdata/tscii.c: Likewise.
191         * iconvdata/uhc.c : Likewise.
192         * iconvdata/unicode.c (gconv_end): Likewise.
193         * iconvdata/utf-16.c (gconv_end): Likewise.
194         * iconvdata/utf-32.c (gconv_end): Likewise.
195         * iconvdata/utf-7.c (base64): Likewise.
196         * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
197         * iconv/gconv_close.c (__gconv_close): Likewise.
198         * iconv/gconv_open.c (__gconv_open): Likewise.
199         * iconv/gconv_simple.c (internal_ucs4_loop_single, ucs4_internal_loop,
200         ucs4_internal_loop_unaligned, ucs4_internal_loop_single,
201         internal_ucs4le_loop_single, ucs4le_internal_loop,
202         ucs4le_internal_loop_unaligned, ucs4le_internal_loop_single): Likewise.
203         * iconv/iconv.c (iconv): Likewise.
204         * iconv/iconv_close.c: Likewise.
205         * iconv/loop.c (SINGLE): Likewise.
206         * iconv/skeleton.c (FUNCTION_NAME): Likewise.
207         * include/atomic.h: Likewise.
208         * inet/inet6_option.c (option_alloc): Likewise.
209         * intl/bindtextdom.c (set_binding_values): Likewise.
210         * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
211         * intl/loadmsgcat.c (_nl_load_domain): Likewise.
212         * intl/localealias.c (read_alias_file): Likewise.
213         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
214         * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap,
215         _IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
216         * libio/fmemopen.c (fmemopen): Likewise.
217         * libio/iofgets.c (_IO_fgets): Likewise.
218         * libio/iofgets_u.c (fgets_unlocked): Likewise.
219         * libio/iofgetws.c (fgetws): Likewise.
220         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
221         * libio/iogetdelim.c (_IO_getdelim): Likewise.
222         * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap,
223         adjust_wide_data, _IO_wfile_seekoff): Likewise.
224         * locale/findlocale.c (_nl_find_locale): Likewise.
225         * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
226         * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
227         Likewise.
228         * locale/setlocale.c (setlocale): Likewise.
229         * login/programs/pt_chown.c (main): Likewise.
230         * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
231         * malloc/malloc.c (_int_malloc, _int_free): Likewise.
232         * malloc/memusage.c (update_data, malloc, realloc, calloc, free,
233         mmap, mmap64, mremap, munmap): Likewise.
234         * math/e_exp2l.c: Likewise.
235         * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
236         * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
237         * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
238         * math/s_catan.c (__catan): Likewise.
239         * math/s_catanf.c (__catanf): Likewise.
240         * math/s_catanh.c (__catanh): Likewise.
241         * math/s_catanhf.c (__catanhf): Likewise.
242         * math/s_catanhl.c (__catanhl): Likewise.
243         * math/s_catanl.c (__catanl): Likewise.
244         * math/s_ccosh.c (__ccosh): Likewise.
245         * math/s_ccoshf.c (__ccoshf): Likewise.
246         * math/s_ccoshl.c (__ccoshl): Likewise.
247         * math/s_cexp.c (__cexp): Likewise.
248         * math/s_cexpf.c (__cexpf): Likewise.
249         * math/s_cexpl.c (__cexpl): Likewise.
250         * math/s_clog10.c (__clog10): Likewise.
251         * math/s_clog10f.c (__clog10f): Likewise.
252         * math/s_clog10l.c (__clog10l): Likewise.
253         * math/s_clog.c (__clog): Likewise.
254         * math/s_clogf.c (__clogf): Likewise.
255         * math/s_clogl.c (__clogl): Likewise.
256         * math/s_csin.c (__csin): Likewise.
257         * math/s_csinf.c (__csinf): Likewise.
258         * math/s_csinh.c (__csinh): Likewise.
259         * math/s_csinhf.c (__csinhf): Likewise.
260         * math/s_csinhl.c (__csinhl): Likewise.
261         * math/s_csinl.c (__csinl): Likewise.
262         * math/s_csqrt.c (__csqrt): Likewise.
263         * math/s_csqrtf.c (__csqrtf): Likewise.
264         * math/s_csqrtl.c (__csqrtl): Likewise.
265         * math/s_ctan.c (__ctan): Likewise.
266         * math/s_ctanf.c (__ctanf): Likewise.
267         * math/s_ctanh.c (__ctanh): Likewise.
268         * math/s_ctanhf.c (__ctanhf): Likewise.
269         * math/s_ctanhl.c (__ctanhl): Likewise.
270         * math/s_ctanl.c (__ctanl): Likewise.
271         * math/w_pow.c: Likewise.
272         * math/w_powf.c: Likewise.
273         * math/w_powl.c: Likewise.
274         * math/w_scalb.c (sysv_scalb): Likewise.
275         * math/w_scalbf.c (sysv_scalbf): Likewise.
276         * math/w_scalbl.c (sysv_scalbl): Likewise.
277         * misc/error.c (error_tail): Likewise.
278         * misc/pselect.c (__pselect): Likewise.
279         * nis/nis_callback.c (__nis_create_callback): Likewise.
280         * nis/nis_call.c (__nisfind_server): Likewise.
281         * nis/nis_creategroup.c (nis_creategroup): Likewise.
282         * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
283         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
284         * nis/nis_getservlist.c (nis_getservlist): Likewise.
285         * nis/nis_lookup.c (nis_lookup): Likewise.
286         * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
287         * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry,
288         nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
289         * nis/nis_xdr.c (xdr_endpoint): Likewise.
290         * nis/nss_compat/compat-grp.c (getgrent_next_file, internal_getgrnam_r,
291         internal_getgrgid_r): Likewise.
292         * nis/nss_compat/compat-initgroups.c (add_group, internal_getgrent_r):
293         Likewise.
294         * nis/nss_compat/compat-pwd.c (getpwent_next_file, internal_getpwnam_r,
295         internal_getpwuid_r): Likewise.
296         * nis/nss_compat/compat-spwd.c (getspent_next_file,
297         internal_getspnam_r): Likewise.
298         * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r,
299         _nss_nis_getaliasbyname_r): Likewise.
300         * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r,
301         _nss_nis_getntohost_r): Likewise.
302         * nis/nss_nis/nis-grp.c (internal_nis_setgrent,
303         internal_nis_getgrent_r, _nss_nis_getgrnam_r, _nss_nis_getgrgid_r):
304         Likewise.
305         * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent,
306         internal_nis_gethostent_r, internal_gethostbyname2_r,
307         _nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r,
308         _nss_nis_gethostbyname4_r): Likewise.
309         * nis/nss_nis/nis-initgroups.c (internal_getgrent_r,
310         initgroups_netid): Likewise.
311         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
312         * nis/nss_nis/nis-network.c (internal_nis_getnetent_r,
313         _nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
314         * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r,
315         _nss_nis_getprotobynumber_r): Likewise.
316         * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey,
317         _nss_nis_getsecretkey): Likewise.
318         * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent,
319         internal_nis_getpwent_r, _nss_nis_getpwnam_r, _nss_nis_getpwuid_r):
320         Likewise.
321         * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r,
322         _nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
323         * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r,
324         _nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
325         * nis/nss_nis/nis-spwd.c (_nss_nis_setspent, internal_nis_getspent_r,
326         _nss_nis_getspnam_r): Likewise.
327         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
328         Likewise.
329         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r,
330         _nss_nisplus_getntohost_r): Likewise.
331         * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r,
332         _nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
333         * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r,
334         _nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r): Likewise.
335         * nis/nss_nisplus/nisplus-initgroups.c (_nss_nisplus_initgroups_dyn):
336         Likewise.
337         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r,
338         _nss_nisplus_getnetbyaddr_r): Likewise.
339         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r,
340         _nss_nisplus_getprotobynumber_r): Likewise.
341         * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r,
342         _nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
343         * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
344         Likewise.
345         * nis/nss_nisplus/nisplus-service.c (internal_nisplus_getservent_r,
346         _nss_nisplus_getservbyname_r, _nss_nisplus_getservbyport_r): Likewise.
347         * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r,
348         _nss_nisplus_getspnam_r): Likewise.
349         * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist): Likewise.
350         * nscd/aicache.c (addhstaiX): Likewise.
351         * nscd/cache.c (cache_search, prune_cache): Likewise.
352         * nscd/connections.c (register_traced_file, send_ro_fd, handle_request,
353         nscd_run_prune, nscd_run_worker, fd_ready, main_loop_epoll): Likewise.
354         * nscd/grpcache.c (addgrbyX): Likewise.
355         * nscd/hstcache.c (addhstbyX): Likewise.
356         * nscd/initgrcache.c (addinitgroupsX): Likewise.
357         * nscd/mem.c (gc, mempool_alloc): Likewise.
358         * nscd/netgroupcache.c (do_notfound, addgetnetgrentX, addinnetgrX):
359         Likewise.
360         * nscd/nscd-client.h (__nscd_acquire_maplock, __nscd_drop_map_ref):
361         Likewise.
362         * nscd/nscd_getai.c (__nscd_getai): Likewise.
363         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
364         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
365         Likewise.
366         * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
367         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
368         * nscd/nscd_helper.c (__readvall, open_socket,
369         __nscd_get_mapping, __nscd_get_map_ref): Likewise.
370         * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
371         * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr): Likewise.
372         * nscd/pwdcache.c (addpwbyX): Likewise.
373         * nscd/selinux.c (preserve_capabilities): Likewise.
374         * nscd/servicescache.c (addservbyX): Likewise.
375         * nss/nss_files/files-XXX.c (internal_getent): Likewise.
376         * posix/fnmatch.c (fnmatch): Likewise.
377         * posix/getopt.c (_getopt_internal_r): Likewise.
378         * posix/glob.c (glob, glob_in_dir): Likewise.
379         * posix/wordexp.c (exec_comm_child): Likewise.
380         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r, getanswer_r,
381         gaih_getanswer_slice): Likewise.
382         * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
383         * resolv/res_init.c: Likewise.
384         * resolv/res_mkquery.c (res_nmkquery): Likewise.
385         * resolv/res_query.c (__libc_res_nquery): Likewise.
386         * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
387         Likewise.
388         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
389         * stdio-common/perror.c (perror): Likewise.
390         * stdio-common/printf_fp.c (___printf_fp): Likewise.
391         * stdio-common/tmpnam.c (tmpnam): Likewise.
392         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
393         * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
394         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl): Likewise.
395         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
396         * stdlib/putenv.c (putenv): Likewise.
397         * stdlib/setenv.c (__add_to_environ): Likewise.
398         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
399         * stdlib/strtol_l.c (INTERNAL): Likewise.
400         * string/memmem.c (memmem): Likewise.
401         * string/strerror.c (strerror): Likewise.
402         * string/strnlen.c (__strnlen): Likewise.
403         * string/test-memmem.c (simple_memmem): Likewise.
404         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
405         * sunrpc/pm_getport.c (__get_socket): Likewise.
406         * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
407         * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
408         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup,
409         elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
410         Likewise.
411         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
412         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
413         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
414         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
415         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
416         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1): Likewise.
417         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn): Likewise.
418         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
419         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
420         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
421         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
422         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
423         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
424         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
425         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
426         * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
427         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
428         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
429         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
430         Likewise.
431         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
432         Likewise.
433         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
434         Likewise.
435         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
436         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
437         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
438         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
439         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
440         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
441         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
442         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
443         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
444         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
445         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
446         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
447         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
448         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
449         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
450         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r): Likewise.
451         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
452         Likewise.
453         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
454         Likewise.
455         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
456         Likewise.
457         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
458         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
459         * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
460         Likewise.
461         * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
462         * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
463         * sysdeps/posix/opendir.c (__opendirat): Likewise.
464         * sysdeps/posix/sleep.c: Likewise.
465         * sysdeps/posix/tempname.c: Likewise.
466         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
467         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
468         Likewise.
469         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_runtime_setup,
470         elf_machine_rela): Likewise.
471         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
472         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
473         * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
474         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
475         Likewise.
476         * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
477         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup,
478         elf_machine_rela, elf_machine_lazy_rel): Likewise.
479         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup,
480         elf_machine_rela, elf_machine_lazy_rel): Likewise.
481         * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
482         * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
483         * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
484         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
485         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
486         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
487         elf_machine_lazy_rel): Likewise.
488         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
489         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
490         elf_machine_lazy_rel): Likewise.
491         * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
492         * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
493         * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
494         * sysdeps/unix/grantpt.c (grantpt): Likewise.
495         * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
496         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
497         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
498         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
499         Likewise.
500         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
501         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
502         * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
503         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
504         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
505         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
506         * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
507         * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
508         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
509         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
510         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
511         Likewise.
512         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
513         (__posix_fallocate64_l64): Likewise.
514         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
515         (posix_fallocate): Likewise.
516         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64): Likewise.
517         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
518         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request,
519         getifaddrs_internal): Likewise.
520         * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
521         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
522         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
523         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
524         * sysdeps/unix/sysv/linux/posix_fallocate64.c
525         (__posix_fallocate64_l64): Likewise.
526         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
527         Likewise.
528         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
529         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
530         Likewise.
531         * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
532         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
533         * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
534         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
535         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
536         * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
537         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
538         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
539         Likewise.
540         * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
541         * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
542         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
543         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
544         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
545         * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
546         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
547         Likewise.
548         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
549         (posix_fallocate): Likewise.
550         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
551         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
552         * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
553         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup,
554         elf_machine_rela, elf_machine_rela_relative, elf_machine_lazy_rel):
555         Likewise.
556         * time/asctime.c (asctime_internal): Likewise.
557         * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
558         * time/tzset.c (__tzset_parse_tz): Likewise.
559         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
560         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
561         * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
562         * wcsmbs/wcsmbsload.h: Likewise.
563
564 2014-02-10  Ondřej Bílka  <neleai@seznam.cz>
565
566         [BZ #15894]
567         * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
568
569 2014-02-10  Ondřej Bílka  <neleai@seznam.cz>
570
571         * malloc/arena.c (grow_heap, get_free_list, reused_arena,
572         arena_get2): Remove THREAD_STATS conditionals.
573         * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free,
574         __malloc_stats, int): Likewise.
575
576 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
577
578         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
579         f.f_type to RAMFS_MAGIC too.  Compare mp->mnt_type to shm too.
580
581 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
582
583         * manual/setjmp.texi: Fix typos/grammar errors.
584
585 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
586
587         * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
588         Only return early when n is <= 0.  Delete unused return statement.
589
590 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
591
592         * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
593         (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
594         * debug/tst-longjmp_chk3.c: New file.
595
596 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
597
598         * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
599         (test_main): Replace code with set_fortify_handler call.
600         * debug/test-strcpy_chk.c: Likewise.
601         * debug/tst-chk1.c: Likewise.
602         * debug/tst-longjmp_chk.c: Likewise.
603         * test-skeleton.c: Include fcntl.h & paths.h
604         (set_fortify_handler): Define.
605
606 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
607
608         * debug/tst-longjmp_chk.c: Add header comment and include
609         ../test-skeleton.c.
610         (do_test): Mark static.
611         (TEST_FUNCTION): Define.
612
613 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
614
615         * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
616         (IP_PMTUDISC_INTERFACE): Likewise.
617         (IP_MULTICAST_IF): Likewise.
618         (IP_MULTICAST_TTL): Likewise.
619         (IP_MULTICAST_LOOP): Likewise.
620         (IP_ADD_MEMBERSHIP): Likewise.
621         (IP_DROP_MEMBERSHIP): Likewise.
622         (IP_UNBLOCK_SOURCE): Likewise.
623         (IP_BLOCK_SOURCE): Likewise.
624         (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
625         (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
626         (IP_MSFILTER): Likewise.
627         (MCAST_JOIN_GROUP): Likewise.
628         (MCAST_BLOCK_SOURCE): Likewise.
629         (MCAST_UNBLOCK_SOURCE): Likewise.
630         (MCAST_LEAVE_GROUP): Likewise.
631         (MCAST_JOIN_SOURCE_GROUP): Likewise.
632         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
633         (MCAST_MSFILTER): Likewise.
634         (IP_MULTICAST_ALL): Likewise.
635         (IP_UNICAST_IF): Likewise.
636
637 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
638
639         * timezone/Makefile: Delete $(have-ksh) check.
640         ($(objpfx)tzselect): Change $(KSH) to $(BASH).
641         * timezone/tzselect.ksh: Add +x mode bits.
642
643 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
644
645         * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
646         (ANON_INODE_FS_MAGIC): Likewise.
647         (BDEVFS_MAGIC): Likewise.
648         (BINFMTFS_MAGIC): Likewise.
649         (BTRFS_TEST_MAGIC): Likewise.
650         (CRAMFS_MAGIC_WEND): Likewise.
651         (DEBUGFS_MAGIC): Likewise.
652         (ECRYPTFS_SUPER_MAGIC): Likewise.
653         (EXT3_SUPER_MAGIC): Likewise.
654         (EXT4_SUPER_MAGIC): Likewise.
655         (FUTEXFS_SUPER_MAGIC): Likewise.
656         (HOSTFS_SUPER_MAGIC): Likewise.
657         (HUGETLBFS_MAGIC): Likewise.
658         (MINIX3_SUPER_MAGIC): Likewise.
659         (MTD_INODE_FS_MAGIC): Likewise.
660         (NILFS_SUPER_MAGIC): Likewise.
661         (OPENPROM_SUPER_MAGIC): Likewise.
662         (PIPEFS_MAGIC): Likewise.
663         (PSTOREFS_MAGIC): Likewise.
664         (QNX6_SUPER_MAGIC): Likewise.
665         (RAMFS_MAGIC): Likewise.
666         (REISERFS_SUPER_MAGIC_STRING): Likewise.
667         (REISER2FS_SUPER_MAGIC_STRING): Likewise.
668         (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
669         (SECURITYFS_MAGIC): Likewise.
670         (SELINUX_MAGIC): Likewise.
671         (SMACK_MAGIC): Likewise.
672         (SOCKFS_MAGIC): Likewise.
673         (SQUASHFS_MAGIC): Likewise.
674         (STACK_END_MAGIC): Likewise.
675         (TMPFS_MAGIC): Likewise.
676         (USBDEVICE_SUPER_MAGIC): Likewise.
677         (V9FS_MAGIC): Likewise.
678         (XENFS_SUPER_MAGIC): Likewise.
679         (CRAMFS_MAGIC): Fix typo in comment.
680         (EXT2_SUPER_MAGIC): Update comment.
681         (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
682
683 2014-02-08  Joseph Myers  <joseph@codesourcery.com>
684
685         * sysdeps/arm: Move directory from ports/sysdeps/arm.
686         * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
687         * sysdeps/unix/sysv/linux/arm: Move directory from
688         ports/sysdeps/unix/sysv/linux/arm.
689         * README: Update listing for arm-*-linux-gnueabi.
690
691         * README: Remove mention of am33.
692
693 2014-02-07  Roland McGrath  <roland@hack.frob.com>
694
695         * bits/sigset.h (__sigemptyset): Use a statement expression rather
696         than the comma operator, to avoid "rhs of comma has no effect"
697         compiler warnings.
698         (__sigfillset, __sigandset, __sigorset): Likewise.
699         * include/signal.h (__sigemptyset): Likewise.
700         * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
701
702 2014-02-07  Allan McRae  <allan@archlinux.org>
703
704         * version.h (RELEASE): Set to "development".
705         (VERSION): Set to "2.19.90"
706         * NEWS: Add 2.20 section.
707
708 2014-02-06  Carlos O'Donell  <carlos@redhat.com>
709
710         [BZ #16529]
711         * inet/netinet/in.h: Remove comma after IPPROTO_MH.
712
713 2014-02-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
714
715         * manual/contrib.texi: Update entry for Carlos O'Donell,
716         Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
717
718 2014-02-05  Carlos O'Donell  <carlos@rehdat.com>
719
720         * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
721
722         * sysdeps/unix/sysv/linux/kernel-features.h
723         [__LINUX_KERNEL_VERSION >= 0x020621]
724         (__ASSUME_PROC_PID_TASK_COMM): Define.
725
726 2014-02-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
727
728         * manual/contrib.texi: Update entry for Ondrej Bilka, Will
729         Newton and Alexandre Oliva.  Add entries for Steve Ellcey, Chris
730         Leonard and Allan McRae.
731
732 2014-02-04  David S. Miller  <davem@davemloft.net>
733
734         * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
735         32-bit.
736
737 2014-02-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
738
739         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist: New
740         file
741         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
742         New file
743         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist: New
744         file.
745         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist: New
746         file.
747         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
748         New file.
749         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist: New
750         file.
751         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist: New
752         file.
753         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
754         New file.
755         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
756         New file.
757         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
758         New file.
759         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
760         New file.
761         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
762         New file.
763         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
764         New file.
765
766 2014-02-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
767
768         * nptl/shlib-versions: Change powerpc*le start to 2.17.
769         * shlib-versions: Likewise.
770
771 2014-02-04  Roland McGrath  <roland@hack.frob.com>
772             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
773
774         * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
775         (abilist-pattern): New variable, set to %-le.abilist.
776
777         * Makerules (abilist-pattern): New variable.
778         (vpath): Use $(abilist-pattern) in place of %.abilist.
779         (check-abi-% pattern rule): Likewise.
780         (check-abi, update-abi): Likewise.
781
782 2014-02-04  Eric Wong  <normalperson@yhbt.net>
783
784         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
785
786 2014-02-04  Eric Wong  <normalperson@yhbt.net>
787
788         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
789
790 2014-02-03  Carlos O'Donell  <carlos@redhat.com>
791
792         * manual/startup.texi: Add next, previous, and top entries for
793         the `Program Arguments' and `Environment Variables' nodes.
794
795 2014-02-03  Alexandre Oliva <aoliva@redhat.com>
796
797         * manual/macros.texi: Add comments before MTASC-safety macros.
798
799         * manual/users.texi: Document MTASC-safety properties.
800
801         * manual/threads.texi (pthread_key_create, pthread_key_delete,
802         pthread_getspecific, pthread_setspecific): Format with
803         @deftypefun, and add @safety note.
804         * manual/signal.texi: Move comments that analyze the above
805         functions to their home place.
806
807 2014-02-03  Allan McRae  <allan@archlinux.org>
808
809         * po/sl.po: Update Slovenian translation from translation project.
810
811 2014-02-02  Alexandre Oliva <aoliva@redhat.com>
812
813         * manual/time.texi (timegm): Add missing blank after @c.
814         Reported by Joseph Myers <joseph@codesourcery.com>.
815
816 2014-02-01  Alexandre Oliva <aoliva@redhat.com>
817
818         * manual/check-safety.sh: New.
819         * manual/Makefile ($(objpfx)stamp-summary): Run it.
820
821         * manual/terminal.texi: Document MTASC-safety properties.
822
823         * manual/filesys.texi: Document MTASC-safety properties.
824
825         * manual/errno.texi: Document MTASC-safety properties.
826
827         * manual/intro.texi: Document safety identifiers and
828         conditionals.
829
830         * manual/string.texi (wcstok): Fix prototype.
831         (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
832
833         * manual/time.texi: Document MTASC-safety properties.
834
835         * manual/string.texi: Document MTASC-safety properties.
836
837         * manual/threads.texi: Document MTASC-safety properties.
838
839         * manual/stdio.texi: Document MTASC-safety properties.
840
841         * manual/syslog.texi: Document MTASC-safety properties.
842
843         * manual/sysinfo.texi: Document MTASC-safety properties.
844
845         * manual/startup.texi: Document MTASC-safety properties.
846
847         * manual/socket.texi: Document MTASC-safety properties.
848
849         * manual/signal.texi: Document MTASC-safety properties.
850
851 2014-01-31  Alexandre Oliva <aoliva@redhat.com>
852
853         * manual/setjmp.texi: Document MTASC-safety properties.
854
855         * manual/search.texi: Document MTASC-safety properties.
856
857         * manual/resource.texi: Document MTASC-safety properties.
858
859         * manual/process.texi: Document MTASC-safety properties.
860
861         * manual/platform.texi: Document MTASC-safety properties.
862
863         * manual/pipe.texi: Document MTASC-safety properties.
864
865         * manual/pattern.texi: Document MTASC-safety properties.
866
867         * manual/message.texi: Document MTASC-safety properties.
868
869         [BZ #12751]
870         * manual/memory.texi: Document MTASC-safety properties.
871
872         * manual/math.texi: Document MTASC-safety properties.
873
874         * manual/locale.texi: Document MTASC-safety properties.
875
876         * manual/llio.texi: Document MTASC-safety properties.
877
878         * manual/libdl.texi: New.
879
880         * manual/lang.texi: Document MTASC-safety properties.
881
882         * manual/job.texi: Document MTASC-safety properties.
883
884         * manual/getopt.texi: Document MTASC-safety properties.
885
886         * manual/ctype.texi: Document MTASC-safety properties.
887
888 2014-01-31  Maciej W. Rozycki  <macro@codesourcery.com>
889
890         [BZ #16046]
891         * csu/libc-tls.c (static_map): Remove variable.
892         (__libc_setup_tls): Use main executable's link map for TLS data.
893         * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
894         casing for LM_ID_BASE and GL(dl_nns).
895         * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
896         function.  Alias dl_iterate_phdr to __dl_iterate_phdr.
897         * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
898         casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
899         * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
900         member.
901         (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
902         l_phnum members.
903
904 2014-01-30  Alexandre Oliva <aoliva@redhat.com>
905
906         * manual/debug.texi: Document MTASC-safety properties.
907
908 2014-01-29  H.J. Lu  <hongjiu.lu@intel.com>
909
910         [BZ #16510]
911         * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
912         of __x86_64__ when disabling x87 inline functions.
913
914 2014-01-29  Alexandre Oliva <aoliva@redhat.com>
915
916         * manual/charset.texi: Document MTASC-safety properties.
917
918         * manual/crypt.texi: Document MTASC-safety properties.
919
920         * manual/conf.texi: Document MTASC-safety properties.
921
922         * manual/arith.texi: Document MTASC-safety properties.
923
924         * manual/argp.texi: Document MTASC-safety properties.
925
926         * manual/macros.texi: Introduce macros to document multi
927         thread, asynchronous signal and asynchronous cancellation
928         safety properties.
929         * manual/intro.texi: Introduce the properties themselves.
930
931 2014-01-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
932
933         * sysdeps/sh/sh4/Makefile: New file.
934
935 2014-01-27  Andreas Schwab  <schwab@linux-m68k.org>
936
937         * math/gen-libm-test.pl ($srcdir): New variable.
938         ($auto_input): Use it.
939
940 2014-01-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
941
942         [BZ #16506]
943         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
944         access beyond array bounds when parsing netgroups file.
945
946         * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
947         the old buffer before realloc.
948
949 2014-01-27  Allan McRae  <allan@archlinux.org>
950
951         * po/fr.po: Update French translation from translation project.
952
953 2014-01-26  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
954
955         * sysdeps/sh/libm-test-ulps: Regenerate.
956
957 2014-01-24  David S. Miller  <davem@davemloft.net>
958
959         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
960
961 2014-01-25  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
962
963         * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
964         * sysdeps/sh/libm-test-ulps: ... here and regenerated.
965
966 2013-01-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
967
968         [BZ #16474]
969         * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
970         string pointers after reallocation.
971
972 2014-01-24  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
973
974         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
975         __SH4A__ instead of __SH_FPU_ANY__.
976
977 2014-01-23  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
978
979         * sysdeps/sh/fpu_control.h: New file.
980         * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
981         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
982         * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
983         * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
984         * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
985         * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
986         * sysdeps/sh/sys/ucontext.h: Remove.
987         * sysdeps/sh/sys: Remove directory.
988
989 2014-01-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
990
991         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
992         s390/sys/ucontext.h.
993         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
994         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
995
996 2014-01-20  H.J. Lu  <hongjiu.lu@intel.com>
997
998         [BZ #15605]
999         * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
1000
1001 2014-01-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1002
1003         [BZ#16431]
1004         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
1005         Adjust the vDSO correctly for internal calls.
1006         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
1007
1008 2014-01-20  Allan McRae  <allan@archlinux.org>
1009
1010         * po/ca.po: Update Catalan translation from translation project.
1011
1012 2014-01-16  Mike Frysinger  <vapier@gentoo.org>
1013
1014         * sysdeps/s390/sotruss-lib.c: New file.
1015
1016 2014-01-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1017
1018         [BZ#16430]
1019         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
1020         (__GI___gettimeofday): Alias for a different internal symbol to avoid
1021         local calls issues by not having a PLT stub required for IFUNC calls.
1022         * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
1023
1024 2014-01-16 Joseph Myers  <joseph@codesourcery.com>
1025
1026         * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
1027         * math/test-fpucw-static.c: Likewise.
1028
1029 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
1030
1031         [BZ #16453]
1032         * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
1033
1034 2014-01-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1035
1036         * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
1037         implementation for powerpc.
1038
1039 2014-01-15  Ondřej Bílka  <neleai@seznam.cz>
1040
1041         [BZ #14782]
1042         * sysdeps/posix/system.c (__libc_system): Do not enable
1043         asynchronous cancellation.
1044
1045 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
1046
1047         [BZ #16427]
1048         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
1049         handling only for numbers special also in the IEEE case.
1050
1051 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
1052
1053         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
1054
1055 2014-01-11  Allan McRae  <allan@archlinux.org>
1056
1057         * po/bg.po: Update Bulgarian translation from translation project.
1058
1059         * po/de.po: Update German translation from translation project.
1060
1061 2014-01-10  Roland McGrath  <roland@hack.frob.com>
1062
1063         * sysdeps/generic/gcc-compat.h: New file.
1064
1065 2014-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
1066
1067         * benchtests/asin-inputs: Correct slow inputs.
1068         * benchtests/acos-inputs: Likewise.
1069
1070 2014-01-10  Allan McRae  <allan@archlinux.org>
1071
1072         * po:sv.po: Update Swedish translation from translation project.
1073
1074         * po/vi.po: Update Vietnamese translation from translation project.
1075
1076         * po/eo.po: Update Esperanto translation from translation project.
1077
1078         * po/cs.po: Update Czech translation from translation project.
1079
1080         * po/nl.po: Update Dutch translation from translation project.
1081
1082         * po/pl.po: Update Polish translation from translation project.
1083
1084         * po/ru.po: Update Russian translation from translation project.
1085
1086         * po/uk.po: Update Ukrainian translation from translation project.
1087
1088 2014-01-08  Brooks Moses  <bmoses@google.com>
1089
1090         * elf/dl-load.c: Fix comment typo.
1091
1092 2014-01-08  Carlos O'Donell  <carlos@redhat.com>
1093
1094         * po/header.pot: Rename to...
1095         * po/pot.header: ... this.
1096         * po/Makefile: Use pot.header.
1097
1098 2014-01-08  Yuriy Kaminskiy  <yumkam@gmail.com>
1099             Maxim Kuvyrkov  <maxim@kugelworks.com>
1100
1101         [BZ #16394]
1102         * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
1103         SRC and DEST against LEN.
1104
1105 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1106
1107         [BZ #16414]
1108         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
1109         implementation.
1110         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
1111
1112 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1113
1114         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1115
1116 2014-01-08  Joseph Myers  <joseph@codesourcery.com>
1117
1118         [BZ #16408]
1119         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
1120         for large positive arguments.
1121
1122 2014-01-07  Joseph Myers  <joseph@codesourcery.com>
1123
1124         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
1125
1126         * math/auto-libm-test-in: Mark various tests with
1127         xfail-rounding:ldbl-128ibm.
1128         * math/auto-libm-test-out: Regenerated.
1129
1130         [BZ #16407]
1131         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
1132         Increase overflow threshold.
1133
1134 2014-01-07  Ondřej Bílka  <neleai@seznam.cz>
1135
1136         [BZ #14286]
1137         * stdio-common/vfprintf.c: Check for integer overflow.
1138
1139 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
1140
1141         * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
1142         the first argument and return value of __tls_get_addr_internal.
1143
1144 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
1145
1146         * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
1147         also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
1148
1149 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
1150
1151         * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
1152         * sysdeps/s390/rtld-global-offsets.sym: New file.
1153         * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
1154         GLIBC_2.19 symbol.
1155         * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
1156         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
1157         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
1158         ... this.
1159         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
1160         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
1161         ... this.
1162         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
1163         Regenerate.
1164         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
1165         Regenerate.
1166         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
1167         halfs of GPRs for high_gprs contexts.
1168         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
1169         restore upper halfs of GPRs for high_gprs contexts.  Copy uc_flags
1170         field.
1171         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
1172         uc_flags field.
1173         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
1174         64 bit versions:
1175         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
1176         for high GPRs (uc_high_gprs) and for future extensions
1177         (__reserved).
1178         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
1179         for future extensions (__reserved).
1180         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
1181         64 bit versions:
1182         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
1183         SC_HIGHGPRS offset definition.
1184         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
1185         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
1186
1187 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
1188
1189         * Versions.def: Add GLIBC_2.19 for libpthread.
1190         * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
1191         siglongjmp for libpthread with GLIBC_2.19 symver.
1192         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
1193         * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
1194         * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
1195         * sysdeps/s390/__longjmp.c: New file.
1196         * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
1197         * sysdeps/s390/longjmp.c: New file.
1198         * sysdeps/s390/setjmp.S: New file.
1199         * sysdeps/s390/sigjmp.S: New file.
1200         * sysdeps/s390/v1-longjmp.c: New file.
1201         * sysdeps/s390/v1-setjmp.h: New file.
1202         * sysdeps/s390/v1-sigjmp.c: New file.
1203         * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
1204         * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
1205         GLIBC_2.19 version.
1206         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
1207         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
1208         versioned symbols for ____longjmp_chk.
1209         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
1210         Likewise.
1211         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
1212         Regenerate.
1213         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
1214         Regenerate.
1215         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
1216         Regenerate.
1217         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
1218         Regenerate.
1219         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
1220         * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
1221         * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
1222         * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
1223         * sysdeps/s390/s390-32/setjmp-common.S: ... this.
1224         * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
1225         * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
1226         * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
1227         * sysdeps/s390/s390-64/setjmp-common.S: ... this.
1228         * sysdeps/s390/rtld-__longjmp.c: New file.
1229         * sysdeps/s390/rtld-setjmp.S: New file.
1230
1231 2014-01-06  Joseph Myers  <joseph@codesourcery.com>
1232
1233         [BZ #16400]
1234         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
1235         Return -__logl (x) for small positive arguments without evaluating
1236         a polynomial.
1237
1238 2014-01-06  Mike Frysinger  <vapier@gentoo.org>
1239
1240         * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
1241         Rename to ...
1242         (__ptrace_peeksiginfo_args): ... this.
1243         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
1244         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
1245         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
1246
1247 2014-01-06  Allan McRae  <allan@archlinux.org>
1248
1249         * inet/netinet/in.h: Fix typo in comment.
1250
1251 2014-01-05  Andreas Jaeger  <aj@suse.de>
1252
1253         * sysdeps/i386/fpu/libm-test-ulps: Update.
1254
1255 2014-01-05  Allan McRae  <allan@archlinux.org>
1256
1257         * po/libc.pot: Regenerated.
1258
1259         * malloc/memusagestat.c: Fix gettext call formatting.
1260
1261 2014-01-04  Sami Kerola  <kerolasa@iki.fi>
1262
1263         * nscd/nscd.c: Improve usage() output.
1264
1265 2014-01-04  Mike Frysinger  <vapier@gentoo.org>
1266
1267         * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
1268         * sysdeps/unix/sysv/linux/configure: Regenerated.
1269         * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
1270         * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
1271
1272 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
1273
1274         [BZ #16390]
1275         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
1276         (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
1277
1278 2014-01-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1279
1280         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
1281         extra tokens at end of #undef directive.
1282         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
1283         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
1284         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
1285
1286 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
1287
1288         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
1289
1290         * math/auto-libm-test-in: Mark various tests with
1291         xfail-rounding:ldbl-128ibm.
1292         * math/auto-libm-test-out: Regenerated.
1293
1294 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
1295
1296         [BZ #16386]
1297         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
1298         numbers with subnormal high part when calculating exponent.
1299
1300         [BZ #16385]
1301         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
1302         fabs.
1303
1304         [BZ #16384]
1305         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
1306         M_LN2l.
1307         (__ieee754_acoshl): Use __log1pl not __log1p.
1308
1309 2013-01-02  Ondřej Bílka  <neleai@seznam.cz>
1310
1311         * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all,
1312         ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry,
1313         __failing_morecore, ptmalloc_init, dump_heap, new_heap, grow_heap,
1314         heap_trim, _int_new_arena, get_free_list, reused_arena, arena_get2):
1315         Convert to GNU style.
1316         * malloc/hooks.c (memalign_hook_ini, __malloc_check_init,
1317         mem2mem_check, mem2chunk_check, top_check, realloc_check,
1318         memalign_check, __malloc_set_state): Likewise.
1319         * malloc/mallocbug.c (main): Likewise.
1320         * malloc/malloc.c (__malloc_assert, malloc_init_state, free_perturb,
1321         do_check_malloced_chunk, do_check_malloc_state, sysmalloc, systrim,
1322         mremap_chunk, __libc_malloc, __libc_free, __libc_realloc, _mid_memalign,
1323         _int_malloc, malloc_consolidate, _int_realloc, _int_memalign, mtrim,
1324         musable, __libc_mallopt, __posix_memalign, malloc_info): Likewise.
1325         * malloc/malloc.h: Likewise.
1326         * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook, mallochook,
1327         memalignhook, reallochook, mabort): Likewise.
1328         * malloc/mcheck.h: Likewise.
1329         * malloc/memusage.c (update_data, me, malloc, realloc, calloc, free, mmap,
1330         mmap64, mremap, munmap, dest): Likewise.
1331         * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
1332         * malloc/morecore.c (__default_morecore): Likewise.
1333         * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
1334         * malloc/obstack.c (_obstack_begin, _obstack_newchunk,
1335         _obstack_allocated_p, obstack_free, _obstack_memory_used,
1336         print_and_abort): Likewise.
1337         * malloc/obstack.h: Likewise.
1338         * malloc/set-freeres.c (__libc_freeres): Likewise.
1339         * malloc/tst-mallocstate.c (main): Likewise.
1340         * malloc/tst-mtrace.c (main): Likewise.
1341         * malloc/tst-realloc.c (do_test): Likewise.
1342
1343 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
1344
1345         [BZ #16366]
1346         * nscd/netgroupcache.c (do_notfound): New function.
1347         (addgetnetgrentX): Use it.
1348
1349         [BZ # 16365]
1350         * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
1351         NSS_STATUS_NOTFOUND.
1352
1353 2014-01-01  Joseph Myers  <joseph@codesourcery.com>
1354
1355         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
1356         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1357
1358 2014-01-01  Allan McRae  <allan@archlinux.org>
1359
1360         * scripts/update-copyrights: Update configure input file suffix.
1361
1362         * NEWS: Update copyright year.
1363         * catgets/gencat.c: Likewise.
1364         * csu/version.c: Likewise.
1365         * debug/catchsegv.sh: Likewise.
1366         * debug/pcprofiledump.c: Likewise.
1367         * debug/xtrace.sh: Likewise.
1368         * elf/ldconfig.c: Likewise.
1369         * elf/ldd.bash.in: Likewise.
1370         * elf/pldd.c: Likewise.
1371         * elf/sotruss.ksh: Likewise.
1372         * elf/sprof.c: Likewise.
1373         * iconv/iconv_prog.c: Likewise.
1374         * iconv/iconvconfig.c: Likewise.
1375         * locale/programs/locale.c: Likewise.
1376         * locale/programs/localedef.c: Likewise.
1377         * login/programs/pt_chown.c: Likewise.
1378         * malloc/memusage.sh: Likewise.
1379         * malloc/memusagestat.c: Likewise.
1380         * malloc/mtrace.pl: Likewise.
1381         * manual/libc.texinfo: Likewise.
1382         * nscd/nscd.c: Likewise.
1383         * nss/getent.c: Likewise.
1384         * nss/makedb.c: Likewise.
1385         * posix/getconf.c: Likewise.
1386         * scripts/test-installation.pl: Likewise.
1387
1388         * All files with FSF copyright notices: Update copyright dates
1389         using scripts/update-copyrights.
1390         * intl/plural.c: Regenerated.
1391         * locale/programs/charmap-kw.h: Likewise.
1392         * locale/programs/locfile-kw.h: Likewise.
1393
1394 2013-12-31  Mike Frysinger  <vapier@gentoo.org>
1395
1396         * sysdeps/unix/sysv/linux/configure: Regenerated.
1397         * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
1398         the linux/fanotify.h header.
1399         * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
1400         HAVE_LINUX_FANOTIFY_H is defined.
1401
1402 2013-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
1403
1404         * benchtests/cos-inputs: New inputs.
1405         * benchtests/sin-inputs: Likewise.
1406
1407         * benchtests/atan-inputs: New inputs. Fix name of multiple
1408         precision fallback inputs.
1409
1410         * benchtests/atanh-inputs: New inputs.
1411         * benchtests/tanh-inputs: Likewise.
1412
1413         * benchtests/acosh-inputs: New inputs.
1414         * benchtests/asinh-inputs: Likewise.
1415
1416         * benchtests/cosh-inputs: New inputs.
1417         * benchtests/sinh-inputs: Likewise.
1418
1419         * benchtests/acos-inputs: Add more inputs.
1420         * benchtests/asin-inputs: Likewise.
1421
1422 2013-12-30  Ville Skytta  <ville.skytta@iki.fi>
1423
1424         [BZ #16375]
1425         * manual/arith.texi: Fix spelling.
1426         * manual/charset.texi: Likewise.
1427         * manual/errno.texi: Likewise.
1428         * manual/filesys.texi: Likewise.
1429         * manual/lang.texi: Likewise.
1430         * manual/llio.texi: Likewise.
1431         * manual/locale.texi: Likewise.
1432         * manual/message.texi: Likewise.
1433         * manual/resource.texi: Likewise.
1434         * manual/search.texi: Likewise.
1435         * manual/setjmp.texi: Likewise.
1436         * manual/stdio.texi: Likewise.
1437         * manual/string.texi: Likewise.
1438         * manual/sysinfo.texi: Likewise.
1439         * manual/time.texi: Likewise.
1440
1441 2013-12-27  Carlos O'Donell  <carlos@redhat.com>
1442
1443         * po/sl.po: New file.
1444
1445 2013-12-27  Mike Frysinger  <vapier@gentoo.org>
1446
1447         * .gitignore: Add core/.gdbinit/.gdb_history.
1448
1449 2013-12-27  Allan McRae  <allan@archlinux.org>
1450
1451         [BZ #16369]
1452         * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
1453         Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
1454
1455 2013-12-24  Brooks Moses  <bmoses@google.com>
1456
1457         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
1458         all compilers that claim C++98 compliance, not just GCC.
1459         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
1460         Likewise.
1461
1462 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
1463
1464         * NEWS: Restore accidentally deleted bug-fix entries.
1465
1466 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
1467             Ondřej Bílka  <neleai@seznam.cz>
1468
1469         [BZ #15073]
1470         * malloc/malloc.c (_int_free): Perform sanity check only if we
1471         have_lock.
1472
1473 2013-12-23  Ondřej Bílka  <neleai@seznam.cz>
1474
1475         [BZ #12986]
1476         * manual/stdio.texi (String Input Conversions): Clarify that character
1477         classes are not supported.
1478
1479 2013-12-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1480
1481         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1482
1483 2013-12-22  Joseph Myers  <joseph@codesourcery.com>
1484
1485         [BZ #16337]
1486         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
1487         Calculate results for small negative arguments directly rather
1488         than using reflection formula with special underflow handling.
1489
1490         * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
1491         * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
1492         sysdeps/unix/bsd/bsd4.4/syscalls.list.
1493         (fchflags): Likewise.
1494         (revoke): Likewise.
1495         (setlogin): Likewise.
1496         (sigaltstack): Likewise.
1497         (wait4): Likewise.
1498         (sigblock): Remove.
1499         (sigsetmask): Likewise.
1500         (wait3): Likewise.
1501         (waitpid): Likewise.
1502         * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
1503         * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
1504         file.
1505         * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
1506         * sysdeps/unix/bsd/Makefile: ... here.
1507         * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
1508         * sysdeps/unix/bsd/Versions: ... here.
1509         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
1510         * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
1511         * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
1512         * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
1513         * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
1514         * sysdeps/unix/bsd/sigblock.c: ... here.
1515         * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
1516         * sysdeps/unix/bsd/sigsetmask.c: ... here.
1517         * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
1518         * sysdeps/unix/bsd/sigvec.c: ... here.
1519         * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
1520         * sysdeps/unix/bsd/tcdrain.c: ... here.
1521         * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
1522         * sysdeps/unix/bsd/tcgetattr.c: ... here.
1523         * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
1524         * sysdeps/unix/bsd/tcsetattr.c: ... here.
1525         * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
1526         * sysdeps/unix/bsd/wait.c: ... here.
1527         * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
1528         * sysdeps/unix/bsd/wait3.c: ... here.
1529         * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
1530         * sysdeps/unix/bsd/waitpid.c: ... here.
1531
1532 2013-12-21  Joseph Myers  <joseph@codesourcery.com>
1533
1534         [BZ #16356]
1535         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
1536         round-to-nearest for [!USE_AS_EXPM1L].
1537         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
1538         * math/auto-libm-test-in: Do not expect cosh tests to fail.  Add
1539         more tests of exp and exp10.  Expect some exp10 tests to miss
1540         exceptions or fail in directed rounding modes.
1541         * math/auto-libm-test-out: Regenerated.
1542         * math/libm-test.inc (exp10_tonearest_test_data): New array.
1543         (exp10_test_tonearest): New function.
1544         (exp10_towardzero_test_data): New array.
1545         (exp10_test_towardzero): New function.
1546         (exp10_downward_test_data): New array.
1547         (exp10_test_downward): New function.
1548         (exp10_upward_test_data): New array.
1549         (exp10_test_upward): New function.
1550         (main): Call the new functions.
1551         * sysdeps/i386/fpu/libm-test-ulps: Update.
1552         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1553
1554 2013-12-20  Joseph Myers  <joseph@codesourcery.com>
1555
1556         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
1557         asinh, atan, atan2, atanh, cbrt, cos and cosh.
1558         * math/auto-libm-test-out: Regenerated.
1559         * math/libm-test.inc (acosh_test_data): Add more tests.
1560         (atanh_test_data): Likewise.
1561         (ceil_test_data): Likewise.
1562         (copysign_test_data): Likewise.
1563         * sysdeps/i386/fpu/libm-test-ulps: Update.
1564         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1565
1566         * timezone/checktab.awk: Update from tzcode 2013i.
1567         * timezone/private.h: Likewise.
1568         * timezone/scheck.c: Likewise.
1569         * timezone/tzfile.h: Likewise.
1570         * timezone/tzselect.ksh: Likewise.
1571         * timezone/zdump.c: Likewise.
1572         * timezone/zic.c: Likewise.
1573
1574         * math/auto-libm-test-in: Add tests of cpow.
1575         * math/auto-libm-test-out: Regenerated.
1576         * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
1577         * * math/gen-auto-libm-tests.c (func_calc_method): Add value
1578         mpc_cc_c.
1579         (func_calc_desc): Add mpc_cc_c union field.
1580         (test_functions): Add cpow.
1581         (special_fill_2pi): New function.
1582         (special_real_inputs): Add 2pi.
1583         (calc_generic_results): Handle mpc_cc_c.
1584         * sysdeps/i386/fpu/libm-test-ulps: Update.
1585         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1586
1587         * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
1588         csqrt, ctan and ctanh.
1589         * math/auto-libm-test-out: Regenerated.
1590         * math/libm-test.inc (TEST_COND_x86_64): New macro.
1591         (TEST_COND_x86): Likewise.
1592         (ccos_test_data): Use AUTO_TESTS_c_c.
1593         (ccosh_test_data): Likewise.
1594         (cexp_test_data): Likewise.
1595         (clog_test_data): Likewise.
1596         (csqrt_test_data): Likewise.
1597         (ctan_test_data): Likewise.
1598         (ctan_tonearest_test_data): Likewise.
1599         (ctan_towardzero_test_data): Likewise.
1600         (ctan_downward_test_data): Likewise.
1601         (ctan_upward_test_data): Likewise.
1602         (ctanh_test_data): Likewise.
1603         (ctanh_tonearest_test_data): Likewise.
1604         (ctanh_towardzero_test_data): Likewise.
1605         (ctanh_downward_test_data): Likewise.
1606         (ctanh_upward_test_data): Likewise.
1607         * math/gen-auto-libm-tests.c (func_calc_method): Add value
1608         mpc_c_c.
1609         (func_calc_desc): Add mpc_c_c union field.
1610         (FUNC_mpc_c_c): New macro.
1611         (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
1612         ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
1613         ctanh.
1614         (special_fill_min_subnorm_p120): New function.
1615         (special_real_inputs): Add min_subnorm_p120.
1616         (calc_generic_results): Handle mpc_c_c.
1617         * sysdeps/i386/fpu/libm-test-ulps: Update.
1618         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1619
1620 2013-12-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
1621
1622         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin,
1623         do_sin_slow): New functions.
1624         (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2,
1625         cslow2, csloww1, csloww2): Use the new functions.
1626
1627         * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
1628         Use M to change sign of result instead of X.  Assume X is
1629         positive.
1630         (csloww1): Likewise.
1631         (__sin): Adjust.
1632         (__cos): Adjust.
1633
1634         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
1635         arguments A and DA.
1636         (__sin): Adjust.
1637         (__cos): Likewise.
1638
1639         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
1640         (__cos): Likewise.
1641         (sloww1): Don't adjust sign of DX.
1642         (csloww1): Likewise.
1643         (sloww2): Use X directly and don't adjust sign of DX.
1644         (csloww2): Likewise.
1645
1646 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
1647
1648         * math/auto-libm-test-in: Add tests of cabs and carg.
1649         * math/auto-libm-test-out: Regenerated.
1650         * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
1651         (carg_test_data): Likewise.
1652         * math/gen-auto-libm-tests.c (func_calc_method): Add value
1653         mpc_c_f.
1654         (func_calc_desc): Add mpc_c_f union field.
1655         (test_functions): Add cabs and carg.
1656         (calc_generic_results): Handle mpc_c_f.
1657
1658         * sysdeps/powerpc/powerpc32/libgcc-compat.S
1659         [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
1660         as a macro and a compat symbol.
1661         [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
1662         [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
1663         [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
1664         [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
1665         [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
1666         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
1667         not use .hidden.
1668         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
1669         Likewise.
1670         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
1671         Likewise.
1672         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
1673         Likewise.
1674         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
1675         Likewise.
1676         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
1677         Likewise.
1678         * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
1679         __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
1680         from GLIBC_2.3.2.
1681
1682 2013-12-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1683
1684         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1685
1686 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
1687
1688         * manual/texinfo.tex: Update to version 2013-11-26.10 with
1689         trailing whitespace removed.
1690         * scripts/config.guess: Update to version 2013-11-29.
1691         * scripts/config.sub: Update to version 2013-10-01.
1692
1693         * math/auto-libm-test-in: Add tests of sincos.
1694         * math/auto-libm-test-out: Regenerated.
1695         * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
1696         * math/gen-auto-libm-tests.c (func_calc_method): Add value
1697         mpfr_f_11.
1698         (func_calc_desc): Add mpfr_f_11 union field.
1699         (test_functions): Add sincos.
1700         (calc_generic_results): Handle mpfr_f_11.
1701         * sysdeps/i386/fpu/libm-test-ulps: Update.
1702         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1703
1704 2013-12-19  Andreas Schwab  <schwab@suse.de>
1705
1706         * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
1707         CALL_MCOUNT.
1708         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
1709         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
1710         [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
1711
1712 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
1713
1714         * math/gen-libm-test.pl (%beautify): Remove M_* constants.
1715         * sysdeps/i386/fpu/libm-test-ulps: Update.
1716         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1717
1718         [BZ #16293]
1719         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
1720         round-to-nearest mode when using frndint.
1721         * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
1722         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
1723         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
1724         Likewise.
1725         * math/auto-libm-test-in: Add more tests of expm1.  Do not expect
1726         sinh test to fail.
1727         * math/auto-libm-test-out: Regenerated.
1728         * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
1729         (TEST_COND_x86): Likewise.
1730         (expm1_tonearest_test_data): New array.
1731         (expm1_test_tonearest): New function.
1732         (expm1_towardzero_test_data): New array.
1733         (expm1_test_towardzero): New function.
1734         (expm1_downward_test_data): New array.
1735         (expm1_test_downward): New function.
1736         (expm1_upward_test_data): New array.
1737         (expm1_test_upward): New function.
1738         (main): Run the new test functions.
1739         * sysdeps/i386/fpu/libm-test-ulps: Update.
1740         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1741
1742         * include/features.h: Update comment documenting feature test
1743         macros.  Mention _DEFAULT_SOURCE in comment.
1744         [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
1745         [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
1746         _BSD_SOURCE and _SVID_SOURCE.
1747         [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
1748         !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
1749         !_SVID_SOURCE]: Likewise.
1750         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
1751         (__USE_POSIX_IMPLICITLY): Define.
1752         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
1753         (_POSIX_SOURCE): Undefine and redefine.
1754         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
1755         (_POSIX_C_SOURCE): Likewise.
1756         * manual/creature.texi (_DEFAULT_SOURCE): Document.
1757         (Feature Test Macros): Update documentation of default features.
1758
1759 2013-12-19  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
1760
1761         * benchtests/Makefile: Add bench-strtok.
1762         * benchtests/bench-strtok.c: New file: strtok benchtest.
1763
1764 2013-12-19  Allan McRae  <allan@archlinux.org>
1765
1766         * manual/install.texi: Suppress menu for plain text output.
1767         * INSTALL: Regenerated.
1768
1769 2013-12-18  Brooks Moses  <bmoses@google.com>
1770
1771         [BZ #15846]
1772         * misc/getauxval.c: Include errno.h.
1773         (__getauxval): Set errno to ENOENT if the requested type is not
1774         found.
1775         * misc/sys/auxv.h (getauxval): Document that it may set errno;
1776         don't declare with __attribute_const__.
1777         * elf/tst-auxv.c: Add tests for errno and type-not-found case.
1778         * manual/startup.texi: Document that getauxval sets errno.
1779
1780 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
1781
1782         * math/auto-libm-test-in: Add tests of jn and yn.
1783         * math/auto-libm-test-out: Regenerated.
1784         * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
1785         (yn_test_data): Likewise.
1786         * math/gen-auto-libm-tests.c (func_calc_method): Add value
1787         mpfr_if_f.
1788         (func_calc_desc): Add mpfr_if_f union field.
1789         (FUNC_mpfr_if_f): New macro.
1790         (test_functions): Add jn and yn.
1791         (calc_generic_results): Assert type of second input for
1792         mpfr_ff_f.  Handle mpfr_if_f.
1793         (output_for_one_input_case): Disable all checking for arguments
1794         fitting floating-point types in case of an integer argument.
1795         * sysdeps/i386/fpu/libm-test-ulps: Update.
1796         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1797
1798         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
1799         Don't expect fegetround reference in libm.so.
1800
1801 2013-12-17  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
1802
1803         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
1804         $(config-cflags-nofma).
1805
1806 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
1807
1808         * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
1809         * math/auto-libm-test-out: Regenerated.
1810
1811         [BZ #16338]
1812         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
1813         to determine exponent and adjust argument to have exponent of -1.
1814         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
1815         log2.
1816         * math/auto-libm-test-out: Regenerated.
1817         * sysdeps/i386/fpu/libm-test-ulps: Update.
1818         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1819
1820 2013-12-18  Ondřej Bílka  <neleai@seznam.cz>
1821
1822         * manual/probes.texi: Remove cases when per-thread arenas are
1823         disabled.
1824
1825 2013-12-18  Andreas Schwab  <schwab@suse.de>
1826
1827         * sysdeps/i386/i686/multiarch/strstr.c: Remove.
1828         * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
1829         * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
1830         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
1831         * sysdeps/i386/i686/multiarch/Makefile: Update.
1832         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
1833
1834 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
1835
1836         * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
1837         * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
1838
1839 2013-12-17  Paul Eggert  <eggert@cs.ucla.edu>
1840
1841         [BZ #15968]
1842         Support TZ transition times < 00:00:00.
1843         This is needed for version-3 tz-format files; it supports time
1844         stamps past 2037 for America/Godthab (the only entry in the tz
1845         database for which this change is relevant).
1846         * manual/time.texi (TZ Variable): Document transition times
1847         from -167:59:59 through -00:00:01.
1848         * time/tzset.c (tz_rule): Time of day is now signed.
1849         (__tzset_parse_tz): Parse negative time of day.
1850
1851         Document TZ transition times >= 25:00:00.
1852         * manual/time.texi (TZ Variable): Document transition times from
1853         25:00:00 through 167:59:59.  These are already supported, and this
1854         support will help with version-3 tz-format files.
1855
1856         * manual/time.texi (TZ Variable): Modernize North America example
1857         to reflect current (i.e., 2007-and-later) daylight saving rules.
1858
1859         * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
1860
1861 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
1862
1863         * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
1864         * sysdeps/unix/bsd/bits/stat.h: Likewise.
1865         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
1866         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
1867         * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
1868         * sysdeps/unix/bsd/bsdstat.h: Likewise.
1869         * sysdeps/unix/bsd/clock.c: Likewise.
1870         * sysdeps/unix/bsd/i386/vfork.S: Likewise.
1871         * sysdeps/unix/bsd/i386/wait3.S: Likewise.
1872         * sysdeps/unix/bsd/init-posix.c: Likewise.
1873         * sysdeps/unix/bsd/poll.c: Likewise.
1874         * sysdeps/unix/bsd/ptsname.c: Likewise.
1875         * sysdeps/unix/bsd/seekdir.c: Likewise.
1876         * sysdeps/unix/bsd/setegid.c: Likewise.
1877         * sysdeps/unix/bsd/seteuid.c: Likewise.
1878         * sysdeps/unix/bsd/setgid.c: Likewise.
1879         * sysdeps/unix/bsd/setrgid.c: Likewise.
1880         * sysdeps/unix/bsd/setruid.c: Likewise.
1881         * sysdeps/unix/bsd/setsid.c: Likewise.
1882         * sysdeps/unix/bsd/setuid.c: Likewise.
1883         * sysdeps/unix/bsd/sigaction.c: Likewise.
1884         * sysdeps/unix/bsd/sigprocmask.c: Likewise.
1885         * sysdeps/unix/bsd/sigsuspend.c: Likewise.
1886         * sysdeps/unix/bsd/sys/reboot.h: Likewise.
1887         * sysdeps/unix/bsd/telldir.c: Likewise.
1888         * sysdeps/unix/bsd/times.c: Likewise.
1889         * sysdeps/unix/bsd/usleep.c: Likewise.
1890
1891         * misc/Makefile (install-lib): Remove libbsd-compat.a.
1892         ($(objpfx)libbsd-compat.a): Remove rule.
1893
1894         * include/features.h (__FAVOR_BSD): Do not define.
1895         * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
1896         features conflicting with POSIX.
1897         (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
1898         (_BSD_SOURCE): Remove description of not being a subset of other
1899         feature test macros.
1900         * manual/job.texi (getpgrp): Do not document BSD version.
1901         (getpgid): Do not document by reference to BSD getpgrp.
1902         * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
1903         * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
1904         * signal/signal.h [__FAVOR_BSD]: Likewise.
1905         * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
1906         instead of making contents conditional on [__FAVOR_BSD].
1907         * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
1908
1909 2013-12-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1910
1911         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1912
1913 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
1914
1915         [BZ #16314]
1916         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
1917         values below 2**-450, not 2**-500.
1918         * math/auto-libm-test-in: Don't allow spurious underflow from
1919         hypot.
1920         * math/auto-libm-test-out: Regenerated.
1921
1922         [BZ #16316]
1923         [BZ #16330]
1924         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
1925         values of ha and hb and sort them after adjusting subnormal
1926         arguments.
1927         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
1928         Likewise.
1929         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
1930         values of ea and eb and sort them after adjusting subnormal
1931         arguments.
1932         * math/auto-libm-test-in: Do not expect some hypot tests of
1933         subnormals to fail.  Add more hypot tests.
1934         * math/auto-libm-test-out: Regenerated.
1935
1936 2013-12-16  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
1937
1938         [BZ #13304]
1939         * sysdeps/sh/s_fma.c: New file.
1940         * sysdeps/sh/s_fmaf.c: New file.
1941         * sysdeps/sh/soft-fp/sfp-machine.h: New file.  Based on arm
1942         version.
1943         * sysdeps/sh/Implies: Add sh/soft-fp.
1944
1945 2013-12-16  Roland McGrath  <roland@hack.frob.com>
1946
1947         * elf/dl-error.c (struct catch): Add new member `errcode'.  Add a
1948         level of indirection to members `objname', `errstring', `malloced'.
1949         (_dl_signal_error): Store through pointers in *LCATCH rather modifying
1950         *LCATCH itself.  Set *LCATCH->errcode to ERRCODE rather than passing
1951         it as the __longjmp argument (just pass 1 instead).
1952         (_dl_catch_error): Initialize C with argument pointers and address of
1953         volatile local ERRCODE rather than copying values out of C at return.
1954
1955 2013-12-16  Joseph Myers  <joseph@codesourcery.com>
1956
1957         * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
1958         * math/auto-libm-test-out: Regenerated.
1959         * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
1960         (hypot_test_data): Likewise.
1961         (pow_test_data): Likewise.
1962         (pow_tonearest_test_data): Likewise.
1963         * math/gen-auto-libm-tests.c (func_calc_method): Add value
1964         mpfr_ff_f.
1965         (func_calc_desc): Add mpfr_ff_f union field.
1966         (FUNC_mpfr_ff_f): New macro.
1967         (test_functions): Add atan2, hypot and pow.
1968         (special_fill_min): New function.
1969         (special_fill_minus_min): Likewise.
1970         (special_fill_min_subnorm): Likewise.
1971         (special_fill_minus_min_subnorm): Likewise.
1972         (special_real_inputs): Add min, -min, min_subnorm and
1973         -min_subnorm.
1974         (calc_generic_results): Handle mpfr_ff_f.
1975         * sysdeps/i386/fpu/libm-test-ulps: Update.
1976         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1977
1978 2013-12-16  Will Newton  <will.newton@linaro.org>
1979
1980         * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
1981         (Aligned Memory Blocks): Add documentation for aligned_alloc
1982         and suggest it as an alternative to posix_memalign.
1983         (Hooks for Malloc): Document __memalign_hook is also called
1984         for aligned_alloc.  (Summary of Malloc): Add summary for
1985         aligned alloc.  Document __memalign_hook is also called
1986         for aligned_alloc.
1987
1988 2013-12-16  Will Newton  <will.newton@linaro.org>
1989
1990         * manual/memory.texi (Malloc Examples): Clarify default
1991         alignment documentation.  Suggest posix_memalign rather
1992         than memalign or valloc.
1993         (Aligned Memory Blocks): Remove suggestion to use memalign
1994         or valloc.  Remove obsolete comment about BSD.
1995         Document memalign errno values and mark the function obsolete.
1996         Document posix_memalign returned error codes.  Mark valloc
1997         as obsolete.  (Hooks for Malloc): __memalign_hook is also
1998         called for posix_memalign and valloc.
1999         (Summary of Malloc): Add posix_memalign to function summary.
2000         __memalign_hook is also called for posix_memalign and valloc.
2001
2002 2013-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
2003
2004         * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
2005         TAYLOR_SIN.
2006         (__sin): Adjust.
2007         (__cos): Likewise.
2008         (sloww): Use mynumber union.  Expand ternary operator into
2009         if-else statements.
2010         (cslow): use mynumber union.
2011
2012 2013-12-16  Allan McRae  <allan@archlinux.org>
2013
2014         * configure.ac: Set AUTOCONF when maintainer-mode is not used.
2015         * configure: Regenerated.
2016
2017         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
2018
2019         [BZ #14120]
2020         * configure.ac: Added --enable-maintainer-mode. Check for
2021         autoconf when enabled.
2022         * configure: Regenerated.
2023
2024         * nscd/nscd.service: New file.
2025         * nscd/nscd.tmpfiles: New file.
2026
2027 2013-12-14  Ondřej Bílka  <neleai@seznam.cz>
2028
2029         [BZ #12100]
2030         * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
2031         * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
2032         * sysdeps/x86_64/multiarch/strstr.c: ... here.
2033         (strstr): Add __strstr_sse2_unaligned ifunc.
2034         * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
2035         * sysdeps/x86_64/multiarch/strcasestr.c ... here.
2036         (strcasestr): Remove __strcasestr_sse42 ifunc.
2037         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
2038         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
2039         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
2040
2041 2013-12-14  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
2042
2043         * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
2044         * sysdeps/sh/bits/fenv.h: ... here.
2045         * sysdeps/sh/sh4/fpu/bits: Remove directory.
2046
2047 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2048
2049         * NEWS: Mention ppc64 STT_GNU_IFUNC support.
2050
2051 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2052
2053         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
2054         hypotf multiarch implementations.
2055         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
2056         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
2057         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
2058         multiarch hypot for PPC64.
2059         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
2060         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
2061         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
2062         multiarch hypotf for PPC64.
2063
2064 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2065
2066         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
2067         modff multiarch implementations.
2068         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
2069         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
2070         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
2071         multiarch modf for PPC64.
2072         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
2073         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
2074         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
2075         multiarch modff for PPC64.
2076
2077 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2078
2079         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
2080         and logl multiarch implementations.
2081         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
2082         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
2083         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
2084         multiarch logb for PPC64.
2085         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
2086         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
2087         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
2088         multiarch logb for PPC64.
2089         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
2090         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
2091         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
2092         multiarch logb for PPC64.
2093
2094 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2095
2096         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
2097         isinff multiarch implementation.
2098         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
2099         file.
2100         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
2101         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
2102         multiarch isinf for PPC64.
2103         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
2104         file.
2105         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
2106         multiarch isinff for PPC64.
2107
2108 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2109
2110         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
2111         finitef multiarch implementation.
2112         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
2113         file.
2114         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
2115         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
2116         multiarch finite for PPC64.
2117         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
2118         file.
2119         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
2120         multiarch finitef for PPC64.
2121
2122 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2123
2124         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
2125         lrint multiarch implementation.
2126         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
2127         file.
2128         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
2129         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
2130         multiarch llrint for PPC64.
2131         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
2132         multiarch lrint for PPC64.
2133
2134 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2135
2136         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
2137         copysignf multiarch implementation.
2138         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
2139         file.
2140         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
2141         file.
2142         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
2143         multiarch copysign for PPC64.
2144         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
2145         multiarch copysignf for PPC64.
2146
2147 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2148
2149         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
2150         multiarch implementation.
2151         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
2152         file.
2153         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
2154         file.
2155         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
2156         file.
2157         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
2158         file.
2159         multiarch llround for PPC64.
2160         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
2161         multiarch trunc for PPC64.
2162         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
2163         multiarch truncf for PPC64.
2164
2165 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2166
2167         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
2168         multiarch implementation.
2169         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
2170         file.
2171         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
2172         file.
2173         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
2174         file.
2175         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
2176         file.
2177         multiarch llround for PPC64.
2178         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
2179         multiarch round for PPC64.
2180         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
2181         multiarch roundf for PPC64.
2182
2183 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2184
2185         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
2186         multiarch implementation.
2187         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
2188         file.
2189         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
2190         file.
2191         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
2192         file.
2193         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
2194         file.
2195         multiarch llround for PPC64.
2196         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
2197         multiarch floor for PPC64.
2198         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
2199         multiarch floorf for PPC64.
2200
2201 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2202
2203         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
2204         multiarch implementation.
2205         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
2206         file.
2207         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
2208         file.
2209         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
2210         file.
2211         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
2212         file.
2213         multiarch llround for PPC64.
2214         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
2215         multiarch ceil for PPC64.
2216         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
2217         multiarch ceilf for PPC64.
2218
2219 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2220
2221         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
2222         multiarch implementation.
2223         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
2224         file.
2225         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
2226         file.
2227         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
2228         file.
2229         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
2230         multiarch llround for PPC64.
2231         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
2232         multiarch lround for PPC64.
2233
2234 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2235
2236         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
2237         multiarch implementation.
2238         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
2239         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
2240         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
2241         file.
2242         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
2243         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
2244         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
2245         multiarch isnan for PPC64.
2246         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
2247         multiarch isnanf for PPC64.
2248
2249 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2250
2251         * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
2252         * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
2253         * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
2254         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
2255         * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
2256         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
2257
2258 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2259
2260         * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
2261         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
2262         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
2263         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
2264
2265 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2266
2267         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
2268         multiarch implementations.
2269         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2270         (__libc_ifunc_impl_list): Likewise.
2271         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
2272         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
2273         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
2274         multiarch stpcpy for PPC64.
2275
2276 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2277
2278         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
2279         multiarch implementations.
2280         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2281         (__libc_ifunc_impl_list): Likewise.
2282         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
2283         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
2284         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
2285         multiarch strcpy for PPC64.
2286
2287 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2288
2289         * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
2290         redefine function name.
2291         (_wordcopy_fwd_dest_aligned): Likewise.
2292         (_wordcopy_bwd_aligned): Likewise.
2293         (_wordcopy_bwd_dest_aligned): Likewise.
2294         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
2295         multiarch implementations.
2296         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2297         (__libc_ifunc_impl_list): Likewise.
2298         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
2299         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
2300         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
2301         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
2302         multiarch wcscpy for PPC64.
2303
2304 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2305
2306         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
2307         multiarch implementations.
2308         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2309         (__libc_ifunc_impl_list): Likewise.
2310         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
2311         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
2312         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
2313         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
2314         multiarch wcscpy for PPC64.
2315
2316 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2317
2318         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
2319         multiarch implementations.
2320         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2321         (__libc_ifunc_impl_list): Likewise.
2322         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
2323         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
2324         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
2325         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
2326         multiarch wcsrchr for PPC64.
2327
2328 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2329
2330         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
2331         multiarch implementations.
2332         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2333         (__libc_ifunc_impl_list): Likewise.
2334         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
2335         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
2336         * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
2337         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
2338         multiarch wcschr for PPC64.
2339
2340 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2341
2342         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
2343         multiarch implementations.
2344         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2345         (__libc_ifunc_impl_list): Likewise.
2346         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
2347         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
2348         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
2349         multiarch strchrnul for PPC64.
2350
2351 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2352
2353         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
2354         implementations.
2355         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2356         (__libc_ifunc_impl_list): Likewise.
2357         * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
2358         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
2359         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
2360         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
2361         strchr for PPC64.
2362
2363 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2364
2365         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
2366         implementations.
2367         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2368         (__libc_ifunc_impl_list): Likewise.
2369         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
2370         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
2371         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
2372         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
2373         strncmp for PPC64.
2374
2375 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2376
2377         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
2378         multiarch implementations.
2379         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2380         (__libc_ifunc_impl_list): Likewise.
2381         * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
2382         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
2383         strncasecmp for PPC64.
2384         * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
2385         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
2386         multiarch strncasecmp_l for PPC64.
2387
2388 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2389
2390         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
2391         multiarch implementations.
2392         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
2393         (__libc_ifunc_impl_list): Likewise.
2394         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
2395         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
2396         multiarch strcasecmp for PPC64.
2397         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
2398         file.
2399         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
2400         multiarch strcasecmp_l for PPC64.
2401
2402 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2403
2404         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
2405         implementations.
2406         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2407         (__libc_ifunc_impl_list): Likewise.
2408         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
2409         * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
2410         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
2411         strnlen for PPC64.
2412
2413 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2414
2415         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
2416         implementations.
2417         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2418         (__libc_ifunc_impl_list): Likewise.
2419         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
2420         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
2421         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
2422         strlen for PPC64.
2423
2424 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2425
2426         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
2427         implementations.
2428         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2429         (__libc_ifunc_impl_list): Likewise.
2430         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
2431         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
2432         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
2433         rawmemrchr for PPC64.
2434
2435 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2436
2437         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
2438         implementation.
2439         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2440         (__libc_ifunc_impl_list): Likewise.
2441         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
2442         * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
2443         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
2444         memrchr for PPC64.
2445
2446 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2447
2448         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
2449         implementation.
2450         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2451         (__libc_ifunc_impl_list): Likewise.
2452         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
2453         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
2454         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
2455         memchr for PPC64.
2456
2457 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2458
2459         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
2460         implementation.
2461         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2462         (__libc_ifunc_impl_list): Likewise.
2463         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
2464         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
2465         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
2466         mempcpy for PPC64.
2467
2468 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2469
2470         * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
2471         avoid cretion of __bzero symbol.
2472         * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
2473         Likewise.
2474         * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
2475         Likewise.
2476         * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
2477         Likewise.
2478         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
2479         multiarch implementations.
2480         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2481         (__libc_ifunc_impl_list): Likewise.
2482         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
2483         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
2484         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
2485         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
2486         bzero for PPC32.
2487         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
2488         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
2489         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
2490         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
2491         * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
2492         memset for PPC64.
2493         * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
2494
2495 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2496
2497         * string/memcmp.c (memcmp): Using macro to redefine symbol name.
2498         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
2499         implementations.
2500         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2501         (__libc_ifunc_impl_list): Likewise.
2502         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
2503         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
2504         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
2505         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
2506         memcmp for PPC64.
2507
2508 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2509
2510         * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
2511         multiarch for POWER/PPC64.
2512         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
2513         * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
2514         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
2515         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
2516         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
2517         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
2518         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
2519         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
2520         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
2521         memcpy for PPC64.
2522
2523 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2524
2525         * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
2526         * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
2527         * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
2528         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
2529         * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
2530         * sysdeps/powerpc/powerpc64/power5/Implies: New File.
2531         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
2532         * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
2533         * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
2534         * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
2535         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
2536         * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
2537         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
2538         * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
2539         * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
2540         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
2541         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
2542         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
2543         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
2544         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
2545         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
2546         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
2547
2548 2013-12-12  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
2549
2550         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
2551
2552 2013-12-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
2553
2554         * benchtests/Makefile (bench): Add exp2 and log2.
2555         (LDLIBS-bench-exp2): Add -lm.
2556         (LDLIBS-bench-log2): Likewise.
2557         * benchtests/exp2-inputs: New inputs file.
2558         * benchtests/log2-inputs: New inputs file.
2559         * benchtests/log-inputs: Add new inputs.
2560         * benchtests/tan-inputs: Likewise.
2561
2562 2013-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
2563
2564         * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
2565         definition...
2566         (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2,
2567         csloww1, csloww2): ... from here.
2568
2569         * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
2570         instead of structures.
2571         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
2572         (POLYNOMIAL): Likewise.
2573         (TAYLOR_SLOW): Likewise.
2574         (__sin): Likewise.
2575         (__cos): Likewise.
2576         (slow1): Likewise.
2577         (slow2): Likewise.
2578         (sloww): Likewise.
2579         (sloww1); Likewise.
2580         (sloww2): Likewise.
2581         (bsloww1): Likewise.
2582         (bsloww2): Likewise.
2583         (cslow2): Likewise.
2584         (csloww): Likewise.
2585         (csloww1): Likewise.
2586         (csloww2): Likewise.
2587
2588 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
2589
2590         * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
2591         (__malloc_assert, __libc_realloc, __libc_calloc,
2592         _int_realloc): Expand MALLOC_COPY and MALLOC_ZERO to
2593         memcpy and memset.
2594         * malloc/hooks.c (realloc_check): Likewise.
2595
2596 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
2597
2598         * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
2599         * malloc/arena.c: Remove PER_THREAD conditional.
2600         [!PER_THREAD]: Remove code.
2601         (ptmalloc_unlock_all2): Likewise.
2602         (ptmalloc_init): Likewise.
2603         (_int_new_arena): Likewise.
2604         (arena_get2): Likewise.
2605         * malloc/hooks.c (__malloc_get_state): Likewise.
2606         (__malloc_set_state): Likewise.
2607         * malloc/malloc.c: Likewise.
2608         (struct malloc_state): Likewise.
2609         (struct malloc_par): Likewise.
2610         (__libc_realloc): Likewise.
2611         (__libc_mallopt): Likewise.
2612
2613 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2614
2615         * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
2616
2617 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
2618
2619         * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
2620         macro to a function.  Check for zero perturb_byte.
2621         (_int_malloc, _int_free): Remove zero perturb_byte checks.
2622
2623 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
2624
2625         * malloc/malloc.c: (force_reg): Remove.
2626         (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc,
2627         _mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
2628         force_reg by atomic_forced_read.
2629         * malloc/arena.c (ptmalloc_init): Likewise.
2630         * malloc/hooks.c (top_check): Likewise.
2631
2632 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2633
2634         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2635
2636 2013-12-09  Markus Trippelsdorf  <markus@trippelsdorf.de>
2637
2638         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2639
2640 2013-12-08  Joseph Myers  <joseph@codesourcery.com>
2641
2642         * math/auto-libm-test-in: Add tests of lgamma.
2643         * math/auto-libm-test-out: Regenerated.
2644         * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
2645         (M_LOG_2_SQRT_PIl): Likewise.
2646         (lgamma_test_data): Use AUTO_TESTS_f_f1.
2647         * math/gen-auto-libm-tests.c (func_calc_method): Add value
2648         mpfr_f_f1.
2649         (func_calc_desc): Add mpfr_f_f1 union field.
2650         (ARGS1): New macro.
2651         (ARGS2): Likewise.
2652         (ARGS3): Likewise.
2653         (ARGS4): Likewise.
2654         (RET1): Likewise.
2655         (RET2): Likewise.
2656         (CALC): Likewise.
2657         (FUNC): Likewise.
2658         (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
2659         (test_functions): Add lgamma.
2660         (calc_generic_results): Handle mpfr_f_f1.
2661         * sysdeps/i386/fpu/libm-test-ulps: Update.
2662         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2663
2664 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2665
2666         * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
2667         __mpn_add_n for PowerPC64/POWER7.
2668         * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
2669         __mpn_sub_n for PowerPC64/POWER7.
2670
2671 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2672
2673         * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
2674         __mpn_addmul_1 for PowerPC64.
2675         * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
2676         __mpn_submul_1 for PowerPC64.
2677         * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
2678         for PowerPC64.
2679         * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
2680         for PowerPC64.
2681
2682 2013-12-06  Fernando J. V. da Silva  <fernandojvdasilva@gmail.com>
2683
2684         [BZ #15089]
2685         * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
2686
2687 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2688
2689         * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
2690
2691 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2692
2693         * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
2694         add multiarch folders.
2695         * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
2696         * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
2697         * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
2698         * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
2699         * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
2700         * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
2701         * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
2702         * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
2703         * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
2704         * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
2705         * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
2706         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
2707         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
2708         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
2709         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
2710         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
2711         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
2712
2713 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2714
2715         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
2716         __ieee754_hypot and __ieee754_hypotf multiarch implementations.
2717         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
2718         New file.
2719         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
2720         New file.
2721         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
2722         multiarch __ieee754_hypot for PowerPC32.
2723         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
2724         New file.
2725         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
2726         New file.
2727         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
2728         multiarch __ieee754_hypotf for PowerPC32.
2729
2730 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2731
2732         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
2733         long_double_symbol only if __logbl is defined.
2734         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
2735         * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
2736         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
2737         * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
2738         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
2739         * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
2740         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
2741         path for implementation.
2742         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
2743         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
2744         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
2745         logb, and logbl multiarch implementations for PowerPC32.
2746         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
2747         file.
2748         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
2749         file.
2750         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
2751         multiarch logb for PowerPC32.
2752         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
2753         file.
2754         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
2755         file.
2756         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
2757         multiarch logbf for PowerPC32.
2758         * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
2759         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
2760         file.
2761         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
2762         multiarch logbl implementation for PowerPC32.
2763
2764 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2765
2766         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
2767         and modff multiarch implementations.
2768         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
2769         New file.
2770         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
2771         New file.
2772         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
2773         multiarch modf for PowerPC32.
2774         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
2775         New file.
2776         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
2777         New file.
2778         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
2779         multiarch modff for PowerPC32.
2780
2781 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2782
2783         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
2784         and lrintf multiarch implementations.
2785         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
2786         New file.
2787         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
2788         New file.
2789         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
2790         multiarch lrint for PowerPC32.
2791         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
2792         file: multiarch lrintf for PowerPC32.
2793
2794 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2795
2796         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
2797         and lroundf multiarch implementations.
2798         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
2799         New file.
2800         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
2801         New file.
2802         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
2803         New file.
2804         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
2805         multiarch lround for PowerPC32.
2806         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
2807         file: multiarch lroundf for PowerPC32.
2808
2809 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2810
2811         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
2812         copysign and copysignf multiarch implementations.
2813         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
2814         New file.
2815         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
2816         New file.
2817         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
2818         file: multiarch copysign for PowerPC32.
2819         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
2820         file: multiarch copysignf for PowerPC32.
2821
2822 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2823
2824         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
2825         and truncf multiarch implementations.
2826         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
2827         New file.
2828         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
2829         file.
2830         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
2831         multiarch trunc for PowerPC32.
2832         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
2833         New file.
2834         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
2835         New file.
2836         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
2837         multiarch truncf for PowerPC32.
2838
2839 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2840
2841         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
2842         and roundf multiarch implementations.
2843         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
2844         New file.
2845         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
2846         file.
2847         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
2848         multiarch round for PowerPC32.
2849         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
2850         New file.
2851         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
2852         New file.
2853         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
2854         multiarch roundf for PowerPC32.
2855
2856 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2857
2858         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
2859         and floorf multiarch implementations.
2860         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
2861         New file.
2862         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
2863         file.
2864         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
2865         multiarch floor for PowerPC32.
2866         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
2867         New file.
2868         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
2869         New file.
2870         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
2871         multiarch floorf for PowerPC32.
2872
2873 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2874
2875         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
2876         and ceilf multiarch implementations.
2877         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
2878         New file.
2879         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
2880         file.
2881         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
2882         multiarch ceil for PowerPC32.
2883         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
2884         New file.
2885         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
2886         file.
2887         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
2888         multiarch ceilf for PowerPC32.
2889
2890 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2891
2892         * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
2893         is defined.
2894         * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
2895         FINITEF is defined.
2896         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
2897         and finitef multiarch implementations.
2898         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
2899         New file.
2900         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
2901         file.
2902         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
2903         multiarch finite for PowerPC32.
2904         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
2905         New file.
2906         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
2907         file: multiarch finitef for PowerPC32.
2908
2909 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2910
2911         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
2912         and isinff multiarch implementations.
2913         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
2914         file.
2915         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
2916         file.
2917         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
2918         multiarch isinf for PowerPC32.
2919         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
2920         New file.
2921         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
2922         multiarch isinff for PowerPC32.
2923
2924 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2925
2926         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
2927         alias when __isnan is defined.
2928         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
2929         and isnanf multiarch implementations.
2930         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
2931         file.
2932         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
2933         file.
2934         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
2935         file.
2936         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
2937         file.
2938         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
2939         multiarch isnan for PowerPC32.
2940         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
2941         New file.
2942         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
2943         New file.
2944         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
2945         multiarch isnanf for PowerPC32.
2946
2947 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2948
2949         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
2950         and sqrtf multiarch implementations.
2951         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
2952         file.
2953         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
2954         file.
2955         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
2956         multiarch sqrt for PowerPC32.
2957         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
2958         file.
2959         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
2960         file.
2961         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
2962         multiarch sqrtf for PowerPC32.
2963
2964 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2965
2966         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
2967         and llroundf multiarch implementations.
2968         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
2969         New file.
2970         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
2971         New file.
2972         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
2973         New file.
2974         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
2975         file: multiarch llround for PowerPC32.
2976         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
2977         file: multiarch llroundf for PowerPC32.
2978
2979 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2980
2981         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
2982         multiarch PowerPC32 fpu implementations.
2983         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
2984         New file.
2985         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
2986         New file.
2987         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
2988         multiarch llrint for PowerPC32.
2989         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
2990         New file.
2991         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
2992         New file.
2993         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
2994         file.
2995
2996 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2997
2998         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
2999
3000 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3001
3002         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
3003         file.
3004         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
3005         file.
3006         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
3007         file.
3008         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
3009         multiarch wordcopy for PPC32.
3010         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
3011         wordcopy objects.
3012         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
3013         (__libc_ifunc_impl_list): Likewise.
3014         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
3015         * sysdeps/powerpc/power4/wordcopy.c: ... to here.
3016         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
3017         * sysdeps/powerpc/power6/wordcopy.c: ... to here.
3018         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
3019         * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
3020
3021 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3022
3023         * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
3024         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
3025         file.
3026         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
3027         file.
3028         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
3029         file.
3030         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
3031         multiarch wcscpy for PPC32.
3032         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
3033         multiarch objects.
3034         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
3035         (__libc_ifunc_impl_list): Likewise.
3036         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
3037         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
3038         * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
3039         sysdeps/powerpc/power6/wcscpy.c.
3040
3041 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3042
3043         * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
3044         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
3045         file.
3046         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
3047         file.
3048         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
3049         file.
3050         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
3051         multiarch wcsrchr for PPC32.
3052         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
3053         multiarch objects.
3054         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
3055         (__libc_ifunc_impl_list): Likewise.
3056         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
3057         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
3058         * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
3059         sysdeps/powerpc/power6/wcsrchr.c.
3060
3061 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3062
3063         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
3064         file.
3065         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
3066         file.
3067         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
3068         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
3069         multiarch wcschr for PPc32.
3070         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
3071         multiarch objects.
3072         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
3073         (__libc_ifunc_impl_list): Likewise.
3074         * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
3075         * sysdeps/powerpc/power6/wcschr.c: ... to here.
3076         * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
3077         sysdeps/powerpc/power6/wcschr.c.
3078
3079 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3080
3081         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
3082         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
3083         file.
3084         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
3085         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
3086         file: multiarch strchr for PPC32.
3087         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
3088         multiarch objects.
3089         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
3090         (__libc_ifunc_impl_list): Likewise.
3091
3092 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3093
3094         * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
3095         name.
3096         * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
3097         file.
3098         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
3099         file.
3100         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
3101         multiarch strchrnul for PPC32.
3102         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
3103         multiarch objects.
3104         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
3105         (__libc_ifunc_impl_list): Likewise.
3106
3107 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3108
3109         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
3110         file.
3111         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
3112         multiarch strncasecmp for PPC32.
3113         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
3114         file.
3115         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
3116         multiarch strncasecmp_l for PPC32.
3117         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
3118         strncasecmp multiarch objects.
3119         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
3120         (__libc_ifunc_impl_list): Likewise.
3121
3122 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3123
3124         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
3125         file.
3126         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
3127         multiarch strncasecmp for PPC32.
3128         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
3129         New file.
3130         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
3131         multiarch strcasecmp_l for PPC32.
3132         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
3133         multiarch objects.
3134         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
3135         (__libc_ifunc_impl_list): Likewise.
3136
3137 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3138
3139         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
3140         file.
3141         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
3142         file.
3143         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
3144         multiarch strncmp for PPC32.
3145         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
3146         multiarch objects.
3147         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
3148         (__libc_ifunc_impl_list): Likewise.
3149
3150 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3151
3152         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
3153         * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
3154         file.
3155         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
3156         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
3157         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
3158         multiarch objects.
3159         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
3160         (__libc_ifunc_impl_list): Likewise.
3161
3162 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3163
3164         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
3165         file.
3166         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
3167         file.
3168         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
3169         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
3170         multiarch objects.
3171         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
3172         (__libc_ifunc_impl_list): Likewise.
3173
3174 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3175
3176         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
3177         file.
3178         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
3179         file.
3180         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
3181         multiarch rawmemchr for PPC32.
3182         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
3183         multiarch objects.
3184         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
3185         (__libc_ifunc_impl_list): Likewise.
3186
3187 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3188
3189         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
3190         file.
3191         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
3192         file.
3193         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
3194         file: memrchr multiarch for PPC32.
3195         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
3196         multiarch objects.
3197         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
3198         (__libc_ifunc_impl_list): Likewise.
3199
3200 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3201
3202         * string/memchr.c (__memchr): Using macro to redefine symbol name.
3203         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
3204         file.
3205         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
3206         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
3207         multiarch memchr for PPC32.
3208         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
3209         multiarch objects.
3210         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
3211         (__libc_ifunc_impl_list): Likewise.
3212
3213 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3214
3215         * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
3216         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
3217         file.
3218         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
3219         file.
3220         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
3221         file: multiarch mempcpy for PPC32.
3222         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
3223         multiarch objects.
3224         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
3225         (__libc_ifunc_impl_list): Likewise.
3226
3227 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3228
3229         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
3230         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
3231         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
3232         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
3233         multiarch bzero for PPC32.
3234         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
3235         file.
3236         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
3237         file.
3238         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
3239         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
3240         file: multiarch memset for PPC32.
3241         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
3242         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
3243         memset multiarch objects.
3244         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
3245         (__libc_ifunc_impl_list): Likewise.
3246
3247 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3248
3249         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
3250         file.
3251         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
3252         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
3253         memcmp for PPC32.
3254         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
3255         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
3256         multiarch objects.
3257         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
3258         (__libc_ifunc_impl_list): Likewise.
3259
3260 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3261
3262         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
3263         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
3264         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
3265         file.
3266         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
3267         file.
3268         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
3269         file.
3270         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
3271         multiarch memcpy for PPC32.
3272         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
3273         multiarch objects.
3274         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
3275         (__libc_ifunc_impl_list): Likewise.
3276
3277 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3278
3279         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
3280         support multiarch for POWER/PPC32.
3281         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
3282         Likewise.
3283         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
3284         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
3285         Implies file to make multiarch folder appers before the fpu and
3286         default folder for power4 configuration.
3287
3288 2013-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
3289
3290         * scripts/bench.pl: Append volatile keyword to type.
3291
3292 2013-12-05  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
3293
3294         * sysdeps/sh/sotruss-lib.c: New file.
3295         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
3296
3297 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3298
3299         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3300
3301 2013-12-05  Joseph Myers  <joseph@codesourcery.com>
3302
3303         [BZ #6810]
3304         * math/w_tgamma.c: Include <errno.h>.
3305         (__tgamma): Use __glibc_unlikely.  Set errno on underflow to 0.
3306         * math/w_tgammaf.c: Include <errno.h>.
3307         (__tgammaf): Use __glibc_unlikely.  Set errno on underflow to 0.
3308         * math/w_tgammal.c: Include <errno.h>.
3309         (__tgammal): Use __glibc_unlikely.  Set errno on underflow to 0.
3310         * math/auto-libm-test-in: Do not allow missing errno on tgamma
3311         underflow.  Add more tgamma tests.
3312         * math/auto-libm-test-out: Regenerated.
3313         * sysdeps/i386/fpu/libm-test-ulps: Update.
3314         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3315
3316         * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
3317         sin, sinh, tan, tanh, tgamma, y0 and y1.
3318         * math/auto-libm-test-out: Regenerated.
3319         * math/libm-test.inc (TEST_COND_x86_64): New macro.
3320         (TEST_COND_x86): Likewise.
3321         (M_E2l): Remove macro.
3322         (M_E3l): Likewise.
3323         (M_2_SQRT_PIl): Likewise.
3324         (M_SQRT_PIl): Likewise.
3325         (M_1_DIV_El): Likewise.
3326         (log_test_data): Use AUTO_TESTS_f_f.
3327         (log10_test_data): Likewise.
3328         (log1p_test_data): Likewise.
3329         (log2_test_data): Likewise.
3330         (sin_test_data): Likewise.
3331         (sin_tonearest_test_data): Likewise.
3332         (sin_towardzero_test_data): Likewise.
3333         (sin_downward_test_data): Likewise.
3334         (sin_upward_test_data): Likewise.
3335         (sinh_test_data): Likewise.
3336         (sinh_tonearest_test_data): Likewise.
3337         (sinh_towardzero_test_data): Likewise.
3338         (sinh_downward_test_data): Likewise.
3339         (sinh_upward_test_data): Likewise.
3340         (tan_test_data): Likewise.
3341         (tan_tonearest_test_data): Likewise.
3342         (tan_towardzero_test_data): Likewise.
3343         (tan_downward_test_data): Likewise.
3344         (tan_upward_test_data): Likewise.
3345         (tanh_test_data): Likewise.
3346         (tgamma_test_data): Likewise.
3347         (y0_test_data): Likewise.
3348         (y1_test_data): Likewise.
3349         * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
3350         (special_real_inputs): Add pi/4.
3351         * sysdeps/i386/fpu/libm-test-ulps: Update.
3352         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3353
3354 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3355
3356         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
3357         "longjmp_target" static probes.
3358         (__longjmp): Rename to __longjmp_symbol.
3359         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
3360         * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
3361         on which longjmp to generate.
3362         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
3363         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
3364         probe.
3365         (__sigsetjmp): Rename to __sigsetjmp_symbol.
3366         (__sigjmp_save): Rename to __sigjmp_save_symbol.
3367         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
3368         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
3369         and __sigjmp_save_symbol based on which sigsetjmp to generated.
3370         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
3371         * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
3372         __longjmp_symbol based on which __longjmp to generate.
3373         * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
3374         probe.
3375         (setjmp): Rename to setjmp_symbol.
3376         (__sigsetjmp): Rename to __sigsetjmp_symbol.
3377         (_setjmp): Rename to _setjmp_symbol.
3378         (__sigsetjmp): Rename to __sigsetjmp_symbol.
3379         * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
3380         _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
3381         which setjmp to generate.
3382         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
3383         "longjmp_target" static probes.
3384
3385 2013-12-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
3386
3387         * benchtests/README: Add note about output arguments.
3388         * benchtests/bench-sincos.c: Remove file.
3389         * benchtests/sincos-inputs: New file.
3390         * scripts/bench.pl: Identify output arguments and define
3391         static variables for them.
3392
3393         * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
3394
3395         [BZ #15941]
3396         * Makefile (INSTALL): Add install-plain.texi as the primary
3397         dependency.
3398         * manual/install-plain.texi: New file.
3399         * manual/install.texi: Include node directive only for
3400         non-plaintext output.
3401
3402 2013-12-04  Joseph Myers  <joseph@codesourcery.com>
3403
3404         * stdlib/longlong.h: Update from GCC.
3405
3406         [BZ #6807]
3407         [BZ #15901]
3408         * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
3409         * math/w_j0f.c (y0f): Likewise.
3410         * math/w_j0l.c (__y0l): Likewise.
3411         * math/w_j1.c (y1): Likewise.
3412         * math/w_j1f.c (y1f): Likewise.
3413         * math/w_j1l.c (__y1l): Likewise
3414         * math/w_jn.c (yn): Likewise.
3415         * math/w_jnf.c (ynf): Likewise.
3416         * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
3417         Bessel function pole errors in _POSIX_ mode.  Use NAN as return
3418         value for Bessel function domain errors outside _SVID_ mode.
3419         Adjust sign of return value for yn (negative integer, 0).
3420         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
3421         by zero in return for negative x and set sign appropriately for
3422         negative n.
3423         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
3424         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
3425         * math/libm-test.inc (y0_test_data): Add more tests and adjust
3426         expectations in error cases.
3427         (y1_test_data): Likewise.
3428         (yn_test_data): Likewise.
3429         * sysdeps/i386/fpu/libm-test-ulps: Update.
3430         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3431
3432 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
3433
3434         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
3435         "64" to "64-v1".  Add "64-v2".
3436         (abi-64-options): Rename to ...
3437         (abi-64-v1-options): ... this.   Redefine _CALL_ELF.
3438         (abi-64-condition): Rename to ...
3439         (abi-64-v1-condition): ... this.  Add _CALL_ELF check.,
3440         (abi-64-ld-soname): Rename to ...
3441         (abi-64-v1-ld-soname): ... this.
3442         (abi-64-v2-options): Define.
3443         (abi-64-v2-condition): Likewise.
3444         (abi-64-v2-ld-soname): Likewise.
3445         * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
3446         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
3447         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
3448         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
3449         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
3450
3451 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
3452             Alan Modra  <amodra@gmail.com>
3453
3454         * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
3455         New versions for use with the ELFv2 ABI.
3456         (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
3457         * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
3458         declaration.
3459         (struct La_ppc64v2_retval): Likewise.
3460         (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
3461         (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
3462         * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
3463         to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
3464         (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
3465         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
3466         Do not save or restore CR.
3467         (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
3468         (_dl_profile_resolve): Do no save or restore CR.  Support extended
3469         return values for ELFv2 ABI.  Fix location of FPR return registers.
3470         * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
3471         updated values for _CALL_ELF == 2.
3472         (La_regs, La_retval, int_retval): Likewise.
3473
3474 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
3475
3476         * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
3477         (FRAME_MIN_SIZE_PARM): Likewise.
3478         (FRAME_BACKCHAIN): Likewise.
3479         (FRAME_CR_SAVE): Likewise.
3480         (FRAME_LR_SAVE): Likewise.
3481         (FRAME_TOC_SAVE): Likewise.
3482         (FRAME_PARM_SAVE): Likewise.
3483         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
3484         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
3485         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
3486         (call_mcount_parm_offset): New macro.
3487         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
3488         (PROF): Use symbolic stack frame offsets.
3489         (TAIL_CALL_SYSCALL_ERROR): Likewise.
3490         * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
3491         Redefine in terms of FRAME_MIN_SIZE.
3492         (_dl_runtime_resolve): Use symbolic stack frame offsets.
3493         (_dl_profile_resolve): Likewise.  Update comment.
3494         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
3495         symbols stack frame offsets.
3496         (__sigsetjmp): Likewise.
3497         * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
3498         * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
3499         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
3500         * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
3501
3502         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
3503         (FRAME_BACKCHAIN): Remove.
3504         (FRAME_CR_SAVE): Likewise.
3505         (FRAME_LR_SAVE): Likewise.
3506         (FRAME_COMPILER_DW): Likewise.
3507         (FRAME_LINKER_DW): Likewise.
3508         (FRAME_TOC_SAVE): Likewise.
3509         (FRAME_PARM_SAVE): Likewise.
3510         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
3511         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
3512         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
3513         * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
3514         (CHECK_SP): Use symbolic stack frame offsets.
3515         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
3516         zone" instead of caller's parameter save area for temp storage.
3517         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
3518         Likewise.  Also, use symbolic stack frame offsets.
3519         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
3520         stackblock): Redefine for _CALL_ELF == 2 to save parameters into
3521         our own stack frame instead of the caller's.
3522         (__socket): Use symbolic stack frame offsets.
3523
3524 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
3525             Alan Modra  <amodra@gmail.com>
3526
3527         * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
3528         Define.
3529         (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK,
3530         PPC64_LOCAL_ENTRY_OFFSET): Define.
3531         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
3532         New function.
3533         (elf_machine_fixup_plt): Call it.
3534         (elf_machine_plt_conflict): Likewise.  Add map, sym_map, and
3535         reloc arguments.
3536         (elf_machine_rela): Update call to elf_machine_plt_conflict.
3537         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve,
3538         _dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
3539         r2 before calling target.
3540
3541 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
3542             Alan Modra  <amodra@gmail.com>
3543
3544         * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
3545         (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
3546         versions of macros to support ELFv2 ABI.
3547         (LOCALENTRY): New macro.
3548         (ENTRY, EALIGN): Use it.
3549         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
3550         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
3551         fall through into ENTRY entry point.
3552         * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
3553         Only define if _CALL_ELF != 2.
3554
3555         (elf_machine_matches_host): Verify ABI version matches.
3556         (RTLD_START): Use LOCALENTRY.
3557         (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
3558         (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
3559         (PLT_ENTRY_WORDS): New macro.
3560         (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
3561         (elf_machine_runtime_setup): Support ELFv2 ABI.
3562         (elf_machine_fixup_plt): Likewise.
3563         (elf_machine_plt_conflict): Likewise.
3564         (resolve_ifunc): Likewise.
3565         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
3566         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
3567         Likewise.
3568         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
3569         (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
3570         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
3571         (makecontext): Support ELFv2 ABI.
3572         * elf/elf.h (EF_PPC64_ABI): Define.
3573
3574 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
3575
3576         * sysdeps/powerpc/powerpc64/sysdep.h [ASSEMBLER] (PPC64_LOAD_FUNCPTR):
3577         New assembler macro.
3578         [ASSEMBLER] (ENTRY_1): Do not switch to .text section here ...
3579         [ASSEMBLER] (ENTRY): ... but instead here ...
3580         [ASSEMBLER] (EALIGN): ... and here.
3581         [!ASSEMBLER] (PPC64_LOAD_FUNCPTR): New macro.
3582         [!ASSEMBLER] (ENTRY_1): New macro; set up .opd entry.
3583         [!ASSEMBLER] (ENTRY_2): Use it.
3584         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
3585         ENTRY_2 changes.  Use PPC64_LOAD_FUNCPTR.
3586         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve,
3587         _dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
3588         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
3589         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
3590         Use PPC64_LOAD_FUNCPTR.
3591
3592 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
3593
3594         * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
3595
3596 2013-12-04  Alan Modra  <amodra@gmail.com>
3597
3598         * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
3599         (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
3600         (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
3601         (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
3602
3603         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
3604         overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
3605         R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
3606         Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
3607         R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
3608         Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
3609
3610 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
3611
3612         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
3613         (__makecontext): Fix incorrect CFI when backtracing out of
3614         context created via makecontext.
3615         * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
3616         (__setcontext): Fix incorrect CFI during switch to new context.
3617         (__novec_setcontext): Likewise.
3618
3619 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
3620
3621         [BZ #4772]
3622         * time/strptime_l.c (__strptime_internal): Allow modifiers
3623         in strptime.
3624         * time/tst-strptime.c (day_tests): Add testcase.
3625
3626
3627 2013-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
3628
3629         * scripts/bench.pl: Skip over blank lines.
3630
3631 2013-12-04  Paul Eggert  <eggert@cs.ucla.edu>
3632
3633         [BZ #926]
3634         * manual/time.texi (Calendar Time): Clarify what timezone functions
3635         use.
3636
3637 2013-12-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3638
3639         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3640
3641 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
3642
3643         * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
3644         implementation.
3645         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
3646         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
3647         * debug/memset_chk.c (__memset_chk): Likewise.
3648         * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
3649         * debug/strncpy_chk.c: Likewise.
3650
3651 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
3652
3653         [BZ #15268]
3654         [BZ #15425]
3655         * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
3656         (__ieee754_exp): For possibly underflowing results, check size of
3657         result and force underflow exception if required.
3658         * math/auto-libm-test-in: Add more tests of exp.
3659         * math/auto-libm-test-out: Regenerated.
3660         * sysdeps/i386/fpu/libm-test-ulps: Update.
3661         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3662
3663         [BZ #16283]
3664         * math/w_exp2.c (__exp2): Handle a zero result as underflow.
3665         * math/w_exp2f.c (__exp2f): Likewise.
3666         * math/w_exp2l.c (__exp2l): Likewise.
3667         * math/auto-libm-test-in: Do not allow missing errno on exp2
3668         underflow.
3669         * math/auto-libm-test-out: Regenerated.
3670
3671 2013-12-03  Ondřej Bílka  <neleai@seznam.cz>
3672
3673         [BZ #16274]
3674         * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
3675         handle filename validation.
3676         * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
3677         (do_open): Delete.
3678
3679 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
3680
3681         [BZ #6786]
3682         * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
3683         (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
3684         * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
3685         <float.h>.
3686         (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
3687         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
3688         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
3689         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
3690         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
3691         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
3692         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
3693         * math/auto-libm-test-in: Don't allow missing errno from erfc.
3694         Add more erfc tests.
3695         * math/auto-libm-test-out: Regenerated.
3696         * sysdeps/i386/fpu/libm-test-ulps: Update.
3697         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3698
3699         * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
3700         exp2, expm1, j0 and j1.
3701         * math/auto-libm-test-out: Regenerated.
3702         * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
3703         (erfc_test_data): Likewise.
3704         (exp_test_data): Likewise.
3705         (exp_tonearest_test_data): Likewise.
3706         (exp_towardzero_test_data): Likewise.
3707         (exp_downward_test_data): Likewise.
3708         (exp_upward_test_data): Likewise.
3709         (exp10_test_data): Likewise.
3710         (exp2_test_data): Likewise.
3711         (expm1_test_data): Likewise.
3712         (j0_test_data): Likewise.
3713         (j1_test_data): Likewise.
3714         * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
3715         (input_flag_type): Add flag_xfail_rounding.
3716         (input_flags): Add xfail-rounding.
3717         (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
3718         (output_for_one_input_case): Handle flag_xfail_rounding.
3719         * sysdeps/i386/fpu/libm-test-ulps: Update.
3720         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3721
3722 2013-12-03  Aurelien Jarno  <aurelien@aurel32.net>
3723
3724         [BZ #16289]
3725         * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
3726         division by 0.
3727
3728 2013-12-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
3729
3730         [BZ #16195]
3731         * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
3732         (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
3733         (STAP_PROBE0): New macro.
3734         (STAP_PROBE1): Likewise.
3735         (STAP_PROBE2): Likewise.
3736         (STAP_PROBE3): Likewise.
3737         (STAP_PROBE4): Likewise.
3738
3739 2013-12-02  Ondřej Bílka  <neleai@seznam.cz>
3740
3741         * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
3742
3743 2013-12-02  Steve Ellcey  <sellcey@mips.com>
3744
3745         * benchtests/Makefile (bench): Add sqrt.
3746         (LDLIBS-bench-sqrt): New.
3747         * benchtests/sqrt-input: New.
3748
3749 2013-12-02  Pavel Simerda  <psimerda@redhat.com>
3750
3751         * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
3752         (GAIH_EAI): Likewise.
3753         (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
3754         (gaih_inet): Likewise.
3755         (getaddrinfo): Don't use GAIH_EAI.
3756
3757         * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
3758         (struct gaih): Remove definition.
3759
3760 2013-12-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
3761
3762         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
3763         Use HERRNOP directly.
3764
3765 2013-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3766
3767         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3768
3769 2013-11-30  Joseph Myers  <joseph@codesourcery.com>
3770
3771         * math/gen-auto-libm-tests.c (test_functions): Add more
3772         single-argument functions.
3773         (special_fill_pi_2): New function.
3774         (special_fill_minus_pi_2): Likewise.
3775         (special_fill_pi_6): Likewise.
3776         (special_fill_minus_pi_6): Likewise.
3777         (special_fill_pi_3): Likewise.
3778         (special_fill_2pi_3): Likewise.
3779         (special_fill_e): Likewise.
3780         (special_fill_1_e): Likewise.
3781         (special_fill_e_minus_1): Likewise.
3782         (special_real_inputs): Add more special inputs.
3783         (output_for_one_input_case): Do not require ERANGE on underflow to
3784         zero if round-to-nearest result does not underflow to zero, unless
3785         exact results required.
3786         * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
3787         atan, atanh, cbrt, cos and cosh.
3788         * math/auto-libm-test-out: Regenerated.
3789         * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
3790         (acos_tonearest_test_data): Likewise.
3791         (acos_towardzero_test_data): Likewise.
3792         (acos_downward_test_data): Likewise.
3793         (acos_upward_test_data): Likewise.
3794         (acosh_test_data): Likewise.
3795         (asin_test_data): Likewise.
3796         (asin_tonearest_test_data): Likewise.
3797         (asin_towardzero_test_data): Likewise.
3798         (asin_upward_test_data): Likewise.
3799         (asinh_test_data): Likewise.
3800         (atan_test_data): Likewise.
3801         (atanh_test_data): Likewise.
3802         (cbrt_test_data): Likewise.
3803         (cos_test_data): Likewise.
3804         (cos_tonearest_test_data): Likewise.
3805         (cos_towardzero_test_data): Likewise.
3806         (cos_downward_test_data): Likewise.
3807         (cos_upward_test_data): Likewise.
3808         (cosh_test_data): Likewise.
3809         (cosh_tonearest_test_data): Likewise.
3810         (cosh_towardzero_test_data): Likewise.
3811         (cosh_downward_test_data): Likewise.
3812         (cosh_upward_test_data): Likewise.
3813         * sysdeps/i386/fpu/libm-test-ulps: Update.
3814         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3815
3816 2013-11-29  Joseph Myers  <joseph@codesourcery.com>
3817
3818         [BZ #6787]
3819         * math/w_exp10.c (__exp10): Handle a zero result as underflow.
3820         * math/w_exp10f.c (__exp10f): Likewise.
3821         * math/w_exp10l.c (__exp10l): Likewise.
3822         * math/libm-test.inc (exp10_test_data): Add more tests and expect
3823         errno settings in existing tests.
3824
3825         [BZ #14032]
3826         * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
3827         precision control set to double precision.
3828         * sysdeps/i386/fpu/w_sqrt.c: New file.
3829         * math/auto-libm-test-in: Add more tests.
3830         * math/auto-libm-test-out: Update.
3831
3832         * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
3833         (sqrt_test_tonearest): New function.
3834         (sqrt_towardzero_test_data): New variable.
3835         (sqrt_test_towardzero): New function.
3836         (sqrt_downward_test_data): New variable.
3837         (sqrt_test_downward): New function.
3838         (sqrt_upward_test_data): New variable.
3839         (sqrt_test_upward): New function.
3840         (main): Call the new functions.
3841
3842         * math/gen-auto-libm-tests.c: New file.
3843         * math/auto-libm-test-in: Likewise.
3844         * math/auto-libm-test-out: New generated file.
3845         * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
3846         variables.
3847         (%beautify): Add generated representations of zero.
3848         (top level): Set $auto_input and call parse_auto_input.
3849         (beautify): Remove trailing "f" from hex float constants.
3850         (parse_args): Handle XFAIL_TEST.
3851         (convert_condition): New function.
3852         (or_value): Likewise.
3853         (or_cond_value): Likewise.
3854         (generate_testfile): Handle AUTO_TESTS_* lines.
3855         (parse_auto_input): New function.
3856         * math/libm-test.inc (XFAIL_TEST): New macro.
3857         (ERRNO_UNCHANGED): Update value.
3858         (ERRNO_EDOM): Likewise.
3859         (ERRNO_ERANGE): Likewise.
3860         (IGNORE_RESULT): Likewise.
3861         (TEST_COND_flt_32): New macro.
3862         (TEST_COND_dbl_64): Likewise.
3863         (TEST_COND_ldbl_96_intel): Likewise.
3864         (TEST_COND_ldbl_96_m68k): Likewise.
3865         (TEST_COND_ldbl_128): Likewise.
3866         (TEST_COND_ldbl_128ibm): Likewise.
3867         (TEST_COND_long32): Likewise.
3868         (TEST_COND_long64): Likewise.
3869         (TEST_COND_before_rounding): Likewise.
3870         (TEST_COND_after_rounding): Likewise.
3871         (enable_test): Handle XFAIL_TEST flag.
3872         (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
3873         with finite results.
3874         * math/Makefile ($(objpfx)libm-test.stmp): Depend on
3875         auto-libm-test-out.
3876
3877 2013-11-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
3878             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
3879
3880         [BZ #16214]
3881         * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
3882         __tls_get_addr_internal instead of __tls_get_offset in order to
3883         avoid GOT pointer dependency.  Make rtld export
3884         __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
3885         __tls_get_addr since we are a __tls_get_offset platform.
3886         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
3887         GOT pointer being set up before.
3888         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
3889
3890 2013-11-28  Joseph Myers  <joseph@codesourcery.com>
3891
3892         * manual/math.texi (Errors in Math Functions): Document accuracy
3893         goals.
3894
3895         [BZ #15004]
3896         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
3897         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
3898         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
3899         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
3900         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
3901         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
3902         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
3903         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
3904         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
3905         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
3906         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
3907         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
3908         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
3909         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
3910         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
3911         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
3912
3913         * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
3914         * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
3915         * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
3916         * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
3917         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
3918         Likewise.
3919         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
3920         Likewise.
3921         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
3922         Likewise.
3923         * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
3924         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
3925         (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
3926         atomic-feupdateenv and flt-rounds.
3927         * sysdeps/powerpc/nofpu/Versions (libc): Add
3928         __atomic_feholdexcept, __atomic_feclearexcept,
3929         __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
3930         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
3931         (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
3932         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
3933         (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
3934         here.
3935         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
3936         Update.
3937
3938         * manual/arith.texi (FP Exceptions): Document that exceptions may
3939         not be raised when matherr is used.
3940         (Math Error Reporting): Document overflow in directed rounding
3941         modes.  Document that errno may not be set when finite values are
3942         returned on overflow.  Document intent to set errno on underflow
3943         only for underflow to zero.
3944
3945         [BZ #16271]
3946         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
3947         round-to-nearest then adjust result for other rounding modes.
3948         * include/fenv.h (fegetround): Use libm_hidden_proto.
3949         * math/fegetround.c (fegetround): Use libm_hidden_def.
3950         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
3951         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
3952         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
3953         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
3954         Likewise.
3955         * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
3956         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
3957         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
3958         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
3959
3960 2013-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
3961
3962         [BZ #16077]
3963         * nss/Versions (libnss_files): Add
3964         _nss_files_gethostbyname3_r.
3965         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
3966         New function.
3967         (HOST_DB_LOOKUP): Remove macro.
3968         (_nss_files_gethostbyname_r): Implement function without the
3969         HOST_DB_LOOKUP macro.
3970         (_nss_files_gethostbyname2_r): Likewise.
3971
3972 2013-11-28  Ondřej Bílka  <neleai@seznam.cz>
3973
3974         * malloc/malloc.c (__libc_calloc): Make memset a tail call.
3975
3976 2013-11-26  Uros Bizjak  <ubizjak@gmail.com>
3977
3978         * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
3979         _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
3980         warning.
3981
3982 2013-11-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3983
3984         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
3985         __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
3986         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
3987         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
3988         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
3989         __fe_nomask_env_priv and attribute_hidden.
3990         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
3991         (libc_feupdateenv_test_ppc): Likewise.
3992         (libc_feresetround_ppc): Likewise.
3993         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
3994         (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
3995         compat_symbol macro.
3996         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
3997         (__fe_nomask_env): Likewise.
3998         * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
3999
4000 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
4001
4002         * string/Makefile: Remove ifunc tests.
4003         * string/test-string.h: Define TEST_IFUNC.
4004         * string/test-bcopy-ifunc.c: Remove.
4005         * string/test-bzero-ifunc.c: Likewise.
4006         * string/test-memccpy-ifunc.c: Likewise.
4007         * string/test-memchr-ifunc.c: Likewise.
4008         * string/test-memcmp-ifunc.c: Likewise.
4009         * string/test-memcpy-ifunc.c: Likewise.
4010         * string/test-memmem-ifunc.c: Likewise.
4011         * string/test-memmove-ifunc.c: Likewise.
4012         * string/test-mempcpy-ifunc.c: Likewise.
4013         * string/test-memrchr-ifunc.c: Likewise.
4014         * string/test-memset-ifunc.c: Likewise.
4015         * string/test-rawmemchr-ifunc.c: Likewise.
4016         * string/test-stpcpy-ifunc.c: Likewise.
4017         * string/test-stpncpy-ifunc.c: Likewise.
4018         * string/test-strcasecmp-ifunc.c: Likewise.
4019         * string/test-strcasestr-ifunc.c: Likewise.
4020         * string/test-strcat-ifunc.c: Likewise.
4021         * string/test-strchr-ifunc.c: Likewise.
4022         * string/test-strchrnul-ifunc.c: Likewise.
4023         * string/test-strcmp-ifunc.c: Likewise.
4024         * string/test-strcpy-ifunc.c: Likewise.
4025         * string/test-strcspn-ifunc.c: Likewise.
4026         * string/test-strlen-ifunc.c: Likewise.
4027         * string/test-strncasecmp-ifunc.c: Likewise.
4028         * string/test-strncat-ifunc.c: Likewise.
4029         * string/test-strncmp-ifunc.c: Likewise.
4030         * string/test-strncpy-ifunc.c: Likewise.
4031         * string/test-strnlen-ifunc.c: Likewise.
4032         * string/test-strpbrk-ifunc.c: Likewise.
4033         * string/test-strrchr-ifunc.c: Likewise.
4034         * string/test-strspn-ifunc.c: Likewise.
4035         * string/test-strstr-ifunc.c: Likewise.
4036
4037 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
4038
4039         * benchtests/Makefile: Remove ifunc tests.
4040         * benchtests/bench-string.h: Define TEST_IFUNC.
4041         * benchtests/bench-bcopy-ifunc.c: Remove.
4042         * benchtests/bench-bzero-ifunc.c: Likewise.
4043         * benchtests/bench-memccpy-ifunc.c: Likewise.
4044         * benchtests/bench-memchr-ifunc.c: Likewise.
4045         * benchtests/bench-memcmp-ifunc.c: Likewise.
4046         * benchtests/bench-memcpy-ifunc.c: Likewise.
4047         * benchtests/bench-memmem-ifunc.c: Likewise.
4048         * benchtests/bench-memmove-ifunc.c: Likewise.
4049         * benchtests/bench-mempcpy-ifunc.c: Likewise.
4050         * benchtests/bench-memrchr-ifunc.c: Likewise.
4051         * benchtests/bench-memset-ifunc.c: Likewise.
4052         * benchtests/bench-rawmemchr-ifunc.c: Likewise.
4053         * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
4054         * benchtests/bench-stpcpy-ifunc.c: Likewise.
4055         * benchtests/bench-stpncpy-ifunc.c: Likewise.
4056         * benchtests/bench-strcasecmp-ifunc.c: Likewise.
4057         * benchtests/bench-strcasestr-ifunc.c: Likewise.
4058         * benchtests/bench-strcat-ifunc.c: Likewise.
4059         * benchtests/bench-strchr-ifunc.c: Likewise.
4060         * benchtests/bench-strchrnul-ifunc.c: Likewise.
4061         * benchtests/bench-strcmp-ifunc.c: Likewise.
4062         * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
4063         * benchtests/bench-strcpy-ifunc.c: Likewise.
4064         * benchtests/bench-strcspn-ifunc.c: Likewise.
4065         * benchtests/bench-strlen-ifunc.c: Likewise.
4066         * benchtests/bench-strncasecmp-ifunc.c: Likewise.
4067         * benchtests/bench-strncat-ifunc.c: Likewise.
4068         * benchtests/bench-strncmp-ifunc.c: Likewise.
4069         * benchtests/bench-strncpy-ifunc.c: Likewise.
4070         * benchtests/bench-strnlen-ifunc.c: Likewise.
4071         * benchtests/bench-strpbrk-ifunc.c: Likewise.
4072         * benchtests/bench-strrchr-ifunc.c: Likewise.
4073         * benchtests/bench-strsep-ifunc.c: Likewise.
4074         * benchtests/bench-strspn-ifunc.c: Likewise.
4075         * benchtests/bench-strstr-ifunc.c: Likewise.
4076
4077 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
4078
4079         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
4080
4081 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
4082
4083         * resolv/netdb.h: Use __glibc_reserved instead __unused.
4084         * rt/aio.h: Likewise.
4085         * sysdeps/gnu/bits/utmp.h: Likewise.
4086         * sysdeps/gnu/bits/utmpx.h: Likewise.
4087         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
4088         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
4089         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
4090         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
4091         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
4092         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
4093         * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
4094         * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
4095         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
4096         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
4097         * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
4098         * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
4099         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
4100         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
4101         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
4102         * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
4103         * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
4104         * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
4105         * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
4106         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
4107         * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
4108         * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
4109         * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
4110         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
4111         * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
4112         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
4113         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
4114         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
4115         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
4116         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
4117         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
4118         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
4119         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
4120         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
4121         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
4122         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
4123         * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
4124         * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
4125         * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
4126         * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
4127         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
4128         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
4129
4130 2013-11-25  Carlos O'Donell  <carlos@redhat.com>
4131
4132         [BZ #16245]
4133         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
4134         Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
4135
4136 2013-11-25  Joseph Myers  <joseph@codesourcery.com>
4137
4138         * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
4139         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
4140         Likewise.
4141
4142 2013-11-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4143
4144         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
4145         SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
4146         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
4147         (__fesetround): Remove define.
4148         * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
4149         rounding and exceptions handling.
4150         * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
4151         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
4152         (__fe_nomask_env): Likewise.
4153         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
4154         __fegetround instead of fegetround.
4155         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
4156         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
4157
4158 2013-11-21  Roland McGrath  <roland@hack.frob.com>
4159
4160         * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
4161         it's there.
4162
4163         * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
4164
4165 2013-11-21  Meador Inge  <meadori@codesourcery.com>
4166
4167         [BZ #11157]
4168         * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
4169         (encrypt_r): Likewise.
4170         * malloc/obstack.h (obstack_free): Likewise.
4171         * posix/unistd.h (encrypt): Likewise.
4172
4173 2013-11-21  Guy Martin  <gmsoft@tuxicoman.be>
4174
4175         * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
4176         DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
4177         DL_CALL_DT_FINI() that call the functions directly.
4178         * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
4179         * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
4180         * elf/dl-fini.c: Likewise.
4181
4182 2013-11-20  Ondřej Bílka  <neleai@seznam.cz>
4183
4184         * malloc/hooks.c (memalign_check): Add alignment rounding.
4185         * malloc/malloc.c (_mid_memalign): New function.
4186         (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
4187         Implement by calling _mid_memalign.
4188         * manual/probes.texi (Memory Allocation Probes): Remove
4189         memory_valloc_retry and memory_pvalloc_retry.
4190
4191 2013-11-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
4192
4193         * locale/programs/locarchive.c (open_archive): Add const
4194         qualifier to ARCHIVEFNAME and copy default fname to
4195         DEFAULT_FNAME.
4196
4197         [BZ #15601]
4198         * libio/tst-widetext.input: Rename Oriya to Odia.
4199         * locale/iso-639.def: Likewise.
4200
4201         * manual/probes.texi (Mathematical Function Probes): Add
4202         documentation for sin, cos, asin and acos probes.
4203         * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
4204         (__sin32): Add slowasin probe.
4205         (__cos32): Add slowacos probe.
4206         (__mpsin): Add slowsin probe.
4207         (__mpcos): Add slowcos probe.
4208
4209 2013-11-19  Joseph Myers  <joseph@codesourcery.com>
4210
4211         [BZ #15483]
4212         * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
4213         thread-local __sim_exceptions_thread and global
4214         __sim_exceptions_global.
4215         (__sim_disabled_exceptions): Change to thread-local
4216         __sim_disabled_exceptions_thread and global
4217         __sim_disabled_exceptions_global.
4218         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
4219         and global __sim_round_mode_global.
4220         (__simulate_exceptions): Use thread-local floating-point state and
4221         set global state from it as needed.
4222         * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
4223         __sim_exceptions_thread, __sim_disabled_exceptions_thread and
4224         __sim_round_mode_thread.
4225         * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
4226         (__sim_exceptions): Change to thread-local __sim_exceptions_thread
4227         and global __sim_exceptions_global.
4228         (__sim_disabled_exceptions): Change to thread-local
4229         __sim_disabled_exceptions_thread and global
4230         __sim_disabled_exceptions_global.
4231         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
4232         and global __sim_round_mode_global.
4233         [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
4234         (SIM_SET_GLOBAL): Likewise.
4235         * sysdeps/powerpc/soft-fp/sfp-machine.h
4236         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
4237         __sim_round_mode_thread.
4238         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
4239         __sim_disabled_exceptions_thread.
4240         (__sim_exceptions): Change to __sim_exceptions_thread.
4241         (__sim_disabled_exceptions): Change to
4242         __sim_disabled_exceptions_thread.
4243         (__sim_round_mode): Change to __sim_round_mode_thread.
4244         * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
4245         thread-local floating-point state and set global state from it as
4246         needed.
4247         * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
4248         * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
4249         (__sim_disabled_exceptions): Remove extern declaration.
4250         (feenableexcept): Use thread-local floating-point state and set
4251         global state from it as needed.
4252         * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
4253         extern declaration.
4254         (__sim_disabled_exceptions): Likewise.
4255         (__sim_round_mode): Likewise.
4256         (__fegetenv): Use thread-local floating-point state.
4257         * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
4258         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
4259         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
4260         floating-point state and set global state from it as needed.
4261         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
4262         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
4263         * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
4264         Likewise.
4265         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
4266         * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
4267         Likewise.
4268         sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
4269         * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
4270         Use __sim_round_mode_thread.
4271         * math/test-fenv-tls.c: New file.
4272         * math/Makefile (tests): Add test-fenv-tls.
4273         ($(objpfx)test-fenv-tls): Depend on
4274         $(common-objpfx)nptl/libpthread.so.
4275
4276 2013-11-19  Andreas Schwab  <schwab@suse.de>
4277
4278         * locale/programs/locale.c (show_info): Decode wordarray elements.
4279         * locale/categories.def (LC_MONETARY): Add element for
4280         _NL_MONETARY_CRNCYSTR.
4281         * locale/C-monetary.c (conversion_rate): New variable.
4282         (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
4283         element.
4284
4285 2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
4286
4287         * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
4288         Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
4289
4290 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
4291
4292         * elf/Makefile (tst-auxv): New test.
4293         * elf/tst-auxv.c: New
4294         * elf/rtld.c (dl_main): Adjust AT_EXECFN
4295
4296 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
4297
4298         * include/libc-symbols.h (__hidden_proto): Add argument "thread".
4299         (hidden_proto): Caller changed.
4300         (hidden_tls_proto): New macro.
4301         (libc_hidden_tls_proto): Likewise.
4302         (rtld_hidden_tls_proto): Likewise.
4303         (libm_hidden_tls_proto): Likewise.
4304         (libresolv_hidden_tls_proto): Likewise.
4305         (librt_hidden_tls_proto): Likewise.
4306         (libdl_hidden_tls_proto): Likewise.
4307         (libnss_files_hidden_tls_proto): Likewise.
4308         (libnsl_hidden_tls_proto): Likewise.
4309         (libnss_nisplus_hidden_tls_proto): Likewise.
4310         (libutil_hidden_tls_proto): Likewise.
4311
4312 2013-11-18  Ondřej Bílka  <neleai@seznam.cz>
4313
4314         [BZ #10253]
4315         * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
4316         (decompose_rpath): Defer expansion to fillin_rpath.
4317         (_dl_init_paths): Pass linkmap to fillin_rpath.
4318
4319 2013-11-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
4320
4321         * benchtests/Makefile: Add strsep.
4322         * benchtests/bench-strsep.c: New file: strsep benchtest.
4323         * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
4324
4325 2013-11-18  Andreas Schwab  <schwab@suse.de>
4326
4327         * locale/programs/locale.c (show_info) [case byte]: Check for
4328         '\377' instead of '\177'.
4329         * locale/C-monetary.c (not_available): Always use "\377".
4330         * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
4331         unspecified p_sign_posn and n_sign_posn.  Check for '\377' to
4332         detect unavailable sign_posn locale elements.
4333         * locale/localeconv.c (__localeconv): For grouping and
4334         mon_grouping handle "\177" and "\377" like no grouping.
4335         (INT_ELEM): New macro.  Use it to set all numeric members.
4336         * locale/programs/ld-monetary.c (monetary_read)
4337         <tok_mon_grouping>: Normalize single -1 to the empty string.
4338         * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
4339         Likewise.
4340
4341 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
4342
4343         [BZ #16055]
4344         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
4345         when we match (nil).
4346         * stdio-common/tst-sscanf.c (struct test): Add testcase.
4347
4348 2013-11-16  Joseph Myers  <joseph@codesourcery.com>
4349
4350         * math/libm-test.inc (TEST_NAN_SIGN): New macro.
4351         (NO_TEST_INLINE): Update value.
4352         (ERRNO_UNCHANGED): Likewise.
4353         (ERRNO_EDOM): Likewise.
4354         (ERRNO_ERANGE): Likewise.
4355         (IGNORE_RESULT): Likewise.
4356         (check_float_internal): Check signs of NaN results if
4357         TEST_NAN_SIGN used.
4358         (check_complex): Pass TEST_NAN_SIGN flag through to second
4359         check_float_internal call.
4360         (copysign_test_data): Add tests with quiet NaNs as second
4361         argument.  Use TEST_NAN_SIGN.
4362         (fabs_test_data): Add test of negative quiet NaN argument.  Use
4363         TEST_NAN_SIGN.
4364         (signbit_test_data): Add tests of quiet NaN argument.
4365         * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
4366
4367         * math/gen-libm-test.pl (show_exceptions): Take extra argument
4368         $ignore_result.
4369         (parse_args): Handle function results specified as IGNORE.
4370         * math/libm-test.inc (IGNORE_RESULT): New macro.
4371         (check_float_internal): Do not check numerical result if flag
4372         IGNORE_RESULT set.
4373         (check_complex): Pass through IGNORE_RESULT to second
4374         check_float_internal call.
4375         (check_int): Do not check numerical result if flag IGNORE_RESULT
4376         set.
4377         (check_long): Likewise.
4378         (check_bool): Likewise.
4379         (check_longlong): Likewise.
4380         (lrint_test_data): Add tests of infinite and NaN arguments.
4381         (lrint_tonearest_test_data): Likewise.
4382         (lrint_towardzero_test_data): Likewise.
4383         (lrint_downward_test_data): Likewise.
4384         (lrint_upward_test_data): Likewise.
4385         (llrint_test_data): Likewise.
4386         (llrint_tonearest_test_data): Likewise.
4387         (llrint_towardzero_test_data): Likewise.
4388         (llrint_downward_test_data): Likewise.
4389         (llrint_upward_test_data): Likewise.
4390         (lround_test_data): Likewise.
4391         (llround_test_data): Likewise.
4392
4393         * math/libm-test.inc (NO_TEST_INLINE): New macro.
4394         (ERRNO_UNCHANGED): Update value.
4395         (ERRNO_EDOM): Likewise.
4396         (ERRNO_ERANGE): Likewise.
4397         (NO_TEST_INLINE_FLOAT): New macro.
4398         (NO_TEST_INLINE_DOUBLE): Likewise.
4399         (enable_test): New function.
4400         (RUN_TEST_f_f): Check enable_test before running test.
4401         (RUN_TEST_2_f): Likewise.
4402         (RUN_TEST_fff_f): Likewise.
4403         (RUN_TEST_c_f): Likewise.
4404         (RUN_TEST_f_f1): Likewise.
4405         (RUN_TEST_fF_f1): Likewise.
4406         (RUN_TEST_fI_f1): Likewise.
4407         (RUN_TEST_ffI_f1): Likewise.
4408         (RUN_TEST_c_c): Likewise.
4409         (RUN_TEST_cc_c): Likewise.
4410         (RUN_TEST_f_i): Likewise.
4411         (RUN_TEST_f_i_tg): Likewise.
4412         (RUN_TEST_ff_i_tg): Likewise.
4413         (RUN_TEST_f_b): Likewise.
4414         (RUN_TEST_f_b_tg): Likewise.
4415         (RUN_TEST_f_l): Likewise.
4416         (RUN_TEST_f_L): Likewise.
4417         (RUN_TEST_fFF_11): Likewise.
4418         (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
4419         conditionals.
4420         (cosh_test_data): Likewise.
4421         (exp_test_data): Likewise.
4422         (expm1_test_data): Likewise.
4423         (hypot_test_data): Likewise.
4424         (pow_test_data): Likewise.
4425         (sinh_test_data): Likewise.
4426         (tanh_test_data): Likewise.
4427         * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
4428         flags argument.
4429
4430         * libm-test.inc (acos_test_data): Disallow inexact exceptions for
4431         tests with quiet NaN input and output.
4432         (acosh_test_data): Likewise.
4433         (asin_test_data): Likewise.
4434         (asinh_test_data): Likewise.
4435         (atan_test_data): Likewise.
4436         (atanh_test_data): Likewise.
4437         (atan2_test_data): Likewise.
4438         (cbrt_test_data): Likewise.
4439         (cos_test_data): Likewise.
4440         (cosh_test_data): Likewise.
4441         (erf_test_data): Likewise.
4442         (erfc_test_data): Likewise.
4443         (exp_test_data): Likewise.
4444         (exp10_test_data): Likewise.
4445         (exp2_test_data): Likewise.
4446         (expm1_test_data): Likewise.
4447         (hypot_test_data): Likewise.
4448         (j0_test_data): Likewise.
4449         (j1_test_data): Likewise.
4450         (jn_test_data): Likewise.
4451         (lgamma_test_data): Likewise.
4452         (log_test_data): Likewise.
4453         (log10_test_data): Likewise.
4454         (log1p_test_data): Likewise.
4455         (log2_test_data): Likewise.
4456         (pow_test_data): Likewise.
4457         (scalb_test_data): Likewise.
4458         (sin_test_data): Likewise.
4459         (sincos_test_data): Likewise.
4460         (sinh_test_data): Likewise.
4461         (tan_test_data): Likewise.
4462         (tanh_test_data): Likewise.
4463         (tgamma_test_data): Likewise.
4464         (y0_test_data): Likewise.
4465         (y1_test_data): Likewise.
4466         (yn_test_data): Likewise.
4467
4468         [BZ #16167]
4469         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
4470         argument being NaN and avoid computations with second argument in
4471         that case.
4472         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
4473         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
4474         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
4475
4476 2013-11-15  Arun Kumar Pyasi <arun@chitwanix.com>
4477
4478         * locale/iso-639.def: Add Chitwani Tharu (the).
4479
4480 2013-11-14  Andreas Schwab  <schwab@suse.de>
4481
4482         * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
4483         word instead of empty string.
4484
4485 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4486
4487         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
4488         (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
4489         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
4490         (__fe_nomask_env): Likewise.
4491
4492 2013-11-13  Steve Ellcey  <sellcey@mips.com>
4493
4494         * benchtests/bench-timing.h: Include time.h.
4495
4496 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
4497
4498         [BZ #15997]
4499         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
4500         to 3.4.0 for x32.
4501         * sysdeps/unix/sysv/linux/configure: Regenerated.
4502
4503 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
4504
4505         [BZ #16151]
4506         * stdlib/strtod_l.c (round_and_return): Do not consider
4507         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
4508         exponent one less than half the least subnormal exponent.
4509         * stdlib/test-strtod-round-data: Add more tests.
4510         * stdlib/tst-strtod-round.c (tests): Regenerated.
4511
4512 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4513
4514         [BZ #14143]
4515         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
4516         (__fe_mask_env): Likewise.
4517         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
4518         libm_hidden_proto and add function prototype.
4519         (__fe_mask_env): Add function prototype.
4520         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
4521         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
4522         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
4523         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
4524         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
4525         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
4526
4527 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
4528
4529         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
4530         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
4531
4532 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
4533
4534         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
4535         of htab_find_slot().
4536
4537 2013-11-11  David S. Miller  <davem@davemloft.net>
4538
4539         [BZ #16150]
4540         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
4541         symbol in the non-vis3 case in static builds.
4542         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
4543         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
4544         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
4545         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
4546
4547 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
4548
4549         [BZ #387]
4550         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
4551         it is empty.
4552
4553 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4554
4555         * benchtests/Makefile: Add bench-strtod.
4556         * benchtests/bench-strtod.c: New file: strtod benchtest
4557
4558 2013-11-11  Andreas Schwab  <schwab@suse.de>
4559
4560         [BZ #16153]
4561         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
4562         terminating NUL in key length.
4563
4564 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4565
4566         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
4567         Add artificial ODP entry for vDSO symbol for PPC64.
4568         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
4569         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
4570
4571 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
4572
4573         [BZ #15374]
4574         * nss/getent.c (services_keys): Recognize services starting with digit.
4575
4576 2013-11-06  David S. Miller  <davem@davemloft.net>
4577
4578         [BZ #15985]
4579         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
4580         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
4581
4582 2013-11-06  Will Newton  <will.newton@linaro.org>
4583
4584         * manual/memory.texi (Malloc Examples): Remove register
4585         keyword from examples.
4586
4587 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
4588
4589         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
4590
4591 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
4592
4593         [BZ #6981]
4594         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
4595         depending on [__GCC_IEC_559 > 0].
4596         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
4597         depending on [__GCC_IEC_559_COMPLEX > 0].
4598
4599 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
4600
4601         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
4602         to iso-639.def.
4603
4604 2013-11-03  Ondřej Bílka  <neleai@seznam.cz>
4605
4606         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
4607
4608 2013-11-01  Ondřej Bílka  <neleai@seznam.cz>
4609
4610         [BZ #16112]
4611         * malloc/malloc (malloc_info): Do not handle first bin as
4612         special case.
4613
4614 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
4615
4616         * locale/iso-639.def: Add Central Nahuatl (nhn).
4617
4618 2013-11-01  Bruno Haible  <bruno@clisp.org>
4619
4620         [BZ #7003]
4621         * manual/math.texi (BSD Random): Specify range upper bound as
4622         in POSIX.
4623
4624 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
4625
4626         * locale/iso-639.def: Add Meadow Mari (mhr).
4627
4628 2013-10-31  Ondřej Bílka  <neleai@seznam.cz>
4629
4630         [BZ #14752], [BZ #15763]
4631         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
4632         Validate name.
4633         * rt/tst_shm.c: Add test for escaping directory.
4634
4635 2013-10-31  Andreas Schwab  <schwab@suse.de>
4636
4637         [BZ #15917]
4638         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
4639         followed by 'x' as part of digit sequence.
4640         * stdio-common/tst-sscanf.c (double_tests2): New tests.
4641
4642 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
4643
4644         [BZ #16037]
4645         * configure.ac: allow GNU Make 4.0 and greater.
4646         * configure: Regenerated.
4647
4648 2013-10-30  Will Newton  <will.newton@linaro.org>
4649
4650         [BZ #16038]
4651         * malloc/hooks.c (memalign_check): Limit alignment to the
4652         maximum representable power of two.
4653         * malloc/malloc.c (__libc_memalign): Likewise.
4654         * malloc/tst-memalign.c (do_test): Add test for very
4655         large alignment values.
4656         * malloc/tst-posix_memalign.c (do_test): Likewise.
4657
4658 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
4659
4660         [BZ #11087]
4661         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
4662         (munmap_chunk): Likewise.
4663         (mremap_chunk): Likewise.
4664
4665 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
4666
4667         [BZ #15799]
4668         * stdlib/div.c (div): Remove obsolete code.
4669         * stdlib/ldiv.c (ldiv): Likewise.
4670         * stdlib/lldiv.c (lldiv): Likewise.
4671
4672 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
4673
4674         [BZ #16071]
4675         * nss/nss_files/files-XXX.c (get_contents_ret): New
4676         enumerator.
4677         (get_contents): New function.
4678         (internal_getent): Use it.  Expand size of LINEBUFLEN.
4679
4680 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
4681
4682         * configure.in: Moved to ...
4683         * configure.ac: ... here. Change reference to configure.in
4684         to configure.ac.
4685         * sysdeps/arm/preconfigure.ac: ... here.
4686         configure.in to configure.ac.
4687         * sysdeps/gnu/configure.in: Moved to ...
4688         * sysdeps/gnu/configure.ac: ... here.
4689         * sysdeps/i386/configure.in: Moved to ...
4690         * sysdeps/i386/configure.ac: ... here.
4691         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
4692         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
4693         * sysdeps/mach/configure.in: Moved to ...
4694         * sysdeps/mach/configure.ac: ... here.
4695         * sysdeps/mach/hurd/configure.in: Moved to ...
4696         * sysdeps/mach/hurd/configure.ac: ... here.
4697         * sysdeps/powerpc/configure.in: Moved to ...
4698         * sysdeps/powerpc/configure.ac: ... here.
4699         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
4700         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
4701         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
4702         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
4703         * sysdeps/s390/s390-32/configure.in: Moved to ...
4704         * sysdeps/s390/s390-32/configure.ac: ... here.
4705         * sysdeps/s390/s390-64/configure.in: Moved to ...
4706         * sysdeps/s390/s390-64/configure.ac: ... here.
4707         * sysdeps/sh/configure.in: Moved to ...
4708         * sysdeps/sh/configure.ac: ... here.
4709         * sysdeps/sparc/configure.in: Moved to ...
4710         * sysdeps/sparc/configure.ac: ... here.
4711         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
4712         * sysdeps/unix/sysv/linux/configure.ac: ... here.
4713         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
4714         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
4715         * sysdeps/x86_64/configure.in: Moved to ...
4716         * sysdeps/x86_64/configure.ac: ... here.
4717         * sysdeps/x86_64/preconfigure.in: Moved to ...
4718         * sysdeps/x86_64/preconfigure.ac: ... here.
4719         * aclocal.m4: Change reference to configure.in to configure.ac.
4720         * config.h.in: Likewise.
4721         * manual/install.texi: Likewise.
4722         * manual/maint.texi: Likewise.
4723         * Makefile: Likewise.
4724         * malloc/Makefile: Likewise.
4725         * nscd/Makefile: Likewise.
4726         * Makeconfig: Change reference to configure.in and
4727         preconfigure.in to configure.ac and preconfigure.ac
4728         respectively.
4729         * INSTALL: Regenerated.
4730         * configure: Likewise.
4731         * sysdeps/gnu/configure: Likewise.
4732         * sysdeps/i386/configure: Likewise.
4733         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
4734         * sysdeps/mach/configure: Likewise.
4735         * sysdeps/mach/hurd/configure: Likewise.
4736         * sysdeps/powerpc/configure: Likewise.
4737         * sysdeps/powerpc/powerpc32/configure: Likewise.
4738         * sysdeps/powerpc/powerpc64/configure: Likewise.
4739         * sysdeps/s390/s390-32/configure: Likewise.
4740         * sysdeps/s390/s390-64/configure: Likewise.
4741         * sysdeps/sh/configure: Likewise.
4742         * sysdeps/sparc/configure: Likewise.
4743         * sysdeps/unix/sysv/linux/configure: Likewise.
4744         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
4745         * sysdeps/x86_64/configure: Likewise.
4746         * sysdeps/x86_64/preconfigure: Likewise.
4747
4748 2013-10-29  Andreas Schwab  <schwab@suse.de>
4749
4750         * stdio-common/Makefile (tst-swscanf-ENV): Define.
4751
4752 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
4753
4754         * benchtests/pow-inputs: Add new inputs.
4755
4756         * benchtests/exp-inputs: Add new inputs.
4757
4758         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
4759         conditional check for return value.
4760         (__cos32): Likewise.
4761
4762 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4763
4764         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
4765         to provide a boost for large inputs with word alignment.
4766         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
4767         implementation based on optimized PPC64 strcpy.
4768         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
4769         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
4770         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
4771         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
4772
4773 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
4774
4775         [BZ #2801]
4776         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
4777
4778 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
4779
4780         [BZ #14876]
4781         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
4782         * time/tst-strptime.c (day_tests): Add testcase.
4783
4784 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
4785
4786         [BZ #14029]
4787         * manual/pattern.texi: Acknowledge that fnmatch can fail.
4788
4789 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
4790
4791         [BZ #16074]
4792         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
4793         MAP_FAILED on error.
4794
4795 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
4796
4797         [BZ #16072]
4798         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
4799         heap for large requests.
4800
4801 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
4802
4803         [BZ #9954]
4804         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
4805         result if the result has no associated interface.
4806         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
4807         interface for all 127.X.Y.Z addresses.
4808
4809 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
4810
4811         * locale/iso-639.def: Add Ligurian (lij)
4812
4813 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
4814
4815         [BZ #15825]
4816         * sunrpc/rpc_main.c: Document rpcgen -5.
4817
4818 2013-10-19  Michael Stahl  <mstahl@redhat.com>
4819
4820         * elf/rtld.c (do_preload): Print the reason why preloading failed.
4821
4822 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
4823
4824         [BZ #10278]
4825         * posix/glob.c: Match only directories when trailing slash is present.
4826         * posix/tst-gnuglob.c (my_opendir): Do not open files.
4827         (main): Add testcase.
4828
4829 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
4830
4831         [BZ #15670]
4832         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
4833
4834 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
4835
4836         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
4837         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
4838         AUTH_DES and cindex for FIPS 140-2.
4839         (DES Encryption): Add cindex FIPS 46-3.
4840
4841         * locale/locarchive.h (struct locarhandle): Add fname.
4842         * locale/programs/localedef.c (main): Pass ARGV[remaining]
4843         if an optional argument was specified to --list-archive,
4844         otherwise NULL.
4845         * locale/programs/locarchive.c (show_archive_content): Take new
4846         argument fname and pass it via ah.fname to open_archive.
4847         * locale/programs/localedef.h: Update decl.
4848         (open_archive): If AH->fname is non-null, open that file
4849         rather than the default file name, and don't ignore ENOENT.
4850         (create_archive): Set AH.fname to NULL.
4851         (delete_locales_from_archive): Likewise.
4852         (add_locales_to_archive): Likewise.
4853         * locale/programs/locfile.c (write_all_categories): Likewise.
4854
4855 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
4856             Aldy Hernandez  <aldyh@redhat.com>
4857
4858         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
4859         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
4860         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
4861         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
4862         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
4863         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
4864         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
4865         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
4866         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
4867         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
4868         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
4869         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
4870         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
4871         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
4872         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
4873         Likewise.
4874         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
4875         Likewise.
4876         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
4877         Likewise.
4878         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
4879         Likewise.
4880         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
4881         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
4882         Likewise.
4883         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
4884         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
4885         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
4886         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
4887         Likewise.
4888         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
4889         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
4890         * sysdeps/powerpc/preconfigure: Likewise.
4891         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
4892         Likewise.
4893         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
4894         Replace contents of file by #include of <fenv_libc.h>.
4895         * sysdeps/powerpc/soft-fp/sfp-machine.h
4896         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
4897         and <sys/prctl.h>.
4898         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
4899         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
4900         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
4901         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
4902         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
4903         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
4904         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
4905         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
4906         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
4907         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
4908         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
4909         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
4910         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
4911         Allow copysignl PLT reference to be missing.
4912
4913 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
4914             Joseph Myers  <joseph@codesourcery.com
4915
4916         [BZ #15948]
4917         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
4918         single character.
4919         (add_to_tablewc): Assert sequence of wide characters is nonempty.
4920
4921 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
4922
4923         * elf/tst-tls-dlinfo.c: Don't include tls.h.
4924         * elf/tst-tls1.c: Likewise.
4925         * elf/tst-tls10.h: Likewise.
4926         * elf/tst-tls14.c: Likewise.
4927         * elf/tst-tls2.c: Likewise.
4928         * elf/tst-tls3.c: Likewise.
4929         * elf/tst-tls4.c: Likewise.
4930         * elf/tst-tls5.c: Likewise.
4931         * elf/tst-tls6.c: Likewise.
4932         * elf/tst-tls7.c: Likewise.
4933         * elf/tst-tls8.c: Likewise.
4934         * elf/tst-tls9.c: Likewise.
4935         * elf/tst-tlsmod1.c: Likewise.
4936         * elf/tst-tlsmod13.c: Likewise.
4937         * elf/tst-tlsmod13a.c: Likewise.
4938         * elf/tst-tlsmod14a.c: Likewise.
4939         * elf/tst-tlsmod16a.c: Likewise.
4940         * elf/tst-tlsmod16b.c: Likewise.
4941         * elf/tst-tlsmod2.c: Likewise.
4942         * elf/tst-tlsmod3.c: Likewise.
4943         * elf/tst-tlsmod4.c: Likewise.
4944         * elf/tst-tlsmod5.c: Likewise.
4945         * elf/tst-tlsmod6.c: Likewise.
4946
4947 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
4948
4949         [BZ #12486]
4950         * malloc/malloc.c: remove checks for statistics.
4951
4952 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
4953
4954         [BZ #15277]
4955         * inet/inet_net.c (inet_network): Detect additional invalid strings.
4956         * inet/tst-network.c: Add testcase.
4957
4958 2013-10-17  Andreas Schwab  <schwab@suse.de>
4959
4960         [BZ #15218]
4961         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
4962         to determine canonical name.
4963
4964 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
4965
4966         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
4967         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
4968         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
4969         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
4970         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
4971         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
4972         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
4973         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
4974         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
4975         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
4976         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
4977         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
4978         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
4979         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
4980         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
4981         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
4982         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
4983         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
4984         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
4985         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
4986         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
4987         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
4988         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
4989         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
4990         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
4991         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
4992         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
4993         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
4994         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
4995         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
4996         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
4997         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
4998         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
4999         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
5000         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
5001         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
5002         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
5003         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
5004         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
5005         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
5006         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
5007         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
5008         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
5009         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
5010         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
5011         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
5012         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
5013         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
5014         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
5015         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
5016         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
5017         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
5018         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
5019         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
5020         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
5021         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
5022         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
5023         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
5024
5025 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
5026
5027         [BZ #16041]
5028         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
5029         make result into a quiet NaN.
5030
5031 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
5032
5033         * soft-fp/adddf3.c: Fix horizontal whitespace.
5034         * soft-fp/addsf3.c: Likewise.
5035         * soft-fp/addtf3.c: Likewise.
5036         * soft-fp/divdf3.c: Likewise.
5037         * soft-fp/divsf3.c: Likewise.
5038         * soft-fp/divtf3.c: Likewise.
5039         * soft-fp/double.h: Likewise.
5040         * soft-fp/eqdf2.c: Likewise.
5041         * soft-fp/eqsf2.c: Likewise.
5042         * soft-fp/eqtf2.c: Likewise.
5043         * soft-fp/extenddftf2.c: Likewise.
5044         * soft-fp/extended.h: Likewise.
5045         * soft-fp/extendsfdf2.c: Likewise.
5046         * soft-fp/extendsftf2.c: Likewise.
5047         * soft-fp/extendxftf2.c: Likewise.
5048         * soft-fp/fixdfdi.c: Likewise.
5049         * soft-fp/fixdfsi.c: Likewise.
5050         * soft-fp/fixdfti.c: Likewise.
5051         * soft-fp/fixsfdi.c: Likewise.
5052         * soft-fp/fixsfsi.c: Likewise.
5053         * soft-fp/fixsfti.c: Likewise.
5054         * soft-fp/fixtfdi.c: Likewise.
5055         * soft-fp/fixtfsi.c: Likewise.
5056         * soft-fp/fixtfti.c: Likewise.
5057         * soft-fp/fixunsdfdi.c: Likewise.
5058         * soft-fp/fixunsdfsi.c: Likewise.
5059         * soft-fp/fixunsdfti.c: Likewise.
5060         * soft-fp/fixunssfdi.c: Likewise.
5061         * soft-fp/fixunssfsi.c: Likewise.
5062         * soft-fp/fixunssfti.c: Likewise.
5063         * soft-fp/fixunstfdi.c: Likewise.
5064         * soft-fp/fixunstfsi.c: Likewise.
5065         * soft-fp/fixunstfti.c: Likewise.
5066         * soft-fp/floatdidf.c: Likewise.
5067         * soft-fp/floatdisf.c: Likewise.
5068         * soft-fp/floatditf.c: Likewise.
5069         * soft-fp/floatsidf.c: Likewise.
5070         * soft-fp/floatsisf.c: Likewise.
5071         * soft-fp/floatsitf.c: Likewise.
5072         * soft-fp/floattidf.c: Likewise.
5073         * soft-fp/floattisf.c: Likewise.
5074         * soft-fp/floattitf.c: Likewise.
5075         * soft-fp/floatundidf.c: Likewise.
5076         * soft-fp/floatundisf.c: Likewise.
5077         * soft-fp/floatunditf.c: Likewise.
5078         * soft-fp/floatunsidf.c: Likewise.
5079         * soft-fp/floatunsisf.c: Likewise.
5080         * soft-fp/floatunsitf.c: Likewise.
5081         * soft-fp/floatuntidf.c: Likewise.
5082         * soft-fp/floatuntisf.c: Likewise.
5083         * soft-fp/floatuntitf.c: Likewise.
5084         * soft-fp/fmadf4.c: Likewise.
5085         * soft-fp/fmasf4.c: Likewise.
5086         * soft-fp/fmatf4.c: Likewise.
5087         * soft-fp/gedf2.c: Likewise.
5088         * soft-fp/gesf2.c: Likewise.
5089         * soft-fp/getf2.c: Likewise.
5090         * soft-fp/ledf2.c: Likewise.
5091         * soft-fp/lesf2.c: Likewise.
5092         * soft-fp/letf2.c: Likewise.
5093         * soft-fp/muldf3.c: Likewise.
5094         * soft-fp/mulsf3.c: Likewise.
5095         * soft-fp/multf3.c: Likewise.
5096         * soft-fp/negdf2.c: Likewise.
5097         * soft-fp/negsf2.c: Likewise.
5098         * soft-fp/negtf2.c: Likewise.
5099         * soft-fp/op-1.h: Likewise.
5100         * soft-fp/op-2.h: Likewise.
5101         * soft-fp/op-4.h: Likewise.
5102         * soft-fp/op-8.h: Likewise.
5103         * soft-fp/op-common.h: Likewise.
5104         * soft-fp/quad.h: Likewise.
5105         * soft-fp/single.h: Likewise.
5106         * soft-fp/soft-fp.h: Likewise.
5107         * soft-fp/sqrtdf2.c: Likewise.
5108         * soft-fp/sqrtsf2.c: Likewise.
5109         * soft-fp/sqrttf2.c: Likewise.
5110         * soft-fp/subdf3.c: Likewise.
5111         * soft-fp/subsf3.c: Likewise.
5112         * soft-fp/subtf3.c: Likewise.
5113         * soft-fp/truncdfsf2.c: Likewise.
5114         * soft-fp/trunctfdf2.c: Likewise.
5115         * soft-fp/trunctfsf2.c: Likewise.
5116         * soft-fp/trunctfxf2.c: Likewise.
5117         * soft-fp/unorddf2.c: Likewise.
5118         * soft-fp/unordsf2.c: Likewise.
5119         * soft-fp/unordtf2.c: Likewise.
5120
5121 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
5122
5123         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
5124         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
5125
5126 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
5127
5128         * elf/dl-libc.c: Clear initfini list after freeing.
5129
5130 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
5131
5132         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
5133         * soft-fp/addsf3.c: Likewise.
5134         * soft-fp/addtf3.c: Likewise.
5135         * soft-fp/divdf3.c: Likewise.
5136         * soft-fp/divsf3.c: Likewise.
5137         * soft-fp/divtf3.c: Likewise.
5138         * soft-fp/double.h: Likewise.
5139         * soft-fp/eqdf2.c: Likewise.
5140         * soft-fp/eqsf2.c: Likewise.
5141         * soft-fp/eqtf2.c: Likewise.
5142         * soft-fp/extenddftf2.c: Likewise.
5143         * soft-fp/extended.h: Likewise.
5144         * soft-fp/extendsfdf2.c: Likewise.
5145         * soft-fp/extendsftf2.c: Likewise.
5146         * soft-fp/extendxftf2.c: Likewise.
5147         * soft-fp/fixdfdi.c: Likewise.
5148         * soft-fp/fixdfsi.c: Likewise.
5149         * soft-fp/fixdfti.c: Likewise.
5150         * soft-fp/fixsfdi.c: Likewise.
5151         * soft-fp/fixsfsi.c: Likewise.
5152         * soft-fp/fixsfti.c: Likewise.
5153         * soft-fp/fixtfdi.c: Likewise.
5154         * soft-fp/fixtfsi.c: Likewise.
5155         * soft-fp/fixtfti.c: Likewise.
5156         * soft-fp/fixunsdfdi.c: Likewise.
5157         * soft-fp/fixunsdfsi.c: Likewise.
5158         * soft-fp/fixunsdfti.c: Likewise.
5159         * soft-fp/fixunssfdi.c: Likewise.
5160         * soft-fp/fixunssfsi.c: Likewise.
5161         * soft-fp/fixunssfti.c: Likewise.
5162         * soft-fp/fixunstfdi.c: Likewise.
5163         * soft-fp/fixunstfsi.c: Likewise.
5164         * soft-fp/fixunstfti.c: Likewise.
5165         * soft-fp/floatdidf.c: Likewise.
5166         * soft-fp/floatdisf.c: Likewise.
5167         * soft-fp/floatditf.c: Likewise.
5168         * soft-fp/floatsidf.c: Likewise.
5169         * soft-fp/floatsisf.c: Likewise.
5170         * soft-fp/floatsitf.c: Likewise.
5171         * soft-fp/floattidf.c: Likewise.
5172         * soft-fp/floattisf.c: Likewise.
5173         * soft-fp/floattitf.c: Likewise.
5174         * soft-fp/floatundidf.c: Likewise.
5175         * soft-fp/floatundisf.c: Likewise.
5176         * soft-fp/floatunsidf.c: Likewise.
5177         * soft-fp/floatunsisf.c: Likewise.
5178         * soft-fp/floatuntidf.c: Likewise.
5179         * soft-fp/floatuntisf.c: Likewise.
5180         * soft-fp/floatuntitf.c: Likewise.
5181         * soft-fp/fmadf4.c: Likewise.
5182         * soft-fp/fmasf4.c: Likewise.
5183         * soft-fp/fmatf4.c: Likewise.
5184         * soft-fp/gedf2.c: Likewise.
5185         * soft-fp/gesf2.c: Likewise.
5186         * soft-fp/getf2.c: Likewise.
5187         * soft-fp/ledf2.c: Likewise.
5188         * soft-fp/lesf2.c: Likewise.
5189         * soft-fp/letf2.c: Likewise.
5190         * soft-fp/muldf3.c: Likewise.
5191         * soft-fp/mulsf3.c: Likewise.
5192         * soft-fp/multf3.c: Likewise.
5193         * soft-fp/negdf2.c: Likewise.
5194         * soft-fp/negsf2.c: Likewise.
5195         * soft-fp/negtf2.c: Likewise.
5196         * soft-fp/op-1.h: Likewise.
5197         * soft-fp/op-2.h: Likewise.
5198         * soft-fp/op-4.h: Likewise.
5199         * soft-fp/op-8.h: Likewise.
5200         * soft-fp/op-common.h: Likewise.
5201         * soft-fp/quad.h: Likewise.
5202         * soft-fp/single.h: Likewise.
5203         * soft-fp/soft-fp.h: Likewise.
5204         * soft-fp/sqrtdf2.c: Likewise.
5205         * soft-fp/sqrtsf2.c: Likewise.
5206         * soft-fp/sqrttf2.c: Likewise.
5207         * soft-fp/subdf3.c: Likewise.
5208         * soft-fp/subsf3.c: Likewise.
5209         * soft-fp/subtf3.c: Likewise.
5210         * soft-fp/truncdfsf2.c: Likewise.
5211         * soft-fp/trunctfdf2.c: Likewise.
5212         * soft-fp/trunctfsf2.c: Likewise.
5213         * soft-fp/trunctfxf2.c: Likewise.
5214         * soft-fp/unorddf2.c: Likewise.
5215         * soft-fp/unordsf2.c: Likewise.
5216         * soft-fp/unordtf2.c: Likewise.
5217
5218 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
5219
5220         [BZ #15672]
5221         * misc/error.c (error_tail): Fix possible buffer overflow.
5222
5223 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
5224
5225         [BZ #13028]
5226         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
5227         address.
5228
5229 2013-10-14  P. J. McDermott  <pj@pehjota.net>
5230
5231         [BZ #832]
5232         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
5233         testing pipefail option.
5234
5235 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
5236
5237         * soft-fp/double.h: Indent preprocessor directives inside #if.
5238         * soft-fp/extended.h: Likewise.
5239         * soft-fp/op-2.h: Likewise.
5240         * soft-fp/op-4.h: Likewise.
5241         * soft-fp/op-common.h: Likewise.
5242         * soft-fp/quad.h: Likewise.
5243         * soft-fp/single.h: Likewise.
5244         * soft-fp/soft-fp.h: Likewise.
5245
5246 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
5247
5248         * iconv/iconv_prog.c: Fix typos.
5249         * stdio-common/psiginfo-data.h: Likewise.
5250
5251 2013-10-12   Reuben Thomas <rrt@sc3d.org>
5252
5253         [BZ #15764]
5254         * locale/setlocale.c: Fix typo.
5255
5256 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
5257
5258         [BZ #16036]
5259         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
5260         signaling NaN arguments.
5261         * soft-fp/unordsf2.c (__unordsf2): Likewise.
5262         * soft-fp/unordtf2.c (__unordtf2): Likewise.
5263
5264         [BZ #14910]
5265         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
5266         unordered operands.
5267         * soft-fp/gesf2.c (__gesf2): Likewise.
5268         * soft-fp/getf2.c (__getf2): Likewise.
5269         * soft-fp/ledf2.c (__ledf2): Likewise.
5270         * soft-fp/lesf2.c (__lesf2): Likewise.
5271         * soft-fp/letf2.c (__letf2): Likewise.
5272
5273         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
5274         * soft-fp/eqsf2.c (__eqsf2): Likewise.
5275         * soft-fp/eqtf2.c (__eqtf2): Likewise.
5276         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
5277         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
5278         * soft-fp/fixdfti.c (__fixdfti): Likewise.
5279         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
5280         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
5281         * soft-fp/fixsfti.c (__fixsfti): Likewise.
5282         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
5283         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
5284         * soft-fp/fixtfti.c (__fixtfti): Likewise.
5285         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
5286         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
5287         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
5288         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
5289         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
5290         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
5291         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
5292         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
5293         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
5294         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
5295         * soft-fp/floatdisf.c (__floatdisf): Likewise.
5296         * soft-fp/floatsisf.c (__floatsisf): Likewise.
5297         * soft-fp/floattidf.c (__floattidf): Likewise.
5298         * soft-fp/floattisf.c (__floattisf): Likewise.
5299         * soft-fp/floattitf.c (__floattitf): Likewise.
5300         * soft-fp/floatundidf.c (__floatundidf): Likewise.
5301         * soft-fp/floatundisf.c (__floatundisf): Likewise.
5302         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
5303         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
5304         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
5305         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
5306         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
5307         * soft-fp/gesf2.c (__gesf2): Likewise.
5308         * soft-fp/getf2.c (__getf2): Likewise.
5309         * soft-fp/ledf2.c (__ledf2): Likewise.
5310         * soft-fp/lesf2.c (__lesf2): Likewise.
5311         * soft-fp/letf2.c (__letf2): Likewise.
5312
5313         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
5314         Undefine and redefine.
5315         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
5316         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
5317         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
5318         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
5319         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
5320         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
5321         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
5322         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
5323         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
5324         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
5325         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
5326         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
5327         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
5328         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
5329         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
5330
5331         [BZ #16032]
5332         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
5333         without decrementing exponent if mantissa >= that for the
5334         denominator, not >.
5335         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
5336         denominator, not >.  Decrement exponent in < case instead of
5337         incrementing in >= case.
5338         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
5339         without decrementing exponent if mantissa >= that for the
5340         denominator, not >.
5341
5342         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
5343         computing saturated result for unsigned overflow.
5344
5345 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
5346             Jeff Law  <law@redhat.com>
5347
5348         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
5349         (atan2Mp): Add systemtap probe marker.
5350         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
5351         (__ieee754_log): Add systemtap probe marker.
5352         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
5353         (atanMp): Add systemtap probe marker.
5354         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
5355         (tanMp): Add systemtap probe marker.
5356         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
5357         (__slowexp): Add systemtap probe marker.
5358         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
5359         (__slowpow): Add systemtap probe marker.
5360         * manual/probes.texi: Document probes.
5361
5362 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
5363
5364         [BZ #15362]
5365         * libio/fileops.c (_IO_new_file_write): Return count of bytes
5366         written.
5367         (_IO_new_file_xsputn): Don't return EOF if nothing has been
5368         written.
5369         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
5370         written to buffer but not flushed.
5371         * libio/iofwrite_u.c:  Likewise.
5372         * libio/iopadn.c:  Return bytes returned even if EOF was
5373         encountered.
5374         * libio/iowpadn.c:  Likewise.
5375         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
5376         if _IO_padn does not write the whole buffer.
5377         [!COMPILE_WPRINTF] (PAD): Likewise.
5378
5379 2013-10-10  David S. Miller  <davem@davemloft.net>
5380
5381         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
5382         directory block.
5383
5384 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
5385
5386         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
5387         instead of FSF address.
5388         * soft-fp/fixdfti.c: Likewise.
5389         * soft-fp/fixsfti.c: Likewise.
5390         * soft-fp/fixtfti.c: Likewise.
5391         * soft-fp/fixunsdfti.c: Likewise.
5392         * soft-fp/fixunssfti.c: Likewise.
5393         * soft-fp/fixunstfti.c: Likewise.
5394         * soft-fp/floattidf.c: Likewise.
5395         * soft-fp/floattisf.c: Likewise.
5396         * soft-fp/floattitf.c: Likewise.
5397         * soft-fp/floatuntidf.c: Likewise.
5398         * soft-fp/floatuntisf.c: Likewise.
5399         * soft-fp/floatuntitf.c: Likewise.
5400         * soft-fp/trunctfxf2.c: Likewise.
5401
5402         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
5403         * soft-fp/fixdfti.c: Likewise.
5404         * soft-fp/fixsfti.c: Likewise.
5405         * soft-fp/fixtfti.c: Likewise.
5406         * soft-fp/fixunsdfti.c: Likewise.
5407         * soft-fp/fixunssfti.c: Likewise.
5408         * soft-fp/fixunstfti.c: Likewise.
5409         * soft-fp/floattidf.c: Likewise.
5410         * soft-fp/floattisf.c: Likewise.
5411         * soft-fp/floattitf.c: Likewise.
5412         * soft-fp/floatuntidf.c: Likewise.
5413         * soft-fp/floatuntisf.c: Likewise.
5414         * soft-fp/floatuntitf.c: Likewise.
5415         * soft-fp/trunctfxf2.c: Likewise.
5416
5417 2013-10-10  David S. Miller  <davem@davemloft.net>
5418
5419         * sysdeps/sparc/fpu/libm-test-ulps: Update.
5420
5421 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
5422
5423         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
5424         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
5425         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
5426         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
5427         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
5428         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
5429         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
5430
5431         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
5432         for NaNs before doing comparisons on argument.
5433         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
5434         Likewise.
5435
5436 2013-10-10  Will Newton  <will.newton@linaro.org>
5437
5438         * malloc/hooks.c (memalign_check): Ensure the value of bytes
5439         passed to _int_memalign does not overflow.
5440
5441 2013-10-10  Torvald Riegel  <triegel@redhat.com>
5442
5443         * scripts/bench.pl: Add include-sources directive.
5444         * benchtests/README: Update documentation.
5445
5446 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
5447
5448         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
5449         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
5450         instead of FP_INIT_ROUNDMODE.
5451         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
5452         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
5453
5454         [BZ #16034]
5455         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
5456         copy class of input value.
5457         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
5458         not handle exceptions.
5459         * soft-fp/negsf2.c (__negsf2): Likewise.
5460         * soft-fp/negtf2.c (__negtf2): Likewise.
5461         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
5462
5463 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
5464
5465         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
5466         semicolon.  From Linux kernel.
5467
5468 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
5469
5470         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
5471
5472 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
5473
5474         [BZ #156]
5475         * manual/socket.texi: Added statement about buffer
5476         for gethostbyname2_r.
5477
5478 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
5479
5480         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
5481         Use .p2align directive instead, throughout.
5482         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
5483         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
5484         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
5485         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
5486         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
5487         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
5488         * sysdeps/x86_64/strchr.S: Likewise.
5489         * sysdeps/x86_64/strrchr.S: Likewise.
5490
5491 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
5492
5493         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
5494
5495         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
5496
5497         * sysdeps/generic/math_private.h (__mpsin1): Remove
5498         declaration.
5499         (__mpcos1): Likewise.
5500         (__mpsin): New argument __range_reduce.
5501         (__mpcos): Likewise.
5502         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
5503         (slow): Use __mpsin and __mpcos.
5504         (slow1): Likewise.
5505         (slow2): Likewise.
5506         (sloww): Likewise.
5507         (sloww1): Likewise.
5508         (sloww2): Likewise.
5509         (bsloww): Likewise.
5510         (bsloww1): Likewise.
5511         (bsloww2): Likewise.
5512         (cslow2): Likewise.
5513         (csloww): Likewise.
5514         (csloww1): Likewise.
5515         (csloww2): Likewise.
5516         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
5517         range_reduce.  Merge in __mpsin1.
5518         (__mpcos): Likewise.
5519         (__mpsin1): Remove.
5520         (__mpcos1): Likewise.
5521
5522 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
5523
5524         * locale/loadlocale.c (_nl_intern_locale_data): Use
5525         LOCFILE_ALIGNED_P.
5526         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
5527         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
5528         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
5529         obstack data is appropriately aligned.
5530         (obstack_int32_grow_fast): Likewise.
5531         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
5532         * locale/programs/locfile.c (add_locale_uint32): Likewise.
5533         (add_locale_uint32_array): Likewise.
5534
5535 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
5536
5537         * benchtests/Makefile: Remove ARGLIST and RET variables.
5538         ($(objpfx)bench-%.c): Pass only function name to the script.
5539         * benchtests/README: Update documentation.
5540         * benchtests/acos-inputs: Add new directives.
5541         * benchtests/acosh-inputs: Likewise.
5542         * benchtests/asin-inputs: Likewise.
5543         * benchtests/asinh-inputs: Likewise.
5544         * benchtests/atan-inputs: Likewise.
5545         * benchtests/atanh-inputs: Likewise.
5546         * benchtests/cos-inputs: Likewise.
5547         * benchtests/cosh-inputs: Likewise.
5548         * benchtests/exp-inputs: Likewise.
5549         * benchtests/log-inputs: Likewise.
5550         * benchtests/pow-inputs: Likewise.
5551         * benchtests/rint-inputs: Likewise.
5552         * benchtests/sin-inputs: Likewise.
5553         * benchtests/sinh-inputs: Likewise.
5554         * benchtests/tan-inputs: Likewise.
5555         * benchtests/tanh-inputs: Likewise.
5556         * scripts/bench.pl: Add support for new directives.
5557
5558 2013-10-07  Alan Modra  <amodra@gmail.com>
5559
5560         * README: Fix careless merge.
5561
5562 2013-10-05  Alan Modra  <amodra@gmail.com>
5563
5564         * NEWS: Mention powerpc64le support and bugs fixed.
5565         * README: Both big-endian and little-endian powerpc64 supported.
5566
5567 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
5568
5569         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook,
5570         _hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
5571         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
5572         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
5573
5574 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
5575
5576         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
5577         match prototype.
5578
5579 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
5580
5581         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
5582         Move -mhard-float appending from
5583         ports/sysdeps/powerpc/powerpc32/Makefile.
5584         [$(with-fp) = yes] (ASFLAGS): Likewise.
5585         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
5586         * sysdeps/powerpc/nofpu: Move directory from
5587         ports/sysdeps/powerpc/nofpu.
5588         * sysdeps/powerpc/soft-fp: Move directory from
5589         ports/sysdeps/powerpc/soft-fp.
5590         * sysdeps/powerpc/powerpc32/405: Move directory from
5591         ports/sysdeps/powerpc/powerpc32/405.
5592         * sysdeps/powerpc/powerpc32/440: Move directory from
5593         ports/sysdeps/powerpc/powerpc32/440.
5594         * sysdeps/powerpc/powerpc32/464: Move directory from
5595         ports/sysdeps/powerpc/powerpc32/464.
5596         * sysdeps/powerpc/powerpc32/476: Move directory from
5597         ports/sysdeps/powerpc/powerpc32/476.
5598         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
5599         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
5600         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
5601         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
5602         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
5603         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
5604         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
5605         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
5606         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
5607         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
5608         * README: Update for powerpc-*-linux-gnu software floating point
5609         support in libc.
5610
5611         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
5612         case to powerpc/powerpc32*.
5613         * sysdeps/unix/sysv/linux/configure: Regenerated.
5614
5615         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
5616         (_FPU_MASK_OM): Define as 0x04.
5617         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
5618         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
5619         0x00c10080.
5620         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
5621         0x0000003c.
5622         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
5623
5624         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
5625         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
5626         getcontext_e500.
5627         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
5628         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
5629         setcontext_e500.
5630         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
5631         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
5632         and setcontext_e500.
5633
5634 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
5635
5636         * locale/iso-3166.def: Update iso-1366.def and related occurrences
5637
5638 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
5639
5640         * manual/threads.texi (Default Thread Attributes): Fix typo.
5641
5642 2013-10-04  Will Newton  <will.newton@linaro.org>
5643
5644         * malloc/Makefile: Add tst-memalign.
5645         * malloc/tst-memalign.c: New file.
5646
5647         * malloc/tst-posix_memalign.c: Add comments.
5648         (do_test): Add comments and call free on all potentially
5649         allocated pointers. Add space after cast.
5650
5651         * malloc/tst-pvalloc.c: Add comments.
5652         (do_test): Add comments and call free on all potentially
5653         allocated pointers. Remove duplicate check for NULL pointer.
5654         Add space after cast.
5655
5656         * malloc/tst-valloc.c: Add comments.
5657         (do_test): Add comments and call free on all potentially
5658         allocated pointers. Remove duplicate check for NULL pointer.
5659         Add space after cast.
5660
5661 2013-10-04  Alan Modra  <amodra@gmail.com>
5662
5663         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
5664         Use stdint types in rather than __attribute__((mode())).
5665         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
5666
5667 2013-10-04  Alan Modra  <amodra@gmail.com>
5668
5669         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
5670         Correct handling of unaligned relocs for little-endian.
5671         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
5672
5673 2013-10-04  Alan Modra  <amodra@gmail.com>
5674
5675         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
5676         * configure: Regenerate.
5677         * nptl/shlib-versions: Powerpc*le starts at 2.18.
5678         * shlib-versions: Likewise.
5679
5680 2013-10-04  Alan Modra  <amodra@gmail.com>
5681
5682         * string/tester.c (test_memrchr): Increment reported test cycle.
5683
5684 2013-10-04  Alan Modra  <amodra@gmail.com>
5685
5686         * string/test-memcpy.c (do_one_test): When reporting errors, print
5687         string address and don't overrun end of string.
5688
5689 2013-10-04  Alan Modra  <amodra@gmail.com>
5690
5691         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
5692         insrdi.  Make better use of reg selection to speed exit slightly.
5693         Schedule entry path a little better.  Remove useless "are we done"
5694         checks on entry to main loop.  Handle wrapping around zero address.
5695         Correct main loop count.  Handle single left-over word from main
5696         loop inline rather than by using loop_small.  Remove extra word
5697         case in loop_small caused by wrong loop count.  Add little-endian
5698         support.
5699         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
5700         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
5701         cache hint.
5702         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
5703         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
5704         support.  Avoid rlwimi.
5705         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
5706
5707 2013-10-04  Alan Modra  <amodra@gmail.com>
5708
5709         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
5710         insrdi.  Formatting.
5711         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
5712         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
5713         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
5714         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
5715         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
5716         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
5717
5718 2013-10-04  Alan Modra  <amodra@gmail.com>
5719
5720         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
5721         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
5722         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
5723         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
5724         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
5725         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
5726         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
5727         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
5728         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
5729         use of regs.  Use power7 mtocrf.  Tidy function tails.
5730
5731 2013-10-04  Alan Modra  <amodra@gmail.com>
5732
5733         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
5734         Formatting.  Consistently use rXXX register defines or rN defines.
5735         Use early exit labels that avoid restoring unused non-volatile regs.
5736         Make cr field use more consistent with rWORDn compares.  Rename
5737         regs used as shift registers for unaligned loop, using rN defines
5738         for short lifetime/multiple use regs.
5739         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
5740         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
5741         addi 1,1,64 to pop stack frame.  Simplify return value code.
5742         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
5743
5744 2013-10-04  Alan Modra  <amodra@gmail.com>
5745
5746         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
5747         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
5748         rather than rlwimi.
5749         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
5750         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
5751         little-endian support.  Correct typos.
5752         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
5753         rather than rlwimi.
5754         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
5755         in loop and entry code to keep "and." results.
5756         (strchr): Add little-endian support.  Comment.  Move cntlzd
5757         earlier in tail.
5758         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
5759
5760 2013-10-04  Alan Modra  <amodra@gmail.com>
5761
5762         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
5763         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
5764         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
5765         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
5766
5767 2013-10-04  Alan Modra  <amodra@gmail.com>
5768
5769         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
5770         (rTMP): Define as r11.
5771         (strcmp): Add little-endian support.  Optimise tail.
5772         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
5773         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
5774         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
5775         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
5776         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
5777         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
5778         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
5779
5780 2013-10-04  Alan Modra  <amodra@gmail.com>
5781
5782         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
5783         little-endian support.  Remove unnecessary "are we done" tests.
5784         Handle "s" wrapping around zero and extremely large "size".
5785         Correct main loop count.  Handle single left-over word from main
5786         loop inline rather than by using small_loop.  Correct comments.
5787         Delete "zero" tail, use "end_max" instead.
5788         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
5789
5790 2013-10-04  Alan Modra  <amodra@gmail.com>
5791
5792         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
5793         support.  Don't branch over align.
5794         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
5795         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
5796         support.  Rearrange tmp reg use to suit.  Comment.
5797         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
5798
5799 2013-10-04  Alan Modra  <amodra@gmail.com>
5800
5801         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
5802
5803 2013-10-04  Alan Modra  <amodra@gmail.com>
5804
5805         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
5806         conditional form of branch and link when obtaining pc.
5807         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
5808
5809 2013-10-04  Alan Modra  <amodra@gmail.com>
5810
5811         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
5812         HIWORD/LOWORD.
5813         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
5814         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
5815
5816 2013-10-04  Alan Modra  <amodra@gmail.com>
5817
5818         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
5819         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
5820         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
5821         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
5822         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
5823         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
5824         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
5825         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
5826         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
5827         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
5828
5829 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
5830             Alistair Popple <alistair@ozlabs.au.ibm.com>
5831             Alan Modra <amodra@gmail.com>
5832
5833         [BZ #15723]
5834         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
5835         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
5836         _dl_hwcap access for little-endian.
5837         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
5838         destroy vmx regs when saving unaligned.
5839         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
5840         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
5841         destroy vmx regs when saving unaligned.
5842
5843 2013-10-04  Alan Modra  <amodra@gmail.com>
5844
5845         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
5846         Don't use a union to pack hi/low value.
5847
5848 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
5849
5850         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
5851         for little-endian.
5852         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
5853         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
5854         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
5855         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
5856         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
5857
5858 2013-10-04  Alan Modra  <amodra@gmail.com>
5859
5860         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
5861         constants to usual value for .cst8 section, and remove redundant
5862         high address load.
5863         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
5864         constant for 0x1p52.  Load little-endian words of double from
5865         correct stack offsets.
5866
5867 2013-10-04  Alan Modra  <amodra@gmail.com>
5868
5869         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
5870         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
5871         words of double from correct stack offsets.
5872         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
5873         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
5874         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
5875         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
5876         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
5877         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
5878         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
5879         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
5880         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
5881         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
5882         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
5883         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
5884         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
5885         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
5886         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
5887         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
5888         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
5889
5890 2013-10-04  Alan Modra  <amodra@gmail.com>
5891
5892         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
5893         64-bit int/double union.
5894         (_FPU_SETCW): Likewise.
5895         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
5896         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
5897
5898 2013-10-04  Alan Modra  <amodra@gmail.com>
5899
5900         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
5901         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
5902
5903 2013-10-04  Alan Modra  <amodra@gmail.com>
5904
5905         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
5906         use vector int constants.
5907         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
5908
5909 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
5910
5911         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
5912         array with long long.
5913         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
5914         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
5915         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
5916         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
5917         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
5918         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
5919         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
5920         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
5921         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
5922         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
5923         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
5924         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
5925         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
5926
5927 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
5928
5929         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
5930         (__signbit): Likewise.  Correct for little-endian.
5931         (__signbitl): Call __signbit.
5932         (lrint): Correct for little-endian.
5933         (lrintf): Call lrint.
5934
5935 2013-10-04  Alan Modra  <amodra@gmail.com>
5936
5937         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
5938         union 32-bit int array member with 64-bit int array.
5939         (t515, tm256): Double rather than long double.
5940         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
5941
5942 2013-10-04  Alan Modra  <amodra@gmail.com>
5943
5944         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
5945         Delete.
5946         (IEEE854_LONG_DOUBLE_BIAS): Delete.
5947         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
5948         version of math_ldbl.h.
5949
5950 2013-10-04  Alan Modra  <amodra@gmail.com>
5951
5952         [BZ #15734], [BZ #15735]
5953         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
5954         all uses of ieee875 long double macros and unions.  Simplify test
5955         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
5956         ldbl_extract_mantissa value for ix,iy exponents.  Properly
5957         normalize after ldbl_extract_mantissa, and don't add hidden bit
5958         already handled.  Don't treat low word of ieee854 mantissa like
5959         low word of IBM long double and mask off bit when testing for
5960         zero.
5961         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
5962         all uses of ieee875 long double macros and unions.  Simplify tests
5963         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
5964         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
5965         two1022, instead use their values.  Recognise that tests for large
5966         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
5967         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
5968         Rewrite all uses of ieee875 long double macros and unions.  Simplify
5969         test for 0.0L and nan.  Correct negation.
5970         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
5971         ieee875 long double macros and unions.  Correct output for large
5972         magnitude x.  Correct absolute value calculation.
5973         (__erfcl): Likewise.
5974         * math/libm-test.inc: Add tests for errors discovered in IBM long
5975         double versions of fmodl, remainderl, erfl and erfcl.
5976
5977 2013-10-04  Alan Modra  <amodra@gmail.com>
5978
5979         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
5980         all uses of ieee854 long double macros and unions.  Simplify tests
5981         for long doubles that are fully specified by the high double.
5982         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
5983         Likewise.
5984         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
5985         Remove dead code too.
5986         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
5987         (__ieee754_ynl): Likewise.
5988         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
5989         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
5990         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
5991         Remove dead code too.
5992         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
5993         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
5994         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
5995         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
5996         Simplify.
5997         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
5998         Simplify.
5999         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
6000         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
6001         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
6002         Comment on variable precision.
6003         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
6004         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
6005         Likewise.
6006         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
6007         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
6008         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
6009         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
6010         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
6011
6012 2013-10-04  Alan Modra  <amodra@gmail.com>
6013
6014         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
6015         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
6016         all uses of ieee854 long double macros and unions.
6017         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
6018         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
6019         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
6020         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
6021         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
6022         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
6023         Likewise.
6024         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
6025         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
6026         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
6027         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
6028         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
6029         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
6030         Simplify sign and nan test too.
6031         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
6032         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
6033         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
6034         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
6035         Likewise.
6036         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
6037         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
6038         Likewise.
6039         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
6040         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
6041         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
6042         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
6043         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
6044         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
6045
6046 2013-10-04  Alan Modra  <amodra@gmail.com>
6047
6048         * stdio-common/printf_size.c (__printf_size): Don't use
6049         union ieee854_long_double in fpnum union.
6050         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
6051         signbit macro to retrieve sign from long double.
6052         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
6053         retrieve sign from long double.
6054         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
6055         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
6056         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
6057         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
6058         * math/test-misc.c (main): Don't use union ieee854_long_double.
6059
6060 2013-10-04  Alan Modra  <amodra@gmail.com>
6061
6062         [BZ #15680]
6063         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
6064         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
6065         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
6066         calculation.  Remove unnecessary test for denormal exponent.
6067         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
6068         Correct handling of denormals.  Avoid undefined shift behaviour.
6069         Correct normalisation of low mantissa when low double is denormal.
6070         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
6071         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
6072         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
6073         Correct normalisation of low mantissa.  Test for overflow of high
6074         mantissa and normalise.
6075         (ldbl_nearbyint): Use more readable constant for two52.
6076         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
6077         (__mpn_construct_long_double): Fix test for overflow of high
6078         mantissa and correct normalisation.  Avoid undefined shift.
6079
6080 2013-10-04  Alan Modra  <amodra@gmail.com>
6081
6082         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
6083         (union ibm_extended_long_double): Define as an array of ieee754_double.
6084         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
6085         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
6086         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
6087         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
6088         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
6089         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
6090         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
6091         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
6092         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
6093         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
6094         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
6095
6096 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
6097
6098         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
6099         page size instead of calling getpagesize.
6100
6101         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
6102         (LOCFILE_ALIGN_MASK): Likewise.
6103         (LOCFILE_ALIGN_UP): Likewise.
6104         (LOCFILE_ALIGNED_P): Likewise.
6105         * locale/programs/ld-collate.c (collate_output): Use the new
6106         macros instead of __alignof__ (int32_t).
6107         * locale/weight.h (findidx): Likewise.
6108
6109 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
6110
6111         [BZ #431]
6112         * manual/string.texi: Fix strncat and wcsncat.
6113
6114 2013-10-03  Brooks Moses  <bmoses@google.com>
6115
6116         [BZ #15915]
6117         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
6118         * Makerules: ...here, and adjust associated comments.
6119
6120 2013-10-02  Will Newton  <will.newton@linaro.org>
6121
6122         * malloc/Makefile: Add tst-pvalloc.
6123         * malloc/tst-pvalloc.c: New file.
6124
6125 2013-10-02  Will Newton  <will.newton@linaro.org>
6126
6127         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
6128         improve test coverage.
6129
6130 2013-10-02  Will Newton  <will.newton@linaro.org>
6131
6132         * malloc/Makefile: Add tst-posix_memalign.
6133         * malloc/tst-posix_memalign.c: New file.
6134
6135 2013-10-01  Eric Blake  <eblake@redhat.com>
6136
6137         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
6138         Use __THROWNL rather than __THROW on static functions.
6139
6140 2013-09-30  Petr Machata  <pmachata@redhat.com>
6141
6142         * elf/elf.h (R_AARCH64_ABS16): New macro.
6143         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
6144         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
6145         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
6146         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
6147         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
6148         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
6149         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
6150         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
6151         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
6152         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
6153         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
6154         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
6155         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
6156         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
6157         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
6158         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
6159         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
6160         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
6161         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
6162         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
6163         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
6164         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
6165         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
6166         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
6167         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
6168         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
6169         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
6170         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
6171         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
6172         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
6173         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
6174         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
6175         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
6176         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
6177         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
6178         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
6179         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
6180         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
6181         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
6182         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
6183         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
6184         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
6185         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
6186         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
6187         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
6188         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
6189         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
6190         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
6191         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
6192         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
6193         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
6194         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
6195         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
6196         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
6197         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
6198         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
6199         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
6200         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
6201         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
6202         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
6203         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
6204         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
6205         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
6206         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
6207         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
6208         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
6209         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
6210         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
6211         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
6212         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
6213         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
6214         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
6215         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
6216         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
6217         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
6218         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
6219         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
6220         (R_AARCH64_TLSDESC_LDR): Likewise.
6221         (R_AARCH64_TLSDESC_ADD): Likewise.
6222         (R_AARCH64_TLSDESC_CALL): Likewise.
6223
6224 2013-09-30  Andreas Schwab  <schwab@suse.de>
6225
6226         [BZ #15048]
6227         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
6228         the nss database lookup.
6229         * nscd/initgrcache.c (addinitgroupsX): Likewise.
6230         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
6231
6232 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
6233
6234         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
6235
6236 2013-09-28  P. J. McDermott  <pj@pehjota.net>
6237
6238         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
6239         ${Bash-specific parameter/pattern/string} parameter expansion.
6240         * sysdeps/unix/make-syscalls.sh: Likewise.
6241
6242 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
6243
6244         * sysdeps/sh/stackguard-macros.h: New file.
6245
6246 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
6247
6248         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
6249         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
6250         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
6251         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
6252         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
6253         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
6254
6255 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6256
6257         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
6258         Fix thread ID register.
6259
6260 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
6261
6262         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
6263         [POSIX || UNIX98]: Require rather than permitting all symbols from
6264         <time.h>.
6265         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
6266         element of struct sched_param.
6267         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
6268         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
6269         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
6270         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
6271         constant.
6272
6273 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
6274
6275         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
6276         argument calculation.
6277
6278 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
6279
6280         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
6281         Expect macro.
6282         [POSIX] (pthread_attr_t): Do not require type.
6283         [POSIX] (pthread_cond_t): Likewise.
6284         [POSIX] (pthread_condattr_t): Likewise.
6285         [POSIX] (pthread_key_t): Likewise.
6286         [POSIX] (pthread_mutex_t): Likewise.
6287         [POSIX] (pthread_mutexattr_t): Likewise.
6288         [POSIX] (pthread_once_t): Likewise.
6289         [POSIX] (pthread_t): Likewise.
6290         [POSIX-based standards] (pthread_atfork): Expect function.
6291
6292 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
6293             Richard Sandiford  <richard@codesourcery.com>
6294
6295         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
6296         (swap_endianness_p): New extern variable.
6297         (set_big_endian): New inline function.
6298         (maybe_swap_uint32): Likewise.
6299         (maybe_swap_uint32_array): Likewise.
6300         (maybe_swap_uint32_obstack): Likewise.
6301         * locale/programs/locfile.c: Include <stdbool.h>.
6302         (swap_endianness_p): New variable.
6303         (add_locale_uint32): Call maybe_swap_uint32.
6304         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
6305         (write_locale_data): Call maybe_swap_uint32_array.
6306         * locale/programs/ld-collate.c (obstack_int32_grow): Call
6307         maybe_swap_uint32.
6308         (obstack_int32_grow_fast): Likewise.
6309         (output_weightwc): Call maybe_swap_uint32_obstack.
6310         (collate_output): Likewise.
6311         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
6312         (OPT_LITTLE_ENDIAN): Likewise.
6313         (options): Add --little-endian and --big-endian options.
6314         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
6315         * locale/programs/locarchive.c: Include "locfile.h".
6316         (GET): New macro.
6317         (SET): Likewise.
6318         (INC): Likewise.
6319         (create_archive): Use the new macros to access fields of
6320         structures directly mapped from or written to locale archives.
6321         (oldlocrecentcmp): Likewise.
6322         (enlarge_archive): Likewise.
6323         (insert_name): Likewise.
6324         (add_alias): Likewise.
6325         (add_locale): Likewise.
6326         (delete_locales_from_archive): Likewise.
6327         (show_archive_content): Likewise.
6328         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
6329         locale data.
6330
6331 2013-09-24  Roland McGrath  <roland@hack.frob.com>
6332
6333         * manual/freemanuals.texi: Updated from (newly) canonical copy at
6334         http://www.gnu.org/doc/freemanuals.texi.
6335         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
6336
6337 2013-09-24  Will Newton  <will.newton@linaro.org>
6338
6339         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
6340         macro.
6341
6342 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
6343
6344         * locale/hashval.h (compute_hashval): Interpret bytes of key as
6345         unsigned char.
6346
6347 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
6348
6349         * manual/threads.texi (POSIX Threads): Fix a typo.
6350
6351 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
6352
6353         [BZ #14547]
6354         * string/tst-strcoll-overflow.c: New test case.
6355         * string/Makefile (xtests): Add tst-strcoll-overflow.
6356         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
6357         cache if string sizes may cause integer overflow.
6358
6359         [BZ #14547]
6360         * string/strcoll_l.c (coll_seq): New members rule, idx,
6361         save_idx and back_us.
6362         (get_next_seq_nocache): New function.
6363         (do_compare_nocache): New function.
6364         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
6365         when malloc fails.
6366
6367 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
6368
6369         [BZ #15754]
6370         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
6371         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
6372         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
6373
6374         [BZ #15754]
6375         * elf/Makefile (tests): Add tst-ptrguard1.
6376         (tests-static): Add tst-ptrguard1-static.
6377         (tst-ptrguard1-ARGS): Define.
6378         (tst-ptrguard1-static-ARGS): Define.
6379         * elf/tst-ptrguard1.c: New file.
6380         * elf/tst-ptrguard1-static.c: New file.
6381         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
6382         * sysdeps/i386/stackguard-macros.h: Likewise.
6383         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
6384         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
6385         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
6386         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
6387         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
6388         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
6389
6390 2013-09-23  Hector Marco  <hecmargi@upv.es>
6391             Ismael Ripoll  <iripoll@disca.upv.es>
6392             Carlos O'Donell  <carlos@redhat.com>
6393
6394         [BZ #15754]
6395         * sysdeps/generic/stackguard-macros.h: Define
6396         __pointer_chk_guard_local and POINTER_CHK_GUARD.
6397         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
6398         Define __pointer_chk_guard_local.
6399         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
6400         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
6401
6402 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
6403
6404         [BZ #15859]
6405         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
6406
6407 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
6408
6409         * include/string.h (__ffs): Declare as hidden.
6410         * string/ffs.c (__ffs): Define as hidden.
6411         * sysdeps/i386/ffs.c (__ffs): Likewise.
6412         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
6413         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
6414         * sysdeps/s390/ffs.c (__ffs): Likewise.
6415         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
6416
6417 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
6418
6419         * NEWS: Mention malloc probes.
6420
6421         * malloc/arena.c (new_heap): New memory_heap_new probe.
6422         (grow_heap): New memory_heap_more probe.
6423         (shrink_heap): New memory_heap_less probe.
6424         (heap_trim): New memory_heap_free probe.
6425         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
6426         (systrim): New memory_sbrk_less probe.
6427         * manual/probes.texi: Document them.
6428
6429         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
6430         * manual/probes.texi: Document it.
6431
6432         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
6433         (__libc_realloc): Add memory_realloc_retry probe.
6434         (__libc_memalign): Add memory_memalign_retry probe.
6435         (__libc_valloc): Add memory_valloc_retry probe.
6436         (__libc_pvalloc): Add memory_pvalloc_retry probe.
6437         (__libc_calloc): Add memory_calloc_retry probe.
6438         * manual/probes.texi: Document them.
6439
6440         * malloc/arena.c (get_free_list): Add probe
6441         memory_arena_reuse_free_list.
6442         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
6443         and memory_arena_reuse.
6444         (arena_get2) [!PER_THREAD]: Likewise.
6445         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
6446         memory_arena_reuse_realloc.
6447         * manual/probes.texi: Document them.
6448
6449         * malloc/malloc.c (__libc_free): Add
6450         memory_mallopt_free_dyn_thresholds probe.
6451         (__libc_mallopt): Add multiple memory_mallopt probes.
6452         * manual/probes.texi: Document them.
6453
6454         * malloc/malloc.c: Include stap-probe.h.
6455         (__libc_mallopt): Add memory_mallopt probe.
6456         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
6457         * manual/probes.texi: New.
6458         * manual/Makefile (chapters): Add probes.
6459         * manual/threads.texi: Set next node.
6460
6461 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
6462
6463         [BZ #15963, #13985]
6464         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
6465         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
6466         Add `Chinese' to `nan' entry name.
6467
6468 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
6469
6470         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
6471         (POLYNOMIAL): Likewise.
6472         (TAYLOR_SINCOS): Likewise.
6473         (TAYLOR_SLOW): Likewise.
6474         (__sin): Use TAYLOR_SINCOS.
6475         (__cos): Likewise.
6476         (slow): Use TAYLOR_SLOW.
6477         (sloww): Likewise.
6478         (bsloww): Likewise.
6479         (csloww): Likewise.
6480
6481 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
6482
6483         * stdlib/strtod_l.c: Fix buffer overrun.
6484
6485 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
6486
6487         * benchtests/Makefile (bench): Add sincos.
6488         * benchtests/bench-sincos.c: New file.
6489
6490         * math/libm-test.inc (cos_test_data): New test inputs.
6491         (sin_test_data): Likewise.
6492
6493         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
6494         macro.
6495         (__sin): Use it.
6496         (__cos): Likewise.
6497         (slow1): Likewise.
6498         (slow2): Likewise.
6499         (sloww1): Likewise.
6500         (sloww2): Likewise.
6501         (bsloww1): Likewise.
6502         (bsloww2): Likewise.
6503         (cslow2): Likewise.
6504         (csloww1): Likewise.
6505         (csloww2): Likewise.
6506
6507         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
6508         function.
6509         (__sin): Use it.
6510         (__cos): Likewise.
6511
6512         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
6513         gotos.
6514         (__cos): Likewise.
6515
6516 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
6517
6518         * config.h.in (HAVE_MIPS_NAN2008): New macro.
6519         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
6520         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
6521         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
6522         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
6523         * elf/cache.c (print_entry): Handle the new cache flags.
6524
6525 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
6526             Aldy Hernandez  <aldyh@redhat.com>
6527
6528         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
6529         Change condition to [_SOFT_FLOAT].
6530         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
6531         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
6532         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
6533         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
6534         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
6535         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
6536         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
6537         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
6538         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
6539         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
6540         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
6541         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
6542         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
6543         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
6544         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
6545         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
6546         declaration.
6547
6548 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
6549
6550         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
6551         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
6552         (__longjmp): Use LOAD_GP to load saved GPRs.
6553         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
6554         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
6555         (__sigsetjmp): Use SAVE_GP to save GPRs.
6556
6557         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
6558         Do not append -msoft-float.
6559         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
6560
6561 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
6562
6563         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
6564
6565 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
6566
6567         [BZ #15966]
6568         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
6569         (_FPU_GETCW): Use initial "__" on variable and field names but not
6570         on macro parameter name.
6571         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
6572         parentheses around reference to macro parameter.
6573
6574 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
6575
6576         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
6577         prototype.
6578         (ctype_startup): Use uint32_t in cast and sizeof for
6579         ctype->charnames.
6580
6581 2013-09-11  Jia Liu  <proljc@gmail.com>
6582
6583         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
6584         __daddr_t_defined.
6585         [__FreeBSD__]: Likewise.
6586
6587 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
6588
6589         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
6590         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
6591         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
6592         (strchr): Remove __strchr_sse42 ifunc selection.
6593         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
6594         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
6595
6596 2013-09-11  Will Newton  <will.newton@linaro.org>
6597
6598         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
6599         parameter to RES. Remove hardcoded 1000 value.
6600         * benchtests/bench-skeleton.c (main): Pass RES parameter
6601         to TIMING_INIT and multiply result by 1000.
6602
6603 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6604
6605         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6606
6607 2013-09-11  Andreas Schwab  <schwab@suse.de>
6608
6609         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
6610         if not defined.
6611         (O_TMPFILE) [__USE_GNU]: Define.
6612         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
6613         Define.
6614
6615 2013-09-11  Will Newton  <will.newton@linaro.org>
6616
6617         [BZ #15857]
6618         * malloc/malloc.c (__libc_memalign): Check the value of bytes
6619         does not overflow.
6620
6621 2013-09-11  Will Newton  <will.newton@linaro.org>
6622
6623         [BZ #15856]
6624         * malloc/malloc.c (__libc_valloc): Check the value of bytes
6625         does not overflow.
6626
6627 2013-09-11  Will Newton  <will.newton@linaro.org>
6628
6629         [BZ #15855]
6630         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
6631         does not overflow.
6632
6633 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
6634
6635         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
6636         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
6637         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
6638         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
6639         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
6640
6641 2013-09-10  Allan McRae  <allan@archlinux.org>
6642
6643         [BZ #15748]
6644         * manual/arith.texi (Parsing of Floats): Clarify
6645         cross-reference.
6646
6647         [BZ #15849]
6648         * manual/install.texi (Running make install): Mention
6649         --enable-pt-chown.
6650         * INSTALL: Regenerated.
6651
6652 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
6653
6654         * csu/init-first.c (_init): Remove the !SHARED condition around
6655         FPU control word initialization.
6656         * elf/dl-support.c (_dl_fpu_control): New variable.
6657         (_dl_aux_init) <AT_FPUCW>: Initialize it.
6658         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
6659         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
6660         * math/test-fpucw-static.c: New file.
6661         * math/test-fpucw-ieee.c: New file.
6662         * math/test-fpucw-ieee-static.c: New file.
6663         * math/Makefile (tests): Add `test-fpucw-ieee' and
6664         `$(tests-static)'.
6665         (tests-static): New variable.
6666         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
6667         dependency to...
6668         [($(build-shared),yes)]
6669         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
6670         ... this.
6671         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
6672         New dependency.
6673
6674 2013-09-09  Allan McRae  <allan@archlinux.org>
6675
6676         [BZ #15939]
6677         * manual/string.texi (Collation Functions): Fix typo in
6678         strcoll example.
6679         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
6680
6681         [BZ #15893]
6682         * stdlib/isomac.c (get_null_defines): Fix memory leak.
6683
6684         [BZ #15892]
6685         * libio/memstream.c (open_memstream): Fix memory leak.
6686         * libio/wmemstream.c (open_wmemstream): Likewise.
6687
6688         [BZ #15895]
6689         * nscd/netgroupcache.c: Fix nesting of ifdefs.
6690
6691 2013-09-09  Will Newton  <will.newton@linaro.org>
6692
6693         * malloc/Makefile: Add tst-realloc to tests.
6694         * malloc/tst-realloc.c: New file.
6695
6696 2013-09-09  Allan McRae  <allan@archlinux.org>
6697
6698         [BZ #15844]
6699         * COPYING: Update from GNU website to fix FSF address.
6700         * COPYING.LIB: Likewise.
6701
6702 2013-09-06  David S. Miller  <davem@davemloft.net>
6703
6704         * po/zh_TW.po: Update Chinese (traditional) translation from
6705         translation project.
6706
6707 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
6708             Joseph Myers  <joseph@codesourcery.com>
6709
6710         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
6711         "localeinfo.h".
6712         (obstack_chunk_alloc): New macro.
6713         (obstack_chunk_free): Likewise.
6714         (record_offset): New function.
6715         (init_locale_data): Likewise.
6716         (align_locale_data): Likewise.
6717         (add_locale_empty): Likewise.
6718         (add_locale_raw_data): Likewise.
6719         (add_locale_raw_obstack): Likewise.
6720         (add_locale_string): Likewise.
6721         (add_locale_wstring): Likewise.
6722         (add_locale_uint32): Likewise.
6723         (add_locale_uint32_array): Likewise.
6724         (add_locale_char): Likewise.
6725         (start_locale_structure): Likewise.
6726         (end_locale_structure): Likewise.
6727         (start_locale_prelude): Likewise.
6728         (end_locale_prelude): Likewise.
6729         (write_locale_data): Take locale_file structure rather than an
6730         iovec.
6731         * locale/programs/locfile.h: Include "obstack.h".
6732         (struct locale_file): Change to store locale file contents instead
6733         of header.
6734         (init_locale_data): New prototype.
6735         (align_locale_data): Likewise.
6736         (add_locale_empty): Likewise.
6737         (add_locale_raw_data): Likewise.
6738         (add_locale_raw_obstack): Likewise.
6739         (add_locale_string): Likewise.
6740         (add_locale_wstring): Likewise.
6741         (add_locale_uint32): Likewise.
6742         (add_locale_uint32_array): Likewise.
6743         (add_locale_char): Likewise.
6744         (start_locale_structure): Likewise.
6745         (end_locale_structure): Likewise.
6746         (start_locale_prelude): Likewise.
6747         (end_locale_prelude): Likewise.
6748         (write_locale_data): Update prototype.
6749         * locale/programs/3level.h (struct TABLE): Remove result field.
6750         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
6751         Use new locale_file interface.
6752         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
6753         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
6754         * locale/programs/ld-address.c (address_output): Use new
6755         locale_file interface.
6756         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
6757         NO_ADD_LOCALE.
6758         (collate_finish): Don't call collseq_table_finalize.
6759         (collate_output): Use new locale_file interface.
6760         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
6761         in file.
6762         (NO_FINALIZE): Change to NO_ADD_LOCALE.
6763         (TABLE): Move defines earlier in file.
6764         (ELEMENT): Likewise.
6765         (DEFAULT): Likewise.
6766         (wctrans_table_add): Move macro and inline function earlier in
6767         file.
6768         (struct wctype_table): Move type earlier in file.
6769         (add_locale_wctype_table): New static prototype.
6770         (struct locale_ctype_t): Use logical types instead of struct iovec
6771         pointers for members.
6772         (ctype_output): Use new locale_file interface.
6773         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
6774         new locale_file interface.
6775         (allocate_arrays): Update for use of new locale_file interface.
6776         * locale/programs/ld-identification.c (identification_output): Use
6777         new locale_file interface.
6778         * locale/programs/ld-measurement.c (measurement_output): Likewise.
6779         * locale/programs/ld-messages.c (messages_output): Likewise.
6780         * locale/programs/ld-monetary.c (monetary_output): Likewise.
6781         * locale/programs/ld-name.c (name_output): Likewise.
6782         * locale/programs/ld-numeric.c (numeric_output): Likewise.
6783         * locale/programs/ld-paper.c (paper_output): Likewise.
6784         * locale/programs/ld-telephone.c (telephone_output): Likewise.
6785         * locale/programs/ld-time.c (time_output): Likewise.
6786
6787 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6788
6789         * benchtests/Makefile: Add memrchr benchmark.
6790         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
6791         benchmark as memrchr.
6792         * benchtests/bench-memrchr-ifunc.c: New file.
6793         * benchtests/bench-memrchr.c: New file.
6794
6795 2013-09-06   Will Newton  <will.newton@linaro.org>
6796
6797         * benchtests/Makefile (string-bench): Add memcpy.
6798
6799 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
6800             Cong Wang  <amwang@redhat.com>
6801
6802         [BZ #15850]
6803         * sysdeps/unix/sysv/linux/bits/in.h
6804         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
6805         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
6806         before __USE_KERNEL_IPV6_DEFS uses.
6807         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
6808         IPPROTO_BEETPH.
6809         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
6810         sockaddr_in6, or ipv6_mreq.
6811
6812 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6813
6814         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
6815         memory access for final bytes in some large inputs.
6816         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
6817
6818 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6819
6820         * string/test-memrchr.c: New file.
6821         * string/test-memrchr-ifunc.c: New file.
6822         * string/Makefile: Add new memrchr testcase.
6823
6824 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
6825
6826         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
6827         fanotify_init returns EPERM.
6828
6829 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
6830
6831         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
6832         errors.
6833         (top level): Treat second token from macro or constant entries for
6834         allowed headers as allowed.
6835         * include/complex.h: Condition internal declarations on
6836         [!_ISOMAC].
6837         * include/fenv.h: Condition include of <stdbool.h> and internal
6838         declarations on [!_ISOMAC].
6839
6840 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
6841
6842         [BZ #15923]
6843         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
6844
6845 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
6846
6847         * configure.in (--enable-versioning): Remove configure option.
6848         (libc_cv_asm_symver_directive): Remove configure test.
6849         (libc_cv_ld_version_script_option): Likewise.
6850         (VERSIONING): Remove variable and AC_SUBST.
6851         (DO_VERSIONING): Remove AC_DEFINE.
6852         * configure: Regenerated.
6853         * config.h.in (DO_VERSIONING): Remove macro.
6854         * Makerules [$(versioning) = yes]: Change conditionals to
6855         [$(build-shared) = yes].
6856         * config.make.in (versioning): Remove variable.
6857         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
6858         [$(build-shared) = yes].
6859         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
6860         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
6861         * elf/Makefile [$(versioning) = yes]: Change conditionals to
6862         [$(build-shared) = yes].
6863         * extra-lib.mk [$(versioning) = yes]: Likewise.
6864         * hurd/Makefile [$(versioning) = yes]: Likewise.
6865         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
6866         [SHARED].
6867         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
6868         [SHARED].
6869         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
6870         [SHARED && !NO_HIDDEN].
6871         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
6872         [SHARED].
6873         [SHARED && DO_VERSIONING]: Likewise..
6874         * libio/Makefile [$(versioning) = yes]: Change conditionals to
6875         [$(build-shared) = yes].
6876         * manual/install.texi (--disable-versioning): Remove
6877         documentation.
6878         * INSTALL: Regenerated.
6879         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
6880         to [SHARED].
6881         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
6882         [$(build-shared) = yes].
6883         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
6884         * sysdeps/i386/i686/multiarch/strstr-c.c
6885         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
6886         [SHARED && !NO_HIDDEN].
6887         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
6888         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
6889         * sysdeps/powerpc/powerpc32/dl-machine.c
6890         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
6891         * sysdeps/powerpc/powerpc32/sysdep.h
6892         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
6893         to [SHARED && PIC && !NO_HIDDEN].
6894         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
6895         conditional to [SHARED].
6896
6897 2013-09-04   Will Newton  <will.newton@linaro.org>
6898
6899         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
6900         * benchtests/bench-string.h: Include bench-timing.h instead
6901         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
6902         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
6903         call to HP_TIMING_DIFF_INIT.
6904         * benchtests/bench-memccpy.c: Use bench-timing.h macros
6905         instead of hp-timing.h macros.
6906         * benchtests/bench-memchr.c: Likewise.
6907         * benchtests/bench-memcmp.c: Likewise.
6908         * benchtests/bench-memcpy.c: Likewise.
6909         * benchtests/bench-memmem.c: Likewise.
6910         * benchtests/bench-memmove.c: Likewise.
6911         * benchtests/bench-memset.c: Likewise.
6912         * benchtests/bench-rawmemchr.c: Likewise.
6913         * benchtests/bench-strcasecmp.c: Likewise.
6914         * benchtests/bench-strcasestr.c: Likewise.
6915         * benchtests/bench-strcat.c: Likewise.
6916         * benchtests/bench-strchr.c: Likewise.
6917         * benchtests/bench-strcmp.c: Likewise.
6918         * benchtests/bench-strcpy.c: Likewise.
6919         * benchtests/bench-strcpy_chk.c: Likewise.
6920         * benchtests/bench-strlen.c: Likewise.
6921         * benchtests/bench-strncasecmp.c: Likewise.
6922         * benchtests/bench-strncat.c: Likewise.
6923         * benchtests/bench-strncmp.c: Likewise.
6924         * benchtests/bench-strncpy.c: Likewise.
6925         * benchtests/bench-strnlen.c: Likewise.
6926         * benchtests/bench-strpbrk.c: Likewise.
6927         * benchtests/bench-strrchr.c: Likewise.
6928         * benchtests/bench-strspn.c: Likewise.
6929         * benchtests/bench-strstr.c: Likewise.
6930
6931 2013-09-04  Will Newton  <will.newton@linaro.org>
6932
6933         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
6934
6935 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
6936
6937         [BZ #15427]
6938         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
6939         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
6940         * math/libm-test.inc (lgamma_test_data): Add more tests.
6941         * sysdeps/i386/fpu/libm-test-ulps: Update.
6942         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6943
6944 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
6945
6946         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
6947         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
6948         Add ifunc.
6949         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
6950         Add strcmp-sse2-unaligned
6951         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
6952
6953 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
6954
6955         * Versions.def (libc): Add GLIBC_2.19.
6956
6957 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
6958
6959         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
6960         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
6961
6962 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
6963
6964         [BZ #14155]
6965         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
6966         intermediate calculations in recurrence.
6967         (__ieee754_ynf): Likewise.
6968         * math/libm-test.inc (jn_test_data): Do not allow spurious
6969         underflow exception.  Add more tests.
6970         (yn_test_data): Add more tests.
6971         * sysdeps/i386/fpu/libm-test-ulps: Update.
6972         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6973
6974 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
6975
6976         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
6977
6978 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
6979
6980         * csu/init-first.c: Fix then/than typos.
6981         * locale/programs/ld-collate.c: Likewise.
6982         * locale/programs/linereader.h: Likewise.
6983         * manual/charset.texi: Likewise.
6984         * manual/filesys.texi: Likewise.
6985         * manual/stdio.texi: Likewise.
6986         * manual/string.texi: Likewise.
6987         * stdlib/fmtmsg.c: Likewise.
6988         * sysdeps/i386/stpncpy.S: Likewise.
6989         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
6990         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
6991         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
6992         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
6993
6994 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
6995
6996         * elf/dl-open.c: Fix typos.
6997         * iconvdata/gbbig5.c: Likewise.
6998         * iconvdata/iso-2022-jp.c: Likewise.
6999         * iconv/gconv_int.h: Likewise.
7000         * iconv/loop.c: Likewise.
7001         * nis/rpcsvc/nis.h: Likewise.
7002         * resolv/ns_name.c: Likewise.
7003         * stdio-common/vfscanf.c: Likewise.
7004         * streams/stropts.h: Likewise.
7005         * sunrpc/rpc_thread.c: Likewise.
7006         * sysdeps/i386/strpbrk.S: Likewise.
7007         * sysdeps/ieee754/k_standard.c: Likewise.
7008         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
7009         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
7010         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
7011         * sysdeps/mach/hurd/profil.c: Likewise.
7012         * sysdeps/s390/dl-procinfo.h: Likewise.
7013         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
7014         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
7015         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
7016         * sysdeps/x86_64/dl-trampoline.S: Likewise.
7017         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
7018
7019 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
7020
7021         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
7022         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
7023
7024 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
7025
7026         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
7027         aix specific files.
7028         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
7029         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
7030         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
7031         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
7032         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
7033         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
7034         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
7035         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
7036
7037 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
7038             Roland McGrath  <roland@hack.frob.com>
7039
7040         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
7041         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
7042
7043 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
7044
7045         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
7046         __executable_start symbol instead of _start.
7047
7048 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
7049
7050         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
7051         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
7052         Move macros to...
7053         * sysdeps/gnu/ldsodefs.h: ... this new file.
7054
7055         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
7056         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
7057         instead of ELFOSABI_LINUX.
7058
7059         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
7060         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
7061         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
7062         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
7063         Likewise.
7064         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
7065         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
7066         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
7067         Likewise.
7068         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
7069         (ibm_extended_long_double): Add ieee_nan member.
7070         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
7071         (do_test): New function.
7072
7073         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
7074         TEST_TRUNC.
7075         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
7076         functions, renamed from truncdfsf_test, trunctfsf_test,
7077         trunctfdf_test.
7078         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
7079         functions.
7080         (do_test): Run all these.
7081
7082 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
7083
7084         * argp/argp-help.c: Fix typos.
7085         * argp/argp-parse.c: Likewise.
7086         * debug/backtracesyms.c: Likewise.
7087         * elf/elf.h: Likewise.
7088         * malloc/malloc.c: Likewise.
7089         * nis/nis_print.c: Likewise.
7090         * resolv/res_comp.c: Likewise.
7091         * stdlib/stdlib.h: Likewise.
7092         * sunrpc/clnt_tcp.c: Likewise.
7093         * sunrpc/clnt_udp.c: Likewise.
7094         * sunrpc/clnt_unix.c: Likewise.
7095         * sysdeps/unix/bsd/ptsname.c: Likewise.
7096         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
7097         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
7098         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
7099         Likewise.
7100         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
7101         Likewise.
7102         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
7103         Likewise.
7104         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
7105
7106 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
7107
7108         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
7109         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
7110
7111 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
7112
7113         [BZ #15897]
7114         * dlfcn/Makefile (tests): Add bug-dl-leaf.
7115         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
7116         ($(objpfx)bug-dl-leaf): New rule.
7117         ($(objpfx)bug-dl-leaf.so): Likewise.
7118         ($(objpfx)bug-dl-leaf.out): Likewise.
7119         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
7120         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
7121         * dlfcn/bug-dl-leaf.c: New test.
7122         * dlfcn/bug-dl-leaf-lib.c: Likewise.
7123         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
7124         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
7125         (dlclose): Likewise.
7126         (dlmopen): Likewise.
7127
7128 2013-08-27  Roland McGrath  <roland@hack.frob.com>
7129
7130         * include/netdb.h [!_ISOMAC]:
7131         Don't include <tls.h>.
7132         (h_errno, __libc_h_errno): Move declaration and macros out of
7133         [_LIBC_REENTRANT].
7134
7135         * include/resolv.h [_RESOLV_H_]:
7136         Don't include <tls.h>.
7137         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
7138         * resolv/res_libc.c: Don't include <tls.h>.
7139         (_res): Use __attribute__ ((nocommon)) in place of
7140         __attribute__ ((section (".bss"))).
7141
7142         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
7143         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
7144
7145         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
7146
7147         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
7148         only under [SIOCGIFCONF && SIOCGIFNETMASK].
7149
7150         * resolv/res_mkquery.c: Include <sys/time.h>.
7151
7152         * inet/ifreq.c: Moved to ...
7153         * sysdeps/unix/ifreq.c: ... here.
7154         * inet/ifreq.c: New file, true stub version.
7155
7156         * socket/sa_len.c: New file.
7157         * socket/Makefile (aux): Add it.
7158         * sysdeps/unix/sysv/linux/Makefile
7159         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
7160         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
7161         and #include <socket/sa_len.c>.
7162         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
7163         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
7164
7165         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
7166         * bits/socket.h: ... here.
7167
7168         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
7169         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
7170         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
7171
7172 2013-08-27  Andreas Schwab  <schwab@suse.de>
7173
7174         [BZ #15736]
7175         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
7176         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
7177         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
7178         * string/test-strcasecmp.c (test_main): Run tests in several
7179         locales.
7180         * string/test-strncasecmp.c (test_main): Likewise.
7181
7182         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
7183         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
7184         to __strcasecmp_nonascii and __strncasecmp_nonascii.
7185         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
7186         (__strncasecmp_ssse3) [PIC]: Likewise.
7187
7188 2013-08-26  Roland McGrath  <roland@hack.frob.com>
7189
7190         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
7191
7192         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
7193         instead of explicitly declaring xdecrypt.
7194         * nis/nss_nis/nis-publickey.c: Likewise.
7195
7196 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
7197
7198         [BZ #15890]
7199         * nscd/aicache.c: Include res_hconf.h.
7200         (addhstaiX): Initialize res_hconf.
7201
7202 2013-08-26  Andreas Schwab  <schwab@suse.de>
7203
7204         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
7205         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
7206
7207 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
7208
7209         * nscd/aicache.c (addhstaiX): Fix indentation.
7210
7211 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
7212
7213         * configure.ac: Quote $build_pt_chown test.
7214         * configure: Regenerated.
7215
7216 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
7217
7218         [BZ #15532]
7219         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
7220         * math/s_cexpf.c (__cexpf): Likewise.
7221         * math/s_cexpl.c (__cexpl): Likewise.
7222         * math/libm-test.inc (cexp_test_data): Correct expected return
7223         value for NaN + i0.  Add another test.
7224
7225 2013-08-22  David S. Miller  <davem@davemloft.net>
7226
7227         * po/ca.po: Update Catalan translation from translation project.
7228         * po/uk.po: Add Ukrainian translations from translation project.
7229
7230 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
7231
7232         [BZ #15797]
7233         * math/s_fdim.c (__fdim): Check for infinite arguments if result
7234         is infinite, not alongside NaN test.
7235         * math/s_fdimf.c (__fdimf): Likewise.
7236         * math/s_fdiml.c (__fdiml): Likewise.
7237         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
7238         errno is unchanged.
7239
7240 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
7241
7242         * argp/argp-help.c: Fix typos.
7243         * crypt/speeds.c: Likewise.
7244         * csu/check_fds.c: Likewise.
7245         * elf/dl-load.c: Likewise.
7246         * elf/dl-open.c: Likewise.
7247         * elf/reldep3.c: Likewise.
7248         * elf/reldep.c: Likewise.
7249         * elf/sprof.c: Likewise.
7250         * iconv/iconv_charmap.c: Likewise.
7251         * iconv/skeleton.c: Likewise.
7252         * iconv/strtab.c: Likewise.
7253         * io/lockf64.c: Likewise.
7254         * libio/libioP.h: Likewise.
7255         * resolv/gai_notify.c: Likewise.
7256         * resolv/ns_name.c: Likewise.
7257         * resolv/ns_samedomain.c: Likewise.
7258         * resolv/res_send.c: Likewise.
7259         * stdlib/random.c: Likewise.
7260         * sunrpc/rpc/xdr.h: Likewise.
7261         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
7262         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
7263         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
7264         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
7265         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
7266         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
7267         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
7268         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
7269         * sysdeps/mach/hurd/check_fds.c: Likewise.
7270         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
7271         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
7272         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
7273         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
7274         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
7275         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
7276         * sysdeps/pthread/aio_notify.c: Likewise.
7277         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
7278         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
7279         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
7280         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
7281         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
7282
7283 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
7284
7285         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
7286         version if bit_Slow_SSE4_2 is set.
7287         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
7288         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
7289
7290 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7291
7292         [BZ #15867]
7293         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
7294         trampoline stack frame information.
7295         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
7296         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
7297         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
7298         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
7299         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
7300         * sysdeps/unix/sysv/linux/powerpc/init-first.c
7301         (_libc_vdso_platform_setup): Initialize the signal trampolines.
7302         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
7303         sa_flags value.
7304         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
7305         interrupting a syscall and set with option SA_SIGINFO.
7306
7307 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
7308
7309         [BZ #15531]
7310         * math/s_cproj.c (__cproj): Only return an infinity if one part of
7311         argument is infinite.
7312         * math/s_cprojf.c (__cprojf): Likewise.
7313         * math/s_cprojl.c (__cprojl): Likewise.
7314         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
7315         * math/libm-test.inc (cproj_test_data): Add more tests.
7316
7317         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
7318
7319         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
7320         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
7321         size.  Use __ffs to determine corresponding shift.
7322
7323 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
7324             Roland McGrath  <roland@hack.frob.com>
7325
7326         * Makefile (INSTALL): Remove trailing blank lines from output of
7327         makeinfo.
7328
7329 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
7330
7331         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
7332         Align 32 bit compat elf_greg to 8 bytes.
7333
7334 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
7335
7336         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
7337
7338 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
7339
7340         * string/strcoll_l.c (coll_seq): New structure.
7341         (get_next_seq_cached): New function.
7342         (get_next_seq): New function.
7343         (do_compare): New function.
7344         (STRCOLL): Use GNU style definition.  Simplify implementation
7345         by using get_next_seq, get_next_seq_cached and do_compare.
7346
7347 2013-08-16  Florian Weimer  <fweimer@redhat.com>
7348
7349         [BZ #14699]
7350         CVE-2013-4237
7351         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
7352         member.
7353         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
7354         member.
7355         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
7356         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
7357         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
7358         conditional.
7359         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
7360         GETDENTS_64BIT_ALIGNED.
7361         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
7362         * manual/filesys.texi (Reading/Closing Directory): Document
7363         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
7364         strongly.
7365         * manual/conf.texi (Limits for Files): Add portability note to
7366         NAME_MAX, PATH_MAX.
7367         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
7368
7369 2013-08-13  Andreas Schwab  <schwab@suse.de>
7370
7371         [BZ #15749]
7372         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
7373         of fabs.
7374         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
7375         LDBL_MAX_EXP >= 16384]: Add tests for it.
7376
7377 2013-08-12  David S. Miller  <davem@davemloft.net>
7378
7379         * version.h (RELEASE): Set to "development".
7380         (VERSION): Set to "2.18.90".
7381         * NEWS: Add 2.19 section.
7382
7383 2013-08-03  David S. Miller  <davem@davemloft.net>
7384
7385         * po/ko.po: Update Korean translation from translation project.
7386
7387 2013-08-01  David S. Miller  <davem@davemloft.net>
7388
7389         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
7390         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
7391         Bilka.
7392
7393 2013-07-30  David S. Miller  <davem@davemloft.net>
7394
7395         * po/fr.po: Update French translation from translation project.
7396
7397 2013-07-28  David S. Miller  <davem@davemloft.net>
7398
7399         * po/cs.po: Update Czech translation from translation project.
7400
7401         * po/sv.po: Update Swedish translation from translation project.
7402
7403 2013-07-27  David S. Miller  <davem@davemloft.net>
7404
7405         * po/eo.po: Update Esperanto translation from translation project.
7406
7407         * po/vi.po: Update Vietnamese translation from translation project.
7408
7409         * po/de.po: Update German translation from translation project.
7410
7411 2013-07-26  David S. Miller  <davem@davemloft.net>
7412
7413         * po/bg.po: Update Bulgarian translation from translation project.
7414
7415         * po/nl.po: Update Dutch translation from translation project.
7416         * po/pl.po: Update Polish translation from translation project.
7417         * po/ru.po: Update Russian translation from translation project.
7418
7419 2013-07-24  David S. Miller  <davem@davemloft.net>
7420
7421         * po/libc.pot: Update.
7422
7423 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7424
7425         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
7426         variable page size.
7427         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
7428         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
7429         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
7430
7431 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
7432
7433         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
7434
7435 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
7436             Andreas Schwab  <schwab@suse.de>
7437             Roland McGrath  <roland@hack.frob.com>
7438             Joseph Myers  <joseph@codesourcery.com>
7439             Carlos O'Donell  <carlos@redhat.com>
7440
7441         [BZ #15755]
7442         * config.h.in: Define HAVE_PT_CHOWN.
7443         * config.make.in (build-pt-chown): New variable.
7444         * configure.in (--enable-pt_chown): New configure option.
7445         * configure: Regenerate.
7446         * login/Makefile: Include Makeconfig.  Build pt_chown only if
7447         build-pt-chown is enabled.
7448         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
7449         pt_chown to fix pty ownership.
7450         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
7451         CLOSE_ALL_FDS.
7452         * manual/install.texi (Configuring and compiling): Mention
7453         --enable-pt_chown. Add @findex for grantpt.
7454         * INSTALL: Regenerate.
7455
7456 2013-07-20  David S. Miller  <davem@davemloft.net>
7457
7458         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
7459         difference between 32-bit and 64-bit.
7460
7461 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
7462
7463         [BZ #15711]
7464         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
7465         Avoid system header dependency with -ffreestanding.
7466         ($(objpfx)bits/syscall%d): Likewise.
7467
7468 2013-07-13  David S. Miller  <davem@davemloft.net>
7469
7470         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
7471         underflows from atanl/atan2l due to bug 15319.
7472         (casinh_test_data): Likewise.
7473
7474 2013-07-07  David S. Miller  <davem@davemloft.net>
7475
7476         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
7477
7478 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
7479
7480         * sysdeps/i386/fpu/libm-test-ulps: Update.
7481         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7482
7483 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
7484
7485         * configure.in (--enable-lock-elision): Fix message text.
7486         * INSTALL: Regenerate.
7487         * configure: Regenerate.
7488
7489 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7490
7491         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7492
7493 2013-07-03  Andreas Jaeger  <aj@suse.de>
7494
7495         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
7496         define.
7497         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
7498         (ptrace_peeksiginfo_args): Add.
7499         (__ptrace_peeksiginfo_flags): Add.
7500         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
7501         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
7502         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
7503
7504 2013-07-03  Allan McRae  <allan@archlinux.org>
7505
7506         * sysdeps/i386/fpu/libm-test-ulps: Update.
7507
7508 2013-07-02  David S. Miller  <davem@davemloft.net>
7509
7510         * sysdeps/sparc/fpu/libm-test-ulps: Update.
7511
7512 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
7513
7514         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7515
7516 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
7517
7518         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
7519         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7520
7521 2013-07-02  Andi Kleen <ak@linux.intel.com>
7522
7523         * config.h.in (ENABLE_LOCK_ELISION): Add.
7524         * configure.in (--enable-lock-elision): Add option.
7525         * manual/install.texi: Document --enable lock elision.
7526         * configure: Regenerate
7527         * INSTALL: Regenerate.
7528
7529 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
7530
7531         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
7532         SSE4.2 strcasecmp for libc.a.
7533         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
7534
7535 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
7536
7537         [BZ #13304]
7538         * soft-fp/op-common.h (_FP_FMA): New macro.
7539         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
7540         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
7541         (_FP_MUL_MEAT_1_imm): ... here.
7542         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
7543         (_FP_MUL_MEAT_1_wide): ... here.
7544         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
7545         (_FP_MUL_MEAT_1_hard): ... here.
7546         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
7547         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
7548         (_FP_MUL_MEAT_2_wide): ... here.
7549         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
7550         (_FP_MUL_MEAT_2_wide_3mul): ... here.
7551         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
7552         (_FP_MUL_MEAT_2_gmp): ... here.
7553         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
7554         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
7555         (_FP_MUL_MEAT_4_wide): ... here.
7556         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
7557         (_FP_MUL_MEAT_4_gmp): ... here.
7558         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
7559         (_FP_WFRACBITS_DW_S): Likewise.
7560         (_FP_WFRACXBITS_DW_S): Likewise.
7561         (_FP_HIGHBIT_DW_S): Likewise.
7562         (FP_FMA_S): Likewise.
7563         (_FP_FRAC_HIGH_DW_S): Likewise.
7564         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
7565         (_FP_WFRACBITS_DW_D): Likewise.
7566         (_FP_WFRACXBITS_DW_D): Likewise.
7567         (_FP_HIGHBIT_DW_D): Likewise.
7568         (FP_FMA_D): Likewise.
7569         (_FP_FRAC_HIGH_DW_D): Likewise.
7570         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
7571         (_FP_WFRACBITS_DW_E): Likewise.
7572         (_FP_WFRACXBITS_DW_E): Likewise.
7573         (_FP_HIGHBIT_DW_E): Likewise.
7574         (FP_FMA_E): Likewise.
7575         (_FP_FRAC_HIGH_DW_E): Likewise.
7576         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
7577         (_FP_WFRACBITS_DW_Q): Likewise.
7578         (_FP_WFRACXBITS_DW_Q): Likewise.
7579         (_FP_HIGHBIT_DW_Q): Likewise.
7580         (FP_FMA_Q): Likewise.
7581         (_FP_FRAC_HIGH_DW_Q): Likewise.
7582         * soft-fp/fmasf4.c: New file.
7583         * soft-fp/fmadf4.c: Likewise.
7584         * soft-fp/fmatf4.c: Likewise.
7585
7586 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
7587
7588         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
7589         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
7590         Silvermont.
7591         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
7592         macro.
7593         (index_Slow_SSE4_2): Likewise.
7594         (index_Prefer_PMINUB_for_stringop): Likewise.
7595         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
7596         bit_Slow_SSE4_2 is set.
7597         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
7598         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
7599
7600 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
7601
7602         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
7603         rtld_global._dl_hwcap2.
7604         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
7605         POWER8.
7606         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
7607         POWER8 feature descriptions defined in _dl_hwcap2.
7608         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
7609         string handling for POWER8 feature bits.
7610         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
7611         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
7612         _dl_powerpc_cap_flags.
7613         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
7614         * sysdeps/powerpc/rtld-global-offsets.sym
7615         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
7616         _dl_hwcap2 in the rtld_global_ro structure.
7617
7618 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
7619
7620         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
7621         hardware capabilities in support of AT_HWCAP2.
7622         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
7623         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
7624         GLRO(dl_hwcap2).
7625         (_dl_show_auxv): Add support for calling _dl_procinfo to display
7626         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
7627         explicitly the unknown a_type display mechanism is used.
7628         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
7629         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
7630         struct member.
7631         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
7632         to macro prototype for AT_HWCAP2 support.
7633         * sysdeps/i386/dl-procinfo.h: Likewise.
7634         * sysdeps/s390/dl-procinfo.h: Likewise.
7635         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
7636         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
7637         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
7638         return -1 for unknown a_type display fallback.
7639         * sysdeps/sparc/dl-procinfo.h: Likewise.
7640         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
7641         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
7642
7643 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
7644
7645         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
7646         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
7647
7648 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
7649
7650         [BZ #12492]
7651         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
7652         mprotect making __stack_prot writable.
7653
7654 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
7655             Joseph Myers  <joseph@codesourcery.com>
7656
7657         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
7658         as being properly aligned.
7659
7660 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
7661
7662         * dlfcn/modstatic5.c: New file.
7663         * dlfcn/tststatic5.c: New file.
7664         * dlfcn/Makefile (tests): Add tststatic5.
7665         (tests-static): Likewise.
7666         (modules-names): Add modstatic5.
7667         (tststatic5-ENV): New variable.
7668         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
7669
7670         [BZ #15022]
7671         * elf/dl-support.c (_dl_main_map): New variable.
7672         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
7673         (_dl_nns, _dl_load_adds): Set to 1.
7674         (_dl_initial_searchlist): Refer to _dl_main_map.
7675         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
7676         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
7677         call to _dl_get_origin.
7678         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
7679         around call_map.
7680         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
7681         * dlfcn/modstatic3.c: New file.
7682         * dlfcn/tststatic3.c: New file.
7683         * dlfcn/tststatic4.c: New file.
7684         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
7685         (tests-static): Likewise.
7686         (modules-names): Add modstatic3.
7687         (tststatic3-ENV, tststatic4-ENV): New variables.
7688         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
7689         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
7690
7691 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
7692
7693         * configure.in (CC): Require GCC version 4.4 or later.
7694         * configure: Regenerated.
7695         * manual/install.texi (Tools for Compilation): Update GCC version
7696         requirement.
7697         * INSTALL: Regenerated.
7698
7699 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
7700
7701         [BZ #15674]
7702         * string/test-memcmp.c (check2): New.
7703         (main): Call check2.
7704
7705         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
7706
7707 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
7708
7709         [BZ #15022]
7710         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
7711         over to...
7712         (dl_open_worker) [!SHARED]: ... here.
7713
7714 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
7715
7716         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
7717
7718 2013-06-25  Richard Henderson  <rth@redhat.com>
7719
7720         * locale/programs/locarchive.c: Include <libc-internal.h>
7721
7722 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
7723
7724         * manual/texinfo.tex: Update to version 2013-06-21.17, with
7725         trailing whitespace removed.
7726
7727 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
7728
7729         [BZ #10283]
7730         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
7731         * locale/programs/locarchive.c: Include libc-mmap.h.
7732         (prepare_address_space): Take two new outputs (the mmap base and len).
7733         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
7734         values.
7735         (create_archive): Declare new mmap base and len values for
7736         prepare_address_space, and store the result in ah.
7737         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
7738         (enlarge_archive): If ah->mmap_base is not NULL, use that and
7739         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
7740         Declare new mmap base and len values for
7741         prepare_address_space, and store the result in new_ah.
7742         (open_archive): Declare new mmap base and len values for
7743         prepare_address_space, and store the result in ah.
7744         (close_archive): If ah->mmap_base is not NULL, use that and
7745         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
7746         * sysdeps/generic/libc-mmap.h: New file.
7747
7748 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
7749
7750         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
7751         (ALIGN_UP): Likewise.
7752         (PTR_ALIGN_DOWN): Likewise.
7753         (PTR_ALIGN_UP): Likewise.
7754
7755 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
7756
7757         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
7758         entry mapped to PPC_PLATFORM_POWER8.
7759         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
7760         POWER8.
7761         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
7762         (_dl_string_platform): Add case for exporting platform position for
7763         POWER8.
7764         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
7765         search path to sysdeps/powerpc/powerpc32/power8 directory.
7766         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
7767         search path to sysdeps/powerpc/powerpc64/power8 directory.
7768         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
7769         power7 directories.
7770         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
7771         power7 directories.
7772
7773 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
7774
7775         * INSTALL: Regenerate.
7776
7777         * nscd/connections.c (nscd_init): Fix comment.
7778
7779 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
7780
7781         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
7782
7783         [BZ #15667]
7784         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
7785         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
7786
7787 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
7788
7789         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
7790         DL_DST_REQ_STATIC.
7791         (DL_DST_REQ_STATIC): Remove macro.
7792
7793 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
7794
7795         [BZ #7006]
7796         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
7797         with a shift of 0 bits.
7798
7799 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
7800
7801         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
7802         $(tststatic-ENV).
7803
7804 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
7805
7806         [BZ #15655]
7807         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
7808
7809 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7810
7811         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
7812         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
7813         accepts -fno-tree-loop-distribute-patterns.
7814         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
7815         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
7816         recursive call.
7817         * string/memset.c (memset): Likewise.
7818         * string/test-memmove.c (simple_memmove): Disable loop transformation
7819         to library calls.
7820         * string/test-memset.c (simple_memset): Likewise.
7821         * benchtests/bench-memmove.c (simple_memmove): Likewise.
7822         * benchtests/bench-memset.c (simple_memset): Likewise.
7823         * configure: Regenerated.
7824
7825 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
7826
7827         * math/test-misc.c (main): Ignore fesetround failure when failures
7828         of subsequent rounding tests would be ignored.
7829
7830         [BZ #15654]
7831         * math/fedisblxcpt.c (fedisableexcept): Return 0.
7832         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
7833         * math/fegetenv.c (__fegetenv): Return 0.
7834         * math/fegetexcept.c (fegetexcept): Return 0.
7835         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
7836         FE_TONEAREST.
7837         * math/feholdexcpt.c (feholdexcept): Return 0.
7838         * math/fesetenv.c (__fesetenv): Return 0.
7839         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
7840         argument FE_TONEAREST.
7841         * math/feupdateenv.c (__feupdateenv): Return 0.
7842         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
7843
7844 2013-06-18  Roland McGrath  <roland@hack.frob.com>
7845
7846         * elf/rtld-Rules (rtld-compile-command.S): New variable.
7847         (rtld-compile-command.s, rtld-compile-command.c): New variables.
7848         ($(objpfx)rtld-%.os rules): Use them.
7849
7850 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7851
7852         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
7853         fields.
7854
7855 2013-06-17  Roland McGrath  <roland@hack.frob.com>
7856
7857         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
7858         length of target pattern, then descending length of dependency pattern.
7859         * configure.in (AWK): Require gawk 3.1.2 or newer.
7860         * manual/install.texi (Tools for Compilation): Say that we do.
7861         * configure: Regenerated.
7862
7863         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
7864         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
7865         * scripts/sysd-rules.awk: ... this new script.
7866         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
7867         than a glob-style pattern.
7868
7869 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
7870
7871         * math/test-misc.c (main): Do not treat incorrectly rounded
7872         conversions as failure unless ROUNDING_TESTS passes.
7873
7874 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
7875
7876         [BZ #15631]
7877         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
7878         restore exception state around main square root computation, then
7879         check for inexactness explicitly.
7880
7881         * math/libm-test.inc (fma_test_data): Add another test.
7882
7883 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
7884
7885         * manual/threads.texi (Non-POSIX Extensions): New document
7886         node.  Document pthread_getattr_default_np and
7887         pthread_setattr_default_np.
7888
7889         * Versions.def (libpthread): Add GLIBC_2.18.
7890         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
7891         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
7892         Likewise.
7893         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
7894         Likewise.
7895         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
7896         Likewise.
7897         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
7898         Likewise.
7899         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
7900         Likewise.
7901         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
7902         Likewise.
7903         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
7904         Likewise.
7905         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
7906         Likewise.
7907         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
7908         Likewise.
7909
7910 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
7911
7912         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
7913         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
7914
7915 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
7916             H.J. Lu  <hjl.tools@gmail.com>
7917
7918         [BZ #15627]
7919         * sysdeps/x86_64/rtld-memset.c: Remove file.
7920         * sysdeps/x86_64/rtld-memset.S: New file.
7921
7922 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
7923
7924         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
7925         (test_in_one_mode): Take arguments for whether the rounding mode
7926         is supported for each floating-point type.
7927         (do_test): Pass new arguments to test_in_one_mode using
7928         ROUNDING_TESTS.
7929
7930 2013-06-13  Roland McGrath  <roland@hack.frob.com>
7931
7932         * posix/tst-waitid.c (do_test): Distinguish different instances of
7933         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
7934         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
7935         before entering the kernel for waitpid.
7936
7937 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
7938
7939         * NEWS: Fix note on clock function precision.  Text by Roland
7940         McGrath.
7941
7942 2013-06-13  Roland McGrath  <roland@hack.frob.com>
7943
7944         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
7945         it into place only when and if the sanity check passes.
7946
7947 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
7948
7949         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
7950         output for whether conversion result is exact.  Take argument
7951         indicating whether type is IBM long double.
7952         (round_for_all): Change need_exact field to ibm_ld.
7953         * stdlib/tst-strtod-round.c (struct exactness): New type.
7954         (struct test): Change bool ld_ok field to struct exactness exact.
7955         (TEST): Update all definitions for change to field.
7956         (tests): Regenerate array contents.
7957         (test_in_one_mode): Take pointer to new field instead of old ld_ok
7958         field value.  Check for IBM long double here.
7959         (do_test): Update calls to test_in_one_mode.
7960
7961 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
7962
7963         [BZ #12515]
7964         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
7965         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
7966
7967 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7968
7969         [BZ #15605]
7970         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
7971         generated by the compiler on loop optimizations.
7972         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
7973         general definitions.
7974
7975 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
7976
7977         * math/bug-nextafter.c: Include <math-tests.h>.
7978         (main): Only test for exceptions if EXCEPTION_TESTS is true for
7979         the relevant type.
7980         * math/bug-nexttoward.c: Include <math-tests.h>.
7981         (main): Only test for exceptions if EXCEPTION_TESTS is true for
7982         the relevant type.
7983         * math/test-misc.c: Include <math-tests.h>.
7984         (main): Only test for exceptions if EXCEPTION_TESTS is true for
7985         the relevant type.
7986
7987 2013-06-12  Andreas Jaeger  <aj@suse.de>
7988
7989         * po/ia.po: Update Interlingua translation from translation
7990         project.
7991
7992 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
7993
7994         * include/fenv.h: Include stdbool.h.
7995         (struct rm_ctx): New structure.
7996         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
7997         Define macro.
7998         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
7999         (SET_RESTORE_ROUNDF): Likewise.
8000         (SET_RESTORE_ROUNDL): Likewise.
8001         (SET_RESTORE_ROUND_NOEX): Likewise.
8002         (SET_RESTORE_ROUND_NOEXF): Likewise.
8003         (SET_RESTORE_ROUND_NOEXL): Likewise.
8004         (SET_RESTORE_ROUND_53BIT): Likewise.
8005         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
8006         (libc_feresetround_noexf_ctx): Likewise.
8007         (libc_feresetround_noexl_ctx): Likewise.
8008         (libc_feholdsetround_53bit_ctx): Likewise.
8009         (libc_feresetround_53bit_ctx): Likewise.
8010         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
8011         (libc_feholdexcept_setround_sse_ctx): New function.
8012         (libc_fesetenv_sse_ctx): Likewise.
8013         (libc_feupdateenv_sse_ctx): Likewise.
8014         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
8015         (libc_feholdexcept_setround_387_ctx): Likewise.
8016         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
8017         (libc_feholdsetround_387_prec_ctx): Likewise.
8018         (libc_feholdsetround_387_ctx): Likewise.
8019         (libc_feholdsetround_387_53bit_ctx): Likewise.
8020         (libc_feholdsetround_sse_ctx): Likewise.
8021         (libc_feresetround_sse_ctx): Likewise.
8022         (libc_feresetround_387_ctx): Likewise.
8023         (libc_feupdateenv_387_ctx): Likewise.
8024         (libc_feholdexcept_setroundf_ctx): Define macro.
8025         (libc_fesetenvf_ctx): Likewise.
8026         (libc_feupdateenvf_ctx): Likewise.
8027         (libc_feholdsetroundf_ctx): Likewise.
8028         (libc_feresetroundf_ctx): Likewise.
8029         (libc_feholdexcept_setround_ctx): Likewise.
8030         (libc_fesetenv_ctx): Likewise.
8031         (libc_feupdateenv_ctx): Likewise.
8032         (libc_feholdsetround_ctx): Likewise.
8033         (libc_feresetround_ctx): Likewise.
8034         (libc_feholdexcept_setroundl_ctx): Likewise.
8035         (libc_feupdateenvl_ctx): Likewise.
8036         (libc_feholdsetroundl_ctx): Likewise.
8037         (libc_feresetroundl_ctx): Likewise.
8038         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
8039         (libc_feresetround_53bit_ctx): Likewise.
8040
8041 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
8042
8043         * locale/iso-639.def: Convert to UTF-8.
8044
8045 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
8046
8047         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
8048         (EXCEPTION_TESTS_double): Likewise.
8049         (EXCEPTION_TESTS_long_double): Likewise.
8050         (EXCEPTION_TESTS): Likewise.
8051         * math/libm-test.inc (test_exceptions): Only test exceptions if
8052         EXCEPTION_TESTS (FLOAT).
8053
8054 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
8055
8056         * benchtests/Makefile (string-bench): Add strcpy_chk and
8057         stpcpy_chk.
8058         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
8059         * benchtests/bench-stpcpy_chk.c: New file.
8060         * benchtests/bench-strcpy_chk-ifunc.c: New file.
8061         * benchtests/bench-strcpy_chk.c: New file.
8062         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
8063         code.
8064         (do_test): Likewise.
8065
8066 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
8067
8068         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
8069         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
8070         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
8071         with tabs where appropriate.
8072         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
8073         dl-procinfo.h.
8074         [PPC_PLATFORM_PPC440]: Likewise.
8075         [PPC_PLATFORM_PPC464]: Likewise.
8076         [PPC_PLATFORM_PPC476]: Likewise.
8077         (_dl_string_platform): Add support for detecting ppc405, ppc440,
8078         ppc464, and ppc476 platform strings merging from ports/
8079         dl-procinfo.h.
8080
8081 2013-06-11  Andreas Schwab  <schwab@suse.de>
8082
8083         [BZ #14991]
8084         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
8085         (from_ucs4_idx): Regenerate.
8086         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
8087         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
8088         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
8089         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
8090         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
8091         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
8092         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
8093         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
8094         from FROM_LOOP and TO_LOOP specific macros.
8095         (BODY): Handle combining characters.
8096         * iconvdata/BIG5HKSCS.irreversible: Update.
8097         * iconvdata/BIG5HKSCS.precomposed: New file.
8098         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
8099         characters.
8100         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
8101
8102 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
8103
8104         * include/sys/time.h: Fix indentation and add copyright header.
8105
8106         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
8107         (do_test): Likewise.
8108         * string/test-memchr.c (do_one_test): Likewise.
8109         (do_test): Likewise.
8110         * string/test-memcmp.c (do_one_test): Likewise.
8111         (do_test): Likewise.
8112         * string/test-memcpy.c (do_one_test): Likewise.
8113         (do_test): Likewise.
8114         * string/test-memmem.c (do_one_test): Likewise.
8115         (do_test): Likewise.
8116         (do_random_tests): Likewise.
8117         * string/test-memmove.c (do_one_test): Likewise.
8118         (do_test): Likewise.
8119         * string/test-memset.c (do_one_test): Likewise.
8120         (do_test): Likewise.
8121         * string/test-rawmemchr.c (do_one_test): Likewise.
8122         (do_test): Likewise.
8123         * string/test-strcasecmp.c (do_one_test): Likewise.
8124         (do_test): Likewise.
8125         * string/test-strcasestr.c (do_one_test): Likewise.
8126         (do_test): Likewise.
8127         * string/test-strcat.c (do_one_test): Likewise.
8128         (do_test): Likewise.
8129         * string/test-strchr.c (do_one_test): Likewise.
8130         (do_test): Likewise.
8131         * string/test-strcmp.c (do_one_test): Likewise.
8132         (do_test): Likewise.
8133         * string/test-strcpy.c (do_one_test): Likewise.
8134         (do_test): Likewise.
8135         * string/test-string.h: Likewise.
8136         (test_init): Likewise.
8137         * string/test-strlen.c (do_one_test): Likewise.
8138         (do_test): Likewise.
8139         * string/test-strncasecmp.c (do_one_test): Likewise.
8140         (do_test): Likewise.
8141         * string/test-strncat.c (do_one_test): Likewise.
8142         (do_test): Likewise.
8143         * string/test-strncmp.c (do_one_test): Likewise.
8144         (do_test_limit): Likewise.
8145         (do_test): Likewise.
8146         * string/test-strncpy.c (do_one_test): Likewise.
8147         (do_test): Likewise.
8148         * string/test-strnlen.c (do_one_test): Likewise.
8149         (do_test): Likewise.
8150         * string/test-strpbrk.c (do_one_test): Likewise.
8151         (do_test): Likewise.
8152         * string/test-strrchr.c (do_one_test): Likewise.
8153         (do_test): Likewise.
8154         * string/test-strspn.c (do_one_test): Likewise.
8155         (do_test): Likewise.
8156         * string/test-strstr.c (do_one_test): Likewise.
8157         (do_test): Likewise.
8158
8159         * benchtests/Makefile (string-bench): Add string benchmarks.
8160         * benchtests/bench-bcopy-ifunc.c: New file.
8161         * benchtests/bench-bcopy.c: New file.
8162         * benchtests/bench-bzero-ifunc.c: New file.
8163         * benchtests/bench-bzero.c: New file.
8164         * benchtests/bench-memccpy-ifunc.c: New file.
8165         * benchtests/bench-memccpy.c: New file.
8166         * benchtests/bench-memchr-ifunc.c: New file.
8167         * benchtests/bench-memchr.c: New file.
8168         * benchtests/bench-memcmp-ifunc.c: New file.
8169         * benchtests/bench-memcmp.c: New file.
8170         * benchtests/bench-memmem-ifunc.c: New file.
8171         * benchtests/bench-memmem.c: New file.
8172         * benchtests/bench-memmove-ifunc.c: New file.
8173         * benchtests/bench-memmove.c: New file.
8174         * benchtests/bench-mempcpy-ifunc.c: New file.
8175         * benchtests/bench-mempcpy.c: New file.
8176         * benchtests/bench-memset-ifunc.c: New file.
8177         * benchtests/bench-memset.c: New file.
8178         * benchtests/bench-rawmemchr-ifunc.c: New file.
8179         * benchtests/bench-rawmemchr.c: New file.
8180         * benchtests/bench-stpcpy-ifunc.c: New file.
8181         * benchtests/bench-stpcpy.c: New file.
8182         * benchtests/bench-stpncpy-ifunc.c: New file.
8183         * benchtests/bench-stpncpy.c: New file.
8184         * benchtests/bench-strcasecmp-ifunc.c: New file.
8185         * benchtests/bench-strcasecmp.c: New file.
8186         * benchtests/bench-strcasestr-ifunc.c: New file.
8187         * benchtests/bench-strcasestr.c: New file.
8188         * benchtests/bench-strcat-ifunc.c: New file.
8189         * benchtests/bench-strcat.c: New file.
8190         * benchtests/bench-strchr-ifunc.c: New file.
8191         * benchtests/bench-strchr.c: New file.
8192         * benchtests/bench-strchrnul-ifunc.c: New file.
8193         * benchtests/bench-strchrnul.c: New file.
8194         * benchtests/bench-strcmp-ifunc.c: New file.
8195         * benchtests/bench-strcmp.c: New file.
8196         * benchtests/bench-strcpy-ifunc.c: New file.
8197         * benchtests/bench-strcpy.c: New file.
8198         * benchtests/bench-strcspn-ifunc.c: New file.
8199         * benchtests/bench-strcspn.c: New file.
8200         * benchtests/bench-strlen-ifunc.c: New file.
8201         * benchtests/bench-strlen.c: New file.
8202         * benchtests/bench-strncasecmp-ifunc.c: New file.
8203         * benchtests/bench-strncasecmp.c: New file.
8204         * benchtests/bench-strncat-ifunc.c: New file.
8205         * benchtests/bench-strncat.c: New file.
8206         * benchtests/bench-strncmp-ifunc.c: New file.
8207         * benchtests/bench-strncmp.c: New file.
8208         * benchtests/bench-strncpy-ifunc.c: New file.
8209         * benchtests/bench-strncpy.c: New file.
8210         * benchtests/bench-strnlen-ifunc.c: New file.
8211         * benchtests/bench-strnlen.c: New file.
8212         * benchtests/bench-strpbrk-ifunc.c: New file.
8213         * benchtests/bench-strpbrk.c: New file.
8214         * benchtests/bench-strrchr-ifunc.c: New file.
8215         * benchtests/bench-strrchr.c: New file.
8216         * benchtests/bench-strspn-ifunc.c: New file.
8217         * benchtests/bench-strspn.c: New file.
8218         * benchtests/bench-strstr-ifunc.c: New file.
8219         * benchtests/bench-strstr.c: New file.
8220
8221         * benchtests/Makefile: Disable parallel execution of targets.
8222         (string-bench): Add memcpy.
8223         (benchset): New variable to store a list of benchmark sets.
8224         (bench-func): Renamed from bench.
8225         (bench-set): New target.
8226         (bench): Depend on bench-func and bench-set.
8227         * benchtests/README: Add section on benchmark sets.
8228         * benchtests/bench-memcpy-ifunc.c: New file.
8229         * benchtests/bench-memcpy.c: New file.
8230         * benchtests/bench-string.h: New file.
8231
8232 2013-06-11  Andreas Schwab  <schwab@suse.de>
8233
8234         [BZ #15577]
8235         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
8236         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
8237         values in the triple.
8238         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
8239         terminator in the group key.
8240
8241 2013-06-11  Andreas Jaeger  <aj@suse.de>
8242
8243         * po/zh_TW.po: Update Chinese (traditional) translation from
8244         translation project.
8245
8246 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
8247
8248         * include/time.h (__clock_gettime): Add libc_hidden_proto.
8249         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
8250         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
8251         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
8252         (clock_getcpuclockid): Likewise.
8253         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
8254         Add weak_alias and libc_hidden_def.
8255         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
8256         * rt/clock_gettime.c (clock_gettime): Rename to
8257         __clock_gettime.  Add weak_alias and libc_hidden_def.
8258         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
8259         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
8260         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
8261         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
8262         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
8263         Likewise.
8264         * rt/clock_settime.c (clock_settime): Rename to
8265         __clock_settime.  Add weak_alias and libc_hidden_def.
8266         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
8267
8268 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
8269
8270         * mach/err_boot.sub: Remove trailing whitespace.
8271         * mach/err_ipc.sub: Likewise.
8272         * mach/err_mach.sub: Likewise.
8273
8274         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
8275         (ROUNDING_TESTS_double): Likewise.
8276         (ROUNDING_TESTS_long_double): Likewise.
8277         (ROUNDING_TESTS): Likewise.
8278         * math/libm-test.inc: Include <math-tests.h>.
8279         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
8280         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
8281         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
8282         (IF_ROUND_INIT_FE_UPWARD): Likewise.
8283
8284 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
8285
8286         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
8287         of assigning.
8288
8289 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
8290
8291         * sysdeps/gnu/errlist.awk: Do not generate space at end of
8292         otherwise empty TRANS lines.
8293         * sysdeps/gnu/errlist.c: Regenerated.
8294
8295         * catgets/gencat.c (error_print): Use (void) in function
8296         definition.
8297         * crypt/crypt_util.c (__init_des): Likewise.
8298         * crypt/speeds.c (Stop): Likewise.
8299         (main): Likewise.
8300         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
8301         * inet/ruserpass.c (token): Likewise.
8302         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
8303         * intl/localealias.c (extend_alias_table): Likewise.
8304         * intl/plural-exp.c (init_germanic_plural): Likewise.
8305         * libio/fcloseall.c (__fcloseall): Likewise.
8306         * libio/genops.c (_IO_flush_all): Likewise.
8307         (_IO_flush_all_linebuffered): Likewise.
8308         (_IO_cleanup): Likewise.
8309         (_IO_iter_begin): Likewise.
8310         (_IO_iter_end): Likewise.
8311         (_IO_list_lock): Likewise.
8312         (_IO_list_unlock): Likewise.
8313         (_IO_list_resetlock): Likewise.
8314         * libio/getchar.c (getchar): Likewise.
8315         * libio/getchar_u.c (getchar_unlocked): Likewise.
8316         * libio/getwchar.c (getwchar): Likewise.
8317         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
8318         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
8319         * login/getpt.c (__getpt): Likewise.
8320         * login/tst-utmp.c (main): Likewise.
8321         * malloc/hooks.c (__malloc_check_init): Likewise.
8322         * malloc/malloc.c (__malloc_stats): Likewise.
8323         * malloc/mtrace.c (tr_break): Likewise.
8324         (mtrace): Likewise.
8325         (muntrace): Likewise.
8326         * misc/fstab.c (endfsent): Likewise.
8327         * misc/getclktck.c (__getclktck): Likewise.
8328         * misc/getdtsz.c (__getdtablesize): Likewise.
8329         * misc/gethostid.c (gethostid): Likewise.
8330         * misc/getpagesize.c (__getpagesize): Likewise.
8331         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
8332         (__get_nprocs): Likewise.
8333         (__get_phys_pages): Likewise.
8334         (__get_avphys_pages): Likewise.
8335         * misc/getttyent.c (getttyent): Likewise.
8336         (setttyent): Likewise.
8337         (endttyent): Likewise.
8338         * misc/getusershell.c (getusershell): Likewise.
8339         (endusershell): Likewise.
8340         (setusershell): Likewise.
8341         (initshells): Likewise.
8342         * misc/hsearch.c (__hdestroy): Likewise.
8343         * misc/sync.c (sync): Likewise.
8344         * misc/syslog.c (closelog_internal): Likewise.
8345         (closelog): Likewise.
8346         * misc/ttyslot.c (ttyslot): Likewise.
8347         * misc/vhangup.c (vhangup): Likewise.
8348         * posix/fork.c (__fork): Likewise.
8349         * posix/getegid.c (__getegid): Likewise.
8350         * posix/geteuid.c (__geteuid): Likewise.
8351         * posix/getgid.c (__getgid): Likewise.
8352         * posix/getpid.c (__getpid): Likewise.
8353         * posix/getppid.c (__getppid): Likewise.
8354         * posix/getuid.c (__getuid): Likewise.
8355         * posix/pause.c (pause): Likewise.
8356         * posix/setpgrp.c (setpgrp): Likewise.
8357         * posix/setsid.c (__setsid): Likewise.
8358         * posix/test-vfork.c (noop): Likewise.
8359         * resolv/gethnamaddr.c (_endhtent): Likewise.
8360         (_gethtent): Likewise.
8361         (ht_endhostent): Likewise.
8362         (gethostent): Likewise.
8363         (dns_service): Likewise.
8364         * stdlib/drand48.c (drand48): Likewise.
8365         * stdlib/lrand48.c (lrand48): Likewise.
8366         * stdlib/mrand48.c (mrand48): Likewise.
8367         * stdlib/rand.c (rand): Likewise.
8368         * stdlib/random.c (__random): Likewise.
8369         * stdlib/setenv.c (clearenv): Likewise.
8370         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
8371         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
8372         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
8373         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
8374         (__get_nprocs): Likewise.
8375         (__get_phys_pages): Likewise.
8376         (__get_avphys_pages): Likewise.
8377         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
8378         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
8379         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
8380         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
8381         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
8382         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
8383         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
8384         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
8385         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
8386         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
8387         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
8388         * sysdeps/mach/hurd/sync.c (sync): Likewise.
8389         * sysdeps/posix/clock.c (clock): Likewise.
8390         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
8391         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
8392         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
8393         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
8394         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
8395         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
8396         (__get_nprocs_conf): Likewise.
8397         (__get_phys_pages): Likewise.
8398         (__get_avphys_pages): Likewise.
8399         * time/clock.c (clock): Likewise.
8400         * time/tzset.c (__tzname_max): Likewise.
8401
8402 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
8403
8404         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
8405         (__bswap_32): Do not use "register".
8406         * crypt/crypt.c (_ufc_doit_r): Likewise.
8407         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
8408         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
8409         * gmon/gmon.c (__monstartup): Likewise.
8410         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
8411         * hurd/hurdmalloc.c (more_memory): Likewise.
8412         (malloc): Likewise.
8413         (free): Likewise.
8414         (realloc): Likewise.
8415         (malloc_fork_prepare): Likewise.
8416         (malloc_fork_parent): Likewise.
8417         (malloc_fork_child): Likewise.
8418         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
8419         (_svcauth_des): Likewise.
8420         * inet/inet_lnaof.c (inet_lnaof): Likewise.
8421         * inet/inet_net.c (inet_network): Likewise.
8422         * inet/inet_netof.c (inet_netof): Likewise.
8423         * inet/rcmd.c (__validuser2_sa): Likewise.
8424         * io/fts.c (fts_open): Likewise.
8425         (fts_load): Likewise.
8426         (fts_close): Likewise.
8427         (fts_read): Likewise.
8428         (fts_children): Likewise.
8429         (fts_build): Likewise.
8430         (fts_stat): Likewise.
8431         (fts_sort): Likewise.
8432         (fts_alloc): Likewise.
8433         (fts_lfree): Likewise.
8434         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
8435         (_IO_file_xsgetn): Likewise.
8436         (_IO_file_xsgetn_mmap): Likewise.
8437         * libio/iofopncook.c (_IO_cookie_read): Likewise.
8438         (_IO_cookie_write): Likewise.
8439         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
8440         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
8441         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
8442         * malloc/obstack.c (_obstack_begin): Likewise.
8443         (_obstack_begin_1): Likewise.
8444         (_obstack_newchunk): Likewise.
8445         (_obstack_allocated_p): Likewise.
8446         (obstack_free): Likewise.
8447         (_obstack_memory_used): Likewise.
8448         * misc/getttyent.c (getttynam): Likewise.
8449         (getttyent): Likewise.
8450         (skip): Likewise.
8451         (value): Likewise.
8452         * misc/getusershell.c (initshells): Likewise.
8453         * misc/syslog.c (__vsyslog_chk): Likewise.
8454         * misc/ttyslot.c (ttyslot): Likewise.
8455         * nis/nis_hash.c (__nis_hash): Likewise.
8456         * posix/fnmatch_loop.c (FCT): Likewise.
8457         * posix/getconf.c (print_all): Likewise.
8458         (main): Likewise.
8459         * posix/getopt.c (exchange): Likewise.
8460         * posix/glob.c (globfree): Likewise.
8461         (prefix_array): Likewise.
8462         (__glob_pattern_type): Likewise.
8463         * resolv/arpa/nameser.h (NS_GET16): Likewise.
8464         (NS_GET32): Likewise.
8465         (NS_PUT16): Likewise.
8466         (NS_PUT32): Likewise.
8467         * resolv/gethnamaddr.c (getanswer): Likewise.
8468         (gethostbyname2): Likewise.
8469         (gethostbyaddr): Likewise.
8470         (_gethtent): Likewise.
8471         (_gethtbyname2): Likewise.
8472         (_gethtbyaddr): Likewise.
8473         * resolv/ns_print.c (dst_s_get_int16): Likewise.
8474         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
8475         * resolv/res_init.c (__res_vinit): Likewise.
8476         (net_mask): Likewise.
8477         * resolv/res_mkquery.c (outchar): Likewise.
8478         (PRINT): Likewise.
8479         * stdio-common/printf_fp.c (outchar): Likewise.
8480         (PRINT): Likewise.
8481         * stdio-common/printf_fphex.c (outchar): Likewise.
8482         (PRINT): Likewise.
8483         * stdio-common/printf_size.c (outchar): Likewise.
8484         (PRINT): Likewise.
8485         * stdio-common/test_rdwr.c (main): Likewise.
8486         * stdio-common/tfformat.c (matches): Likewise.
8487         * stdio-common/vfprintf.c (outchar): Likewise.
8488         (printf_unknown): Likewise.
8489         (buffered_vfprintf): Likewise.
8490         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
8491         * stdio-common/xbug.c (AppendToBuffer): Likewise.
8492         (ReadFile): Likewise.
8493         * stdlib/qsort.c (SWAP): Likewise.
8494         (_quicksort): Likewise.
8495         * stdlib/setenv.c (__add_to_environ): Likewise.
8496         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
8497         * stdlib/strtol_l.c (__strtol_l): Likewise.
8498         * stdlib/tst-strtod.c (main): Likewise.
8499         * stdlib/tst-strtol.c (main): Likewise.
8500         * stdlib/tst-strtoll.c (main): Likewise.
8501         * string/bits/string2.h (__strcmp_cc): Likewise.
8502         (__strcmp_cg): Likewise.
8503         (__strcspn_c1): Likewise.
8504         (__strcspn_c2): Likewise.
8505         (__strcspn_c3): Likewise.
8506         (__strspn_c1): Likewise.
8507         (__strspn_c2): Likewise.
8508         (__strspn_c3): Likewise.
8509         (__strsep_1c): Likewise.
8510         (__strsep_2c): Likewise.
8511         (__strsep_3c): Likewise.
8512         * string/memccpy.c (__memccpy): Likewise.
8513         * string/stpcpy.c (__stpcpy): Likewise.
8514         * string/strcmp.c (strcmp): Likewise.
8515         * string/strrchr.c (strrchr): Likewise.
8516         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
8517         Likewise.
8518         * sysdeps/mach/hurd/getcwd.c
8519         (_hurd_canonicalize_directory_name_internal): Likewise.
8520         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
8521         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
8522         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
8523         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
8524         Likewise, in both definitions.
8525         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
8526         definitions.
8527         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
8528         64] (__bswap_64): Likewise.
8529         * time/test_time.c (main): Likewise.
8530         * time/tzfile.c (__tzfile_read): Likewise.
8531         (__tzfile_compute): Likewise.
8532         * time/tzset.c (__tzset_parse_tz): Likewise.
8533         (tzset_internal): Likewise.
8534         (compute_change): Likewise.
8535         * wcsmbs/wcscat.c (__wcscat): Likewise.
8536         * wcsmbs/wcschr.c (wcschr): Likewise.
8537         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
8538         * wcsmbs/wcscspn.c (wcscspn): Likewise.
8539         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
8540         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
8541         * wcsmbs/wcsspn.c (wcsspn): Likewise.
8542         * wcsmbs/wcsstr.c (wcsstr): Likewise.
8543         * wcsmbs/wmemchr.c (wmemchr): Likewise.
8544         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
8545         * wcsmbs/wmemset.c (wmemset): Likewise.
8546
8547 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
8548
8549         * scripts/config.guess: Update to version 2013-05-16.
8550         * scripts/config.sub: Update to version 2013-04-24.
8551         * scripts/install-sh: Update to version 2011-11-20.07.
8552         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
8553         * scripts/move-if-change: Update to version 2012-01-06 07:23.
8554
8555 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
8556
8557         * debug/fgetws_u_chk.c: Fix leading whitespaces.
8558         * elf/sln.c: Likewise.
8559         * hurd/hurd/ioctl.h: Likewise.
8560         * hurd/hurdmalloc.c: Likewise.
8561         * hurd/xattr.c: Likewise.
8562         * include/shlib-compat.h: Likewise.
8563         * inet/ruserpass.c: Likewise.
8564         * libio/iofgets_u.c: Likewise.
8565         * libio/iofgetws_u.c: Likewise.
8566         * locale/programs/ld-identification.c: Likewise.
8567         * locale/programs/ld-time.c: Likewise.
8568         * mach/msg-destroy.c: Likewise.
8569         * nss/nss_files/files-netgrp.c: Likewise.
8570         * resolv/res_data.c: Likewise.
8571         * soft-fp/op-1.h: Likewise.
8572         * soft-fp/op-2.h: Likewise.
8573         * soft-fp/op-4.h: Likewise.
8574         * soft-fp/op-common.h: Likewise.
8575         * stdio-common/printf_fphex.c: Likewise.
8576         * stdlib/strtod_l.c: Likewise.
8577         * sunrpc/rpc/clnt.h: Likewise.
8578         * sysdeps/generic/framestate.c: Likewise.
8579         * sysdeps/i386/bsd-_setjmp.S: Likewise.
8580         * sysdeps/i386/bsd-setjmp.S: Likewise.
8581         * sysdeps/i386/__longjmp.S: Likewise.
8582         * sysdeps/i386/setjmp.S: Likewise.
8583         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
8584         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
8585         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
8586         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
8587         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
8588         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
8589         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
8590         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
8591         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
8592         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
8593         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
8594         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
8595         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
8596         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
8597         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
8598         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
8599         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
8600         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
8601         * sysdeps/ieee754/support.c: Likewise.
8602         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
8603         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
8604         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
8605         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
8606         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
8607         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
8608         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
8609         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
8610         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
8611         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
8612         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
8613         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
8614         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
8615         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
8616         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
8617         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
8618         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
8619         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
8620
8621 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
8622
8623         * posix/transbug.c: Remove executable mode.
8624
8625 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
8626
8627         * crypt/speeds.c: Remove trailing whitespace.
8628         * dlfcn/default.c: Likewise.
8629         * elf/ifuncdep2.c: Likewise.
8630         * elf/ifuncmain1.c: Likewise.
8631         * elf/ifuncmain1vis.c: Likewise.
8632         * elf/testobj.h: Likewise.
8633         * elf/tst-stackguard1.c: Likewise.
8634         * gmon/sys/gmon.h: Likewise.
8635         * hurd/hurdmsg.c: Likewise.
8636         * hurd/new-fd.c: Likewise.
8637         * hurd/ports-get.c: Likewise.
8638         * iconvdata/ibm1008_420.c: Likewise.
8639         * inet/tst-getni1.c: Likewise.
8640         * inet/tst-getni2.c: Likewise.
8641         * libio/ioungetc.c: Likewise.
8642         * libio/wfiledoalloc.c: Likewise.
8643         * manual/libm-err-tab.pl: Likewise.
8644         * math/w_dremf.c: Likewise.
8645         * misc/ftruncate.c: Likewise.
8646         * posix/bug-glob2.c: Likewise.
8647         * posix/tst-pcre.c: Likewise.
8648         * posix/wait4.c: Likewise.
8649         * resolv/README: Likewise.
8650         * resolv/res_debug.h: Likewise.
8651         * resolv/tst-inet_ntop.c: Likewise.
8652         * setjmp/bug269-setjmp.c: Likewise.
8653         * soft-fp/extended.h: Likewise.
8654         * soft-fp/op-1.h: Likewise.
8655         * soft-fp/op-2.h: Likewise.
8656         * soft-fp/op-4.h: Likewise.
8657         * soft-fp/op-8.h: Likewise.
8658         * soft-fp/testit.c: Likewise.
8659         * stdio-common/bug16.c: Likewise.
8660         * stdlib/random.c: Likewise.
8661         * sunrpc/rpcsvc/rquota.x: Likewise.
8662         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
8663         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
8664         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
8665         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
8666         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
8667         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
8668         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
8669         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
8670         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
8671         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
8672         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
8673         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
8674         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
8675         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
8676         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
8677         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
8678         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
8679         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
8680         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
8681         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
8682         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
8683         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
8684         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
8685         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
8686         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
8687         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
8688         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
8689         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
8690         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
8691         * sysdeps/ieee754/s_lib_version.c: Likewise.
8692         * sysdeps/mach/hurd/check_fds.c: Likewise.
8693         * sysdeps/mach/hurd/getsockname.c: Likewise.
8694         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
8695         * sysdeps/mach/hurd/recvfrom.c: Likewise.
8696         * sysdeps/powerpc/bits/link.h: Likewise.
8697         * sysdeps/powerpc/dl-procinfo.c: Likewise.
8698         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
8699         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
8700         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
8701         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
8702         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
8703         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
8704         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
8705         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
8706         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
8707         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
8708         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
8709         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
8710         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
8711         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
8712         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
8713         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
8714         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
8715         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
8716         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
8717         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
8718         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
8719         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
8720         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
8721         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
8722         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
8723         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
8724         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
8725         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
8726         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
8727         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
8728         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
8729         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
8730         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
8731         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
8732         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
8733         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
8734         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
8735         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
8736         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
8737         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
8738         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
8739         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
8740         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
8741         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
8742         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
8743         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
8744         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
8745         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
8746         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
8747         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
8748         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
8749         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
8750         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
8751         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
8752         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
8753         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
8754         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
8755         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
8756         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
8757         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
8758         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
8759         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
8760         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
8761         * sysdeps/powerpc/sysdep.h: Likewise.
8762         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
8763         * sysdeps/s390/s390-64/sub_n.S: Likewise.
8764         * sysdeps/sh/dl-trampoline.S: Likewise.
8765         * sysdeps/sh/memset.S: Likewise.
8766         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
8767         * sysdeps/sh/strlen.S: Likewise.
8768         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
8769         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
8770         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
8771         * sysdeps/sparc/sparc32/rem.S: Likewise.
8772         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
8773         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
8774         * sysdeps/sparc/sparc32/strchr.S: Likewise.
8775         * sysdeps/sparc/sparc32/udiv.S: Likewise.
8776         * sysdeps/sparc/sparc32/urem.S: Likewise.
8777         * sysdeps/sparc/sparc64/add_n.S: Likewise.
8778         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
8779         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
8780         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
8781         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
8782         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
8783         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
8784         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
8785         * sysdeps/unix/bsd/times.c: Likewise.
8786         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
8787         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
8788         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
8789         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
8790         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
8791         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
8792         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
8793         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
8794         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
8795         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
8796         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
8797         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
8798         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
8799         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
8800         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
8801         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
8802         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
8803         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
8804         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
8805         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
8806         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
8807         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
8808         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
8809         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
8810         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
8811         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
8812         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
8813         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
8814         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
8815         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
8816         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
8817         * sysdeps/x86_64/strcspn.S: Likewise.
8818
8819 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
8820
8821         * locale/C-translit.h: Revert #include <stdint.h> because this is a
8822         generated file.  Regenerate properly from gen-translit.pl.
8823         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
8824         locale/C-translit.h.
8825
8826 2013-06-05  Andreas Schwab  <schwab@suse.de>
8827
8828         [BZ #15100]
8829         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
8830         week as 6 instead of -1.
8831         * time/tst-strptime.c (day_tests): Add test case.
8832
8833 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
8834
8835         * sysdeps/generic/math_private.h
8836         (libc_feholdexcept_setround_53bit): Replace with
8837         libc_feholdsetround_53bit.
8838         (libc_feupdateenv_53bit): Replace with
8839         libc_feresetround_53bit.
8840         (SET_RESTORE_ROUND_53BIT): Adjust.
8841
8842 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
8843
8844         * string/test-strchrnul.c: Add copyright header.
8845
8846         * posix/tst-getaddrinfo4.c: Increase test timeout.
8847
8848 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
8849
8850         [BZ #15536]
8851         * math/libm-test.inc (MAX_EXP): Remove
8852         (MIN_EXP): Define.
8853         (ulp): Use MIN_EXP - MANT_DIG.
8854         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
8855
8856 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
8857
8858         * po/be.po: Revert last change.
8859         * po/zh_CN.po: Likewise.
8860         * po/header.pot: Likewise.
8861
8862 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
8863
8864         * Makefile ($(common-objpfx)linkobj/libc.so): Define
8865         link-libc-deps to empty as target-specific variable.
8866         * Makerules (link-libc-args): New variable.
8867         (libc-for-link): Likewise.
8868         (link-libc-deps): Likewise.
8869         (lib%.so): Depend on $(link-libc-deps).  Link with
8870         $(link-libc-args).
8871         (build-module): Link with $(link-libc-args).
8872         (build-module-asneeded): Likewise.
8873         (build-module-helper-objlist): Filter out $(link-libc-deps) from
8874         list of objects.
8875         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
8876         target-specific variable.
8877         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
8878         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
8879         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
8880         libc.
8881         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
8882         libc and ld.so.
8883         ($(objpfx)libpcprofile.so): Likewise.
8884         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
8885         libc_nonshared.a.
8886         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
8887         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
8888         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
8889         $(link-libc-deps).
8890         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
8891         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
8892         * login/Makefile ($(objpfx)libutil.so): Likewise.
8893         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
8894         * math/Makefile ($(objpfx)libm.so): Likewise.
8895         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
8896         $(objpfx)libnsl.so): Define libc-for-link as target-specific
8897         variable instead of depending directly on libc.
8898         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
8899         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
8900         $(link-libc-deps).
8901         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
8902         libc.
8903         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
8904         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
8905         ($(objpfx)libanl.so): Likewise.
8906         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
8907         ld.so.
8908         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
8909         $(link-libc-deps).
8910         * sysdeps/i386/fpu/Makefile: Remove file.
8911         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
8912         ($(objpfx)libm.so): Remove dependency on ld.so.
8913
8914 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
8915
8916         [BZ # 15553]
8917         * nis/yp_xdr.c (XDRMAXNAME): Define.
8918         (XDRMAXRECORD): Define.
8919         (xdr_domainname): Use XDRMAXNAME.
8920         (xdr_mapname): Likewise.
8921         (xdr_peername): Likewise.
8922         (xdr_keydat): Use XDRMAXRECORD.
8923         (xdr_valdat): Likewise.
8924
8925 2013-05-30  Jeff Law  <law@redhat.com>
8926
8927         [BZ #14256]
8928         * manual/errno.texi (ESTALE): Update to account for more than
8929         just NFS file systems.
8930         * sysdeps/gnu/errlist.c: Regenerated.
8931
8932 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
8933
8934         [BZ #15465]
8935         * elf/Makefile (tests): Add tst-null-argv.
8936         (modules-names):  Add tst-null-argv-lib.
8937         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
8938         (tst-null-argv-ENV): Set environment for tst-null-argv.
8939         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
8940         (RTLD_PROGNAME): New macro.
8941         * elf/tst-null-argv.c: New test case.
8942         * elf/tst-null-argv-lib.c: Library for test case.
8943         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
8944         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
8945         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
8946         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
8947         * elf/dl-init.c (call_init): Likewise.
8948         (_dl_init): Likewise.
8949         * elf/dl-load.c (print_search_path): Likewise.
8950         (_dl_map_object): Likewise.
8951         * elf/dl-lookup.c (do_lookup_x): Likewise.
8952         (add_dependency): Likewise.
8953         (_dl_lookup_symbol_x): Likewise.
8954         (_dl_debug_bindings): Likewise.
8955         * elf/dl-open.c (_dl_show_scope): Likewise.
8956         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
8957         * elf/dl-version.c (match_symbol): Likewise.
8958         (_dl_check_map_versions): Likewise.
8959         * elf/rtld.c (dl_main): Likewise.
8960         (print_unresolved): Use RTLD_PROGNAME.
8961         (print_missing_version): Likewise.
8962         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
8963         (elf_machine_rela): Likewise.
8964         * sysdeps/powerpc/powerpc32/dl-machine.c
8965         (__process_machine_rela): Likewise.
8966         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
8967         Likewise.
8968         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
8969         Likewise.
8970         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
8971         Likewise.
8972         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
8973         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
8974         Likewise.
8975         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
8976         Likewise.
8977         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
8978
8979 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
8980
8981         * po/be.po: Add descriptive title.
8982         * po/zh_CN.po: Likewise.
8983         * po/header.pot: Likewise.
8984
8985 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
8986
8987         * locale/programs/locarchive.c (create_archive): Inlucde fname in
8988         error message.
8989         (enlarge_archive): Likewise.
8990
8991 2013-05-28  Ben North  <ben@redfrontdoor.org>
8992
8993         * manual/arith.texi (frexp): It is the magnitude of the return
8994         value which lies in [0.5, 1), not the return value itself.
8995
8996 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8997
8998         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8999
9000 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
9001
9002         * stdio-common/bug26.c (main): Correct fscanf template.
9003
9004         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
9005         declare _dl_skip_args.
9006
9007         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
9008         Don't declare.
9009
9010         * manual/platform.texi: Add missing @end deftypefun.
9011
9012 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
9013
9014         [BZ #15529]
9015         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
9016         bit of mantissa of 2^16382.
9017         * math/libm-test.inc (hypot_test_data): Add more tests.
9018
9019         * math/libm-test.inc: Add drem and pow10 to list of tested
9020         functions.
9021         (pow10_test): New function.
9022         (drem_test): Likewise.
9023         (drem_test_tonearest): Likewise.
9024         (drem_test_towardzero): Likewise.
9025         (drem_test_downward): Likewise.
9026         (drem_test_upward): Likewise.
9027         (main): Call the new functions.
9028
9029         * math/libm-test.inc (finite_test_data): Remove.
9030         (finite_test): Run tests from isfinite_test_data.
9031         (gamma_test_data): Remove.
9032         (gamma_test): Run tests from lgamma_test_data.
9033         * sysdeps/i386/fpu/libm-test-ulps: Update.
9034         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9035
9036 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9037
9038         * manual/platform.texi: Add PowerPC PPR function set documentation.
9039         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
9040         implementation.
9041
9042 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
9043
9044         * math/libm-test.inc (MAX_EXP): Define.
9045         (ULPDIFF): Define.
9046         (ulp): New function.
9047         (check_float_internal): Use ULPDIFF.
9048         (cpow_test): Disable failing test.
9049         (check_ulp): Test ulp() implemetnation.
9050         (main): Call check_ulp before starting tests.
9051
9052 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
9053
9054         * math/gen-libm-test.pl (generate_testfile): Do not handle
9055         START_DATA and END_DATA.
9056         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
9057         END_DATA.
9058         (acos_tonearest_test_data): Likewise.
9059         (acos_towardzero_test_data): Likewise.
9060         (acos_downward_test_data): Likewise.
9061         (acos_upward_test_data): Likewise.
9062         (acosh_test_data): Likewise.
9063         (asin_test_data): Likewise.
9064         (asin_tonearest_test_data): Likewise.
9065         (asin_towardzero_test_data): Likewise.
9066         (asin_downward_test_data): Likewise.
9067         (asin_upward_test_data): Likewise.
9068         (asinh_test_data): Likewise.
9069         (atan_test_data): Likewise.
9070         (atanh_test_data): Likewise.
9071         (atan2_test_data): Likewise.
9072         (cabs_test_data): Likewise.
9073         (cacos_test_data): Likewise.
9074         (cacosh_test_data): Likewise.
9075         (carg_test_data): Likewise.
9076         (casin_test_data): Likewise.
9077         (casinh_test_data): Likewise.
9078         (catan_test_data): Likewise.
9079         (catanh_test_data): Likewise.
9080         (cbrt_test_data): Likewise.
9081         (ccos_test_data): Likewise.
9082         (ccosh_test_data): Likewise.
9083         (ceil_test_data): Likewise.
9084         (cexp_test_data): Likewise.
9085         (cimag_test_data): Likewise.
9086         (clog_test_data): Likewise.
9087         (clog10_test_data): Likewise.
9088         (conj_test_data): Likewise.
9089         (copysign_test_data): Likewise.
9090         (cos_test_data): Likewise.
9091         (cos_tonearest_test_data): Likewise.
9092         (cos_towardzero_test_data): Likewise.
9093         (cos_downward_test_data): Likewise.
9094         (cos_upward_test_data): Likewise.
9095         (cosh_test_data): Likewise.
9096         (cosh_tonearest_test_data): Likewise.
9097         (cosh_towardzero_test_data): Likewise.
9098         (cosh_downward_test_data): Likewise.
9099         (cosh_upward_test_data): Likewise.
9100         (cpow_test_data): Likewise.
9101         (cproj_test_data): Likewise.
9102         (creal_test_data): Likewise.
9103         (csin_test_data): Likewise.
9104         (csinh_test_data): Likewise.
9105         (csqrt_test_data): Likewise.
9106         (ctan_test_data): Likewise.
9107         (ctan_tonearest_test_data): Likewise.
9108         (ctan_towardzero_test_data): Likewise.
9109         (ctan_downward_test_data): Likewise.
9110         (ctan_upward_test_data): Likewise.
9111         (ctanh_test_data): Likewise.
9112         (ctanh_tonearest_test_data): Likewise.
9113         (ctanh_towardzero_test_data): Likewise.
9114         (ctanh_downward_test_data): Likewise.
9115         (ctanh_upward_test_data): Likewise.
9116         (erf_test_data): Likewise.
9117         (erfc_test_data): Likewise.
9118         (exp_test_data): Likewise.
9119         (exp_tonearest_test_data): Likewise.
9120         (exp_towardzero_test_data): Likewise.
9121         (exp_downward_test_data): Likewise.
9122         (exp_upward_test_data): Likewise.
9123         (exp10_test_data): Likewise.
9124         (exp2_test_data): Likewise.
9125         (expm1_test_data): Likewise.
9126         (fabs_test_data): Likewise.
9127         (fdim_test_data): Likewise.
9128         (finite_test_data): Likewise.
9129         (floor_test_data): Likewise.
9130         (fma_test_data): Likewise.
9131         (fma_towardzero_test_data): Likewise.
9132         (fma_downward_test_data): Likewise.
9133         (fma_upward_test_data): Likewise.
9134         (fmax_test_data): Likewise.
9135         (fmin_test_data): Likewise.
9136         (fmod_test_data): Likewise.
9137         (fpclassify_test_data): Likewise.
9138         (frexp_test_data): Likewise.
9139         (gamma_test_data): Likewise.
9140         (hypot_test_data): Likewise.
9141         (ilogb_test_data): Likewise.
9142         (isfinite_test_data): Likewise.
9143         (isgreater_test_data): Likewise.
9144         (isgreaterequal_test_data): Likewise.
9145         (isinf_test_data): Likewise.
9146         (isless_test_data): Likewise.
9147         (islessequal_test_data): Likewise.
9148         (islessgreater_test_data): Likewise.
9149         (isnan_test_data): Likewise.
9150         (isnormal_test_data): Likewise.
9151         (issignaling_test_data): Likewise.
9152         (isunordered_test_data): Likewise.
9153         (j0_test_data): Likewise.
9154         (j1_test_data): Likewise.
9155         (jn_test_data): Likewise.
9156         (ldexp_test_data): Likewise.
9157         (lgamma_test_data): Likewise.
9158         (lrint_test_data): Likewise.
9159         (lrint_tonearest_test_data): Likewise.
9160         (lrint_towardzero_test_data): Likewise.
9161         (lrint_downward_test_data): Likewise.
9162         (lrint_upward_test_data): Likewise.
9163         (llrint_test_data): Likewise.
9164         (llrint_tonearest_test_data): Likewise.
9165         (llrint_towardzero_test_data): Likewise.
9166         (llrint_downward_test_data): Likewise.
9167         (llrint_upward_test_data): Likewise.
9168         (log_test_data): Likewise.
9169         (log10_test_data): Likewise.
9170         (log1p_test_data): Likewise.
9171         (log2_test_data): Likewise.
9172         (logb_test_data): Likewise.
9173         (logb_downward_test_data): Likewise.
9174         (lround_test_data): Likewise.
9175         (llround_test_data): Likewise.
9176         (modf_test_data): Likewise.
9177         (nearbyint_test_data): Likewise.
9178         (nextafter_test_data): Likewise.
9179         (nexttoward_test_data): Likewise.
9180         (pow_test_data): Likewise.
9181         (pow_tonearest_test_data): Likewise.
9182         (pow_towardzero_test_data): Likewise.
9183         (pow_downward_test_data): Likewise.
9184         (pow_upward_test_data): Likewise.
9185         (remainder_test_data): Likewise.
9186         (remainder_tonearest_test_data): Likewise.
9187         (remainder_towardzero_test_data): Likewise.
9188         (remainder_downward_test_data): Likewise.
9189         (remainder_upward_test_data): Likewise.
9190         (remquo_test_data): Likewise.
9191         (rint_test_data): Likewise.
9192         (rint_tonearest_test_data): Likewise.
9193         (rint_towardzero_test_data): Likewise.
9194         (rint_downward_test_data): Likewise.
9195         (rint_upward_test_data): Likewise.
9196         (round_test_data): Likewise.
9197         (scalb_test_data): Likewise.
9198         (scalbn_test_data): Likewise.
9199         (scalbln_test_data): Likewise.
9200         (signbit_test_data): Likewise.
9201         (sin_test_data): Likewise.
9202         (sin_tonearest_test_data): Likewise.
9203         (sin_towardzero_test_data): Likewise.
9204         (sin_downward_test_data): Likewise.
9205         (sin_upward_test_data): Likewise.
9206         (sincos_test_data): Likewise.
9207         (sinh_test_data): Likewise.
9208         (sinh_tonearest_test_data): Likewise.
9209         (sinh_towardzero_test_data): Likewise.
9210         (sinh_downward_test_data): Likewise.
9211         (sinh_upward_test_data): Likewise.
9212         (sqrt_test_data): Likewise.
9213         (tan_test_data): Likewise.
9214         (tan_tonearest_test_data): Likewise.
9215         (tan_towardzero_test_data): Likewise.
9216         (tan_downward_test_data): Likewise.
9217         (tan_upward_test_data): Likewise.
9218         (tanh_test_data): Likewise.
9219         (tgamma_test_data): Likewise.
9220         (trunc_test_data): Likewise.
9221         (y0_test_data): Likewise.
9222         (y1_test_data): Likewise.
9223         (yn_test_data): Likewise.
9224         (significand_test_data): Likewise.
9225
9226         * math/gen-libm-test.pl (@functions): Remove variable.
9227         (generate_testfile): Don't handle START and END lines.
9228         * math/libm-test.inc (START): New macro.
9229         (END): Likewise.
9230         (END_COMPLEX): Likewise.
9231         (acos_test): Use END macro without arguments.
9232         (acos_test_tonearest): Likewise.
9233         (acos_test_towardzero): Likewise.
9234         (acos_test_downward): Likewise.
9235         (acos_test_upward): Likewise.
9236         (acosh_test): Likewise.
9237         (asin_test): Likewise.
9238         (asin_test_tonearest): Likewise.
9239         (asin_test_towardzero): Likewise.
9240         (asin_test_downward): Likewise.
9241         (asin_test_upward): Likewise.
9242         (asinh_test): Likewise.
9243         (atan_test): Likewise.
9244         (atanh_test): Likewise.
9245         (atan2_test): Likewise.
9246         (cabs_test): Likewise.
9247         (cacos_test): Use END_COMPLEX macro without arguments.
9248         (cacosh_test): Likewise.
9249         (carg_test): Use END macro without arguments.
9250         (casin_test): Use END_COMPLEX macro without arguments.
9251         (casinh_test): Likewise.
9252         (catan_test): Likewise.
9253         (catanh_test): Likewise.
9254         (cbrt_test): Use END macro without arguments.
9255         (ccos_test): Use END_COMPLEX macro without arguments.
9256         (ccosh_test): Likewise.
9257         (ceil_test): Use END macro without arguments.
9258         (cexp_test): Use END_COMPLEX macro without arguments.
9259         (cimag_test): Use END macro without arguments.
9260         (clog_test): Use END_COMPLEX macro without arguments.
9261         (clog10_test): Likewise.
9262         (conj_test): Likewise.
9263         (copysign_test): Use END macro without arguments.
9264         (cos_test): Likewise.
9265         (cos_test_tonearest): Likewise.
9266         (cos_test_towardzero): Likewise.
9267         (cos_test_downward): Likewise.
9268         (cos_test_upward): Likewise.
9269         (cosh_test): Likewise.
9270         (cosh_test_tonearest): Likewise.
9271         (cosh_test_towardzero): Likewise.
9272         (cosh_test_downward): Likewise.
9273         (cosh_test_upward): Likewise.
9274         (cpow_test): Use END_COMPLEX macro without arguments.
9275         (cproj_test): Likewise.
9276         (creal_test): Use END macro without arguments.
9277         (csin_test): Use END_COMPLEX macro without arguments.
9278         (csinh_test): Likewise.
9279         (csqrt_test): Likewise.
9280         (ctan_test): Likewise.
9281         (ctan_test_tonearest): Likewise.
9282         (ctan_test_towardzero): Likewise.
9283         (ctan_test_downward): Likewise.
9284         (ctan_test_upward): Likewise.
9285         (ctanh_test): Likewise.
9286         (ctanh_test_tonearest): Likewise.
9287         (ctanh_test_towardzero): Likewise.
9288         (ctanh_test_downward): Likewise.
9289         (ctanh_test_upward): Likewise.
9290         (erf_test): Use END macro without arguments.
9291         (erfc_test): Likewise.
9292         (exp_test): Likewise.
9293         (exp_test_tonearest): Likewise.
9294         (exp_test_towardzero): Likewise.
9295         (exp_test_downward): Likewise.
9296         (exp_test_upward): Likewise.
9297         (exp10_test): Likewise.
9298         (exp2_test): Likewise.
9299         (expm1_test): Likewise.
9300         (fabs_test): Likewise.
9301         (fdim_test): Likewise.
9302         (finite_test): Likewise.
9303         (floor_test): Likewise.
9304         (fma_test): Likewise.
9305         (fma_test_towardzero): Likewise.
9306         (fma_test_downward): Likewise.
9307         (fma_test_upward): Likewise.
9308         (fmax_test): Likewise.
9309         (fmin_test): Likewise.
9310         (fmod_test): Likewise.
9311         (fpclassify_test): Likewise.
9312         (frexp_test): Likewise.
9313         (gamma_test): Likewise.
9314         (hypot_test): Likewise.
9315         (ilogb_test): Likewise.
9316         (isfinite_test): Likewise.
9317         (isgreater_test): Likewise.
9318         (isgreaterequal_test): Likewise.
9319         (isinf_test): Likewise.
9320         (isless_test): Likewise.
9321         (islessequal_test): Likewise.
9322         (islessgreater_test): Likewise.
9323         (isnan_test): Likewise.
9324         (isnormal_test): Likewise.
9325         (issignaling_test): Likewise.
9326         (isunordered_test): Likewise.
9327         (j0_test): Likewise.
9328         (j1_test): Likewise.
9329         (jn_test): Likewise.
9330         (ldexp_test): Likewise.
9331         (lgamma_test): Likewise.
9332         (lrint_test): Likewise.
9333         (lrint_test_tonearest): Likewise.
9334         (lrint_test_towardzero): Likewise.
9335         (lrint_test_downward): Likewise.
9336         (lrint_test_upward): Likewise.
9337         (llrint_test): Likewise.
9338         (llrint_test_tonearest): Likewise.
9339         (llrint_test_towardzero): Likewise.
9340         (llrint_test_downward): Likewise.
9341         (llrint_test_upward): Likewise.
9342         (log_test): Likewise.
9343         (log10_test): Likewise.
9344         (log1p_test): Likewise.
9345         (log2_test): Likewise.
9346         (logb_test): Likewise.
9347         (logb_test_downward): Likewise.
9348         (lround_test): Likewise.
9349         (llround_test): Likewise.
9350         (modf_test): Likewise.
9351         (nearbyint_test): Likewise.
9352         (nextafter_test): Likewise.
9353         (nexttoward_test): Likewise.
9354         (pow_test): Likewise.
9355         (pow_test_tonearest): Likewise.
9356         (pow_test_towardzero): Likewise.
9357         (pow_test_downward): Likewise.
9358         (pow_test_upward): Likewise.
9359         (remainder_test): Likewise.
9360         (remainder_test_tonearest): Likewise.
9361         (remainder_test_towardzero): Likewise.
9362         (remainder_test_downward): Likewise.
9363         (remainder_test_upward): Likewise.
9364         (remquo_test): Likewise.
9365         (rint_test): Likewise.
9366         (rint_test_tonearest): Likewise.
9367         (rint_test_towardzero): Likewise.
9368         (rint_test_downward): Likewise.
9369         (rint_test_upward): Likewise.
9370         (round_test): Likewise.
9371         (scalb_test): Likewise.
9372         (scalbn_test): Likewise.
9373         (scalbln_test): Likewise.
9374         (signbit_test): Likewise.
9375         (sin_test): Likewise.
9376         (sin_test_tonearest): Likewise.
9377         (sin_test_towardzero): Likewise.
9378         (sin_test_downward): Likewise.
9379         (sin_test_upward): Likewise.
9380         (sincos_test): Likewise.
9381         (sinh_test): Likewise.
9382         (sinh_test_tonearest): Likewise.
9383         (sinh_test_towardzero): Likewise.
9384         (sinh_test_downward): Likewise.
9385         (sinh_test_upward): Likewise.
9386         (sqrt_test): Likewise.
9387         (tan_test): Likewise.
9388         (tan_test_tonearest): Likewise.
9389         (tan_test_towardzero): Likewise.
9390         (tan_test_downward): Likewise.
9391         (tan_test_upward): Likewise.
9392         (tanh_test): Likewise.
9393         (tgamma_test): Likewise.
9394         (trunc_test): Likewise.
9395         (y0_test): Likewise.
9396         (y1_test): Likewise.
9397         (yn_test): Likewise.
9398         (significand_test): Likewise.
9399
9400 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
9401
9402         [BZ #15381]
9403         * libio/genops.c (_IO_no_init): Initialize wide struct info.
9404
9405 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
9406
9407         [BZ #14894]
9408         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
9409         __ppc_mdoio and __ppc_mdoom.
9410         * manual/platform.texi: Document new functions __ppc_yield,
9411         __ppc_mdoio and __ppc_mdoom.
9412
9413 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
9414
9415         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
9416         (main): Mention "tls" pseudo-hwcap is legacy.
9417         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
9418
9419 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
9420
9421         * math/gen-libm-test.pl (parse_args): Output only string of
9422         arguments as text for test name, not full call or descriptions of
9423         tests for extra outputs.
9424         (generate_testfile): Do not pass function name to parse_args.
9425         Generate this_func variable from START.
9426         * math/libm-test.inc (struct test_f_f_data): Rename test_name
9427         field to arg_str.
9428         (struct test_ff_f_data): Likewise.
9429         (test_ff_f_data_nexttoward): Likewise.
9430         (struct test_fi_f_data): Likewise.
9431         (struct test_fl_f_data): Likewise.
9432         (struct test_if_f_data): Likewise.
9433         (struct test_fff_f_data): Likewise.
9434         (struct test_c_f_data): Likewise.
9435         (struct test_f_f1_data): Likewise.  Remove field extra_name.
9436         (struct test_fF_f1_data): Likewise.
9437         (struct test_ffI_f1_data): Likewise.
9438         (struct test_c_c_data): Rename test_name field to arg_str.
9439         (struct test_cc_c_data): Likewise.
9440         (struct test_f_i_data): Likewise.
9441         (struct test_ff_i_data): Likewise.
9442         (struct test_f_l_data): Likewise.
9443         (struct test_f_L_data): Likewise.
9444         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
9445         and extra2_name.
9446         (COMMON_TEST_SETUP): New macro.
9447         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
9448         (COMMON_TEST_CLEANUP): Likewise.
9449         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
9450         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
9451         macros.
9452         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
9453         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
9454         macros.
9455         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
9456         (RUN_TEST_fff_f): Take argument string.  Call new setup and
9457         cleanup macros.
9458         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
9459         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
9460         macros.
9461         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
9462         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
9463         macros.
9464         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
9465         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
9466         cleanup macros.
9467         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
9468         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
9469         cleanup macros.
9470         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
9471         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
9472         cleanup macros.
9473         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
9474         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
9475         macros.
9476         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
9477         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
9478         macros.
9479         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
9480         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
9481         macros.
9482         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
9483         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
9484         cleanup macros.
9485         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
9486         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
9487         cleanup macros.
9488         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
9489         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
9490         macros.
9491         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
9492         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
9493         cleanup macros.
9494         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
9495         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
9496         macros.
9497         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
9498         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
9499         macros.
9500         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
9501         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
9502         cleanup macros.
9503         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
9504
9505 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
9506
9507         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
9508         to _sifields.sigfault.
9509         (si_addr_lsb): Define new macro.
9510         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
9511         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
9512         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
9513
9514 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
9515
9516         [BZ #15441]
9517         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
9518         returns -1.
9519         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
9520         null return -1.
9521         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
9522         loading the domain.
9523
9524 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
9525
9526         * math/gen-libm-test.pl (parse_args): Do not include expected
9527         result in test name.
9528         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
9529         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
9530         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
9531         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
9532         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
9533         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9534
9535 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
9536
9537         * benchtests/Makefile: Sort function entries.
9538
9539         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
9540         tanh, asinh, acosh, atanh.
9541         * benchtests/acos-inputs: New file.
9542         * benchtests/acosh-inputs: New file.
9543         * benchtests/asin-inputs: New file.
9544         * benchtests/asinh-inputs: New file.
9545         * benchtests/atanh-inputs: New file.
9546         * benchtests/cosh-inputs: New file.
9547         * benchtests/log-inputs: New file.
9548         * benchtests/sinh-inputs: New file.
9549         * benchtests/tanh-inputs: New file.
9550
9551 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
9552
9553         [BZ #15339]
9554         * posix/tst-getaddrinfo4.c: New test.
9555         * posix/Makefile (tests): Add it.
9556
9557 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
9558
9559         [BZ #15339]
9560         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
9561         when no services were used.
9562         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
9563         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
9564
9565 2013-05-21  Andreas Schwab  <schwab@suse.de>
9566
9567         [BZ #15014]
9568         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
9569         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
9570         successful.
9571         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
9572         redundant variable declarations and reallocation of buffer when
9573         parsing as IPv6 address.  Always set NSS status when called from
9574         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
9575         buffer too small.  Correct computation of needed size.
9576         * nss/Makefile (tests): Add test-digits-dots.
9577         * nss/test-digits-dots.c: New test.
9578
9579 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
9580
9581         * benchtests/Makefile: Remove instructions for adding
9582         benchmark tests.
9583         * benchtests/README: New file to explain how to execute and
9584         enhance the benchmark tests.
9585
9586 2013-05-21  Andreas Schwab  <schwab@suse.de>
9587
9588         [BZ #15493]
9589         * setjmp/Makefile (tests): Add tst-sigsetjmp.
9590         * setjmp/tst-sigsetjmp.c: New test.
9591
9592 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
9593
9594         * sysdeps/x86_64/memset.S (memset): New implementation.
9595         (__bzero): Likewise.
9596         (__memset_tail): New function.
9597
9598 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
9599
9600         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
9601         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
9602         __memcpy_sse2_unaligned ifunc selection.
9603         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
9604         Add memcpy-sse2-unaligned.S.
9605         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
9606         Add: __memcpy_sse2_unaligned.
9607
9608 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
9609
9610         [BZ #15490]
9611         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
9612         math_force_eval before restoring floating-point envrionment.
9613         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
9614         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
9615         Likewise.
9616         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
9617         <math_private.h>.
9618         (__nearbyintl): Use math_force_eval before restoring
9619         floating-point environment.
9620         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
9621
9622         * math/gen-libm-test.pl (special_functions): Remove.
9623         (parse_args): Don't handle TEST_extra.  Handle functions with no
9624         return value.
9625         * math/libm-test.inc (struct test_sincos_data): Replace with
9626         struct test_fFF_11_data.
9627         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
9628         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
9629         (sincos_test_data): Change element type to struct
9630         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
9631         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
9632         RUN_TEST_LOOP_sincos.
9633         * math/README.libm-test: Don't mention special handling of
9634         individual functions.
9635         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
9636         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
9637         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
9638         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
9639         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
9640         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9641
9642         * math/gen-libm-test.pl (get_variable): Remove function.
9643         (parse_args): Don't show pointer parameters to call in test
9644         names.  Use "extra output N" in test names for extra outputs
9645         rather than naming variables.
9646
9647 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
9648
9649         [BZ #15488]
9650         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
9651         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
9652         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
9653         double tests.
9654         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
9655         disable.
9656         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
9657         check_long_double.
9658
9659         * math/gen-libm-test.pl (@tests): Remove variable.
9660         ($count): Likewise.
9661         (new_test): Remove function.
9662         (show_exceptions): New function.
9663         (special_functions): Use show_exceptions instead of new_test.
9664         (parse_args): Likewise.
9665         (generate_testfile): Pass only function name in generated call to
9666         print_max_error or print_complex_max_error.
9667         (get_ulps): Do not handle complex tests specially.
9668         (output_test): Rename to ...
9669         (get_all_ulps_for_test): ... this.  Return a string rather than
9670         printing to a file.  Require ulps to be present.
9671         (output_ulps): Generate arrays rather than #defines.
9672         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
9673         (struct ulp_data): New type.
9674         (BUILD_COMPLEX_ULP): Remove macro.
9675         (compare_ulp_data): New function.
9676         (find_ulps): Likewise.
9677         (find_test_ulps): Likewise.
9678         (find_function_ulps): Likewise.
9679         (find_complex_function_ulps): Likewise.
9680         (print_max_error): Determine allowed ulps using
9681         find_function_ulps.
9682         (print_complex_max_error): Determine allowed ulps using
9683         find_complex_function_ulps.
9684         (check_float_internal): Determine max ulps using find_test_ulps.
9685         (check_float): Do not take max_ulp parameter.  Update call to
9686         check_float_internal.
9687         (check_complex): Likewise.
9688         (check_int): Do not take max_ulp parameter.
9689         (check_long): Likewise.
9690         (check_bool): Likewise.
9691         (check_longlong): Likewise.
9692         (struct test_f_f_data): Remove max_ulp field.
9693         (struct test_ff_f_data): Likewise.
9694         (struct test_ff_f_data_nexttoward): Likewise.
9695         (struct test_fi_f_data): Likewise.
9696         (struct test_fl_f_data): Likewise.
9697         (struct test_if_f_data): Likewise.
9698         (struct test_fff_f_data): Likewise.
9699         (struct test_c_f_data): Likewise.
9700         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
9701         (struct test_fF_f1_data): Likewise.
9702         (struct test_ffI_f1_data): Likewise.
9703         (struct test_c_c_data): Remove max_ulp field.
9704         (struct test_cc_c_data): Likewise.
9705         (struct test_f_i_data): Likewise.
9706         (struct test_ff_i_data): Likewise.
9707         (struct test_f_l_data): Likewise.
9708         (struct test_f_L_data): Likewise.
9709         (struct test_sincos_data): Likewise.
9710         (RUN_TEST_f_f): Do not handle ulps.
9711         (RUN_TEST_LOOP_f_f): Likewise.
9712         (RUN_TEST_2_f): Likewise.
9713         (RUN_TEST_LOOP_2_f): Likewise.
9714         (RUN_TEST_fff_f): Likewise.
9715         (RUN_TEST_LOOP_fff_f): Likewise.
9716         (RUN_TEST_c_f): Likewise.
9717         (RUN_TEST_LOOP_c_f): Likewise.
9718         (RUN_TEST_f_f1): Likewise.
9719         (RUN_TEST_LOOP_f_f1): Likewise.
9720         (RUN_TEST_fF_f1): Likewise.
9721         (RUN_TEST_LOOP_fF_f1): Likewise.
9722         (RUN_TEST_fI_f1): Likewise.
9723         (RUN_TEST_LOOP_fI_f1): Likewise.
9724         (RUN_TEST_ffI_f1): Likewise.
9725         (RUN_TEST_LOOP_ffI_f1): Likewise.
9726         (RUN_TEST_c_c): Likewise.
9727         (RUN_TEST_LOOP_c_c): Likewise.
9728         (RUN_TEST_cc_c): Likewise.
9729         (RUN_TEST_LOOP_cc_c): Likewise.
9730         (RUN_TEST_f_i): Likewise.
9731         (RUN_TEST_LOOP_f_i): Likewise.
9732         (RUN_TEST_f_i_tg): Likewise.
9733         (RUN_TEST_LOOP_f_i_tg): Likewise.
9734         (RUN_TEST_ff_i_tg): Likewise.
9735         (RUN_TEST_LOOP_ff_i_tg): Likewise.
9736         (RUN_TEST_f_b): Likewise.
9737         (RUN_TEST_LOOP_f_b): Likewise.
9738         (RUN_TEST_f_b_tg): Likewise.
9739         (RUN_TEST_LOOP_f_b_tg): Likewise.
9740         (RUN_TEST_f_l): Likewise.
9741         (RUN_TEST_LOOP_f_l): Likewise.
9742         (RUN_TEST_f_L): Likewise.
9743         (RUN_TEST_LOOP_f_L): Likewise.
9744         (RUN_TEST_sincos): Likewise.
9745         (RUN_TEST_LOOP_sincos): Likewise.
9746
9747 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
9748
9749         [BZ #15480]
9750         [BZ #15485]
9751         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
9752         main case of finite arguments, set rounding mode to FE_TONEAREST
9753         and discard exceptions.
9754         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
9755         exceptions.
9756         (remainder_tonearest_test_data): New variable.
9757         (remainder_test_tonearest): New function.
9758         (remainder_towardzero_test_data): New variable.
9759         (remainder_test_towardzero): New function.
9760         (remainder_downward_test_data): New variable.
9761         (remainder_test_downward): New function.
9762         (remainder_upward_test_data): New variable.
9763         (remainder_test_upward): New function.
9764         (main): Call the new test functions.
9765
9766         * math/libm-test.inc (struct test_f_f1_data): Remove field
9767         extra_init.
9768         (struct test_fF_f1_data): Likewise.
9769         (struct test_ffI_f1_data): Likewise.
9770         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
9771         based on value of EXTRA_EXPECTED.
9772         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
9773         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
9774         EXTRA_VAR based on value of EXTRA_EXPECTED.
9775         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
9776         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
9777         EXTRA_VAR based on value of EXTRA_EXPECTED.
9778         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
9779         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
9780         EXTRA_VAR based on value of EXTRA_EXPECTED.
9781         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
9782         * math/gen-libm-test.pl (parse_args): Don't output initializers
9783         for extra output values.
9784
9785         * math/libm-test.inc (check_int): Expect result to be exactly
9786         equal to expected value and do not handle ulps.
9787         (check_long): Likewise.
9788         (check_longlong): Likewise.
9789
9790         * math/libm-test.inc (ceil_test_data): Test for "inexact"
9791         exceptions.
9792         (cimag_test_data): Likewise.
9793         (conj_test_data): Likewise.
9794         (copysign_test_data): Likewise.
9795         (cproj_test_data): Likewise.
9796         (creal_test_data): Likewise.
9797         (fabs_test_data): Likewise.
9798         (fdim_test_data): Likewise.
9799         (finite_test_data): Likewise.
9800         (floor_test_data): Likewise.
9801         (fmax_test_data): Likewise.
9802         (fmin_test_data): Likewise.
9803         (fmod_test_data): Likewise.
9804         (fpclassify_test_data): Likewise.
9805         (frexp_test_data): Likewise.
9806         (ilogb_test_data): Likewise.
9807         (isfinite_test_data): Likewise.
9808         (isgreater_test_data): Likewise.
9809         (isgreaterequal_test_data): Likewise.
9810         (isinf_test_data): Likewise.
9811         (isless_test_data): Likewise.
9812         (islessequal_test_data): Likewise.
9813         (islessgreater_test_data): Likewise.
9814         (isnan_test_data): Likewise.
9815         (isnormal_test_data): Likewise.
9816         (issignaling_test_data): Likewise.
9817         (isunordered_test_data): Likewise.
9818         (ldexp_test_data): Likewise.
9819         (lrint_test_data): Likewise.
9820         (lrint_test_data) [TEST_FLOAT]: Disable one test.
9821         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
9822         (lrint_tonearest_test_data): Test for "inexact" exceptions.
9823         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
9824         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
9825         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
9826         test input.
9827         (lrint_towardzero_test_data): Test for "inexact" exceptions.
9828         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
9829         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
9830         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
9831         that test input.
9832         (lrint_downward_test_data): Test for "inexact" exceptions.
9833         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
9834         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
9835         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
9836         test input.
9837         (lrint_upward_test_data): Test for "inexact" exceptions.
9838         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
9839         test input.
9840         (llrint_test_data): Test for "inexact" exceptions.
9841         (llrint_test_data) [TEST_FLOAT]: Disable one test.
9842         (llrint_tonearest_test_data): Test for "inexact" exceptions.
9843         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
9844         (llrint_towardzero_test_data): Test for "inexact" exceptions.
9845         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
9846         (llrint_downward_test_data): Test for "inexact" exceptions.
9847         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
9848         (llrint_upward_test_data): Test for "inexact" exceptions.
9849         (logb_test_data): Likewise.
9850         (logb_downward_test_data): Likewise.
9851         (nextafter_test_data): Likewise.
9852         (nexttoward_test_data): Likewise.
9853         (remainder_test_data): Likewise.
9854         (remquo_test_data): Likewise.
9855         (scalbn_test_data): Likewise.
9856         (scalbln_test_data): Likewise.
9857         (signbit_test_data): Likewise.
9858         (sqrt_test_data): Likewise.
9859         (significand_test_data): Likewise.
9860
9861 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
9862
9863         [BZ #15424]
9864         * benchtests/bench-modf.c (struct args): Mark arg0 as
9865         volatile.
9866         * scripts/bench.pl: Mark members of struct args as volatile.
9867
9868 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9869
9870         [BZ # 15497]
9871         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
9872         negative infinity on POWER6 or lower.
9873         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
9874
9875 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
9876
9877         [BZ #15442]
9878         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
9879         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
9880         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
9881         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
9882         (_FP_SETQNAN): New macro.
9883         (_FP_SETQNAN_SEMIRAW): Likewise.
9884         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
9885         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
9886         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
9887         (FP_EXTEND): Use _FP_FRAC_SNANP.
9888         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
9889         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
9890         into account.
9891         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
9892         New macro.
9893         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
9894         Likewise.
9895
9896 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
9897
9898         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
9899         with DIVIDE_BY_ZERO_EXCEPTION.
9900         (gamma_test_data): Likewise.
9901         (lgamma_test_data): Likewise.
9902         (log_test_data): Likewise.
9903         (log10_test_data): Likewise.
9904         (log2_test_data): Likewise.
9905         (tgamma_test_data): Likewise.
9906
9907         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
9908         (acos_test_tonearest): Likewise.
9909         (acos_test_towardzero): Likewise.
9910         (acos_test_downward): Likewise.
9911         (acos_test_upward): Likewise.
9912         (acosh_test): Likewise.
9913         (asin_test): Likewise.
9914         (asin_test_tonearest): Likewise.
9915         (asin_test_towardzero): Likewise.
9916         (asin_test_downward): Likewise.
9917         (asin_test_upward): Likewise.
9918         (asinh_test): Likewise.
9919         (atan_test): Likewise.
9920         (atanh_test): Likewise.
9921         (atan2_test): Likewise.
9922         (cabs_test): Likewise.
9923         (cacos_test): Likewise.
9924         (cacosh_test): Likewise.
9925         (casin_test): Likewise.
9926         (casinh_test): Likewise.
9927         (catan_test): Likewise.
9928         (catanh_test): Likewise.
9929         (cbrt_test): Likewise.
9930         (ccos_test): Likewise.
9931         (ccosh_test): Likewise.
9932         (cexp_test): Likewise.
9933         (clog_test): Likewise.
9934         (clog10_test): Likewise.
9935         (cos_test): Likewise.
9936         (cos_test_tonearest): Likewise.
9937         (cos_test_towardzero): Likewise.
9938         (cos_test_downward): Likewise.
9939         (cos_test_upward): Likewise.
9940         (cosh_test): Likewise.
9941         (cosh_test_tonearest): Likewise.
9942         (cosh_test_towardzero): Likewise.
9943         (cosh_test_downward): Likewise.
9944         (cosh_test_upward): Likewise.
9945         (cpow_test): Likewise.
9946         (csin_test): Likewise.
9947         (csinh_test): Likewise.
9948         (csqrt_test): Likewise.
9949         (ctan_test): Likewise.
9950         (ctan_test_tonearest): Likewise.
9951         (ctan_test_towardzero): Likewise.
9952         (ctan_test_downward): Likewise.
9953         (ctan_test_upward): Likewise.
9954         (ctanh_test): Likewise.
9955         (ctanh_test_tonearest): Likewise.
9956         (ctanh_test_towardzero): Likewise.
9957         (ctanh_test_downward): Likewise.
9958         (ctanh_test_upward): Likewise.
9959         (erf_test): Likewise.
9960         (erfc_test): Likewise.
9961         (exp_test): Likewise.
9962         (exp_test_tonearest): Likewise.
9963         (exp_test_towardzero): Likewise.
9964         (exp_test_downward): Likewise.
9965         (exp_test_upward): Likewise.
9966         (exp10_test): Likewise.
9967         (exp2_test): Likewise.
9968         (expm1_test): Likewise.
9969         (fmod_test): Likewise.
9970         (gamma_test): Likewise.
9971         (hypot_test): Likewise.
9972         (j0_test): Likewise.
9973         (j1_test): Likewise.
9974         (jn_test): Likewise.
9975         (lgamma_test): Likewise.
9976         (log_test): Likewise.
9977         (log10_test): Likewise.
9978         (log1p_test): Likewise.
9979         (log2_test): Likewise.
9980         (logb_test_downward): Likewise.
9981         (pow_test): Likewise.
9982         (pow_test_tonearest): Likewise.
9983         (pow_test_towardzero): Likewise.
9984         (pow_test_downward): Likewise.
9985         (pow_test_upward): Likewise.
9986         (remainder_test): Likewise.
9987         (remquo_test): Likewise.
9988         (sin_test): Likewise.
9989         (sin_test_tonearest): Likewise.
9990         (sin_test_towardzero): Likewise.
9991         (sin_test_downward): Likewise.
9992         (sin_test_upward): Likewise.
9993         (sincos_test): Likewise.
9994         (sinh_test): Likewise.
9995         (sinh_test_tonearest): Likewise.
9996         (sinh_test_towardzero): Likewise.
9997         (sinh_test_downward): Likewise.
9998         (sinh_test_upward): Likewise.
9999         (sqrt_test): Likewise.
10000         (tan_test): Likewise.
10001         (tan_test_tonearest): Likewise.
10002         (tan_test_towardzero): Likewise.
10003         (tan_test_downward): Likewise.
10004         (tan_test_upward): Likewise.
10005         (tanh_test): Likewise.
10006         (tgamma_test): Likewise.
10007         (y0_test): Likewise.
10008         (y1_test): Likewise.
10009         (yn_test): Likewise.
10010
10011         * math/gen-libm-test.pl (adjust_arg): Remove function.
10012         (special_function): Remove argument $in_func.  Only handle
10013         generating output for tables of tests, not inside functions.
10014         (parse_args): Likewise.
10015         (generate_testfile): Remove variable $in_func.  Update call to
10016         parse_args.
10017         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
10018         (MINUS_ZERO_INIT): Rename macro to minus_zero.
10019         (PLUS_INFTY_INIT): Rename macro to plus_infty.
10020         (MINUS_INFTY_INIT): Rename macro to minus_infty.
10021         (QNAN_VALUE_INIT): Rename macro to qnan_value.
10022         (MAX_VALUE_INIT): Rename macro to max_value.
10023         (MIN_VALUE_INIT): Rename macro to min_value.
10024         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
10025         (plus_zero): Remove variable.
10026         (minus_zero): Likewise.
10027         (plus_infty): Likewise.
10028         (minus_infty): Likewise.
10029         (qnan_value): Likewise.
10030         (max_value): Likewise.
10031         (min_value): Likewise.
10032         (min_subnorm_value): Likewise.
10033
10034 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
10035
10036         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
10037         uint64_t or uint32_t usage.
10038         * crypt/sha256-block.c: Likewise.
10039         * crypt/sha256-crypt.c: Likewise.
10040         * crypt/sha256.c: Likewise.
10041         * crypt/sha512-block.c: Likewise.
10042         * crypt/sha512-crypt.c: Likewise.
10043         * crypt/sha512.c: Likewise.
10044         * debug/backtrace-tst.c: Likewise.
10045         * debug/pcprofiledump.c: Likewise.
10046         * elf/cache.c: Likewise.
10047         * elf/dl-cache.c: Likewise.
10048         * elf/dl-misc.c: Likewise.
10049         * elf/dl-profile.c: Likewise.
10050         * elf/dl-support.c: Likewise.
10051         * elf/ldconfig.c: Likewise.
10052         * elf/sprof.c: Likewise.
10053         * iconv/dummy-repertoire.c: Likewise.
10054         * iconv/iconv_charmap.c: Likewise.
10055         * iconv/skeleton.c: Likewise.
10056         * iconvdata/8bit-generic.c: Likewise.
10057         * iconvdata/cp737.h: Likewise.
10058         * iconvdata/cp775.h: Likewise.
10059         * iconvdata/ibm1008.h: Likewise.
10060         * iconvdata/ibm1025.h: Likewise.
10061         * iconvdata/ibm1046.h: Likewise.
10062         * iconvdata/ibm1097.h: Likewise.
10063         * iconvdata/ibm1112.h: Likewise.
10064         * iconvdata/ibm1122.h: Likewise.
10065         * iconvdata/ibm1123.h: Likewise.
10066         * iconvdata/ibm1124.h: Likewise.
10067         * iconvdata/ibm1129.h: Likewise.
10068         * iconvdata/ibm1130.h: Likewise.
10069         * iconvdata/ibm1132.h: Likewise.
10070         * iconvdata/ibm1133.h: Likewise.
10071         * iconvdata/ibm1137.h: Likewise.
10072         * iconvdata/ibm1140.h: Likewise.
10073         * iconvdata/ibm1141.h: Likewise.
10074         * iconvdata/ibm1142.h: Likewise.
10075         * iconvdata/ibm1143.h: Likewise.
10076         * iconvdata/ibm1144.h: Likewise.
10077         * iconvdata/ibm1145.h: Likewise.
10078         * iconvdata/ibm1146.h: Likewise.
10079         * iconvdata/ibm1147.h: Likewise.
10080         * iconvdata/ibm1148.h: Likewise.
10081         * iconvdata/ibm1149.h: Likewise.
10082         * iconvdata/ibm1153.h: Likewise.
10083         * iconvdata/ibm1154.h: Likewise.
10084         * iconvdata/ibm1155.h: Likewise.
10085         * iconvdata/ibm1156.h: Likewise.
10086         * iconvdata/ibm1157.h: Likewise.
10087         * iconvdata/ibm1158.h: Likewise.
10088         * iconvdata/ibm1160.h: Likewise.
10089         * iconvdata/ibm1161.h: Likewise.
10090         * iconvdata/ibm1162.h: Likewise.
10091         * iconvdata/ibm1163.h: Likewise.
10092         * iconvdata/ibm1164.h: Likewise.
10093         * iconvdata/ibm1166.h: Likewise.
10094         * iconvdata/ibm1167.h: Likewise.
10095         * iconvdata/ibm12712.h: Likewise.
10096         * iconvdata/ibm1390.h: Likewise.
10097         * iconvdata/ibm1399.h: Likewise.
10098         * iconvdata/ibm16804.h: Likewise.
10099         * iconvdata/ibm4517.h: Likewise.
10100         * iconvdata/ibm4899.h: Likewise.
10101         * iconvdata/ibm4909.h: Likewise.
10102         * iconvdata/ibm4971.h: Likewise.
10103         * iconvdata/ibm5347.h: Likewise.
10104         * iconvdata/ibm803.h: Likewise.
10105         * iconvdata/ibm856.h: Likewise.
10106         * iconvdata/ibm901.h: Likewise.
10107         * iconvdata/ibm902.h: Likewise.
10108         * iconvdata/ibm9030.h: Likewise.
10109         * iconvdata/ibm9066.h: Likewise.
10110         * iconvdata/ibm921.h: Likewise.
10111         * iconvdata/ibm922.h: Likewise.
10112         * iconvdata/ibm9448.h: Likewise.
10113         * iconvdata/isiri-3342.h: Likewise.
10114         * iconvdata/jis0201.h: Likewise.
10115         * include/link.h: Likewise.
10116         * include/netdb.h: Likewise.
10117         * inet/check_native.c: Likewise.
10118         * inet/check_pf.c: Likewise.
10119         * inet/getipv4sourcefilter.c: Likewise.
10120         * inet/getnameinfo.c: Likewise.
10121         * inet/getsourcefilter.c: Likewise.
10122         * inet/htonl.c: Likewise.
10123         * inet/setipv4sourcefilter.c: Likewise.
10124         * inet/setsourcefilter.c: Likewise.
10125         * inet/test-inet6_opt.c: Likewise.
10126         * inet/tst-network.c: Likewise.
10127         * locale/C-collate.c: Likewise.
10128         * locale/C-ctype.c: Likewise.
10129         * locale/C-time.c: Likewise.
10130         * locale/C-translit.h: Likewise.
10131         * locale/loadarchive.c: Likewise.
10132         * locale/programs/3level.h: Likewise.
10133         * locale/programs/charmap.c: Likewise.
10134         * locale/programs/charmap.h: Likewise.
10135         * locale/programs/ld-address.c: Likewise.
10136         * locale/programs/ld-collate.c: Likewise.
10137         * locale/programs/ld-ctype.c: Likewise.
10138         * locale/programs/ld-identification.c: Likewise.
10139         * locale/programs/ld-measurement.c: Likewise.
10140         * locale/programs/ld-messages.c: Likewise.
10141         * locale/programs/ld-monetary.c: Likewise.
10142         * locale/programs/ld-name.c: Likewise.
10143         * locale/programs/ld-numeric.c: Likewise.
10144         * locale/programs/ld-paper.c: Likewise.
10145         * locale/programs/ld-telephone.c: Likewise.
10146         * locale/programs/ld-time.c: Likewise.
10147         * locale/programs/linereader.c: Likewise.
10148         * locale/programs/locale.c: Likewise.
10149         * locale/programs/locarchive.c: Likewise.
10150         * locale/programs/locfile.h: Likewise.
10151         * locale/programs/repertoire.c: Likewise.
10152         * locale/programs/simple-hash.c: Likewise.
10153         * locale/programs/simple-hash.h: Likewise.
10154         * malloc/memusage.c: Likewise.
10155         * malloc/memusagestat.c: Likewise.
10156         * nis/nis_defaults.c: Likewise.
10157         * nis/nis_hash.c: Likewise.
10158         * nis/nis_print.c: Likewise.
10159         * nis/nis_xdr.c: Likewise.
10160         * nscd/connections.c: Likewise.
10161         * nscd/hstcache.c: Likewise.
10162         * nscd/nscd_gethst_r.c: Likewise.
10163         * nscd/nscd_getserv_r.c: Likewise.
10164         * nscd/nscd_helper.c: Likewise.
10165         * nscd/servicescache.c: Likewise.
10166         * nss/makedb.c: Likewise.
10167         * nss/nss_db/db-XXX.c: Likewise.
10168         * nss/nss_db/db-initgroups.c: Likewise.
10169         * nss/nss_db/db-netgrp.c: Likewise.
10170         * nss/nss_files/files-network.c: Likewise.
10171         * nss/nss_files/files-parse.c: Likewise.
10172         * posix/bug-regex5.c: Likewise.
10173         * posix/fnmatch_loop.c: Likewise.
10174         * posix/regcomp.c: Likewise.
10175         * posix/regexec.c: Likewise.
10176         * posix/tst-rfc3484-2.c: Likewise.
10177         * posix/tst-rfc3484-3.c: Likewise.
10178         * posix/tst-rfc3484.c: Likewise.
10179         * resolv/nss_dns/dns-canon.c: Likewise.
10180         * resolv/nss_dns/dns-network.c: Likewise.
10181         * resolv/res_init.c: Likewise.
10182         * resolv/res_mkquery.c: Likewise.
10183         * resolv/tst-aton.c: Likewise.
10184         * stdlib/cxa_atexit.c: Likewise.
10185         * stdlib/cxa_finalize.c: Likewise.
10186         * stdlib/gen-fpioconst.c: Likewise.
10187         * stdlib/strtol_l.c: Likewise.
10188         * string/tst-endian.c: Likewise.
10189         * sunrpc/auth_des.c: Likewise.
10190         * sunrpc/clnt_udp.c: Likewise.
10191         * sunrpc/rtime.c: Likewise.
10192         * sunrpc/svcauth_des.c: Likewise.
10193         * sunrpc/xdr.c: Likewise.
10194         * sunrpc/xdr_intXX_t.c: Likewise.
10195         * sunrpc/xdr_rec.c: Likewise.
10196         * sysdeps/generic/ldconfig.h: Likewise.
10197         * sysdeps/generic/ldsodefs.h: Likewise.
10198         * sysdeps/generic/memusage.h: Likewise.
10199         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
10200         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
10201         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
10202         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
10203         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
10204         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
10205         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
10206         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
10207         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
10208         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
10209         * sysdeps/posix/getaddrinfo.c: Likewise.
10210         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
10211         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
10212         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
10213         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
10214         * sysdeps/powerpc/test-gettimebase.c: Likewise.
10215         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
10216         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
10217         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
10218         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
10219         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
10220         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
10221         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
10222         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
10223         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
10224         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
10225         * sysdeps/x86_64/dl-tls.h: Likewise.
10226         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
10227         * time/alt_digit.c: Likewise.
10228         * time/era.c: Likewise.
10229         * wcsmbs/tst-c16c32-1.c: Likewise.
10230
10231 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
10232
10233         * math/libm-test.inc (struct test_sincos_data): New type.
10234         (RUN_TEST_LOOP_sincos): New macro.
10235         (sincos_test_data): New variable.
10236         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
10237
10238 2013-05-16  Richard Henderson  <rth@redhat.com>
10239
10240         * math/atest-exp2.c (LIMB64): New macro.
10241         (CONSTSZ): New macro.
10242         (mp_exp1, mp_exp_m1, mp_log2): New variables.
10243         (hexdig): Move ...
10244         (print_mpn_fp): ... to function scope.
10245         (read_mpn_hex): Remove.
10246         (get_log2): Remove.
10247         (exp2_mpn): Use mp_log2.
10248         (main): Use mp_exp1.
10249
10250 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
10251
10252         * math/libm-test.inc: Remove comment about not testing "inexact"
10253         exceptions.
10254         (INEXACT_EXCEPTION): New macro.
10255         (NO_INEXACT_EXCEPTION): Likewise.
10256         (INVALID_EXCEPTION_OK): Update value.
10257         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
10258         (OVERFLOW_EXCEPTION_OK): Likewise.
10259         (UNDERFLOW_EXCEPTION_OK): Likewise.
10260         (IGNORE_ZERO_INF_SIGN): Likewise.
10261         (ERRNO_UNCHANGED): Likewise.
10262         (ERRNO_EDOM): Likewise.
10263         (ERRNO_ERANGE): Likewise.
10264         (test_exceptions): Handle testing "inexact" exceptions.
10265         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
10266         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
10267         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
10268         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
10269         INEXACT_EXCEPTION.
10270         (rint_towardzero_test_data): Likewise.
10271         (rint_downward_test_data): Likewise.
10272         (rint_upward_test_data): Likewise.
10273
10274         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
10275         with OVERFLOW_EXCEPTION.
10276         (exp10_test_data): Likewise.
10277         (exp2_test_data): Likewise.
10278         (expm1_test_data): Likewise.
10279         (lgamma_test_data): Likewise.
10280         (pow_test_data): Likewise.
10281         (tgamma_test_data): Likewise.
10282         (yn_test_data): Remove duplicate test of overflow.
10283
10284         * math/libm-test.inc (struct test_cc_c_data): New type.
10285         (RUN_TEST_LOOP_cc_c): New macro.
10286         (cpow_test_data): New variable.
10287         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
10288
10289         * math/libm-test.inc (struct test_f_L_data): New type.
10290         (RUN_TEST_LOOP_f_L): New macro.
10291         (llrint_test_data): New variable.
10292         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
10293         (llrint_tonearest_test_data): New variable.
10294         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
10295         (llrint_towardzero_test_data): New variable.
10296         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
10297         (llrint_downward_test_data): New variable.
10298         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
10299         (llrint_upward_test_data): New variable.
10300         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
10301         (llround_test_data): New variable.
10302         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
10303
10304 2013-05-13  Peter Collingbourne  <pcc@google.com>
10305
10306         * math/atest-exp2.c (get_log2): Remove const attribute.
10307
10308 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
10309
10310         * math/libm-test.inc (struct test_f_l_data): New type.
10311         (RUN_TEST_LOOP_f_l): New macro.
10312         (lrint_test_data): New variable.
10313         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
10314         (lrint_tonearest_test_data): New variable.
10315         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
10316         (lrint_towardzero_test_data): New variable.
10317         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
10318         (lrint_downward_test_data): New variable.
10319         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
10320         (lrint_upward_test_data): New variable.
10321         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
10322         (lround_test_data): New variable.
10323         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
10324
10325 2013-05-15  Peter Collingbourne  <pcc@google.com>
10326
10327         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
10328         (EXTRACT_WORDS64) Use where appropriate.
10329         (INSERT_WORDS64) Likewise.
10330
10331         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
10332         constraints with x constraints.
10333         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
10334
10335         * malloc/obstack.c (_obstack_compat): Add initializer.
10336
10337 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
10338
10339         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
10340         si_trapno and add si_addr_lsb to _sifields.sigfault.
10341         (si_trapno): Remove macro.
10342         (si_addr_lsb): Define new macro.
10343         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
10344
10345 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
10346
10347         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
10348         instead of TEST_f_l.
10349         (llrint_test_tonearest): Likewise.
10350         (llrint_test_towardzero): Likewise.
10351         (llrint_test_downward): Likewise.
10352         (llrint_test_upward): Likewise.
10353         (llround_test): Likewise.
10354
10355         * math/libm-test.inc (struct test_f_i_data): Add comment.
10356         (RUN_TEST_LOOP_f_b): New macro.
10357         (RUN_TEST_LOOP_f_b_tg): Likewise.
10358         (finite_test_data): New variable.
10359         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
10360         (isfinite_test_data): New variable.
10361         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
10362         (isinf_test_data): New variable.
10363         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
10364         (isnan_test_data): New variable.
10365         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
10366         (isnormal_test_data): New variable.
10367         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
10368         (issignaling_test_data): New variable.
10369         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
10370         (signbit_test_data): New variable.
10371         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
10372
10373         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
10374         with INVALID_EXCEPTION.
10375         (acosh_test_data): Likewise.
10376         (asin_test_data): Likewise.
10377         (atanh_test_data): Likewise.
10378         (fmod_test_data): Likewise.
10379         (log_test_data): Likewise.
10380         (log10_test_data): Likewise.
10381         (log2_test_data): Likewise.
10382         (pow_test_data): Likewise.
10383         (sqrt_test_data): Likewise.
10384         (y0_test_data): Likewise.
10385         (y1_test_data): Likewise.
10386         (yn_test_data): Likewise.
10387
10388         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
10389         function contents.
10390
10391         * math/libm-test.inc (struct test_ff_i_data): New type.
10392         (RUN_TEST_LOOP_ff_i_tg): New macro.
10393         (isgreater_test_data): New variable.
10394         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
10395         (isgreaterequal_test_data): New variable.
10396         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
10397         (isless_test_data): New variable.
10398         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
10399         (islessequal_test_data): New variable.
10400         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
10401         (islessgreater_test_data): New variable.
10402         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
10403         (isunordered_test_data): New variable.
10404         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
10405
10406 2013-05-14  David S. Miller  <davem@davemloft.net>
10407
10408         * sysdeps/sparc/fpu/libm-test-ulps: Update.
10409
10410 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
10411
10412         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
10413
10414         * math/libm-test.inc (struct test_fF_f1_data): Change type of
10415         extra_test to int.
10416         (struct test_f_i_data): Change type of max_ulp to int.
10417
10418         * math/libm-test.inc (test_ffI_f1_data): New type.
10419         (RUN_TEST_LOOP_ffI_f1): New macro.
10420         (remquo_test_data): New variable.
10421         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
10422
10423         * setjmp/tst-setjmp-fp.c: New file.
10424         * setjmp/Makefile (tests): Add tst-setjmp-fp.
10425         (link-libm): New variable.
10426         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
10427
10428         * math/libm-test.inc (struct test_f_i_data): New type.
10429         (RUN_TEST_LOOP_f_i): New macro.
10430         (RUN_TEST_LOOP_f_i_tg): Likewise.
10431         (fpclassify_test_data): New variable.
10432         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
10433         (ilogb_test_data): New variable.
10434         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
10435
10436         * math/libm-test.inc (scalbln_test): Correct function name in END
10437         call.
10438
10439         * math/libm-test.inc (struct test_f_f1_data): Add comment.
10440         (RUN_TEST_LOOP_fI_f1): New macro.
10441         (frexp_test_data): New variable.
10442         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
10443
10444         * math/libm-test.inc (struct test_fF_f1_data): New type.
10445         (RUN_TEST_LOOP_fF_f1): New macro.
10446         (modf_test_data): New variable.
10447         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
10448
10449         * math/libm-test.inc (struct test_f_f1_data): New type.
10450         (RUN_TEST_LOOP_f_f1): New macro.
10451         (gamma_test_data): New variable.
10452         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
10453         (lgamma_test_data): New variable.
10454         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
10455
10456 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
10457
10458         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
10459         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
10460         (main): Comment "tls" pseudo-hwcap.
10461
10462 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
10463
10464         * math/libm-test.inc (struct test_fl_f_data): New type.
10465         (RUN_TEST_LOOP_fl_f): New variable.
10466         (scalbln_test_data): New variable.
10467         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
10468
10469         * math/libm-test.inc (struct test_fi_f_data): New type.
10470         (RUN_TEST_LOOP_fi_f): New macro.
10471         (ldexp_test_data): New variable.
10472         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
10473         (scalbn_test_data): New variable.
10474         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
10475
10476         * math/libm-test.inc (struct test_c_f_data): New type.
10477         (RUN_TEST_LOOP_c_f): New macro.
10478         (cabs_test_data): New variable.
10479         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
10480         (carg_test_data): New variable.
10481         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
10482         (cimag_test_data): New variable.
10483         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
10484         (creal_test_data): New variable.
10485         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
10486
10487         * math/libm-test.inc (struct test_if_f_data): New type.
10488         (RUN_TEST_LOOP_if_f): New macro.
10489         (jn_test_data): New variable.
10490         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
10491         (yn_test_data): New variable.
10492         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
10493
10494         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
10495
10496 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10497
10498         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
10499         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
10500
10501 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
10502
10503         * benchtests/Makefile (CPPFLAGS-nonlib): Add
10504         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
10505         (bench-deps): Add bench-timing.h.
10506         * benchtests-bench-skeleton.c: Include bench-timing.h.
10507         (main): Use TIMING_* macros instead of clock_gettime.
10508         * benchtests/bench-timing.h: New file.
10509
10510         [BZ #14582]
10511         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
10512         Renamed from _LIB_VERSION.
10513         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
10514
10515 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
10516
10517         * math/libm-test.inc (struct test_fff_f_data): New type.
10518         (RUN_TEST_LOOP_fff_f): New macro.
10519         (fma_test_data): New variable.
10520         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
10521         (fma_towardzero_test_data): New variable.
10522         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
10523         (fma_downward_test_data): New variable.
10524         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
10525         (fma_upward_test_data): New variable.
10526         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
10527
10528         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
10529         (struct test_c_c_data): New type.
10530         (RUN_TEST_LOOP_c_c): New macro.
10531         (cacos_test_data): New variable.
10532         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
10533         (cacosh_test_data): New variable.
10534         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
10535         (casin_test_data): New variable.
10536         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
10537         (casinh_test_data): New variable.
10538         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
10539         (catan_test_data): New variable.
10540         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
10541         (catanh_test_data): New variable.
10542         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
10543         (ccos_test_data): New variable.
10544         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
10545         (ccosh_test_data): New variable.
10546         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
10547         (cexp_test_data): New variable.
10548         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
10549         (clog_test_data): New variable.
10550         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
10551         (clog10_test_data): New variable.
10552         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
10553         (conj_test_data): New variable.
10554         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
10555         (cproj_test_data): New variable.
10556         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
10557         (csin_test_data): New variable.
10558         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
10559         (csinh_test_data): New variable.
10560         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
10561         (csqrt_test_data): New variable.
10562         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
10563         (ctan_test_data): New variable.
10564         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
10565         (ctan_tonearest_test_data): New variable.
10566         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
10567         (ctan_towardzero_test_data): New variable.
10568         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
10569         (ctan_downward_test_data): New variable.
10570         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
10571         (ctan_upward_test_data): New variable.
10572         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
10573         (ctanh_test_data): New variable.
10574         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
10575         (ctanh_tonearest_test_data): New variable.
10576         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
10577         (ctanh_towardzero_test_data): New variable.
10578         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
10579         (ctanh_downward_test_data): New variable.
10580         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
10581         (ctanh_upward_test_data): New variable.
10582         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
10583         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
10584         of BUILD_COMPLEX.
10585
10586         * math/libm-test.inc (struct test_ff_f_data): New type.
10587         (struct test_ff_f_data_nexttoward): Likewise.
10588         (RUN_TEST_LOOP_2_f): New macro.
10589         (RUN_TEST_LOOP_ff_f): Likewise.
10590         (atan2_test_data): New variable.
10591         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
10592         (copysign_test_data): New variable.
10593         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
10594         (fdim_test_data): New variable.
10595         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
10596         (fmax_test_data): New variable.
10597         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
10598         (fmin_test_data): New variable.
10599         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
10600         (fmod_test_data): New variable.
10601         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
10602         (hypot_test_data): New variable.
10603         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
10604         (nextafter_test_data): New variable.
10605         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
10606         (nexttoward_test_data): New variable.
10607         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
10608         (pow_test_data): New variable.
10609         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
10610         (pow_tonearest_test_data): New variable.
10611         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
10612         (pow_towardzero_test_data): New variable.
10613         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
10614         (pow_downward_test_data): New variable.
10615         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
10616         (pow_upward_test_data): New variable.
10617         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
10618         (remainder_test_data): New variable.
10619         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
10620         (scalb_test_data): New variable.
10621         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
10622         * sysdeps/i386/fpu/libm-test-ulps: Update.
10623
10624 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
10625
10626         * math/libm-test.inc (fma_test): Use max_value instead of local
10627         variable fltmax.
10628         (nextafter_test): Likewise.
10629
10630         * math/libm-test.inc (acos_towardzero_test_data): New variable.
10631         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
10632         (acos_downward_test_data): New variable.
10633         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
10634         (acos_upward_test_data): New variable.
10635         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
10636         (acosh_test_data): New variable.
10637         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
10638         (asin_test_data): New variable.
10639         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
10640         (asin_tonearest_test_data): New variable.
10641         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
10642         (asin_towardzero_test_data): New variable.
10643         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
10644         (asin_downward_test_data): New variable.
10645         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
10646         (asin_upward_test_data): New variable.
10647         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
10648         (asinh_test_data): New variable.
10649         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
10650         (atan_test_data): New variable.
10651         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
10652         (atanh_test_data): New variable.
10653         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
10654         (cbrt_test_data): New variable.
10655         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
10656         (ceil_test_data): New variable.
10657         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
10658         (cos_test_data): New variable.
10659         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
10660         (cos_tonearest_test_data): New variable.
10661         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
10662         (cos_towardzero_test_data): New variable.
10663         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
10664         (cos_downward_test_data): New variable.
10665         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
10666         (cos_upward_test_data): New variable.
10667         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
10668         (cosh_test_data): New variable.
10669         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
10670         (cosh_tonearest_test_data): New variable.
10671         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
10672         (cosh_towardzero_test_data): New variable.
10673         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
10674         (cosh_downward_test_data): New variable.
10675         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
10676         (cosh_upward_test_data): New variable.
10677         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
10678         (erf_test_data): New variable.
10679         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
10680         (erfc_test_data): New variable.
10681         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
10682         (exp_test_data): New variable.
10683         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
10684         (exp_tonearest_test_data): New variable.
10685         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
10686         (exp_towardzero_test_data): New variable.
10687         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
10688         (exp_downward_test_data): New variable.
10689         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
10690         (exp_upward_test_data): New variable.
10691         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
10692         (exp10_test_data): New variable.
10693         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
10694         (exp2_test_data): New variable.
10695         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
10696         (expm1_test_data): New variable.
10697         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
10698         (fabs_test_data): New variable.
10699         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
10700         (floor_test_data): New variable.
10701         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
10702         (j0_test_data): New variable.
10703         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
10704         (j1_test_data): New variable.
10705         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
10706         (log_test_data): New variable.
10707         (log_test): Run tests with RUN_TEST_LOOP_f_f.
10708         (log10_test_data): New variable.
10709         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
10710         (log1p_test_data): New variable.
10711         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
10712         (log2_test_data): New variable.
10713         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
10714         (logb_test_data): New variable.
10715         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
10716         (logb_downward_test_data): New variable.
10717         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
10718         (nearbyint_test_data): New variable.
10719         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
10720         (rint_test_data): New variable.
10721         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
10722         (rint_tonearest_test_data): New variable.
10723         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
10724         (rint_towardzero_test_data): New variable.
10725         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
10726         (rint_downward_test_data): New variable.
10727         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
10728         (rint_upward_test_data): New variable.
10729         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
10730         (round_test_data): New variable.
10731         (round_test): Run tests with RUN_TEST_LOOP_f_f.
10732         (sin_test_data): New variable.
10733         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
10734         (sin_tonearest_test_data): New variable.
10735         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
10736         (sin_towardzero_test_data): New variable.
10737         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
10738         (sin_downward_test_data): New variable.
10739         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
10740         (sin_upward_test_data): New variable.
10741         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
10742         (sinh_test_data): New variable.
10743         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
10744         (sinh_tonearest_test_data): New variable.
10745         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
10746         (sinh_towardzero_test_data): New variable.
10747         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
10748         (sinh_downward_test_data): New variable.
10749         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
10750         (sinh_upward_test_data): New variable.
10751         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
10752         (sqrt_test_data): New variable.
10753         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
10754         (tan_test_data): New variable.
10755         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
10756         (tan_tonearest_test_data): New variable.
10757         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
10758         (tan_towardzero_test_data): New variable.
10759         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
10760         (tan_downward_test_data): New variable.
10761         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
10762         (tan_upward_test_data): New variable.
10763         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
10764         (tanh_test_data): New variable.
10765         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
10766         (tgamma_test_data): New variable.
10767         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
10768         (trunc_test_data): New variable.
10769         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
10770         (y0_test_data): New variable.
10771         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
10772         (y1_test_data): New variable.
10773         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
10774         (significand_test_data): New variable.
10775         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
10776
10777 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
10778
10779         [BZ #12387]
10780         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
10781
10782 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
10783
10784         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
10785
10786 2013-05-10  Andreas Jaeger  <aj@suse.de>
10787
10788         [BZ #15448]
10789         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
10790         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
10791
10792 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
10793
10794         * math/gen-libm-test.pl (adjust_arg): New function.
10795         (special_functions): Handle generating output in both functions
10796         and arrays.
10797         (parse_args): Likewise.
10798         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
10799         $in_func argument to parse_args.
10800         * math/libm-test.inc (struct test_f_f_data): New type.
10801         (IF_ROUND_INIT_): New macro.
10802         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
10803         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
10804         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
10805         (IF_ROUND_INIT_FE_UPWARD): Likewise.
10806         (ROUND_RESTORE_): Likewise.
10807         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
10808         (ROUND_RESTORE_FE_TONEAREST): Likewise.
10809         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
10810         (ROUND_RESTORE_FE_UPWARD): Likewise.
10811         (RUN_TEST_LOOP_f_f): New macro.
10812         (acos_test_data): New variable.
10813         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
10814         (acos_tonearest_test_data): New variable.
10815         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
10816
10817 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
10818
10819         * benchtests/bench-skeleton.c (startup): Fix coding style.
10820
10821 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
10822
10823         [BZ #6809]
10824         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
10825         negative infinity argument.
10826         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
10827         negative infinity argument.
10828         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
10829         negative infinity argument.
10830         * math/libm-test.inc (tgamma_test): Expect errno to be set for
10831         domain errors.
10832
10833 2013-05-10  Florian Weimer  <fweimer@redhat.com>
10834
10835         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
10836         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
10837         * iconv/iconv_prog.c (main): Likewise.
10838         * locale/programs/charmap-dir.c (charmap_readdir)
10839         (fopen_uncompressed): Likewise.
10840         * locale/programs/locfile.c (siblings_uncached)
10841         (write_locale_data): Use lstat64 instead of lstat.
10842         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
10843         stat.
10844
10845 2013-05-10  Andreas Jaeger  <aj@suse.de>
10846
10847         [BZ #15395]
10848         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
10849         localization.
10850         Include <locale.h>.
10851
10852 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
10853
10854         * elf/dl-close.c (_dl_close_worker): Add comments.
10855
10856 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
10857
10858         [BZ #15359]
10859         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
10860         high part of pi/2.
10861         (__ieee754_rem_pio2l): Update comments.
10862
10863         [BZ #15429]
10864         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
10865         high part of pi/2.
10866         (__ieee754_rem_pio2l): Update comments.
10867
10868         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
10869         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
10870
10871         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
10872         M_PI_4l.
10873
10874         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
10875         (M_PI_34_LOG10El): Likewise.
10876         (M_PI2_LOG10El): Likewise.
10877         (M_PI4_LOG10El): Likewise.
10878         (M_PI_LOG10El): Likewise.
10879
10880 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10881
10882         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10883
10884 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
10885
10886         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
10887         (MINUS_ZERO_INIT): Likewise.
10888         (PLUS_INFTY_INIT): Likewise.
10889         (MINUS_INFTY_INIT): Likewise.
10890         (QNAN_VALUE_INIT): Likewise.
10891         (MAX_VALUE_INIT): Likewise.
10892         (MIN_VALUE_INIT): Likewise.
10893         (MIN_SUBNORM_VALUE_INIT): Likewise.
10894         (plus_zero): Initialize with PLUS_ZERO_INIT.
10895         (minus_zero): Initialize with MINUS_ZERO_INIT.
10896         (plus_infty): Initialize with PLUS_INFTY_INIT.
10897         (minus_infty): Initialize with MINUS_INFTY_INIT.
10898         (qnan_value): Initialize with QNAN_VALUE_INIT.
10899         (max_value): Initialize with MAX_VALUE_INIT.
10900         (min_value): Initialize with MIN_VALUE_INIT.
10901         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
10902
10903         * math/libm-test.inc (RUN_TEST_if_f): New macro.
10904         (jn_test): Use TEST_if_f instead of TEST_ff_f.
10905         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
10906         (yn_test): Use TEST_if_f instead of TEST_ff_f.
10907
10908         * math/libm-test.inc (RUN_TEST_f_f): New macro.
10909         (RUN_TEST_2_f): Likewise.
10910         (RUN_TEST_ff_f): Likewise.
10911         (RUN_TEST_fi_f): Likewise.
10912         (RUN_TEST_fl_f): Likewise.
10913         (RUN_TEST_fff_f): Likewise.
10914         (RUN_TEST_c_f): Likewise.
10915         (RUN_TEST_f_f1): Likewise.
10916         (RUN_TEST_fF_f1): Likewise.
10917         (RUN_TEST_fI_f1): Likewise.
10918         (RUN_TEST_ffI_f1): Likewise.
10919         (RUN_TEST_c_c): Likewise.
10920         (RUN_TEST_cc_c): Likewise.
10921         (RUN_TEST_f_i): Likewise.
10922         (RUN_TEST_f_i_tg): Likewise.
10923         (RUN_TEST_ff_i_tg): Likewise.
10924         (RUN_TEST_f_b): Likewise.
10925         (RUN_TEST_f_b_tg): Likewise.
10926         (RUN_TEST_f_l): Likewise.
10927         (RUN_TEST_f_L): Likewise.
10928         (RUN_TEST_sincos): Likewise.
10929         * math/gen-libm-test.pl (new_test): Take new argument to indicate
10930         whether to show exceptions.  Do not include ");\n" in return
10931         value.
10932         (special_functions): Output call to RUN_TEST_sincos instead of
10933         check_float calls.  Update calls to new_test.
10934         (parse_args): Output call to single RUN_TEST_* macro instead of
10935         check_* calls and other assignments.  Update calls to new_test.
10936
10937         [BZ #2546]
10938         [BZ #2560]
10939         [BZ #5159]
10940         [BZ #15426]
10941         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
10942         input to result for tgamma overflow.
10943         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
10944         (gamma_coeff): New variable.
10945         (NCOEFF): New macro.
10946         (gamma_positive): New function.
10947         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
10948         underflow here.  Use gamma_positive instead of exp (lgamma) for
10949         other arguments.
10950         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
10951         (gamma_coeff): New variable.
10952         (NCOEFF): New macro.
10953         (gammaf_positive): New function.
10954         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
10955         underflow here.  Use gamma_positive instead of exp (lgamma) for
10956         other arguments.
10957         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
10958         (gamma_coeff): New variable.
10959         (NCOEFF): New macro.
10960         (gammal_positive): New function.
10961         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
10962         underflow here.  Use gamma_positive instead of exp (lgamma) for
10963         other arguments.
10964         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
10965         (gamma_coeff): New variable.
10966         (NCOEFF): New macro.
10967         (gammal_positive): New function.
10968         (__ieee754_gammal_r): Handle positive infinity, overflow and
10969         underflow here.  Handle NaN the same as positive infinity.  Remove
10970         check x < 0xffffffff for negative integers.  Use gamma_positive
10971         instead of exp (lgamma) for other arguments.
10972         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
10973         (gamma_coeff): New variable.
10974         (NCOEFF): New macro.
10975         (gammal_positive): New function.
10976         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
10977         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
10978         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
10979         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
10980         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
10981         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
10982         * sysdeps/generic/math_private.h (__gamma_productf): New
10983         prototype.
10984         (__gamma_product): Likewise.
10985         (__gamma_productl): Likewise.
10986         * math/Makefile (libm-calls): Add gamma_product.
10987         * math/libm-test.inc (tgamma_test): Add more tests.
10988         * sysdeps/i386/fpu/libm-test-ulps: Update.
10989         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10990
10991 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
10992
10993         * benchtests/bench-skeleton.c (main): Preheat CPU.
10994
10995 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
10996
10997         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
10998
10999 2013-05-07  Roland McGrath  <roland@hack.frob.com>
11000
11001         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
11002         and _dl_skip_args_internal.
11003
11004 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
11005
11006         * manual/message.texi (Message Translation): Talk about users.
11007         Message to key mapping impacts design.
11008
11009 2013-05-06  Roland McGrath  <roland@hack.frob.com>
11010
11011         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
11012
11013         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
11014
11015         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
11016         * sysdeps/wordsize-64/glob64.c: ... here.
11017
11018         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
11019         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
11020         New macros.
11021
11022         * debug/getlogin_r_chk.c: Moved to ...
11023         * login/getlogin_r_chk.c: ... here.
11024         * debug/Makefile (routines): Move getlogin_r_chk to ...
11025         * login/Makefile (routines): ... here.
11026         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
11027         * login/Versions (libc: GLIBC_2.4): ... here.
11028
11029         * io/poll.c (__poll): Renamed from poll.
11030         Add libc_hidden_def.
11031         (poll): Define as weak alias.
11032
11033         * debug/ptsname_r_chk.c: Moved to ...
11034         * login/ptsname_r_chk.c: ... here.
11035         * debug/Makefile (routines): Move ptsname_r_chk to ...
11036         * login/Makefile (routines): ... here.
11037         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
11038         * login/Versions (libc: GLIBC_2.4): ... here.
11039
11040         * posix/getlogin.c: Moved to ...
11041         * login/getlogin.c: ... here.
11042         * posix/getlogin_r.c: Moved to ...
11043         * login/getlogin_r.c: ... here.
11044         * posix/getlogin_r.c: Moved to ...
11045         * login/getlogin_r.c: ... here.
11046         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
11047         * login/Makefile (routines): ... here.
11048         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
11049         * login/Versions (libc: GLIBC_2.0): ... here.
11050
11051         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
11052         (setrlimit): Define as weak alias.
11053
11054         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
11055         Call __ names for open, ftruncate, and close.
11056         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
11057         (truncate): Define as weak alias.
11058
11059 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
11060
11061         * math/gen-libm-test.pl (parse_args): Initialize x before each
11062         test of frexp, modf and remquo.
11063
11064         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
11065         test signgam value.
11066
11067 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11068
11069         [BZ #15418]
11070         [BZ #15419]
11071         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
11072         internal tests.
11073         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
11074
11075 2013-05-06  Roland McGrath  <roland@hack.frob.com>
11076
11077         * elf/dl-writev.h: New file.
11078         * elf/dl-misc.c: Include it.
11079         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
11080         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
11081
11082 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
11083
11084         * math/libm-test.inc (noXFails): Remove variable.
11085         (noXPasses): Likewise.
11086         (BUILD_COMPLEX_INT): Remove macro.
11087         (print_screen): Remove xfail argument.
11088         (print_screen_max_error): Likewise.
11089         (update_stats): Likewise.
11090         (print_max_error): Likewise.  Update calls to other affected
11091         functions.
11092         (print_complex_max_error): Likewise.
11093         (test_single_exception): Update calls to print_screen.
11094         (test_single_errno): Likewise.
11095         (check_float_internal): Remove xfail argument.  Update calls to
11096         other affected functions.
11097         (check_float): Likewise.
11098         (check_complex): Likewise.
11099         (check_int): Likewise.
11100         (check_long): Likewise.
11101         (check_bool): Likewise.
11102         (check_longlong): Likewise.
11103         (main): Don't print noXFails and noXPasses.
11104         * math/gen-libm-test.pl (top level): Don't mention expected
11105         failure handling in comment.
11106         (new_test): Don't handle expected failures.
11107         (parse_args): Don't mention expected failure handling in comment.
11108         (generate_testfile): Don't handle expected failures.
11109         (parse_ulps): Likewise.
11110         (print_ulps_file): Likewise.
11111         (get_failure): Remove function.
11112         (output_test): Don't handle expected failures.
11113         * make/README.libm-test: Don't mention expected failure handling.
11114
11115         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
11116         (minus_zero): Likewise.
11117         (plus_infty): Likewise.
11118         (minus_infty): Likewise.
11119         (qnan_value): Likewise.
11120         (max_value): Likewise.
11121         (min_value): Likewise.
11122         (min_subnorm_value): Likewise.
11123         (initialize): Do not initialize those variables dynamically.
11124
11125 2013-05-03  Roland McGrath  <roland@hack.frob.com>
11126
11127         * io/open.c (__open_2): Moved to ...
11128         * io/open_2.c: ... this new file.
11129         * io/open64.c (__open64_2): Moved to ...
11130         * io/open64_2.c: ... this new file.
11131         * io/openat.c (__openat_2): Moved to ...
11132         * io/openat_2.c: ... this new file.
11133         * io/openat64.c (__openat64_2): Moved to ...
11134         * io/openat64_2.c: ... this new file.
11135         * io/Makefile (routines): Add them.
11136         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
11137         * sysdeps/unix/sysv/linux/open_2.c: File removed.
11138         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
11139         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
11140         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
11141         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
11142         (__openat64): Add hidden_ver.
11143         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
11144         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
11145
11146         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
11147         Separately conditionalize setting of GLRO(dl_sysinfo) so
11148         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
11149         as well, but the actual setting is only under [NEED_DL_SYSINFO].
11150
11151 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11152
11153         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
11154         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
11155         definition.
11156         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
11157         * sysdeps/unix/sysv/linux/powerpc/init-first.c
11158         (_libc_vdso_platform_setup): Add __vdso_time initialization.
11159         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
11160         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
11161
11162 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
11163
11164         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
11165         test signgam value.
11166
11167         * math/libm-test.inc (hypot_test): Do not use
11168         IGNORE_ZERO_INF_SIGN.
11169
11170 2013-05-03  Andreas Jaeger  <aj@suse.de>
11171
11172         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
11173         Linux 3.9.
11174         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
11175         (PF_MAX): Adjust for VSOCK change.
11176
11177 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11178
11179         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11180
11181 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
11182
11183         [BZ #15264]
11184         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
11185         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
11186         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
11187
11188 2013-05-02  David S. Miller  <davem@davemloft.net>
11189
11190         * sysdeps/sparc/fpu/libm-test-ulps: Update.
11191
11192 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
11193
11194         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
11195
11196 2013-05-01  Roland McGrath  <roland@hack.frob.com>
11197
11198         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
11199
11200 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
11201
11202         [BZ #14952]
11203         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
11204         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
11205         Use __attribute__ ((__gnu_inline__)).
11206         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
11207         Don't use __attribute__ ((__gnu_inline__)).
11208
11209 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
11210
11211         [BZ #15423]
11212         * math/s_catan.c (__catan): Handle small real or imaginary part of
11213         input specially to avoid spurious underflow.
11214         * math/s_catanf.c (__catanf): Likewise.
11215         * math/s_catanh.c (__catanh): Likewise.
11216         * math/s_catanhf.c (__catanhf): Likewise.
11217         * math/s_catanhl.c (__catanhl): Likewise.
11218         * math/s_catanl.c (__catanl): Likewise.
11219         * math/libm-test.inc (catan_test): Add more tests.
11220         (catanh_test): Likewise.
11221         * sysdeps/i386/fpu/libm-test-ulps: Update.
11222         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11223
11224 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11225
11226         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11227
11228 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
11229
11230         [BZ #15416]
11231         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
11232         accurately for denominator in atan2.
11233         * math/s_catanf.c (__catanf): Likewise.
11234         * math/s_catanh.c (__catanh): Likewise.
11235         * math/s_catanhf.c (__catanhf): Likewise.
11236         * math/s_catanhl.c (__catanhl): Likewise.
11237         * math/s_catanl.c (__catanl): Likewise.
11238         * math/libm-test.inc (catan_test): Add more tests.
11239         (catanh_test): Likewise.
11240         * sysdeps/i386/fpu/libm-test-ulps: Update.
11241         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11242
11243 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
11244
11245         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
11246
11247         * benchtests/Makefile (bench): Remove slow benchmarks.
11248         * benchtests/atan-inputs: Add slow benchmark inputs.
11249         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
11250         (BENCH_FUNC): Accept variant offset.
11251         (VARIANT): Define.
11252         * benchtests/bench-skeleton.c (main): Run benchmark for each
11253         variant.
11254         * benchtests/cos-inputs: Add slow benchmark inputs.
11255         * benchtests/exp-inputs: Likewise.
11256         * benchtests/pow-inputs: Likewise.
11257         * benchtests/sin-inputs: Likewise.
11258         * benchtests/slowatan-inputs: Remove.
11259         * benchtests/slowatan.c: Remove.
11260         * benchtests/slowcos-inputs: Remove.
11261         * benchtests/slowcos.c: Remove.
11262         * benchtests/slowexp-inputs: Remove.
11263         * benchtests/slowexp.c: Remove.
11264         * benchtests/slowpow-inputs: Remove.
11265         * benchtests/slowpow.c: Remove.
11266         * benchtests/slowsin-inputs: Remove.
11267         * benchtests/slowsin.c: Remove.
11268         * benchtests/slowtan-inputs: Remove.
11269         * benchtests/slowtan.c: Remove.
11270         * benchtests/tan-inputs: Add slow benchmark inputs.
11271         * scripts/bench.pl: Parse comments and directives.
11272
11273         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
11274         in CPPFLAGS.
11275         ($(objpfx)bench-%.c): Remove *-ITER.
11276         * benchtests/bench-modf.c: Remove definition of ITER.
11277         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
11278         (main): Loop for DURATION seconds instead of fixed number of
11279         iterations.
11280         * scripts/bench.pl: Don't expect iterations in parameters.
11281
11282 2013-04-29  Roland McGrath  <roland@hack.frob.com>
11283
11284         * io/fchdir.c (__fchdir): Renamed from fchdir.
11285         (fchdir): Define as weak alias.
11286
11287 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
11288
11289         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
11290         (ERRNO_EDOM): Likewise.
11291         (ERRNO_ERANGE): Likewise.
11292         (noErrnoTests): New variable.
11293         (init_max_error): Set errno to 0.
11294         (test_single_errno): New function.
11295         (test_errno): Likewise.
11296         (check_float_internal): Call test_errno.  Set errno to 0.
11297         (check_complex): Refer to errno tests in comment.
11298         (check_int): Call test_errno.  Set errno to 0.
11299         (check_long): Likewise.
11300         (check_bool): Likewise.
11301         (check_longlong): Likewise.
11302         (cos_test): Use ERRNO_* flags for errno tests instead of
11303         check_int.
11304         (expm1_test): Likewise.
11305         (fmod_test): Likewise.
11306         (ilogb_test): Likewise.
11307         (lgamma_test): Likewise.
11308         (pow_test): Likewise.
11309         (remainder_test): Likewise.
11310         (sin_test): Likewise.
11311         (tan_test): Likewise.
11312         (yn_test): Likewise.
11313         (initialize): Set errno to 0.
11314         (main): Print number of errno tests.
11315         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
11316
11317 2013-04-29  Andreas Jaeger  <aj@suse.de>
11318
11319         [BZ #15084]
11320         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
11321         and RES_USEVC.
11322
11323         [BZ #15085]
11324         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
11325         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
11326         unimplemented.
11327
11328         [BZ #15380]
11329         * stdlib/random.c (__initstate): Return NULL if
11330         __initstate fails.
11331
11332         [BZ #15086]
11333         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
11334         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
11335         RES_SNGLKUPREOP.
11336
11337 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11338
11339         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11340
11341 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
11342
11343         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
11344         of individual tests.
11345         (casin_test): Likewise.
11346         (casinh_test): Likewise.
11347
11348 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
11349
11350         [BZ #15409]
11351         * math/s_catan.c (__catan): Handle arguments with large real or
11352         imaginary part separately without squaring.
11353         * math/s_catanf.c (__catanf): Likewise.
11354         * math/s_catanh.c (__catanh): Likewise.
11355         * math/s_catanhf.c (__catanhf): Likewise.
11356         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
11357         and redefine.
11358         (__catanhl): Handle arguments with large real or imaginary part
11359         separately without squaring.
11360         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
11361         and redefine.
11362         (__catanl): Handle arguments with large real or imaginary part
11363         separately without squaring.
11364         * math/libm-test.inc (catan_test): Add more tests.
11365         (catanh_test): Likewise.
11366         * sysdeps/i386/fpu/libm-test-ulps: Update.
11367         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11368
11369 2013-04-27  Andreas Jaeger  <aj@suse.de>
11370
11371         [BZ #15007]
11372         * stdlib/stdlib.h: Update guards for qecvt.
11373         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
11374         <stdlib.h>.
11375
11376 2013-04-27  Allan McRae  <allan@archlinux.org>
11377
11378         * sysdeps/i386/fpu/libm-test-ulps: Update.
11379
11380 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
11381
11382         [BZ #15406]
11383         * math/s_catan.c: Include <float.h>.
11384         (__catan): Ensure underflow exception occurs for underflowed
11385         result.
11386         * math/s_catanf.c: Include <float.h>.
11387         (__catanf): Ensure underflow exception occurs for underflowed
11388         result.
11389         * math/s_catanh.c: Include <float.h>.
11390         (__catanh): Ensure underflow exception occurs for underflowed
11391         result.
11392         * math/s_catanhf.c: Include <float.h>.
11393         (__catanhf): Ensure underflow exception occurs for underflowed
11394         result.
11395         * math/s_catanhl.c: Include <float.h>.
11396         (__catanhl): Ensure underflow exception occurs for underflowed
11397         result.
11398         * math/s_catanl.c: Include <float.h>.
11399         (__catanl): Ensure underflow exception occurs for underflowed
11400         result.
11401         * math/libm-test.inc (catan_test): Add more tests.
11402         (catanh_test): Likewise.
11403
11404         [BZ #15405]
11405         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
11406         underflowed result.
11407         * math/s_ccoshf.c (__ccoshf): Likewise.
11408         * math/s_ccoshl.c (__ccoshl): Likewise.
11409         * math/s_csin.c (__csin): Likewise.
11410         * math/s_csinf.c (__csinf): Likewise.
11411         * math/s_csinh.c (__csinh): Likewise.
11412         * math/s_csinhf.c (__csinhf): Likewise.
11413         * math/s_csinhl.c (__csinhl): Likewise.
11414         * math/s_csinl.c (__csinl): Likewise.
11415         * math/libm-test.inc (ccos_test): Add more tests.
11416         (ccosh_test): Likewise.
11417         (csin_test): Likewise.
11418         (csinh_test): Likewise.
11419
11420 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11421
11422         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
11423         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
11424         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
11425         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
11426         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
11427         powerpc/power5+/fpu folders.
11428         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
11429
11430
11431 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
11432
11433         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11434
11435 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
11436
11437         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
11438         additions to variable.
11439         [$(config-machine) = x86_64] (modules-names): Likewise.
11440         ($(objpfx)tst-audit3): Remove dependency.
11441         ($(objpfx)tst-audit3.out): Likewise.
11442         ($(objpfx)tst-audit4): Likewise.
11443         ($(objpfx)tst-audit4.out): Likewise.
11444         ($(objpfx)tst-audit5): Likewise.
11445         ($(objpfx)tst-audit5.out): Likewise.
11446         ($(objpfx)tst-audit6): Likewise.
11447         ($(objpfx)tst-audit6.out): Likewise.
11448         ($(objpfx)tst-audit7): Likewise.
11449         ($(objpfx)tst-audit7.out): Likewise.
11450         (tst-audit3-ENV): Remove variable.
11451         (tst-audit4-ENV): Likewise.
11452         (tst-audit5-ENV): Likewise.
11453         (tst-audit6-ENV): Likewise.
11454         (tst-audit7-ENV): Likewise.
11455         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
11456         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
11457         addition to variable.
11458         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
11459         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
11460         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
11461         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
11462         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
11463         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
11464         tst-audit3, tst-audit4 and tst-audit5.
11465         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
11466         tst-audit6 and tst-audit7.
11467         [$(subdir) = elf] (modules-names): Add audit modules for those
11468         tests.
11469         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
11470         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
11471         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
11472         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
11473         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
11474         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
11475         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
11476         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
11477         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
11478         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
11479         [$(subdir) = elf] (tst-audit3-ENV): New variable.
11480         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
11481         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
11482         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
11483         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
11484         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
11485         Likewise.
11486         [$(subdir) = elf && $(config-cflags-avx) = yes]
11487         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
11488         [$(subdir) = elf && $(config-cflags-avx) = yes]
11489         (CFLAGS-tst-auditmod4a.c): Likewise.
11490         [$(subdir) = elf && $(config-cflags-avx) = yes]
11491         (CFLAGS-tst-auditmod4b.c): Likewise.
11492         [$(subdir) = elf && $(config-cflags-avx) = yes]
11493         (CFLAGS-tst-auditmod6b.c): Likewise.
11494         [$(subdir) = elf && $(config-cflags-avx) = yes]
11495         (CFLAGS-tst-auditmod6c.c): Likewise.
11496         [$(subdir) = elf && $(config-cflags-avx) = yes]
11497         (CFLAGS-tst-auditmod7b.c): Likewise.
11498         * elf/tst-audit3.c: Move to ...
11499         * sysdeps/x86_64/tst-audit3.c: ... here.
11500         * elf/tst-audit4.c: Move to ...
11501         * sysdeps/x86_64/tst-audit4.c: ... here.
11502         * elf/tst-audit5.c: Move to ...
11503         * sysdeps/x86_64/tst-audit5.c: ... here.
11504         * elf/tst-audit6.c: Move to ...
11505         * sysdeps/x86_64/tst-audit6.c: ... here.
11506         * elf/tst-audit7.c: Move to ...
11507         * sysdeps/x86_64/tst-audit7.c: ... here.
11508         * elf/tst-auditmod3a.c: Move to ...
11509         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
11510         * elf/tst-auditmod3b.c: Move to ...
11511         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
11512         * elf/tst-auditmod4a.c: Move to ...
11513         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
11514         * elf/tst-auditmod4b.c: Move to ...
11515         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
11516         * elf/tst-auditmod5a.c: Move to ...
11517         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
11518         * elf/tst-auditmod5b.c: Move to ...
11519         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
11520         * elf/tst-auditmod6a.c: Move to ...
11521         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
11522         * elf/tst-auditmod6b.c: Move to ...
11523         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
11524         * elf/tst-auditmod6c.c: Move to ...
11525         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
11526         * elf/tst-auditmod7a.c: Move to ...
11527         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
11528         * elf/tst-auditmod7b.c: Move to ...
11529         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
11530
11531 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
11532
11533         [BZ #15366]
11534         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
11535         define unconditionally.
11536         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
11537         define unconditionally.
11538         (INT8_C, INT16_C, etc.): Likewise.
11539
11540 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
11541
11542         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
11543         __ehdr_start with hidden visibility.
11544
11545         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
11546
11547 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
11548
11549         * math/libm-test.inc (cos_test): Use accurate hex constants.
11550         (sincost_test): Likewise.
11551
11552 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
11553
11554         * math/libm-test.inc (catan_test): Add more tests.
11555         (catanh_test): Likewise.
11556
11557         * math/s_catanf.c (__catanf): Use suffixed floating-point
11558         constants.
11559         * math/s_catanhf.c (__catanhf): Likewise.
11560         * math/s_catanhl.c (__catanhl): Likewise.
11561         * math/s_catanl.c (__catanl): Likewise.
11562
11563         [BZ #15394]
11564         * math/s_catan.c (__catan): Calculate imaginary part of result
11565         with log1p not log unless computing log of number close to 0.
11566         * math/s_catanf.c (__catanf): Likewise.
11567         * math/s_catanl.c (__catanl): Likewise.
11568         * math/s_catanh.c (__catanh): Calculate real part of result with
11569         log1p not log unless computing log of number close to 0.
11570         * math/s_catanhf.c (__catanhf): Likewise.
11571         * math/s_catanhl.c (__catanhl): Likewise.
11572         * math/libm-test.inc (catan_test): Add more tests.
11573         (catanh_test): Likewise.
11574         * sysdeps/i386/fpu/libm-test-ulps: Update.
11575         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11576
11577 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
11578
11579         * benchtests/Makefile: Mention files in which fast and slow
11580         paths of math functions are implemented.
11581
11582 2013-04-23  Roland McGrath  <roland@hack.frob.com>
11583
11584         * sysdeps/posix/timespec_get.c: New file.
11585
11586 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11587
11588         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
11589         POWER.
11590         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
11591         for POWER.
11592         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
11593         powerpc/power5/fpu folders.
11594         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
11595         * benchtests/Makefile: Add modf testcase.
11596         * benchtests/bench-modf.c: New file: Benchmark test for mo
11597
11598 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
11599
11600         [BZ #14888]
11601         * time/Makefile (tests): Add tst-strptime-whitespace.
11602         * time/strptime_l.c (get_number): Use ISSPACE.
11603         (__strptime_internal): Likewise.
11604         * time/tst-strptime-whitespace.c: New test case.
11605
11606 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
11607
11608         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
11609         member.
11610         (_nss_files_init): Set it here.
11611
11612 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
11613
11614         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
11615         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
11616         unsigned.
11617
11618 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
11619
11620         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
11621
11622 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
11623
11624         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
11625         size just once.
11626
11627 2013-04-21  David S. Miller  <davem@davemloft.net>
11628
11629         * po/ru.po: Update Russion translation from translation project.
11630
11631 2013-04-17  Adam Conrad  <adconrad@0c3.net>
11632
11633         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
11634         and setfsgid.
11635
11636 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
11637
11638         * configure.in: Remove i386 configure warning. Remove i386 case.
11639         * configure: Regenerate.
11640         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
11641         Add example to error message.
11642         * sysdeps/i386/configure: Regenerate.
11643
11644 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
11645
11646         * benchtests/Makefile (bench): Add cos, tan, slowcos and
11647         slowtan.
11648         * benchtests/cos-inputs: New file.
11649         * benchtests/slowcos-inputs: New file.
11650         * benchtests/slowcos.c: New file.
11651         * benchtests/slowtan-inputs: New file.
11652         * benchtests/slowtan.c: New file.
11653         * benchtests/tan-inputs: New file.
11654
11655 2013-04-16  Roland McGrath  <roland@hack.frob.com>
11656
11657         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
11658         considered kosher.
11659
11660 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
11661
11662         * benchtests/Makefile: Include cppflags-iterator.mk to add
11663         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
11664
11665         * Makefile.in (bench-clean): New target.
11666         * benchtests/Makefile (bench-clean): Likewise.
11667
11668 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
11669
11670         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
11671
11672 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
11673
11674         * stdio-common/tstdiomisc.c: Fix coding-style violation.
11675
11676 2013-04-15  Andreas Schwab  <schwab@suse.de>
11677
11678         * nscd/grpcache.c (cache_addgr): Properly check for short write.
11679         * nscd/initgrcache.c (addinitgroupsX): Likewise.
11680         * nscd/pwdcache.c (cache_addpw): Likewise.
11681         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
11682         more than recsize.
11683
11684 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
11685
11686         * benchtests/Makefile (bench): Write all output to
11687         bench-out.tmp together.
11688
11689 2013-04-15  Andreas Schwab  <schwab@suse.de>
11690
11691         * nscd/nscd.c (main): Don't fork again after closing files.
11692
11693 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
11694
11695         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
11696
11697         * benchtests/Rules (bench-deps): Collect dependencies into a
11698         single variable.  Add Makefile to dependencies.
11699         ($(objpfx)bench-%.c): Depend on bench-deps.
11700
11701 2013-04-12  Roland McGrath  <roland@hack.frob.com>
11702             Xavier Roche  <roche+kml2@exalead.com>
11703
11704         [BZ #15361]
11705         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
11706         just that it's a file descriptor.
11707         * manual/llio.texi (Synchronizing AIO Operations): Update description
11708         for EBADF error from aio_fsync.
11709
11710 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
11711
11712         * Rules (bench): Move target definition...
11713         * benchtests/Makefile: ... here.
11714
11715 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
11716
11717         * math/libm-test.inc (cos_test): Fix PI/2 test.
11718         (sincos_test): Likewise.
11719         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
11720         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
11721
11722 2013-04-11  Andreas Schwab  <schwab@suse.de>
11723
11724         [BZ #13988]
11725         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
11726         accept exponent character only when digits were seen.
11727         * stdio-common/Makefile (tests): Add bug26.
11728         * stdio-common/bug26.c: New file.
11729
11730         [BZ #14293]
11731         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
11732         non-freeable.
11733
11734 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
11735
11736         * Makeconfig (rtld-prefix): Define built linker prefix.
11737         * Rules (run-bench): Use it.
11738         * math/Makefile (run-regen-ulps): Likewise.
11739
11740         * Rules (bench): Remove eval.
11741
11742 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
11743             Roland McGrath  <roland@hack.frob.com>
11744             Ondrej Bilka  <neleai@seznam.cz>
11745
11746         [BZ #15346]
11747         * time/getdate.c: Include ctype.h and alloca.h.
11748         (__getdate_r): Trim leading and trailing spaces of input.
11749         * time/tst-getdate.c (tests): Add tests with leading and
11750         trailing spaces.
11751
11752 2013-04-08  Roland McGrath  <roland@hack.frob.com>
11753
11754         [BZ #14280]
11755         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
11756         when computing value.
11757
11758 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
11759
11760         * math/README.libm-test (How can I generate "libm-test-ulps"?):
11761         Use testrun.sh to run libm tests.
11762
11763         [BZ #15309]
11764         * elf/dl-open.c (dl_open_worker): memset all of seen array.
11765
11766 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
11767
11768         [BZ #15264]
11769         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
11770
11771 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
11772
11773         * Makefile.in (regen-ulps): New target.
11774         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
11775         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
11776         [ifneq (no,$(PERL)] (regen-ulps): New target.
11777         [ifeq (no,$(PERL)] (regen-ulps): New target.
11778         * math/libm-test.inc (ulps_file_name): Define.
11779         (output_dir): New variable.
11780         (options): Add "output-dir" option.
11781         (parse_opt): Handle 'o' case.
11782         (main): If output_dir is non-NULL use it as a prefix
11783         otherwise use "".
11784         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
11785
11786 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
11787
11788         [BZ #10060, #10062]
11789         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
11790         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
11791         fail configure if __sync_val_compare_and_swap is not inlined.
11792         * sysdeps/i386/configure: Regenerate.
11793         * configure.in: Build for i686 when configured for i386.
11794         * configure: Regenerate.
11795         * README: Remove i386 reference.
11796
11797 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
11798
11799         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
11800         * sysdeps/s390/s390-64/sysdep.h: Likewise.
11801
11802 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
11803
11804         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
11805         (lmsnanval): New variables.
11806         (F): Add conversion tests.
11807         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
11808         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
11809
11810         * stdio-common/tstdiomisc.c (F): Properly collect individual
11811         tests' results.
11812
11813         [BZ #14686, #15336]
11814         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
11815         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
11816         Instead, use input NaN values or generate a qNaN by arithmetic
11817         operation.  Also fix bugs to comply with the standard.
11818         * math/libm-test.inc (remainder_test): Add more tests.
11819
11820         [BZ #15335, #15342]
11821         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
11822         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
11823         input NaN values or generate a qNaN by arithmetic operation.
11824
11825         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
11826         unreachable code.
11827
11828         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
11829         definitions.
11830
11831 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
11832
11833         [BZ #14478]
11834         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
11835         underflowed result.
11836         * math/s_cexpf.c (__cexpf): Likewise.
11837         * math/s_cexpl.c (__cexpl): Likewise.
11838         * math/libm-test.inc (cexp_test): Add more tests.
11839
11840 2013-04-03  Andreas Schwab  <schwab@suse.de>
11841
11842         [BZ #15330]
11843         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
11844         order arrays from heap if bigger than alloca cutoff.
11845
11846 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
11847
11848         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
11849         (SNAN_TESTS_double): Refer to GCC PR56831.
11850         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
11851         GCC PR56828.
11852
11853 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
11854
11855         * Rules (bench): Move bench.out after the run is complete.
11856
11857         * Rules (bench): Echo currently running benchmark.
11858
11859         * benchtests/Makefile (bench): Add atan and slowatan.
11860         * benchtests/atan-inputs: New file.
11861         * benchtests/slowatan-inputs: New file.
11862         * benchtests/slowatan.c: New file.
11863
11864         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
11865         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
11866         its value.
11867
11868         [BZ #15305]
11869         * sysdeps/unix/sysv/linux/kernel-features.h
11870         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
11871         __ASSUME_XFS_RESTRICTED_CHOWN.
11872         * sysdeps/unix/sysv/linux/pathconf.c
11873         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
11874         Save and restore errno.
11875
11876 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
11877
11878         [BZ #15327]
11879         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
11880         arguments using __kernel_casinh.
11881         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
11882         arguments using __kernel_casinhf.
11883         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
11884         arguments using __kernel_casinhl.
11885         * math/libm-test.inc (cacosh_test): Add more tests.
11886         * sysdeps/i386/fpu/libm-test-ulps: Update.
11887         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11888
11889 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
11890
11891         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
11892         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
11893
11894         * bench/Makefile (bench): Add sin and slowsin.
11895         * benchtests/sin-inputs: New file.
11896         * benchtests/slowsin-inputs: New file.
11897         * benchtests/slowsin.c: New file.
11898
11899         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
11900         (bench): Add slowexp and slowpow.
11901         (exp-ITER): Increase iterations.
11902         (pow-ITER): Likewise.
11903         * benchtests/exp-inputs: Change input.
11904         * benchtests/pow-inputs: Likewise.
11905         * benchtests/slowexp-inputs: New file.
11906         * benchtests/slowexp.c: New file.
11907         * benchtests/slowpow-inputs: New file.
11908         * benchtests/slowpow.c: New file.
11909
11910 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11911
11912         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
11913         instructions.
11914         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
11915         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
11916         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
11917         * benchtests/Makefile: Add rint benchtest.
11918         * benchtests/rint-inputs: Input for rint benchtest.
11919
11920 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
11921
11922         * Versions.def (libm): Add GLIBC_2.18.
11923         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
11924         hidden libm prototypes.
11925         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
11926         * math/Makefile (libm-calls): Add s_issignaling.
11927         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
11928         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
11929         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
11930         declaration.
11931         * math/math.h [__USE_GNU] (issignaling): New macro.
11932         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
11933         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
11934         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
11935         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
11936         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
11937         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
11938         * manual/arith.texi (issignaling): New section.
11939         * manual/libm-err-tab.pl (@all_functions): Update comment.
11940         * math/gen-libm-test.pl (parse_args): Apply special handling for
11941         issignaling.
11942         * math/libm-test.inc (print_float, issignaling_test): New
11943         functions.
11944         (check_float_internal): Add issignaling checks.
11945         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
11946         default definition.
11947         * sysdeps/powerpc/math-tests.h: New file.
11948         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
11949         tests.
11950         * math/test-snan.c (TEST_FUNC): Likewise.
11951
11952 2013-03-30  David S. Miller  <davem@davemloft.net>
11953
11954         * po/de.po: Update from translation team.
11955
11956 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
11957
11958         [BZ #10357]
11959         * math/k_casinh.c (__kernel_casinh): Handle arguments with
11960         imaginary part less than 1.0 and real part less than 0.5
11961         specially.
11962         * math/k_casinhf.c (__kernel_casinhf): Likewise.
11963         * math/k_casinhl.c (__kernel_casinhl): Likewise.
11964         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
11965         (cacos_test): Add more tests.
11966         (casin_test): Likewise.
11967         (casinh_test): Likewise.
11968         * sysdeps/i386/fpu/libm-test-ulps: Update.
11969         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11970
11971 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
11972
11973         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
11974         ONE with its value.
11975
11976         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
11977         (__pow_mp): Replace ONE and MONE with their values.
11978         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
11979         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
11980         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
11981         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
11982         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
11983         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
11984
11985         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
11986
11987         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
11988         (__pow_mp): Replace ZERO and MZERO with their values.
11989         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
11990         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
11991         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
11992         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
11993         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
11994         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
11995         (__sqr): Likewise.
11996
11997         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
11998
11999         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
12000
12001 2013-03-28  Roland McGrath  <roland@hack.frob.com>
12002
12003         * include/stdlib.h [!SHARED] (__call_tls_dtors):
12004         Declare with __attribute__ ((weak)).
12005         * stdlib/exit.c (__libc_atexit) [!SHARED]:
12006         Call __call_tls_dtors only if it's not NULL.
12007
12008 2013-03-28  Roland McGrath  <roland@hack.frob.com>
12009
12010         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
12011         didn't do it already, then set _dl_phdr and _dl_phnum based on the
12012         magic __ehdr_start linker symbol if it's defined.
12013         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
12014         them up here if it was already done.
12015
12016         * elf/dl-support.c (_dl_phdr): Make pointer to const.
12017         (_dl_aux_init): Use const in cast when setting it.
12018         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
12019         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
12020         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
12021
12022         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
12023         Declare them here.
12024         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
12025         * csu/libc-tls.c: Nor here.
12026         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
12027
12028         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
12029         (__libc_message): Never call vsyslog.
12030
12031 2013-03-28  Alan Modra  <amodra@gmail.com>
12032
12033         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
12034         Define as empty.
12035         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
12036         Likewise.
12037
12038 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12039
12040         [BZ #15214]
12041         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
12042         underflow.
12043         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12044
12045 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
12046
12047         [BZ #15304]
12048         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
12049         Don't add gid passed as argument.
12050
12051         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
12052
12053 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
12054
12055         [BZ #15307]
12056         * math/k_casinh.c (__kernel_casinh): Handle arguments with
12057         imaginary part between 1.0 and 1.5 and real part less than 0.5
12058         specially.
12059         * math/k_casinhf.c (__kernel_casinhf): Likewise.
12060         * math/k_casinhl.c (__kernel_casinhl): Likewise.
12061         * math/libm-test.inc (cacos_test): Add more tests.
12062         (casin_test): Likewise.
12063         (casinh_test): Likewise.
12064         * sysdeps/i386/fpu/libm-test-ulps: Update.
12065         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12066
12067 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
12068
12069         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
12070         constants.
12071         (norm): Likewise.
12072         (denorm): Likewise.
12073         (__dbl_mp): Likewise.
12074         (add_magnitudes): Likewise.
12075         (sub_magnitudes): Likewise.
12076         (__add): Likewise.
12077         (__sub): Likewise.
12078         (__mul): Likewise.
12079         (__sqr): Likewise.
12080         (__inv): Likewise.
12081         (__dvd): Likewise.
12082
12083         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
12084         commented code.
12085         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
12086         (__dubcos): Likewise.
12087         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
12088         (__ieee754_acos): Likewise.
12089         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
12090         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
12091         (__exp1): Likewise.
12092         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
12093         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
12094         (log1): Likewise.
12095         (my_log2): Likewise.
12096         (checkint): Likewise.
12097         * sysdeps/ieee754/dbl-64/e_remainder.c
12098         (__ieee754_remainder): Likewise.
12099         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
12100         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
12101         (bsloww): Likewise.
12102         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
12103
12104         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
12105         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
12106         MANTISSA_STORE_T to store computations on mantissa.  Use
12107         macros for rounding and division.
12108         (denorm): Likewise.
12109         (__dbl_mp): Likewise.
12110         (add_magnitudes): Likewise.
12111         (sub_magnitudes): Likewise.
12112         (__mul): Likewise.
12113         (__sqr): Likewise.
12114         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
12115         powers of two in terms of TWOPOW macro.
12116         (mp_no): Make type of mantissa as MANTISSA_T.
12117         [!RADIXI]: Define RADIXI.
12118         [!TWO52]: Define TWO52.
12119         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
12120
12121 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12122
12123         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
12124         llroundl symbol when building for PPC32.
12125
12126 2013-03-24  Mark H Weaver  <mhw@netris.org>
12127
12128         * manual/arith.texi (Normalization Functions): Fix prototypes for
12129         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
12130
12131 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12132
12133         [BZ #13889]
12134         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
12135         high value to check if expl overflow.
12136         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
12137         to check for underflow and overflow.
12138         * math/libm-test.inc: Add exp test.
12139
12140 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
12141
12142         [BZ #11120]
12143         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
12144         with NOT_IN_libc.
12145
12146 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12147
12148         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
12149         symbol.
12150
12151 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
12152
12153         * math/gen-libm-test.pl (parse_args, special_functions): Properly
12154         wrap blocks consisting of several statements.
12155
12156         * sysdeps/generic/math-tests.h: New file.
12157         * sysdeps/i386/fpu/math-tests.h: Likewise.
12158         * math/test-snan.c: Include it.
12159         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
12160
12161 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
12162
12163         [BZ #15285]
12164         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
12165         (__ieee754_j0l): Do not improve calculations using cos of twice
12166         input for inputs above LDBL_MAX / 2.0L.
12167         (__ieee754_y0l): Likewise.
12168         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
12169         (__ieee754_j1l): Do not improve calculations using cos of twice
12170         input for inputs above LDBL_MAX / 2.0L.
12171         (__ieee754_y1l): Likewise.
12172         * math/libm-test.inc (j0_test): Add another test.
12173         (j1_test): Likewise.
12174         (y0_test): Likewise.
12175         (y1_test): Likewise.
12176         * sysdeps/i386/fpu/libm-test-ulps: Update.
12177
12178 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
12179
12180         * Rules ($(objpfx)bench-%.c): Include code from a C source
12181         file.
12182
12183 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
12184
12185         [BZ #15287]
12186         * math/k_casinh.c (__kernel_casinh): Handle arguments with
12187         imaginary part 1.0 and real part less than 0.5 specially.
12188         * math/k_casinhf.c (__kernel_casinhf): Likewise.
12189         * math/k_casinhl.c (__kernel_casinhl): Likewise.
12190         * math/libm-test.inc (cacos_test): Add more tests.
12191         (casin_test): Likewise.
12192         (casinh_test): Likewise.
12193         * sysdeps/i386/fpu/libm-test-ulps: Update.
12194         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12195
12196 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
12197
12198         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
12199         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
12200
12201 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
12202
12203         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
12204         * config.make.in (config-cflags-sse4): Remove variable.
12205         (config-cflags-avx): Likewise.
12206         (config-cflags-sse2avx): Likewise.
12207         (config-cflags-novzeroupper): Likewise.
12208         (config-asflags-i686): Likewise.
12209         (have-mfma4): Likewise.
12210         (have-as-vis3): Likewise.
12211         (MIG): Likewise.
12212         * configure.in (MIG): Do not AC_SUBST.
12213         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
12214         (libc_cv_cc_sse4): Do not AC_SUBST.
12215         (libc_cv_cc_avx): Likewise.
12216         (libc_cv_cc_sse2avx): Likewise.
12217         (libc_cv_cc_novzeroupper): Likewise.
12218         (libc_cv_cc_fma4): Likewise.
12219         (libc_cv_as_i686): Likewise.
12220         (libc_cv_sparc_as_vis3): Likewise.
12221         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
12222         LIBC_CONFIG_VAR.
12223         (config-asflags-i686): Likewise.
12224         (config-cflags-avx): Likewise.
12225         (config-cflags-sse2avx): Likewise.
12226         (have-mfma4): Likewise.
12227         (config-cflags-novzeroupper): Likewise.
12228         * sysdeps/mach/configure.in (MIG): Likewise.
12229         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
12230         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
12231         LIBC_CONFIG_VAR.
12232         (config-cflags-avx): Likewise.
12233         (config-cflags-sse2avx): Likewise.
12234         (have-mfma4): Likewise.
12235         (config-cflags-novzeroupper): Likewise.
12236         * configure: Regenerated.
12237         * sysdeps/i386/configure: Likewise.
12238         * sysdeps/mach/configure: Likewise.
12239         * sysdeps/sparc/configure: Likewise.
12240         * sysdeps/x86_64/configure: Likewise.
12241
12242 2013-03-20  Roland McGrath  <roland@hack.frob.com>
12243
12244         [BZ #14812]
12245         * locale/programs/localedef.c (options): Put N_ translation marker
12246         on argument names, not just descriptions.
12247
12248 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
12249
12250         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
12251
12252 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
12253
12254         [BZ #14176]
12255         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
12256
12257 2013-03-19  Roland McGrath  <roland@hack.frob.com>
12258
12259         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
12260         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
12261         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
12262         [!BEFORE_ABORT] (before_abort): New function.
12263         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
12264         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
12265         (writev_for_fatal): New function.
12266         (WRITEV_FOR_FATAL): New macro; call that.
12267         (backtrace_and_maps): New function.
12268         (BEFORE_ABORT): New macro; call that.
12269         (struct str_list): Type removed.
12270         (__libc_message, __libc_fatal): Functions removed.
12271         Include <sysdeps/posix/libc_fatal.c> instead.
12272
12273 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
12274
12275         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
12276         constants.
12277         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
12278         double constants.
12279
12280 2013-03-19  Andreas Schwab  <schwab@suse.de>
12281
12282         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
12283         * sysdeps/gnu/configure: Regenerate.
12284
12285         * configure.in: Substitute libc_cv_rtlddir.
12286         * configure: Regenerate.
12287         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
12288         * Makeconfig (rtlddir, inst_rtlddir): New variables.
12289         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
12290         * elf/Makefile (install-others, CFLAGS-interp.c)
12291         (ldso_install, common-ldd-rewrite): Likewise.
12292         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
12293         $(inst_slibdir)/$(rtld-installed-name).
12294         * scripts/rellns-sh: Add -p option.
12295         * Makerules (make-shlib-link): Use rellns-sh to get relative name
12296         for source.
12297
12298 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
12299
12300         * manual/nptl.texi: Renamed to ...
12301         * manual/threads.texi: ... this.
12302         * manual/Makefile (chapters): Update.
12303
12304 2013-03-18  Roland McGrath  <roland@hack.frob.com>
12305
12306         [BZ #14812]
12307         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
12308         on argument names, not just descriptions.
12309         * malloc/memusagestat.c (options): Likewise.
12310         * nss/getent.c (options): Likewise.
12311
12312 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
12313
12314         [BZ #14812]
12315         * iconv/iconv_prog.c (options): Put N_ translation marker
12316         on argument names, not just descriptions.
12317         * iconv/iconvconfig.c (options): Likewise.
12318
12319 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
12320
12321         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
12322         implementation which is faster on all x86_64 architectures.
12323         Tested on AMD, Intel Nehalem, SNB, IVB.
12324         * sysdeps/x86_64/strnlen.S: Likewise.
12325
12326         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
12327         Remove all multiarch strlen and strnlen versions.
12328         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
12329         Remove strlen and strnlen related parts.
12330
12331         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
12332         Inline strlen part.
12333         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
12334
12335         * sysdeps/x86_64/multiarch/strlen.S: Remove.
12336         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
12337         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
12338         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
12339         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
12340         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
12341
12342 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
12343
12344         * manual/memory.texi (Malloc Tunable Parameters):
12345         Sort parameters alphabetically. Add comments for missing entries.
12346
12347 2013-03-17  David S. Miller  <davem@davemloft.net>
12348
12349         * sysdeps/sparc/fpu/libm-test-ulps: Update.
12350
12351 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
12352
12353         [BZ #15283]
12354         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
12355         for arguments at most half maximum finite value.
12356         * math/libm-test.inc (j0_test): Add more tests.
12357         (j1_test): Likewise.
12358         (y0_test): Likewise.
12359         (y1_test): Likewise.
12360         * sysdeps/i386/fpu/libm-test-ulps: Update.
12361         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12362
12363         [BZ #14155]
12364         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
12365         1 / x and functions P and Q for arguments above 0x1p256L.
12366         (__ieee754_y0l): Likewise.
12367         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
12368         (__ieee754_y1l): Likewise.
12369         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
12370         (j1_test): Likewise.
12371         (y0_test): Likewise.
12372         (y1_test): Likewise.
12373
12374 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
12375
12376         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
12377         variable.
12378
12379 2013-03-15  Roland McGrath  <roland@hack.frob.com>
12380
12381         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
12382         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
12383         zero since it's initialized to EXEC_PAGESIZE.
12384
12385         * sysdeps/unix/sysv/linux/ldsodefs.h
12386         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
12387         * sysdeps/generic/ldsodefs.h: ... here.
12388
12389 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
12390
12391         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
12392
12393         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
12394         math/test-snan.c.
12395         * math/test-snan.c: Renamed from
12396         sysdeps/powerpc/fpu/test-powerpc-snan.c.
12397         * math/Makefile (tests): Add test-snan.
12398         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
12399         test-powerpc-snan.
12400
12401         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
12402         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
12403         functions.
12404         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
12405         __builtin_nan family of functions.
12406         * math/libm-test.inc (initialize): Initialize qnan_value with
12407         __builtin_nan family of functions.
12408         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
12409         Remove variables.
12410         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
12411         Remove functions.
12412         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
12413         storage class.  Initialize qNaN_var and sNaN_var with
12414         __builtin_nan and __builtin_nans families of functions,
12415         respectively.
12416
12417         * math/libm-test.inc (acosh_test): Also test with qNaN input.
12418         (sqrt_test): Remove duplicate test with qNaN input.
12419         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
12420         (round_test, signbit_test, significand_test): Note missing +/-Inf
12421         as well as qNaN tests.
12422
12423         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
12424         qNaN_var.  Fix a few strings, too.
12425         * math/libm-test.inc (nan_value): Rename to qnan_value.
12426         * math/gen-libm-test.pl (%beautify): Adjust to that.
12427         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
12428         * math/test-misc.c (main): Likewise.
12429         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
12430         to __qnan_bytes, and __qnan_union, respectively.
12431         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
12432         Likewise.
12433         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
12434         and lqnanval, respectively.
12435         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
12436         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
12437         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
12438         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
12439
12440         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
12441         * math/test-misc.c (main) [__x86_64__]: Enable test for long
12442         doubles.
12443
12444         * math/test-misc.c (main): Fix copy'n'pastos.
12445         * misc/tst-efgcvt.c (special): Likewise.
12446
12447         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
12448         Remove declarations.
12449
12450 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
12451
12452         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
12453         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
12454         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
12455         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
12456
12457 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12458
12459         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
12460         macro to return vdso values correctly in IFUNC implementations.
12461         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
12462         Optimization by using IFUNC.
12463
12464 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
12465             Richard Henderson  <rth@redhat.com>
12466             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
12467
12468         * Makefile.in (bench): New target.
12469         * NEWS: Mention the benchmark framework.
12470         * Rules (bench): Likewise.
12471         (binaries-bench): Generate binaries for functions to
12472         benchmark.
12473         * benchtests/Makefile: New makefile for benchmark tests.
12474         * benchtests/bench-skeleton.c: New skeleton file for benchmark
12475         programs.
12476         * benchtests/exp-inputs: New input file for EXP function.
12477         * benchtests/pow-inputs: New input file for POW function.
12478         * scripts/bench.pl: New script to generate source files for
12479         benchmark programs.
12480
12481 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
12482
12483         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
12484         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
12485         computations on mantissa.  Use macros for rounding and
12486         division.
12487         (denorm): Likewise.
12488         (__dbl_mp): Likewise.
12489         (add_magnitudes): Likewise.
12490         (sub_magnitudes): Likewise.
12491         (__mul): Likewise.
12492         (__sqr): Likewise.
12493         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
12494         powers of two in terms of TWOPOW macro.
12495         (mp_no): Make type of mantissa as MANTISSA_T.
12496         [!RADIXI]: Define RADIXI.
12497         [!TWO52]: Define TWO52.
12498         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
12499
12500         * manual/nptl.texi (cindex): Modify threads to pthreads.
12501
12502 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
12503
12504         * sysdeps/x86_64/preconfigure: Regenerated.
12505
12506 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
12507
12508         [BZ #14155]
12509         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
12510         0x1p28 and above.
12511         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
12512         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
12513         0x1p28 and above.
12514         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
12515         * math/libm-test.inc (j0_test): Do not allow one spurious
12516         underflow exception.
12517         (y1_test): Likewise.
12518
12519 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
12520
12521         * manual/Makefile (chapters): Add nptl.
12522         * manual/debug.texi (Debugging Support): Add link to Threads
12523         chapter.
12524         * manual/nptl.texi: New file.
12525
12526         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
12527
12528 2013-03-14  Petr Baudis  <pasky@ucw.cz>
12529
12530         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
12531         for non-NULL pointer before the memory validity test. Pointed
12532         out by Holger Brunck <holger.brunck@keymile.com>.
12533
12534 2013-03-13  Andreas Schwab  <schwab@suse.de>
12535
12536         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
12537         instead of .os.
12538
12539 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
12540
12541         * timezone/zic.c: Update from tzcode 2013b.
12542
12543 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
12544
12545         * manual/install.texi (Configuring and compiling):
12546         Mention i686 and i586.
12547         * INSTALL: Regenerate.
12548
12549 2013-03-12  Roland McGrath  <roland@hack.frob.com>
12550
12551         * sysdeps/init_array/elf-init.c: New file.
12552         * csu/elf-init.c
12553         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
12554         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
12555
12556         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
12557         __gmon_start__ as global, but as static with a .preinit_array pointer.
12558         * sysdeps/init_array/gmon-start.c: New file.  Use that.
12559         * sysdeps/init_array/crti.S: New file, empty except for comments.
12560         * sysdeps/init_array/crtn.S: Likewise.
12561
12562 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
12563
12564         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
12565         definining bcopy.
12566         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
12567         Remove Prefer_SSE_for_memop.
12568         * sysdeps/x86_64/multiarch/init-arch.h: Remove
12569         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
12570         HAS_PREFER_SSE_FOR_MEMOP.
12571         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
12572         memset-x86-64.
12573         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
12574         Remove bzero, memset ifunc support.
12575         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
12576         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
12577         * sysdeps/x86_64/multiarch/memset.S: Likewise.
12578         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
12579
12580 2013-03-11  Andreas Schwab  <schwab@suse.de>
12581
12582         [BZ #15234]
12583         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
12584         by SHLIB_COMPAT.
12585         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
12586         (GLIBC_2.16): Remove pthread_atfork.
12587
12588 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
12589
12590         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
12591         (ptestcases.h): Likewise.
12592
12593 2013-03-08  Roland McGrath  <roland@hack.frob.com>
12594
12595         * Makeconfig ($(common-objpfx)config.status): Depend on
12596         sysdeps/*/preconfigure{,.in} too.
12597
12598 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
12599
12600         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
12601         (__free_hook): Use void * instead of __malloc_ptr_t.
12602         (__malloc_hook): Likewise.
12603         (__realloc_hook): Likewise.
12604         (__memalign_hook): Likewise.
12605         (__after_morecore_hook): Likewise.
12606         * malloc/arena.c (save_malloc_hook): Likewise.
12607         (save_free_hook): Likewise.
12608         * malloc/hooks.c (malloc_hook_ini): Likewise.
12609         (realloc_hook_ini): Likewise.
12610         (memalign_hook_ini): Likewise.
12611         * malloc/malloc.c (malloc_hook_ini): Likewise.
12612         (realloc_hook_ini): Likewise.
12613         (memalign_hook_ini): Likewise.
12614         (__free_hook): Likewise.
12615         (__malloc_hook): Likewise.
12616         (__realloc_hook): Likewise.
12617         (__memalign_hook): Likewise.
12618         (__libc_malloc): Likewise.
12619         (__libc_free): Likewise.
12620         (__libc_realloc): Likewise.
12621         (__libc_memalign): Likewise.
12622         (__libc_valloc): Likewise.
12623         (__libc_pvalloc): Likewise.
12624         (__libc_calloc): Likewise.
12625         (__posix_memalign): Likewise.
12626         * malloc/morecore.c (__sbrk): Likewise.
12627         (__default_morecore): Likewise.
12628
12629         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
12630
12631         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
12632         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
12633         __malloc_ptrdiff_t.
12634
12635         * malloc/malloc.h (__malloc_size_t): Remove macro.
12636         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
12637         __malloc_size_t.
12638         (old_memalign_hook): Likewise.
12639         (old_realloc_hook): Likewise.
12640         (struct hdr): Likewise.
12641         (flood): Likewise.
12642         (mallochook): Likewise.
12643         (memalignhook): Likewise.
12644         (reallochook): Likewise.
12645         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
12646         (tr_old_realloc_hook): Likewise.
12647         (tr_old_memalign_hook): Likewise.
12648         (tr_mallochook): Likewise.
12649         (tr_reallochook): Likewise.
12650         (tr_memalignhook): Likewise.
12651
12652 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12653
12654         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
12655         default_ldbl_pack and using as default implementation.
12656         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
12657         implementation.
12658         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
12659         redundant definition.
12660         (ldbl_insert_mantissa): Likewise.
12661         (ldbl_canonicalize): Likewise.
12662         (ldbl_nearbyint): Likewise.
12663         (ldbl_pack): Rename to ldbl_pack_ppc.
12664         (ldbl_unpack): Rename to ldbl_unpack_ppc.
12665         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
12666         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
12667
12668 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
12669
12670         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
12671         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
12672         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
12673         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
12674         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
12675         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
12676         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
12677         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
12678
12679 2013-03-07  Andreas Jaeger  <aj@suse.de>
12680
12681         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
12682         bits/mman-linux.h.
12683
12684 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
12685
12686         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
12687         Include mpa.h and declare __MPEXP.
12688         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
12689         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
12690         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
12691         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
12692         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
12693         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
12694         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
12695
12696         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
12697         (__slowpow): Use long double EXPL and LOGL functions to
12698         compute POW.
12699         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
12700         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
12701         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
12702         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
12703         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
12704         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
12705
12706         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
12707         intermediate variable to calculate exponent.
12708         (__sqr): Likewise.
12709         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
12710         Likewise.
12711         (__sqr): Likewise.
12712
12713         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
12714         [!NO__SQR]: Define __sqr.
12715         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
12716         and NO__SQR.  Remove all code except __mul and __sqr.  Include
12717         sysdeps/ieee754/dbl-64/mpa.c.
12718         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
12719
12720         [BZ #12723]
12721         * posix/Makefile (tests): Add tst-pathconf.
12722         * posix/tst-pathconf.c: New test case.
12723         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
12724         _PC_PIPE_BUF.
12725         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
12726
12727 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
12728
12729         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
12730
12731 2013-03-06  Andreas Jaeger  <aj@suse.de>
12732
12733         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
12734         definition via __MAP_ANONYMOUS.
12735
12736         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
12737         it's not part of Linux headers.
12738
12739         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
12740         (MAP_HUGE_MASK): Define.
12741
12742         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
12743         Define.
12744         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
12745         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
12746         Define.
12747         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
12748         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
12749         Define.
12750         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
12751         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
12752         Define.
12753         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
12754
12755         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
12756         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
12757         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
12758         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
12759         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
12760         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
12761
12762         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
12763         Handle f2fs.
12764
12765         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
12766         Handle f2fs and efivarfs.
12767
12768         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
12769         f2fs.
12770
12771         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
12772         (EFIVARFS_MAGIC): Add.
12773         (F2FS_LINK_MAX): Add.
12774
12775 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
12776
12777         * stdio-common/vfprintf.c: Replace __builtin_expect with
12778         __glibc_unlikely.
12779
12780 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
12781
12782         [BZ #13550]
12783         * sysdeps/generic/bp-sym.h: Remove file.
12784         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
12785         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
12786         <bp-sym.h> and <bp-asm.h>.
12787         (__longjmp): Don't use BP_SYM.
12788         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
12789         and <bp-asm.h>.
12790         (memcpy): Don't use BP_SYM.
12791         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
12792         <bp-sym.h> and <bp-asm.h>.
12793         (memcpy): Don't use BP_SYM.
12794         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
12795         <bp-asm.h>.
12796         (memcpy): Don't use BP_SYM.
12797         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
12798         <bp-asm.h>.
12799         (memset): Don't use BP_SYM.
12800         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
12801         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
12802         (__bzero): Don't use BP_SYM.
12803         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
12804         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
12805         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
12806         <bp-sym.h> and <bp-asm.h>.
12807         (memcmp): Don't use BP_SYM.  Remove comment about bounded
12808         pointers.
12809         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
12810         <bp-sym.h> and <bp-asm.h>.
12811         (memcpy): Don't use BP_SYM.
12812         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
12813         <bp-sym.h> and <bp-asm.h>.
12814         (memset): Don't use BP_SYM.
12815         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
12816         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
12817         (__bzero): Don't use BP_SYM.
12818         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
12819         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
12820         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
12821         <bp-sym.h> and <bp-asm.h>.
12822         (strncmp): Don't use BP_SYM.  Remove comment about bounded
12823         pointers.
12824         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
12825         <bp-sym.h> and <bp-asm.h>.
12826         (memcpy): Don't use BP_SYM.
12827         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
12828         <bp-sym.h> and <bp-asm.h>.
12829         (memset): Don't use BP_SYM.
12830         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
12831         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
12832         (__bzero): Don't use BP_SYM.
12833         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
12834         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
12835         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
12836         <bp-sym.h> and <bp-asm.h>.
12837         (__memchr): Don't use BP_SYM.
12838         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
12839         <bp-sym.h> and <bp-asm.h>.
12840         (memcmp): Don't use BP_SYM.  Remove comment about bounded
12841         pointers.
12842         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
12843         <bp-sym.h> and <bp-asm.h>.
12844         (memcpy): Don't use BP_SYM.
12845         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
12846         <bp-sym.h> and <bp-asm.h>.
12847         (__mempcpy): Don't use BP_SYM.
12848         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
12849         <bp-sym.h> and <bp-asm.h>.
12850         (__memrchr): Don't use BP_SYM.
12851         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
12852         <bp-sym.h> and <bp-asm.h>.
12853         (memset): Don't use BP_SYM.
12854         (__bzero): Likewise.
12855         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
12856         <bp-sym.h> and <bp-asm.h>.
12857         (__rawmemchr): Don't use BP_SYM.
12858         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
12859         <bp-sym.h> and <bp-asm.h>.
12860         (__STRCMP): Don't use BP_SYM.
12861         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
12862         <bp-sym.h> and <bp-asm.h>.
12863         (strchr): Don't use BP_SYM.
12864         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
12865         <bp-sym.h> and <bp-asm.h>.
12866         (__strchrnul): Don't use BP_SYM.
12867         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
12868         <bp-sym.h> and <bp-asm.h>.
12869         (strlen): Don't use BP_SYM.
12870         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
12871         <bp-sym.h> and <bp-asm.h>.
12872         (strncmp): Don't use BP_SYM.  Remove comment about bounded
12873         pointers.
12874         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
12875         <bp-sym.h> and <bp-asm.h>.
12876         (__strnlen): Don't use BP_SYM.
12877         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
12878         <bp-sym.h> and <bp-asm.h>.
12879         (__GI__setjmp): Don't use BP_SYM.
12880         (_setjmp): Likewise.
12881         (__sigsetjmp): Likewise.
12882         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
12883         (L(start_addresses)): Don't use BP_SYM.
12884         (_start): Likewise.
12885         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
12886         <bp-asm.h>.
12887         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
12888         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
12889         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
12890         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
12891         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
12892         <bp-asm.h>.
12893         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
12894         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
12895         about bounded pointers.
12896         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
12897         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
12898         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
12899         <bp-asm.h>.
12900         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
12901         about bounded pointers.  Remove GKM FIXME comments.
12902         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
12903         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
12904         <bp-asm.h>.
12905         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
12906         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
12907         Remove GKM FIXME comments.
12908         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
12909         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
12910         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
12911         <bp-asm.h>.
12912         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
12913         about bounded pointers.  Remove GKM FIXME comment.
12914         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
12915         and <bp-asm.h>.
12916         (strncmp): Don't use BP_SYM.  Remove comment about bounded
12917         pointers.
12918         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
12919         <bp-sym.h> and <bp-asm.h>.
12920         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
12921         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
12922         <bp-sym.h> and <bp-asm.h>.
12923         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
12924         comment.
12925
12926 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
12927
12928         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
12929         call free(NULL).
12930
12931 2013-03-05  David S. Miller  <davem@davemloft.net>
12932
12933         * po/es.po: Update from translation team.
12934
12935 2013-03-05  Andreas Jaeger  <aj@suse.de>
12936
12937         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
12938         <bits/mman-linux.h>.
12939         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
12940         is fine.
12941         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
12942         <bits/mman-linux.h> to end of file.
12943         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
12944         is fine.
12945         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
12946         <bits/mman-linux.h> to end of file.
12947         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
12948         is fine.
12949         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
12950         <bits/mman-linux.h> to end of file.
12951
12952         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
12953         (MCL_CURRENT, MCL_FUTURE): Define here.
12954
12955 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
12956
12957         [BZ #15232]
12958         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
12959         attribute_hidden.
12960         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
12961
12962 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
12963
12964         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
12965         fourth parameter needed for rt_sigprocmask syscall.
12966         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
12967         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
12968         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
12969         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
12970         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
12971         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
12972
12973 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
12974
12975         [BZ #13550]
12976         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
12977         comment about bounded pointers.
12978         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
12979         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
12980
12981 2013-03-04  Andreas Jaeger  <aj@suse.de>
12982
12983         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
12984         common definitions.
12985
12986         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
12987         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
12988         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
12989         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
12990         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
12991         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
12992
12993 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12994
12995         [BZ #15055]
12996         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
12997         __ieee754_sqrl instead of __sqrl.
12998
12999 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
13000
13001         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
13002         * sysdeps/powerpc/fpu_control.h: ... here.
13003         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
13004         * sysdeps/powerpc/bits/fenvinline.h: ... here.
13005         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
13006         * sysdeps/powerpc/bits/mathinline.h: ... here.
13007
13008 2013-03-01  Roland McGrath  <roland@hack.frob.com>
13009
13010         * elf/dl-hwcaps.c (_dl_important_hwcaps):
13011         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
13012         to just [NEED_DL_SYSINFO_DSO].
13013         * elf/dl-support.c: Likewise.
13014         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
13015         * elf/rtld.c (dl_main): Likewise.
13016         * elf/setup-vdso.h (setup_vdso): Likewise.
13017         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
13018         * sysdeps/unix/sysv/linux/dl-sysdep.c
13019         (_dl_discover_osversion): Likewise.
13020
13021 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
13022
13023         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
13024         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
13025
13026 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
13027
13028         * NEWS: Mention libm performance improvements and non-x86 PI
13029         futex support.
13030
13031         * csu/libc-start.c (__pthread_initialize_minimal): Change
13032         function arguments.
13033         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
13034
13035 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
13036
13037         [BZ #13550]
13038         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
13039         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
13040         <bp-sym.h> and <bp-asm.h>.
13041         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
13042         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
13043         and <bp-asm.h>.
13044         (memcpy): Don't use BP_SYM.
13045         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
13046         <bp-asm.h>.
13047         (__mpn_add_n): Don't use BP_SYM.
13048         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
13049         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
13050         and <bp-asm.h>.
13051         (__mpn_addmul_1): Don't use BP_SYM.
13052         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
13053         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
13054         <bp-sym.h>.
13055         (_setjmp): Don't use BP_SYM.
13056         (__novmx_setjmp): Likewise.
13057         (__GI__setjmp): Likewise.
13058         (__vmx_setjmp): Likewise.
13059         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
13060         <bp-sym.h>.
13061         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
13062         (__bzero): Don't use BP_SYM.
13063         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
13064         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
13065         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
13066         <bp-sym.h> and <bp-asm.h>.
13067         (memcpy): Don't use BP_SYM.
13068         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
13069         <bp-sym.h> and <bp-asm.h>.
13070         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
13071         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
13072         <bp-sym.h> and <bp-asm.h>.
13073         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
13074         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
13075         <bp-asm.h>.
13076         (__mpn_lshift): Don't use BP_SYM.
13077         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
13078         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
13079         <bp-asm.h>.
13080         (memset): Don't use BP_SYM.
13081         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
13082         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
13083         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
13084         <bp-asm.h>.
13085         (__mpn_mul_1): Don't use BP_SYM.
13086         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
13087         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
13088         <bp-sym.h> and <bp-asm.h>.
13089         (memcmp): Don't use BP_SYM.
13090         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
13091         <bp-sym.h> and <bp-asm.h>.
13092         (memcpy): Don't use BP_SYM.
13093         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
13094         <bp-sym.h> and <bp-asm.h>.
13095         (memset): Don't use BP_SYM.
13096         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
13097         <bp-sym.h> and <bp-asm.h>.
13098         (strncmp): Don't use BP_SYM.
13099         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
13100         <bp-sym.h> and <bp-asm.h>.
13101         (memcpy): Don't use BP_SYM.
13102         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
13103         <bp-sym.h> and <bp-asm.h>.
13104         (memset): Don't use BP_SYM.
13105         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
13106         <bp-sym.h> and <bp-asm.h>.
13107         (__memchr): Don't use BP_SYM.
13108         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
13109         <bp-sym.h> and <bp-asm.h>.
13110         (memcmp): Don't use BP_SYM.
13111         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
13112         <bp-sym.h> and <bp-asm.h>.
13113         (memcpy): Don't use BP_SYM.
13114         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
13115         <bp-sym.h> and <bp-asm.h>.
13116         (__mempcpy): Don't use BP_SYM.
13117         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
13118         <bp-sym.h> and <bp-asm.h>.
13119         (__memrchr): Don't use BP_SYM.
13120         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
13121         <bp-sym.h> and <bp-asm.h>.
13122         (memset): Don't use BP_SYM.
13123         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
13124         <bp-sym.h> and <bp-asm.h>.
13125         (__rawmemchr): Don't use BP_SYM.
13126         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
13127         <bp-sym.h> and <bp-asm.h>.
13128         (__STRCMP): Don't use BP_SYM.
13129         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
13130         <bp-sym.h> and <bp-asm.h>.
13131         (strchr): Don't use BP_SYM.
13132         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
13133         <bp-sym.h> and <bp-asm.h>.
13134         (__strchrnul): Don't use BP_SYM.
13135         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
13136         <bp-sym.h> and <bp-asm.h>.
13137         (strlen): Don't use BP_SYM.
13138         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
13139         <bp-sym.h> and <bp-asm.h>.
13140         (strncmp): Don't use BP_SYM.
13141         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
13142         <bp-sym.h> and <bp-asm.h>.
13143         (__strnlen): Don't use BP_SYM.
13144         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
13145         <bp-asm.h>.
13146         (__mpn_rshift): Don't use BP_SYM.
13147         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
13148         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
13149         <bp-sym.h> and <bp-asm.h>.
13150         (__sigsetjmp): Don't use BP_SYM.
13151         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
13152         (L(start_addresses)): Don't use BP_SYM.
13153         (_start): Likewise.
13154         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
13155         <bp-asm.h>.
13156         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
13157         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
13158         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
13159         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
13160         <bp-asm.h>.
13161         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
13162         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
13163         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
13164         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
13165         <bp-asm.h>.
13166         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
13167         comments.
13168         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
13169         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
13170         <bp-asm.h>.
13171         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
13172         FIXME comments.
13173         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
13174         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
13175         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
13176         <bp-asm.h>.
13177         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
13178         comment.
13179         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
13180         and <bp-asm.h>.
13181         (strncmp): Don't use BP_SYM,
13182         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
13183         <bp-asm.h>.
13184         (__mpn_sub_n): Don't use BP_SYM.
13185         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
13186         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
13187         and <bp-asm.h>.
13188         (__mpn_submul_1): Don't use BP_SYM.
13189         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
13190         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
13191         <bp-sym.h> and <bp-asm.h>.
13192         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
13193         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
13194         <bp-sym.h> and <bp-asm.h>.
13195         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
13196         comment.
13197
13198 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
13199
13200         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
13201         Use ZK to minimize writes to Z.
13202         (sub_magnitudes): Simplify code a bit.
13203         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
13204         Use ZK to minimize writes to Z.
13205         (sub_magnitudes): Simplify code a bit.
13206
13207 2013-02-27  Roland McGrath  <roland@hack.frob.com>
13208
13209         * csu/gmon-start.c: Add special exception to license text.
13210
13211 2013-02-27  Richard Henderson  <rth@redhat.com>
13212
13213         * scripts/config.guess: Update from config.git.
13214         * scripts/config.sub: Likewise.
13215
13216 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
13217
13218         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
13219
13220         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
13221
13222         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
13223
13224         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
13225
13226         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
13227
13228 2013-02-26  Roland McGrath  <roland@hack.frob.com>
13229
13230         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
13231         [$(build-shared = yes].
13232
13233 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
13234
13235         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
13236         (__mul): Reduce iterations for calculating mantissa.
13237
13238         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
13239         MPTWO.
13240         (__mpranred): Likewise.
13241
13242         [BZ #15160]
13243         * malloc/memusagestat.c (main): Draw graphs for heap and stack
13244         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
13245
13246 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
13247
13248         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
13249         Define __attribute__.
13250
13251 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
13252
13253         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
13254         unused.
13255         * posix/regex_internal.h (__attribute): Remove.
13256         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
13257         (re_string_context_at): Likewise.
13258         (bitset_not): Use __attribute__ and mark function as possibly
13259         unused.
13260         (bitset_merge): Likewise.
13261         (bitset_mask): Likewise.
13262         (re_string_char_size_at): Likewise.
13263         (re_string_wchar_at): Likewise.
13264         (re_string_elem_size_at): Likewise.
13265
13266 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
13267
13268         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
13269         code.
13270         (cc32): Likewise.
13271
13272         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
13273         (__acr): Likewise.
13274         (__cpy): Likewise.
13275         (norm): Likewise.
13276         (denorm): Likewise.
13277         (__dbl_mp): Likewise.
13278         (add_magnitudes): Likewise.
13279         (sub_magnitudes): Likewise.
13280         (__mul): Likewise.
13281         (__inv): Likewise.
13282
13283         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
13284         style.
13285
13286         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
13287         style.
13288
13289         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
13290         code.
13291
13292         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
13293         up changes with default code.
13294         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
13295         Likewise.
13296
13297 2013-02-24  Allan McRae  <allan@archlinux.org>
13298
13299         * manual/socket.texi (The Internet Namespace): Order menu items
13300         to match that in the file.
13301
13302         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
13303         node listing of the info page menu.
13304
13305 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
13306
13307         [BZ #13550]
13308         * sysdeps/i386/bp-asm.h: Remove file.
13309         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
13310         (PARMS): Do not use macros from bp-asm.h.
13311         (S1): Likewise.
13312         (S2): Likewise.
13313         (SIZE): Likewise.
13314         (__mpn_add_n): Do not use BP_SYM
13315         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
13316         "bp-asm.h".
13317         (PARMS): Do not use macros from bp-asm.h.
13318         (S1): Likewise.
13319         (SIZE): Likewise.
13320         (__mpn_addmul_1): Do not use BP_SYM
13321         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
13322         "bp-asm.h".
13323         (PARMS): Do not use macros from bp-asm.h.
13324         (SIGMSK): Likewise.
13325         (_setjmp): Likewise.  Do not use BP_SYM.
13326         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
13327         "bp-asm.h".
13328         (PARMS): Do not use macros from bp-asm.h.
13329         (SIGMSK): Likewise.
13330         (setjmp): Likewise.  Do not use BP_SYM.
13331         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
13332         "bp-asm.h".
13333         (PARMS): Do not use macros from bp-asm.h.
13334         (__frexp): Do not use BP_SYM.
13335         (frexp): Likewise.
13336         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
13337         "bp-asm.h".
13338         (PARMS): Do not use macros from bp-asm.h.
13339         (__frexpf): Do not use BP_SYM.
13340         (frexpf): Likewise.
13341         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
13342         "bp-asm.h".
13343         (PARMS): Do not use macros from bp-asm.h.
13344         (__frexpl): Do not use BP_SYM.
13345         (frexpl): Likewise.
13346         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
13347         "bp-asm.h".
13348         (PARMS): Do not use macros from bp-asm.h.
13349         (__remquo): Do not use BP_SYM.
13350         (remquo): Likewise.
13351         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
13352         "bp-asm.h".
13353         (PARMS): Do not use macros from bp-asm.h.
13354         (__remquof): Do not use BP_SYM.
13355         (remquof): Likewise.
13356         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
13357         "bp-asm.h".
13358         (PARMS): Do not use macros from bp-asm.h.
13359         (__remquol): Do not use BP_SYM.
13360         (remquol): Likewise.
13361         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
13362         "bp-asm.h".
13363         (PARMS): Do not use macros from bp-asm.h.
13364         (DEST): Likewise.
13365         (SRC): Likewise.
13366         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
13367         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
13368         "bp-asm.h".
13369         (PARMS): Do not use macros from bp-asm.h.
13370         (strlen): Do not use BP_SYM.
13371         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
13372         "bp-asm.h".
13373         (PARMS): Do not use macros from bp-asm.h.
13374         (S1): Likewise.
13375         (S2): Likewise.
13376         (SIZE): Likewise.
13377         (__mpn_add_n): Do not use BP_SYM.
13378         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
13379         "bp-asm.h".
13380         (PARMS): Do not use macros from bp-asm.h.
13381         (S1): Likewise.
13382         (SIZE): Likewise.
13383         (__mpn_addmul_1): Do not use BP_SYM.
13384         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
13385         weak_alias.
13386         (bzero): Likewise.
13387         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
13388         "bp-asm.h".
13389         (PARMS): Do not use macros from bp-asm.h.
13390         (S): Likewise.
13391         (SIZE): Likewise.
13392         (__mpn_lshift): Do not use BP_SYM.
13393         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
13394         "bp-asm.h".
13395         (PARMS): Do not use macros from bp-asm.h.
13396         (DEST): Likewise.
13397         (SRC): Likewise.
13398         (LEN): Likewise.
13399         (memcpy): Likewise.  Do not use BP_SYM.
13400         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
13401         libc_hidden_def and weak_alias.
13402         (mempcpy): Do not use BP_SYM in weak_alias.
13403         * sysdeps/i386/i586/memset.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         (LEN): Likewise.
13408         [!BZERO_P] (CHR): Likewise.
13409         (memset): Likewise.  Do not use BP_SYM.
13410         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
13411         "bp-asm.h".
13412         (PARMS): Do not use macros from bp-asm.h.
13413         (S1): Likewise.
13414         (SIZE): Likewise.
13415         (__mpn_mul_1): Do not use BP_SYM.
13416         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
13417         "bp-asm.h".
13418         (PARMS): Do not use macros from bp-asm.h.
13419         (S): Likewise.
13420         (SIZE): Likewise.
13421         (__mpn_rshift): Do not use BP_SYM.
13422         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
13423         "bp-asm.h".
13424         (PARMS): Do not use macros from bp-asm.h.
13425         (STR): Likewise.
13426         (CHR): Likewise.
13427         (strchr): Likewise.  Do not use BP_SYM.
13428         (index): Do not use BP_SYM in weak_alias.
13429         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
13430         "bp-asm.h".
13431         (PARMS): Do not use macros from bp-asm.h.
13432         (DEST): Likewise.
13433         (SRC): Likewise.
13434         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
13435         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
13436         "bp-asm.h".
13437         (PARMS): Do not use macros from bp-asm.h.
13438         (strlen): Do not use BP_SYM.
13439         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
13440         "bp-asm.h".
13441         (PARMS): Do not use macros from bp-asm.h.
13442         (S1): Likewise.
13443         (S2): Likewise.
13444         (SIZE): Likewise.
13445         (__mpn_sub_n): Do not use BP_SYM.
13446         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
13447         "bp-asm.h".
13448         (PARMS): Do not use macros from bp-asm.h.
13449         (S1): Likewise.
13450         (SIZE): Likewise.
13451         (__mpn_submul_1): Do not use BP_SYM.
13452         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
13453         "bp-asm.h".
13454         (PARMS): Do not use macros from bp-asm.h.
13455         (S1): Likewise.
13456         (S2): Likewise.
13457         (SIZE): Likewise.
13458         (__mpn_add_n): Do not use BP_SYM.
13459         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
13460         weak_alias.
13461         (bzero): Likewise.
13462         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
13463         "bp-asm.h".
13464         (PARMS): Do not use macros from bp-asm.h.
13465         (BLK2): Likewise.
13466         (LEN): Likewise.
13467         (memcmp): Do not use BP_SYM.
13468         (bcmp): Do not use BP_SYM in weak_alias.
13469         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
13470         "bp-asm.h".
13471         (PARMS): Do not use macros from bp-asm.h.
13472         (DEST): Likewise.
13473         (SRC): Likewise.
13474         (LEN): Likewise.
13475         (memcpy): Likewise.  Do not use BP_SYM.
13476         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
13477         "bp-asm.h".
13478         (PARMS): Do not use macros from bp-asm.h.
13479         (DEST): Likewise.
13480         (SRC): Likewise.
13481         (LEN): Likewise.
13482         (memmove): Likewise.  Do not use BP_SYM.
13483         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
13484         "bp-asm.h".
13485         (PARMS): Do not use macros from bp-asm.h.
13486         (DEST): Likewise.
13487         (SRC): Likewise.
13488         (LEN): Likewise.
13489         (__mempcpy): Likewise.  Do not use BP_SYM.
13490         (mempcpy): Do not use BP_SYM in weak_alias.
13491         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
13492         "bp-asm.h".
13493         (PARMS): Do not use macros from bp-asm.h.
13494         (DEST): Likewise.
13495         (LEN): Likewise.
13496         [!BZERO_P] (CHR): Likewise.
13497         (memset): Likewise.  Do not use BP_SYM.
13498         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
13499         "bp-asm.h".
13500         (PARMS): Do not use macros from bp-asm.h.
13501         (STR2): Likewise.
13502         (strcmp): Do not use BP_SYM.
13503         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
13504         "bp-asm.h".
13505         (PARMS): Do not use macros from bp-asm.h.
13506         (STR): Likewise.
13507         (DELIM): Likewise.
13508         [USE_AS_STRTOK_R] (SAVE): Likewise.
13509         (FUNCTION): Likewise.  Do not use BP_SYM.
13510         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
13511         aliases.
13512         (strtok_r): Likewise.
13513         (__GI___strtok_r): Likewise.
13514         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
13515         (PARMS): Do not use macros from bp-asm.h.
13516         (S): Likewise.
13517         (SIZE): Likewise.
13518         (__mpn_lshift): Do not use BP_SYM.
13519         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
13520         (PARMS): Do not use macros from bp-asm.h.
13521         (STR): Likewise.
13522         (CHR): Likewise.
13523         (__memchr): Do not use BP_SYM.
13524         (memchr): Do not use BP_SYM in weak_alias.
13525         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
13526         (PARMS): Do not use macros from bp-asm.h.
13527         (BLK2): Likewise.
13528         (LEN): Likewise.
13529         (memcmp): Do not use BP_SYM.
13530         (bcmp): Do not use BP_SYM in weak_alias.
13531         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
13532         (PARMS): Do not use macros from bp-asm.h.
13533         (S1): Likewise.
13534         (SIZE): Likewise.
13535         (__mpn_mul_1): Do not use BP_SYM.
13536         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
13537         "bp-asm.h".
13538         (PARMS): Do not use macros from bp-asm.h.
13539         (STR): Likewise.
13540         (CHR): Likewise.
13541         (__rawmemchr): Do not use BP_SYM.
13542         (rawmemchr): Do not use BP_SYM in weak_alias.
13543         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
13544         (PARMS): Do not use macros from bp-asm.h.
13545         (S): Likewise.
13546         (SIZE): Likewise.
13547         (__mpn_rshift): Do not use BP_SYM.
13548         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
13549         (PARMS): Do not use macros from bp-asm.h.
13550         (SIGMSK): Likewise.
13551         (__sigsetjmp): Likewise.  Do not use BP_SYM.
13552         * sysdeps/i386/start.S: Do not include "bp-sym.h".
13553         (_start): Do not use BP_SYM.
13554         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
13555         (PARMS): Do not use macros from bp-asm.h.
13556         (DEST): Likewise.
13557         (SRC): Likewise.
13558         (__stpcpy): Likewise.  Do not use BP_SYM.
13559         (stpcpy): Do not use BP_SYM in weak_alias.
13560         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
13561         "bp-asm.h".
13562         (PARMS): Do not use macros from bp-asm.h.
13563         (DEST): Likewise.
13564         (SRC): Likewise.
13565         (LEN): Likewise.
13566         (__stpncpy): Likewise.  Do not use BP_SYM.
13567         (stpncpy): Do not use BP_SYM in weak_alias.
13568         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
13569         (PARMS): Do not use macros from bp-asm.h.
13570         (STR): Likewise.
13571         (CHR): Likewise.
13572         (strchr): Likewise.  Do not use BP_SYM.
13573         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
13574         "bp-asm.h".
13575         (PARMS): Do not use macros from bp-asm.h.
13576         (STR): Likewise.
13577         (CHR): Likewise.
13578         (__strchrnul): Likewise.  Do not use BP_SYM.
13579         (strchrnul): Do not use BP_SYM in weak_alias.
13580         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
13581         "bp-asm.h".
13582         (PARMS): Do not use macros from bp-asm.h.
13583         (STOP): Likewise.
13584         (strcspn): Do not use BP_SYM.
13585         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
13586         "bp-asm.h".
13587         (PARMS): Do not use macros from bp-asm.h.
13588         (STR): Likewise.
13589         (STOP): Likewise.
13590         (strpbrk): Likewise.  Do not use BP_SYM.
13591         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
13592         "bp-asm.h".
13593         (PARMS): Do not use macros from bp-asm.h.
13594         (STR): Likewise.
13595         (CHR): Likewise.
13596         (strrchr): Likewise.  Do not use BP_SYM.
13597         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
13598         (PARMS): Do not use macros from bp-asm.h.
13599         (SKIP): Likewise.
13600         (strspn): Do not use BP_SYM.
13601         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
13602         (PARMS): Do not use macros from bp-asm.h.
13603         (STR): Likewise.
13604         (DELIM): Likewise.
13605         (SAVE): Likewise.
13606         (FUNCTION): Likewise.  Do not use BP_SYM.
13607         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
13608         aliases.
13609         (strtok_r): Likewise.
13610         (__GI___strtok_r): Likewise.
13611         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
13612         (PARMS): Do not use macros from bp-asm.h.
13613         (S1): Likewise.
13614         (S2): Likewise.
13615         (SIZE): Likewise.
13616         (__mpn_sub_n): Do not use BP_SYM.
13617         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
13618         "bp-asm.h".
13619         (PARMS): Do not use macros from bp-asm.h.
13620         (S1): Likewise.
13621         (SIZE): Likewise.
13622         (__mpn_submul_1): Do not use BP_SYM.
13623         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
13624         <bp-sym.h>.
13625         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
13626         and <bp-asm.h>.
13627         (PARMS): Do not use macros from bp-asm.h.
13628         (FLAGS): Likewise.
13629         (PTID): Likewise.
13630         (TLS): Likewise.
13631         (CTID): Likewise.
13632         (__clone): Do not use BP_SYM.
13633         (clone): Do not use BP_SYM in weak_alias.
13634         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
13635         and <bp-asm.h>.
13636         (PARMS): Do not use macros from bp-asm.h.
13637         (LEN): Likewise.
13638         (__mmap64): Do not use BP_SYM.
13639         (mmap64): Do not use BP_SYM in weak_alias.
13640         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
13641         <bp-sym.h> and <bp-asm.h>.
13642         (PARMS): Do not use macros from bp-asm.h.
13643         (__posix_fadvise64_l64): Do not use BP_SYM.
13644         * sysdeps/unix/sysv/linux/i386/semtimedop.S
13645         (PARMS): Do not use macros from bp-asm.h.
13646         (NSOPS): Likewise.
13647         (semtimedop): Do not use BP_SYM.
13648         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
13649         and <bp-asm.h>.
13650
13651 2013-02-21  Allan McRae  <allan@archlinux.org>
13652
13653         * manual/message.texi (Charset conversion in gettext):
13654         Move @end statement to beginning of line.
13655
13656 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
13657
13658         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
13659         static.
13660         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
13661         Likewise.
13662
13663         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
13664         (denorm): Likewise.
13665         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
13666         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
13667
13668 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
13669
13670         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
13671         tail-call to the resolved function if pltexit isn't needed.
13672
13673 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
13674
13675         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
13676         or Y being zero as being unlikely.
13677         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
13678         Likewise.
13679
13680 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
13681
13682         * manual/nss.texi (System Databases and Name Service Switch):
13683         Remove frobnicate @pxref.
13684
13685 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
13686
13687         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
13688         __attribute__ ((unused)) to __attribute__ ((__unused__)).
13689
13690 2013-02-20  Petr Machata  <pmachata@redhat.com>
13691
13692         * elf/elf.h (R_ARM_TARGET1): New macro.
13693         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
13694         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
13695         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
13696         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
13697         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
13698         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
13699         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
13700         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
13701         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
13702         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
13703         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
13704         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
13705         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
13706         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
13707         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
13708         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
13709         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
13710         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
13711         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
13712         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
13713         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
13714         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
13715         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
13716         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
13717         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
13718         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
13719         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
13720         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
13721         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
13722         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
13723         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
13724         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
13725         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
13726         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
13727         (R_ARM_THM_GOT_BREL12): Likewise.
13728         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
13729         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
13730         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
13731         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
13732         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
13733         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
13734         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
13735         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
13736         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
13737
13738 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
13739
13740         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
13741         __attribute_used__ to __attribute__ ((unused)).
13742
13743 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
13744
13745         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
13746         powerpc mpa.c.
13747         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
13748         comment formatting.
13749         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
13750
13751 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
13752
13753         [BZ #13550]
13754         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
13755         Remove macro.
13756         (ENTER): Remove both macro definitions.
13757         (LEAVE): Likewise.
13758         (CHECK_BOUNDS_LOW): Likewise.
13759         (CHECK_BOUNDS_HIGH): Likewise.
13760         (CHECK_BOUNDS_BOTH): Likewise.
13761         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
13762         (RETURN_BOUNDED_POINTER): Likewise.
13763         (RETURN_NULL_BOUNDED_POINTER): Likewise.
13764         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
13765         (POP_ERRNO_LOCATION_RETURN): Likewise.
13766         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
13767         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
13768         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
13769         macros.
13770         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
13771         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
13772         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
13773         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
13774         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
13775         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
13776         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
13777         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
13778         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
13779         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
13780         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
13781         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
13782         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
13783         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
13784         removed macros.
13785         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
13786         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
13787         macros.
13788         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
13789         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
13790         * sysdeps/i386/i586/memset.S (memset): Likewise.
13791         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
13792         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
13793         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
13794         macros.
13795         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
13796         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
13797         Change uses of L(2) to L(out).
13798         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
13799         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
13800         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
13801         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
13802         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
13803         removed macros.
13804         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
13805         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
13806         macros.
13807         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
13808         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
13809         (RETURN): Do not use macro LEAVE.
13810         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
13811         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
13812         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
13813         * sysdeps/i386/i686/memset.S (memset): Likewise.
13814         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
13815         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
13816         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
13817         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
13818         Likewise.
13819         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
13820         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
13821         L(1_2) and L(1_3) into L(1).
13822         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
13823         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
13824         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
13825         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
13826         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
13827         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
13828         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
13829         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
13830         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
13831         macros.
13832         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
13833         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
13834         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
13835         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
13836         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
13837         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
13838         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
13839         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
13840         * sysdeps/i386/strcspn.S (strcspn): Likewise.
13841         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
13842         * sysdeps/i386/strrchr.S (strrchr): Likewise.
13843         * sysdeps/i386/strspn.S (strspn): Likewise.
13844         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
13845         conditional code.
13846         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
13847         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
13848         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
13849         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
13850         L(1_3) into L(1_1).
13851         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
13852         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
13853         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
13854         macros.
13855         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
13856
13857 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
13858
13859         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
13860         macro.
13861
13862 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
13863
13864         * math/atest-exp.c (exp_mpn): Remove ROUND.
13865         * math/atest-exp2.c (exp_mpn): Likewise.
13866         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
13867
13868         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
13869         * stdlib/tst-tls-atexit-lib.c: Likewise.
13870         * stdlib/tst-tls-atexit.c: Likewise.
13871
13872 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
13873
13874         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
13875         and __attribute_alloc_size__.
13876
13877 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
13878
13879         * include/programs/xmalloc.h: Change __attribute_alloc_size to
13880         __attribute_alloc_size__.
13881         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
13882         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
13883
13884 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
13885
13886         * include/programs/xmalloc.h: New file.
13887         * catgets/gencat.c: Include it.
13888         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
13889         * elf/pldd.c: Likewise.
13890         * iconv/iconv_charmap.c: Likewise.
13891         * iconv/iconvconfig.c: Likewise.
13892         * iconv/strtab.c: Likewise.
13893         * locale/programs/locale.c: Likewise.
13894         * locale/programs/localedef.h: Likewise.
13895         * locale/programs/simple-hash.c: Likewise.
13896         * nscd/nscd.h: Likewise.
13897         * nss/makedb.c: Likewise.
13898         * sysdeps/generic/ldconfig.h: Likewise.
13899
13900 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
13901
13902         * Versions.def: Add GLIBC_2.18.
13903         * include/link.h (struct link_map): New member l_tls_dtor_count.
13904         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
13905         (__call_tls_dtors): Likewise.
13906         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
13907         __cxa_thread_atexit_impl.
13908         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
13909         Likewise.
13910         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
13911         Likewise.
13912         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
13913         Likewise.
13914         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
13915         Likewise.
13916         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
13917         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
13918         Likewise.
13919         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
13920         Likewise.
13921         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
13922         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
13923         Likewise.
13924         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
13925         (tests): Add test case tst-tls-atexit.
13926         (modules-names): Add shared library for tst-tls-atexit.
13927         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
13928         (GLIBC_PRIVATE): Add __call_tls_dtors.
13929         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
13930         for libstdc++.
13931         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
13932         * stdlib/tst-tls-atexit.c: New test case.
13933         * stdlib/tst-tls-atexit-lib.c: New test case.
13934
13935         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
13936
13937         * elf/Versions (ld): Add _dl_find_dso_for_object.
13938         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
13939         * elf/dl-open.c (_dl_find_dso_for_object): New function.
13940         (dl_open_worker): Use _dl_find_dso_for_object.
13941         * elf/dl-sym.c (do_sym): Likewise.
13942         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
13943
13944 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
13945
13946         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
13947         Syntactic changes only.
13948         (_dl_runtime_profile): Do a tail-call to the resolved function.
13949
13950 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
13951
13952         [BZ #13550]
13953         * sysdeps/x86_64/bp-asm.h: Remove file.
13954         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
13955         <bp-sym.h> and <bp-asm.h>.
13956         (__clone): Do not use BP_SYM.
13957         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
13958         <bp-sym.h> and <bp-asm.h>.
13959         * sysdeps/unix/x86_64/sysdep.S: Likewise.
13960         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
13961         "bp-asm.h".
13962         (_setjmp): Do not use BP_SYM.
13963         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
13964         "bp-asm.h".
13965         (setjmp): Do not use BP_SYM.
13966         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
13967         libc_hidden_def.
13968         (mempcpy): Do not use BP_SYM in weak_alias.
13969         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
13970         "bp-asm.h".
13971         (strchr): Do not use BP_SYM.
13972         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
13973         "bp-asm.h".
13974         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
13975         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
13976         (_start): Do not use BP_SYM.
13977         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
13978         "bp-asm.h".
13979         (strcat): Do not use BP_SYM.
13980         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
13981         "bp-asm.h".
13982         (STRCMP): Do not use BP_SYM.
13983         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
13984         "bp-asm.h".
13985         (STRCPY): Do not use BP_SYM.
13986         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
13987         "bp-asm.h".
13988         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
13989         "bp-asm.h".
13990         (FUNCTION): Do not use BP_SYM.
13991         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
13992         weak_alias.
13993         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
13994
13995 2013-02-17  Andreas Jaeger  <aj@suse.de>
13996
13997         * time/Versions: Sort entries.
13998         * string/Versions: Likewise.
13999         * resolv/Versions: Likewise.
14000         * posix/Versions: Likewise.
14001         * iconv/Versions: Likewise.
14002         * elf/Versions: Likewise.
14003         * wcsmbs/Versions: Likewise.
14004
14005 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
14006
14007         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
14008         loop termination condition.
14009
14010         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
14011         variable to calculate EZ.
14012         (__sqr): Likewise.
14013
14014         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
14015         the lower precision input.
14016
14017 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
14018
14019         [BZ #13550]
14020         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
14021         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
14022         (run-via-rtld-prefix): Do not handle %-bp tests.
14023         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
14024         (all-object-suffixes): Remove .ob.
14025         (bppfx): Remove variable.
14026         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
14027         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
14028         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
14029         [$(build-bounded) = yes] (libtype.ob): Likewise.
14030         * Makerules (elide-routines.ob): Remove variable.
14031         (do-tests-clean): Do not handle *-bp.out.
14032         (common-mostlyclean): Do not handle *-bp and *-bp.out.
14033         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
14034         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
14035         (tests): Do not include $(tests-bp.out).
14036         (xtests): Do not include $(xtests-bp.out).
14037         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
14038         [$(build-bounded) = yes] ($(addprefix
14039         $(objpfx),$(binaries-bounded))): Remove rule.
14040         ($(objpfx)%-bp.out): Remove rule.
14041         * config.make.in (build-bounded): Remove variable.
14042         * crypt/Makefile [$(build-bounded) = yes]
14043         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
14044         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
14045         append to variable.
14046         [$(build-bounded) = yes] (install-lib): Likewise.
14047         [$(build-bounded) = yes] (generated): Likewise.
14048         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
14049         Remove rule.
14050         * intl/Makefile [$(build-bounded) = yes]
14051         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
14052         * math/Makefile [$(build-bounded) = yes]
14053         ($(tests:%=$(objpfx)%-bp): Likewise.
14054         * misc/Makefile [$(build-bounded) = yes]
14055         ($(objpfx)tst-tsearch-bp): Likewise.
14056         * nptl/Makeconfig (bounded-thread-library): Remove variable.
14057         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
14058         Remove dependency.
14059         * string/Makefile (o-objects.ob): Remove variable.
14060         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
14061         (CFLAGS-.ob): Remove variable.
14062         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
14063         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
14064         both definitions of variable.
14065         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
14066         (ASFLAGS-.ob): Remove variable.
14067
14068 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
14069
14070         [BZ #13550]
14071         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
14072         Remove __BOUNDED_POINTERS__ from condition.
14073         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
14074         * string/bits/string2.h [!__NO_STRING_INLINES &&
14075         !__BOUNDED_POINTERS__]: Likewise.
14076         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
14077         Likewise.
14078         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
14079         Remove conditional code.
14080         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
14081         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
14082         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
14083         condition.
14084
14085         [BZ #13550]
14086         * csu/libc-start.c: Do not include <bp-sym.h>.
14087         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
14088         * elf/dl-open.c: Do not include <bp-sym.h>.
14089         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
14090         * math/fegetenv.c: Do not include <bp-sym.h>.
14091         (fegetenv): Do not use BP_SYM in versioned symbols.
14092         * nptl/sysdeps/pthread/bits/libc-lockP.h
14093         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
14094         <bp-sym.h>.
14095         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14096         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
14097         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14098         (__pthread_mutex_destroy): Likewise.
14099         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14100         (__pthread_mutex_lock): Likewise.
14101         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14102         (__pthread_mutex_trylock): Likewise.
14103         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14104         (__pthread_mutex_unlock): Likewise.
14105         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14106         (__pthread_mutexattr_init): Likewise.
14107         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14108         (__pthread_mutexattr_destroy): Likewise.
14109         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14110         (__pthread_mutexattr_settype): Likewise.
14111         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14112         (__pthread_rwlock_init): Likewise.
14113         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14114         (__pthread_rwlock_destroy): Likewise.
14115         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14116         (__pthread_rwlock_rdlock): Likewise.
14117         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14118         (__pthread_rwlock_tryrdlock): Likewise.
14119         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14120         (__pthread_rwlock_wrlock): Likewise.
14121         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14122         (__pthread_rwlock_trywrlock): Likewise.
14123         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14124         (__pthread_rwlock_unlock): Likewise.
14125         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14126         (__pthread_key_create): Likewise.
14127         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14128         (__pthread_setspecific): Likewise.
14129         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14130         (__pthread_getspecific): Likewise.
14131         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
14132         Likewise.
14133         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14134         (_pthread_cleanup_push_defer): Likewise.
14135         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14136         (_pthread_cleanup_pop_restore): Likewise.
14137         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14138         (pthread_setcancelstate): Likewise.
14139         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
14140         <bp-sym.h>.
14141         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
14142         (memchr): Do not use BP_SYM in weak_alias.
14143         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
14144         (fegetenv): Do not use BP_SYM in versioned symbols.
14145         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
14146         (fesetenv): Do not use BP_SYM in versioned symbols.
14147         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
14148         (feupdateenv): Do not use BP_SYM in versioned symbols.
14149         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
14150         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
14151         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
14152         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
14153         (open64): Do not use BP_SYM in weak_alias.
14154         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
14155         (fegetenv): Do not use BP_SYM in versioned symbols.
14156         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
14157         (fesetenv): Do not use BP_SYM in versioned symbols.
14158         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
14159         (feupdateenv): Do not use BP_SYM in versioned symbols.
14160         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
14161         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
14162         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
14163         (feraiseexcept): Do not use BP_SYM in versioned symbols.
14164         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
14165         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
14166         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
14167         <bp-sym.h>.
14168         (__libc_start_main): Do not use BP_SYM.
14169
14170 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
14171
14172         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
14173         redundant return line.
14174         (norm): Likewise.
14175         (denorm): Likewise.
14176         (dbl_mp): Likewise.
14177         (sub_magnitudes): Likewise.
14178         (__add): Likewise.
14179         (__sub): Likewise.
14180         (__mul): Likewise.
14181         (__inv): Likewise.
14182         (__dvd): Likewise.
14183         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
14184         (norm): Likewise.
14185         (denorm): Likewise.
14186         (dbl_mp): Likewise.
14187         (sub_magnitudes): Likewise.
14188         (__add): Likewise.
14189         (__sub): Likewise.
14190         (__mul): Likewise.
14191         (__inv): Likewise.
14192         (__dvd): Likewise.
14193
14194         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
14195         instead of __mul.
14196         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
14197         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
14198         (cc32): Likewise.
14199
14200         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
14201         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
14202         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
14203         of __mul for squares.
14204         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
14205         function
14206         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
14207         Likewise.
14208         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
14209         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
14210
14211 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
14212
14213         [BZ #13550]
14214         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
14215         code.
14216         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
14217         prototype or function definition.  Rename ubp_* variables and
14218         parameters.  Remove argv definitions conditional on
14219         [__BOUNDED_POINTERS__].
14220         * debug/backtrace.c (__backtrace): Do not use __unbounded.
14221         * elf/dl-runtime.c (_dl_fixup): Likewise.
14222         * include/set-hooks.h (RUN_HOOK): Likewise.
14223         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
14224         definition.
14225         * string/strcpy.c (strcpy): Do not use __unbounded.
14226         * sysdeps/generic/frame.h (struct layout): Likewise.
14227         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
14228         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
14229         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
14230         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
14231         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
14232         (__backtrace): Likewise.
14233         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
14234         use __ptrvalue.
14235         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
14236         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
14237         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
14238         Likewise.
14239         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
14240         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
14241         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
14242         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
14243         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
14244         Do not use __unbounded.
14245         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
14246         Rename __unboundedrlimits parameter to rlimits in prototype.
14247         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
14248         Do not use __unbounded.
14249         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
14250         not use __ptrvalue.
14251         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
14252         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
14253         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
14254         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
14255         __ptrvalue or __unbounded.
14256         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
14257         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
14258         use __unbounded.
14259         (__new_msgctl): Do not use __ptrvalue.
14260         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
14261         __unbounded.
14262         (__libc_msgrcv): Do not use __ptrvalue.
14263         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
14264         startup_info): Do not use __unbounded.
14265         (__libc_start_main): Likewise.  Rename ubp_* variables and
14266         parameters.  Remove argv definitions conditional on
14267         [__BOUNDED_POINTERS__].
14268         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
14269         __ptrvalue.
14270         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
14271         use __unbounded.
14272         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
14273         or __ptrvalue.
14274         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
14275         use __unbounded.
14276         (__new_shmctl): Do not use __ptrvalue.
14277         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
14278         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
14279         Likewise.
14280         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
14281         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
14282         (__libc_sigaction): Likewise.
14283         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
14284         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
14285         Likewise.
14286         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
14287
14288 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
14289
14290         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
14291
14292         * string/mempcpy.c: Implement by calling memcpy.
14293
14294 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
14295
14296         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
14297
14298         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
14299         evaluation.
14300
14301         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
14302         values in the mantissa.
14303
14304         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
14305         minimize writes to Z.
14306         (sub_magnitudes): Simplify code a bit.
14307
14308 2013-02-12  Roland McGrath  <roland@hack.frob.com>
14309
14310         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
14311         from the message.  The linker prefixes all warnings with that already.
14312
14313 2013-02-12  Andreas Schwab  <schwab@suse.de>
14314
14315         [BZ #15078]
14316         * posix/regexec.c (extend_buffers): Add parameter min_len.
14317         (check_matching): Pass minimum needed length.
14318         (clean_state_log_if_needed): Likewise.
14319         (get_subexp): Likewise.
14320         * posix/Makefile (tests): Add bug-regex34.
14321         (bug-regex34-ENV): Define.
14322         * posix/bug-regex34.c: New file.
14323
14324         [BZ #11561]
14325         * posix/regcomp.c (parse_bracket_exp): When looking up collating
14326         elements compare against the byte sequence of it, not its name.
14327         * posix/Makefile (tests): Add bug-regex35.
14328         (bug-regex35-ENV): Define.
14329         * posix/bug-regex35.c: New file.
14330
14331 2013-02-11  Tom de Vries  <tom@codesourcery.com>
14332
14333         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
14334         comment.
14335         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
14336         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
14337         (CHECK_EOL): Add undef.
14338
14339 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
14340
14341         * bits/stdlib-bsearch.h: New file.
14342         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
14343         * stdlib/stdlib.h: Likewise.
14344
14345 2013-02-11  Roland McGrath  <roland@hack.frob.com>
14346
14347         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
14348         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
14349         declaration.
14350         * manual/search.texi (Array Search Function): Add missing const in
14351         lfind prototype.
14352         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
14353         declaration to use rlim_t.
14354         (Basic Scheduling Functions): Remove erroneous const from
14355         sched_getparam prototype.  Remove erroneous * from
14356         sched_get_priority_max and sched_get_priority_min prototypes.
14357         (Resource Usage): Fix summary @comment on vtimes to refer to
14358         sys/vtimes.h rather than vtimes.h.
14359         Add missing *s in vtimes prototype.
14360         (Limits on Resources): Fix ulimit prototype to return long int.
14361         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
14362         prototypes to use long int rather than double.
14363         (BSD Random): Fix initstate and setstate to use char *, not void *.
14364         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
14365         prototype to make second argument 'struct aiocb64 *const[]'.
14366         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
14367         (Status of AIO Operations): Remove erroneous const in aio_return and
14368         aio_return64 prototypes.
14369         (Synchronizing I/O): Fix sync prototype to return void.
14370         * manual/startup.texi (Suboptions): Remove an erroneous const in
14371         getsubopt prototype.
14372         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
14373         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
14374         use size_t rather than int.
14375         (Scanning All Users): Likewise for getpwent_r.
14376         (Setting Groups): Add missing const to setgroups prototype.
14377         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
14378         * manual/socket.texi (Host Names): Fix gethostbyaddr and
14379         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
14380         'const void *' rather than 'const char *'.
14381         (Host Address Functions): Likewise for inet_ntop.
14382         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
14383         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
14384         ssize_t for return value.
14385         (Sending Data): Likewise for send, sendto, sendmsg.
14386         (Socket Option Functions): Add a missing const in setsockopt prototype.
14387         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
14388         use wchar_t for the argument.
14389         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
14390         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
14391         take no arguments.
14392         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
14393         double/float/long double for second argument.
14394         Fix return types of significand, significandf, significandl.
14395         * manual/filesys.texi (Setting Permissions): Use mode_t for second
14396         argument in fchmod prototype.
14397         (File Owner): Use uid_t and gid_t in fchown prototype.
14398         (File Times): Add const to utimes, futimes, and lutimes prototypes.
14399         (Making Special Files): Use mode_t and dev_t in mknod prototype.
14400         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
14401         use 'const struct dirent **' as argument types to CMP function pointer
14402         argument.
14403         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
14404         (File Times): Fix summary magic @comment for struct utimbuf and utime
14405         to refer to utime.h, not time.h.
14406         * manual/string.texi (Argz Functions): Add missing const in
14407         argz_extract and argz_next prototypes.
14408         (Finding Tokens in a String): Likewise for basename.
14409         (String/Array Comparison): Fix typo in wcscasecmp prototype.
14410         (Copying and Concatenation): Fix typo in wmemmove prototype.
14411         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
14412         (Signal Stack): Remove erroneous const in sigstack prototype.
14413         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
14414         prototype.
14415         (Simple Calendar Time): Likewise for stime.
14416         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
14417         prototype.
14418         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
14419         say sys/sysctl.h instead.
14420         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
14421         and vsyslog prototypes.
14422
14423 2013-02-11  Tom de Vries  <tom@codesourcery.com>
14424
14425         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
14426         Remove.
14427
14428 2013-02-11  Roland McGrath  <roland@hack.frob.com>
14429
14430         * misc/sys/mman.h: Fix typo in mremap comment.
14431
14432 2013-02-08  Roland McGrath  <roland@hack.frob.com>
14433
14434         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
14435         the '\0' terminator.
14436
14437 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
14438
14439         [BZ #13550]
14440         * debug/segfault.c: Don't include <bp-checks.h>.
14441         * sysdeps/generic/bp-checks.h: Remove file.
14442         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
14443         (__GETDENTS): Don't use CHECK_N.
14444         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
14445         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
14446         (__getgroups): Don't use CHECK_N.
14447         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
14448         (setgroups): Don't use CHECK_N.
14449         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
14450         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
14451         (__libc_msgrcv): Don't use CHECK_N.
14452         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
14453         (__libc_msgsnd): Don't use CHECK_N.
14454         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
14455         <bp-checks.h>.
14456         (__libc_pread): Don't use CHECK_N.
14457         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
14458         include <bp-checks.h>.
14459         (__libc_pread64): Don't use CHECK_N.
14460         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
14461         include <bp-checks.h>.
14462         (__libc_pwrite): Don't use CHECK_N.
14463         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
14464         include <bp-checks.h>.
14465         (__libc_pwrite64): Don't use CHECK_N.
14466         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
14467         <bp-checks.h>.
14468         (__libc_pread): Don't use CHECK_N.
14469         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
14470         include <bp-checks.h>.
14471         (__libc_pread64): Don't use CHECK_N.
14472         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
14473         include <bp-checks.h>.
14474         (__libc_pwrite): Don't use CHECK_N.
14475         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
14476         include <bp-checks.h>.
14477         (__libc_pwrite64): Don't use CHECK_N.
14478         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
14479         (do_pread): Don't use CHECK_N.
14480         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
14481         (do_pread64): Don't use CHECK_N.
14482         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
14483         (do_pwrite): Don't use CHECK_N.
14484         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
14485         (do_pwrite64): Don't use CHECK_N.
14486         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
14487         (__libc_readv): Don't use CHECK_N.
14488         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
14489         (semop): Don't use CHECK_N.
14490         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
14491         <bp-checks.h>.
14492         (semtimedop): Don't use CHECK_N.
14493         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
14494         (__libc_pread): Don't use CHECK_N.
14495         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
14496         <bp-checks.h>.
14497         (__libc_pread64): Don't use CHECK_N.
14498         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
14499         <bp-checks.h>.
14500         (__libc_pwrite): Don't use CHECK_N.
14501         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
14502         <bp-checks.h>.
14503         (__libc_pwrite64): Don't use CHECK_N.
14504         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
14505         <bp-checks.h>.
14506         (__libc_msgrcv): Don't use CHECK_N.
14507         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
14508         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
14509         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
14510         (__libc_writev): Don't use CHECK_N.
14511
14512 2013-02-08  Roland McGrath  <roland@hack.frob.com>
14513
14514         * string/strcpy.c: Removed unused variable.
14515
14516         * Makeconfig (+sysdep-includes): Define with := rather than =.
14517         Use an existing include/ subdir of each sysdeps dir before it.
14518
14519 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
14520
14521         * nscd/connection.c (register_traced_file): Comment function.
14522         [HAVE_INOTIFY] (union __inev): Define.
14523         [HAVE_INOTIFY] (inotify_check_files): New function.
14524         [HAVE_INOTIFY] (clear_db_cache): Likewise.
14525         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
14526         clear_db_cache.
14527         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
14528
14529 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
14530
14531         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
14532         loaded if not already and that a failure is permanent.
14533
14534 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
14535
14536         [BZ #15006]
14537         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
14538         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
14539
14540 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
14541
14542         [BZ #13550]
14543         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
14544         (CHECK_1_NULL_OK): Likewise.
14545         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
14546         (__fxstat): Do not use CHECK_1.
14547         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
14548         <bp-checks.h>.
14549         (___fxstat64): Do not use CHECK_1.
14550         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
14551         <bp-checks.h>.
14552         (__fxstatat): Do not use CHECK_1.
14553         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
14554         <bp-checks.h>.
14555         (__fxstatat64): Do not use CHECK_1.
14556         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
14557         <bp-checks.h>.
14558         (__fxstat): Do not use CHECK_1.
14559         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
14560         <bp-checks.h>.
14561         (__fxstatat): Do not use CHECK_1.
14562         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
14563         <bp-checks.h>.
14564         (__getresgid): Do not use CHECK_1.
14565         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
14566         <bp-checks.h>.
14567         (__getresuid): Do not use CHECK_1.
14568         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
14569         <bp-checks.h>.
14570         (__lxstat): Do not use CHECK_1.
14571         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
14572         <bp-checks.h>.
14573         (__old_msgctl): Do not use CHECK_1.
14574         (__new_msgctl): Likewise.
14575         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
14576         <bp-checks.h>.
14577         (__new_setrlimit): Do not use CHECK_1.
14578         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
14579         <bp-checks.h>.
14580         (__old_shmctl): Do not use CHECK_1.
14581         (__new_shmctl): Likewise.
14582         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
14583         <bp-checks.h>.
14584         (__xstat): Do not use CHECK_1.
14585         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
14586         (__lxstat): Do not use CHECK_1.
14587         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
14588         <bp-checks.h>.
14589         (___lxstat64): Do not use CHECK_1.
14590         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
14591         (__old_msgctl): Do not use CHECK_1.
14592         (__new_msgctl): Likewise.
14593         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
14594         <bp-checks.h>.
14595         (__gettimeofday): Do not use CHECK_1.
14596         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
14597         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
14598         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
14599         <bp-checks.h>.
14600         (__gettimeofday): Do not use CHECK_1.
14601         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
14602         (__old_shmctl): Do not use CHECK_1_NULL_OK.
14603         (__new_shmctl): Do not use CHECK_1.
14604         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
14605         <bp-checks.h>.
14606         (do_sigtimedwait): Do not use CHECK_1.
14607         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
14608         <bp-checks.h>.
14609         (do_sigwaitinfo): Do not use CHECK_1.
14610         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
14611         <bp-checks.h>.
14612         (msgctl): Do not use CHECK_1.
14613         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
14614         <bp-checks.h>.
14615         (shmctl): Do not use CHECK_1.
14616         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
14617         (ustat): Do not use CHECK_1.
14618         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
14619         <bp-checks.h>.
14620         (__fxstat): Do not use CHECK_1.
14621         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
14622         <bp-checks.h>.
14623         (__fxstatat): Do not use CHECK_1.
14624         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
14625         <bp-checks.h>.
14626         (__lxstat): Do not use CHECK_1.
14627         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
14628         <bp-checks.h>.
14629         (__xstat): Do not use CHECK_1.
14630         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
14631         (__xstat): Do not use CHECK_1.
14632         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
14633         (___xstat64): Do not use CHECK_1.
14634
14635         [BZ #13550]
14636         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
14637         definitions.
14638         (CHECK_BOUNDS_HIGH): Likewise.
14639         * string/strcpy.c: Do not include <bp-checks.h>.
14640         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
14641
14642 2013-02-07  Roland McGrath  <roland@hack.frob.com>
14643
14644         * nscd/nscd-client.h (__nscd_drop_map_ref):
14645         Add __attribute__ ((unused)).
14646         * nis/nss-nisplus.h (niserr2nss): Likewise.
14647
14648         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
14649         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
14650
14651         * csu/libc-tls.c (init_static_tls, init_slotinfo):
14652         Remove inline keyword.
14653         * include/rounding-mode.h (round_away): Likewise.
14654         * libio/wfileops.c (adjust_wide_data): Likewise.
14655         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
14656         (__m128i_strloadu_tolower): Likewise.
14657         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
14658         (__m128i_strloadu_tolower): Likewise.
14659         * time/mktime.c (ydhms_diff): Likewise.
14660         * locale/elem-hash.h (elem_hash): Likewise.
14661         * locale/setlocale.c (setdata): Likewise.
14662         * posix/regex_internal.h (re_string_char_size_at): Likewise.
14663         (re_string_wchar_at): Likewise.
14664         (bitset_not, bitset_merge, bitset_mask): Likewise.
14665         [!(__GNUC__ > 3)] (inline): Remove macro.
14666         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
14667         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
14668         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
14669         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
14670         * string/memcmp.c (memcmp_bytes): Likewise.
14671         * locale/programs/locarchive.c (compute_hashval): Likewise.
14672         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
14673         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
14674         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
14675         * nss/getent.c (print_rpc, print_protocols): Likewise.
14676         (print_passwd, print_group, print_aliases): Likewise.
14677         * nis/nss-nisplus.h (niserr2nss): Likewise.
14678         * nscd/connections.c (restart_p): Likewise.
14679         Change return type to bool.
14680
14681 2013-02-05  Roland McGrath  <roland@hack.frob.com>
14682
14683         * Makeconfig (all-Depend-files): Add existing
14684         $(sorted-subdirs:=/Depend) files.
14685         (all-subdirs): Remove nss.
14686         * sysdeps/unix/inet/Subdirs: Add it here instead.
14687         * hesiod/Depend: New file.
14688
14689         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
14690         instead of calling alloca.
14691
14692         * io/lseek.c (__lseek): Rename to __libc_lseek.
14693         Define __lseek as an alias.
14694
14695         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
14696
14697 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
14698
14699         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
14700         else clause and remove check for non-standard endianness.
14701
14702 2013-02-04  David S. Miller  <davem@davemloft.net>
14703
14704         * sysdeps/sparc/fpu/libm-test-ulps: Update.
14705
14706 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
14707
14708         [BZ #13550]
14709         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
14710         (__ubp_memchr): Remove prototype.
14711         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
14712         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
14713         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
14714         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
14715         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
14716         Remove alias.
14717         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
14718         (__ubp_memchr): Likewise.
14719         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
14720         (__ubp_memchr): Likewise.
14721         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
14722         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
14723         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
14724         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
14725         CHECK_STRING.
14726         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
14727         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
14728         (__getcwd): Do not use CHECK_STRING.
14729         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
14730         <bp-checks.h>.
14731         (__real_chown): Do not use CHECK_STRING.
14732         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
14733         <bp-checks.h>.
14734         (fchownat): Do not use CHECK_STRING.
14735         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
14736         CHECK_STRING.
14737         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
14738         <bp-checks.h>.
14739         (__lchown): Do not use CHECK_STRING.
14740         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
14741         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
14742         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
14743         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
14744         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
14745         include <bp-checks.h>.
14746         (truncate64): Do not use CHECK_STRING.
14747         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
14748         <bp-checks.h>.
14749         (__real_chown): Do not use CHECK_STRING.
14750         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
14751         <bp-checks.h>.
14752         (__lchown): Do not use CHECK_STRING.
14753         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
14754         <bp-checks.h>.
14755         (__chown): Do not use CHECK_STRING.
14756         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
14757         <bp-checks.h>.
14758         (truncate64): Do not use CHECK_STRING.
14759         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
14760         Likewise.
14761         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
14762         (__xmknod): Do not use CHECK_STRING.
14763         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
14764         <bp-checks.h>.
14765         (__xmknodat): Do not use CHECK_STRING.
14766         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
14767         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
14768
14769 2013-02-04  Andreas Schwab  <schwab@suse.de>
14770
14771         [BZ #14142]
14772         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
14773         * include/netdb.h: Likewise for h_errno.
14774         * elf/tst-stackguard1.c: Include <tls.h>.
14775
14776 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
14777
14778         * elf/link.h (struct link_map): Extend the l_addr comment.
14779         * include/link.h (struct link_map): Likewise.
14780
14781 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
14782
14783         [BZ #13550]
14784         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
14785         (BOUNDED_1): Remove macro.
14786         * debug/backtrace.c: Don't include <bp-checks.h>.
14787         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
14788         (__backtrace): Likewise.
14789         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
14790         <bp-checks.h>.
14791         (__backtrace): Don't use BOUNDED_1.
14792         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
14793         <bp-checks.h>.
14794         (__backtrace): Don't use BOUNDED_1.
14795         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
14796         (__backtrace): Don't use BOUNDED_1.
14797         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
14798         (shmat): Don't use BOUNDED_N.
14799
14800 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
14801
14802         [BZ #13550]
14803         * sysdeps/generic/bp-start.h: Remove file.
14804         * csu/libc-start.c: Don't include <bp-start.h>.
14805         (LIBC_START_MAIN): Set up __environ directly instead of using
14806         INIT_ARGV_and_ENVIRON.
14807         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
14808         <bp-start.h>.
14809
14810         [BZ #13550]
14811         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
14812         definitions.
14813         (CHECK_FCNTL): Likewise.
14814         (CHECK_N_PAGES): Likewise.
14815
14816         [BZ #13550]
14817         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
14818         definitions.
14819         (CHECK_SIGSET_NULL_OK): Likewise.
14820         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
14821         <bp-checks.h>.
14822         (sigpending): Don't use CHECK_SIGSET.
14823         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
14824         <bp-checks.h>.
14825         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
14826         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
14827         <bp-checks.h>.
14828         (do_sigsuspend): Don't use CHECK_SIGSET.
14829         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
14830         use CHECK_SIGSET.
14831         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
14832         (do_sigwait): Don't use CHECK_SIGSET.
14833         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
14834         use CHECK_SIGSET.
14835         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
14836         include <bp-checks.h>.
14837         (sigpending): Don't use CHECK_SIGSET.
14838         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
14839         include <bp-checks.h>.
14840         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
14841         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
14842         <bp-checks.h>.
14843         (sigpending): Don't use CHECK_SIGSET.
14844         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
14845         <bp-checks.h>.
14846         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
14847
14848         [BZ #13550]
14849         * sysdeps/generic/bp-semctl.h: Remove file.
14850         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
14851         <bp-checks.h> and <bp-semctl.h>.
14852         (__old_semctl): Don't use CHECK_SEMCTL.
14853         (__new_semctl): Likewise.
14854         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
14855         and <bp-semctl.h>.
14856         (__old_semctl): Don't use CHECK_SEMCTL.
14857         (__new_semctl): Likewise.
14858         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
14859         <bp-checks.h> and <bp-semctl.h>.
14860         (__old_semctl): Don't use CHECK_SEMCTL.
14861         (__new_semctl): Likewise.
14862         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
14863         <bp-checks.h> and <bp-semctl.h>.
14864         (semctl): Don't use CHECK_SEMCTL.
14865
14866         [BZ #13550]
14867         * Makerules (elide-bp-thunks): Remove variable.
14868         (elide-routines.oS): Don't use $(elide-bp-thunks).
14869         (elide-routines.os): Likewise.
14870         (elide-routines.o): Likewise.
14871         (elide-routines.op): Likewise.
14872         (elide-routines.og): Likewise.
14873         (objects): Don't use $(bp-thunks).
14874         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
14875         include.
14876         (common-generated): Do not add s-proto-bp.d.
14877         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
14878         (int): Likewise.
14879         (typ): Likewise.
14880         Do not generate makefile rules for bounded-pointer thunks.
14881         * sysdeps/generic/bp-thunks.h: Remove file.
14882         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
14883         * sysdeps/unix/s-proto-bp.S: Likewise.
14884
14885         [BZ #15062]
14886         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
14887         parts of result separately when argument is not close to line from
14888         -i to i and one part of argument is small.
14889         * math/k_casinhf.c (__kernel_casinhf): Likewise.
14890         * math/k_casinhl.c (__kernel_casinhl): Likewise.
14891         * math/libm-test.inc (cacos_test): Add more tests.
14892         (casin_test): Likewise.
14893         (casinh_test): Likewise.
14894         * sysdeps/i386/fpu/libm-test-ulps: Update.
14895         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14896
14897 2013-01-31  David S. Miller  <davem@davemloft.net>
14898
14899         * po/de.po: Update from translation team.
14900
14901 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
14902
14903         * time/tzfile.c: Include stdint.h for SIZE_MAX.
14904
14905 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
14906
14907         * configure.in (_AC_PROG_CC_C89): New definition.
14908         * configure: Regenerate.
14909
14910         * configure.in (AC_PROG_CPP): New definition.
14911         * configure: Regenerate.
14912
14913 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
14914
14915         * debug/tst-backtrace.h: New file.
14916         * debug/tst-backtrace2.c: Include tst-backtrace.h.
14917         (ret): Remove variable.
14918         (x): Likewise.
14919         (FAIL): Remove macro.
14920         (NO_INLINE): Likewise.
14921         (fn1): Use match function instead of strstr.
14922         * debug/tst-backtrace3.c: Include tst-backtrace.h.
14923         (ret): Remove variable.
14924         (x): Likewise.
14925         (FAIL): Remove macro.
14926         (NO_INLINE): Likewise.
14927         (fn): Use match function instead of strstr.
14928         * debug/tst-backtrace4.c: Include tst-backtrace.h.
14929         (ret): Remove variable.
14930         (x): Likewise.
14931         (FAIL): Remove macro.
14932         (NO_INLINE): Likewise.
14933         (handle_signal): Use match function instead of strstr.
14934         * debug/tst-backtrace5.c: Include tst-backtrace.h.
14935         (ret): Remove variable.
14936         (x): Likewise.
14937         (FAIL): Remove macro.
14938         (NO_INLINE): Likewise.
14939         (handle_signal): Use match function instead of strstr.
14940
14941 2013-01-23  Roland McGrath  <roland@hack.frob.com>
14942
14943         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
14944
14945 2013-01-23  David S. Miller  <davem@davemloft.net>
14946
14947         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
14948         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
14949         argument of CAS if possible.
14950         * sysdeps/sparc/sparc64/bits/atomic.h
14951         (__arch_compare_and_exchange_val_32_acq): Likewise.
14952         (__arch_compare_and_exchange_val_64_acq): Likewise.
14953
14954 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
14955
14956         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
14957         * sysdeps/posix/ulimit.c: ... this.
14958         Include <limits.h>.
14959         * sysdeps/unix/bsd/ulimit.c: Remove file.
14960
14961 2013-01-23  Adam Conrad  <adconrad@0c3.net>
14962
14963         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
14964         (LDFLAGS-tst-array5): Likewise.
14965
14966 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
14967
14968         [BZ #15036]
14969         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
14970         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
14971         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
14972         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
14973
14974 2013-01-21  David S. Miller  <davem@davemloft.net>
14975
14976         * sysdeps/sparc/backtrace.c: New file.
14977         * sysdeps/sparc/sparc32/backtrace.h: New file.
14978         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
14979         * sysdeps/sparc/sparc64/backtrace.h: New file.
14980         * sysdeps/sparc/sparc64/backtrace.c: Delete.
14981         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
14982         -funwind-tables.
14983
14984 2013-01-21  Andreas Schwab  <schwab@suse.de>
14985
14986         [BZ #15020]
14987         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
14988         closed its stdout.
14989
14990 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
14991
14992         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
14993         "mpa2.h".
14994         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
14995
14996 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
14997             Mark Mitchell  <mark@codesourcery.com>
14998             Tom de Vries  <tom@codesourcery.com>
14999             Paul Pluzhnikov  <ppluzhnikov@google.com>
15000
15001         * debug/tst-backtrace2.c: New file.
15002         * debug/tst-backtrace3.c: Likewise.
15003         * debug/tst-backtrace4.c: Likewise.
15004         * debug/tst-backtrace5.c: Likewise.
15005         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
15006         (CFLAGS-tst-backtrace3.c): Likewise.
15007         (CFLAGS-tst-backtrace4.c): Likewise.
15008         (CFLAGS-tst-backtrace5.c): Likewise.
15009         (LDFLAGS-tst-backtrace2): Likewise.
15010         (LDFLAGS-tst-backtrace3): Likewise.
15011         (LDFLAGS-tst-backtrace4): Likewise.
15012         (LDFLAGS-tst-backtrace5): Likewise.
15013         (tests): Add new tests tst-backtrace2, tst-backtrace3,
15014         tst-backtrace4 and tst-backtrace5.
15015
15016 2013-01-18  Anton Blanchard  <anton@samba.org>
15017             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
15018
15019         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
15020         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
15021         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
15022         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
15023         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
15024         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
15025         "+r" and remove output regs list as redundant.  Add explicit inline
15026         asm to specify register of return val to work around compiler codegen
15027         bug.  Remove (int) cast on return value.  Add return type parameter to
15028         use in macro so that this macro does not truncate return value for
15029         64-bit values.
15030         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
15031         pass to INTERNAL_VSYSCALL_NCS.
15032         (INLINE_VSYSCALL): Add 'long int' as return type to
15033         INTERNAL_VSYSCALL_NCS macro invocation.
15034         (INTERNAL_VSYSCALL): Add 'long int' as return type to
15035         INTERNAL_VSYSCALL_NCS macro invocation.
15036         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
15037
15038 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
15039
15040         [BZ #14496]
15041         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
15042         Fix application of SIMD FP exception mask.
15043
15044         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
15045         mp_no from a power of two.
15046         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
15047         __mpexp_twomm1.  Use __pow_mp.
15048
15049         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
15050         multiplication.
15051
15052 2013-01-17  David S. Miller  <davem@davemloft.net>
15053
15054         * sysdeps/sparc/fpu/libm-test-ulps: Update.
15055
15056 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
15057
15058         [BZ #15023]
15059         * include/complex.h: Condition contents on [!_COMPLEX_H].
15060         (__kernel_casinhf): New prototype.
15061         (__kernel_casinh): Likewise.
15062         (__kernel_casinhl): Likewise.
15063         * math/Makefile (libm_calls): Add k_casinh.
15064         * math/k_casinh.c: New file.
15065         * math/k_casinhf.c: Likewise.
15066         * math/k_casinhl.c: Likewise.
15067         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
15068         finite nonzero arguments.
15069         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
15070         finite nonzero arguments.
15071         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
15072         finite nonzero arguments.
15073         * math/s_casinh.c: Do not include <float.h>.
15074         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
15075         * math/s_casinhf.c: Do not include <float.h>.
15076         (__casinhf): Move code for finite nonzero arguments to
15077         k_casinhf.c.
15078         * math/s_casinhl.c: Do not include <float.h>.
15079         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
15080         redefine.
15081         (__casinhl): Move code for finite nonzero arguments to
15082         k_casinhl.c.
15083         * math/libm-test.inc (cacos_test): Add more tests.
15084         * sysdeps/i386/fpu/libm-test-ulps: Update.
15085         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15086
15087 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
15088
15089         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
15090         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
15091         [!HAVE_MREMAP]: Remove [defined linux] case.
15092         * malloc/arena.c: Do not include <malloc-sysdep.h>.
15093
15094 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
15095
15096         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
15097
15098 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
15099
15100         * elf/elf.h (R_386_SIZE32): New relocation.
15101         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
15102         R_386_SIZE32.
15103         (elf_machine_rela): Likewise.
15104         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
15105         R_X86_64_SIZE64 and R_X86_64_SIZE32.
15106
15107 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
15108
15109         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
15110         (FP_FAST_FMA): Do not define.
15111         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
15112         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
15113         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
15114         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
15115         !_SOFT_FLOAT]: Likewise.
15116         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
15117         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
15118         value.
15119         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
15120         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
15121         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
15122         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
15123         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
15124         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
15125         file.
15126
15127 2013-01-16  Andreas Schwab  <schwab@suse.de>
15128
15129         [BZ #14327]
15130         * include/stdlib.h (__mktemp): Add declaration.
15131         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
15132         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
15133
15134 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
15135
15136         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
15137         definitions.
15138         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
15139         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
15140         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
15141         definitions here.
15142         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
15143         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
15144         definitions.
15145         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
15146         and ONE.
15147         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
15148         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
15149         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
15150         definitions.
15151         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
15152         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
15153         definitions.
15154         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
15155
15156         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
15157
15158 2013-01-15  David S. Miller  <davem@davemloft.net>
15159
15160         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
15161         trunc{,f} to libm-sysdep_routes.
15162         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
15163         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
15164         file.
15165         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
15166         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
15167         file.
15168         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
15169         file.
15170         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
15171         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
15172         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
15173         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
15174         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
15175         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
15176         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
15177         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
15178
15179         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
15180         nearbyint{,f} to libm-sysdep_routes.
15181         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
15182         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
15183         New file.
15184         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
15185         file.
15186         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
15187         New file.
15188         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
15189         file.
15190         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
15191         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
15192         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
15193         file.
15194         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
15195         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
15196         file.
15197         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
15198         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
15199         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
15200
15201         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
15202         libc_feholdexcept and libc_fesetenv.
15203
15204 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
15205
15206         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
15207
15208 2013-01-14  David S. Miller  <davem@davemloft.net>
15209
15210         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
15211         (SPARC_ASM_VIS2_IFUNC): Likewise.
15212         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
15213         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
15214         use of 'siam' instruction.
15215         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
15216         Likewise.
15217         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
15218         Likewise.
15219         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
15220         Likewise.
15221         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
15222         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
15223         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
15224         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
15225         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
15226         file.
15227         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
15228         file.
15229         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
15230         file.
15231         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
15232         file.
15233         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
15234         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
15235         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
15236         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
15237         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
15238         new VIS2 routines.
15239         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
15240         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
15241         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
15242         Likewise.
15243         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
15244         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
15245         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
15246         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
15247         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
15248         routines to libm-sysdep_routines.
15249         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
15250
15251         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
15252         fdim/fdimf to libm-sysdep_routines.
15253         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
15254         file.
15255         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
15256         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
15257         file.
15258         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
15259         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
15260         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
15261         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
15262         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
15263         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
15264         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
15265
15266 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
15267
15268         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
15269         to optimize copies.
15270
15271         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
15272         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
15273         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
15274
15275         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
15276         local variable MPTWO.
15277         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
15278         Likewise.
15279
15280 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
15281
15282         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
15283         GLOB_NOESCAPE.
15284
15285 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
15286
15287         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
15288
15289 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
15290
15291         * manual/pattern.texi (glob_t): Document gl_flags.
15292         (glob64_t): Likewise.
15293
15294 2013-01-11  David S. Miller  <davem@davemloft.net>
15295
15296         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
15297         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
15298         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
15299         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
15300         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
15301         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
15302         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
15303         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
15304         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
15305         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
15306         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
15307         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
15308         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
15309
15310         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
15311         sparc V9 rather than using V8 code.
15312         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
15313         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
15314
15315         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
15316         Move to...
15317         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
15318         Here.
15319
15320 2013-01-11  Roland McGrath  <roland@hack.frob.com>
15321
15322         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
15323         not in the main loop.
15324         * configure: Regenerated.
15325
15326 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
15327
15328         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
15329         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
15330         to just #else.
15331         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
15332         [!__GLIBC_HAVE_LONG_LONG] case.
15333         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
15334         condition to just #else.
15335         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
15336         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
15337         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
15338         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
15339         unconditional.
15340         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
15341         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
15342         #elif condition to just #else.
15343         * sysdeps/unix/sysv/linux/sys/sysmacros.h
15344         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
15345         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
15346         #elif condition to just #else.
15347
15348 2013-01-11  Steve Ellcey  <sellcey@mips.com>
15349
15350         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
15351         (EF_MIPS_ARCH_64): Fix value.
15352         (EF_MIPS_ARCH_32R2): New.
15353         (EF_MIPS_ARCH_64R2): New.
15354
15355 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
15356
15357         * Makeconfig (+link-pie-before-libc): New.
15358         (+link-pie-after-libc): Likewise.
15359         (+link-pie-tests): Likewise.
15360         (+link-pie): Rewritten.
15361         (link-before-libc): Remove $(config-LDFLAGS).
15362         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
15363         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
15364         (config-LDFLAGS): Renamed to ...
15365         (rtld-LDFLAGS): This.
15366         (rtld-tests-LDFLAGS): New macro.
15367         (link-libc-rpath-link): Likewise.
15368         (link-libc-tests-rpath-link): Likewise.
15369         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
15370         (link-libc): Prepand $(link-libc-rpath-link).
15371         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
15372         (test-program-prefix): New macro.
15373         (test-via-rtld-prefix): Likewise.
15374         (test-program-cmd): Likewise.
15375         (host-test-program-cmd): Likewise.
15376         * Makefile ($(common-objpfx)testrun.sh): Replace
15377         $(run-program-prefix) with $(test-program-prefix).
15378         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
15379         $(rtld-LDFLAGS).
15380         ($(common-objpfx)shlib.lds): Likewise.
15381         (build-module-helper): Likewise.
15382         ($(common-objpfx)format.lds): Likewise.
15383         * Rules (binaries-pie-tests): New.
15384         (binaries-pie-notests): Likewise.
15385         (binaries-pie): Rewritten.
15386         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
15387         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
15388         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
15389         (make-test-out): Replace $(host-built-program-cmd) with
15390         $(host-test-program-cmd).
15391         * config.make.in (build-hardcoded-path-in-tests): New variable.
15392         * configure.in (--enable-hardcoded-path-in-tests): New configure
15393         option.
15394         (hardcoded_path_in_tests): New AC_SUBST.
15395         * configure: Regenerated.
15396         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
15397         $(built-program-cmd) with $(test-program-cmd).
15398         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
15399         (test_program_cmd): This.
15400         * elf/Makefile ($(objpfx)order.out): Run test with
15401         $(test-program-prefix).
15402         ($(objpfx)order2.out): Likewise.
15403         ($(objpfx)tst-initorder.out): Likewise.
15404         ($(objpfx)tst-initorder2.out): Likewise.
15405         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
15406         $(test-program-cmd).
15407         ($(objpfx)tst-array1-static.out): Likewise.
15408         ($(objpfx)tst-array2.out): Likewise.
15409         ($(objpfx)tst-array3.out): Likewise.
15410         ($(objpfx)tst-array4.out): Likewise.
15411         ($(objpfx)tst-array5.out): Likewise.
15412         ($(objpfx)tst-array5-static.out): Likewise.
15413         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
15414         $(test-program-cmd).
15415         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
15416         $(run-program-prefix) with $(test-program-prefix).
15417         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
15418         (test_program_prefix): This.
15419         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
15420         $(run-program-prefix) with $(test-program-prefix).
15421         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
15422         (test_program_prefix): This.
15423         * iconvdata/tst-tables.sh: Likewise.
15424         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
15425         $(run-program-prefix) with $(test-program-prefix).
15426         ($(objpfx)tst-translit.out): Likewise.
15427         ($(objpfx)tst-gettext2.out): Likewise.
15428         ($(objpfx)tst-gettext4.out): Likewise.
15429         ($(objpfx)tst-gettext6.out): Likewise.
15430         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
15431         (test_program_prefix): This.
15432         * intl/tst-gettext2.sh: Likewise.
15433         * intl/tst-gettext4.sh  Likewise.
15434         * intl/tst-gettext6.sh: Likewise.
15435         * intl/tst-translit.sh: Likewise.
15436         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
15437         with $(test-program-cmd).
15438         * libio/Makefile ($(objpfx)test-freopen.out): Replace
15439         $(run-program-prefix) with $(test-program-prefix).
15440         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
15441         (test_program_prefix): This.
15442         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
15443         $(run-program-prefix) with $(test-program-prefix).
15444         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
15445         (test_program_prefix): This.
15446         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
15447         * posix/Makefile ($(objpfx)globtest.out): Replace
15448         $(run-via-rtld-prefix) and $(test-wrapper) with
15449         $(test-program-prefix) and $(test-via-rtld-prefix).
15450         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
15451         $(test-program-prefix).
15452         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
15453         $(host-test-program-cmd).
15454         (tst-spawn-ARGS): Likewise.
15455         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
15456         $(test-program-prefix).
15457         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
15458         (test_via_rtld_prefix): This.
15459         (test_wrapper): Renamed to ...
15460         (test_program_prefix): This.
15461         (run_program_prefix): Replaced by test_program_prefix.
15462         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
15463         (test_program_prefix): This.
15464         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
15465         with $(host-test-program-cmd).
15466         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
15467         $(run-program-prefix) with $(test-program-prefix).
15468         ($(objpfx)tst-printf.out): Likewise.
15469         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
15470         $(test-program-cmd).
15471         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
15472         (test_program_prefix): This.
15473         * stdio-common/tst-unbputc.sh: Likewise.
15474         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
15475         $(run-program-prefix) with $(test-program-prefix).
15476         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
15477         (test_program_prefix): This.
15478         * string/Makefile ($(objpfx)tst-svc.out):  Replace
15479         $(built-program-cmd) with $(test-program-cmd).
15480
15481 2013-01-11  Andreas Jaeger  <aj@suse.de>
15482
15483         [BZ #15003]
15484         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
15485         value. Sync with Linux 3.7.
15486
15487 2013-01-10  David S. Miller  <davem@davemloft.net>
15488
15489         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
15490         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
15491         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
15492
15493 2013-01-10  Roland McGrath  <roland@hack.frob.com>
15494
15495         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
15496         never set.
15497         * configure: Regenerated.
15498
15499 2013-01-10  David S. Miller  <davem@davemloft.net>
15500
15501         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
15502         sparc V9 rather than using V8 code.
15503         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
15504         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
15505
15506 2013-01-10  Roland McGrath  <roland@hack.frob.com>
15507
15508         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
15509         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
15510         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
15511         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
15512         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
15513         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
15514         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
15515         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
15516         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
15517         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
15518         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
15519         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
15520         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
15521         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
15522         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
15523         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
15524         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
15525         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
15526         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
15527         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
15528         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
15529         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
15530         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
15531         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
15532         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
15533         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
15534         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
15535
15536 2013-01-10  David S. Miller  <davem@davemloft.net>
15537
15538         * sysdeps/sparc/fpu/libm-test-ulps: Update.
15539
15540 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
15541
15542         * posix/Makefile (tests-static): New variable.
15543         (tests): Add $(tests-static).
15544         (tst-exec-static-ARGS): New variable.
15545         (tst-spawn-static-ARGS): Likewise.
15546         * posix/tst-exec-static.c: New file.
15547         * posix/tst-spawn-static.c: Likewise.
15548         * posix/tst-exec.c: Support run directly.
15549         * posix/tst-spawn.c: Likewise.
15550
15551 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
15552
15553         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
15554         long.
15555         * math/bits/mathcalls.h (llrint): Likewise.
15556         (llround): Likewise.
15557         * stdlib/stdlib.h (struct drand48_data): Likewise.
15558         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
15559         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
15560         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
15561         Likewise.
15562         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
15563         Likewise.
15564         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
15565         (elf_greg_t): Likewise.
15566         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
15567         (__jmp_buf): Likewise.
15568         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
15569         definitions.
15570         (llrint): Likewise, for all definitions.
15571         (llrintl): Likewise.
15572
15573         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
15574         Remove [__GNUC__] condition.
15575         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
15576         condition to just [__USE_ISOC99].
15577         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
15578
15579 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
15580
15581         [BZ #14200]
15582         * sysdeps/unix/sysv/linux/x86/bits/environments.h
15583         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
15584         defined.
15585         (_POSIX_V6_ILP32_OFF32): Likewise.
15586         (_XBS5_ILP32_OFF32): Likewise.
15587         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
15588         (__ILP32_OFFBIG_LDFLAGS): Likewise.
15589
15590 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
15591
15592         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
15593
15594         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
15595         doubles __mpexp_twomm1.  Adjust usage.
15596         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
15597         Remove.
15598
15599 2013-01-10  Andreas Schwab  <schwab@suse.de>
15600
15601         [BZ #14964]
15602         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
15603         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
15604
15605 2013-01-09  David S. Miller  <davem@davemloft.net>
15606
15607         [BZ #15003]
15608         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
15609         TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
15610         TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
15611         TCP_FASTOPEN): Define.
15612         (tcp_repair_opt): New structure.
15613         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
15614         enum values.
15615         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
15616         TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
15617         TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
15618         (tcp_cookie_transactions): New structure.
15619
15620 2013-01-09  Anton Blanchard  <anton@samba.org>
15621
15622         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
15623         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
15624         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
15625         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
15626
15627 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
15628
15629         * include/features.h (__USE_ANSI): Remove.
15630
15631 2013-01-09  Roland McGrath  <roland@hack.frob.com>
15632
15633         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
15634
15635         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
15636
15637 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
15638
15639         * sysdeps/s390/fpu/libm-test-ulps: Update.
15640
15641         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15642
15643         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
15644         (__acr): Likewise.
15645         (__cpy): Likewise.
15646         (norm): Likewise.
15647         (denorm): Likewise.
15648         (__mp_dbl): Likewise.
15649         (__dbl_mp): Likewise.
15650         (add_magnitudes): Likewise.
15651         (sub_magnitudes): Likewise.
15652         (__add): Likewise.
15653         (__sub): Likewise.
15654         (__mul): Likewise.
15655         (__inv): Likewise.
15656         (__dvd): Likewise.
15657         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
15658         (__acr): Likewise.
15659         (__cpy): Likewise.
15660         (norm): Likewise.
15661         (denorm): Likewise.
15662         (__mp_dbl): Likewise.
15663         (__dbl_mp): Likewise.
15664         (add_magnitudes): Likewise.
15665         (sub_magnitudes): Likewise.
15666         (__add): Likewise.
15667         (__sub): Likewise.
15668         (__mul): Likewise.
15669         (__inv): Likewise.
15670         (__dvd): Likewise.
15671         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
15672         (__acr): Likewise.
15673         (__cpy): Likewise.
15674         (norm): Likewise.
15675         (denorm): Likewise.
15676         (__mp_dbl): Likewise.
15677         (__dbl_mp): Likewise.
15678         (add_magnitudes): Likewise.
15679         (sub_magnitudes): Likewise.
15680         (__add): Likewise.
15681         (__sub): Likewise.
15682         (__mul): Likewise.
15683         (__inv): Likewise.
15684         (__dvd): Likewise.
15685
15686 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
15687
15688         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
15689         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
15690         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
15691         2 && __USE_EXTERN_INLINES]: Likewise.
15692
15693 2013-01-08  Andreas Jaeger  <aj@suse.de>
15694
15695         [BZ# 14985]
15696         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
15697         Remove.
15698         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
15699         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
15700
15701 2013-01-07  Anton Blanchard  <anton@samba.org>
15702
15703         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
15704         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
15705         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
15706         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
15707         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
15708         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
15709         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
15710         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
15711         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
15712         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
15713         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
15714         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
15715         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
15716         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
15717         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
15718         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
15719         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
15720         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
15721         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
15722         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
15723         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
15724         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
15725         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
15726         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
15727         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
15728         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
15729         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
15730         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
15731         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
15732         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
15733         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
15734         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
15735         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
15736         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
15737         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
15738         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
15739         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
15740         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
15741         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
15742         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
15743         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
15744         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
15745         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
15746
15747 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
15748
15749         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
15750         (__MALLOC_PMT): Likewise.
15751         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
15752         [__GNUC__], only on [_LIBC].
15753         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
15754         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
15755         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
15756         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
15757         forward declaration.
15758         (realloc_hook_ini): Likewise.
15759         (memalign_hook_ini): Likewise.
15760         (__libc_memalign): Do not use __MALLOC_PMT in variable
15761         declaration.
15762         (__libc_valloc): Likewise.
15763         (__libc_pvalloc): Likewise.
15764         (__libc_calloc): Likewise.
15765         (__posix_memalign): Likewise.
15766
15767         [BZ #14996]
15768         * math/s_casinh.c: Include <float.h>.
15769         (__casinh): Do not do computation with squaring and square root
15770         for large arguments.
15771         * math/s_casinhf.c: Include <float.h>.
15772         (__casinhf): Do not do computation with squaring and square root
15773         for large arguments.
15774         * math/s_casinhl.c: Include <float.h>.
15775         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
15776         (__casinhl): Do not do computation with squaring and square root
15777         for large arguments.
15778         * math/libm-test.inc (casin_test): Add more tests.
15779         (casinh_test): Likewise.
15780         * sysdeps/i386/fpu/libm-test-ulps: Update.
15781         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15782
15783 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
15784
15785         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
15786         (__x86_64_raw_data_cache_size): Likewise.
15787         (__x86_64_data_cache_size_half): Likewise.
15788         (__x86_64_raw_data_cache_size_half): Likewise.
15789         (__x86_64_shared_cache_size): Likewise.
15790         (__x86_64_raw_shared_cache_size): Likewise.
15791         (__x86_64_shared_cache_size_half): Likewise.
15792         (__x86_64_raw_shared_cache_size_half): Likewise.
15793         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
15794         to ...
15795         (__x86_data_cache_size): This.
15796         (__x86_64_raw_data_cache_size): Renamed to ...
15797         (__x86_raw_data_cache_size): This.
15798         (__x86_64_data_cache_size_half): Renamed to ...
15799         (__x86_data_cache_size_half): This.
15800         (__x86_64_raw_data_cache_size_half): Renamed to ...
15801         (__x86_raw_data_cache_size_half): This.
15802         (__x86_64_shared_cache_size): Renamed to ...
15803         (__x86_shared_cache_size): This.
15804         (__x86_64_raw_shared_cache_size): Renamed to ...
15805         (__x86_raw_shared_cache_size): This.
15806         (__x86_64_shared_cache_size_half): Renamed to ...
15807         (__x86_shared_cache_size_half): This.
15808         (__x86_64_raw_shared_cache_size_half): Renamed to ...
15809         (__x86_raw_shared_cache_size_half): This.
15810         * sysdeps/x86_64/memcpy.S: Updated.
15811         * sysdeps/x86_64/memset.S: Likewise.
15812         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
15813         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
15814         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
15815
15816 2013-01-04  David S. Miller  <davem@davemloft.net>
15817
15818         * sysdeps/sparc/fpu/libm-test-ulps: Update.
15819
15820 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
15821
15822         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
15823         1 to avoid redefinition warning.
15824         (__USE_GNU): Don't define.
15825         (init_signaling_nan): Protoize.
15826
15827         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15828
15829 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
15830
15831         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
15832         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
15833         (__cpymn): Likewise.
15834         (norm): Remove commented code.
15835         (denorm): Likewise.
15836         (__mp_dbl): Likewise.
15837         (__inv): Likewise.
15838         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
15839         (__cpymn): Likewise.
15840         (norm): Remove commented code.
15841         (denorm): Likewise.
15842         (__mp_dbl): Likewise.
15843         (__inv): Likewise.
15844
15845         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
15846         mp_no value for 1.0 and 2.0.
15847         (norm): Use RADIXI instead of radixi.d.
15848         (denorm): Likewise.
15849         (__mul): Use 0.0 instead of zero.d.
15850         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
15851         mp_no value for 1.0 and 2.0.
15852         (norm): Use RADIXI instead of radixi.d.
15853         (denorm): Likewise.
15854         (__mul): Use 0.0 instead of zero.d.
15855
15856 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
15857
15858         [BZ #14994]
15859         * math/s_casinh.c (__casinh): Reduce finite argument to first
15860         quadrant then set signs of results at the end.
15861         * math/s_casinhf.c (__casinhf): Likewise.
15862         * math/s_casinhl.c (__casinhl): Likewise.
15863         * math/libm-test.inc (casin_test): Add more tests.
15864         (casinh_test): Likewise.
15865         * sysdeps/i386/fpu/libm-test-ulps: Update.
15866         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15867
15868 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
15869
15870         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
15871
15872         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
15873
15874         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
15875         declarations.
15876         (denorm): Likewise.
15877         (__mp_dbl): Likewise.
15878         (__inv): Likewise.
15879
15880         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
15881         and adjust the header comment.
15882
15883         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
15884         variable name from declaration.
15885
15886 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
15887
15888         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
15889         Initialize COMMON_CPUID_INDEX_7 element.
15890         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
15891         (CPUID_RTM): Likewise.
15892         (HAS_RTM): Likewise.
15893         (COMMON_CPUID_INDEX_7): New enum.
15894
15895 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
15896
15897         [BZ #14981]
15898         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
15899         size is zero, record memory as freed.
15900
15901 2013-01-03  Andreas Jaeger  <aj@suse.de>
15902
15903         * po/ia.po: Add new Interlingua translation.
15904
15905 2012-01-03  Allan McRae  <allan@archlinux.org>
15906
15907         * locale/programs/localedef.c: Fix description of '--posix' flag.
15908
15909 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
15910
15911         * NEWS: Update dates in second copyright notice.
15912         * README: Update copyright dates in example.
15913         * manual/libc.texinfo: Update copyright dates.
15914         * scripts/test-installation.pl: Update copyright date in --version
15915         output.
15916
15917         * hurd/ctty-input.c: Fix copyright notice formatting.
15918         * hurd/ctty-output.c: Likewise.
15919         * hurd/dtable.c: Likewise.
15920         * hurd/hurd-raise.c: Likewise.
15921         * hurd/hurdprio.c: Likewise.
15922         * hurd/msgportdemux.c: Likewise.
15923         * misc/sys/file.h: Likewise.
15924         * misc/sys/ioctl.h: Likewise.
15925         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
15926         * sysdeps/mach/hurd/chdir.c: Likewise.
15927         * sysdeps/mach/hurd/fchdir.c: Likewise.
15928         * sysdeps/mach/hurd/rename.c: Likewise.
15929         * sysdeps/mach/hurd/rmdir.c: Likewise.
15930         * sysdeps/mach/hurd/seekdir.c: Likewise.
15931         * sysdeps/mach/hurd/setsid.c: Likewise.
15932         * sysdeps/posix/wait3.c: Likewise.
15933
15934         * All files with FSF copyright notices: Update copyright dates
15935         using scripts/update-copyrights.
15936         * intl/plural.c: Regenerated.
15937         * locale/programs/charmap-kw.h: Likewise.
15938         * locale/programs/locfile-kw.h: Likewise.
15939
15940 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
15941
15942         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
15943         four values.
15944
15945         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
15946         calculation loop and add branch prediction.
15947
15948         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
15949         check access beyond bounds of m1np.
15950
15951         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
15952         MPTWO.
15953         (__inv): Remove local variable MPTWO to use the global
15954         constant.
15955         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
15956         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
15957         variable MPTWO.
15958         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
15959         MP3HALFS static const.
15960
15961 2013-01-01  David S. Miller  <davem@davemloft.net>
15962
15963         * po/ca.po: Update from translation team.
15964
15965 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
15966
15967         * scripts/update-copyrights: New file.
15968         * Makeconfig: Reformat copyright notice.
15969         * ctype/ctype.h: Likewise.
15970         * debug/swprintf_chk.c: Likewise.
15971         * elf/dl-cache.c: Likewise.
15972         * elf/dl-debug.c: Likewise.
15973         * elf/dl-object.c: Likewise.
15974         * grp/initgroups.c: Likewise.
15975         * hurd/Makefile: Likewise.
15976         * hurd/hurd/signal.h: Likewise.
15977         * hurd/hurdfault.c: Likewise.
15978         * hurd/hurdioctl.c: Likewise.
15979         * hurd/hurdlookup.c: Likewise.
15980         * hurd/intr-msg.c: Likewise.
15981         * iconv/gconv_open.c: Likewise.
15982         * libio/swprintf.c: Likewise.
15983         * locale/lc-ctype.c: Likewise.
15984         * locale/nl_langinfo.c: Likewise.
15985         * mach/Machrules: Likewise.
15986         * mach/Makefile: Likewise.
15987         * malloc/obstack.h: Likewise.
15988         * manual/Makefile: Likewise.
15989         * manual/tsort.awk: Likewise.
15990         * misc/bits/stab.def: Likewise.
15991         * nis/nis_print_group_entry.c: Likewise.
15992         * nis/nis_table.c: Likewise.
15993         * nis/nss_compat/compat-pwd.c: Likewise.
15994         * nis/nss_compat/compat-spwd.c: Likewise.
15995         * po/Makefile: Likewise.
15996         * posix/fnmatch.c: Likewise.
15997         * posix/regex.h: Likewise.
15998         * resolv/Makefile: Likewise.
15999         * resolv/nss_dns/dns-network.c: Likewise.
16000         * resolv/res_hconf.c: Likewise.
16001         * scripts/gen-sorted.awk: Likewise.
16002         * soft-fp/soft-fp.h: Likewise.
16003         * stdio-common/printf.h: Likewise.
16004         * stdlib/monetary.h: Likewise.
16005         * stdlib/random.c: Likewise.
16006         * stdlib/random_r.c: Likewise.
16007         * sysdeps/generic/Makefile: Likewise.
16008         * sysdeps/gnu/Makefile: Likewise.
16009         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
16010         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
16011         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
16012         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
16013         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
16014         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
16015         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
16016         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
16017         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
16018         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
16019         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
16020         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
16021         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
16022         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
16023         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
16024         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
16025         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
16026         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
16027         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
16028         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
16029         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
16030         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
16031         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
16032         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
16033         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
16034         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
16035         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
16036         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
16037         * sysdeps/mach/hurd/errnos.awk: Likewise.
16038         * sysdeps/mach/hurd/fork.c: Likewise.
16039         * sysdeps/mach/hurd/getcwd.c: Likewise.
16040         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
16041         * sysdeps/mach/hurd/mmap.c: Likewise.
16042         * sysdeps/mach/hurd/utimes.c: Likewise.
16043         * sysdeps/mach/hurd/xmknod.c: Likewise.
16044         * sysdeps/posix/profil.c: Likewise.
16045         * sysdeps/posix/readdir_r.c: Likewise.
16046         * sysdeps/powerpc/bits/mathdef.h: Likewise.
16047         * sysdeps/powerpc/bits/setjmp.h: Likewise.
16048         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
16049         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
16050         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
16051         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
16052         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
16053         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
16054         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
16055         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
16056         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
16057         * sysdeps/pthread/lio_listio.c: Likewise.
16058         * sysdeps/sparc/dl-procinfo.h: Likewise.
16059         * sysdeps/unix/i386/sysdep.S: Likewise.
16060         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
16061         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
16062         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
16063         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
16064         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
16065         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
16066         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
16067         * sysdeps/unix/sysv/linux/speed.c: Likewise.
16068         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
16069         * sysdeps/wordsize-32/divdi3.c: Likewise.
16070         * time/sys/time.h: Likewise.
16071         * wcsmbs/Makefile: Likewise.
16072
16073 2013-01-01  David S. Miller  <davem@davemloft.net>
16074
16075         * po/fr.po: Update from translation team.
16076
16077         * catgets/gencat.c: Update copyright year.
16078         * csu/version.c: Likewise.
16079         * debug/catchsegv.sh: Likewise.
16080         * debug/pcprofiledump.c: Likewise.
16081         * debug/xtrace.sh: Likewise.
16082         * elf/ldconfig.c: Likewise.
16083         * elf/ldd.bash.in: Likewise.
16084         * elf/pldd.c: Likewise.
16085         * elf/sotruss.ksh: Likewise.
16086         * elf/sprof.c: Likewise.
16087         * iconv/iconv_prog.c: Likewise.
16088         * iconv/iconvconfig.c: Likewise.
16089         * locale/programs/locale.c: Likewise.
16090         * locale/programs/localedef.c: Likewise.
16091         * login/programs/pt_chown.c: Likewise.
16092         * malloc/memusage.sh: Likewise.
16093         * malloc/memusagestat.c: Likewise.
16094         * malloc/mtrace.pl: Likewise.
16095         * nscd/nscd.c: Likewise.
16096         * nss/getent.c: Likewise.
16097         * nss/makedb.c: Likewise.
16098         * posix/getconf.c: Likewise.
16099
16100 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
16101
16102         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
16103         numbers.
16104
16105 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
16106
16107         * math/bits/mathcalls.h (modf): Use __nonnull.
16108
16109 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
16110
16111         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
16112         (split): Use macro CN instead of the bare value.
16113         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
16114         could be used.
16115         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
16116         instead of the bare value.
16117         (power1): Likewise.
16118
16119 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
16120
16121         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
16122         __ATAN_TWOM.
16123         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
16124
16125         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
16126         their values.
16127         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
16128         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
16129         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
16130         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
16131
16132 2012-12-28  Andreas Jaeger  <aj@suse.de>
16133
16134         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
16135         values are from Linux 3.7.
16136
16137         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
16138         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
16139
16140 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
16141
16142         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
16143         TRUE case.
16144
16145         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
16146         (norm): Likewise.
16147         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
16148         variables with preprocessor constants.
16149         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
16150         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
16151         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
16152
16153 2012-12-27  Bruno Haible  <bruno@clisp.org>
16154
16155         [BZ #14317]
16156         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
16157         only if needed.
16158
16159 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
16160
16161         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
16162         and use variable directly.
16163         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
16164
16165         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
16166         MPONE.
16167         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
16168         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
16169         variable MPONE.
16170         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
16171         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
16172         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
16173         include directive.  Remove local variable MPONE.
16174         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
16175         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
16176         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
16177
16178 2012-12-25  David S. Miller  <davem@davemloft.net>
16179
16180         * version.h (RELEASE): Set to "development".
16181         (VERSION): Set to "2.17.90".
16182         * NEWS: Add 2.18 section.
16183
16184 2012-12-21  David S. Miller  <davem@davemloft.net>
16185
16186         * po/hr.po: Update from translation team.
16187
16188 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
16189
16190         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
16191
16192 2012-12-19  Steve Ellcey  <sellcey@mips.com>
16193
16194         * NEWS:  Mention new memcpy for MIPS.
16195
16196 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
16197
16198         * manual/contrib.texi (Contributors): Spelling correction.
16199
16200 2012-12-15  David S. Miller  <davem@davemloft.net>
16201
16202         * po/ru.po: Update from translation team.
16203
16204 2012-12-13  David S. Miller  <davem@davemloft.net>
16205
16206         * NEWS: Mention IFUNC testsuite enhancements.
16207
16208         * po/pl.po: Update from translation team.
16209         * po/bg.po: Likewise.
16210
16211         * manual/contrib.texi (Contributors): Update entries for Hongjiu
16212         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
16213
16214 2012-12-11  David S. Miller  <davem@davemloft.net>
16215
16216         * po/sv.po: Update from translation team.
16217
16218         * po/vi.po: Update from translation team.
16219
16220         * po/cs.po: Update from translation team.
16221
16222         * po/de.po: Update from translation team.
16223         * po/eo.po: Likewise.
16224         * po/nl.po: Likewise.
16225
16226 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
16227
16228         [BZ #14246]
16229         * manual/argp.texi (Argp Helper Functions): Move node to follow
16230         Argp Parsing State.
16231
16232         [BZ #14872]
16233         * manual/conf.texi (Limits on File System Capacity): Mention if
16234         terminating null is included in the max size.
16235
16236 2012-12-10  Andreas Jaeger  <aj@suse.de>
16237
16238         * po/cs.po: Update from translation team.
16239
16240 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
16241
16242         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
16243         void pointer and cast to uintptr_t.
16244         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
16245         path.
16246         * sysdeps/s390/s390-64/memcpy.S: Likewise.
16247         * sysdeps/s390/s390-64/memset.S: Likewise.
16248
16249 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
16250
16251         [BZ #14833]
16252         * menual/message.texi (Message Translation): Fix typos.
16253         (Helper programs for gettext): Likewise.
16254
16255 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
16256
16257         [BZ #14898]
16258         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
16259         Change to -1.
16260
16261 2012-12-07  David S. Miller  <davem@davemloft.net>
16262
16263         * po/libc.pot: Update.
16264
16265 2012-12-07  Richard Henderson  <rth@redhat.com>
16266
16267         [BZ #10114]
16268         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
16269         normal/normal case to before the switch.
16270         (_FP_DIV): Likewise.
16271
16272 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
16273             Mike Frysinger  <vapier@gentoo.org>
16274
16275         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
16276         check for __NR_fadvise64_64.
16277
16278 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
16279
16280         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
16281         0, not just to plain "0" as a statement.
16282         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
16283         with cw.
16284
16285 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
16286
16287         * NEWS: Use sourceware.org in Bugzilla URL.
16288
16289 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
16290
16291         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
16292         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
16293
16294         * stdio-common/tst-put-error.c (do_test): Add newline to the
16295         padded test to ensure flush.
16296
16297 2012-12-05  Jeff Law  <law@redhat.com>
16298
16299         * sunrpc/etc.rpc (fedfs_admin): Add entry.
16300
16301 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
16302
16303         * README: Don't refer to ports add-on as distributed separately.
16304         Mention AArch64 in list of systems supported in the ports add-on.
16305
16306         * LICENSES: Add more non-FSF copyright and license notices.
16307
16308         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
16309         ((unused)).
16310
16311         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
16312
16313         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
16314         10000 as width of padded output.
16315
16316 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
16317
16318         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
16319
16320         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
16321         variable LX with __attribute__ ((unused)).
16322         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
16323         Likewise.
16324         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
16325         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
16326         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
16327         with __attribute__ ((unused)).
16328
16329 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
16330
16331         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
16332
16333 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
16334
16335         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
16336         (CFLAGS-nldbl-acos.c): New variable.
16337         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
16338         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
16339         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
16340         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
16341         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
16342         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
16343         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
16344         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
16345         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
16346         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
16347         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
16348         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
16349         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
16350         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
16351         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
16352         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
16353         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
16354         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
16355         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
16356         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
16357         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
16358         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
16359         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
16360         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
16361         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
16362         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
16363         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
16364         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
16365         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
16366         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
16367         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
16368         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
16369         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
16370         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
16371         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
16372         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
16373         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
16374         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
16375         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
16376         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
16377         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
16378         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
16379         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
16380         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
16381         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
16382         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
16383         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
16384         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
16385         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
16386         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
16387         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
16388         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
16389         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
16390         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
16391         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
16392         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
16393         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
16394         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
16395         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
16396         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
16397         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
16398         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
16399         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
16400         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
16401         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
16402         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
16403         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
16404         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
16405         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
16406         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
16407         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
16408         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
16409         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
16410         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
16411         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
16412         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
16413         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
16414         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
16415         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
16416         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
16417         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
16418         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
16419         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
16420         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
16421         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
16422         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
16423         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
16424         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
16425         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
16426         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
16427         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
16428         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
16429         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
16430         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
16431         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
16432         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
16433         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
16434
16435         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
16436         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
16437
16438         [BZ #14914]
16439         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
16440         whole low double instead of just low 47 bits when splitting values
16441         into two parts.
16442
16443 2012-12-03  Allan McRae  <allan@archlinux.org>
16444
16445         * manual/stdio.texi (Predefined Printf Handlers): Remove
16446         @hsep and @vsep usage.
16447
16448 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
16449
16450         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
16451         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
16452
16453 2012-12-03  Jeff Law  <law@redhat.com>
16454
16455         * time/sys/time.h (settimeofday): Do not mark TV argument
16456         as __nonnull.
16457
16458 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
16459
16460         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
16461         when currently writing and seek to current position when not.
16462         * libio/Makefile (tests): Remove bug-fclose1.
16463         * libio/bug-fclose1.c: Delete.
16464
16465 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
16466
16467         * manual/arith.texi (feenableexcept): Fix typo.
16468         (fedisableexcept): Likewise.
16469
16470 2012-11-30  Roland McGrath  <roland@hack.frob.com>
16471
16472         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
16473         second, differently-typed declaration, rather than a cast.
16474
16475 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
16476
16477         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
16478         * include/rpc/svc.h: ... here.
16479
16480 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
16481
16482         [BZ #13013]
16483         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
16484         depending n and resplen2 to catch cases where answer
16485         equals answerp2.
16486
16487 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
16488
16489         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
16490         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
16491
16492 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
16493
16494         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
16495
16496 2012-11-29  Roland McGrath  <roland@hack.frob.com>
16497
16498         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
16499
16500 2012-11-28  Jeff Law  <law@redhat.com>
16501
16502         [BZ #13761]
16503         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
16504         dataset_temporary.  Track alloca usage into alloca_used.
16505         If dataset is large allocate and release it via malloc/free.
16506
16507 2012-06-04  Florian Weimer  <fweimer@redhat.com>
16508
16509         [BZ #14197]
16510         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
16511
16512 2012-11-28  David S. Miller  <davem@davemloft.net>
16513
16514         * sysdeps/sparc/fpu/libm-test-ulps: Update.
16515
16516 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
16517
16518         [BZ #14803]
16519         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
16520         of pi/2 rounded to nearest to 64 bits.
16521         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
16522         nearest to 64 bits.
16523         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
16524         bits.
16525
16526 2012-11-28  Jeff Law <law@redhat.com>
16527             Martin Osvald <mosvald@redhat.com>
16528
16529         [BZ #14889]
16530         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
16531         * sunrpc/svc.c: Include time.h.
16532         (__svc_accept_failed): New function.
16533         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
16534         any reason other than EINTR, call __svc_accept_failed.
16535         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
16536         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
16537
16538 2012-11-28  Andreas Schwab  <schwab@suse.de>
16539
16540         * scripts/abilist.awk: Also handle indirect functions in .opd
16541         section.
16542
16543 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
16544
16545         [BZ #13881]
16546         * sysdeps/x86/fpu/powl_helper.c: New file.
16547         * sysdeps/x86/fpu/Makefile: Likewise.
16548         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
16549         (p3): New object.
16550         (__ieee754_powl): Use __powl_helper for finite arguments except
16551         integer exponents below 8.
16552         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
16553         (p3): New object.
16554         (__ieee754_powl): Use __powl_helper for finite arguments except
16555         integer exponents below 8.
16556         * math/libm-test.inc (pow_test): Add more tests and enable some
16557         previously disabled tests.
16558         * sysdeps/i386/fpu/libm-test-ulps: Update.
16559         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16560
16561 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
16562             Carlos O'Donell  <carlos_odonell@mentor.com>
16563
16564         * nss/makedb.c (is_prime): Assert that input is odd and greater
16565         than 4.  Note that fact in a comment too.
16566         (next_prime): Add 4 to input.
16567
16568 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
16569
16570         [BZ #11741]
16571         * libio/Makefile (tests): Add test case tst-fwrite-error.
16572         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
16573         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
16574         * libio/tst-fwrite-error.c: New test case.
16575
16576 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
16577
16578         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
16579         before casting to void *.
16580         * include/libc-internal.h (__pointer_type): New macro.
16581         (__integer_if_pointer_type_sub): Likewise.
16582         (__integer_if_pointer_type): Likewise.
16583         (cast_to_integer): Likewise.
16584         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
16585         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
16586         before casting to atomic64_t.
16587         (atomic_exchange_acq): Likewise.
16588         (__arch_exchange_and_add_body): Likewise.
16589         (__arch_add_body): Likewise.
16590         (atomic_add_negative): Likewise.
16591         (atomic_add_zero): Likewise.
16592
16593 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
16594
16595         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
16596         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
16597         (add_fdes): Likewise.
16598         (linear_search_fdes): Likewise.
16599         (binary_search_unencoded_fdes): Likewise.
16600
16601 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
16602
16603         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
16604
16605 2012-11-24  Adam Conrad  <adconrad@0c3.net>
16606
16607         * configure.in: Autodetect C++ header directories.
16608         * configure: Regenerated.
16609
16610 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
16611
16612         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
16613
16614 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
16615
16616         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16617
16618 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
16619
16620         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
16621         LDBL_MANT_DIG == 106]: Disable some tests.
16622         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
16623         Likewise.
16624         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
16625         Likewise.
16626
16627         [BZ #14871]
16628         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
16629         input for small inputs.  Return +/- pi/2 for large inputs.
16630         * math/libm-test.inc (atan_test): Add more tests.
16631
16632         * sysdeps/generic/unwind-dw2-fde-glibc.c
16633         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
16634         __attribute__ ((unused)).
16635
16636         [BZ #14645]
16637         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
16638         x * y if x and y are nonzero and z is zero.
16639
16640         [BZ #14811]
16641         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
16642         nonzero exponents with absolute value below 0x1p-117 to +/-
16643         0x1p-117.
16644
16645         [BZ #14869]
16646         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
16647         up arguments below 2**-450, not just those below 2**-500.
16648         * math/libm-test.inc (hypot_test): Add another test.
16649
16650         [BZ #14868]
16651         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
16652         Return a+b for ratio over 2**120, not 2**60.
16653         * math/libm-test.inc (hypot_test): Add another test.
16654
16655         * math/libm-test.inc (clog_test): Use
16656         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
16657         (clog10_test): Likewise.
16658
16659         [BZ #6778]
16660         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
16661
16662 2012-11-22  Andreas Schwab  <schwab@suse.de>
16663
16664         * sysdeps/i386/fpu/libm-test-ulps: Update.
16665
16666 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
16667
16668         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
16669         printf output with newline.
16670
16671 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
16672
16673         [BZ #14865]
16674         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
16675         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
16676         -z nodlopen, -z initfirst and -z execstack support.
16677         * configure: Regenerated.
16678
16679         * elf/elf.h (DF_1_NODIRECT): New macro.
16680         (DF_1_IGNMULDEF): Likewise.
16681         (DF_1_NOKSYMS): Likewise.
16682         (DF_1_NOHDR): Likewise.
16683         (DF_1_EDITED): Likewise.
16684         (DF_1_NORELOC): Likewise.
16685         (DF_1_SYMINTPOSE): Likewise.
16686         (DF_1_GLOBAUDIT): Likewise.
16687         (DF_1_SINGLETON): Likewise.
16688         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
16689         DT_1_SUPPORTED_MASK bits.
16690         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
16691
16692 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
16693
16694         * sysdeps/unix/make-syscalls.sh: Document prefixes.
16695
16696 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
16697
16698         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
16699         macro.
16700
16701         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
16702         (sendmmsg): Move declarations...
16703         * socket/sys/socket.h: ... here.
16704         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
16705         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
16706         include it from...
16707         * socket/recvmmsg.c: ... this new file.
16708         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
16709         (sendmmsg): Rename to __sendmmsg, create weak alias and make
16710         definition of __sendmmsg hidden.
16711         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
16712         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
16713         Move ENOSYS stub into and include it from...
16714         * socket/sendmmsg.c: ... this new file.
16715         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
16716         (sysdep_routines): Move recvmmsg and sendmmsg...
16717         * socket/Makefile (routines): ... here.
16718         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
16719         (GLIBC_PRIVATE): Add __sendmmsg.
16720         * include/sys/socket.h (__sendmmsg): Add declarations.
16721         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
16722         sendmmsg.
16723
16724 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
16725
16726         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
16727         variable I1 with __attribute__ ((unused)).
16728         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
16729
16730 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
16731
16732         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
16733         DUMMY variables with __attribute__ ((unused)).
16734
16735         * bits/byteswap.h: Include <bits/types.h>.
16736         (__bswap_64): Use __uint64_t instead of unsigned long long int.
16737
16738 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
16739
16740         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
16741         string_t.  Do not manually set errno.
16742         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
16743         length with __strnlen.  Make sure to both set errno and return it on
16744         failure.
16745
16746 2012-11-19  David S. Miller  <davem@davemloft.net>
16747
16748         With help from Joseph Myers.
16749         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
16750         very large arguments properly.
16751         * math/libm-test.inc (atan_test): New tests.
16752         (atan2_test): New tests.
16753         * sysdeps/sparc/fpu/libm-test-ulps: Update.
16754         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16755
16756 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
16757
16758         [BZ #14856]
16759         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
16760         Define to 3.
16761
16762         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
16763         [POSIX] (EADDRNOTAVAIL): Likewise.
16764         [POSIX] (EAFNOSUPPORT): Likewise.
16765         [POSIX] (EALREADY): Likewise.
16766         [POSIX] (ECONNABORTED): Likewise.
16767         [POSIX] (ECONNREFUSED): Likewise.
16768         [POSIX] (ECONNRESET): Likewise.
16769         [POSIX] (EDESTADDRREQ): Likewise.
16770         [POSIX] (EDQUOT): Likewise.
16771         [POSIX] (EHOSTUNREACH): Likewise.
16772         [POSIX] (EIDRM): Likewise.
16773         [POSIX] (EISCONN): Likewise.
16774         [POSIX] (ELOOP): Likewise.
16775         [POSIX] (EMULTIHOP): Likewise.
16776         [POSIX] (ENETDOWN): Likewise.
16777         [POSIX] (ENETUNREACH): Likewise.
16778         [POSIX] (ENOBUFS): Likewise.
16779         [POSIX] (ENODATA): Likewise.
16780         [POSIX] (ENOLINK): Likewise.
16781         [POSIX] (ENOMSG): Likewise.
16782         [POSIX] (ENOPROTOOPT): Likewise.
16783         [POSIX] (ENOSR): Likewise.
16784         [POSIX] (ENOSTR): Likewise.
16785         [POSIX] (ENOTCONN): Likewise.
16786         [POSIX] (ENOTSOCK): Likewise.
16787         [POSIX] (EOPNOTSUPP): Likewise.
16788         [POSIX] (EOVERFLOW): Likewise.
16789         [POSIX] (EPROTO): Likewise.
16790         [POSIX] (EPROTONOSUPPORT): Likewise.
16791         [POSIX] (EPROTOTYPE): Likewise.
16792         [POSIX] (ESTALE): Likewise.
16793         [POSIX] (ETIME): Likewise.
16794         [POSIX] (ETXTBSY): Likewise.
16795         [POSIX] (EWOULDBLOCK): Likewise.
16796         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
16797         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
16798         [POSIX] (SEEK_CUR): Likewise.
16799         [POSIX] (SEEK_END): Likewise.
16800         [POSIX || UNIX98] (mode_t): Do not require.
16801         [POSIX] (off_t): Likewise.
16802         [POSIX] (pid_t): Likewise.
16803         [POSIX] (sys/stat.h): Do not allow header.
16804         [POSIX] (unistd.h): Likewise.
16805         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
16806         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
16807         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
16808         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
16809         require.
16810         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
16811         sigevent): Specify elements.
16812         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
16813         entry.
16814         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
16815         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
16816
16817         * conform/data/cpio.h-data [POSIX]: Disable whole file.
16818         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
16819         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
16820         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
16821         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
16822         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
16823         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
16824         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
16825         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
16826         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
16827         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
16828         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
16829         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
16830         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
16831         Likewise.
16832         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
16833         Likewise.
16834         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
16835         Likewise.
16836         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
16837         Likewise.
16838         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
16839         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
16840         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
16841         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
16842         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
16843         Specify lower bound on value.
16844         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
16845         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
16846         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
16847         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
16848         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
16849         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
16850         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
16851         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
16852         value.
16853         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
16854         as optional.
16855         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
16856         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
16857         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
16858         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
16859         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
16860         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
16861         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
16862         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
16863         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
16864         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
16865         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
16866         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
16867         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
16868         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
16869         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
16870         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
16871         entry.
16872         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
16873         optional.
16874         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
16875         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
16876         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
16877         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
16878         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
16879         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
16880         Likewise.
16881         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
16882         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
16883         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
16884         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
16885         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
16886         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
16887         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
16888         as optional.
16889         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
16890         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
16891         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
16892         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
16893         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
16894         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
16895         specify as optional.
16896         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
16897         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
16898         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
16899         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
16900         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
16901         [XPG3] (NL_LANGMAX): Likewise.
16902         [POSIX || XPG3] (NL_MSGMAX): Likewise.
16903         [POSIX || XPG3] (NL_NMAX): Likewise.
16904         [POSIX || XPG3] (NL_SETMAX): Likewise.
16905         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
16906         [XPG3] (NZERO): Likewise.
16907         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
16908         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
16909         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
16910         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
16911         (REG_ERANGE): Expect.
16912         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
16913         optional-constant.
16914         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
16915         Use (void) in prototype.
16916         [POSIX] (*_t): Allow.
16917         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
16918         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
16919         (WRDE_BADVAL): Expect.
16920
16921         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
16922         expect.
16923         [XPG3 || XPG4] (O_RSYNC): Likewise.
16924         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
16925         Likewise.
16926         [XPG3 || XPG4] (pthread_sigmask): Likewise.
16927         [XPG3 || XPG4] (sigqueue): Likewise.
16928         [XPG3 || XPG4] (sigtimedwait): Likewise.
16929         [XPG3 || XPG4] (sigwaitinfo): Likewise.
16930         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
16931         [XPG3 || XPG4] (vsnprintf): Likewise.
16932         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
16933         Likewise.
16934         [XPG3 || XPG4] (blksize_t): Likewise.
16935         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
16936         Likewise.
16937         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
16938         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
16939         [XPG3 || XPG4] (struct itimerspec): Likewise.
16940         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
16941         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
16942         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
16943         [XPG3 || XPG4] (clockid_t): Likewise.
16944         [XPG3 || XPG4] (timer_t): Likewise.
16945         [XPG3 || XPG4] (clock_getres): Likewise.
16946         [XPG3 || XPG4] (clock_gettime): Likewise.
16947         [XPG3 || XPG4] (clock_settime): Likewise.
16948         [XPG3 || XPG4] (nanosleep): Likewise.
16949         [XPG3 || XPG4] (timer_create): Likewise.
16950         [XPG3 || XPG4] (timer_delete): Likewise.
16951         [XPG3 || XPG4] (timer_gettime): Likewise.
16952         [XPG3 || XPG4] (timer_getoverrun): Likewise.
16953         [XPG3 || XPG4] (timer_settime): Likewise.
16954         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
16955         [XPG3 || XPG4] (getlogin_r): Likewise.
16956         [XPG3 || XPG4] (pread): Likewise.
16957         [XPG3 || XPG4] (pthread_atfork): Likewise.
16958         [XPG3 || XPG4] (pwrite): Likewise.
16959
16960         [BZ #14835]
16961         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
16962         <bits/siginfo.h>.
16963
16964 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
16965
16966         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
16967         finalizing MALLSTREAM.
16968
16969         * sysdeps/mach/hurd/syncfs.c: New file.
16970
16971 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
16972
16973         [BZ #14719]
16974         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
16975         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
16976         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
16977         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
16978         (_nss_dns_gethostbyname4_r): Likewise.
16979         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
16980         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
16981
16982 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
16983
16984         [BZ #13763]
16985         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
16986
16987 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
16988
16989         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
16990         * elf/cache.c (print_entry): Print ",AArch64" for
16991         FLAG_AARCH64_LIB64
16992
16993         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
16994         * elf/cache.c (print_entry): Print ",hard-float" for
16995         FLAG_ARM_LIBHF.
16996
16997 2012-11-18  David S. Miller  <davem@davemloft.net>
16998
16999         With help from Joseph Myers.
17000         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
17001         cutoff to 2**-13.
17002         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
17003         cutoff to 2**-25.
17004         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
17005         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
17006         small.
17007         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
17008         * math/libm-test.inc (y0_test): New tests.
17009         (y1_test): New tests.
17010         * sysdeps/i386/fpu/libm-test-ulps: Update.
17011         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17012         * sysdeps/sparc/fpu/libm-test-ulps: Update.
17013
17014 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
17015
17016         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
17017         64-bit targets.
17018         * configure: Regenerated.
17019
17020 2012-11-17  David S. Miller  <davem@davemloft.net>
17021
17022         [BZ #14811]
17023         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
17024         nonzero exponents with absolute value below 0x1p-128 to +/-
17025         0x1p-128.
17026
17027 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
17028
17029         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
17030
17031         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
17032
17033         * posix/getconf-speclist.c: New file.
17034         * posix/posix-envs.def: Likewise.
17035         * posix/confstr.c (START_ENV_GROUP): New macro.
17036         (END_ENV_GROUP): Likewise.
17037         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
17038         (KNOWN_PRESENT_ENV_STRING): Likewise.
17039         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
17040         (UNKNOWN_ENVIRONMENT): Likewise.
17041         (confstr): Include posix-envs.def instead of handling
17042         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
17043         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
17044         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
17045         (END_ENV_GROUP): Likewise.
17046         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
17047         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
17048         (UNKNOWN_ENVIRONMENT): Likewise.
17049         (__sysconf): Include posix-envs.def instead of handling associated
17050         cases directly here.
17051         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
17052         preprocessing getconf-speclist.c rather than running getconf or
17053         generating empty file.
17054
17055 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
17056
17057         * scripts/check-local-headers.sh: Ignore 'mach' headers.
17058
17059 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
17060
17061         [BZ #14672]
17062         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
17063
17064 2012-11-16  David S. Miller  <davem@davemloft.net>
17065
17066         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
17067         smaller than LDBL_EPSILON/2.0L, just return xm1.
17068
17069 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
17070
17071         * elf/tst-array1.c (init): Set constructor priority to 1000.
17072         (fini): Set destructor priority to 1000.
17073         * elf/tst-array2dep.c: Likewise.
17074
17075 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
17076
17077         [BZ #11741]
17078         * libio/fileops.c (_IO_new_file_write): Correctly return error.
17079         (_IO_new_file_xsputn): Also return EOF if none of the input
17080         data was written when overflow failed.
17081         * libio/iopadn.c (_IO_padn): Likewise.
17082         * libio/iowpadn.c (_IO_wpadn): Likewise.
17083         * stdio-common/tst-put-error.c: Add copyright notice.
17084         (do_test): Add case for printing padded string.
17085         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
17086         _IO_padn returned error.
17087         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
17088         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
17089         return EOF.
17090
17091 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
17092
17093         * libio/libioP.h: Add comment note that the references to C++
17094         bits are now obsolete.
17095
17096 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
17097
17098         * math/libm-test.inc (check_complex): Use asprintf.
17099
17100 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
17101
17102         * debug/pcprofiledump.c (print_version): Update copyright year.
17103         * malloc/memusagestat.c (print_version): Likewise.
17104
17105 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
17106
17107         [BZ #14831]
17108         * elf/Makefile (tests): Add tst-audit8.
17109         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
17110         ($(objpfx)tst-audit8.out): New target.
17111         (tst-audit8-ENV): New variable.
17112         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
17113         audit if l_reloc_result is NULL.
17114         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
17115         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
17116         * elf/tst-audit8.c: New file.
17117
17118 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
17119
17120         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
17121         * misc/Makefile (CFLAGS-select.c): Define.
17122         * posix/Makefile (CFLAGS-pause.c): Define.
17123
17124 2012-11-13  David S. Miller  <davem@davemloft.net>
17125
17126         * crypt/Makefile: Move test targets after toplevel Rules
17127         inclusion.  Grab any necessary sysdep routines when linking.
17128         * crypt/md5.c (md5_process_block): Remove define, we will always
17129         name it __md5_process_block.
17130         (md5_finish_ctx): Update md5_process_block call.
17131         (md5_stream): Likewise.
17132         (md5_process_bytes): Likewise.
17133         (md5_process_block): Rename to __md5_process_block and move to ...
17134         * crypt/md5-block.c: ... here.
17135         * crypt/sha256.c (sha256_process_block): Move to ...
17136         * crypt/sha256-block.c: ... here.
17137         * crypt/sha512.c (sha512_process_block): Move to ...
17138         * crypt/sha512-block.c: ... here.
17139         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
17140         path.
17141         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
17142         * sysdeps/sparc/sparc64/multiarch/Makefile
17143         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
17144         crypt subdir.
17145         (localedef-aux): Add md5 crypto assembler when in locale subdir.
17146         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
17147         multiarch changes.
17148         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
17149         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
17150         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
17151         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
17152         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
17153         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
17154         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
17155         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
17156         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
17157         file.
17158         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
17159         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
17160         file.
17161         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
17162
17163 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
17164
17165         * timezone/tzselect.ksh: Update from tzcode git revision
17166         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
17167         * timezone/zdump.c: Likewise.
17168         * timezone/zic.c: Likewise.
17169         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
17170         in TZVERSION setting, not $(PKGVERSION).
17171         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
17172         REPORT_BUGS_TO settings.
17173
17174         [BZ #14838]
17175         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
17176         macro.
17177
17178 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
17179
17180         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
17181         detection to immediately after _FP_ROUND().
17182         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
17183         bits are 0.
17184
17185 2012-11-11  David S. Miller  <davem@davemloft.net>
17186
17187         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
17188         inttypes.h
17189         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
17190         __close rather than their public counterparts.
17191
17192 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
17193
17194         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
17195         file.
17196         [UNIX98] (sem_timedwait): Do not expect.
17197         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
17198         [XPG4 || UNIX98] (sockatmark): Do not expect.
17199         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
17200         (clock_getcpuclockid): Do not expect.
17201         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
17202         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
17203         Do not expect.
17204         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
17205         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
17206         [UNIX98] (vwscanf): Likewise.
17207         [UNIX98] (vswscanf): Likewise.
17208
17209 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
17210
17211         * timezone/version.h: Remove file.
17212         * timezone/README: Do not refer to version.h.
17213         * timezone/Makefile ($(objpfx)zic.o): New dependency on
17214         $(objpfx)version.h.
17215         ($(objpfx)zdump.o): Likewise.
17216         ($(objpfx)version.h): New target.
17217
17218         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
17219         2012i.
17220         * timezone/README: Don't mention modification to tzselect.ksh.
17221         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
17222         work on unmodified tzselect.ksh.  Substitute version numbers in
17223         tzselect.ksh.
17224
17225         * Makefile (format-me): Remove.
17226         (INSTALL): Adjust indentation.  Use commands directly instead of
17227         using $(format-me).
17228
17229         * aclocal.m4 (ACX_PKGVERSION): New macro.
17230         (ACX_BUGURL): Likewise.
17231         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
17232         (PKGVERSION): New AC_DEFINE_UNQUOTED.
17233         (REPORT_BUGS_TO): Likewise.
17234         * configure: Regenerated.
17235         * config.h.in (PKGVERSION): New macro.
17236         (REPORT_BUGS_TO): Likewise.
17237         * config.make.in (PKGVERSION): New variable.
17238         (PKGVERSION_TEXI): Likewise.
17239         (REPORT_BUGS_TO): Likewise.
17240         (REPORT_BUGS_TEXI): Likewise.
17241         * Makefile (format-me): Use -I$(common-objpfx)manual.
17242         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
17243         ($(common-objpfx)manual/%): New target.
17244         (manual/%): Remove target.
17245         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
17246         (print_version): Use PKGVERSION.
17247         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
17248         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
17249         and REPORT_BUGS_TO.
17250         ($(objpfx)xtrace): Likewise.
17251         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
17252         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
17253         (print_version): Use PKGVERSION.
17254         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
17255         (do_version): Use PKGVERSION.
17256         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
17257         REPORT_BUGS_TO.
17258         (common-ldd-rewrite): Likewise.
17259         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
17260         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
17261         (print_version): Use PKGVERSION.
17262         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
17263         * elf/pldd.c (argp_program_bug_address): Remove variable.
17264         (more_help): New function.
17265         (argp): Use more_help.
17266         (print_version): Use PKGVERSION.
17267         * elf/sln.c (main): Use PKGVERSION.
17268         (usage): Use REPORT_BUGS_TO.
17269         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
17270         (top level): Use PKGVERSION.
17271         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
17272         (print_version): Use PKGVERSION.
17273         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
17274         (print_version): Use PKGVERSION.
17275         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
17276         (print_version): Use PKGVERSION.
17277         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
17278         (print_version): Use PKGVERSION.
17279         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
17280         (print_version): Use PKGVERSION.
17281         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
17282         (print_version): Use PKGVERSION.
17283         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
17284         and BUGURL.
17285         ($(objpfx)memusage): Likewise.
17286         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
17287         (do_version): Use PKGVERSION.
17288         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
17289         (print_version): Use PKGVERSION.
17290         * malloc/mtrace.pl ($PACKAGE): Remove variable.
17291         ($PKGVERSION): New variable.
17292         ($REPORT_BUGS_TO): Likewise.
17293         (usage): Use $REPORT_BUGS_TO.
17294         (top level): Use $PKGVERSION.
17295         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
17296         ($(objpfx)pkgvers.texi): New rule.
17297         ($(objpfx)stamp-pkgvers): Likewise.
17298         * manual/install.texi: Include pkgvers.texi.
17299         (--with-pkgversion): Document new configure option.
17300         (--with-bugurl): Likewise.
17301         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
17302         than necessarily for this particular distribution.  Use
17303         REPORT_BUGS_TO for where to report bugs.
17304         * INSTALL: Regenerated.
17305         * manual/libc.texinfo: Include pkgvers.texi.
17306         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
17307         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
17308         (print_version): Use PKGVERSION.
17309         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
17310         (print_version): Use PKGVERSION.
17311         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
17312         (print_version): Use PKGVERSION.
17313         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
17314         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
17315         macro.
17316         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
17317         (print_version): Use PKGVERSION.
17318         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
17319         (print_version): Use PKGVERSION.
17320         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
17321         and PKGVERSION.
17322
17323         * timezone/checktab.awk: Update from tzcode 2012i.
17324         * timezone/ialloc.c: Likewise.
17325         * timezone/private.h: Likewise.
17326         * timezone/scheck.c: Likewise.
17327         * timezone/tzfile.h: Likewise.
17328         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
17329         (TZVERSION): Hardcode tzcode version number.
17330         * timezone/zdump.c: Update from tzcode 2012i.
17331         * timezone/zic.c: Likewise.
17332         * timezone/version.h: New file.
17333         * timezone/README: Describe version.h.  Update upstream location.
17334
17335         [BZ #14824]
17336         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
17337         (mktemp): Enable declaration.
17338         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
17339         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
17340         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
17341         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
17342         Likewise.
17343         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
17344         Likewise.
17345         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
17346         Likewise.
17347         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
17348         Likewise.
17349         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
17350         Likewise.
17351         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
17352         Likewise.
17353
17354         [BZ #14821]
17355         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
17356         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
17357         for copies of such integer values.
17358         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
17359         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
17360
17361 2012-11-09  Andreas Jaeger  <aj@suse.de>
17362
17363         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
17364         definitions and declarations that are provided by
17365         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
17366
17367 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
17368
17369         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
17370         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
17371         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
17372         definition.
17373
17374 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
17375
17376         * elf/elf.h: Update comment before AArch64 relocations.
17377
17378 2012-11-07  David S. Miller  <davem@davemloft.net>
17379
17380         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
17381         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
17382         (__start_context): Declare.
17383         (__makecontext_ret): Delete.
17384         (__makecontext): Hook up __start_context instead of
17385         __makecontext_ret.
17386         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
17387         (sysdep_routines): Add __start_context when in stdlib.
17388
17389 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
17390
17391         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
17392         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
17393         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
17394         hardcoded "nm".
17395         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
17396         (READELF): New variable.  Use it instead of hardcoded "readelf".
17397
17398 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
17399
17400         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
17401         * sysdeps/x86/Makefile: Here.
17402         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
17403         * sysdeps/x86/tst-xmmymm.sh: This.
17404
17405 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
17406
17407         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
17408         expectations.
17409         [UNIX98] (pthread_barrier_t): Do not expect.
17410         [UNIX98] (pthread_barrierattr_t): Likewise.
17411         [UNIX98] (pthread_spinlock_t): Likewise.
17412         [UNIX98] (pthread_barrier_destroy): Likewise.
17413         [UNIX98] (pthread_barrier_init): Likewise.
17414         [UNIX98] (pthread_barrier_wait): Likewise.
17415         [UNIX98] (pthread_barrierattr_destroy): Likewise.
17416         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
17417         [UNIX98] (pthread_barrierattr_init): Likewise.
17418         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
17419         [UNIX98] (pthread_getcpuclockid): Likewise.
17420         [UNIX98] (pthread_mutex_timedlock): Likewise.
17421         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
17422         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
17423         [UNIX98] (pthread_sigmask): Likewise.
17424         [UNIX98] (pthread_spin_destroy): Likewise.
17425         [UNIX98] (pthread_spin_init): Likewise.
17426         [UNIX98] (pthread_spin_lock): Likewise.
17427         [UNIX98] (pthread_spin_trylock): Likewise.
17428         [UNIX98] (pthread_spin_unlock): Likewise.
17429         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
17430         Do not expect.
17431         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
17432         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
17433         [XPG3 || XPG4] (pthread_cond_t): Likewise.
17434         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
17435         [XPG3 || XPG4] (pthread_key_t): Likewise.
17436         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
17437         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
17438         [XPG3 || XPG4] (pthread_once_t): Likewise.
17439         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
17440         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
17441         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
17442         [XPG3 || XPG4] (pthread_t): Likewise.
17443
17444         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
17445         not expect.
17446         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
17447
17448         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
17449         Change function return type to int.
17450
17451         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
17452         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
17453         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
17454         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
17455         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
17456         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
17457         [!POSIX] (posix_madvise): Likewise.
17458         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
17459         && !UNIX98].
17460         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
17461         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
17462         (mode_t): Likewise.
17463         (posix_mem_offset): Likewise.
17464         (posix_typed_mem_get_info): Likewise.
17465         (posix_typed_mem_open): Likewise.
17466
17467         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
17468         Change condition to [XOPEN2K8].
17469
17470         * conform/conformtest.pl: Preprocess allow-header data with -x c
17471         instead of from stdin.
17472         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
17473         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
17474         [C99-based standards] (cerfc): Likewise.
17475         [C99-based standards] (cexp2): Likewise.
17476         [C99-based standards] (cexpm1): Likewise.
17477         [C99-based standards] (clog10): Likewise.
17478         [C99-based standards] (clog1p): Likewise.
17479         [C99-based standards] (clog2): Likewise.
17480         [C99-based standards] (clgamma): Likewise.
17481         [C99-based standards] (ctgamma): Likewise.
17482         [C99-based standards] (cerff): Likewise.
17483         [C99-based standards] (cerfcf): Likewise.
17484         [C99-based standards] (cexp2f): Likewise.
17485         [C99-based standards] (cexpm1f): Likewise.
17486         [C99-based standards] (clog10f): Likewise.
17487         [C99-based standards] (clog1pf): Likewise.
17488         [C99-based standards] (clog2f): Likewise.
17489         [C99-based standards] (clgammaf): Likewise.
17490         [C99-based standards] (ctgammaf): Likewise.
17491         [C99-based standards] (cerfl): Likewise.
17492         [C99-based standards] (cerfcl): Likewise.
17493         [C99-based standards] (cexp2l): Likewise.
17494         [C99-based standards] (cexpm1l): Likewise.
17495         [C99-based standards] (clog10l): Likewise.
17496         [C99-based standards] (clog1pl): Likewise.
17497         [C99-based standards] (clog2l): Likewise.
17498         [C99-based standards] (clgammal): Likewise.
17499         [C99-based standards] (ctgammal): Likewise.
17500         * conform/data/inttypes.h-data [C99-based standards]: Include
17501         stdint.h-data.  Remove all expectations for stdint.h contents.
17502         [C99-based standards] (PRI*): Do not allow.
17503         [C99-based standards] (SCN*): Likewise.
17504         [C99-based standards] (*_t): Likewise.
17505         [C99-based-standards] (PRId8): Expect macro.
17506         [C99-based-standards] (PRIi8): Likewise.
17507         [C99-based-standards] (PRIo8): Likewise.
17508         [C99-based-standards] (PRIu8): Likewise.
17509         [C99-based-standards] (PRIx8): Likewise.
17510         [C99-based-standards] (PRIX8): Likewise.
17511         [C99-based-standards] (SCNd8): Likewise.
17512         [C99-based-standards] (SCNi8): Likewise.
17513         [C99-based-standards] (SCNo8): Likewise.
17514         [C99-based-standards] (SCNu8): Likewise.
17515         [C99-based-standards] (SCNx8): Likewise.
17516         [C99-based-standards] (PRIdLEAST8): Likewise.
17517         [C99-based-standards] (PRIiLEAST8): Likewise.
17518         [C99-based-standards] (PRIoLEAST8): Likewise.
17519         [C99-based-standards] (PRIuLEAST8): Likewise.
17520         [C99-based-standards] (PRIxLEAST8): Likewise.
17521         [C99-based-standards] (PRIXLEAST8): Likewise.
17522         [C99-based-standards] (SCNdLEAST8): Likewise.
17523         [C99-based-standards] (SCNiLEAST8): Likewise.
17524         [C99-based-standards] (SCNoLEAST8): Likewise.
17525         [C99-based-standards] (SCNuLEAST8): Likewise.
17526         [C99-based-standards] (SCNxLEAST8): Likewise.
17527         [C99-based-standards] (PRIdFAST8): Likewise.
17528         [C99-based-standards] (PRIiFAST8): Likewise.
17529         [C99-based-standards] (PRIoFAST8): Likewise.
17530         [C99-based-standards] (PRIuFAST8): Likewise.
17531         [C99-based-standards] (PRIxFAST8): Likewise.
17532         [C99-based-standards] (PRIXFAST8): Likewise.
17533         [C99-based-standards] (SCNdFAST8): Likewise.
17534         [C99-based-standards] (SCNiFAST8): Likewise.
17535         [C99-based-standards] (SCNoFAST8): Likewise.
17536         [C99-based-standards] (SCNuFAST8): Likewise.
17537         [C99-based-standards] (SCNxFAST8): Likewise.
17538         [C99-based-standards] (PRId16): Likewise.
17539         [C99-based-standards] (PRIi16): Likewise.
17540         [C99-based-standards] (PRIo16): Likewise.
17541         [C99-based-standards] (PRIu16): Likewise.
17542         [C99-based-standards] (PRIx16): Likewise.
17543         [C99-based-standards] (PRIX16): Likewise.
17544         [C99-based-standards] (SCNd16): Likewise.
17545         [C99-based-standards] (SCNi16): Likewise.
17546         [C99-based-standards] (SCNo16): Likewise.
17547         [C99-based-standards] (SCNu16): Likewise.
17548         [C99-based-standards] (SCNx16): Likewise.
17549         [C99-based-standards] (PRIdLEAST16): Likewise.
17550         [C99-based-standards] (PRIiLEAST16): Likewise.
17551         [C99-based-standards] (PRIoLEAST16): Likewise.
17552         [C99-based-standards] (PRIuLEAST16): Likewise.
17553         [C99-based-standards] (PRIxLEAST16): Likewise.
17554         [C99-based-standards] (PRIXLEAST16): Likewise.
17555         [C99-based-standards] (SCNdLEAST16): Likewise.
17556         [C99-based-standards] (SCNiLEAST16): Likewise.
17557         [C99-based-standards] (SCNoLEAST16): Likewise.
17558         [C99-based-standards] (SCNuLEAST16): Likewise.
17559         [C99-based-standards] (SCNxLEAST16): Likewise.
17560         [C99-based-standards] (PRIdFAST16): Likewise.
17561         [C99-based-standards] (PRIiFAST16): Likewise.
17562         [C99-based-standards] (PRIoFAST16): Likewise.
17563         [C99-based-standards] (PRIuFAST16): Likewise.
17564         [C99-based-standards] (PRIxFAST16): Likewise.
17565         [C99-based-standards] (PRIXFAST16): Likewise.
17566         [C99-based-standards] (SCNdFAST16): Likewise.
17567         [C99-based-standards] (SCNiFAST16): Likewise.
17568         [C99-based-standards] (SCNoFAST16): Likewise.
17569         [C99-based-standards] (SCNuFAST16): Likewise.
17570         [C99-based-standards] (SCNxFAST16): Likewise.
17571         [C99-based-standards] (PRId32): Likewise.
17572         [C99-based-standards] (PRIi32): Likewise.
17573         [C99-based-standards] (PRIo32): Likewise.
17574         [C99-based-standards] (PRIu32): Likewise.
17575         [C99-based-standards] (PRIx32): Likewise.
17576         [C99-based-standards] (PRIX32): Likewise.
17577         [C99-based-standards] (SCNd32): Likewise.
17578         [C99-based-standards] (SCNi32): Likewise.
17579         [C99-based-standards] (SCNo32): Likewise.
17580         [C99-based-standards] (SCNu32): Likewise.
17581         [C99-based-standards] (SCNx32): Likewise.
17582         [C99-based-standards] (PRIdLEAST32): Likewise.
17583         [C99-based-standards] (PRIiLEAST32): Likewise.
17584         [C99-based-standards] (PRIoLEAST32): Likewise.
17585         [C99-based-standards] (PRIuLEAST32): Likewise.
17586         [C99-based-standards] (PRIxLEAST32): Likewise.
17587         [C99-based-standards] (PRIXLEAST32): Likewise.
17588         [C99-based-standards] (SCNdLEAST32): Likewise.
17589         [C99-based-standards] (SCNiLEAST32): Likewise.
17590         [C99-based-standards] (SCNoLEAST32): Likewise.
17591         [C99-based-standards] (SCNuLEAST32): Likewise.
17592         [C99-based-standards] (SCNxLEAST32): Likewise.
17593         [C99-based-standards] (PRIdFAST32): Likewise.
17594         [C99-based-standards] (PRIiFAST32): Likewise.
17595         [C99-based-standards] (PRIoFAST32): Likewise.
17596         [C99-based-standards] (PRIuFAST32): Likewise.
17597         [C99-based-standards] (PRIxFAST32): Likewise.
17598         [C99-based-standards] (PRIXFAST32): Likewise.
17599         [C99-based-standards] (SCNdFAST32): Likewise.
17600         [C99-based-standards] (SCNiFAST32): Likewise.
17601         [C99-based-standards] (SCNoFAST32): Likewise.
17602         [C99-based-standards] (SCNuFAST32): Likewise.
17603         [C99-based-standards] (SCNxFAST32): Likewise.
17604         [C99-based-standards] (PRId64): Likewise.
17605         [C99-based-standards] (PRIi64): Likewise.
17606         [C99-based-standards] (PRIo64): Likewise.
17607         [C99-based-standards] (PRIu64): Likewise.
17608         [C99-based-standards] (PRIx64): Likewise.
17609         [C99-based-standards] (PRIX64): Likewise.
17610         [C99-based-standards] (SCNd64): Likewise.
17611         [C99-based-standards] (SCNi64): Likewise.
17612         [C99-based-standards] (SCNo64): Likewise.
17613         [C99-based-standards] (SCNu64): Likewise.
17614         [C99-based-standards] (SCNx64): Likewise.
17615         [C99-based-standards] (PRIdLEAST64): Likewise.
17616         [C99-based-standards] (PRIiLEAST64): Likewise.
17617         [C99-based-standards] (PRIoLEAST64): Likewise.
17618         [C99-based-standards] (PRIuLEAST64): Likewise.
17619         [C99-based-standards] (PRIxLEAST64): Likewise.
17620         [C99-based-standards] (PRIXLEAST64): Likewise.
17621         [C99-based-standards] (SCNdLEAST64): Likewise.
17622         [C99-based-standards] (SCNiLEAST64): Likewise.
17623         [C99-based-standards] (SCNoLEAST64): Likewise.
17624         [C99-based-standards] (SCNuLEAST64): Likewise.
17625         [C99-based-standards] (SCNxLEAST64): Likewise.
17626         [C99-based-standards] (PRIdFAST64): Likewise.
17627         [C99-based-standards] (PRIiFAST64): Likewise.
17628         [C99-based-standards] (PRIoFAST64): Likewise.
17629         [C99-based-standards] (PRIuFAST64): Likewise.
17630         [C99-based-standards] (PRIxFAST64): Likewise.
17631         [C99-based-standards] (PRIXFAST64): Likewise.
17632         [C99-based-standards] (SCNdFAST64): Likewise.
17633         [C99-based-standards] (SCNiFAST64): Likewise.
17634         [C99-based-standards] (SCNoFAST64): Likewise.
17635         [C99-based-standards] (SCNuFAST64): Likewise.
17636         [C99-based-standards] (SCNxFAST64): Likewise.
17637         [C99-based-standards] (PRIdMAX): Likewise.
17638         [C99-based-standards] (PRIiMAX): Likewise.
17639         [C99-based-standards] (PRIoMAX): Likewise.
17640         [C99-based-standards] (PRIuMAX): Likewise.
17641         [C99-based-standards] (PRIxMAX): Likewise.
17642         [C99-based-standards] (PRIXMAX): Likewise.
17643         [C99-based-standards] (SCNdMAX): Likewise.
17644         [C99-based-standards] (SCNiMAX): Likewise.
17645         [C99-based-standards] (SCNoMAX): Likewise.
17646         [C99-based-standards] (SCNuMAX): Likewise.
17647         [C99-based-standards] (SCNxMAX): Likewise.
17648         [C99-based-standards] (PRIdPTR): Likewise.
17649         [C99-based-standards] (PRIiPTR): Likewise.
17650         [C99-based-standards] (PRIoPTR): Likewise.
17651         [C99-based-standards] (PRIuPTR): Likewise.
17652         [C99-based-standards] (PRIxPTR): Likewise.
17653         [C99-based-standards] (PRIXPTR): Likewise.
17654         [C99-based-standards] (SCNdPTR): Likewise.
17655         [C99-based-standards] (SCNiPTR): Likewise.
17656         [C99-based-standards] (SCNoPTR): Likewise.
17657         [C99-based-standards] (SCNuPTR): Likewise.
17658         [C99-based-standards] (SCNxPTR): Likewise.
17659         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
17660         allow.
17661         * conform/data/stdint.h-data: Update comments to clarify
17662         requirements.
17663         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
17664         type.
17665         [C99-based standards] (INT8_MAX): Likewise.
17666         [C99-based standards] (INT16_MIN): Likewise.
17667         [C99-based standards] (INT16_MAX): Likewise.
17668         [C99-based standards] (INT32_MIN): Likewise.
17669         [C99-based standards] (INT32_MAX): Likewise.
17670         [C99-based standards] (INT64_MIN): Likewise.
17671         [C99-based standards] (INT64_MAX): Likewise.
17672         [C99-based standards] (UINT8_MAX): Likewise.
17673         [C99-based standards] (UINT16_MAX): Likewise.
17674         [C99-based standards] (UINT32_MAX): Likewise.
17675         [C99-based standards] (UINT64_MAX): Likewise.
17676         [C99-based standards] (INT_LEAST8_MIN): Likewise.
17677         [C99-based standards] (INT_LEAST8_MAX): Likewise.
17678         [C99-based standards] (INT_LEAST16_MIN): Likewise.
17679         [C99-based standards] (INT_LEAST16_MAX): Likewise.
17680         [C99-based standards] (INT_LEAST32_MIN): Likewise.
17681         [C99-based standards] (INT_LEAST32_MAX): Likewise.
17682         [C99-based standards] (INT_LEAST64_MIN): Likewise.
17683         [C99-based standards] (INT_LEAST64_MAX): Likewise.
17684         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
17685         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
17686         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
17687         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
17688         [C99-based standards] (INT_FAST8_MIN): Likewise.
17689         [C99-based standards] (INT_FAST8_MAX): Likewise.
17690         [C99-based standards] (INT_FAST16_MIN): Likewise.
17691         [C99-based standards] (INT_FAST16_MAX): Likewise.
17692         [C99-based standards] (INT_FAST32_MIN): Likewise.
17693         [C99-based standards] (INT_FAST32_MAX): Likewise.
17694         [C99-based standards] (INT_FAST64_MIN): Likewise.
17695         [C99-based standards] (INT_FAST64_MAX): Likewise.
17696         [C99-based standards] (UINT_FAST8_MAX): Likewise.
17697         [C99-based standards] (UINT_FAST16_MAX): Likewise.
17698         [C99-based standards] (UINT_FAST32_MAX): Likewise.
17699         [C99-based standards] (UINT_FAST64_MAX): Likewise.
17700         [C99-based standards] (INTPTR_MIN): Likewise.
17701         [C99-based standards] (INTPTR_MAX): Likewise.
17702         [C99-based standards] (UINTPTR_MAX): Likewise.
17703         [C99-based standards] (INTMAX_MIN): Likewise.
17704         [C99-based standards] (INTMAX_MAX): Likewise.
17705         [C99-based standards] (UINTMAX_MAX): Likewise.
17706         [C99-based standards] (PTRDIFF_MIN): Likewise.
17707         [C99-based standards] (PTRDIFF_MAX): Likewise.
17708         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
17709         [C99-based standards] (SIZE_MAX): Likewise.
17710         [C99-based standards] (WCHAR_MAX): Likewise.
17711         [C99-based standards] (WINT_MAX): Likewise.
17712         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
17713         constraint on value.
17714         [C99-based standards] (WCHAR_MIN): Likewise.
17715         [C99-based standards] (WINT_MIN): Likewise.
17716         [C99-based standards] (*_t): Allow.
17717         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
17718         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
17719         Include math.h-data and complex.h-data.  Remove all expectations
17720         of math.h and complex.h contents.
17721         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
17722         at end of line.
17723         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
17724         (struct tm): Expect tag.
17725         [C99-based-standards] (wcstof): Expect function.
17726         [C99-based-standards] (wcstold): Likewise.
17727         [C99-based-standards] (wcstoll): Likewise.
17728         [C99-based-standards] (wcstoull): Likewise.
17729         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
17730         macro-int-constant.  Specify type.
17731         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
17732         constraint on value.
17733         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
17734         Specify type.
17735         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
17736         Specify value.
17737         [ISO C standards]: Do not allow headers.
17738         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
17739         wcs[abcdefghijklmnopqrstuvwxyz]*.
17740         [ISO C standards] (*_t): Do not allow.
17741         * conform/data/wctype.h-data [C99-based standards] (iswblank):
17742         Expect function.
17743         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
17744         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
17745         Specify type.
17746         [ISO C standards]: Do not allow headers.
17747         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
17748         is[abcdefghijklmnopqrstuvwxyz]*.
17749         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
17750         to[abcdefghijklmnopqrstuvwxyz]*.
17751         [ISO C standards] (*_t): Do not allow.
17752         * conform/data/stdalign.h-data: New file.
17753         * conform/data/stdbool.h-data: Likewise.
17754         * conform/data/stdnoreturn.h-data: Likewise.
17755
17756 2012-11-07  Roland McGrath  <roland@hack.frob.com>
17757
17758         [BZ #14815]
17759         * manual/filesys.texi (Directory Entries): Typo fix.
17760         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
17761
17762 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
17763
17764         * elf/elf.h (EM_AARCH64): New macro.
17765         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
17766         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
17767         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
17768         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
17769         (R_AARCH64_TLSDESC): Likewise.
17770         (NT_ARM_TLS): Likewise.
17771         (NT_ARM_HW_BREAK): Likewise.
17772         (NT_ARM_HW_WATCH): Likewise.
17773
17774 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
17775
17776         [BZ #14811]
17777         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
17778         (__ieee754_powl): Saturate nonzero exponents with absolute value
17779         below 0x1p-79 to +/- 0x1p-79.
17780         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
17781         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
17782         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
17783         nonzero exponents with absolute value below 0x1p-32 to +/-
17784         0x1p-32.
17785         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
17786         (__ieee754_powl): Saturate nonzero exponents with absolute value
17787         below 0x1p-79 to +/- 0x1p-79.
17788         * math/libm-test.inc (pow_test): Add more tests.
17789
17790 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
17791
17792         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
17793         _dl_s390_cap_flags with kernel. Increase string length.
17794         (_dl_s390_platforms): Add z196 and zEC12.
17795
17796 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
17797
17798         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
17799         Change XOPEN21K to XOPEN2K.
17800
17801 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
17802
17803         * string/memmove.c: Use memcpy when possible.
17804
17805 2012-11-06  Andreas Jaeger  <aj@suse.de>
17806
17807         * po/eo.po: Update from translation team.
17808
17809 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
17810
17811         [BZ #14793]
17812         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
17813         exponent and small x and y exponents, scale x or y up.  Increase
17814         by 2 the exponent used in scaling up.
17815         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
17816         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
17817         * math/libm-test.inc (fma_test): Add more tests.
17818         (fma_test_towardzero): Likewise.
17819         (fma_test_downward): Likewise.
17820         (fma_test_upward): Likewise.
17821
17822 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
17823
17824         [BZ #14805]
17825         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
17826         fenv_t *.
17827
17828         [BZ #14801]
17829         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
17830         namespace for names of struct fields.
17831         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
17832         fenv_t fields.
17833         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
17834         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
17835
17836 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
17837
17838         [BZ #3665]
17839         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
17840
17841 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
17842
17843         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
17844         PTR_DEMANGLE.
17845
17846         [BZ #5246]
17847         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
17848         PTR_DEMANGLE.
17849
17850 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
17851
17852         [BZ #14797]
17853         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
17854         definitely overflow as x * y not x * y + z.
17855         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
17856         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
17857         * math/libm-test.inc (fma_test): Add more tests.
17858         (fma_test_towardzero): Likewise.
17859         (fma_test_downward): Likewise.
17860         (fma_test_upward): Likewise.
17861
17862 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
17863
17864         [BZ #157]
17865
17866         * include/stub-tag.h: Remove file.
17867         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
17868         '#include' of it.
17869         * manual/maint.texi (Porting): Don't reference it.
17870         * Makerules ($(objpfx)stubs): Likewise.
17871         * dirent/closedir.c: Don't include <stub-tag.h>.
17872         * dirent/dirfd.c: Likewise.
17873         * dirent/fdopendir.c: Likewise.
17874         * dirent/getdents.c: Likewise.
17875         * dirent/getdents64.c: Likewise.
17876         * dirent/opendir.c: Likewise.
17877         * dirent/readdir.c: Likewise.
17878         * dirent/readdir64.c: Likewise.
17879         * dirent/readdir64_r.c: Likewise.
17880         * dirent/readdir_r.c: Likewise.
17881         * dirent/rewinddir.c: Likewise.
17882         * dirent/seekdir.c: Likewise.
17883         * dirent/telldir.c: Likewise.
17884         * gmon/profil.c: Likewise.
17885         * grp/setgroups.c: Likewise.
17886         * inet/if_index.c: Likewise.
17887         * io/access.c: Likewise.
17888         * io/chdir.c: Likewise.
17889         * io/chmod.c: Likewise.
17890         * io/chown.c: Likewise.
17891         * io/close.c: Likewise.
17892         * io/dup.c: Likewise.
17893         * io/dup2.c: Likewise.
17894         * io/dup3.c: Likewise.
17895         * io/euidaccess.c: Likewise.
17896         * io/faccessat.c: Likewise.
17897         * io/fchdir.c: Likewise.
17898         * io/fchmod.c: Likewise.
17899         * io/fchmodat.c: Likewise.
17900         * io/fchown.c: Likewise.
17901         * io/fchownat.c: Likewise.
17902         * io/fcntl.c: Likewise.
17903         * io/flock.c: Likewise.
17904         * io/fstatfs.c: Likewise.
17905         * io/fstatfs64.c: Likewise.
17906         * io/fstatvfs.c: Likewise.
17907         * io/fstatvfs64.c: Likewise.
17908         * io/futimens.c: Likewise.
17909         * io/fxstat.c: Likewise.
17910         * io/fxstat64.c: Likewise.
17911         * io/fxstatat.c: Likewise.
17912         * io/fxstatat64.c: Likewise.
17913         * io/getcwd.c: Likewise.
17914         * io/isatty.c: Likewise.
17915         * io/lchmod.c: Likewise.
17916         * io/lchown.c: Likewise.
17917         * io/link.c: Likewise.
17918         * io/linkat.c: Likewise.
17919         * io/lseek.c: Likewise.
17920         * io/lseek64.c: Likewise.
17921         * io/lxstat64.c: Likewise.
17922         * io/mkdir.c: Likewise.
17923         * io/mkdirat.c: Likewise.
17924         * io/mkfifo.c: Likewise.
17925         * io/mkfifoat.c: Likewise.
17926         * io/open.c: Likewise.
17927         * io/open64.c: Likewise.
17928         * io/openat.c: Likewise.
17929         * io/openat64.c: Likewise.
17930         * io/pipe.c: Likewise.
17931         * io/pipe2.c: Likewise.
17932         * io/poll.c: Likewise.
17933         * io/posix_fadvise.c: Likewise.
17934         * io/posix_fadvise64.c: Likewise.
17935         * io/posix_fallocate.c: Likewise.
17936         * io/posix_fallocate64.c: Likewise.
17937         * io/read.c: Likewise.
17938         * io/readlink.c: Likewise.
17939         * io/readlinkat.c: Likewise.
17940         * io/rmdir.c: Likewise.
17941         * io/sendfile.c: Likewise.
17942         * io/sendfile64.c: Likewise.
17943         * io/statfs.c: Likewise.
17944         * io/statfs64.c: Likewise.
17945         * io/statvfs.c: Likewise.
17946         * io/statvfs64.c: Likewise.
17947         * io/symlink.c: Likewise.
17948         * io/symlinkat.c: Likewise.
17949         * io/ttyname.c: Likewise.
17950         * io/ttyname_r.c: Likewise.
17951         * io/umask.c: Likewise.
17952         * io/unlink.c: Likewise.
17953         * io/unlinkat.c: Likewise.
17954         * io/utime.c: Likewise.
17955         * io/utimensat.c: Likewise.
17956         * io/write.c: Likewise.
17957         * io/xmknod.c: Likewise.
17958         * io/xmknodat.c: Likewise.
17959         * io/xstat.c: Likewise.
17960         * io/xstat64.c: Likewise.
17961         * login/getpt.c: Likewise.
17962         * login/grantpt.c: Likewise.
17963         * login/unlockpt.c: Likewise.
17964         * math/e_acoshl.c: Likewise.
17965         * math/e_acosl.c: Likewise.
17966         * math/e_asinl.c: Likewise.
17967         * math/e_atan2l.c: Likewise.
17968         * math/e_atanhl.c: Likewise.
17969         * math/e_coshl.c: Likewise.
17970         * math/e_expl.c: Likewise.
17971         * math/e_fmodl.c: Likewise.
17972         * math/e_gammal_r.c: Likewise.
17973         * math/e_hypotl.c: Likewise.
17974         * math/e_j0l.c: Likewise.
17975         * math/e_j1l.c: Likewise.
17976         * math/e_jnl.c: Likewise.
17977         * math/e_lgammal_r.c: Likewise.
17978         * math/e_log10l.c: Likewise.
17979         * math/e_log2l.c: Likewise.
17980         * math/e_logl.c: Likewise.
17981         * math/e_powl.c: Likewise.
17982         * math/e_rem_pio2l.c: Likewise.
17983         * math/e_sinhl.c: Likewise.
17984         * math/e_sqrtl.c: Likewise.
17985         * math/fclrexcpt.c: Likewise.
17986         * math/fedisblxcpt.c: Likewise.
17987         * math/feenablxcpt.c: Likewise.
17988         * math/fegetenv.c: Likewise.
17989         * math/fegetexcept.c: Likewise.
17990         * math/fegetround.c: Likewise.
17991         * math/feholdexcpt.c: Likewise.
17992         * math/fesetenv.c: Likewise.
17993         * math/fesetround.c: Likewise.
17994         * math/feupdateenv.c: Likewise.
17995         * math/fgetexcptflg.c: Likewise.
17996         * math/fraiseexcpt.c: Likewise.
17997         * math/fsetexcptflg.c: Likewise.
17998         * math/ftestexcept.c: Likewise.
17999         * math/k_cosl.c: Likewise.
18000         * math/k_rem_pio2l.c: Likewise.
18001         * math/k_sinl.c: Likewise.
18002         * math/k_tanl.c: Likewise.
18003         * math/s_asinhl.c: Likewise.
18004         * math/s_atanl.c: Likewise.
18005         * math/s_cbrtl.c: Likewise.
18006         * math/s_erfl.c: Likewise.
18007         * math/s_expm1l.c: Likewise.
18008         * math/s_log1pl.c: Likewise.
18009         * math/s_tanhl.c: Likewise.
18010         * misc/acct.c: Likewise.
18011         * misc/brk.c: Likewise.
18012         * misc/chflags.c: Likewise.
18013         * misc/chroot.c: Likewise.
18014         * misc/fchflags.c: Likewise.
18015         * misc/fgetxattr.c: Likewise.
18016         * misc/flistxattr.c: Likewise.
18017         * misc/fremovexattr.c: Likewise.
18018         * misc/fsetxattr.c: Likewise.
18019         * misc/fsync.c: Likewise.
18020         * misc/ftruncate.c: Likewise.
18021         * misc/futimes.c: Likewise.
18022         * misc/futimesat.c: Likewise.
18023         * misc/getdomain.c: Likewise.
18024         * misc/getdtsz.c: Likewise.
18025         * misc/gethostid.c: Likewise.
18026         * misc/gethostname.c: Likewise.
18027         * misc/getloadavg.c: Likewise.
18028         * misc/getpagesize.c: Likewise.
18029         * misc/getsysstats.c: Likewise.
18030         * misc/getxattr.c: Likewise.
18031         * misc/gtty.c: Likewise.
18032         * misc/ioctl.c: Likewise.
18033         * misc/lgetxattr.c: Likewise.
18034         * misc/listxattr.c: Likewise.
18035         * misc/llistxattr.c: Likewise.
18036         * misc/lremovexattr.c: Likewise.
18037         * misc/lsetxattr.c: Likewise.
18038         * misc/lutimes.c: Likewise.
18039         * misc/madvise.c: Likewise.
18040         * misc/mincore.c: Likewise.
18041         * misc/mlock.c: Likewise.
18042         * misc/mlockall.c: Likewise.
18043         * misc/mmap.c: Likewise.
18044         * misc/mprotect.c: Likewise.
18045         * misc/msync.c: Likewise.
18046         * misc/munlock.c: Likewise.
18047         * misc/munlockall.c: Likewise.
18048         * misc/munmap.c: Likewise.
18049         * misc/preadv.c: Likewise.
18050         * misc/preadv64.c: Likewise.
18051         * misc/ptrace.c: Likewise.
18052         * misc/pwritev.c: Likewise.
18053         * misc/pwritev64.c: Likewise.
18054         * misc/readv.c: Likewise.
18055         * misc/reboot.c: Likewise.
18056         * misc/remap_file_pages.c: Likewise.
18057         * misc/removexattr.c: Likewise.
18058         * misc/revoke.c: Likewise.
18059         * misc/select.c: Likewise.
18060         * misc/setdomain.c: Likewise.
18061         * misc/setegid.c: Likewise.
18062         * misc/seteuid.c: Likewise.
18063         * misc/sethostid.c: Likewise.
18064         * misc/sethostname.c: Likewise.
18065         * misc/setregid.c: Likewise.
18066         * misc/setreuid.c: Likewise.
18067         * misc/setxattr.c: Likewise.
18068         * misc/sstk.c: Likewise.
18069         * misc/stty.c: Likewise.
18070         * misc/swapoff.c: Likewise.
18071         * misc/swapon.c: Likewise.
18072         * misc/sync.c: Likewise.
18073         * misc/syncfs.c: Likewise.
18074         * misc/syscall.c: Likewise.
18075         * misc/truncate.c: Likewise.
18076         * misc/ualarm.c: Likewise.
18077         * misc/usleep.c: Likewise.
18078         * misc/ustat.c: Likewise.
18079         * misc/utimes.c: Likewise.
18080         * misc/vhangup.c: Likewise.
18081         * misc/writev.c: Likewise.
18082         * posix/_exit.c: Likewise.
18083         * posix/alarm.c: Likewise.
18084         * posix/execve.c: Likewise.
18085         * posix/fexecve.c: Likewise.
18086         * posix/fork.c: Likewise.
18087         * posix/fpathconf.c: Likewise.
18088         * posix/getaddrinfo.c: Likewise.
18089         * posix/getegid.c: Likewise.
18090         * posix/geteuid.c: Likewise.
18091         * posix/getgid.c: Likewise.
18092         * posix/getgroups.c: Likewise.
18093         * posix/getlogin.c: Likewise.
18094         * posix/getlogin_r.c: Likewise.
18095         * posix/getpgid.c: Likewise.
18096         * posix/getpid.c: Likewise.
18097         * posix/getppid.c: Likewise.
18098         * posix/getresgid.c: Likewise.
18099         * posix/getresuid.c: Likewise.
18100         * posix/getsid.c: Likewise.
18101         * posix/getuid.c: Likewise.
18102         * posix/glob64.c: Likewise.
18103         * posix/nanosleep.c: Likewise.
18104         * posix/pathconf.c: Likewise.
18105         * posix/pause.c: Likewise.
18106         * posix/posix_madvise.c: Likewise.
18107         * posix/pread.c: Likewise.
18108         * posix/pread64.c: Likewise.
18109         * posix/pwrite.c: Likewise.
18110         * posix/pwrite64.c: Likewise.
18111         * posix/sched_getaffinity.c: Likewise.
18112         * posix/sched_getp.c: Likewise.
18113         * posix/sched_gets.c: Likewise.
18114         * posix/sched_primax.c: Likewise.
18115         * posix/sched_primin.c: Likewise.
18116         * posix/sched_rr_gi.c: Likewise.
18117         * posix/sched_setaffinity.c: Likewise.
18118         * posix/sched_setp.c: Likewise.
18119         * posix/sched_sets.c: Likewise.
18120         * posix/sched_yield.c: Likewise.
18121         * posix/setgid.c: Likewise.
18122         * posix/setlogin.c: Likewise.
18123         * posix/setpgid.c: Likewise.
18124         * posix/setresgid.c: Likewise.
18125         * posix/setresuid.c: Likewise.
18126         * posix/setsid.c: Likewise.
18127         * posix/setuid.c: Likewise.
18128         * posix/sleep.c: Likewise.
18129         * posix/spawni.c: Likewise.
18130         * posix/sysconf.c: Likewise.
18131         * posix/times.c: Likewise.
18132         * posix/wait.c: Likewise.
18133         * posix/wait3.c: Likewise.
18134         * posix/wait4.c: Likewise.
18135         * posix/waitpid.c: Likewise.
18136         * resolv/gai_sigqueue.c: Likewise.
18137         * resource/getpriority.c: Likewise.
18138         * resource/getrlimit.c: Likewise.
18139         * resource/getrusage.c: Likewise.
18140         * resource/nice.c: Likewise.
18141         * resource/setpriority.c: Likewise.
18142         * resource/setrlimit.c: Likewise.
18143         * resource/ulimit.c: Likewise.
18144         * rt/aio_cancel.c: Likewise.
18145         * rt/aio_fsync.c: Likewise.
18146         * rt/aio_read.c: Likewise.
18147         * rt/aio_sigqueue.c: Likewise.
18148         * rt/aio_suspend.c: Likewise.
18149         * rt/aio_write.c: Likewise.
18150         * rt/clock_getres.c: Likewise.
18151         * rt/clock_gettime.c: Likewise.
18152         * rt/clock_nanosleep.c: Likewise.
18153         * rt/clock_settime.c: Likewise.
18154         * rt/lio_listio.c: Likewise.
18155         * rt/mq_close.c: Likewise.
18156         * rt/mq_getattr.c: Likewise.
18157         * rt/mq_notify.c: Likewise.
18158         * rt/mq_open.c: Likewise.
18159         * rt/mq_receive.c: Likewise.
18160         * rt/mq_send.c: Likewise.
18161         * rt/mq_setattr.c: Likewise.
18162         * rt/mq_timedreceive.c: Likewise.
18163         * rt/mq_timedsend.c: Likewise.
18164         * rt/mq_unlink.c: Likewise.
18165         * rt/shm_open.c: Likewise.
18166         * rt/shm_unlink.c: Likewise.
18167         * rt/timer_create.c: Likewise.
18168         * rt/timer_delete.c: Likewise.
18169         * rt/timer_getoverr.c: Likewise.
18170         * rt/timer_gettime.c: Likewise.
18171         * rt/timer_settime.c: Likewise.
18172         * setjmp/__longjmp.c: Likewise.
18173         * setjmp/setjmp.c: Likewise.
18174         * signal/kill.c: Likewise.
18175         * signal/killpg.c: Likewise.
18176         * signal/raise.c: Likewise.
18177         * signal/sigaction.c: Likewise.
18178         * signal/sigaltstack.c: Likewise.
18179         * signal/sigblock.c: Likewise.
18180         * signal/sigignore.c: Likewise.
18181         * signal/sigintr.c: Likewise.
18182         * signal/signal.c: Likewise.
18183         * signal/sigpause.c: Likewise.
18184         * signal/sigpending.c: Likewise.
18185         * signal/sigqueue.c: Likewise.
18186         * signal/sigreturn.c: Likewise.
18187         * signal/sigset.c: Likewise.
18188         * signal/sigsetmask.c: Likewise.
18189         * signal/sigstack.c: Likewise.
18190         * signal/sigsuspend.c: Likewise.
18191         * signal/sigtimedwait.c: Likewise.
18192         * signal/sigvec.c: Likewise.
18193         * signal/sigwait.c: Likewise.
18194         * signal/sigwaitinfo.c: Likewise.
18195         * signal/sysv_signal.c: Likewise.
18196         * socket/accept.c: Likewise.
18197         * socket/accept4.c: Likewise.
18198         * socket/bind.c: Likewise.
18199         * socket/connect.c: Likewise.
18200         * socket/getpeername.c: Likewise.
18201         * socket/getsockname.c: Likewise.
18202         * socket/getsockopt.c: Likewise.
18203         * socket/isfdtype.c: Likewise.
18204         * socket/listen.c: Likewise.
18205         * socket/recv.c: Likewise.
18206         * socket/recvfrom.c: Likewise.
18207         * socket/recvmsg.c: Likewise.
18208         * socket/send.c: Likewise.
18209         * socket/sendmsg.c: Likewise.
18210         * socket/sendto.c: Likewise.
18211         * socket/setsockopt.c: Likewise.
18212         * socket/shutdown.c: Likewise.
18213         * socket/sockatmark.c: Likewise.
18214         * socket/socket.c: Likewise.
18215         * socket/socketpair.c: Likewise.
18216         * stdio-common/ctermid.c: Likewise.
18217         * stdio-common/cuserid.c: Likewise.
18218         * stdio-common/remove.c: Likewise.
18219         * stdio-common/rename.c: Likewise.
18220         * stdio-common/renameat.c: Likewise.
18221         * stdio-common/tempname.c: Likewise.
18222         * stdlib/getcontext.c: Likewise.
18223         * stdlib/makecontext.c: Likewise.
18224         * stdlib/setcontext.c: Likewise.
18225         * stdlib/swapcontext.c: Likewise.
18226         * stdlib/system.c: Likewise.
18227         * streams/fattach.c: Likewise.
18228         * streams/fdetach.c: Likewise.
18229         * streams/getmsg.c: Likewise.
18230         * streams/getpmsg.c: Likewise.
18231         * streams/putmsg.c: Likewise.
18232         * streams/putpmsg.c: Likewise.
18233         * sysdeps/unix/bsd/getpt.c: Likewise.
18234         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
18235         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
18236         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
18237         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
18238         Likewise.
18239         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
18240         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
18241         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
18242         * sysvipc/msgctl.c: Likewise.
18243         * sysvipc/msgget.c: Likewise.
18244         * sysvipc/msgrcv.c: Likewise.
18245         * sysvipc/msgsnd.c: Likewise.
18246         * sysvipc/semctl.c: Likewise.
18247         * sysvipc/semget.c: Likewise.
18248         * sysvipc/semop.c: Likewise.
18249         * sysvipc/semtimedop.c: Likewise.
18250         * sysvipc/shmat.c: Likewise.
18251         * sysvipc/shmctl.c: Likewise.
18252         * sysvipc/shmdt.c: Likewise.
18253         * sysvipc/shmget.c: Likewise.
18254         * termios/tcdrain.c: Likewise.
18255         * termios/tcflow.c: Likewise.
18256         * termios/tcflush.c: Likewise.
18257         * termios/tcgetattr.c: Likewise.
18258         * termios/tcgetpgrp.c: Likewise.
18259         * termios/tcsendbrk.c: Likewise.
18260         * termios/tcsetattr.c: Likewise.
18261         * termios/tcsetpgrp.c: Likewise.
18262         * time/adjtime.c: Likewise.
18263         * time/clock.c: Likewise.
18264         * time/getitimer.c: Likewise.
18265         * time/gettimeofday.c: Likewise.
18266         * time/setitimer.c: Likewise.
18267         * time/settimeofday.c: Likewise.
18268         * time/stime.c: Likewise.
18269         * time/time.c: Likewise.
18270
18271 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
18272
18273         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
18274         /usr/old/bin.
18275
18276         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
18277         instead of spaces.
18278         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
18279
18280 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
18281
18282         [BZ #14796]
18283         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
18284         FE_TONEAREST before applying Dekker multiplication and Knuth
18285         addition.  Clear inexact exceptions and check for exact zero
18286         results afterwards.
18287         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
18288         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
18289         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
18290         * math/libm-test.inc (fma_test): Add more tests.
18291         (fma_test_towardzero): Likewise.
18292         (fma_test_downward): Likewise.
18293         (fma_test_upward): Likewise.
18294         * sysdeps/generic/math_private.h (default_libc_fesetround): New
18295         function.
18296         (libc_fesetround): New macro.
18297         (libc_fesetroundf): Likewise.
18298         (libc_fesetroundl): Likewise.
18299         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
18300         function.
18301         (libc_fesetround_387): Likewise.
18302         (libc_fesetroundf): New macro.
18303         (libc_fesetround): Likewise.
18304         (libc_fesetroundl): Likewise.
18305         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
18306         function.
18307         (libc_fesetroundf): New macro.
18308         (libc_fesetround): Likewise.
18309         (libc_fesetroundl): Likewise.
18310         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
18311         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
18312         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
18313         libm_hidden_ver.
18314         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
18315         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
18316         libm_hidden_def.
18317         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
18318         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
18319         libm_hidden_ver.
18320         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
18321         libm_hidden_def.
18322
18323         [BZ #3439]
18324         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
18325         integer constant usable in #if and use that to give value to enum
18326         constant.
18327         (FE_DIVBYZERO): Likewise.
18328         (FE_UNDERFLOW): Likewise.
18329         (FE_OVERFLOW): Likewise.
18330         (FE_INVALID): Likewise.
18331         (FE_INVALID_SNAN): Likewise.
18332         (FE_INVALID_ISI): Likewise.
18333         (FE_INVALID_IDI): Likewise.
18334         (FE_INVALID_ZDZ): Likewise.
18335         (FE_INVALID_IMZ): Likewise.
18336         (FE_INVALID_COMPARE): Likewise.
18337         (FE_INVALID_SOFTWARE): Likewise.
18338         (FE_INVALID_SQRT): Likewise.
18339         (FE_INVALID_INTEGER_CONVERSION): Likewise.
18340         (FE_TONEAREST): Likewise.
18341         (FE_TOWARDZERO): Likewise.
18342         (FE_UPWARD): Likewise.
18343         (FE_DOWNWARD): Likewise.
18344         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
18345         (FE_DIVBYZERO): Likewise.
18346         (FE_OVERFLOW): Likewise.
18347         (FE_UNDERFLOW): Likewise.
18348         (FE_INEXACT): Likewise.
18349         (FE_TONEAREST): Likewise.
18350         (FE_DOWNWARD): Likewise.
18351         (FE_UPWARD): Likewise.
18352         (FE_TOWARDZERO): Likewise.
18353         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
18354         (FE_UNDERFLOW): Likewise.
18355         (FE_OVERFLOW): Likewise.
18356         (FE_DIVBYZERO): Likewise.
18357         (FE_INVALID): Likewise.
18358         (FE_TONEAREST): Likewise.
18359         (FE_TOWARDZERO): Likewise.
18360         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
18361         (FE_OVERFLOW): Likewise.
18362         (FE_UNDERFLOW): Likewise.
18363         (FE_DIVBYZERO): Likewise.
18364         (FE_INEXACT): Likewise.
18365         (FE_TONEAREST): Likewise.
18366         (FE_TOWARDZERO): Likewise.
18367         (FE_UPWARD): Likewise.
18368         (FE_DOWNWARD): Likewise.
18369         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
18370         (FE_DIVBYZERO): Likewise.
18371         (FE_OVERFLOW): Likewise.
18372         (FE_UNDERFLOW): Likewise.
18373         (FE_INEXACT): Likewise.
18374         (FE_TONEAREST): Likewise.
18375         (FE_DOWNWARD): Likewise.
18376         (FE_UPWARD): Likewise.
18377         (FE_TOWARDZERO): Likewise.
18378
18379 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
18380
18381         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
18382
18383 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
18384
18385         * scripts/cross-test-ssh.sh (command): Use newlines to separate
18386         commands.  Quote $PWD.
18387         (blacklist_exports): Don't use remove_newlines.  Replace "declare
18388         -x" by "export".
18389         (remove_newlines): Remove.
18390
18391 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
18392
18393         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
18394         * stdlib/stdlib.h (atof): Moved to ...
18395         * include/bits/stdlib-float.h: Here.  New file.
18396         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
18397         * stdlib/bits/stdlib-float.h: New file.
18398         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
18399         -mno-sse -mno-mmx.
18400         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
18401         <xmmintrin.h>.
18402
18403 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
18404
18405         * conform/conformtest.pl (@headers): Add fenv.h.
18406         * conform/data/fenv.h-data: New file.
18407         * include/fenv.h [_ISOMAC]: Disable all contents of file except
18408         include of <math/fenv.h>.
18409
18410         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
18411         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
18412         && !UNIX98].  Enables tests for XOPEN2K8.
18413         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
18414         POSIX2008]: Likewise.
18415
18416         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
18417         (struct rusage): Do not expect type or its members.
18418
18419         [BZ #3439]
18420         * math/math.h (FP_NAN): Define macro to integer constant usable in
18421         #if and use that to give value to enum constant.
18422         (FP_INFINITE): Likewise.
18423         (FP_ZERO): Likewise.
18424         (FP_SUBNORMAL): Likewise.
18425         (FP_NORMAL): Likewise.
18426
18427 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
18428
18429         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
18430         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
18431         arguments.
18432
18433 2012-11-02  Roland McGrath  <roland@hack.frob.com>
18434
18435         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
18436         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
18437         autoconf-time if not.
18438         * configure.in: Remove AC_PREREQ.
18439
18440 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
18441
18442         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
18443         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
18444         of the internal implementation.
18445
18446 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
18447
18448         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
18449         except include of <misc/sys/syslog.h>.
18450
18451 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
18452
18453         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
18454         function returns with a NULL context exit with zero.
18455
18456 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
18457
18458         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
18459
18460 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
18461
18462         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
18463         (run_program_cmd): This.
18464         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
18465         (tst_langinfo): New variable.  Use it.
18466
18467 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
18468
18469         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
18470         floating point opcodes.
18471
18472 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
18473
18474         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
18475         variable.
18476
18477         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
18478
18479         * sysdeps/mach/hurd/powerpc: Remove directory.
18480         * sysdeps/mach/powerpc: Likewise.
18481
18482 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
18483
18484         * scripts/check-local-headers.sh: Ignore c++ headers.
18485
18486 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
18487
18488         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
18489         __libc_cleanup_region_start argument.
18490
18491 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
18492
18493         [BZ #14784]
18494         [BZ #14785]
18495         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
18496         x * y using scaling, not as x * y + z.
18497         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
18498         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
18499         * math/libm-test.inc (fma_test): Add more tests.
18500         (fma_test_towardzero): Likewise.
18501         (fma_test_downward): Likewise.
18502         (fma_test_upward): Likewise.
18503
18504 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
18505
18506         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
18507
18508 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
18509
18510         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
18511         New variable.
18512
18513 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
18514
18515         * rt/tst-shm.c (worker): Correct checking for mmap failure.
18516
18517 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
18518
18519         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
18520         Fix sort order.
18521         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
18522         Likewise.
18523
18524 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
18525
18526         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
18527         Fix the order of the list for glibc 2.17.
18528         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
18529         Likewise.
18530
18531 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
18532
18533         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18534
18535 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
18536
18537         [BZ #14610]
18538         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
18539         for low part of x being zero before using __atanl (y).
18540         * math/libm-test.inc (atan2_test): Add another test.
18541
18542         * manual/install.texi (Configuring and compiling): Document
18543         general use of test-wrapper and test-wrapper-env.
18544         * INSTALL: Regenerated.
18545
18546         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
18547         (__fma): Do not extract and scale down low bits on after-rounding
18548         systems when result rounded to normal precision would have normal
18549         exponent.
18550         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
18551         (__fmal): Do not extract and scale down low bits on after-rounding
18552         systems when result rounded to normal precision would have normal
18553         exponent.
18554         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
18555         (__fmal): Do not extract and scale down low bits on after-rounding
18556         systems when result rounded to normal precision would have normal
18557         exponent.
18558         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
18559         macro.
18560         (fma_test): Add more tests.
18561         (fma_test_towardzero): Likewise.
18562         (fma_test_downward): Likewise.
18563         (fma_test_upward): Likewise.
18564
18565 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
18566
18567         * sysdeps/i386/tininess.h: Renamed to ...
18568         * sysdeps/x86/tininess.h: This.
18569         * sysdeps/x86_64/tininess.h: Removed.
18570
18571 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
18572
18573         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
18574         input.  Use $(build-program-cmd).
18575         ($(objpfx)tst-array1-static.out): Likewise.
18576         ($(objpfx)tst-array2.out): Likewise.
18577         ($(objpfx)tst-array3.out): Likewise.
18578         ($(objpfx)tst-array4.out): Likewise.
18579         ($(objpfx)tst-array5.out): Likewise.
18580         ($(objpfx)tst-array5-static.out): Likewise.
18581
18582 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
18583
18584         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
18585         if defined.
18586
18587         * nss/nsswitch.h (nss_interface_function): Provide new
18588         macro for use with NSS functions.
18589         * grp/initgroups.c: Use new macro.
18590         * nss/getXXbyYY.c: Likewise.
18591         * nss/getXXbyYY_r.c: Likewise.
18592         * nss/getXXent.c: Likewise.
18593         * nss/getXXent_r.c: Likewise.
18594         * sysdeps/posix/getaddrinfo.c: Likewise.
18595
18596 2012-10-30  Andreas Jaeger  <aj@suse.de>
18597
18598         * po/ru.po: Update Russion translation from translation project.
18599
18600 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
18601
18602         [BZ #14152]
18603         [BZ #14783]
18604         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
18605         result and shift together with sticky bit instead of replicating
18606         round-to-nearest rounding.
18607         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
18608         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
18609         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
18610         missing underflow exceptions.
18611         (fma_test_towardzero): Add more tests.
18612         (fma_test_downward): Likewise.
18613         (fma_test_upward): Likewise.
18614
18615         [BZ #14047]
18616         * sysdeps/generic/tininess.h: New file.
18617         * sysdeps/i386/tininess.h: Likewise.
18618         * sysdeps/sh/tininess.h: Likewise.
18619         * sysdeps/x86_64/tininess.h: Likewise.
18620         * stdlib/tst-strtod-underflow.c: Likewise.
18621         * stdlib/tst-tininess.c: Likewise.
18622         * stdlib/strtod_l.c: Include <tininess.h>.
18623         (round_and_return): Do not set errno for exact underflow cases.
18624         Force an underflow exception when setting errno for underflow.
18625         Determine underflow based on rounding to normal precision if
18626         TININESS_AFTER_ROUNDING.
18627         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
18628         ERANGE for exact underflow cases.
18629         * stdlib/Makefile (tests): Add tst-tininess and
18630         tst-strtod-underflow.
18631         ($(objpfx)tst-tininess): Use $(link-libm).
18632         ($(objpfx)tst-strtod-underflow): Likewise.
18633
18634 2012-10-30  Andreas Jaeger  <aj@suse.de>
18635
18636         [BZ#14767]
18637         * elf/Makefile (tests): Remove conditional for have-initfini-array
18638         since this is now always required and the variable does not exist
18639         anymore.
18640         (tests-static): Likewise.
18641         (modules-names): Likewise.
18642
18643         * po/eo.po: Add Esperanto translation from translation project.
18644
18645         * elf/tst-array1.c (fini_array): Make writeable so that it can be
18646         merged with constructor/destructor.
18647         (init_array): Likewise.
18648         * elf/tst-array2dep.c (fini_array): Likewise.
18649         (init_array): Likewise.
18650
18651 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
18652
18653         * manual/message.texi: Delete @cartouche tags.
18654
18655 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
18656
18657         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
18658         EOPNOTSUPP.
18659         * sysdeps/mach/hurd/fsync.c: Likewise.
18660
18661         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
18662         [_POSIX_REALTIME_SIGNALS]: Change condition to
18663         [_POSIX_REALTIME_SIGNALS > 0].
18664
18665 2012-10-27  Andreas Jaeger  <aj@suse.de>
18666
18667         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
18668         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
18669         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
18670         [__WORDSIZE != 64]: Likewise.
18671
18672 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
18673
18674         *  iconvdata/tst-table.sh: Remove ${SHELL}.
18675         *  iconvdata/tst-tables.sh: Likewise.
18676
18677 2012-10-25  David S. Miller  <davem@davemloft.net>
18678
18679         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
18680         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
18681         of strtoull.
18682
18683         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
18684         ifunc-impl-list.c
18685         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
18686         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
18687         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
18688         file.
18689
18690 2012-10-25  Roland McGrath  <roland@hack.frob.com>
18691
18692         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
18693         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
18694         __getdirentries.
18695
18696 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
18697             Jim Blandy  <jimb@codesourcery.com>
18698
18699         * scripts/cross-test-ssh.sh: New file.
18700         * manual/install.texi (Configuring and compiling): Document use of
18701         cross-test-ssh.sh.
18702         * INSTALL: Regenerated.
18703
18704 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
18705
18706         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
18707         EOPNOTSUPP.
18708
18709 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
18710
18711         * Makeconfig (run-program-prefix): Fix comment.
18712
18713 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
18714             Jim Blandy  <jimb@codesourcery.com>
18715
18716         * Makeconfig (test-wrapper): New variable,
18717         (test-wrapper-env): Likewise.
18718         [$(cross-compiling) = yes && $(test-wrapper) != ""]
18719         (run-built-tests): Define to yes.
18720         (run-program-prefix): Use $(test-wrapper).
18721         (built-program-cmd): Likewise.
18722         * Rules (make-test-out): Use $(test-wrapper-env) and
18723         $(host-built-program-cmd).
18724         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
18725         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
18726         tst-pathopt.sh.
18727         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
18728         $(test-wrapper-env) to tst-rtld-load-self.sh.
18729         ($(objpfx)order2.out): Use $(test-wrapper).
18730         ($(objpfx)tst-initorder.out): Likewise.
18731         ($(objpfx)tst-initorder2.out): Likewise.
18732         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
18733         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
18734         (test_wrapper_env): New variable.  Use it to run ld.so.
18735         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
18736         Use it to run ld.so.
18737         (test_wrapper_env): Likewise.
18738         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
18739         $(test-wrapper) to run-iconv-test.sh.
18740         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
18741         (ICONV): Use $test_wrapper.
18742         * posix/Makefile ($(objpfx)globtest.out): Pass
18743         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
18744         globtest.sh, not $(run-program-prefix).
18745         * posix/globtest.sh (run_via_rtld_prefix): New variable.
18746         (test_wrapper): Likewise.
18747         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
18748         set together with run_via_rtld_prefix.
18749         (run_program_prefix): Define in terms of test_wrapper and
18750         run_via_rtld_prefix.
18751
18752 2012-10-24  Roland McGrath  <roland@hack.frob.com>
18753
18754         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
18755         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
18756         Targets removed.
18757
18758         [BZ #14743]
18759         * include/time.h: Remove librt_hidden_proto (clock_gettime).
18760         Declare __clock_getres, __clock_gettime, __clock_settime,
18761         __clock_nanosleep, and __clock_getcpuclockid.
18762         * rt/clock_gettime.c: Define __clock_gettime as an alias.
18763         Remove librt_hidden_def (clock_gettime).
18764         * sysdeps/unix/clock_gettime.c: Likewise.
18765         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
18766         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
18767         * rt/clock_getres.c: Define __clock_getres as an alias.
18768         * sysdeps/posix/clock_getres.c: Likewise.
18769         * rt/clock_settime.c: Define __clock_settime as an alias.
18770         * sysdeps/unix/clock_settime.c: Likewise.
18771         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
18772         * sysdeps/unix/clock_nanosleep.c: Likewise.
18773         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
18774         * rt/clock-compat.c: New file.
18775         * rt/Makefile (librt-routines): Add clock-compat and move
18776         $(clock-routines) to ...
18777         (routines): ... here, new variable.
18778         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
18779         Don't add get_clockfreq here.
18780         * rt/Versions (libc: GLIBC_2.17): New version set.
18781         Add clock_* symbols here.
18782         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
18783         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
18784         (GLIBC_2.17): Add clock_* symbols.
18785         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
18786         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
18787         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
18788         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
18789         Likewise.
18790         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
18791         Likewise.
18792         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
18793         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
18794         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
18795         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
18796         * NEWS: Mention the move.
18797
18798         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
18799         Use __open, __read, __close rather than their public counterparts.
18800         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
18801         (__get_clockfreq_via_cpuinfo): Likewise.
18802         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
18803         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
18804
18805         * config.h.in (HAVE_IFUNC): New #undef.
18806         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
18807         was successful.
18808         * configure: Regenerated.
18809
18810 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
18811
18812         * configure.in: Move READELF check to start of file.
18813         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
18814         libc_cv_asm_gnu_indirect_function in the process.
18815         * configure: Regenerated.
18816
18817 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
18818
18819         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
18820         send the output to /dev/null.
18821         (libc_cv_cc_with_libunwind): Likewise.
18822         (libc_cv_as_noexecstack): Likewise.
18823         * configure: Regenerate.
18824
18825 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
18826
18827         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
18828
18829         * posix/globtest.sh (TMPDIR): Do not set.
18830         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
18831         (testout): Likewise.
18832
18833 2012-10-24  Andreas Jaeger  <aj@suse.de>
18834
18835         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
18836         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
18837         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
18838         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
18839         posix_fadvise64, posix_fallocate64.
18840
18841         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
18842         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
18843         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
18844         Likewise.
18845         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
18846         Likewise.
18847         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
18848
18849         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
18850         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
18851         <bits/fcntl-linux.h>.
18852         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
18853
18854         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
18855         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
18856         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
18857         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
18858         [__WORDSIZE != 64]: Likewise.
18859
18860 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
18861
18862         * Makeconfig (run-built-tests): New variable.
18863         * Rules [$(cross-compiling) = yes]: Change condition to
18864         [$(run-built-tests) = no].
18865         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
18866         to [$(run-built-tests) = yes].
18867         * elf/Makefile [$(cross-compiling) = no]: Likewise
18868         * grp/Makefile [$(cross-compiling) = no]: Likewise.
18869         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
18870         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
18871         * intl/Makefile [$(cross-compiling) = no]: Likewise.
18872         * io/Makefile [$(cross-compiling) = no]: Likewise.
18873         * libio/Makefile [$(cross-compiling) = no]: Likewise.
18874         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
18875         * misc/Makefile [$(cross-compiling) = no]: Likewise.
18876         * posix/Makefile [$(cross-compiling) = no]: Likewise.
18877         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
18878         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
18879         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
18880         * string/Makefile [$(cross-compiling) = no]: Likewise.
18881
18882         * posix/Makefile ($(objpfx)globtest.out): Pass
18883         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
18884         $(rtld-installed-name).
18885         * posix/globtest.sh (elf_objpfx): Remove variable.
18886         (rtld_installed_name): Likewise.
18887         (library_path): Likewise.
18888         (run_program_prefix): New variable.  Use for running globtest
18889         binary.
18890
18891 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
18892             Joseph Myers  <joseph@codesourcery.com>
18893
18894         * Makeconfig (host-built-program-cmd): New variable.
18895         * elf/Makefile (tst-stackguard1-ARGS): Use
18896         $(host-built-program-cmd).
18897         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
18898         (tst-spawn-ARGS): Likewise.
18899         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
18900
18901 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
18902             Jim Blandy  <jimb@codesourcery.com>
18903
18904         * Makeconfig (run-via-rtld-prefix): New variable.
18905         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
18906         (built-program-cmd): Likewise.
18907
18908 2012-10-22  Andreas Jaeger  <aj@suse.de>
18909
18910         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
18911         __O_RSYNC if it exists, otherwise to O_SYNC.
18912
18913 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
18914             Joseph Myers  <joseph@codesourcery.com>
18915
18916         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
18917         /dev/null.
18918         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
18919         from /dev/null
18920         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
18921         /dev/null.
18922
18923 2012-10-22  Andreas Jaeger  <aj@suse.de>
18924
18925         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
18926         Define always.
18927         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
18928
18929         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
18930         bits/fcntl-linux.h.
18931
18932         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
18933         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
18934
18935         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
18936         to __O_LARGEFILE.
18937         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
18938         to __O_LARGEFILE.
18939
18940 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
18941             Joseph Myers  <joseph@codesourcery.com>
18942
18943         * config.make.in (NM): New variable.
18944
18945 2012-10-21  Andreas Jaeger  <aj@suse.de>
18946
18947         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
18948         definitions and declarations that are provided by
18949         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
18950
18951 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
18952
18953         [BZ #14683]
18954         * elf/Makefile (tests-static): Add tst-leaks1-static.
18955         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
18956         ($(objpfx)tst-leaks1-static): New rule.
18957         ($(objpfx)tst-leaks1-static-mem): Likewise.
18958         (tst-leaks1-static-ENV): New macro.
18959         * elf/dl-open.c (dl_open_worker): Check the main application
18960         only if SHARED is defined.
18961         * elf/tst-leaks1-static.c: New file.
18962
18963 2012-10-20  Andreas Jaeger  <aj@suse.de>
18964
18965         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
18966         generic values for Linux.
18967         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
18968         and declarations that are provided by <bits/fcntl-linux.h> and
18969         include <bits/fcntl-linux.h>.
18970         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
18971         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
18972
18973 2012-10-20  Roland McGrath  <roland@hack.frob.com>
18974
18975         * io/fcntl.h: Move include of <bits/types.h> to the top and
18976         include it unconditionally.
18977
18978 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
18979
18980         * wcsmbs/Makefile (tests-ifunc): New variable.
18981         (tests): Add $(tests-ifunc).
18982         * wcsmbs/test-wcschr-ifunc.c: New file.
18983         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
18984         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
18985         * wcsmbs/test-wcslen-ifunc.c: Likewise.
18986         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
18987         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
18988
18989         * string/Makefile (tests-ifunc): New variable.
18990         (tests): Add $(tests-ifunc).
18991         * string/test-memccpy.c (TEST_NAME): New macro.
18992         * string/test-memchr.c (TEST_NAME): Likewise.
18993         * string/test-memcmp.c (TEST_NAME): Likewise.
18994         * string/test-memcpy.c (TEST_NAME): Likewise.
18995         * string/test-memmem.c (TEST_NAME): Likewise.
18996         * string/test-memmove.c (TEST_NAME): Likewise.
18997         * string/test-memset.c (TEST_NAME): Likewise.
18998         * string/test-rawmemchr.c (TEST_NAME): Likewise.
18999         * string/test-stpcpy.c (TEST_NAME): Likewise.
19000         * string/test-stpncpy.c (TEST_NAME): Likewise.
19001         * string/test-strcasecmp.c (TEST_NAME): Likewise.
19002         * string/test-strcasestr.c (TEST_NAME): Likewise.
19003         * string/test-strcat.c (TEST_NAME): Likewise.
19004         * string/test-strchr.c (TEST_NAME): Likewise.
19005         * string/test-strcmp.c(TEST_NAME): Likewise.
19006         * string/test-strcpy.c (TEST_NAME): Likewise.
19007         * string/test-strcspn.c (TEST_NAME): Likewise.
19008         * string/test-strlen.c (TEST_NAME): Likewise.
19009         * string/test-strncasecmp.c (TEST_NAME): Likewise.
19010         * string/test-strncmp.c (TEST_NAME): Likewise.
19011         * string/test-strncpy.c (TEST_NAME): Likewise.
19012         * string/test-strnlen.c (TEST_NAME): Likewise.
19013         * string/test-strpbrk.c (TEST_NAME): Likewise.
19014         * string/test-strrchr.c (TEST_NAME): Likewise.
19015         * string/test-strspn.c (TEST_NAME): Likewise.
19016         * string/test-strstr.c (TEST_NAME): Likewise.
19017         * string/test-bcopy-ifunc.c: New file.
19018         * string/test-bzero-ifunc.c: Likewise.
19019         * string/test-memccpy-ifunc.c: Likewise.
19020         * string/test-memchr-ifunc.c: Likewise.
19021         * string/test-memcmp-ifunc.c: Likewise.
19022         * string/test-memcpy-ifunc.c: Likewise.
19023         * string/test-memmem-ifunc.c: Likewise.
19024         * string/test-memmove-ifunc.c: Likewise.
19025         * string/test-mempcpy-ifunc.c: Likewise.
19026         * string/test-memset-ifunc.c: Likewise.
19027         * string/test-rawmemchr-ifunc.c: Likewise.
19028         * string/test-stpcpy-ifunc.c: Likewise.
19029         * string/test-stpncpy-ifunc.c: Likewise.
19030         * string/test-strcasecmp-ifunc.c: Likewise.
19031         * string/test-strcasestr-ifunc.c: Likewise.
19032         * string/test-strcat-ifunc.c: Likewise.
19033         * string/test-strchr-ifunc.c: Likewise.
19034         * string/test-strchrnul-ifunc.c: Likewise.
19035         * string/test-strcmp-ifunc.c: Likewise.
19036         * string/test-strcpy-ifunc.c: Likewise.
19037         * string/test-strcspn-ifunc.c: Likewise.
19038         * string/test-strlen-ifunc.c: Likewise.
19039         * string/test-strncasecmp-ifunc.c: Likewise.
19040         * string/test-strncat-ifunc.c: Likewise.
19041         * string/test-strncmp-ifunc.c: Likewise.
19042         * string/test-strncpy-ifunc.c: Likewise.
19043         * string/test-strnlen-ifunc.c: Likewise.
19044         * string/test-strpbrk-ifunc.c: Likewise.
19045         * string/test-strrchr-ifunc.c: Likewise.
19046         * string/test-strspn-ifunc.c: Likewise.
19047         * string/test-strstr-ifunc.c: Likewise.
19048
19049         * debug/Makefile (tests-ifunc): New variable.
19050         (tests): Add $(tests-ifunc).
19051         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
19052         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
19053         * debug/test-stpcpy_chk-ifunc.c: New file.
19054         * debug/test-strcpy_chk-ifunc.c: Likewise.
19055
19056 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
19057
19058         [BZ #13601]
19059         * elf/dl-load.c (open_verify): Retry read if the entire ELF
19060         header is not read in.
19061
19062 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
19063
19064         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
19065         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
19066         directly.  Pass built executable to script as
19067         $(built-program-cmd).
19068         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
19069         $testprogram without using LD_LIBRARY_PATH and $ldso.
19070
19071         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
19072         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
19073         $(rtld-installed-name).
19074         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
19075         (rtld_installed_name): Likewise.
19076         (library_path): Likewise.
19077         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
19078         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
19079         $(run-program-prefix) to tst-tables.sh.
19080         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
19081         it to run tst-table-from and tst-table-to.
19082         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
19083         Pass it to tst-table.sh.
19084         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
19085         $(run-program-prefix) to tst-gettext.sh.
19086         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
19087         tst-translit.sh.
19088         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
19089         tst-gettext2.sh.
19090         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
19091         to run tst-gettext.
19092         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
19093         to run tst-gettext2.
19094         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
19095         to run tst-translit.
19096         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
19097         $(run-program-prefix) to tst-mtrace.sh.
19098         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
19099         to run tst-mtrace.
19100         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
19101         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
19102         $(rtld-installed-name).
19103         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
19104         (rtld_installed_name): Likewise.
19105         (run_program_prefix): New variable.  Use it to run wordexp-test.
19106
19107         * Makeconfig (ARCH): Remove all definitions.
19108         (machine): Likewise.
19109         [ARCH]: Remove conditional code.
19110         [!objdir]: Give error.
19111         [!objdir] (objpfx): Remove.
19112         [!objdir] (common-objpfx): Likewise.
19113         [!objdir] (common-objdir): Likewise.
19114         * configure.in (config_makefile): Remove.  Hardcode Makefile in
19115         AC_CONFIG_FILES call.
19116         * configure: Regenerated.
19117
19118         [BZ #13888]
19119         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
19120         or TMPDIR.
19121         (testout): Likewise.
19122
19123         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
19124         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
19125         $(rtld-installed-name).
19126         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
19127         (rtld_installed_name): Likwise.
19128         (runit): Remove function.
19129         (run_getconf): New variable,  Use it for running getconf binary.
19130
19131 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
19132
19133         [BZ #14716]
19134         * string/test-memmem.c (check_result): New function.
19135         (do_one_test): Use it.
19136         (check1): New function.
19137         (test_main): Use it.
19138
19139 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
19140
19141         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
19142
19143 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
19144
19145         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
19146         (_G_LSEEK64): Likewise.
19147         (_G_MMAP64): Likewise.
19148         (_G_FSTAT64): Likewise.
19149         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
19150         (_G_LSEEK64): Likewise.
19151         (_G_MMAP64): Likewise.
19152         (_G_FSTAT64): Likewise.
19153         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
19154         unconditional.  Call __mmap64 directly.
19155         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
19156         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
19157         __lseek64 directly.
19158         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
19159         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
19160         __mmap64 directly.
19161         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
19162         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
19163         __lseek64 directly.
19164         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
19165         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
19166         __lseek64 directly.
19167         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
19168         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
19169         __lseek64 directly.
19170         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
19171         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
19172         __fxstat64 directly.
19173         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
19174         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
19175         unconditional.
19176         (freopen64) [!_G_OPEN64]: Remove conditional code.
19177         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
19178         unconditional.
19179         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
19180         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
19181         unconditional.
19182         (ftello64) [!_G_LSEEK64]: Remove conditional code.
19183         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
19184         unconditional.
19185         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
19186         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
19187         unconditional.
19188         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
19189         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
19190         unconditional.
19191         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
19192         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
19193         unconditional.
19194         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
19195         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
19196         unconditional.
19197         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
19198
19199 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
19200
19201         [BZ #12140]
19202         * manual/memory.texi (Malloc Tunable Parameters): Add note
19203         about free list pointers overwriting some perturb bytes.
19204         Wording suggested by Roland McGrath.
19205
19206 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
19207
19208         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
19209         (lgamma_test): Likewise.
19210         (tgamma_test): Likewise.
19211
19212 2012-10-16  Florian Weimer  <fweimer@redhat.com>
19213
19214         [BZ #14700]
19215         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
19216         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
19217
19218 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
19219
19220         * NEWS: Mention BZ #14716.
19221         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
19222         when removing AVAILABLE1_USES_J macro.
19223
19224 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
19225
19226         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
19227         (__bswap_64): __uint64_t for unsigned 64-bit int.
19228
19229 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
19230
19231         * include/string.h (memmem): Declare libc hidden alias.
19232         * string/memmem.c (memmem): Define libc hidden alias.
19233         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
19234         __read, __close instead of open, read, close.
19235
19236 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
19237
19238         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
19239         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
19240         global and hidden.
19241         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
19242         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
19243         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
19244         Likewise.
19245         (__rawmemchr_sse2): Likewise.
19246         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
19247         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
19248         (__strchr_sse2): Likewise.
19249         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
19250         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
19251         (__strcasecmp_sse2): Likewise.
19252         (__strncasecmp_sse2): Likewise.
19253         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
19254         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
19255         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
19256         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
19257         (__strrchr_sse2): Likewise.
19258         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
19259         ifunc-impl-list.c.
19260         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
19261         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
19262         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
19263         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
19264         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
19265         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
19266         * sysdeps/x86_64/multiarch/memset.S: Likewise.
19267         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
19268         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
19269         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
19270         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
19271         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
19272         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
19273         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
19274         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
19275         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
19276         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
19277         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
19278         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
19279         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
19280         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
19281         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
19282         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
19283         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
19284         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
19285         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
19286         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
19287         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
19288         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
19289         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
19290
19291         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
19292         global and hidden.
19293         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
19294         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
19295         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
19296         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
19297         Likewise.
19298         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
19299         Likewise.
19300         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
19301         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
19302         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
19303         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
19304         ifunc-impl-list.c.
19305         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
19306         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
19307         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
19308         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
19309         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
19310         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
19311         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
19312         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
19313         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
19314         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
19315         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
19316         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
19317         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
19318         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
19319         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
19320         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
19321         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
19322         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
19323         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
19324         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
19325         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
19326         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
19327         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
19328         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
19329         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
19330         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
19331         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
19332         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
19333         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
19334         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
19335         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
19336         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
19337         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
19338         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
19339         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
19340         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
19341         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
19342         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
19343         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
19344         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
19345         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
19346
19347         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
19348         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
19349         * include/ifunc-impl-list.h: New file.
19350         * misc/ifunc-impl-list.c: Likewise.
19351         * misc/Makefile (routines): Add ifunc-impl-list.
19352         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
19353         * string/test-string.h: Include <ifunc-impl-list.h>.
19354         [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
19355         impl_array): New variables.
19356         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
19357         are defined.
19358         (test_init): Call __libc_ifunc_impl_list to initialize
19359         func_list if TEST_IFUNC and TEST_NAME are defined.
19360
19361         * string/Makefile (strop-tests): Add bcopy and bzero.
19362         * string/test-bcopy.c: New file.
19363         * string/test-bzero.c: Likewise.
19364         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
19365         defined.
19366         * string/test-memset.c: Support bzero test if TEST_BZERO is
19367         defined.
19368         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
19369         __libc_memmove.
19370         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
19371         __libc_memset.
19372         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
19373         of memset.
19374
19375 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
19376
19377         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
19378         * configure: Regenerated.
19379
19380         * Makeconfig (+link-static-before-libc): Don't include
19381         $(link-static-libc).
19382
19383         * libio/libio.h (_IO_pos_t): Remove.
19384
19385 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
19386
19387         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
19388         McGrath.
19389
19390 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
19391
19392         * crypt/crypt-entry.c: Include fips-private.h.
19393         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
19394         * crypt/md5c-test.c (main): Tolerate disabled MD5.
19395         * sysdeps/unix/sysv/linux/fips-private.h: New file.
19396         * sysdeps/generic/fips-private.h: New file, dummy fallback.
19397
19398 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
19399
19400         * crypt/crypt-private.h: Include stdbool.h.
19401         (_ufc_setup_salt_r): Return bool.
19402         * crypt/crypt-entry.c: Include errno.h.
19403         (__crypt_r): Return NULL with EINVAL for bad salt.
19404         * crypt/crypt_util.c (bad_for_salt): New.
19405         (_ufc_setup_salt_r): Check that salt is long enough and within
19406         the specified alphabet.
19407         * crypt/badsalttest.c: New file.
19408         * crypt/Makefile (tests): Add it.
19409         ($(objpfx)badsalttest): New.
19410
19411 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
19412
19413         * NEWS: Add entry for BZ #14602.
19414
19415 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
19416
19417         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
19418         type-generic.
19419         * math/libm-test.inc: Update comment listing what functions and
19420         macros are tested.
19421         (isgreater_test): New function.
19422         (isgreaterequal_test): Likewise.
19423         (isless_test): Likewise.
19424         (islessequal_test): Likewise.
19425         (islessgreater_test): Likewise.
19426         (isunordered_test): Likewise.
19427         (main): Call the new functions.
19428
19429 2012-10-09  Roland McGrath  <roland@hack.frob.com>
19430
19431         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
19432         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
19433         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
19434         * sysdeps/i386/configure: Regenerated.
19435         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
19436         * sysdeps/mach/configure: Regenerated.
19437         * sysdeps/mach/hurd/configure: Regenerated.
19438         * sysdeps/powerpc/configure: Regenerated.
19439         * sysdeps/powerpc/powerpc32/configure: Regenerated.
19440         * sysdeps/powerpc/powerpc64/configure: Regenerated.
19441         * sysdeps/s390/s390-32/configure: Regenerated.
19442         * sysdeps/s390/s390-64/configure: Regenerated.
19443         * sysdeps/sh/configure: Regenerated.
19444         * sysdeps/sparc/configure: Regenerated.
19445         * sysdeps/unix/sysv/linux/configure: Regenerated.
19446         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
19447         * sysdeps/x86_64/configure: Regenerated.
19448
19449         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
19450         defined.  Don't check if MAP is NULL.
19451
19452 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
19453
19454         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
19455         (_G_stat64): Likewise.
19456         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
19457         (_G_stat64): Likewise.
19458         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
19459         instead of struct _G_stat64.
19460         * libio/fileops.c (mmap_remap_check): Likewise.
19461         (decide_maybe_mmap): Likewise.
19462         (_IO_new_file_seekoff): Likewise.
19463         (_IO_file_stat): Likewise.
19464         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
19465         _G_off64_t.
19466         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
19467         instead of struct _G_stat64.
19468         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
19469
19470 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
19471
19472         [BZ #14602]
19473         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
19474         Replace with ...
19475         (CHECK_EOL): New macro.
19476         (two_way_short_needle): Check beginning of haystack for EOL.  Use
19477         CHECK_EOL.
19478         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
19479         Replace with CHECK_EOL.
19480         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
19481         Replace with CHECK_EOL.
19482
19483 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
19484
19485         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
19486         type-generic.
19487         * math/libm-test.inc: Update comment listing what functions and
19488         macros are tested.
19489         (finite_test): New function.
19490         (isinf_test): Likewise.
19491         (isnan_test): Likewise.
19492         (fpclassify_test): Test subnormal input.
19493         (isfinite_test): Likewise.
19494         (isnormal_test): Likewise.
19495         (main): Call the new functions.
19496
19497 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
19498
19499         [BZ #14660]
19500         * Makerules (%.dynsym): Force C locale when running
19501         $(OBJDUMP) --dynamic-syms.
19502
19503 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
19504
19505         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
19506         <stdint.h>.
19507
19508 2012-10-06  David S. Miller  <davem@davemloft.net>
19509
19510         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
19511         upper 32-bits of the length value in %o2 since we use branch-on-register
19512         tests which consider the entire 64-bit register.
19513
19514 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
19515
19516         * string/test-strstr.c (check2): Add a test for page boundary.
19517
19518 2012-10-05  David S. Miller  <davem@davemloft.net>
19519
19520         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
19521         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
19522         file.
19523         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
19524         sysdep_routines.
19525         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
19526         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
19527         and bzero when HWCAP_SPARC_CRYPTO is present.
19528
19529 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
19530
19531         [BZ #14602]
19532         * string/test-strstr.c (check2): New function.
19533         (test_main): Call check2.
19534
19535         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
19536         and bug-strchr1.
19537         * string/bug-strcasestr1.c (do_test): Moved to ...
19538         * string/test-strcasestr.c (check1): Here.  New function.
19539         (do_one_test): Break out result checking code into ...
19540         (check_result): This.  New function.
19541         (do_one_test): Call check_result.
19542         (test_main): Call check1.
19543         * string/bug-strchr1.c (do_test): Moved to ...
19544         * string/test-strchr.c (check1): Here.  New function.
19545         (do_one_test): Break out result checking code into ...
19546         (check_result): This.  New function.
19547         (do_one_test): Call check_result.
19548         (test_main): Call check1.
19549         * string/bug-strstr1.c (main): Moved to ...
19550         * string/test-strstr.c (check1): Here.  New function.
19551         (do_one_test): Break out result checking code into ...
19552         (check_result): This.  New function.
19553         (do_one_test): Call check_result.
19554         (test_main): Call check1.
19555         * string/bug-strcasestr1.c: Removed.
19556         * string/bug-strchr1.c: Likewise.
19557         * string/bug-strstr1.c: Likewise.
19558
19559         * elf/Makefile (dl-routines): Add hwcaps.
19560         * elf/dl-support.c (_dl_important_hwcaps): Removed.
19561         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
19562         (_dl_important_hwcaps): Moved to ...
19563         * elf/dl-hwcaps.c: Here.  New file.
19564         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
19565
19566         [BZ #14557]
19567         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
19568         if IS_IN_rtld isn't defined.
19569
19570         * elf/dl-support.c (_dl_sysinfo_map): New.
19571         Include "get-dynamic-info.h" and "setup-vdso.h".
19572         (_dl_non_dynamic_init): Call setup_vdso.
19573         * elf/dynamic-link.h: Don't include <assert.h>.
19574         (elf_get_dynamic_info): Moved to ...
19575         * elf/get-dynamic-info.h: Here.  New file.
19576         * elf/dynamic-link.h: Include "get-dynamic-info.h".
19577         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
19578         * elf/setup-vdso.h: Here.  New file.
19579         * elf/rtld.c: Include "setup-vdso.h".
19580         (dl_main): Call setup_vdso.
19581
19582 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
19583
19584         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
19585         creal in comment listing functions tested.  List finite, isinf,
19586         isnan, isless, islessequal, isgreater, isgreaterequal,
19587         islessgreater, isunordered, lgamma_r and pow10 as functions and
19588         macros not tested.  Mention which functions not tested are aliases
19589         for other functions.  Fix typo.  Note that signs of NaNs are not
19590         tested.
19591
19592         * scripts/config.guess: Update from config.git.
19593         * scripts/config.sub: Likewise.
19594
19595 2012-10-04  Roland McGrath  <roland@hack.frob.com>
19596
19597         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
19598         * misc/madvise.c (madvise): Renamed to __madvise.
19599         Make madvise a weak alias.
19600         * include/sys/mman.h: Declare __madvise.
19601         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
19602         * sysdeps/unix/syscalls.list
19603         (madvise): Make __madvise the strong name, and madvise a weak alias.
19604         * sysdeps/unix/sysv/linux/syscalls.list
19605         (madvise, mmap): Remove redundant entries.
19606         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
19607         * malloc/malloc.c (mtrim): Likewise.
19608         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
19609
19610 2012-10-03  Roland McGrath  <roland@hack.frob.com>
19611
19612         * sysdeps/mach/hurd/dl-cache.c: File removed.
19613         * config.h.in (USE_LDCONFIG): New #undef.
19614         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
19615         * configure: Regenerated.
19616         * elf/Makefile (dl-routines): Add dl-cache only under
19617         [$(use-ldconfig) = yes].
19618         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
19619         cache on [USE_LDCONFIG].
19620         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
19621         [USE_LDCONFIG].
19622         * elf/rtld.c (dl_main): Likewise.
19623
19624 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
19625
19626         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
19627         _SC_LEVEL4_CACHE_LINESIZE.
19628
19629 2012-10-03  Roland McGrath  <roland@hack.frob.com>
19630
19631         * sysdeps/unix/bsd/confstr.h: File removed.
19632
19633 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
19634
19635         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
19636         sys/sdt-config.h.
19637
19638 2012-10-02  Roland McGrath  <roland@hack.frob.com>
19639
19640         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
19641         Make 'mapoff' field ElfW(Off) rather than off_t.
19642
19643 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
19644
19645         * nscd/Makefile: Remove nscd-cflags and all its users.
19646         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
19647         (CFLAGS-nonlib): Add compiler flags for nscd modules.
19648
19649         [BZ #10631]
19650         * malloc.c (malloc_printerr): Clarify error message.
19651
19652 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
19653
19654         [BZ #14648]
19655         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
19656         Set bit_FMA_Usable if FMA is supported.
19657         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
19658         macro.
19659         (bit_FMA4_Usable): Updated.
19660         (index_FMA_Usable): New macro.
19661         (CPUID_FMA): Likewise
19662         (HAS_FMA): Defined with bit_FMA_Usable.
19663
19664 2012-10-01  Roland McGrath  <roland@hack.frob.com>
19665
19666         * bits/types.h (__swblk_t): Type removed.
19667         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
19668         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
19669         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
19670         (__SWBLK_T_TYPE): Likewise.
19671         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
19672         (__SWBLK_T_TYPE): Likewise.
19673         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
19674         (__SWBLK_T_TYPE): Likewise.
19675         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
19676         (__SWBLK_T_TYPE): Likewise.
19677
19678 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
19679             Honza Horak <hhorak@redhat.com>
19680
19681         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
19682         (xdr_mapname): Use YPMAXMAP as maxsize.
19683         (xdr_peername): Use YPMAXPEER as maxsize.
19684         (xdr_keydat): Use YPAXRECORD as maxsize.
19685         (xdr_valdat): Use YPMAXRECORD as maxsize.
19686
19687 2012-10-01  Roland McGrath  <roland@hack.frob.com>
19688
19689         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
19690
19691         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
19692         * csu/init-first.c: ... here.
19693         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
19694         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
19695         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
19696         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
19697         * sysdeps/i386/init-first.c: File removed.
19698         * sysdeps/sh/init-first.c: File removed.
19699
19700 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
19701
19702         [BZ #14645]
19703         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
19704         if x * y might underflow to zero and z is zero.
19705         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
19706         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
19707         * math/libm-test.inc (min_subnorm_value): New variable.
19708         (fma_test): Add more tests.
19709         (fma_test_towardzero): Likewise.
19710         (fma_test_downward): Likewise
19711         (fma_test_upward): Likewise.
19712         (initialize): Set min_subnorm_value.
19713
19714 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
19715
19716         [BZ #14638]
19717         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
19718         0 + 0.
19719         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
19720         mode for addition resulting in exact zero.
19721         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
19722         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
19723         exact 0 + 0.
19724         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
19725         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
19726         * math/libm-test.inc (fma_test): Add more tests.
19727         (fma_test_towardzero): New function.
19728         (fma_test_downward): Likewise.
19729         (fma_test_upward): Likewise.
19730         (main): Call the new functions.
19731
19732 2012-09-28  David S. Miller  <davem@davemloft.net>
19733
19734         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
19735
19736 2012-09-28  Roland McGrath  <roland@hack.frob.com>
19737
19738         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
19739         instead of SIGALRM.
19740
19741         * sysdeps/gnu/_G_config.h: Moved to ...
19742         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
19743         * sysdeps/mach/hurd/_G_config.h: Moved to ...
19744         * sysdeps/generic/_G_config.h: ... here.
19745
19746         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
19747
19748         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
19749
19750         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
19751         Conditionalize target on [libnss_test1.so-version].
19752
19753         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
19754
19755         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
19756         (elfobjdir): Move out of conditionals.
19757
19758         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
19759         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
19760         (__nss_lookup_function): Conditionalize label remove_from_tree on
19761         [!DO_STATIC_NSS || SHARED], matching its only use.
19762
19763 2012-09-28  David S. Miller  <davem@davemloft.net>
19764
19765         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
19766         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
19767         file.
19768         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
19769         sysdep_routines.
19770         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
19771         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
19772         when HWCAP_SPARC_CRYPTO is present.
19773
19774 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
19775
19776         * io/tst-mknodat.c: Create a FIFO instead of a socket.
19777
19778 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
19779
19780         [BZ #6530]
19781         * stdio-common/vfprintf.c (process_string_arg): Revert
19782         2000-07-22 change.
19783
19784 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
19785
19786         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
19787         for testcase.
19788         * stdio-common/tst-sprintf.c: Include <locale.h>
19789         (main): Test sprintf's handling of incomplete multibyte
19790         characters.
19791
19792 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
19793
19794         * elf/dl-runtime.c (VERSYMIDX): Removed.
19795         * elf/dl-version.c (VERSYMIDX): Likewise.
19796         * elf/do-rel.h (VERSYMIDX): Likewise.
19797         (VALIDX): Likewise.
19798         * elf/dynamic-link.h (VERSYMIDX): Likewise.
19799         * elf/rtld.c (VALIDX): Likewise.
19800         (ADDRIDX): Likewise.
19801         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
19802         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
19803         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
19804         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
19805         (VALIDX): Likewise.
19806         (ADDRIDX): Likewise.
19807
19808 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
19809
19810         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
19811
19812 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
19813
19814         [BZ #11438]
19815         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
19816         to global scope.
19817         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
19818         addresses are in the same scope as 192.0.2/24.
19819         * posix/gai.conf: Document new scope table defaults.
19820
19821 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
19822
19823         [BZ #5298]
19824         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
19825         for ftell.  Compute offsets from write pointers instead.
19826         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
19827
19828 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
19829
19830         [BZ #14543]
19831         * libio/Makefile (tests): New test case tst-fseek.
19832         * libio/tst-fseek.c: New test case to verify that fseek/ftell
19833         combination works in wide mode.
19834         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
19835         state when the external buffer state changes.
19836
19837 2012-09-27  David S. Miller  <davem@davemloft.net>
19838
19839         [BZ #14376]
19840         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
19841         pass reloc->r_addend in as the 'high' argument to
19842         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
19843
19844         * sysdeps/sparc/fpu/libm-test-ulps: Update.
19845
19846 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
19847
19848         * rt/tst-aio2.c: Include <pthread.h>.
19849         * rt/tst-aio3.c: Likewise.
19850
19851 2012-09-27  Steve Ellcey  <sellcey@mips.com>
19852
19853         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
19854
19855 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
19856
19857         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
19858         contents on [SHARED].
19859
19860 2012-09-26  Marek Polacek  <polacek@redhat.com>
19861
19862         [BZ #14530]
19863         [BZ #13741]
19864         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
19865         for C++ and GCC <4.3 as well as for non GCC compilers.
19866
19867 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
19868
19869         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19870
19871 2012-09-25  Roland McGrath  <roland@hack.frob.com>
19872
19873         * Makefile.in (all, install): Declare with .PHONY.
19874         Reported by Michael Hope <michael.hope@linaro.org>.
19875
19876 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
19877
19878         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
19879         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
19880         system header.
19881         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
19882         Likewise.
19883         (sydep_routines): Add the new and the internal functions.
19884         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
19885         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
19886         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
19887         (GLIBC_2.17): Add the new function.
19888         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
19889         (GLIBC_2.17): Likewise.
19890         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
19891         (GLIBC_2.17): Likewise.
19892         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
19893         (GLIBC_2.17): Likewise.
19894         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
19895
19896 2012-09-25  Alan Modra  <amodra@gmail.com>
19897
19898         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
19899         Add release barrier before setting once_control to say
19900         initialisation is done.  Add hints on lwarx.  Use macro in
19901         place of isync.
19902         (clear_once_control): Add release barrier.
19903
19904 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
19905
19906         [BZ #13629]
19907         * math/s_clog.c (__clog): Handle more values close to |z| = 1
19908         specially.
19909         * math/s_clog10.c (__clog10): Likewise.
19910         * math/s_clog10f.c (__clog10f): Likewise.
19911         * math/s_clog10l.c (__clog10l): Likewise.
19912         * math/s_clogf.c (__clogf): Likewise.
19913         * math/s_clogl.c (__clogl): Likewise.
19914         * math/Makefile (libm-calls): Add x2y2m1.
19915         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
19916         (__x2y2m1): Likewise.
19917         (__x2y2m1l): Likewise.
19918         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
19919         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
19920         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
19921         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
19922         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
19923         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
19924         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
19925         * sysdeps/i386/fpu/libm-test-ulps: Update.
19926         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19927
19928         [BZ #14621]
19929         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
19930         int as type of variable DEPTH.
19931         (glob): Use size_t instead of int as type of variables NEWCOUNT
19932         and OLD_PATHC.
19933
19934 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
19935
19936         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
19937         Add s_sincosf-sse2.
19938         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
19939         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
19940         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
19941         macros for using routine as __sincosf_ia32.
19942         Use macro for function declaration and weak_alias.
19943         * sysdeps/i386/fpu/libm-test-ulps: Update.
19944
19945         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
19946         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19947
19948         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
19949         subnormal argument.
19950         * math/s_cexpf.c (__cexpf): Likewise.
19951         * math/s_csinf.c (__csinf): Likewise.
19952         * math/s_csinhf.c (__csinhf): Likewise.
19953         * math/s_ctanf.c (__ctanf): Likewise.
19954         * math/s_ctanhf.c (__ctanhf): Likewise.
19955         * math/s_ccosh.c (__ccoshf): Likewise.
19956         * math/s_cexp.c (__cexpl): Likewise.
19957         * math/s_csin.c (__csin): Likewise.
19958         * math/s_csinh.c (__csinh): Likewise.
19959         * math/s_ctan.c (__ctan): Likewise.
19960         * math/s_ctanh.c (ctanh): Likewise.
19961         * math/s_ccoshl.c (__ccoshl): Likewise.
19962         * math/s_cexpl.c (__cexpl): Likewise.
19963         * math/s_csinl.c (__csinl): Likewise.
19964         * math/s_csinhl.c (__csinhl): Likewise.
19965         * math/s_ctanl.c (__ctanl): Likewise.
19966         * math/s_ctanhl.c (__ctanhl): Likewise.
19967
19968 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
19969
19970         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
19971         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
19972         (_IO_off_t): Define to __off_t, not _G_off_t.
19973         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
19974         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
19975         (_IO_wint_t): Define to wint_t, not _G_wint_t.
19976         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
19977         type of __dummy and __dummy2 fields.
19978         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
19979         (_G_ssize_t): Likewise.
19980         (_G_off_t): Likewise.
19981         (_G_pid_t): Likewise.
19982         (_G_uid_t): Likewise.
19983         (_G_wchar_t): Likewise.
19984         (_G_wint_t): Likewise.
19985         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
19986         (_G_ssize_t): Likewise.
19987         (_G_off_t): Likewise.
19988         (_G_pid_t): Likewise.
19989         (_G_uid_t): Likewise.
19990         (_G_wchar_t): Likewise.
19991         (_G_wint_t): Likewise.
19992         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
19993         (_G_ssize_t): Likewise.
19994         (_G_off_t): Likewise.
19995         (_G_pid_t): Likewise.
19996         (_G_uid_t): Likewise.
19997         (_G_wchar_t): Likewise.
19998         (_G_wint_t): Likewise.
19999
20000 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
20001
20002         * malloc/arena.c: Include malloc-sysdep.h.
20003         (shrink_heap): Use check_may_shrink_heap to decide if madvise
20004         is sufficient to shrink the heap or an unmap is needed.
20005         * sysdeps/generic/malloc-sysdep.h: New file.  Define
20006         new function check_may_shrink_heap.
20007         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
20008         new function check_may_shrink_heap.
20009
20010 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
20011
20012         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
20013         comments.
20014
20015 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
20016
20017         * catgets/test-gencat.sh: Add "set -e".
20018         * elf/tst-pathopt.sh: Likewise.
20019         * grp/tst_fgetgrent.sh: Likewise.
20020         * iconvdata/run-iconv-test.sh: Likewise.
20021         * intl/tst-gettext.sh: Likewise.
20022         * intl/tst-gettext2.sh: Likewise.
20023         * intl/tst-gettext4.sh: Likewise.
20024         * intl/tst-gettext6.sh: Likewise.
20025         * intl/tst-translit.sh: Likewise.
20026         * io/ftwtest-sh: Likewise.
20027         * libio/test-freopen.sh: Likewise.
20028         * malloc/tst-mtrace.sh: Likewise.
20029         * posix/globtest.sh: Likewise.
20030         * posix/tst-getconf.sh: Likewise.
20031         * posix/wordexp-tst.sh: Likewise.
20032         * stdio-common/tst-printf.sh: Likewise.
20033         * stdio-common/tst-unbputc.sh: Likewise.
20034         * stdlib/tst-fmtmsg.sh: Likewise.
20035         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
20036         * catgets/Makefile: Do not specify -e option when running
20037         testsuite shell scripts.
20038         * elf/Makefile: Likewise.
20039         * grp/Makefile: Likewise.
20040         * iconvdata/Makefile: Likewise.
20041         * intl/Makefile: Likewise.
20042         * io/Makefile: Likewise.
20043         * libio/Makefile: Likewise.
20044         * malloc/Makefile: Likewise.
20045         * posix/Makefile: Likewise.
20046         * stdio-common/Makefile: Likewise.
20047         * stdlib/Makefile: Likewise.
20048         * sysdeps/x86_64/Makefile: Likewise.
20049
20050         * io/ftwtest-sh: Add copyright header.
20051         * posix/globtest.sh: Likewise.
20052         * posix/tst-getconf.sh: Likewise.
20053         * posix/wordexp-tst.sh: Likewise.
20054         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
20055
20056 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
20057
20058         [BZ #13679]
20059         * Makeconfig (+link): Defined as $(+link-static) if
20060         $(build-shared) isn't yes.
20061         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
20062         isn't yes.
20063         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
20064
20065         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
20066
20067         [BZ #14562]
20068         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
20069         new chunk size with MALLOC_ALIGN_MASK.
20070
20071 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
20072
20073         [BZ #5044]
20074         * stdio-common/printf_fphex.c: Include <stdbool.h> and
20075         <rounding-mode.h>.
20076         (__printf_fphex): Determine rounding using get_rounding_mode and
20077         round_away.
20078         * stdio-common/tst-printf-round.c (struct hex_test): New
20079         structure.
20080         (hex_tests): New variable.
20081         (test_hex_in_one_mode): New function.
20082         (do_test): Also run tests for hex float output.
20083
20084 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
20085
20086         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
20087         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
20088         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
20089         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
20090         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
20091         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
20092         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
20093         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
20094
20095 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
20096
20097         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
20098         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
20099         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
20100         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
20101
20102 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
20103
20104         [BZ #14579]
20105         * elf/rtld.c (dl_main): Limit the check for self loading to normal
20106         mode only.
20107         * elf/tst-rtld-load-self.sh: New test.
20108         * elf/Makefile: Run it.
20109
20110 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
20111
20112         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
20113         (tst-writev-ENV): Remove.
20114         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
20115
20116 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
20117
20118         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
20119
20120 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
20121
20122         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
20123         unconditional.
20124         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
20125         Likewise.
20126         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
20127         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
20128         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
20129         Likewise.
20130
20131 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
20132
20133         [BZ #14587]
20134         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
20135         * config.make.in (have-cpp-asm-debuginfo): Removed.
20136         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
20137         * configure: Regenerated.
20138
20139 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
20140
20141         [BZ #5044]
20142         * stdio-common/printf_fp.c: Include <stdbool.h> and
20143         <rounding-mode.h>.
20144         (___printf_fp): Determine rounding using get_rounding_mode and
20145         round_away.
20146         * stdio-common/tst-printf-round.c: New file.
20147         * stdio-common/Makefile (tests): Add tst-printf-round.
20148         (link-libm): New variable.
20149         ($(objpfx)tst-printf-round): Depend in $(link-libm).
20150
20151 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
20152
20153         [BZ #14576]
20154         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
20155         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
20156         Likewise.
20157         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
20158         Likewise.
20159
20160 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
20161
20162         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
20163         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
20164         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
20165         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
20166
20167 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
20168
20169         [BZ #14518]
20170         * include/rounding-mode.h: New file.
20171         * sysdeps/generic/get-rounding-mode.h: Likewise.
20172         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
20173         * stdlib/strtod_l.c: Include <rounding-mode.h>.
20174         (MAX_VALUE): New macro.
20175         (MIN_VALUE): Likewise.
20176         (overflow_value): New function.
20177         (underflow_value): Likewise.
20178         (round_and_return): Use overflow_value and underflow_value to
20179         determine return values in overflow and underflow cases.  Use
20180         round_away to determine rounding depending on rounding mode.
20181         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
20182         determine return values in overflow and underflow cases.
20183         * stdlib/tst-strtod-round.c: Include <fenv.h>.
20184         (struct test_results): New structure.
20185         (struct test): Use struct test_results to store expected results
20186         for all rounding modes.
20187         (TEST): Include expected results for all rounding modes.
20188         (test_in_one_mode): New function.
20189         (do_test): Use test_in_one_mode to compute and check results.
20190         Check results for all rounding modes.
20191         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
20192         $(link-libm).
20193
20194 2012-12-09  Allan McRae  <allan@archlinux.org>
20195
20196         * sysdeps/i386/fpu/libm-test-ulps: Update
20197
20198 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
20199
20200         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
20201         (_G_int32_t): Likewise.
20202         (_G_uint16_t): Likewise.
20203         (_G_uint32_t): Likewise.
20204         (_G_HAVE_BOOL): Likewise.
20205         (_G_HAVE_ATEXIT): Likewise.
20206         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
20207         (_G_HAVE_IO_FILE_OPEN): Likewise.
20208         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
20209         (_G_int32_t): Likewise.
20210         (_G_uint16_t): Likewise.
20211         (_G_uint32_t): Likewise.
20212         (_G_HAVE_BOOL): Likewise.
20213         (_G_HAVE_ATEXIT): Likewise.
20214         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
20215         (_G_HAVE_IO_FILE_OPEN): Likewise.
20216         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
20217         (_G_int32_t): Likewise.
20218         (_G_uint16_t): Likewise.
20219         (_G_uint32_t): Likewise.
20220         (_G_HAVE_BOOL): Likewise.
20221         (_G_HAVE_ATEXIT): Likewise.
20222         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
20223         (_G_HAVE_IO_FILE_OPEN): Likewise.
20224
20225 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
20226
20227         * csu/libc-tls.c: Update copyright years.
20228
20229 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
20230
20231         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
20232         [!_G_USING_THUNKS]: Remove conditional code.
20233         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
20234         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
20235
20236         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
20237         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
20238         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
20239         (_G_VTABLE_LABEL_PREFIX): Likewise.
20240         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
20241         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
20242         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
20243         (_G_VTABLE_LABEL_PREFIX): Likewise.
20244         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
20245         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
20246         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
20247         (_G_VTABLE_LABEL_PREFIX): Likewise.
20248         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
20249
20250 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
20251
20252         * libio/Makefile: Include ../Makeconfig before tests.
20253         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
20254         only if $(build-shared) is yes.
20255
20256         * iconv/gconv_db.c: Update copyright years.
20257
20258 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
20259
20260         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
20261         unwind info if defined PIC. Fix special cases description.
20262         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
20263
20264         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
20265         DP_HI_MASK entry.
20266         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
20267
20268 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
20269
20270         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
20271
20272         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
20273         is NULL.
20274
20275         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
20276         (LDLIBS-tst-chk4): This.
20277         (LDFLAGS-tst-chk5): Renamed to ...
20278         (LDLIBS-tst-chk5): This.
20279         (LDFLAGS-tst-chk6): Renamed to ...
20280         (LDLIBS-tst-chk6): This.
20281         (LDFLAGS-tst-lfschk4): Renamed to ...
20282         (LDLIBS-tst-lfschk4): This.
20283         (LDFLAGS-tst-lfschk5): Renamed to ...
20284         (LDLIBS-tst-lfschk5): This.
20285         (LDFLAGS-tst-lfschk6): Renamed to ...
20286         (LDLIBS-tst-lfschk6): This.
20287
20288         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
20289         on $(common-objpfx)soversions.mk.
20290
20291 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
20292
20293         [BZ #10014]
20294         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
20295         example host name.
20296
20297 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
20298
20299         * malloc/arena.c (arena_get_retry): New function that gets
20300         another arena for the caller to try its request on.
20301         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
20302         current arena cannot fulfill the request.
20303         (__libc_memalign): Likewise.
20304         (__libc_memalign): Likewise.
20305         (__libc_pvalloc): Likewise.
20306         (__libc_calloc): Likewise.
20307
20308 2012-09-05  John Tobey  <john.tobey@gmail.com>
20309
20310         [BZ #13542]
20311         * manual/arith.texi (Operations on Complex): Fix description
20312         of carg branch cut.
20313
20314 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
20315
20316         [BZ #10014]
20317         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
20318         host name.
20319
20320         [BZ #10038]
20321         * manual/memory.texi (Memory): Make order of menu items match
20322         order of sections.
20323
20324 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
20325
20326         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
20327         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
20328         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
20329
20330 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
20331
20332         * csu/libc-tls.c (static_dtv): Renamed to ...
20333         (_dl_static_dtv): This.  Make it global.
20334         (_dl_initial_dtv): Removed.
20335         (__libc_setup_tls): Updated.
20336         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
20337         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
20338         DL_INITIAL_DTV.
20339
20340 2012-09-06  Petr Machata  <pmachata@redhat.com>
20341
20342         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
20343         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
20344         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
20345         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
20346
20347 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
20348
20349         [BZ #14545]
20350         * csu/libc-tls.c (_dl_initial_dtv): New variable.
20351         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
20352         freeing dtv[-1].
20353
20354 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
20355
20356         [BZ #14544]
20357         * Makeconfig (link-static-before-libc): Replace $(+prector)
20358         with $(+prectorT).
20359         (link-static-after-libc): Replace $(+postctor) with
20360         $(+postctorT).
20361         (link-bounded): Replace $(+prector)/$(+postctor) with
20362         $(+prectorT)/$(+postctorT).
20363         (+prectorT): New macro.
20364         (+postctorT): Likewise.
20365
20366 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
20367
20368         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
20369         (round_str): Handle values above the maximum for IBM long double
20370         as inexact.
20371         * stdlib/tst-strtod-round.c (tests): Regenerated.
20372
20373 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
20374
20375         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
20376         assembler flag.
20377         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
20378         zarch_nohighgprs around the zarch optimized routines.
20379         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
20380         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
20381         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
20382         for zarch.
20383
20384 2012-09-05  David S. Miller  <davem@davemloft.net>
20385
20386         * sysdeps/sparc/fpu/libm-test-ulps: Update.
20387
20388         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
20389         HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
20390         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
20391         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
20392         entries.
20393
20394 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
20395
20396         * malloc/arena.c: Fold copyright years.
20397         * malloc/mcheck.c, malloc/memusage.c: Likewise.
20398
20399 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
20400
20401         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
20402
20403 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
20404
20405         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
20406
20407 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
20408
20409         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
20410         change internal state upon failure.
20411
20412 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
20413
20414         * malloc/mcheck.c (mcheck_check_all): Fix typo.
20415         * malloc/memusage.c (mmap): Likewise.
20416         (mmap64, mremap): Likewise.  Adjust name in comment.
20417
20418 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
20419
20420         * libio/fileops.c: Fix typos in comments.
20421         * libio/oldfileops.c: Likewise.
20422         * libio/wfileops.c: Likewise.
20423
20424 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
20425
20426         [BZ #1349]
20427         * malloc/Makefile (tests): Add tst-malloc-usable test case.
20428         (tst-malloc-usable-ENV): Set environment for test case.
20429         * malloc/hooks.c (malloc_check_get_size): New function to get
20430         requested size.
20431         * malloc/malloc.c (musable): Use malloc_check_get_size.
20432         * malloc/tst-malloc-usable.c: New test case.
20433
20434 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
20435
20436         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
20437
20438 2012-09-05  Allan McRae  <allan@archlinux.org>
20439
20440         [BZ #13966]
20441         * configure.in (CXX_SYSINCLUDES): Use compiler output to
20442         determine header location.
20443         * configure: Regenerated.
20444
20445 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
20446
20447         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
20448         float format.
20449         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
20450         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
20451         format.
20452         (test): Regenerate.
20453
20454 2012-09-04  David S. Miller  <davem@davemloft.net>
20455
20456         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
20457         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
20458         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
20459
20460 2012-09-04  Florian Weimer  <fweimer@redhat.com>
20461
20462         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
20463         failures.
20464
20465         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
20466
20467 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
20468
20469         [BZ #9914]
20470         * libio/iogetdelim.c: Include <limits.h>.
20471         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
20472         + len + 1 would overflow.
20473
20474 2012-09-03  Andreas Jaeger  <aj@suse.de>
20475
20476         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20477         * sysdeps/i386/fpu/libm-test-ulps: Update.
20478
20479 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
20480
20481         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
20482         Add s_sinf-sse2, s_conf-sse2.
20483
20484         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
20485         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
20486         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
20487         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
20488
20489         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
20490         for using routine as __sinf_ia32.
20491         Use macro for function declaration and weak_alias.
20492         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
20493         for using routine as __cosf_ia32.
20494         Use macro for function declaration and weak_alias.
20495
20496         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
20497         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
20498
20499         * sysdeps/x86_64/fpu/s_sinf.S: New file.
20500         * sysdeps/x86_64/fpu/s_cosf.S: New file.
20501         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20502
20503         * math/libm-test.inc (cos_test): Add more test cases.
20504         (sin_test): Likewise.
20505         (sincos_test): Likewise.
20506
20507 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
20508
20509         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
20510         (IFUNC_RESOLVE): Make pointers to the specialized implementations
20511         hidden.
20512         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
20513
20514 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
20515
20516         [BZ #14538]
20517         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
20518         first element of the GOT.
20519         (elf_machine_load_address): Return the difference between
20520         the runtime address of _DYNAMIC and elf_machine_dynamic ().
20521
20522 2012-09-01  Allan McRae  <allan@archlinux.org>
20523
20524         [BZ #13412]
20525         * configure.in (AWK): Require gawk version 3.0 or later.
20526         * configure: Regenerated.
20527
20528 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
20529
20530         * sysdeps/unix/sysv/linux/kernel-features.h
20531         (__ASSUME_POSIX_CPU_TIMERS): Remove.
20532         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
20533         [__NR_clock_getres]: Make code unconditional.
20534         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
20535         (clock_getcpuclockid): Remove code left unreachable by removal of
20536         conditionals.
20537         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
20538         code unconditional.
20539         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
20540         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
20541         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
20542         Make code unconditional.
20543         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
20544         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
20545         * sysdeps/unix/sysv/linux/clock_settime.c
20546         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
20547         conditional code.
20548         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
20549         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
20550
20551 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
20552
20553         [BZ #14476]
20554         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
20555         scripts/test-installation.pl.
20556
20557         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
20558         and $ld_so_version if it is set.
20559
20560 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
20561
20562         [BZ #14516]
20563         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
20564         failure if reading from procfs failed.
20565         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
20566
20567 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
20568
20569         * sysdeps/unix/sysv/linux/kernel-features.h
20570         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
20571         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
20572         Remove conditional code.
20573         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
20574         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
20575         Remove conditional code.
20576         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
20577         * sysdeps/unix/sysv/linux/i386/fxstat.c
20578         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
20579         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
20580         * sysdeps/unix/sysv/linux/i386/fxstatat.c
20581         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
20582         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
20583         * sysdeps/unix/sysv/linux/i386/lxstat.c
20584         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
20585         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
20586         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
20587         Remove conditional code.
20588         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
20589         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
20590         Remove conditional code.
20591         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
20592         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
20593         <kernel-features.h>.
20594         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
20595         Remove.
20596         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
20597         Remove conditional code.
20598         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
20599         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
20600         Remove conditional.
20601
20602 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
20603
20604         [BZ #5400]
20605         * NEWS: Add fixed bug number.
20606
20607 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
20608
20609         [BZ #14519]
20610         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
20611         underflowing exponent in case of negative sign.
20612         * stdlib/tst-strtod-round-data: Add more tests.
20613         * stdlib/tst-strtod-round.c (tests): Regenerated.
20614
20615         [BZ #3479]
20616         * stdlib/strtod_l.c (NDIG): Remove.
20617         (HEXNDIG): Likewise.
20618         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
20619         smallest representable value.
20620         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
20621         lie within an exact representation of 1/2 ulp of the result.
20622         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
20623         unconditionally.
20624         (TENS_P9_IDX): Define unconditionally.
20625         (TENS_P9_SIZE): Likewise.
20626         (TENS_P10_IDX): Likewise.
20627         (TENS_P10_SIZE): Likewise.
20628         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
20629         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
20630         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
20631         entries for 10^2^13 and 10^2^14.
20632         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
20633         (TENS_P13_IDX): Define.
20634         (TENS_P13_SIZE): Likewise.
20635         (TENS_P14_IDX): Likewise.
20636         (TENS_P14_SIZE): Likewise.
20637         (_fpioconst_pow10): Change array size to
20638         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
20639         unconditional.
20640         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
20641         1024]: Add entries for 10^2^13 and 10^2^14.
20642         [LAST_POW10 > _LAST_POW10]: Remove #error.
20643         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
20644         (_fpioconst_pow10): Change array size to
20645         FPIOCONST_POW10_ARRAY_SIZE.
20646         * stdlib/gen-fpioconst.c: New file.
20647         * stdlib/gen-tst-strtod-round.c: Likewise.
20648         * stdlib/tst-strtod-round-data: Likewise.
20649         * stdlib/tst-strtod-round.c: Likewise.
20650         * stdlib/Makefile (tests): Add tst-strtod-round.
20651
20652         [BZ #14459]
20653         * stdlib/strtod_l.c: Include <stdint.h>.
20654         (NDEBUG): Do not define.
20655         (round_and_return): Change EXPONENT parameter to type intmax_t.
20656         Rearrange calculations to avoid internal overflow possibilities.
20657         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
20658         Rearrange calculations to avoid internal overflow possibilities.
20659         Assert that number fits inside MPNSIZE limbs.
20660         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
20661         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
20662         calculations and add assertions to avoid internal overflow
20663         possibilities.  Add casts to avoid signed/unsigned operations.
20664         * stdlib/tst-strtod-overflow.c: New file.
20665         * stdlib/Makefile (tests): Add tst-strtod-overflow.
20666
20667 2012-08-25  Marek Polacek  <polacek@redhat.com>
20668
20669         * time/time.h: Fix some typos in comments.
20670
20671 2012-08-23  Roland McGrath  <roland@hack.frob.com>
20672
20673         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
20674         * posix/tst-rfc3484-2.c: Likewise.
20675         * posix/tst-rfc3484-3.c: Likewise.
20676
20677 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
20678
20679         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
20680         (EF_ARM_ABI_FLOAT_HARD): Likewise.
20681
20682 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
20683
20684         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
20685         #include of fxstatat64.c.
20686
20687 2012-08-22  Roland McGrath  <roland@hack.frob.com>
20688
20689         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
20690         * shadow/getspent_r.c: Likewise.
20691         * shadow/getspnam.c: Likewise.
20692         * shadow/getspnam_r.c: Likewise.
20693         * gshadow/getsgent.c: Likewise.
20694         * gshadow/getsgent_r.c: Likewise.
20695         * gshadow/getsgnam.c: Likewise.
20696         * gshadow/getsgnam_r.c: Likewise.
20697         * inet/getnetbyad.c: Likewise.
20698         * inet/getnetbyad_r.c: Likewise.
20699         * inet/getnetbynm.c: Likewise.
20700         * inet/getnetbynm_r.c: Likewise.
20701         * inet/getnetent.c: Likewise.
20702         * inet/getnetent_r.c: Likewise.
20703         * inet/getproto.c: Likewise.
20704         * inet/getproto_r.c: Likewise.
20705         * inet/getprtent.c: Likewise.
20706         * inet/getprtent_r.c: Likewise.
20707         * inet/getprtname.c: Likewise.
20708         * inet/getprtname_r.c: Likewise.
20709         * inet/getrpcbyname.c: Likewise.
20710         * inet/getrpcbyname_r.c: Likewise.
20711         * inet/getrpcbynumber.c: Likewise.
20712         * inet/getrpcbynumber_r.c: Likewise.
20713         * inet/getrpcent.c: Likewise.
20714         * inet/getrpcent_r.c: Likewise.
20715         * inet/getaliasent.c: Likewise.
20716         * inet/getaliasent_r.c: Likewise.
20717         * inet/getaliasname.c: Likewise.
20718         * inet/getaliasname_r.c: Likewise.
20719         * nscd/getgrgid_r.c: Likewise.
20720         * nscd/getgrnam_r.c: Likewise.
20721         * nscd/gethstbyad_r.c: Likewise.
20722         * nscd/gethstbynm3_r.c: Likewise.
20723         * nscd/getpwnam_r.c: Likewise.
20724         * nscd/getpwuid_r.c: Likewise.
20725         * nscd/getsrvbynm_r.c: Likewise.
20726         * nscd/getsrvbypt_r.c: Likewise.
20727         * nscd/gai.c: Likewise.
20728
20729         * configure.in (build_nscd): New substituted variable, set
20730         by --disable-build-nscd and defaults to $use_nscd.
20731         * configure: Regenerated.
20732         * config.make.in (build-nscd): New substituted variable.
20733         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
20734         Change conditional to require [$(build-nscd) = yes] as well.
20735         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
20736
20737         [BZ# 13696]
20738         * configure.in (use_nscd): New substituted variable, set by
20739         --disable-nscd.  If enabled, define USE_NSCD.
20740         * configure: Regenerated.
20741         * config.h.in: Add USE_NSCD.
20742         * config.make.in (use-nscd): New substituted variable.
20743         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
20744         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
20745         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
20746         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
20747         (CFLAGS-getgrnam_r.c): Likewise.
20748         (CFLAGS-initgroups.c): Likewise.
20749         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
20750         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
20751         Variables removed.
20752         * inet/getnetgrent_r.c
20753         (nscd_setnetgrent): New function, broken out of ...
20754         (setnetgrent): ... here.  Call it.
20755         (innetgr): Conditionalize nscd bits on [USE_NSCD].
20756         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
20757         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
20758         * nscd/Makefile (routines, aux): Move definitions after include of
20759         Makeconfig.  Conditionalize on [$(use-nscd) != no].
20760         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
20761         Conditionalize on [USE_NSCD].
20762         (is_nscd, nscd_init_cb): Likewise.
20763         (nss_load_library): Conditionalize init callback on [USE_NSCD].
20764         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
20765         * nss/nss_db/db-init.c: Likewise.
20766         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
20767         [USE_NSCD].
20768         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
20769         (make_request): Use it.
20770         (cache_valid_p): New function.
20771         (__check_pf): Use it.
20772         * NEWS: Add item for --disable-nscd.
20773
20774 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
20775
20776         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
20777         to support sed >= 4.2.1-20-ga9bf076.
20778         * configure: Regenerated.
20779
20780 2012-08-22  Roland McGrath  <roland@hack.frob.com>
20781
20782         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
20783         Conditionalize whole body on [IREL].
20784
20785 2012-08-22  Jeff Law <law@redhat.com>
20786
20787         [BZ #14505]
20788         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
20789         if the family is PF_UNSPEC.
20790
20791 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
20792
20793         * Makerules (lib-version): Rename from V.
20794         (install-lib-nosubdir): Change V to lib-version.
20795
20796 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
20797
20798         [BZ #14252]
20799         * powerpc32/power6/wcschr.c: New file.
20800         * powerpc32/power6/wcscpy.c: New file.
20801         * powerpc32/power6/wcsrchr.c: New file.
20802         * powerpc64/power6/wcschr.c: New file.
20803         * powerpc64/power6/wcscpy.c: New file.
20804         * powerpc64/power6/wcsrchr.c: New file.
20805
20806 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
20807
20808         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
20809         (two_way_short_needle): Use it.
20810         * string/strstr.c (AVAILABLE1_USES_J): Define.
20811         * string/strcasestr.c: Likewise.
20812
20813         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
20814         array references.
20815         * string/strcasestr.c (TOLOWER): Make side-effect safe.
20816
20817         [BZ #11607]
20818         * NEWS: Add an entry.
20819         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
20820         define their defaults.
20821         (two_way_short_needle): Detect end-of-string on-the-fly.
20822         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
20823         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
20824         * string/bug-strcasestr1.c: New test.
20825         * string/Makefile: Run it.
20826
20827 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
20828
20829         [BZ #11607]
20830         * string/str-two-way.h (two_way_short_needle): Optimize matching of
20831         the first character.
20832
20833 2012-08-21  Roland McGrath  <roland@hack.frob.com>
20834
20835         * csu/elf-init.c (__libc_csu_irel): Function removed.
20836         * csu/libc-start.c (apply_irel): New function.
20837         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
20838
20839 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
20840
20841         * sysdeps/unix/sysv/linux/kernel-features.h
20842         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
20843         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
20844         <kernel-features.h>.
20845         [__NR_fadvise64_64]: Make code unconditional.
20846         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
20847         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
20848         !__NR_fadvise64_64)]: Likewise.
20849         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
20850         !__NR_fadvise64_64))]: Likewise.
20851         [__NR_fadvise64]: Make code unconditional.
20852         [!__NR_fadvise64]: Remove conditional code.
20853         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
20854         <kernel-features.h>.
20855         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
20856         unconditional.
20857         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
20858         conditional code.
20859         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
20860         not include <kernel-features.h>.
20861         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
20862         unconditional.
20863         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
20864         conditional code.
20865         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
20866         include <kernel-features.h>.
20867         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
20868         unconditional.
20869         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
20870         conditional code.
20871
20872 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
20873
20874         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
20875         slight instruction rearrangements per scrollpipe analysis.
20876         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
20877
20878 2012-08-20  Roland McGrath  <roland@hack.frob.com>
20879
20880         * manual/syslog.texi (syslog; vsyslog, closelog):
20881         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
20882         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
20883
20884         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
20885         DSOCAPS to match condition on defining it.
20886
20887 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
20888
20889         * sysdeps/unix/sysv/linux/kernel-features.h
20890         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
20891         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
20892         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
20893         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
20894         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
20895         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
20896         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
20897         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
20898         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
20899         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
20900
20901         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
20902         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
20903
20904         * sysdeps/unix/sysv/linux/kernel-features.h
20905         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
20906         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
20907         unconditional.
20908         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
20909         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
20910         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
20911         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
20912         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
20913         Make code unconditional.
20914         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
20915         (__mmap64) [!__NR_mmap2]: Likewise.
20916         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
20917         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
20918         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
20919         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
20920         [__NR_mmap2]: Make code unconditional.
20921         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
20922         (__mmap64) [!__NR_mmap2]: Likewise.
20923
20924 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
20925
20926         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
20927
20928 2012-08-18  Andreas Jaeger  <aj@suse.de>
20929
20930         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
20931
20932 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
20933
20934         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
20935         * include/unistd.h (__have_sock_cloexec): Likewise.
20936         (__have_pipe2): Likewise.
20937         (__have_dup3): Likewise.
20938
20939 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
20940
20941         [BZ #9685]
20942         * include/unistd.h (__have_pipe2): Change define into an extern int.
20943         (__have_dup3): Likewise.
20944         * socket/have_sock_cloexec.c: Include fcntl.h.
20945         (__have_pipe2): New variable.
20946         (__have_dup3): Likewise.
20947
20948 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
20949
20950         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
20951
20952 2012-08-17  Marek Polacek  <polacek@redhat.com>
20953
20954         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
20955         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
20956
20957 2012-08-17  Roland McGrath  <roland@hack.frob.com>
20958
20959         * configure.in: Add AC_SUBST for sysheaders.
20960         * configure: Regenerated.
20961         * config.make.in (sysheaders): New substituted variable.
20962
20963         * sysdeps/unix/mkfifo.c: Moved ...
20964         * sysdeps/posix/mkfifo.c: ... here.
20965         * sysdeps/unix/mkfifoat.c: Moved ...
20966         * sysdeps/posix/mkfifoat.c: ... here.
20967
20968         * sysdeps/unix/utime.c: Moved ...
20969         * sysdeps/posix/utime.c: ... here.
20970
20971         * sysdeps/unix/time.c: Moved ...
20972         * sysdeps/posix/time.c: ... here.
20973         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
20974         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
20975
20976         * sysdeps/unix/nice.c: Moved ...
20977         * sysdeps/posix/nice.c: ... here.
20978
20979         * sysdeps/unix/alarm.c: Moved ...
20980         * sysdeps/posix/alarm.c: ... here.
20981
20982         * intl/Makefile ($(codeset_mo)): Depend on the input file.
20983
20984 2012-08-17  Jeff Law <law@redhat.com>
20985
20986         * intl/Makefile (codeset_mo): New variable.
20987         ($(codeset_mo)): New target.
20988         (tst-codeset.out): Depend on that.  Remove explicit rule.
20989         (tst-gettext3.out, tst-gettext5.out): Likewise.
20990         (LOCPATH-ENV, tst-codeset-ENV): New variables.
20991         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
20992         * intl/tst-codeset.sh: Remove.
20993         * intl/tst-gettext3.sh: Likewise.
20994         * intl/tst-gettext5.sh: Likewise.
20995
20996 2012-08-17  Roland McGrath  <roland@hack.frob.com>
20997
20998         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
20999         * sysdeps/unix/syscalls.list: ... here.
21000
21001         * sysdeps/posix/getaddrinfo.c
21002         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
21003         (gaiconf_init, gaiconf_reload): Use them.
21004         [!_STATBUF_ST_NSEC]
21005         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
21006         Define using time_t rather than struct timespec.
21007
21008         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
21009         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
21010         Macros removed.
21011         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
21012         [!NO_THREADS].
21013         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
21014         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
21015         Likewise.
21016
21017         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
21018         __libc_cleanup_push argument.
21019
21020         * bits/param.h: New file.
21021         * misc/sys/param.h: New file.
21022         * include/sys/param.h: New file.
21023         * misc/Makefile (headers): Add bits/param.h.
21024         * sysdeps/generic/sys/param.h: File removed.
21025         * sysdeps/unix/sysv/linux/bits/param.h: New file.
21026         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
21027         * sysdeps/mach/hurd/bits/param.h: New file.
21028         * sysdeps/mach/hurd/sys/param.h: File removed.
21029
21030         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
21031         last change.
21032
21033         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
21034         [_IO_MTSAFE_IO].
21035         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
21036         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
21037         New macros.
21038
21039         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
21040         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
21041         rather than -D_IO_MTSAFE_IO conditionally.
21042         * stdio-common/Makefile (CPPFLAGS): Likewise.
21043         * wcsmbs/Makefile (CPPFLAGS): Likewise.
21044         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
21045         Use $(libio-mtsafe).
21046         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
21047         of -D_IO_MTSAFE_IO.
21048         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
21049         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
21050         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
21051         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
21052         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
21053         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
21054         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
21055         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
21056         (CFLAGS-fread_u_chk.c): Likewise.
21057         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
21058         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
21059         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
21060         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
21061         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
21062         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
21063         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
21064         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
21065         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
21066
21067         * libio/Makefile: Test [$(libc-reentrant) = yes]
21068         instead of [$(filter %REENTRANT, $(defines)) nonempty].
21069
21070         * Makeconfig
21071         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
21072         * sysdeps/pthread/configure: File removed.
21073         * sysdeps/pthread/Makeconfig: New file.
21074         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
21075         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
21076
21077 2012-08-16  Gary Benson  <gbenson@redhat.com>
21078
21079         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
21080         unmapping the first object in a namespace.
21081
21082 2012-08-16  Roland McGrath  <roland@hack.frob.com>
21083
21084         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
21085         (__internal_setnetgrent): ... this.  Add internal_function to
21086         definition.  Add libc_hidden_def.
21087         (setnetgrent): Update caller.
21088         (internal_endnetgrent): Renamed to ...
21089         (__internal_endnetgrent): ... this.  Add internal_function to
21090         definition.  Add libc_hidden_def.
21091         (endnetgrent): Update caller.
21092         (internal_getnetgrent_r): Renamed to ...
21093         (__internal_getnetgrent_r): ... this.  Add internal_function to
21094         definition.  Add libc_hidden_def.
21095         (__getnetgrent_r): Update caller.
21096         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
21097
21098 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
21099
21100         * stdlib/longlong.h: Update from GCC.
21101
21102 2012-08-16  Roland McGrath  <roland@hack.frob.com>
21103
21104         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
21105         on _QL, which is set by umul_ppmm but never used.
21106         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
21107         variables, which are set by GMP macros but never used.
21108         * stdio-common/_itowa.c (_itowa): Likewise.
21109         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
21110         * stdlib/mod_1.c (mpn_mod_1): Likewise.
21111
21112 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
21113
21114         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
21115         struct La_sh_regs is not constant.
21116         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
21117         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
21118         and struct La_sparc64_regs are not constant.
21119
21120 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
21121
21122         * sysdeps/unix/sysv/linux/kernel-features.h
21123         (__ASSUME_POSIX_TIMERS): Remove.
21124         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
21125         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
21126         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
21127         Make code unconditional.
21128         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
21129         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
21130         Make code unconditional.
21131         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
21132         * sysdeps/unix/sysv/linux/clock_nanosleep.c
21133         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
21134         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
21135         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
21136         Make code unconditional.
21137         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
21138         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
21139         (__libc_missing_posix_timers): Remove.
21140
21141 2012-08-15  Roland McGrath  <roland@hack.frob.com>
21142
21143         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
21144         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
21145
21146         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
21147
21148         * elf/dl-sym.c: Include <stdlib.h>.
21149
21150         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
21151         constants, which avoids warnings in 32-bit builds.
21152
21153         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
21154         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
21155
21156         * misc/lseek.c: File moved to ...
21157         * io/lseek.c: ... here.
21158
21159         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
21160
21161         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
21162         shifting LEN more than 31 bits at once.
21163
21164 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
21165
21166         [BZ #14195]
21167         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
21168         segmentation fault for a case of two empty input strings.
21169         * string/test-strncasecmp.c (check1): Renamed to...
21170         (bz12205): ...this.
21171         (bz14195): Add new testcase for two empty input strings and N > 0.
21172         (test_main): Call new testcase, adapt for renamed function.
21173
21174 2012-08-15  Andreas Jaeger  <aj@suse.de>
21175
21176         [BZ #14090]
21177         * crypt/md5test2.c: New test, based on test supplied by Serge
21178         Belyshev <belyshev@depni.sinp.msu.ru>.
21179         * crypt/Makefile (xtests): Add md5test-giant..
21180         * crypt/Makefile ($(objpfx)md5test-giant): Add.
21181
21182 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
21183
21184         [BZ #14090]
21185         * crypt/md5.c (md5_process_block): Don't assume the buffer
21186         length is less than 2**32.
21187         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
21188         length is less than 2**64.
21189
21190 2012-08-15  Roland McGrath  <roland@hack.frob.com>
21191
21192         * string/str-two-way.h: Include <sys/param.h>.
21193         (MAX): Macro removed.
21194
21195         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
21196         Move #define and #undef of memmove to just before and after
21197         including <string.h>.
21198
21199         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
21200         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
21201         and after including <string.h>.  Move declarations of
21202         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
21203         to before #include "string/memmove.c".
21204
21205         * include/dirent.h: Declare __getdirentries.
21206
21207         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
21208         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
21209
21210 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
21211
21212         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
21213         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
21214         * sysdeps/i386/configure: Regenerated.
21215         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
21216         STABS_CURRENT_FILE, and STABS_FUN.
21217         (END): Remove call to STABS_FUN_END.
21218         (STABS_CURRENT_FILE1): Delete.
21219         (STABS_CURRENT_FILE): Likewise.
21220         (STABS_FUN): Likewise.
21221         (STABS_FUN_END): Likewise.
21222         (STABS_FUN2): Likewise.
21223         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
21224         * sysdeps/x86_64/configure: Regenerated.
21225
21226 2012-08-14  Roland McGrath  <roland@hack.frob.com>
21227
21228         * elf/dl-open.c: Include <atomic.h>.
21229         * elf/dl-lookup.c: Likewise.
21230
21231 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
21232
21233         * sysdeps/unix/sysv/linux/kernel-features.h
21234         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
21235         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
21236         unconditionally.
21237         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
21238         unconditionally.
21239         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
21240         condition on __ASSUME_CLONE_THREAD_FLAGS.
21241
21242 2012-08-14  Andreas Jaeger  <aj@suse.de>
21243
21244         * sysdeps/i386/fpu/libm-test-ulps: Update.
21245
21246 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
21247
21248         * include/atomic.h (atomic_exchange_and_add): Split into ...
21249         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
21250         New atomic macros.
21251
21252 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
21253
21254         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21255
21256 2012-08-13  Jeff Law <law@redhat.com>
21257
21258         * manual/stdio.texi (snprintf): Clarify handling of the trailing
21259         null byte in the output string.
21260
21261 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
21262
21263         * sysdeps/unix/sysv/linux/kernel-features.h
21264         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
21265         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
21266         (__ASSUME_ARG_MAX_STACK_BASED): Define.
21267         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
21268         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
21269         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
21270         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
21271
21272 2012-08-09  Jeff Law <law@redhat.com>
21273
21274         [BZ #13939]
21275         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
21276         When avoid_arena is set, don't retry in the that arena.  Pick the
21277         next one, whatever it might be.
21278         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
21279         (arena_lock): Pass in new parameter to arena_get2.
21280         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
21281         arena_get2.
21282         (__libc_malloc): Unify retrying after main arena failure with
21283         __libc_memalign version.
21284         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
21285
21286 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
21287
21288         [BZ #14166]
21289         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
21290         to __redirect_strstr.
21291         (__strstr_sse42): Use typeof __redirect_strstr.
21292         (__strstr_ia32): Likewise.
21293         (__libc_strstr): New prototype.
21294         (strstr): Renamed to ...
21295         (__libc_strstr): This.
21296         (strstr): New strong alias of __libc_strstr.
21297         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
21298         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
21299         __redirect_time.
21300         Include <time.h>.
21301         (__libc_time): New prototype.
21302         (time_ifunc): Replace time with __libc_time.
21303         (time): New strong alias and hidden definition of __libc_time.
21304         (__GI_time): Remove strong alias.
21305         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
21306         Include <stddef.h>.
21307         (memmove): Redefined to __redirect_memmove.
21308         (__memmove_sse2): Use typeof __redirect_memmove.
21309         (__memmove_ssse3): Likewise.
21310         (__memmove_ssse3_back): Likewise.
21311         (__libc_memmove): New prototype.
21312         (memmove): Renamed to ...
21313         (__libc_memmove): This.
21314         (memmove): New strong alias of __libc_memmove.
21315
21316 2012-08-08  Mark Salter  <msalter@redhat.com>
21317
21318         * elf/elf.h
21319         (R_MN10300_TLS_GD): Define.
21320         (R_MN10300_TLS_LD): Likewise.
21321         (R_MN10300_TLS_LDO): Likewise.
21322         (R_MN10300_TLS_GOTIE): Likewise.
21323         (R_MN10300_TLS_IE): Likewise.
21324         (R_MN10300_TLS_LE): Likewise.
21325         (R_MN10300_TLS_DTPMOD): Likewise.
21326         (R_MN10300_TLS_DTPOFF): Likewise.
21327         (R_MN10300_TLS_TPOFF): Likewise.
21328         (R_MN10300_SYM_DIFF): Likewise.
21329         (R_MN10300_ALIGN): Likewise.
21330         (R_MN10300_NUM): Update.
21331
21332 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
21333
21334         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
21335         Remove.
21336
21337 2012-08-08  Roland McGrath  <roland@hack.frob.com>
21338
21339         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
21340
21341         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
21342         sysdeps/unix -> sysdeps/posix move.
21343         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
21344
21345 2012-08-07      Allan McRae     <allan@archlinux.org>
21346
21347         [BZ #14303]
21348         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
21349         (SUNOS_CPP): Likewise.
21350         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
21351         not found.
21352         (open_input): Call CPP using execvp.
21353
21354 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
21355
21356         * sysdeps/unix/sysv/linux/kernel-features.h
21357         (__ASSUME_PROT_GROWSUPDOWN): Remove.
21358         (__ASSUME_NO_CLONE_DETACHED): Likewise.
21359         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
21360         (__ASSUME_WAITID_SYSCALL): Likewise.
21361         * sysdeps/unix/sysv/linux/dl-execstack.c
21362         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
21363         code unconditional.
21364         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
21365         conditional code.
21366         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
21367         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
21368         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
21369         code.
21370         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
21371         unconditional.
21372         [__ASSUME_WAITID_SYSCALL]: Likewise.
21373         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
21374
21375 2012-08-07  Roland McGrath  <roland@hack.frob.com>
21376
21377         * sysdeps/unix/closedir.c: Renamed to ...
21378         * sysdeps/posix/closedir.c: ... here.
21379         * sysdeps/unix/dirfd.c: Renamed to ...
21380         * sysdeps/posix/dirfd.c: ... here.
21381         * sysdeps/unix/dirstream.h: Renamed to ...
21382         * sysdeps/posix/dirstream.h: ... here.
21383         * sysdeps/unix/fdopendir.c: Renamed to ...
21384         * sysdeps/posix/fdopendir.c: ... here.
21385         * sysdeps/unix/opendir.c: Renamed to ...
21386         * sysdeps/posix/opendir.c: ... here.
21387         * sysdeps/unix/readdir.c: Renamed to ...
21388         * sysdeps/posix/readdir.c: ... here.
21389         * sysdeps/unix/readdir_r.c: Renamed to ...
21390         * sysdeps/posix/readdir_r.c: ... here.
21391         * sysdeps/unix/rewinddir.c: Renamed to ...
21392         * sysdeps/posix/rewinddir.c: ... here.
21393         * sysdeps/unix/seekdir.c: Renamed to ...
21394         * sysdeps/posix/seekdir.c: ... here.
21395         * sysdeps/unix/telldir.c: Renamed to ...
21396         * sysdeps/posix/telldir.c: ... here.
21397         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
21398         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
21399         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
21400         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
21401
21402         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
21403         * bits/fcntl.h: ... here.
21404
21405         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
21406         not 0.
21407         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
21408         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
21409         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
21410         (struct flock): Move l_start, l_len to the beginning.
21411         Use __pid_t for l_pid.
21412         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
21413         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
21414         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
21415         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
21416         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
21417         [__USE_LARGEFILE64] (struct flock64): New type.
21418         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
21419
21420         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
21421         * bits/dirent.h: ... here.
21422
21423         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
21424         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
21425
21426 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
21427
21428         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
21429         Change from 2.6.0 to 2.6.16.
21430         * sysdeps/unix/sysv/linux/configure: Regenerated.
21431         * sysdeps/unix/sysv/linux/kernel-features.h
21432         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
21433         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
21434         version.
21435         (__ASSUME_UTIMES): Likewise.
21436         (__ASSUME_CLONE_STOPPED): Remove.
21437         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
21438         architectures, not kernel version.
21439         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
21440         (__ASSUME_NO_CLONE_DETACHED): Likewise.
21441         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
21442         (__ASSUME_WAITID_SYSCALL): Likewise.
21443         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
21444         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
21445         * README: State 2.6.16 as minimum Linux kernel version.  Do not
21446         refer to older versions.
21447
21448 2012-08-06  Roland McGrath  <roland@hack.frob.com>
21449
21450         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
21451         Define alphasort64 as an alias.
21452         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
21453         Define versionsort64 as an alias.
21454         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
21455         Define scandir64 as an alias.
21456         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
21457         Define scandirat64 as an alias.
21458         * dirent/alphasort64.c (alphasort64):
21459         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
21460         * dirent/versionsort64.c: Likewise.
21461         * dirent/scandir64.c: Likewise.
21462         * dirent/scandirat64.c: Likewise.
21463         * sysdeps/wordsize-64/alphasort.c: File removed.
21464         * sysdeps/wordsize-64/alphasort64.c: File removed.
21465         * sysdeps/wordsize-64/scandir.c: File removed.
21466         * sysdeps/wordsize-64/scandir64.c: File removed.
21467         * sysdeps/wordsize-64/scandirat.c: File removed.
21468         * sysdeps/wordsize-64/scandirat64.c: File removed.
21469         * sysdeps/wordsize-64/versionsort.c: File removed.
21470         * sysdeps/wordsize-64/versionsort64.c: File removed.
21471         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
21472         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
21473         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
21474         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
21475         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
21476         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
21477         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
21478         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
21479
21480         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
21481         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
21482         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
21483         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
21484         [defined __arch64__ || defined __sparcv9]
21485         (__INO_T_MATCHES_INO64_T): New macro.
21486         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
21487         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
21488         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
21489         * sysdeps/unix/sysv/linux/bits/dirent.h
21490         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
21491         (_DIRENT_MATCHES_DIRENT64): New macro.
21492
21493         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
21494         Define lockf64 as an alias.
21495         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
21496         Define fseeko64 as an alias.
21497         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
21498         Define ftello64 as an alias.
21499         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
21500         Define _IO_fgetpos64 and fgetpos64 as aliases.
21501         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
21502         Define _IO_fsetpos64 and fsetpos64 as aliases.
21503         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
21504         Conditionalize body on this.
21505         * libio/fseeko64.c: Likewise.
21506         * libio/ftello64.c: Likewise.
21507         * libio/iofgetpos64.c: Likewise.
21508         * libio/iofsetpos64.c: Likewise.
21509         * sysdeps/wordsize-64/lockf.c: File removed.
21510         * sysdeps/wordsize-64/lockf64.c: File removed.
21511         * sysdeps/wordsize-64/fseeko.c: File removed.
21512         * sysdeps/wordsize-64/fseeko64.c: File removed.
21513         * sysdeps/wordsize-64/ftello.c: File removed.
21514         * sysdeps/wordsize-64/ftello64.c: File removed.
21515         * sysdeps/wordsize-64/iofgetpos.c: File removed.
21516         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
21517         * sysdeps/wordsize-64/iofsetpos.c: File removed.
21518         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
21519         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
21520         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
21521         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
21522         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
21523         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
21524         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
21525         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
21526         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
21527         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
21528         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
21529
21530         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
21531         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
21532         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
21533         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
21534         [defined __arch64__ || defined __sparcv9]
21535         (__OFF_T_MATCHES_OFF64_T): New macro.
21536         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
21537         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
21538         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
21539         (__OFF_T_MATCHES_OFF64_T): New macro.
21540
21541 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
21542
21543         * stdlib/secure-getenv.c (__secure_getenv): Replace
21544         GLIBC_2_16 with GLIBC_2_17.
21545
21546 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
21547
21548         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
21549         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
21550
21551 2012-08-03  David S. Miller  <davem@davemloft.net>
21552
21553         * sysdeps/sparc/fpu/libm-test-ulps: Update.
21554
21555 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
21556
21557         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
21558         Remove.
21559         (__ASSUME_CORRECT_SI_PID): Likewise.
21560         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
21561         (__ASSUME_TMPFS_NAME): Likewise.
21562         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
21563         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
21564         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
21565         (HAVE_AUX_SECURE): Make definition unconditional.
21566         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
21567         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
21568
21569 2012-08-03  Roland McGrath  <roland@hack.frob.com>
21570
21571         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
21572         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
21573         * sysdeps/mach/hurd/eloop-threshold.h: New file.
21574         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
21575         __eloop_threshold instead of SYMLOOP_MAX.
21576
21577         * sysdeps/generic/eloop-threshold.h: New file.
21578         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
21579         of MAXSYMLINKS.
21580         * elf/chroot_canon.c (chroot_canon): Likewise.
21581
21582 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
21583
21584         [BZ #13717]
21585         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
21586         Change to 2.6.0 everywhere.
21587         * sysdeps/unix/sysv/linux/configure: Regenerated.
21588         * sysdeps/unix/sysv/linux/kernel-features.h
21589         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
21590         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
21591         kernel versions.
21592         (__ASSUME_POSIX_TIMERS): Define unconditionally.
21593         (__ASSUME_FUTEX_REQUEUE): Remove.
21594         (__ASSUME_STATFS64): Define unconditionally.
21595         (__ASSUME_AT_SECURE): Likewise.
21596         (__ASSUME_CORRECT_SI_PID): Likewise.
21597         (__ASSUME_TGKILL): Define without depending on kernel version for
21598         i386.
21599         (__ASSUME_UTIMES): Likewise.
21600         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
21601         kernel version.
21602         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
21603         (__ASSUME_TMPFS_NAME): Likewise.
21604         * README: Update reference to Linux kernel versions.
21605
21606 2012-08-02  Marek Polacek  <polacek@redhat.com>
21607
21608         [BZ# 14150]
21609         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
21610         libc_cv_asm_type_prefix with %.
21611         * configure: Regenerated.
21612         * include/libc-symbols.h: Remove comment about
21613         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
21614         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
21615         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
21616         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
21617         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
21618         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
21619         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
21620         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
21621         * elf/tst-unique2mod1.c: Likewise.
21622         * elf/tst-unique1mod2.c: Likewise.
21623         * elf/tst-unique1mod1.c: Likewise.
21624         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
21625         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
21626         Replace ASM_TYPE_DIRECTIVE with .type.
21627         * sysdeps/s390/s390-64/sysdep.h: Likewise.
21628         * sysdeps/i386/sysdep.h: Likewise.
21629         * sysdeps/x86_64/sysdep.h: Likewise.
21630         * sysdeps/sh/sysdep.h: Likewise.
21631         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
21632         Do not define ASM_TYPE_DIRECTIVE.
21633         * sysdeps/powerpc/sysdep.h: Likewise.
21634         * sysdeps/powerpc/powerpc32/sysdep.h:
21635         Replace ASM_TYPE_DIRECTIVE with .type.
21636         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
21637         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
21638         * sysdeps/i386/fpu/e_powf.S: Likewise.
21639         * sysdeps/i386/fpu/e_expl.S: Likewise.
21640         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
21641         * sysdeps/i386/fpu/e_acosh.S: Likewise.
21642         * sysdeps/i386/fpu/e_pow.S: Likewise.
21643         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
21644         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
21645         * sysdeps/i386/fpu/s_expm1.S: Likewise.
21646         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
21647         * sysdeps/i386/fpu/e_log2.S: Likewise.
21648         * sysdeps/i386/fpu/e_log2l.S: Likewise.
21649         * sysdeps/i386/fpu/e_scalb.S: Likewise.
21650         * sysdeps/i386/fpu/e_powl.S: Likewise.
21651         * sysdeps/i386/fpu/e_log10f.S: Likewise.
21652         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
21653         * sysdeps/i386/fpu/e_logl.S: Likewise.
21654         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
21655         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
21656         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
21657         * sysdeps/i386/fpu/e_log2f.S: Likewise.
21658         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
21659         * sysdeps/i386/fpu/e_log.S: Likewise.
21660         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
21661         * sysdeps/i386/fpu/e_logf.S: Likewise.
21662         * sysdeps/i386/fpu/e_log10l.S: Likewise.
21663         * sysdeps/i386/fpu/e_atanh.S: Likewise.
21664         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
21665         * sysdeps/i386/fpu/e_log10.S: Likewise.
21666         * sysdeps/i386/fpu/s_frexp.S: Likewise.
21667         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
21668         * sysdeps/i386/fpu/s_asinh.S: Likewise.
21669         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
21670         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
21671         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
21672         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
21673         * sysdeps/i386/i686/strtok.S: Likewise.
21674         * sysdeps/i386/i386-mcount.S: Likewise.
21675         * sysdeps/i386/strtok.S: Likewise.
21676         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
21677         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
21678         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
21679         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
21680         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
21681         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
21682         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
21683         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
21684         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
21685         * sysdeps/x86_64/_mcount.S: Likewise.
21686         * sysdeps/x86_64/strtok.S: Likewise.
21687         * sysdeps/sh/_mcount.S: Likewise.
21688
21689 2012-08-01  Roland McGrath  <roland@hack.frob.com>
21690
21691         * libio/iofopen.c: Include <fcntl.h>.
21692         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
21693         (_IO_fopen64, fopen64): Define as aliases.
21694         * libio/iofopen64.c: Include <fcntl.h>.
21695         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
21696         Conditionalize body on this.
21697         * sysdeps/wordsize-64/iofopen.c: File removed.
21698         * sysdeps/wordsize-64/iofopen64.c: File removed.
21699
21700 2012-08-01  Marek Polacek  <polacek@redhat.com>
21701
21702         * libc/Makeconfig: Use elf in place of binfmt-subdir.
21703         Use dlfcn directly instead of a variable.
21704         (binfmt-subdir): Do not define.
21705         (dlfcn): Likewise.
21706
21707 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
21708
21709         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
21710         Remove all definitions.
21711         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
21712         <kernel-features.h>.
21713         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
21714         (miss_F_GETOWN_EX): Remove all definitions.
21715         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
21716         macro definition.
21717         [!__ASSUME_FCNTL64]: Remove conditional code.
21718         [__ASSUME_FCNTL64]: Make code unconditional.
21719         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
21720         <kernel-features.h>.
21721         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
21722         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
21723         (lockf64) [__NR_fcntl64]: Make code unconditional.
21724         (lockf64) [__ASSUME_FCNTL64]: Likewise.
21725
21726         * sysdeps/unix/sysv/linux/kernel-features.h
21727         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
21728         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
21729         Make code unconditional.
21730         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
21731         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
21732         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
21733         [__NR_vfork]: Make code unconditional.
21734         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
21735         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
21736         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
21737         [__NR_vfork]: Make code unconditional.
21738         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
21739         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
21740
21741 2012-08-01  Roland McGrath  <roland@hack.frob.com>
21742
21743         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
21744         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
21745
21746         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
21747         Define mkstemp64 as an alias.
21748         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
21749         Define mkstemps64 as an alias.
21750         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
21751         Define mkostemp64 as an alias.
21752         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
21753         Define mkostemps64 as an alias.
21754         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
21755         Conditionalize body on this.
21756         * misc/mkostemp64.c: Likewise.
21757         * misc/mkostemps64.c: Likewise.
21758         * misc/mkstemps64.c: Likewise.
21759         * sysdeps/wordsize-64/mkstemp64.c: File removed.
21760         * sysdeps/wordsize-64/mkostemp64.c: File removed.
21761         * sysdeps/wordsize-64/mkostemp.c: File removed.
21762         * sysdeps/wordsize-64/mkstemp.c: File removed.
21763         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
21764         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
21765         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
21766         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
21767
21768         [BZ #14138]
21769         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
21770         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
21771         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
21772         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
21773
21774         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
21775         compat_symbol macros from <shlib-compat.h> rather than the underlying
21776         default_symbol_version and symbol_version macros, so that DEFAULT
21777         lines in shlib-versions are respected.
21778         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
21779
21780 2012-08-01  Florian Weimer  <fweimer@redhat.com>
21781
21782         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
21783         Declare with warn_unused_result.
21784         (setgid, setregid, setegid, setresgid): Likewise.
21785         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
21786         Likewise.
21787         * WUR-REPORT: Remove set*id functions.
21788
21789 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
21790
21791         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
21792
21793 2012-07-31  Roland McGrath  <roland@hack.frob.com>
21794
21795         [BZ #10191]
21796         * include/sys/socket.h (__libc_accept, __libc_accept4):
21797         Add attribute_hidden.
21798         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
21799
21800         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
21801         use of PTR_MANGLE.
21802         * inet/getnetgrent_r.c (setup): Likewise.
21803
21804         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
21805
21806 2012-07-31  David S. Miller  <davem@davemloft.net>
21807
21808         * sysdeps/sparc/fpu/libm-test-ulps: Update.
21809
21810 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
21811
21812         [BZ #13629]
21813         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
21814         value between 1.0 and 2.0 and smaller part has absolute value less
21815         than 1.0.
21816         * math/s_clog10.c (__clog10): Likewise.
21817         * math/s_clog10f.c (__clog10f): Likewise.
21818         * math/s_clog10l.c (__clog10l): Likewise.
21819         * math/s_clogf.c (__clogf): Likewise.
21820         * math/s_clogl.c (__clogl): Likewise.
21821         * math/libm-test.inc (clog_test): Add more tests.
21822         (clog10_test): Likewise.
21823         * sysdeps/i386/fpu/libm-test-ulps: Update.
21824         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21825
21826 2012-07-31  Florian Weimer  <fweimer@redhat.com>
21827
21828         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
21829         Exit with zero in case no suitable GID is found, and write a
21830         message to standard error.
21831
21832 2012-07-30  Roland McGrath  <roland@hack.frob.com>
21833
21834         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
21835         rather than to 1.
21836         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
21837         (MAXPATHLEN): Removed.
21838         (NOGROUP, NODEV): New macros.
21839         (setbit, clrbit, isset, isclr): New macros.
21840         (howmany, roundup, powerof2): New macros.
21841         (DEV_BSIZE): New macro.
21842
21843         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
21844         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
21845
21846         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
21847         definition on [!__NO_LONG_DOUBLE_MATH].
21848
21849         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
21850         PTR_MANGLE and PTR_DEMANGLE.
21851
21852         * socket/accept4.c (accept4): Rename to __libc_accept4.
21853         Define accept4 as a weak alias.
21854
21855         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
21856         on [_DIRENT_HAVE_D_TYPE].
21857         * io/ftw.c (ftw_dir): Likewise.
21858
21859         * io/xmknod.c (__xmknod): Don't check PATH for being null.
21860
21861         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
21862
21863         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
21864         Use the BSD numbers rather than the arbitrary ones we had.
21865         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
21866         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
21867         (SIGXCPU, SIGXFSZ): New macros.
21868         (_NSIG): Now 32.
21869
21870         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
21871         initializer on [_LIBC_REENTRANT].
21872
21873         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
21874         definitions inside [_POSIX_MAPPED_FILES].
21875
21876         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
21877
21878         * dirent/opendir.c: Include <fcntl.h>.
21879
21880         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
21881         (__libc_getspecific): Likewise.
21882         (__libc_key_create): Likewise.
21883
21884         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
21885         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
21886         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
21887         (tmpfile64): Define as alias.
21888         * sysdeps/wordsize-64/tmpfile.c: File removed.
21889         * sysdeps/wordsize-64/tmpfile64.c: File removed.
21890         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
21891         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
21892
21893         * stdio-common/vfscanf.c: Include <stdbool.h>.
21894         * nss/makedb.c: Likewise.
21895         * stdio-common/_i18n_number.h: Likewise.
21896         * argp/argp-help.c: Likewise.
21897         * posix/wordexp.c: Likewise.
21898         * sysdeps/posix/spawni.c: Likewise.
21899         * nss/nss_files/files-initgroups.c: Likewise.
21900         * stdio-common/reg-modifier.c: Include <stdlib.h>.
21901         * nss/nss_files/files-initgroups.c: Likewise.
21902         * nss/nss_db/db-netgrp.c: Likewise.
21903         * nss/nss_db/db-initgroups.c: Likewise.
21904         * io/fchmodat.c: Include <sys/stat.h>.
21905
21906         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
21907         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
21908
21909         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
21910         [HAVE_MMAP].
21911
21912         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
21913         Add multiple inclusion protection.
21914
21915 2012-07-27  David S. Miller  <davem@davemloft.net>
21916
21917         * sysdeps/sparc/fpu/libm-test-ulps: Update.
21918
21919 2012-07-27  Gary Benson  <gbenson@redhat.com>
21920
21921         [BZ #14298]
21922         * elf/rtld.c: Include <stap-probe.h>.
21923         (dl_main): Added static probes "init_start" and "init_complete".
21924         * elf/dl-load.c: Include <stap-probe.h>.
21925         (lose): Take new parameter "nsid".
21926         Added static probe "map_failed".
21927         (_dl_map_object_from_fd): Pass namespace id to lose.
21928         Added static probe "map_start".
21929         (open_verify): Pass namespace id to lose.
21930         * elf/dl-open.c: Include <stap-probe.h>.
21931         (dl_open_worker) Added static probes "map_complete", "reloc_start"
21932         and "reloc_complete".
21933         * elf/dl-close.c: Include <stap-probe.h>.
21934         (_dl_close_worker): Added static probes "unmap_start" and
21935         "unmap_complete".
21936         * elf/rtld-debugger-interface.txt: New file documenting the above.
21937
21938 2012-07-26  Roland McGrath  <roland@hack.frob.com>
21939
21940         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
21941         rather than a string variable.
21942         * sunrpc/rpc_main.c (h_output): Likewise.
21943         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
21944
21945 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
21946
21947         * inet/check_native.c: New file.
21948
21949 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
21950
21951         [BZ #13629]
21952         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
21953         if larger part has absolute value 1.0.
21954         * math/s_clog10.c (__clog10): Likewise.
21955         * math/s_clog10f.c (__clog10f): Likewise.
21956         * math/s_clog10l.c (__clog10l): Likewise.
21957         * math/s_clogf.c (__clogf): Likewise.
21958         * math/s_clogl.c (__clogl): Likewise.
21959         * math/libm-test.inc (clog_test): Add more tests.
21960         (clog10_test): Likewise.
21961         * sysdeps/i386/fpu/libm-test-ulps: Update.
21962         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21963
21964         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
21965         (pltexit): Likewise.
21966         (La_regs): Likewise.
21967         (La_retval): Likewise.
21968         (int_retval): Likewise.
21969         Update #error for removed macros to refer only to definitions in
21970         tst-audit.h.
21971         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
21972         macro.
21973         (pltexit): Likewise.
21974         (La_regs): Likewise.
21975         (La_retval): Likewise.
21976         (int_retval): Likewise.
21977         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
21978         macro.
21979         (pltexit): Likewise.
21980         (La_regs): Likewise.
21981         (La_retval): Likewise.
21982         (int_retval): Likewise.
21983         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
21984         macro.
21985         (pltexit): Likewise.
21986         (La_regs): Likewise.
21987         (La_retval): Likewise.
21988         (int_retval): Likewise.
21989         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
21990         macro.
21991         (pltexit): Likewise.
21992         (La_regs): Likewise.
21993         (La_retval): Likewise.
21994         (int_retval): Likewise.
21995         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
21996         macro.
21997         (pltexit): Likewise.
21998         (La_regs): Likewise.
21999         (La_retval): Likewise.
22000         (int_retval): Likewise.
22001         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
22002         macro.
22003         (pltexit): Likewise.
22004         (La_regs): Likewise.
22005         (La_retval): Likewise.
22006         (int_retval): Likewise.
22007         * sysdeps/generic/tst-audit.h: Update comment to refer only to
22008         macro definitions in tst-audit.h.
22009         * sysdeps/i386/tst-audit.h: New file.
22010         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
22011         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
22012         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
22013         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
22014         * sysdeps/sh/tst-audit.h: Likewise.
22015         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
22016         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
22017         * sysdeps/x86_64/tst-audit.h: Likewise.
22018
22019 2012-07-26  Andreas Jaeger  <aj@suse.de>
22020
22021         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
22022         ptrace.
22023
22024         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
22025         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
22026         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
22027         PTRACE_O_MASK.
22028         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
22029         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
22030         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
22031
22032         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
22033         value.
22034
22035         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
22036         _sigsys.
22037         (si_call_addr, si_syscall, si_arch): Define new macro.
22038         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
22039         _sigsys.
22040         (si_call_addr, si_syscall, si_arch): Define new marcro.
22041         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
22042         _sigsys.
22043         (si_call_addr, si_syscall, si_arch): Define new macro.
22044         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
22045         _sigsys.
22046         (si_call_addr, si_syscall, si_arch): Define new macro.
22047
22048 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
22049
22050         [BZ #13717]
22051         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
22052         Change to 2.4.21 where previously 2.4.1.
22053         * sysdeps/unix/sysv/linux/configure: Regenerated.
22054         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
22055         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
22056         Linux kernel version.
22057         (__ASSUME_STD_AUXV): Remove.
22058         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
22059         kernel version.
22060         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
22061         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
22062         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
22063         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
22064         (__ASSUME_NETLINK_SUPPORT): Likewise.
22065         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
22066         (__no_netlink_support): Remove conditional definition.
22067         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
22068         Remove.
22069         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
22070         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
22071         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
22072         (if_nameindex_ioctl): Remove.
22073         (if_nameindex_netlink): Do not handle __no_netlink_support.
22074         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
22075         code.
22076         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
22077         Remove conditional code.
22078         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
22079         code.
22080         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
22081         unconditional.
22082         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
22083         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
22084         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
22085         Remove.
22086         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
22087         [!__ASSUME_STD_AUXV]: Remove conditional code.
22088         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
22089         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
22090         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
22091         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
22092         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
22093         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
22094         code.
22095         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
22096         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
22097         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
22098         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
22099         conditional code.
22100         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
22101         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
22102         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
22103         code.
22104         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
22105         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
22106         conditional code.
22107         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
22108         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
22109         code unconditional.
22110         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
22111         conditional code.
22112         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
22113         unconditional.
22114         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
22115         conditional code.
22116         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
22117         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
22118         unconditional.
22119         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
22120         conditional code.
22121         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
22122         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
22123         code unconditional.
22124         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
22125         conditional code.
22126         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
22127         unconditional.
22128         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
22129         conditional code.
22130         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
22131         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
22132         code unconditional.
22133         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
22134         conditional code.
22135         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
22136         unconditional.
22137         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
22138         conditional code.
22139
22140 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
22141
22142         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
22143         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
22144         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
22145         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
22146         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
22147         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
22148         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
22149         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
22150         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
22151         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
22152         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
22153         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
22154         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
22155         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
22156         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
22157         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
22158         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
22159         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
22160         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
22161         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
22162         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
22163         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
22164         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
22165
22166 2012-07-25  Florian Weimer  <fweimer@redhat.com>
22167
22168         * Versions.def: Add GLIBC_2.17.
22169         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
22170         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
22171         Introduce __libc_secure_getenv.
22172         * stdlib/Versions (2.17): Add secure_getenv
22173         (GLIBC_PRIVATE): Add __libc_secure_getenv.
22174         * stdlib/secure-getenv.c: Rename __secure_getenv to
22175         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
22176         symbol __secure_getenv for GLIBC_2.0.
22177         * stdlib/tst-secure-getenv.c: New.
22178         * stdlib/Makefile (tests): Add testcase.
22179         * manual/startup.texi (Environment Access): Document
22180         secure_getenv.
22181         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
22182         __libc_secure_getenv.
22183         * inet/ruserpass.c (ruserpass): Likewise.
22184         * malloc/mtrace.c (mtrace): Likewise.
22185         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
22186         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
22187         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
22188         * sysdeps/posix/tempname.c: Likewise.  Evaluate
22189         HAVE_SECURE_GETENV.
22190         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
22191         __secure_getenv to __libc_secure_getenv.
22192         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
22193         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
22194         Likewise.
22195         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
22196         Likewise.
22197         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
22198         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
22199         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
22200         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
22201         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
22202         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
22203         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
22204
22205 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
22206
22207         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
22208         (struct La_i86_retval): Likewise.
22209         (struct La_x86_64_regs): Likewise.
22210         (struct La_x86_64_retval): Likewise.
22211         (struct La_x32_regs): Likewise.
22212         (struct La_x32_retval): Likewise.
22213         (struct La_ppc32_regs): Likewise.
22214         (struct La_ppc32_retval): Likewise.
22215         (struct La_ppc64_regs): Likewise.
22216         (struct La_ppc64_retval): Likewise.
22217         (struct La_sh_regs): Likewise.
22218         (struct La_sh_retval): Likewise.
22219         (struct La_s390_32_regs): Likewise.
22220         (struct La_s390_32_retval): Likewise.
22221         (struct La_s390_64_regs): Likewise.
22222         (struct La_s390_64_retval): Likewise.
22223         (struct La_sparc32_regs): Likewise.
22224         (struct La_sparc32_retval): Likewise.
22225         (struct La_sparc64_regs): Likewise.
22226         (struct La_sparc64_retval): Likewise.
22227         (struct audit_ifaces): Remove architecture-specific pltenter and
22228         pltexit members.
22229         * sysdeps/i386/ldsodefs.h: New file.
22230         * sysdeps/powerpc/ldsodefs.h: Likewise.
22231         * sysdeps/s390/ldsodefs.h: Likewise.
22232         * sysdeps/sh/ldsodefs.h: Likewise.
22233         * sysdeps/sparc/ldsodefs.h: Likewise.
22234         * sysdeps/x86_64/ldsodefs.h: Likewise.
22235
22236 2012-07-25  Marek Polacek  <polacek@redhat.com>
22237
22238         [BZ #6808]
22239         * math/libm-test.inc (yn_test): Add another test.
22240         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
22241         to ERANGE when the result is +-Inf.
22242         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
22243         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
22244         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
22245         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
22246
22247 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
22248
22249         * conform/data/time.h-data (NULL): Use macro-constant.  Require
22250         equal to 0.
22251         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
22252         clock_t.
22253         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
22254
22255 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
22256
22257         * configure.in <sysdeps resolving>: Correct printing
22258         Implies_before.
22259         * configure: Regenerate.
22260
22261 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
22262
22263         * math/w_ilogb.c: Include <limits.h>.
22264         * math/w_ilogbl.c: Likewise.
22265
22266 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
22267
22268         * manual/lang.texi (__va_copy): Document primarily as ISO C99
22269         va_copy.  Document allowing for unavailable va_copy only as
22270         pre-C99 compatibility.
22271         * manual/string.texi (Copying and Concatenation): Use va_copy
22272         instead of __va_copy in concat example.
22273
22274 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
22275
22276         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
22277         (__sendto): Use create_address_port.  Initialize APORT and deallocate
22278         it if not null.
22279
22280         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
22281         with O_NOLINK passed to __file_name_lookup.
22282
22283         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
22284         with O_NOLINK passed to __file_name_lookup.
22285
22286         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
22287         negative N or less than NGIDS.
22288
22289         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
22290         type to string_t.  Set ERANGE as errno and return it if NAME is not big
22291         enough.  Use memcpy instead of strncpy.
22292
22293 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
22294
22295         * elf/Makefile (check-data): Remove.
22296         (localplt.data): New vpath directive.
22297         ($(objpfx)check-localplt.out): Use localplt.data from vpath
22298         instead of $(check-data).
22299         * scripts/data/localplt-generic.data: Move to ...
22300         * sysdeps/generic/localplt.data: ... here.
22301         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
22302         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
22303         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
22304         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
22305         ... here.
22306         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
22307         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
22308         ... here.
22309         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
22310         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
22311         ... here.
22312         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
22313         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
22314         ... here.
22315         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
22316         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
22317         ... here.
22318         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
22319         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
22320         ... here.
22321
22322 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22323
22324         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
22325         PPC32 and PPC64 files.
22326         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
22327         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
22328
22329 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
22330
22331         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
22332         __makecontext_ret to ...
22333         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
22334         ... here and call exit if uc_link is NULL.  New file.
22335         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
22336         __makecontext_ret.S.
22337         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
22338         __makecontext_ret to ...
22339         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
22340         ... here and call exit if uc_link is NULL.  New file.
22341         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
22342         __makecontext_ret.S.
22343
22344 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
22345
22346         * elf/elf.h (R_390_IRELATIVE): New definition.
22347         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
22348         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
22349         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
22350         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
22351         (elf_machine_lazy_rel): Likewise.
22352         * sysdeps/s390/dl-irel.h: New file.
22353         * sysdeps/s390/s390-64/memcpy.S: New asm code.
22354         * sysdeps/s390/s390-64/memset.S: New asm code.
22355         * sysdeps/s390/s390-64/memcmp.S: New asm code.
22356         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
22357         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
22358         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
22359         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
22360         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
22361         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
22362         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
22363         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
22364         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
22365         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
22366         * sysdeps/s390/s390-32/memcpy.S: New asm code.
22367         * sysdeps/s390/s390-32/memset.S: New asm code.
22368         * sysdeps/s390/s390-32/memcmp.S: New asm code.
22369
22370 2012-07-17  Marek Polacek  <polacek@redhat.com>
22371
22372         [BZ #14349]
22373         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
22374         * sysdeps/s390/s390-64/configure.in: Likewise.
22375         * sysdeps/sparc/configure.in: Likewise.
22376         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
22377         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
22378         * sysdeps/i386/configure.in: Likewise.
22379         * sysdeps/x86_64/configure.in: Likewise.
22380         * sysdeps/sh/configure.in: Likewise.
22381         * sysdeps/s390/s390-32/configure: Regenerated.
22382         * sysdeps/s390/s390-64/configure: Likewise.
22383         * sysdeps/x86_64/configure: Likewise.
22384         * sysdeps/sh/configure: Likewise.
22385         * sysdeps/powerpc/powerpc64/configure: Likewise.
22386         * sysdeps/powerpc/powerpc32/configure: Likewise.
22387         * sysdeps/sparc/configure: Likwise.
22388         * sysdeps/i386/configure: Likewise.
22389
22390         * elf/dl-open.c: Comment fixes.
22391
22392 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
22393
22394         * Makefile [CXX] (check-data): Remove.
22395         [CXX] (c++-types.data): New vpath directive.
22396         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
22397         vpath.  Do not allow for C++ type data being missing.
22398         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
22399         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
22400         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
22401         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
22402         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
22403         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
22404         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
22405         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
22406         ... here.
22407         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
22408         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
22409         ... here.
22410         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
22411         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
22412         ... here.
22413         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
22414         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
22415         ... here.
22416         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
22417         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
22418         ... here.
22419         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
22420         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
22421         ... here.
22422         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
22423         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
22424         ... here.
22425         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
22426         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
22427
22428         * elf/tls-macros.h (TLS_LE): Move architecture-specific
22429         definitions to architecture-specific files.
22430         (TLS_IE): Likewise.
22431         (TLS_LD): Likewise.
22432         (TLS_GD): Likewise.
22433         * sysdeps/i386/tls-macros.h: New file.
22434         * sysdeps/powerpc/tls-macros.h: Likewise.
22435         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
22436         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
22437         * sysdeps/sh/tls-macros.h: Likewise.
22438         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
22439         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
22440         * sysdeps/x86_64/tls-macros.h: Likewise.
22441
22442 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
22443
22444         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
22445         zero value for regular exit case.
22446
22447         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
22448         (__start_context): Preserve zero value for regular exit case.
22449
22450 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
22451             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
22452
22453         * manual/setjmp.texi (setcontext): Clarify normal process
22454         termination when uc_link is the null pointer.
22455         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
22456         exit call.
22457
22458 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
22459
22460         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
22461         preprocessor.  Test for each exception mask separately.
22462
22463 2012-07-16  Andreas Jaeger  <aj@suse.de>
22464
22465         * po/ru.po: Update from translation team.
22466
22467 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
22468
22469         * conform/data/string.h-data (NULL): Use macro-constant.  Require
22470         equal to 0.
22471         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
22472         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
22473         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
22474         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
22475         [ISO || ISO99 || ISO11] (*_t): Do not allow.
22476
22477 2012-07-13  Andreas Jaeger  <aj@suse.de>
22478
22479         * po/fr.po: Update from translation team.
22480
22481 2012-07-12  Marek Polacek  <polacek@redhat.com>
22482
22483         [BZ #14173]
22484         * math/libm-test.inc (yn_test): Add test for BZ #14173.
22485         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
22486         loop condition.
22487
22488 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
22489
22490         [BZ #13717]
22491         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
22492         Change to 2.4.1 where previously 2.4.0.
22493         * sysdeps/unix/sysv/linux/configure: Regenerated.
22494         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
22495         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
22496         version.
22497         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
22498         (__ASSUME_AT_CLKTCK): Remove.
22499         (__ASSUME_AT_PAGESIZE): Likewise.
22500         (__ASSUME_AT_XID): Likewise.
22501         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
22502         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
22503         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
22504         unconditionally.
22505         (HAVE_AUX_PAGESIZE): Likewise.
22506         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
22507         [__ASSUME_AT_CLKTCK]: Make code unconditional.
22508         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
22509
22510 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
22511
22512         [BZ #14307]
22513         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
22514         the temporary buffer used to invoke __gethostbyname2_r,
22515         __gethostbyaddr_r and gethostbyname4_r to make room for struct
22516         host_data / struct gaih_addrtuple.
22517         * resolv/nss_dns/dns-host.c (global scope): Move definition of
22518         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
22519         header file nss/nsswitch.h.
22520         * nss/nsswitch.h (global scope): Add definition of implementation
22521         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
22522         resolv/nss_dns/dns-host.c).
22523
22524 2012-07-11  Andreas Jaeger  <aj@suse.de>
22525
22526         * po/fr.po: Update from translation team.
22527
22528         * po/sv.po: Update from translation team
22529         * po/fr.po: Another update from translation team.
22530
22531 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22532
22533         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
22534         for subnormals or multiply small sinh result by itself.
22535         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
22536         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22537
22538 2012-07-11  David S. Miller  <davem@davemloft.net>
22539
22540         * sysdeps/sparc/fpu/libm-test-ulps: Update.
22541
22542 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
22543
22544         [BZ #14347]
22545         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
22546         (INTERNAL_MARK): Shift it here.
22547
22548 2012-07-10  Marek Polacek  <polacek@redhat.com>
22549
22550         [BZ #14151]
22551         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
22552         libc_cv_asm_global_directive with .globl.
22553         * configure: Regenerated.
22554         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
22555         with .globl.
22556         * sysdeps/i386/configure: Regenerated.
22557         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
22558         with .globl.
22559         * sysdeps/x86_64/configure: Regenerated.
22560         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
22561         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
22562         * elf/tst-unique2mod2.c: Likewise.
22563         * elf/tst-unique2mod1.c: Likewise.
22564         * elf/tst-unique1mod2.c: Likewise.
22565         * elf/tst-unique1mod1.c: Likewise.
22566         * sysdeps/s390/s390-32/sysdep.h: Likewise.
22567         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
22568         * sysdeps/s390/s390-64/sysdep.h: Likewise.
22569         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
22570         * sysdeps/mach/sysdep.h: Likewise.
22571         * sysdeps/i386/sysdep.h: Likewise.
22572         * sysdeps/i386/i386-mcount.S: Likewise.
22573         * sysdeps/x86_64/_mcount.S: Likewise.
22574         * sysdeps/x86_64/sysdep.h: Likewise.
22575         * sysdeps/sh/_mcount.S: Likewise.
22576         * sysdeps/sh/sysdep.h: Likewise.
22577         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
22578         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
22579         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
22580         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
22581         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
22582         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
22583         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
22584         * locale/localeinfo.h: Likewise.
22585         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
22586         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
22587
22588 2012-07-09  Roland McGrath  <roland@hack.frob.com>
22589
22590         [BZ #14336]
22591         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
22592         system".
22593         * manual/message.texi (The Uniforum approach): Likewise.
22594         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
22595         (glibc iconv Implementation): Likewise.
22596
22597 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
22598
22599         [BZ #14337]
22600         * math/s_clog.c (__clog): Avoid scaling a value down where that
22601         could result in underflow.
22602         * math/s_clog10.c (__clog10): Likewise.
22603         * math/s_clog10f.c (__clog10f): Likewise.
22604         * math/s_clog10l.c (__clog10l): Likewise.
22605         * math/s_clogf.c (__clogf): Likewise.
22606         * math/s_clogl.c (__clogl): Likewise.
22607         * math/libm-test.inc (clog_test): Add more tests.
22608         (clog10_test): Likewise.
22609         * sysdeps/i386/fpu/libm-test-ulps: Update.
22610         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22611
22612 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
22613
22614         [BZ #14283]
22615         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
22616         by 7 not 8 to examine high bit of fractional part.
22617
22618         [BZ #14042]
22619         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
22620         for call to __mcount_internal.
22621         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
22622         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
22623         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
22624
22625 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
22626
22627         [BZ #14154]
22628         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
22629         approximation for values within 0x1p-13f of an odd multiple of
22630         pi/4.
22631         * math/libm-test.inc (tan_test): Do not allow spurious underflow
22632         exception.  Add more tests.
22633         * sysdeps/i386/fpu/libm-test-ulps: Update.
22634
22635         [BZ #6778]
22636         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
22637         inputs and return -1 for them.  Do not check for +Inf in case not
22638         reachable for +Inf.
22639         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
22640         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
22641         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
22642         and return -1 for them.  Do not check for +Inf in case not
22643         reachable for +Inf.
22644         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
22645         define.
22646         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
22647         and return -1 for them.  Do not check for +Inf in case not
22648         reachable for +Inf.
22649         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
22650         spurious underflow.
22651         * sysdeps/i386/fpu/libm-test-ulps: Update.
22652         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22653
22654 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
22655
22656         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
22657
22658 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
22659
22660         [BZ #14157]
22661         [BZ #14331]
22662         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
22663         could result in spurious underflow.  Scale down values above
22664         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
22665         * math/s_csqrtf.c (__csqrtf): Likewise.
22666         * math/s_csqrtl.c (__csqrtl): Likewise.
22667         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
22668         spurious underflow.
22669         * sysdeps/i386/fpu/libm-test-ulps: Update.
22670         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22671
22672 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
22673
22674         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
22675         xopen-msg.sed.
22676         * catgets/xopen-msg.awk: New file.
22677         * catgets/xopen-msg.sed: Removed.
22678
22679         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
22680         po2text.sed.
22681         * intl/po2test.awk: New file.
22682         * intl/po2test.sed: Removed.
22683
22684 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
22685
22686         [BZ #14328]
22687         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
22688         or multiply small sinh result by itself.
22689         * math/s_ctanf.c (__ctanf): Likewise.
22690         * math/s_ctanh.c (__ctanh): Likewise.
22691         * math/s_ctanhf.c (__ctanhf): Likewise.
22692         * math/s_ctanhl.c (__ctanhl): Likewise.
22693         * math/s_ctanl.c (__ctanl): Likewise.
22694         * math/libm-test.inc (ctan_test_tonearest): New function.
22695         (ctan_test_towardzero): Likewise.
22696         (ctan_test_downward): Likewise.
22697         (ctan_test_upward): Likewise.
22698         (ctanh_test_tonearest): Likewise.
22699         (ctanh_test_towardzero): Likewise.
22700         (ctanh_test_downward): Likewise.
22701         (ctanh_test_upward): Likewise.
22702         (main): Call these new functions.
22703         * sysdeps/i386/fpu/libm-test-ulps: Update.
22704         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22705
22706 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
22707
22708         * .gitignore: Delete /ports entry.
22709
22710 2012-07-03  Andreas Jaeger  <aj@suse.de>
22711
22712         * po/bg.po: Update from translation team.
22713         * po/cs.po: Likewise.
22714         * po/de.po: Likewise.
22715         * po/hr.po: Likewise.
22716         * po/nl.pl: Likewise.
22717         * po/pl.po: Likewise.
22718         * po/vi.po: Likewise.
22719
22720 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
22721
22722         * Makeconfig [!+link] (+link-before-libc): New variable.
22723         [!+link] (+link-after-libc): Likewise.
22724         [!+link] (+link-tests): Likewise.
22725         [!+link] (+link): Define in terms of $(+link-before-libc) and
22726         $(+link-after-libc).
22727         [!+link-static] (+link-static-before-libc): New variable.
22728         [!+link-static] (+link-static-after-libc): Likewise.
22729         [!+link-static] (+link-static-tests): Likewise.
22730         [!+link-static] (+link-static): Define in terms of
22731         $(+link-static-before-libc) and $(+link-static-after-libc).
22732         [build-shared] (link-libc-before-gnulib): New variable.
22733         [build-shared] (link-libc-tests): Likewise.
22734         [build-shared] (link-libc): Define in terms of
22735         $(link-libc-before-gnulib).
22736         [!build-shared] (link-libc-tests): New variable.
22737         (link-libc-static-tests): New variable.
22738         [!gnulib] (gnulib-arch): New variable.
22739         [!gnulib] (gnulib-tests): Likewise.
22740         [!gnulib] (static-gnulib-arch): Likewise.
22741         [!gnulib] (static-gnulib-tests): Likewise.
22742         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
22743         Define with "=" instead of ":=".
22744         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
22745         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
22746         * Rules (binaries-all-notests): New variable.
22747         (binaries-all-tests): Likewise.
22748         (binaries-static-notests): Likewise.
22749         (binaries-static-tests): Likewise.
22750         (binaries-all): Define using $(binaries-all-notests) and
22751         $(binaries-all-tests).
22752         (binaries-static): Define using $(binaries-static-notests) and
22753         $(binaries-static-tests).
22754         (binaries-shared-tests): New variable.
22755         (binaries-shared-notests): Likewise.
22756         (binaries-shared): Remove variable.
22757         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
22758         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
22759         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
22760         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
22761         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
22762         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
22763         * elf/Makefile (sln-modules): New variable.
22764         (extra-objs): Add $(sln-modules:=.o).
22765         (ldconfig-modules): Add static-stubs.
22766         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
22767         * elf/static-stubs.c: New file.
22768
22769         [BZ #14283]
22770         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
22771         by 7 not 8 to examine high bit of fractional part.  Use volatile
22772         variables when splitting into final array of floats if
22773         __FLT_EVAL_METHOD__ != 0.
22774         * math/libm-test.inc (cos_test): Add another test.
22775         (sin_test): Likewise.
22776         * sysdeps/i386/fpu/libm-test-ulps: Update.
22777
22778         [BZ #14273]
22779         * math/libm-test.inc (cosh_test): Add more tests.
22780
22781         * version.h (RELEASE): Set to "development".
22782         (VERSION): Set to "2.16.90".
22783
22784 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
22785
22786         * NEWS: Update copyright. Remove last-updated date.
22787         Mention math library bug fixes and timezone data changes.
22788         * README: Mention GNU/Hurd, x32, and HPPA support status.
22789
22790 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
22791
22792         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
22793
22794 2012-06-27  Andreas Jaeger  <aj@suse.de>
22795
22796         * manual/contrib.texi (Contributors): Add Samuel Thibault.
22797
22798 2012-06-25  Andreas Jaeger  <aj@suse.de>
22799
22800         * sysdeps/s390/fpu/libm-test-ulps: Update.
22801
22802 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
22803             Thomas Schwinge  <thomas@codesourcery.com>
22804
22805         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
22806         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
22807         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
22808         fanotify_mark.
22809
22810 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
22811
22812         * sysdeps/mach/start.c: Remove file.
22813         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
22814         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
22815         * sysdeps/sh/init-first.c: Likewise.
22816
22817         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
22818         registers for frame unwinding purposes, add CFI directives.
22819         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
22820         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
22821         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
22822         Likewise.
22823
22824         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
22825         __fortify_fail returning.
22826         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
22827
22828         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
22829         sysdeps/sh/____longjmp_chk.S.
22830         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
22831         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
22832         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
22833         (gen-as-const-headers): Append sigaltstack-offsets.sym.
22834
22835         * sysdeps/sh/abort-instr.h: New file.
22836         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
22837         process in case exit returns.
22838
22839         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
22840         initialize the GOT register before use.
22841
22842         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
22843         calculation of ARGC > 4.
22844
22845         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
22846         meaningful names to some local labels.
22847
22848 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
22849             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
22850
22851         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
22852         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
22853         (__arch_compare_and_exchange_val_16_acq): Likewise.
22854         (__arch_compare_and_exchange_val_32_acq): Likewise.
22855         (atomic_exchange_and_add): Fix gUSA sequence.
22856         (atomic_add): Likewise.
22857         (atomic_add_negative): Likewise.
22858         (atomic_add_zero): Likewise.
22859         (atomic_bit_test_set): Likewise.
22860
22861 2012-06-22  Andreas Schwab  <schwab@redhat.com>
22862
22863         [BZ #13579]
22864         * include/link.h (struct link_map): Add l_free_initfini.
22865         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
22866         l_initfini.
22867         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
22868         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
22869         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
22870         set.
22871
22872 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
22873
22874         * configure.in: Use AC_LANG_SOURCE.
22875         * configure: Regenerate.
22876
22877 2012-06-22  Roland McGrath  <roland@hack.frob.com>
22878
22879         * configure.in (libc_cv_localstatedir): New substituted variable.
22880         * configure: Regenerated.
22881         * config.make.in (localstatedir): New variable, substituted from
22882         libc_cv_localstatedir.
22883         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
22884         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
22885         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
22886         * sysdeps/gnu/configure: Regenerated.
22887
22888 2012-06-21  Jeff Law  <law@redhat.com>
22889
22890         [BZ #14277]
22891         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
22892         free.  Simplify list management for _LIBC case.
22893
22894 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
22895
22896         [BZ #14273]
22897         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
22898         Clear sign bit of 64-bit integer value before comparing against
22899         overflow value.
22900
22901         * sysdeps/mach/configure: Regenerated.
22902
22903 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
22904
22905         [BZ #14278]
22906         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
22907
22908 2012-06-21  Jeff Law  <law@redhat.com>
22909
22910         [BZ #13882]
22911         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
22912         uint16_t for elements in the "seen" array to avoid char overflows.
22913         * elf/dl-fini.c (_dl_sort_fini): Likewise.
22914         * elf/dl-open.c (dl_open_worker): Likewise.
22915
22916 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
22917
22918         * scripts/list-sources.sh: Scan PORTS for translations.
22919         * po/libc.pot: Regenerated.
22920
22921 2012-06-21  Andreas Jaeger  <aj@suse.de>
22922
22923         [BZ #12194]
22924         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
22925         warning.
22926         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
22927         * bits/byteswap-16.h (__bswap_16): Likewise.
22928         * bits/byteswap.h (__bswap_constant_16): Likewise.
22929
22930 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
22931
22932         [BZ #14117]
22933         * sysdeps/i386/fpu_control.h: Removed.
22934         * sysdeps/x86_64/fpu_control.h: Moved to ...
22935         * sysdeps/x86/fpu_control.h: Here.
22936
22937         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
22938         (_FPU_SETCW): Likewise.
22939
22940 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
22941
22942         [BZ #14117]
22943         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
22944         * sysdeps/x86/fpu/bits/mathinline.h: This.
22945         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
22946
22947         [BZ #14050]
22948         [BZ #14117]
22949         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
22950         functions if __x86_64__ is defined.
22951
22952 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
22953
22954         * string/endian.h: Add !__ASSEMBLER__ condition for including
22955         conversion interfaces.
22956
22957 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
22958
22959         [BZ #14241]
22960         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
22961         of ABS(x) in calculating zero to negative powers other than odd
22962         integers.
22963         * math/libm-test.inc (pow_test): Add more tests.
22964
22965 2012-06-15  Andreas Jaeger  <aj@suse.de>
22966
22967         * manual/contrib.texi (Contributors): Update entry of Liubov
22968         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
22969         Machado Filho.
22970
22971 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
22972
22973         * string/string.h: Add __wur to GNU version of strerror_r.
22974
22975 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
22976
22977         [BZ #14229]
22978         * string/Makefile (tests): Add tst-strtok_r.
22979         * string/tst-strtok_r.c: New file.
22980         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
22981         RAX_LP/RDX_LP on SAVE_PTR.
22982
22983 2012-06-14  Roland McGrath  <roland@hack.frob.com>
22984
22985         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
22986
22987 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
22988
22989         * libm_test.inc (csqrt_test): Allow more spurious underflow
22990         exceptions.
22991         (j0_test): Likewise.
22992         (j1_test): Likewise.
22993         (y0_test): Likewise.
22994         (y1_test): Likewise.
22995
22996 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
22997
22998         * po/Makefile (libc.pot): Use UTF-8 charset.
22999
23000 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
23001
23002         [BZ #14210]
23003         Suppress sign-conversion warning from FD_SET.
23004         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
23005         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
23006         not unsigned long int.
23007         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
23008
23009 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
23010
23011         [BZ #14050]
23012         [BZ #14117]
23013         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
23014         __extern_always_inline instead of __extern_inline.
23015         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
23016         (__signbit): Likewise.
23017         (__signbitl): Support C++ namespace.
23018         (lrintf): New inline function.
23019         (lrint): Likewise.
23020         (llrintf): Likewise.
23021         (llrint): Likewise.
23022         (fmaxf): Likewise.
23023         (fmax): Likewise.
23024         (fminf): Likewise.
23025         (fmin): Likewise.
23026         (rint): Likewise.
23027         (rintf): Likewise.
23028         (ceil): Likewise.
23029         (ceilf): Likewise.
23030         (floor): Likewise.
23031         (floorf): Likewise.
23032         (nearbyint): Likewise.
23033         (nearbyintf): Likewise.
23034
23035 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
23036
23037         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
23038         non-default versions.
23039
23040 2012-06-11  Roland McGrath  <roland@hack.frob.com>
23041
23042         [BZ #14218]
23043         * manual/argp.texi (Argp): Reword argp_parse description slightly.
23044
23045 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
23046
23047         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
23048         (FE_UPWARD, FE_DOWNWARD): Don't define.
23049         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
23050         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
23051
23052         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
23053         reading it.
23054         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
23055         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
23056
23057 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
23058
23059         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
23060         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
23061         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
23062         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
23063
23064 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
23065
23066         [BZ #14117]
23067         * sysdeps/i386/fpu/bits/fenv.h: Removed.
23068         * sysdeps/i386/fpu/Implies: New file.
23069         * sysdeps/x86_64/fpu/Implies: Likewise.
23070         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
23071         * sysdeps/x86/fpu/bits/fenv.h: This.
23072
23073         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
23074         __SSE_MATH__.
23075
23076 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
23077
23078         [BZ #14134]
23079         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
23080         character 0xffff that matches the last element of the
23081         conversion table.
23082
23083 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23084
23085         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
23086         fmodl commit.
23087
23088 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23089
23090         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
23091         values higher than 25.6283.
23092
23093 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23094
23095         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
23096         subnormal exponent extraction and add some __builtin_expect.
23097         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
23098         Fix for subnormal mantissa calculation.
23099
23100 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
23101
23102         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
23103         cpu2 is -1 and errno is not ENOSYS.
23104
23105 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
23106
23107         [BZ #14117]
23108         * sysdeps/i386/i486/bits/string.h: Renamed to ...
23109         * sysdeps/x86/bits/string.h: This.
23110         * sysdeps/x86_64/bits/string.h: Removed.
23111
23112         * sysdeps/i386/i486/bits/string.h: Define inline functions only
23113         if not compiling for x86-64, but compiling for >= i486.
23114
23115         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
23116         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
23117
23118         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
23119         New macro from Linux kernel 3.4.0.
23120         (FP_XSTATE_MAGIC2): Likewise.
23121         (FP_XSTATE_MAGIC2_SIZE): Likewise.
23122         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
23123         (struct _fpx_sw_bytes): New struct.
23124         (struct _xsave_hdr): Likewise.
23125         (struct _ymmh_state): Likewise.
23126         (struct _xstate): Likewise.
23127
23128         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
23129         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
23130         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
23131         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
23132         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
23133         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
23134
23135         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
23136         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
23137         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
23138         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
23139         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
23140         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
23141
23142 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
23143
23144         [BZ #13743]
23145         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
23146         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
23147         (sysdep_headers): Include sys/platform/ppc.h.
23148         * sysdeps/powerpc/test-gettimebase.c: Test for
23149         __ppc_get_timebase() to catch future ISA opcode/insn changes.
23150         * manual/Makefile (appendices): Include platform.texi.
23151         * manual/contrib.texi (Contributors): Update @node pointers.
23152         * manual/maint.texi (Maintenance): Likewise.
23153         (Platform): New node.
23154         * manual/platform.texi: New file.  Document the new features.
23155
23156 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
23157             Jakub Jelinek  <jakub@redhat.com>
23158
23159         [BZ #14188]
23160         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
23161         where __builtin_expect is unavailable.
23162
23163 2012-06-03  David S. Miller  <davem@davemloft.net>
23164
23165         * stdlib/longlong.h: Updated from GCC.
23166
23167 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
23168
23169         [BZ #14042]
23170         * sysdeps/powerpc/powerpc32/mcount.c: New file.
23171         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
23172         __mcount_internal.
23173         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
23174         (GLIBC_2.16): Likewise.
23175
23176 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
23177
23178         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
23179
23180 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
23181
23182         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
23183         (default-abi): New variable.
23184         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
23185         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
23186         variable.
23187         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
23188         Likewise.
23189         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
23190         Likewise.
23191         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
23192         Likewise.
23193
23194         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
23195         definition.  Document in comment.
23196
23197 2012-06-01  David S. Miller  <davem@davemloft.net>
23198
23199         * stdlib/longlong.h: Updated from GCC.
23200
23201 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
23202
23203         [BZ #14117]
23204         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
23205         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
23206         sys/debugreg.h sys/io.h here.
23207         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
23208         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
23209         sys/io.h.
23210         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
23211         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
23212         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
23213         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
23214         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
23215         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
23216
23217         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
23218         Define only if __x86_64__ is defined.
23219
23220 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
23221
23222         [BZ #14048]
23223         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
23224         Use int64_t for variable i.
23225         * math/libm-test.inc (fmod_test): Add more tests.
23226
23227         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
23228         z computation is not scheduled after fetestexcept.
23229         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
23230         Use math_force_eval instead of asm to ensure calculation scheduled
23231         before exception test.
23232         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
23233         Ensure a1 + u.d computation is not scheduled after fetestexcept.
23234
23235 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
23236
23237         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
23238         computation is not scheduled after fetestexcept.
23239
23240 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
23241
23242         [BZ #14117]
23243         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
23244         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
23245
23246 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23247
23248         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
23249         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
23250
23251 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
23252
23253         [BZ #14117]
23254         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
23255         <bits/wordsize.h>.
23256         (__WCHAR_MIN): Support __WORDSIZE == 64.
23257         (__WCHAR_MAX): Likewise.
23258
23259         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
23260         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
23261
23262         [BZ #14183]
23263         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
23264         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
23265
23266         [BZ #14117]
23267         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
23268         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
23269
23270         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
23271         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
23272
23273         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
23274         Defined to 1 if __x86_64__ isn't defined.
23275         (_STAT_VER_LINUX_OLD): New.
23276         (st_atime): Remove duplicate.
23277         (st_mtime): Likewise.
23278         (st_ctime): Likewise.
23279
23280 2012-05-31  David S. Miller  <davem@davemloft.net>
23281
23282         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
23283         entries.
23284
23285 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
23286
23287         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
23288         gen-libm-test.pl.
23289
23290         [BZ #14132]
23291         * elf/dl-reloc.c: Include <_itoa.h>.
23292         (_dl_reloc_bad_type): Remove use of INTUSE.
23293         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
23294         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
23295         * stdio-common/psiginfo.c (psiginfo): Likewise.
23296         * stdio-common/psignal.c (psignal): Likewise.
23297         * string/strsignal.c (strsignal): Likewise.
23298         * include/signal.h (_sys_siglist): Declare hidden proto.
23299         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
23300         INTVARDEF with libc_hidden_data_def.
23301         * stdio-common/itoa-udigits.c: Likewise.
23302         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
23303         (_itoa_lower_digits_internal): Remove declaration.
23304         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
23305         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
23306         (_sys_sigabbrev_internal): Remove aliases.
23307         (_sys_siglist): Define hidden alias.
23308
23309 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
23310
23311         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
23312         bits/sysctl.h.
23313
23314 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
23315
23316         [BZ #14117]
23317         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
23318         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
23319
23320         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
23321         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
23322         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
23323         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
23324         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
23325         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
23326
23327         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
23328         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
23329         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
23330
23331         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
23332         with __addr.
23333         (insw): Likewise.
23334         (insl): Likewise.
23335         (outsb): Likewise.
23336         (outsw): Likewise.
23337         (outsl): Likewise.
23338
23339         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
23340         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
23341         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
23342
23343         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
23344         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
23345         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
23346         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
23347         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
23348         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
23349
23350         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
23351         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
23352
23353         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
23354         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
23355
23356         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
23357         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
23358         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
23359
23360         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
23361         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
23362         to ...
23363         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
23364
23365         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
23366         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
23367         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
23368
23369         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
23370         for x86-64.
23371         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
23372
23373 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
23374
23375         * math/math.h (M_El): Use two more decimal places.
23376         (M_LOG2El): Likewise.
23377         (M_LOG10El): Likewise.
23378         (M_LN2l): Likewise.
23379         (M_LN10l): Likewise.
23380         (M_PIl): Likewise.
23381         (M_PI_2l): Likewise.
23382         (M_PI_4l): Likewise.
23383         (M_1_PIl): Likewise.
23384         (M_2_PIl): Likewise.
23385         (M_2_SQRTPIl): Likewise.
23386         (M_SQRT2l): Likewise.
23387         (M_SQRT1_2l): Likewise.
23388
23389 2012-05-31  David S. Miller  <davem@davemloft.net>
23390
23391         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
23392         values between float registers.
23393         * sysdeps/sparc/sparc64/memset.S: Likewise.
23394         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
23395
23396 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
23397
23398         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
23399         -D_FORTIFY_SOURCE=1.
23400         (CPPFLAGS-tst-longjmp_chk.c): Define.
23401         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
23402         (CPPFLAGS-tst-longjmp_chk2.c): Define.
23403         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
23404         CFLAGS-tst-wchar-h.c.
23405
23406 2012-05-31  Marek Polacek  <polacek@redhat.com>
23407
23408         [BZ #14132]
23409         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
23410         __endmntent_internal): Remove declaration.
23411         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
23412         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
23413         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
23414
23415 2012-05-30  David S. Miller  <davem@davemloft.net>
23416
23417         * sysdeps/sparc/sparc32/soft-fp/q_util.c
23418         (___Q_simulate_exceptions): Use real FP ops rather than writing
23419         into the %fsr.
23420         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
23421         Likewise.
23422
23423 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
23424
23425         [BZ #14117]
23426         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
23427         * sysdeps/x86/bits/xtitypes.h: This.
23428
23429         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
23430         * sysdeps/x86/bits/wordsize.h: This.
23431
23432         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
23433         * sysdeps/x86/bits/huge_vall.h: This.
23434
23435         * sysdeps/i386/bits/select.h: Removed.
23436         * sysdeps/x86_64/bits/select.h: Renamed to ...
23437         * sysdeps/x86/bits/select.h: This.
23438
23439         * sysdeps/i386/bits/setjmp.h: Removed.
23440         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
23441         * sysdeps/x86/bits/setjmp.h: This.
23442
23443         * sysdeps/i386/bits/mathdef.h: Removed.
23444         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
23445         * sysdeps/x86/bits/mathdef.h: This.
23446
23447 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
23448
23449         [BZ #14132]
23450         * include/sys/socket.h (__connect_internal)
23451         (__libc_sa_len_internal): Remove declaration.
23452         (__connect, __libc_sa_len): Declare hidden_proto.
23453         (SA_LEN): Remove use of INTUSE.
23454         * socket/connect.c: Add libc_hidden_def.
23455         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
23456         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
23457         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
23458         alias.
23459         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
23460         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
23461         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
23462         of adding _internal alias.
23463
23464 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
23465
23466         [BZ #14117]
23467         * sysdeps/i386/bits/link.h: Removed.
23468         * sysdeps/i386/bits/linkmap.h: Likewise.
23469         * sysdeps/x86_64/bits/link.h: Renamed to ...
23470         * sysdeps/x86/bits/link.h: This.
23471         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
23472         * sysdeps/x86/bits/linkmap.h: This.
23473
23474         * sysdeps/i386/bits/endian.h: Removed.
23475         * sysdeps/x86_64/bits/endian.h: Renamed to ...
23476         * sysdeps/x86/bits/endian.h: This.
23477
23478         * sysdeps/i386/bits/byteswap.h: Removed.
23479         * sysdeps/i386/bits/byteswap-16.h: Likewise.
23480         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
23481         * sysdeps/x86/bits/byteswap.h: This.
23482         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
23483         * sysdeps/x86/bits/byteswap-16.h: This.
23484         * sysdeps/i386/Implies: Add x86.
23485         * sysdeps/x86_64/Implies: Likewise.
23486
23487 2012-05-30  David S. Miller  <davem@davemloft.net>
23488
23489         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
23490         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
23491         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
23492         (FP_TRAPPING_EXCEPTIONS): Define.
23493         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
23494         (FP_TRAPPING_EXCEPTIONS): Define.
23495         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
23496         subnormals only when inexact has been signalled or underflow
23497         exceptions are enabled.
23498         (_FP_PACK_CANONICAL): Likewise.
23499
23500 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
23501
23502         [BZ #14183]
23503         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
23504         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
23505
23506 2012-05-30  Richard Henderson  <rth@twiddle.net>
23507
23508         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
23509         with #ifndef NOT_IN_libc.
23510
23511         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
23512         marked to avoid plt entry.
23513
23514 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
23515
23516         [BZ #14112]
23517         * Makeconfig (default-abi): New macro.
23518         (abi-includes): Likewise.
23519         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
23520         $(abi-$(default-abi)-lib-soname) for soname if defined.
23521         ($(common-objpfx)gnu/lib-names.stmp): Generate from
23522         abi-variants.
23523         * Makefile (installed-stubs): Likewise.
23524         * include/stubs-biarch.h: Removed.
23525         * scripts/lib-names.awk: Only handle one library at a time.
23526         * scripts/soversions.awk: Remove WORDSIZE support.
23527         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
23528         entries.
23529         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
23530         Removed.
23531         (syscall-list-default-condition): Likewise.
23532         (syscall-list-default-condition): Likewise.
23533         (syscall-list-includes): Likewise.
23534         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
23535         syscall-list-* with abi-*.  Handle undefined abi-variants.
23536         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
23537         * sysdeps/unix/sysv/linux/i386/Implies: New file.
23538         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
23539         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
23540         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
23541         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
23542         Removed.
23543         (syscall-list-32-options): Likewise.
23544         (syscall-list-32-condition): Likewise.
23545         (syscall-list-64-options): Likewise.
23546         (syscall-list-64-condition): Likewise.
23547         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
23548         macro.
23549         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
23550         Renamed to ...
23551         (abi-*): This.
23552         (abi-64-ld-soname): New macro.
23553         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
23554         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
23555         Renamed to ...
23556         (abi-*): This.
23557         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
23558         * sysdeps/x86_64/x32/shlib-versions: Likewise.
23559
23560 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
23561
23562         * sysdeps/unix/sysv/linux/kernel-features.h
23563         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
23564         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
23565         include <kernel-features.h>.
23566         [!__NR_ftruncate64]: Remove conditional code.
23567         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
23568         [__NR_ftruncate64]: Make code unconditional.
23569         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
23570         * sysdeps/unix/sysv/linux/truncate64.c: Do not
23571         include <kernel-features.h>.
23572         [!__NR_ftruncate64]: Remove conditional code.
23573         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
23574         [__NR_ftruncate64]: Make code unconditional.
23575         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
23576         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
23577         include <kernel-features.h>.
23578         [!__NR_ftruncate64]: Remove conditional code.
23579         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
23580         [__NR_ftruncate64]: Make code unconditional.
23581         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
23582         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
23583         include <kernel-features.h>.
23584         [!__NR_ftruncate64]: Remove conditional code.
23585         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
23586         [__NR_ftruncate64]: Make code unconditional.
23587         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
23588
23589         * configure.in (libc_cv_fpie): Weaken to a compile test using
23590         LIBC_TRY_CC_OPTION.
23591         * configure: Regenerated.
23592
23593 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
23594
23595         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
23596         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
23597         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
23598         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
23599         Refreshed.
23600         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
23601         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
23602         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
23603         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
23604         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
23605         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
23606         Refreshed.
23607
23608 2012-05-27  David S. Miller  <davem@davemloft.net>
23609
23610         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
23611         (___Q_zero): New.
23612         (__Q_simulate_exceptions): Return void.  Change to simulate
23613         exceptions by writing into the %fsr.
23614         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
23615         (__Qp_handle_exceptions): Likewise.
23616         (numbers): Delete.
23617         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
23618         __Qp_handle_exceptions.
23619         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
23620         __Qp_handle_exceptions.
23621         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
23622         as unused and give dummy FP_RND_NEAREST initializer.
23623         (FP_INHIBIT_RESULTS): Define.
23624         (___Q_simulate_exceptions): Update declaration.
23625         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
23626         formatting.
23627         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
23628         as unused and give dummy FP_RND_NEAREST initializer.
23629         (__Qp_handle_exceptions): Update declaration.
23630         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
23631         formatting.
23632
23633 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
23634
23635         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
23636         the temporary FPU control word.
23637         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
23638         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
23639         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
23640         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
23641         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
23642         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
23643         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
23644         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
23645         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
23646         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
23647         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
23648
23649 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
23650
23651         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
23652         fields.
23653
23654 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
23655
23656         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
23657         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
23658         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
23659         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
23660         Likewise.
23661         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
23662         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
23663         Likewise.
23664
23665 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
23666
23667         * po/h.po: Update from translation team.
23668
23669 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
23670
23671         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
23672
23673         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
23674         handling of denormals.
23675         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
23676         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
23677         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
23678         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
23679         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
23680         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
23681         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
23682         Likewise.
23683
23684 2012-05-26  Marek Polacek  <polacek@redhat.com>
23685
23686         [BZ #14152]
23687         * math/libm-test.inc (fma_test): Don't always expect underflow
23688         exception.
23689
23690 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
23691
23692         [BZ #12416]
23693         * elf/tst-execstack.c: Include stackinfo.h.
23694         (do_test): Adjust test case to ensure that pthread_getattr_np
23695         behaviour remains the same after marking stack executable.
23696
23697 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
23698
23699         * sysdeps/unix/sysv/linux/kernel-features.h
23700         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
23701         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
23702         kernel-features.h.
23703         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
23704         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
23705         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
23706         kernel-features.h.
23707         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
23708         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
23709
23710 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
23711
23712         * configure.in: Define the default includes to being none.
23713         * configure: Regenerated.
23714
23715 2012-05-25  Roland McGrath  <roland@hack.frob.com>
23716
23717         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
23718         * sysdeps/x86_64/setjmp.S: Likewise.
23719         * sysdeps/i386/bsd-setjmp.S: Likewise.
23720         * sysdeps/i386/bsd-_setjmp.S: Likewise.
23721         * sysdeps/i386/setjmp.S: Likewise.
23722         * sysdeps/i386/__longjmp.S: Likewise.
23723         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
23724         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
23725
23726         * include/stap-probe.h: New file.
23727         * configure.in: Handle --enable-systemtap.
23728         * configure: Regenerated.
23729         * config.h.in (USE_STAP_PROBE): New #undef.
23730         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
23731         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
23732         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
23733
23734 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
23735
23736         [BZ #13717]
23737         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
23738         to 2.4.0 where earlier.
23739         * sysdeps/unix/sysv/linux/configure: Regenerated.
23740         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
23741         <kernel-features.h>.
23742         [__ASSUME_32BITUIDS]: Make code unconditional.
23743         [!__ASSUME_32BITUIDS]: Remove conditional code.
23744         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
23745         <kernel-features.h>.
23746         [__ASSUME_32BITUIDS]: Make code unconditional.
23747         [!__ASSUME_32BITUIDS]: Remove conditional code.
23748         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
23749         [__ASSUME_32BITUIDS]: Make code unconditional.
23750         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
23751         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
23752         <kernel-features.h>.
23753         [__ASSUME_32BITUIDS]: Make code unconditional.
23754         [!__ASSUME_32BITUIDS]: Remove conditional code.
23755         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
23756         <kernel-features.h>.
23757         [__ASSUME_32BITUIDS]: Make code unconditional.
23758         [!__ASSUME_32BITUIDS]: Remove conditional code.
23759         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
23760         <kernel-features.h>.
23761         [__ASSUME_32BITUIDS]: Make code unconditional.
23762         [!__ASSUME_32BITUIDS]: Remove conditional code.
23763         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
23764         <kernel-features.h>.
23765         [__ASSUME_32BITUIDS]: Make code unconditional.
23766         [!__ASSUME_32BITUIDS]: Remove conditional code.
23767         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
23768         <kernel-features.h>.
23769         [__ASSUME_32BITUIDS]: Make code unconditional.
23770         [!__ASSUME_32BITUIDS]: Remove conditional code.
23771         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
23772         <kernel-features.h>.
23773         [__ASSUME_32BITUIDS]: Make code unconditional.
23774         [!__ASSUME_32BITUIDS]: Remove conditional code.
23775         * sysdeps/unix/sysv/linux/i386/getuid.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/lchown.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/msgctl.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/semctl.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/setegid.c: Do not include
23792         <kernel-features.h>.
23793         [__NR_setresgid] (__setresgid): Do not declare.
23794         [__ASSUME_32BITUIDS]: Make code unconditional.
23795         [!__ASSUME_32BITUIDS]: Remove conditional code.
23796         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
23797         <kernel-features.h>.
23798         [__NR_setresuid] (__setresuid): Do not declare.
23799         [__ASSUME_32BITUIDS]: Make code unconditional.
23800         [!__ASSUME_32BITUIDS]: Remove conditional code.
23801         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
23802         <kernel-features.h>.
23803         [__ASSUME_32BITUIDS]: Make code unconditional.
23804         [!__ASSUME_32BITUIDS]: Remove conditional code.
23805         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
23806         <kernel-features.h>.
23807         [__ASSUME_32BITUIDS]: Make code unconditional.
23808         [!__ASSUME_32BITUIDS]: Remove conditional code.
23809         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
23810         <kernel-features.h>.
23811         [__ASSUME_32BITUIDS]: Make code unconditional.
23812         [!__ASSUME_32BITUIDS]: Remove conditional code.
23813         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
23814         <kernel-features.h>.
23815         [__ASSUME_32BITUIDS]: Make code unconditional.
23816         [!__ASSUME_32BITUIDS]: Remove conditional code.
23817         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
23818         <kernel-features.h>.
23819         [__ASSUME_32BITUIDS]: Make code unconditional.
23820         [!__ASSUME_32BITUIDS]: Remove conditional code.
23821         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
23822         <kernel-features.h>.
23823         [__ASSUME_32BITUIDS]: Make code unconditional.
23824         [!__ASSUME_32BITUIDS]: Remove conditional code.
23825         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
23826         <kernel-features.h>.
23827         [__ASSUME_32BITUIDS]: Make code unconditional.
23828         [!__ASSUME_32BITUIDS]: Remove conditional code.
23829         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
23830         <kernel-features.h>.
23831         [__ASSUME_32BITUIDS]: Make code unconditional.
23832         [!__ASSUME_32BITUIDS]: Remove conditional code.
23833         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
23834         <kernel-features.h>.
23835         [__ASSUME_32BITUIDS]: Make code unconditional.
23836         [!__ASSUME_32BITUIDS]: Remove conditional code.
23837         * sysdeps/unix/sysv/linux/i386/shmctl.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/kernel-features.h
23842         (__ASSUME_SETRESUID_SYSCALL): Remove.
23843         (__ASSUME_SETRESGID_SYSCALL): Likewise.
23844         (__ASSUME_32BITUIDS): Likewise.
23845         (__ASSUME_LDT_WORKS): Likewise.
23846         (__ASSUME_O_DIRECTORY): Likewise.
23847         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
23848         architecture but not kernel version.
23849         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
23850         (__ASSUME_MMAP2_SYSCALL): Likewise.
23851         (__ASSUME_STAT64_SYSCALL): Likewise.
23852         (__ASSUME_IPC64): Likewise.
23853         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
23854         <kernel-features.h>.
23855         [__ASSUME_32BITUIDS]: Make code unconditional.
23856         [!__ASSUME_32BITUIDS]: Remove conditional code.
23857         * sysdeps/unix/sysv/linux/opendir.c: Do not include
23858         <kernel-features.h>.
23859         [__ASSUME_O_DIRECTORY]: Make code unconditional.
23860         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
23861         132096]: Remove conditional code.
23862         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
23863         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
23864         <kernel-features.h>.
23865         [__ASSUME_32BITUIDS]: Make code unconditional.
23866         [!__ASSUME_32BITUIDS]: Remove conditional code.
23867         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
23868         <kernel-features.h>.
23869         [__ASSUME_32BITUIDS]: Make code unconditional.
23870         [!__ASSUME_32BITUIDS]: Remove conditional code.
23871         * sysdeps/unix/sysv/linux/setegid.c: Do not include
23872         <kernel-features.h>.
23873         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
23874         unconditional.
23875         (__setresgid): Do not declare.
23876         [__ASSUME_32BITUIDS]: Make code unconditional.
23877         [!__ASSUME_32BITUIDS]: Remove conditional code.
23878         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
23879         <kernel-features.h>.
23880         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
23881         unconditional.
23882         (__setresuid): Do not declare.
23883         [__ASSUME_32BITUIDS]: Make code unconditional.
23884         [!__ASSUME_32BITUIDS]: Remove conditional code.
23885         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
23886         <kernel-features.h>.
23887         [__ASSUME_32BITUIDS]: Make code unconditional.
23888         [!__ASSUME_32BITUIDS]: Remove conditional code.
23889         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
23890         <kernel-features.h>.
23891         [__ASSUME_32BITUIDS]: Make code unconditional.
23892         [!__ASSUME_32BITUIDS]: Remove conditional code.
23893
23894 2012-05-25  Richard Henderson  <rth@twiddle.net>
23895
23896         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
23897         dl_hwcap to ifunc resolver.
23898         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
23899         elf_ifunc_invoke.
23900         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
23901         dl_hwcap to ifunc resolver.
23902         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
23903
23904 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
23905
23906         [BZ #14153]
23907         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
23908         for |x| <= 2**-26, not 2**-57.
23909         * math/libm-test.inc (acos_test): Do not allow spurious underflow
23910         exception.
23911
23912 2012-05-24  Jeff Law  <law@redhat.com>
23913
23914         * stdio-common/Makefile (tests): Add bug25.
23915         * stdio-common/bug25.c: New test.
23916
23917 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
23918
23919         [BZ #13576]
23920         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
23921         multiple of MALLOC_ALIGNMENT in size.
23922         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
23923
23924 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
23925
23926         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
23927         Require >= 256.
23928         (FILENAME_MAX): Use macro-int-constant.
23929         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
23930         (_IOFBF): Use macro-int-constant.
23931         (_IOLBF): Likewise.
23932         (_IONBF): Likewise.
23933         (SEEK_CUR): Likewise.
23934         (SEEK_END): Likewise.
23935         (SEEK_SET): Likewise.
23936         (TMP_MAX): Likewise.
23937         (EOF): Use macro-int-constant.  Require < 0.
23938         (NULL): Use macro-constant.  Require == 0.
23939         (stdin): Require type to be FILE *.
23940         (stdout): Likewise.
23941         (stderr): Likewise.
23942         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
23943         macro-int-constant.
23944         (EXIT_SUCCESS): Likewise.
23945         (NULL): Use macro-constant.  Require == 0.
23946         (RAND_MAX): Use macro-int-constant.
23947         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
23948         [C99-based standards] (strtof): Require function.
23949         [C99-based standards] (strtold): Likewise.
23950         [C99-based standards] (strtoll): Likewise.
23951         [C99-based standards] (strtoull): Likewise.
23952         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
23953         [ISO || ISO99 || ISO11] (limits.h): Likewise.
23954         [ISO || ISO99 || ISO11] (math.h): Likewise.
23955         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
23956         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
23957         [ISO || ISO99 || ISO11] (*_t): Do not allow.
23958
23959 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
23960
23961         [BZ #14132]
23962         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
23963         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
23964         * intl/dgettext.c (DCGETTEXT): Likewise.
23965         * intl/gettext.c (DCGETTEXT): Likewise.
23966         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
23967         * posix/regex_internal.h (gettext): Likewise.
23968         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
23969         Remove declaration.
23970         * include/argz.h (__argz_count_internal)
23971         (__argz_stringify_internal): Remove declaration.
23972         (__argz_count, __argz_stringify): Declare hidden proto.
23973         * intl/dcgettext.c: Remove use of INTDEF.
23974         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
23975         * string/argz-stringify.c: Likewise.
23976         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
23977         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
23978         Declare hidden proto.
23979         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
23980         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
23981         Declare hidden proto.
23982         * include/stdio.h (__asprintf_internal): Don't declare.
23983         (__asprintf): Don't define as macro.  Declare hidden proto.
23984         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
23985         (__fsetlocking): Declare hidden proto.
23986         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
23987         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
23988         hidden proto.
23989         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
23990         (_IO_setlinebuf): Remove use of INTUSE.
23991         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
23992         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
23993         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
23994         Remove declaration.
23995         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
23996         (_IO_do_flush): Remove use of INTUSE.
23997         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
23998         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
23999         (_IO_adjust_column, _IO_least_wmarker)
24000         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
24001         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
24002         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
24003         (_IO_default_doallocate, _IO_wdefault_doallocate)
24004         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
24005         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
24006         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
24007         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
24008         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
24009         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
24010         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
24011         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
24012         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
24013         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
24014         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
24015         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
24016         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
24017         proto.
24018         (_IO_flush_all_internal, _IO_adjust_column_internal)
24019         (_IO_default_uflow_internal, _IO_default_finish_internal)
24020         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
24021         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
24022         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
24023         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
24024         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
24025         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
24026         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
24027         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
24028         (_IO_file_close_internal, _IO_file_close_it_internal)
24029         (_IO_file_underflow_internal, _IO_file_overflow_internal)
24030         (_IO_file_init_internal, _IO_file_attach_internal)
24031         (_IO_file_fopen_internal, _IO_file_read_internal)
24032         (_IO_file_sync_internal, _IO_file_seek_internal)
24033         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
24034         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
24035         (_IO_str_underflow_internal, _IO_str_overflow_internal)
24036         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
24037         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
24038         (_IO_list_all_internal, _IO_link_in_internal)
24039         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
24040         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
24041         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
24042         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
24043         (_IO_do_write_internal, _IO_padn_internal)
24044         (_IO_getline_info_internal, _IO_getline_internal)
24045         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
24046         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
24047         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
24048         (_IO_vfscanf_internal, _IO_vfprintf_internal)
24049         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
24050         (_IO_init_internal, _IO_un_link_internal): Don't declare.
24051         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
24052         with libc_hidden_ver, remove use of INTUSE.
24053         * libio/genops.c: Likewise.
24054         * libio/freopen.c: Likewise.
24055         * libio/freopen64.c: Likewise.
24056         * libio/iofclose.c: Likewise.
24057         * libio/iofdopen.c: Likewise.
24058         * libio/iofflush.c: Likewise.
24059         * libio/iofflush_u.c: Likewise.
24060         * libio/iofgets.c: Likewise.
24061         * libio/iofgets_u.c: Likewise.
24062         * libio/iofopen.c: Likewise.
24063         * libio/iofopncook.c: Likewise.
24064         * libio/iofread.c: Likewise.
24065         * libio/iofread_u.c: Likewise.
24066         * libio/ioftell.c: Likewise.
24067         * libio/iofwrite.c: Likewise.
24068         * libio/iogetline.c: Likewise.
24069         * libio/iogets.c: Likewise.
24070         * libio/iogetwline.c: Likewise.
24071         * libio/iopadn.c: Likewise.
24072         * libio/iopopen.c: Likewise.
24073         * libio/ioseekoff.c: Likewise.
24074         * libio/ioseekpos.c: Likewise.
24075         * libio/iosetbuffer.c: Likewise.
24076         * libio/iosetvbuf.c: Likewise.
24077         * libio/ioungetc.c: Likewise.
24078         * libio/ioungetwc.c: Likewise.
24079         * libio/iovdprintf.c: Likewise.
24080         * libio/iovsprintf.c: Likewise.
24081         * libio/iovsscanf.c: Likewise.
24082         * libio/memstream.c: Likewise.
24083         * libio/obprintf.c: Likewise.
24084         * libio/oldfileops.c: Likewise.
24085         * libio/oldiofclose.c: Likewise.
24086         * libio/oldiofdopen.c: Likewise.
24087         * libio/oldiofopen.c: Likewise.
24088         * libio/oldiopopen.c: Likewise.
24089         * libio/oldstdfiles.c: Likewise.
24090         * libio/putc.c: Likewise.
24091         * libio/setbuf.c: Likewise.
24092         * libio/setlinebuf.c: Likewise.
24093         * libio/stdfiles.c: Likewise.
24094         * libio/strops.c: Likewise.
24095         * libio/vasprintf.c: Likewise.
24096         * libio/vscanf.c: Likewise.
24097         * libio/vsnprintf.c: Likewise.
24098         * libio/vswprintf.c: Likewise.
24099         * libio/wfiledoalloc.c: Likewise.
24100         * libio/wfileops.c: Likewise.
24101         * libio/wgenops.c: Likewise.
24102         * libio/wmemstream.c: Likewise.
24103         * libio/wstrops.c: Likewise.
24104         * libio/__fpurge.c: Likewise.
24105         * libio/__fsetlocking.c: Likewise.
24106         * assert/assert.c: Likewise.
24107         * debug/fgets_chk.c: Likewise.
24108         * debug/fgets_u_chk.c: Likewise.
24109         * debug/fread_chk.c: Likewise.
24110         * debug/fread_u_chk.c: Likewise.
24111         * debug/gets_chk.c: Likewise.
24112         * debug/obprintf_chk.c: Likewise.
24113         * debug/vasprintf_chk.c: Likewise.
24114         * debug/vdprintf_chk.c: Likewise.
24115         * debug/vsnprintf_chk.c: Likewise.
24116         * debug/vsprintf_chk.c: Likewise.
24117         * malloc/mtrace.c: Likewise.
24118         * misc/error.c: Likewise.
24119         * misc/syslog.c: Likewise.
24120         * stdio-common/asprintf.c: Likewise.
24121         * stdio-common/fxprintf.c: Likewise.
24122         * stdio-common/getw.c: Likewise.
24123         * stdio-common/isoc99_fscanf.c: Likewise.
24124         * stdio-common/isoc99_scanf.c: Likewise.
24125         * stdio-common/isoc99_vfscanf.c: Likewise.
24126         * stdio-common/isoc99_vscanf.c: Likewise.
24127         * stdio-common/isoc99_vsscanf.c: Likewise.
24128         * stdio-common/printf-prs.c: Likewise.
24129         * stdio-common/printf_fp.c: Likewise.
24130         * stdio-common/printf_fphex.c: Likewise.
24131         * stdio-common/printf_size.c: Likewise.
24132         * stdio-common/putw.c: Likewise.
24133         * stdio-common/scanf.c: Likewise.
24134         * stdio-common/sprintf.c: Likewise.
24135         * stdio-common/tmpfile.c: Likewise.
24136         * stdio-common/vfprintf.c: Likewise.
24137         * stdio-common/vfscanf.c: Likewise.
24138         * stdlib/strfmon_l.c: Likewise.
24139         * sunrpc/openchild.c: Likewise.
24140         * sunrpc/xdr_stdio.c: Likewise.
24141         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
24142         * sysdeps/mach/hurd/tmpfile.c: Likewise.
24143
24144 2012-05-24  Roland McGrath  <roland@hack.frob.com>
24145
24146         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
24147
24148         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
24149         in the third column, to generate for the shared library an IFUNC
24150         that uses _dl_vdso_vsym.
24151         * Makerules (COMPILE.c, compile-stdin.c): New variables.
24152         * Makeconfig (object-suffixes-noshared): New variable.
24153
24154         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
24155         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
24156         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
24157         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
24158
24159         [BZ #14132]
24160         * include/sys/time.h (__gettimeofday): Remove macro.
24161         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
24162         * time/gettimeofday.c (__gettimeofday): Remove #undef.
24163         Remove INTDEF.
24164         (__gettimeofday): Add libc_hidden_def.
24165         (gettimeofday): Add libc_hidden_weak.
24166         * sysdeps/mach/gettimeofday.c: Likewise.
24167         * sysdeps/posix/gettimeofday.c: Likewise.
24168         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
24169         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
24170         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
24171         (__gettimeofday_internal): Remove strong_alias.
24172         (__gettimeofday): Add libc_hidden_def.
24173         (gettimeofday): Add libc_hidden_weak.
24174         * sysdeps/unix/syscalls.list (gettimeofday):
24175         Remove __gettimeofday_internal alias.
24176
24177 2012-05-24  Daniel Jacobowitz  <drow@false.org>
24178             H.J. Lu  <hongjiu.lu@intel.com>
24179
24180         [BZ #12495]
24181         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
24182         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
24183         (largebin_index_32_big): New.
24184         (largebin_index): Use it for 16-byte alignment.
24185         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
24186         correction with front_misalign.
24187
24188 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
24189
24190         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
24191         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
24192         Likewise.
24193         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
24194         Likewise.
24195         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
24196         Likewise.
24197         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
24198         Likewise.
24199         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
24200         Likewise.
24201         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
24202         Likewise.
24203         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
24204         Likewise.
24205         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
24206         Likewise.
24207         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
24208         Likewise.
24209         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
24210         Likewise.
24211         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
24212         Likewise.
24213         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
24214         Likewise.
24215
24216         * scripts/data/c++-types-x32-linux-gnu.data: New file.
24217         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
24218
24219 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
24220
24221         [BZ #10846]
24222         [BZ #14036]
24223         * math/libm-test.inc (exp_test): Add test from bug 14036.
24224         (pow_test): Add test from bug 10846.
24225
24226         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
24227         and other flags.
24228         (special_function): Do not include flags in test name.
24229         (parse_args): Likewise.
24230         * sysdeps/i386/fpu/libm-test-ulps: Update.
24231         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
24232         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
24233         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
24234         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24235
24236         * math/gen-libm-test.pl (%beautify): Add entries for underflow
24237         exceptions.
24238         * math/libm-test.inc ("Philosophy"): Update comment about
24239         exception testing.
24240         (UNDERFLOW_EXCEPTION): New macro.
24241         (UNDERFLOW_EXCEPTION_OK): Likewise.
24242         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
24243         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
24244         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
24245         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
24246         (INVALID_EXCEPTION_OK): Update value.
24247         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
24248         (OVERFLOW_EXCEPTION_OK): Likewise.
24249         (IGNORE_ZERO_INF_SIGN): Likewise.
24250         (test_exceptions): Handle underflow exceptions.
24251         (acos_test): Update for underflow exception expectations.
24252         (cexp_test): Likewise.
24253         (clog_test): Likewise.
24254         (clog10_test): Likewise.
24255         (csqrt_test): Likewise.
24256         (ctan_test): Likewise.
24257         (ctanh_test): Likewise.
24258         (exp_test): Likewise.
24259         (exp10_test): Likewise.
24260         (exp2_test): Likewise.
24261         (expm1_test): Likewise.
24262         (fma_test): Likewise.
24263         (j0_test): Likewise.
24264         (jn_test): Likewise.
24265         (nexttoward_test): Likewise.
24266         (pow_test): Likewise.
24267         (scalbn_test): Likewise.
24268         (scalbln_test): Likewise.
24269         (tan_test): Likewise.
24270         (y1_test): Likewise.
24271         * sysdeps/i386/fpu/libm-test-ulps: Update.
24272         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24273
24274 2012-05-23  David S. Miller  <davem@davemloft.net>
24275
24276         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
24277         (__libc_sigaction): Remove unused local variables.
24278
24279 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
24280
24281         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
24282
24283 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
24284
24285         mktime: avoid signed integer overflow
24286         * time/mktime.c (__mktime_internal): Do not mishandle the case
24287         where diff == INT_MIN.
24288
24289         mktime: simplify computation of average
24290         * time/mktime.c (ranged_convert): Use new time_t_avg function
24291         instead of rolling our own (probably-slower) code.
24292
24293         mktime: do not assume signed right shift propagates sign bit
24294         * time/mktime.c (isdst_differ): New static function.
24295         (__mktime_internal): No need to normalize tm_isdst now.
24296         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
24297         tm_isdst values.
24298
24299         mktime: merge another wrapv change from gnulib
24300         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
24301         from some compilers.
24302
24303         mktime: remove incorrect attempt at unusual arithmetics
24304         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
24305         The code didn't really work on such machines anyway.
24306         (TYPE_MINIMUM): Assume two's complement.
24307         (twos_complement_arithmetic): Verify that long_int and time_t
24308         are two's complement (or unsigned, in the latter case).
24309
24310         mktime: check signed shifts on long_int and time_t, too
24311         * time/mktime.c (SHR): Check that shifts work as desired
24312         on the types long_int and time_t too, as SHR is used on
24313         such types.
24314
24315         mktime: do not assume 'long' is wide enough
24316         * time/mktime.c (verify): Move decl up.
24317         (long_int): New type.
24318         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
24319         to remove assumption in the code that 'long' is wide enough to
24320         store year values.  This assumption is not true on x32 and on
24321         some non-glibc platforms.
24322
24323         mktime: merge wrapv change from gnulib
24324         * time/mktime.c (WRAPV): New macro.
24325         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
24326         (guess_time_tm, __mktime_internal): Do not assume that signed
24327         integer overflow wraps around; modern compilers generate code
24328         where this assumption is no longer valid.
24329
24330 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
24331
24332         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
24333         Replace "jmp L(pseudo_end)" with "ret".
24334         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
24335         Likewise.
24336
24337 2012-05-23  Andreas Jaeger  <aj@suse.de>
24338
24339         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
24340         * sysdeps/unix/sysv/linux/poll.c: Remove file.
24341
24342 2012-05-23  Andreas Jaeger  <aj@suse.de>
24343             Maximilian Attems  <max@stro.at>
24344
24345         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
24346         New macros.
24347
24348 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
24349
24350         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
24351         code so that pseudo_end is just ret and the stack pointer is
24352         correct also for static library in error case.
24353
24354 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
24355
24356         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
24357         move to syscalls.list.
24358         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
24359         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
24360         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
24361         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
24362
24363         * manual/install.texi (Running make install): Do not mention Linux
24364         kernel version for which pt_chown is not needed.
24365         (Linux): Do not mention problems with nscd with 2.0 kernels.
24366         * INSTALL: Regenerated.
24367
24368 2012-05-23  Andreas Jaeger  <aj@suse.de>
24369
24370         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
24371         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
24372         macro.
24373         * sysdeps/unix/sysv/linux/s390/bits/mman.h
24374         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
24375         * sysdeps/unix/sysv/linux/sh/bits/mman.h
24376         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
24377         * sysdeps/unix/sysv/linux/i386/bits/mman.h
24378         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
24379         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
24380         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
24381         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
24382         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
24383         * sysdeps/unix/sysv/linux/bits/in.h
24384         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
24385
24386 2012-05-22  Roland McGrath  <roland@hack.frob.com>
24387
24388         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
24389         (PREPARE_VERSION): Just use assert instead, it will be elided
24390         under [NDEBUG] anyway.
24391
24392 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
24393
24394         * sysdeps/unix/sysv/linux/Makefile: Include
24395         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
24396         (sysdep_routines): Remove sysctl.
24397         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
24398         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
24399         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
24400         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
24401         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
24402
24403 2012-05-22  Andreas Jaeger  <aj@suse.de>
24404
24405         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
24406         that pseudo_end is just ret and the stack pointer is correct also
24407         for static library in error case.
24408
24409 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
24410
24411         [BZ #14122]
24412         * nss/nsswitch.c (defconfig_entries): New variable.
24413         (__nss_database_lookup): Don't leak defconfig entries.
24414         (nss_parse_service_list): Don't leak on error paths.
24415         (free_database_entries): New function.
24416         (free_defconfig): New function.
24417         (free_mem): Move common code to free_database_entries.
24418
24419 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
24420
24421         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
24422         Add arch_prctl.
24423         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
24424
24425         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
24426         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
24427         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
24428         New macro.
24429         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
24430         (INTERNAL_SYSCALL_TYPES): Likewise.
24431         (LOAD_ARGS_TYPES_[1-6]): Likewise.
24432         (LOAD_REGS_TYPES_[1-6]): Likewise.
24433         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
24434         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
24435
24436 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24437
24438         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
24439         copysignl for GLIBC_2_0.
24440         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
24441         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
24442         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
24443         logbl for GLIBC_2_0.
24444         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
24445         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
24446
24447 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
24448
24449         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
24450         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
24451
24452         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
24453         Use "neg %eax".
24454
24455         * time/mktime.c: Update copyright years.
24456
24457 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
24458
24459         mktime: merge comment-quoting-style change from gnulib
24460         * time/mktime.c: Quote 'like this' in comments.
24461         The GNU coding standards suggest that we no longer quote `like this',
24462         as "`" and "'" are typically rendered asymmetrically nowadays.
24463         The typical gnulib style is to quote 'like this' when quoting
24464         code, and "like this" when quoting English.
24465
24466         * time/mktime.c (compile-command): Add "-I.".
24467
24468         mktime: merge mktime-internal.h change from gnulib
24469         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
24470
24471         mktime: merge time_r change from gnulib
24472         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
24473
24474         mktime: merge DEBUG change from gnulib
24475         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
24476         case system <time.h> has a #define.
24477
24478         mktime: merge <sys/types.h> change from gnulib
24479         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
24480         since <time.t> is now guaranteed to define time_t.
24481
24482         mktime: merge HAVE_CONFIG_H change from gnulib
24483         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
24484
24485 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
24486
24487         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
24488         Use "neg %eax".
24489
24490         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
24491         __rlim_t cast.
24492         (struct rusage): Use anonymous union to pad each field to
24493         __syscall_slong_t.
24494
24495 2012-05-21  David S. Miller  <davem@davemloft.net>
24496
24497         * Makefules (o-iterator): Remove .s cases.
24498         (compile-command.s): Delete.
24499         (COMPILE.s): Delete.
24500         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
24501
24502 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
24503
24504         * configure.in (libc_cv_predef_stack_protector): Only consider
24505         "foobar" and "__stack_chk_fail" lines in libc_undefs.
24506         * configure: Regenerated.
24507
24508 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
24509
24510         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
24511         New macro.  Use R*LP on int and pointer.
24512         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
24513         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
24514         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
24515         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
24516
24517         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
24518         [__WORDSIZE_TIME64_COMPAT32] instead of
24519         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
24520         (struct utmp): Likewise.
24521         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
24522         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
24523         Renamed to ...
24524         (__WORDSIZE_TIME64_COMPAT32): This.
24525         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
24526         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
24527         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
24528         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
24529         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
24530         (__WORDSIZE_TIME64_COMPAT32): New macro.
24531
24532 2012-05-21  Andreas Jaeger  <aj@suse.de>
24533
24534         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
24535         only if [SHARED]. Add prototype for __wcschr_ia32.
24536
24537 2012-05-21  Roland McGrath  <roland@hack.frob.com>
24538
24539         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
24540         of %rbp unmolested in the jmp_buf while mangling the low bits.
24541         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
24542         unmolested high bits of %rbp while demangling the low bits.
24543         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
24544
24545 2012-05-21  Andreas Jaeger  <aj@suse.de>
24546
24547         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
24548         * sunrpc/svc_simple.c: Use it for registerrpc.
24549         * sunrpc/xcrypt.c: Use it for passwd2des.
24550
24551         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
24552
24553 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
24554
24555         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
24556         Don't define if [__SYSCALL_WORDSIZE != 32].
24557         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
24558         New macro.
24559
24560 2012-05-21  Bruno Haible  <bruno@clisp.org>
24561             Andreas Jaeger  <aj@suse.de>
24562
24563         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
24564         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
24565         inptr and inend for must_buffer_ch.
24566         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
24567         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
24568         * stdio-common/Makefile (tests): Remove bug15.
24569         (bug15-ENV): Remove macro.
24570         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
24571         anymore.
24572
24573 2012-05-19  Andreas Jaeger  <aj@suse.de>
24574             Roland McGrath  <roland@hack.frob.com>
24575
24576         * manual/contrib.texi: Completely rewritten. It contains now an
24577         alphabetical list of contributors and their contributions.
24578
24579 2012-05-21  Richard Henderson  <rth@twiddle.net>
24580
24581         * misc/getauxval.c (__getauxval): Use unsigned long int.
24582         * misc/sys/auxv.h: Include <sys/cdefs.h>.
24583         (getauxval): Use unsigned long int.
24584
24585 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
24586
24587         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
24588
24589 2012-05-21  Roland McGrath  <roland@hack.frob.com>
24590
24591         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
24592         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
24593         __alignof__ (long double).
24594
24595 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24596
24597         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24598
24599 2012-05-20  Richard Henderson  <rth@twiddle.net>
24600
24601         * misc/getauxval.c: New file.
24602         * misc/sys/auxv.h: New file.
24603         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
24604         (routines): Add getauxval.
24605         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
24606         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
24607         * elf/dl-sysdep.c (_dl_auxv): Remove.
24608         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
24609         * elf/dl-support.c (_dl_auxv): New variable.
24610         (_dl_aux_init): Initialize it.
24611         * manual/startup.texi (Auxiliary Vector): New node.
24612         * sysdeps/generic/bits/hwcap.h: New file.
24613         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
24614         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
24615         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
24616         * sysdeps/sparc/sysdep.h: ... here.  Include it.
24617         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
24618         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
24619         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
24620         Update.
24621         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
24622         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
24623         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
24624         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
24625         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
24626         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
24627         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
24628         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
24629
24630 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24631
24632         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24633
24634 2012-05-19  David S. Miller  <davem@davemloft.net>
24635
24636         * sysdeps/sparc/fpu/libm-test-ulps: Update.
24637
24638 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
24639
24640         [BZ #14123]
24641         * math/s_ccosh.c: Include <float.h>
24642         (__ccosh): Avoid internal overflow calculating sinh and cosh
24643         values before multiplying by sin and cos values.
24644         * math/s_ccoshf.c: Likewise.
24645         * math/s_ccoshl.c: Likewise.
24646         * math/s_csin.c: Likewise.
24647         * math/s_csinf.c: Likewise.
24648         * math/s_csinl.c: Likewise.
24649         * math/s_csinh.c: Likewise.
24650         * math/s_csinhf.c: Likewise.
24651         * math/s_csinhl.c: Likewise.
24652         * math/libm-test.inc (ccos_test): Add more tests.
24653         (ccosh_test): Likewise.
24654         (csin_test): Likewise.
24655         (csinh_test): Likewise.
24656         * sysdeps/i386/fpu/libm-test-ulps: Update.
24657         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24658
24659 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
24660
24661         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
24662         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
24663
24664         * sysdeps/x86_64/x32/_itoa.h: Add comment.
24665
24666 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
24667
24668         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
24669         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
24670         * sysdeps/powerpc/soft-fp/Versions: Likewise.
24671         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
24672         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
24673         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
24674         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
24675         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
24676         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
24677         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
24678         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
24679         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
24680         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
24681         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
24682         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
24683         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
24684         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
24685         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
24686         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
24687         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
24688         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
24689         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
24690         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
24691         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
24692         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
24693         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
24694         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
24695         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
24696         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
24697         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
24698         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
24699
24700 2012-05-18  Andreas Jaeger  <aj@suse.de>
24701
24702         * csu/.gitignore: Delete.
24703
24704 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
24705
24706         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
24707         (timex): Use __syscall_slong_t.
24708
24709 2012-05-18  Andreas Jaeger  <aj@suse.de>
24710             Carlos O'Donell  <carlos_odonell@mentor.com>
24711
24712         * manual/install.texi (Configuring and compiling): Update
24713         description about files modified in the source directory.
24714         * INSTALL: Regenerated.
24715
24716 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
24717
24718         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
24719         value.  Use "or" to set return value to -1.
24720         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
24721         negate return value.
24722
24723 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
24724
24725         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
24726         CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
24727         failure if the compiler has Graphite support disabled.
24728         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
24729         Likewise.
24730         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
24731         CFLAGS-memmove.c): Likewise.
24732         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
24733         Likewise.
24734
24735 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
24736
24737         * sysdeps/x86_64/x32/_itoa.h: New file.
24738
24739         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
24740         getdents system call only if kernel and user dirents have the
24741         same d_ino and d_off.
24742
24743         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
24744         LLONG_MAX != LONG_MAX.
24745         (_itoa_word): Use _ITOA_WORD_TYPE on value.
24746         (_fitoa_word): Likewise.
24747
24748         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
24749         years.
24750         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
24751         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
24752         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
24753
24754         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
24755         include <bits/wordsize.h>.  Check __x86_64__ instead of
24756         __WORDSIZE.
24757         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
24758         if __x86_64__ is defined.  Use anonymous union on fpstate.
24759
24760         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
24761         anonymous union.
24762
24763 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
24764
24765         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
24766         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
24767         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
24768         Refer to _rtld_local_ro instead of _rtld_global_ro.
24769         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
24770         Likewise.
24771         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
24772         Likewise.
24773         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
24774         Likewise.
24775         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
24776         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
24777         of _rtld_global, and rtld_progname instead of _dl_argv[0].
24778
24779         * sysdeps/powerpc/powerpc32/dl-machine.c
24780         (__elf_machine_runtime_setup) [PROF]: Don't reference
24781         _dl_prof_resolve.
24782
24783 2012-05-18  Andreas Jaeger  <aj@suse.de>
24784
24785         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
24786         function only available for GCCs before 3.4 since GCC 3.4
24787         introduced a builtin.
24788         (lrint): Likewise.
24789         (llrintf): Likewise.
24790         (llrint): Likewise.
24791         (fmaxf): Likewise.
24792         (fmax): Likewise.
24793         (fminf): Likewise.
24794         (fmin): Likewise.
24795         (rint): Likewise.
24796         (rintf): Likewise.
24797         (nearbyint): Likewise.
24798         (nearbyintf): Likewise.
24799         (ceil): Likewise.
24800         (ceilf): Likewise.
24801         (floor): Likewise.
24802         (floorf): Likewise.
24803
24804 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
24805
24806         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
24807         on both fields and cast pointer to __syscall_ulong_t.
24808
24809         * bits/types.h (__fsword_t): New type.
24810         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
24811         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
24812         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
24813         (__FSWORD_T_TYPE): Likewise.
24814         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
24815         (__FSWORD_T_TYPE): Likewise.
24816         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
24817         (__FSWORD_T_TYPE): Likewise.
24818         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
24819         (__FSWORD_T_TYPE): Likewise.
24820         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
24821         __SWORD_TYPE with __fsword_t.
24822         (statfs64): Likewise.
24823
24824 2012-05-17  David S. Miller  <davem@davemloft.net>
24825
24826         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
24827
24828 2012-05-17  Andreas Jaeger  <aj@suse.de>
24829
24830         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
24831         warning.
24832
24833 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
24834
24835         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
24836
24837 2012-05-17  Andreas Jaeger  <aj@suse.de>
24838
24839         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
24840         when it is used.
24841
24842 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
24843
24844         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
24845
24846 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
24847
24848         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
24849         * sysdeps/x86_64/tst-mallocalign1.c: New file.
24850
24851 2012-05-17  Andreas Jaeger  <aj@suse.de>
24852             Carlos O'Donell  <carlos_odonell@mentor.com>
24853
24854         [BZ #14059]
24855         * sysdeps/x86_64/multiarch/init-arch.h
24856         (bit_YMM_Usable): Rename to...
24857         (bit_AVX_Usable): ... this.
24858         (bit_FMA4_Usable): New macro.
24859         (bit_XMM_state): New macro.
24860         (bit_YMM_state): New macro.
24861         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
24862         [__ASSEMBLER__] (index_AVX_Usable): ... this.
24863         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
24864         (CPUID_OSXSAVE): New macro.
24865         (CPUID_AVX): New macro.
24866         (CPUID_FMA4): New macro.
24867         (index_YMM_Usable): Rename to...
24868         (index_AVX_Usable): ... this.
24869         (HAS_AVX): Use HAS_ARCH_FEATURE.
24870         (HAS_FMA4): Likewise.
24871         (HAS_YMM_USABLE): Remove.
24872         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
24873         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
24874         are present.
24875         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
24876         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
24877         * sysdeps/x86_64/multiarch/Makefile: Likewise.
24878         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
24879         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
24880
24881 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
24882
24883         * math/libm-test.c: Support platforms without multiple rounding modes.
24884         * math/bug-nextafter.c: Support platforms without FP exceptions.
24885         * math/bug-nexttoward.c: Likewise.
24886         * math/test-fenv.c: Likewise.
24887         * math/test-misc.c: Likewise.
24888         * stdlib/bug-getcontext.c: Likewise.
24889
24890 2012-05-17  Andreas Jaeger  <aj@suse.de>
24891
24892         * manual/examples/search.c (critter_cmp): Change signature to
24893         avoid warnings.
24894         * manual/string.texi (Collation Functions): Likewise.
24895
24896 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
24897
24898         * bits/types.h: Fold copyright years.
24899         * bits/typesizes.h: Likewise.
24900         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
24901         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
24902         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
24903         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
24904         * time/time.h: Likewise.
24905
24906 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
24907
24908         [BZ #208]
24909         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
24910         in instead of returning them.  Return void.
24911         (__libc_mallinfo): Accumulate over all arenas.
24912         (__malloc_stats): Adjust for change in int_mallinfo interface.
24913
24914 2012-05-16  Roland McGrath  <roland@hack.frob.com>
24915
24916         [BZ #10375]
24917         * configure.in (NM): Add AC_CHECK_TOOL for it.
24918         (libc_extra_cflags): New substituted variable.
24919         Check for -fstack-protector being used implicitly.
24920         * configure: Regenerated.
24921         * config.make.in (config-extra-cflags): New variable,
24922         gets @libc_extra_cflags@.
24923         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
24924
24925         [BZ #10375]
24926         * configure.in: Check for _FORTIFY_SOURCE being predefined.
24927         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
24928         * configure: Regenerated.
24929         * config.make.in (CPPUNDEFS): New substituted variable.
24930         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
24931         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
24932         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
24933
24934 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
24935
24936         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
24937         (mq_attr): Use __syscall_slong_t.
24938
24939 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
24940
24941         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
24942         Check __x86_64__ instead of __WORDSIZE.
24943         (_STAT_VER_LINUX): Likewise.
24944         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
24945         __syscall_ulong_t and __syscall_slong_t.
24946         (stat64): Likewise.
24947
24948 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
24949
24950         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
24951
24952 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
24953
24954         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
24955
24956 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
24957
24958         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
24959         __syscall_ulong_t.
24960
24961         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
24962         include <bits/wordsize.h>.  Check __x86_64__ instead of
24963         __WORDSIZE.
24964         (greg_t): Use "__extension__ long long int" if __x86_64__ is
24965         defined.
24966         (mcontext_t): Replace "unsigned long" with "unsigned long long".
24967
24968         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
24969         include <bits/wordsize.h>.  Check __x86_64__ instead of
24970         __WORDSIZE.
24971         (user_regs_struct): Use "__extension__ unsigned long long"
24972         instead of "unsigned long" if __x86_64__ is defined.
24973         (user): Likewise.  Pad after pointer field if __ILP32__ is
24974         defined.
24975
24976 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
24977
24978         * configure.in (makeinfo): Require version 4.5 or later.  Allow
24979         versions 5 to 9.
24980         * configure: Regenerated.
24981         * manual/install.texi (texinfo): Increase version requirement to
24982         4.5 or later.
24983         * INSTALL: Regenerated.
24984
24985         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
24986
24987 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
24988
24989         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
24990
24991         * sysdeps/x86_64/x32/ffs.c: New file.
24992
24993         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
24994         __syscall_ulong_t.
24995         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
24996         defined.  Use __syscall_ulong_t.
24997         (shminfo): Use __syscall_ulong_t.
24998         (shm_info): Likewise.
24999
25000         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
25001         __syscall_ulong_t.
25002
25003         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
25004         <bits/wordsize.h>.
25005         (msgqnum_t): Use __syscall_ulong_t.
25006         (msglen_t): Likewise.
25007         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
25008         __syscall_ulong_t.
25009
25010         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
25011         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
25012
25013         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
25014
25015         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
25016         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
25017
25018         * sysvipc/sys/msg.h (msgbuf): Replace long int with
25019         __syscall_slong_t.
25020
25021         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
25022         include <bits/wordsize.h>.  Check __x86_64__ instead of
25023         __WORDSIZE.
25024
25025         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
25026         "unsigned long long int" if __x86_64__ is defined.
25027         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
25028
25029         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
25030         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
25031         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
25032
25033         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
25034         <stdint.h>.
25035         (GET_PC): Cast to uintptr_t first.
25036         (GET_FRAME): Likewise.
25037         (GET_STACK): Likewise.
25038
25039         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
25040         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
25041         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
25042         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
25043         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
25044         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
25045         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
25046         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
25047         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
25048         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
25049         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
25050         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
25051         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
25052         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
25053         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
25054         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
25055         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
25056         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
25057         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
25058         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
25059         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
25060         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
25061         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
25062         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
25063         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
25064         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
25065         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
25066         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
25067         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
25068
25069 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
25070
25071         * Makerules (+depfiles): Also collect depfiles from .oS in
25072         $(extra-objs).
25073         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
25074         .oS, $(libnldbl-routines)).
25075
25076         * Makerules (native-compile-mkdep-flags): Define.
25077         * sunrpc/Makefile (extra-objs): Add $(addprefix
25078         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
25079         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
25080         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
25081         calling $(make-target-directory).
25082
25083 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
25084
25085         * bits/types.h (__snseconds_t): Removed.
25086         * time/time.h (struct timespec): Replace __snseconds_t with
25087         __syscall_slong_t.
25088         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
25089         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
25090         Likewise.
25091         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
25092         (__SNSECONDS_T_TYPE): Likewise.
25093         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
25094         (__SNSECONDS_T_TYPE): Likewise.
25095         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
25096         (__SNSECONDS_T_TYPE): Likewise.
25097
25098 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
25099
25100         * sysdeps/mach/hurd/bits/typesizes.h
25101         (__SYSCALL_SLONG_TYPE): New macro.
25102         (__SYSCALL_ULONG_TYPE): Likewise.
25103
25104 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
25105
25106         * bits/types.h (__syscall_slong_t): New type.
25107         (__syscall_ulong_t): Likewise.
25108
25109         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
25110         (__SYSCALL_ULONG_TYPE): Likewise.
25111         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
25112         (__SYSCALL_SLONG_TYPE): Likewise.
25113         (__SYSCALL_ULONG_TYPE): Likewise.
25114         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
25115         (__SYSCALL_SLONG_TYPE): Likewise.
25116         (__SYSCALL_ULONG_TYPE): Likewise.
25117         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
25118         (__SYSCALL_SLONG_TYPE): Likewise.
25119         (__SYSCALL_ULONG_TYPE): Likewise.
25120
25121 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
25122
25123         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
25124         Add sigaltstack-offsets.sym.
25125         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
25126         <sigaltstack-offsets.h>.
25127         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
25128         longjmp_msg pointer.
25129         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
25130         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
25131         signal stack.
25132         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
25133
25134 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
25135
25136         * elf/stackguard-macros.h: Remove file.
25137         * sysdeps/generic/stackguard-macros.h: New file.
25138         * sysdeps/i386/stackguard-macros.h: Likewise.
25139         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
25140         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
25141         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
25142         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
25143         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
25144         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
25145         * sysdeps/x86_64/stackguard-macros.h: Likewise.
25146         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
25147         <elf/stackguard-macros.h>.
25148
25149         [BZ #14109]
25150         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
25151         __aligned__ in attribute.
25152         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
25153         (gregset_t): Likewise.
25154
25155 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
25156
25157         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
25158         * sysdeps/x86_64/64/Implies-after: Here.  New file.
25159         * sysdeps/x86_64/x32/Implies-after: New file.
25160
25161 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
25162
25163         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
25164         and access return value for _dl_profile_fixup.  Use R10_LP to
25165         load frame size.
25166
25167 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
25168
25169         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
25170
25171 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
25172
25173         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
25174         * sysdeps/x86_64/x32/sysdep.h: New file.
25175
25176 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
25177
25178         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
25179         * sysdeps/x86_64/setjmp.S: Likewise.
25180
25181 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25182
25183         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
25184         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
25185         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
25186         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
25187         remove unused global constant.
25188
25189 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
25190
25191         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
25192         include of <not-cancel.h>.
25193
25194 2012-05-15  Roland McGrath  <roland@hack.frob.com>
25195
25196         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
25197
25198 2012-05-15  Jeff Law  <law@redhat.com>
25199             Andreas Jaeger  <aj@suse.de>
25200
25201         [BZ #13594]
25202         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
25203         out from...
25204         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
25205         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
25206         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
25207         code changing __hst_map_handle.map.
25208
25209 2012-05-15  Roland McGrath  <roland@hack.frob.com>
25210
25211         * configure.in (sysnames): Look for Implies-before and Implies-after
25212         files.
25213         * configure: Regenerated.
25214
25215 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
25216
25217         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
25218         8-byte data alignment with LP_SIZE alignment.
25219
25220 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
25221
25222         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
25223         into R10_LP.
25224
25225 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
25226
25227         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
25228
25229 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
25230
25231         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
25232         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
25233         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
25234         Likewise.
25235         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
25236
25237 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
25238
25239         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
25240         (stackinfo_sub_sp): Likewise.
25241
25242 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
25243
25244         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
25245         RAX_LP.
25246
25247 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
25248
25249         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
25250         into R*_LP.
25251
25252 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
25253
25254         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
25255         sizes into R*_LP.
25256
25257 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
25258
25259         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
25260
25261 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
25262
25263         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
25264         into R11_LP and load __x86_64_shared_cache_size_half into
25265         R8_LP.
25266
25267 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
25268
25269         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
25270         R8_LP.
25271
25272 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25273
25274         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
25275         logb for POWER7.
25276         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
25277         logbf for POWER7.
25278         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
25279         logbl for POWER7.
25280         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
25281         powerpc32/power7/fpu/s_logb.c via #include.
25282         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
25283         powerpc32/power7/fpu/s_logbf.c via #include.
25284         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
25285         powerpc32/power7/fpu/s_logbl.c via #include.
25286
25287 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
25288
25289         * README.libm: Remove file.
25290
25291 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
25292
25293         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
25294         count for x32.  Use R*_LP and omit operand-size suffix.
25295
25296 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
25297
25298         * shlib-versions: Move x86_64-.*-linux.* entries to ...
25299         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
25300         * sysdeps/x86_64/x32/shlib-versions: New file.
25301
25302 2012-05-14  Roland McGrath  <roland@hack.frob.com>
25303
25304         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
25305         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
25306         Use _dl_fatal_printf instead.
25307
25308 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
25309
25310         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
25311         set if not set by the user.  Do not allow for being unset.
25312         * sysdeps/unix/sysv/linux/configure: Regenerated.
25313
25314 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
25315
25316         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
25317         the `q' suffix from lea and replace .quad with ASM_ADDR.
25318
25319 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
25320
25321         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
25322         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
25323         instead of $17.
25324         (PTR_DEMANGLE): Likewise.
25325
25326 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
25327
25328         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
25329         (LP_OP): Likewise.
25330         (ASM_ADDR): Likewise.
25331         (RAX_LP): Likewise.
25332         (RBP_LP): Likewise.
25333         (RBX_LP): Likewise.
25334         (RCX_LP): Likewise.
25335         (RDI_LP): Likewise.
25336         (RSI_LP): Likewise.
25337         (RSP_LP): Likewise.
25338         (R8_LP): Likewise.
25339         (R9_LP): Likewise.
25340         (R10_LP): Likewise.
25341         (R10_LP): Likewise.
25342         (R11_LP): Likewise.
25343         (R12_LP): Likewise.
25344         (R13_LP): Likewise.
25345         (R14_LP): Likewise.
25346         (R15_LP): Likewise.
25347
25348 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
25349
25350         * sysdeps/x86_64/x32/dl-machine.h: New file.
25351
25352 2012-05-14  Andreas Jaeger  <aj@suse.de>
25353
25354         * manual/Makefile (subdir): Remove export of subdir.
25355         (all): Remove target.
25356         (.PHONY): Remove all from list.
25357         (mkinstalldirs): Remove.
25358         (.PHONY): Remove installdirs from list.
25359         ($(inst_infodir)/libc.info): Use make-target-directory.
25360         (installdirs): Remove.
25361         (subdir_%): Remove.
25362         (glibc-targets): Remove.
25363         (lib): Remove.
25364         (stubs): Remove.
25365         ($(objpfx)stubs ../po/manual.pot): Remove.
25366         ($(objpfx)stamp%): Remove.
25367         (make-target-directory): Remove.
25368         (subdir_install): Remove.
25369         (routines): Remove.
25370         (aux): Remove.
25371         (sources): Remove.
25372         (objects): Remove.
25373         (headers): Remove.
25374
25375         [BZ #13750]
25376         * manual/.gitignore: Remove, it's not needed anymore.
25377         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
25378         all files in it.
25379         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
25380         directory.
25381         (texis): Renamed to $(objpfx)texis.
25382         (texis-path): New, contains path to generated files.
25383         (chapters.%): Use texis-path for complete path, add extra argument
25384         libc-texinfo.sh.
25385         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
25386         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
25387         (summary,texi, stamp-summary): Use complete path of
25388         files. Generate files in build dir.
25389         (dir-add.texi): Build in build dir.
25390         (libm-err.texi,stamp-libm-err): Likewise.
25391         (version.texi, stamp-version): Likewise.
25392         (.%c.texi): Likewise.
25393         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
25394         (mostlyclean): Remove target.
25395         (realclean): Remove target.
25396         (generated): Add new variable with contents from mostlyclean and
25397         realclean, remove entries duplicated in common-mostlyclean, add
25398         stamp-libm-err and stamp-version.
25399         (generated-dirs): Add libc directory.
25400         ($(inst_infodir)/libc.info): Install files from build dir.
25401
25402         * manual/install.texi (Configuring and compiling): Adjust since
25403         the info files are not part of the tar ball anymore.
25404
25405 2012-05-14  Andreas Jaeger  <aj@suse.de>
25406
25407         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
25408         variable.
25409
25410 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
25411
25412         [BZ #13717]
25413         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
25414         to 2.2.0 where earlier.
25415         * sysdeps/unix/sysv/linux/configure: Regenerated.
25416         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
25417         Remove conditional code.
25418         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
25419         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
25420         Remove conditional code.
25421         [!__NR_lchown]: Likewise.
25422         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
25423         [__NR_lchown]: Likewise.
25424         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
25425         comment referencing __ASSUME_LCHOWN_SYSCALL.
25426         * sysdeps/unix/sysv/linux/i386/sigaction.c
25427         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
25428         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
25429         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
25430         Remove conditional code.
25431         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
25432         (__protocol_available): Remove #if 0 code.
25433         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
25434         conditional code.
25435         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
25436         * sysdeps/unix/sysv/linux/kernel-features.h
25437         (__ASSUME_GETCWD_SYSCALL): Don't define.
25438         (__ASSUME_REALTIME_SIGNALS): Likewise.
25439         (__ASSUME_PREAD_SYSCALL): Likewise.
25440         (__ASSUME_PWRITE_SYSCALL): Likewise.
25441         (__ASSUME_POLL_SYSCALL): Likewise.
25442         (__ASSUME_LCHOWN_SYSCALL): Likewise.
25443         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
25444         non-SPARC.
25445         (__ASSUME_SIOCGIFNAME): Don't define.
25446         (__ASSUME_MSG_NOSIGNAL): Likewise.
25447         (__ASSUME_SENDFILE): Define unconditionally.
25448         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
25449         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
25450         conditional code.
25451         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
25452         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
25453         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
25454         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
25455         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
25456         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
25457         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
25458         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
25459         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
25460         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
25461         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
25462         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
25463         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
25464         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
25465         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
25466         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
25467         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
25468         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
25469         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
25470         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
25471         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
25472         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
25473         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
25474         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
25475         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
25476         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
25477         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
25478         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
25479         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
25480         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
25481         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
25482         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
25483         Remove conditional code.
25484         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
25485         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
25486         Remove conditional code.
25487         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
25488         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
25489         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
25490         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
25491         Remove conditional code.
25492         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
25493         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
25494         Remove conditional code.
25495         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
25496         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
25497         Remove conditional code.
25498         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
25499         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
25500         Remove conditional code.
25501         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
25502         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
25503         Remove conditional code.
25504         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
25505         * sysdeps/unix/sysv/linux/sh/pwrite64.c
25506         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
25507         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
25508         * sysdeps/unix/sysv/linux/sigaction.c
25509         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
25510         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
25511         * sysdeps/unix/sysv/linux/sigpending.c
25512         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
25513         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
25514         * sysdeps/unix/sysv/linux/sigprocmask.c
25515         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
25516         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
25517         * sysdeps/unix/sysv/linux/sigsuspend.c
25518         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
25519         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
25520         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
25521         (__libc_missing_rt_sigs): Remove.
25522         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
25523         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
25524         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
25525         Remove conditional code.
25526         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
25527         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
25528         return 1.
25529         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
25530         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
25531         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
25532         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
25533
25534 2012-05-14  Andreas Jaeger  <aj@suse.de>
25535
25536         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
25537         it's not used in glibc.
25538         (__coshm1): Likewise.
25539         (__acosh1p): Likewise.
25540         (__sgn): Likewise.
25541
25542         * manual/string.texi (Copying and Concatenation): Add missing
25543         variable in concat example.
25544         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
25545
25546 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
25547
25548         [BZ #14103]
25549         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
25550         __builtin_clzl with __builtin_clzll.
25551
25552 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
25553
25554         [BZ #14104]
25555         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
25556         libc_freeres_ptr.
25557
25558 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
25559
25560         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
25561         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
25562         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
25563         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
25564
25565 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
25566
25567         * NEWS: Update ia64 info.
25568
25569 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
25570
25571         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
25572         used as bcopy.
25573
25574 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
25575
25576         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
25577         * sysdeps/unix/syscalls.list (dup3): Likewise.
25578         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
25579         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
25580
25581 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
25582
25583         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
25584         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
25585
25586 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
25587
25588         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
25589         thread pointer.
25590         (TLS_IE): Use mov/add instead of movq/addq to load thread
25591         pointer.
25592         (TLS_GD_PREFIX): New.
25593         (TLS_GD): Use it.
25594
25595 2012-05-11  David S. Miller  <davem@davemloft.net>
25596
25597         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
25598         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
25599         (_FPU_SETCW): Likewise.
25600
25601 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
25602
25603         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
25604         is 32-byte aligned.
25605
25606 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
25607
25608         [BZ #11837]
25609         * iconvdata/gb18030.c: Update tables.
25610         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
25611         characters specially.
25612         (BODY for TO_LOOP): Add encoding of missing ranges.
25613
25614 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
25615
25616         [BZ #13673]
25617         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
25618         * sysdeps/mach/hurd/dup3.c: Likewise.
25619         * sysdeps/mach/hurd/readlinkat.c: Likewise.
25620         * sysdeps/powerpc/memmove.c:: Likewise.
25621
25622 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
25623
25624         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
25625         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
25626
25627 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
25628
25629         * elf/elf.h (R_X86_64_RELATIVE64): New.
25630         (R_X86_64_NUM): Updated.
25631         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
25632         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
25633         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
25634         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
25635         tst-quad1pie tst-quad2pie
25636         (modules-names): Add tst-quadmod1 tst-quadmod2.
25637         ($(objpfx)tst-quad1): New dependency.
25638         ($(objpfx)tst-quad2): Likewise.
25639         ($(objpfx)tst-quad1pie): Likewise.
25640         ($(objpfx)tst-quad2pie): Likewise.
25641         * sysdeps/x86_64/tst-quad1.c: New file.
25642         * sysdeps/x86_64/tst-quad1pie.c: New file.
25643         * sysdeps/x86_64/tst-quad2.c: Likewise.
25644         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
25645         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
25646         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
25647         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
25648         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
25649
25650 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
25651
25652         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
25653         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
25654         * streams/stropts.h (t_scalar_t): Define type.
25655
25656         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
25657         (_PATH_PRESERVE): Set to "/var/lib".
25658         (_PATH_RWHODIR): Set to "/var/spool/rwho".
25659
25660         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
25661         instead of int.
25662
25663         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
25664         if __dir_mkfile succeeded.
25665
25666         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
25667         checking for _hurd_dtablesize.  Unlock it right after having
25668         finished _hurd_dtable allocation.
25669
25670 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
25671
25672         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
25673         * sysdeps/mach/hurd/configure: Regenerated.
25674         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
25675         special-casing to...
25676         * sysdeps/gnu/configure.in: ... this new file.
25677         * sysdeps/unix/sysv/linux/configure: Regenerated.
25678         * sysdeps/gnu/configure: New generated file.
25679
25680         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
25681         for Linux: use nsec instead of usec, as well as:
25682         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
25683         members of type struct timespec.
25684         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
25685         New macros.
25686         (struct stat64): Likewise.
25687         (_STATBUF_ST_NSEC): New macro.
25688         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
25689
25690         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
25691         __strtoul_internal rather than strtoul.
25692
25693 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
25694
25695         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
25696         and reject them.
25697
25698 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
25699
25700         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
25701         which preserves existing values.
25702         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
25703
25704 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
25705
25706         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
25707         TIMEOUT values.  Return EINVAL for NFDS values either negative or
25708         greater than FD_SETSIZE.
25709
25710 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
25711
25712         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
25713         allocated, call __vm_protect to finish enabling the existing space, and
25714         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
25715         allocate the remainder.
25716
25717 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
25718
25719         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
25720         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
25721
25722 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
25723
25724         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
25725         sysdeps/mach/hurd/readlink.c.
25726
25727         * posix/tst-sysconf.c (posix_options): Only use
25728         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
25729         _POSIX_SYNCHRONIZED_IO when they are defined
25730         * sysdeps/mach/hurd/bits/posix_opt.h:
25731         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
25732         (_XOPEN_REALTIME): Undefine macro.
25733         (_XOPEN_REALTIME_THREADS): Undefine macro.
25734         (_XOPEN_SHM): Undefine macro.
25735         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
25736         macro to -1.
25737         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
25738         macro to -1.
25739         (_POSIX_ASYNC_IO): Undefine macro.
25740         (_POSIX_PRIORITIZED_IO): Undefine macro.
25741         (_POSIX_SPIN_LOCKS): Define macro to -1.
25742
25743         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
25744         SA_NODEFER, SA_RESETHAND.
25745         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
25746         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
25747         F_DUPFD_CLOEXEC.
25748
25749 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
25750
25751         * elf/Makefile (pldd-modules): Define unconditionally.
25752
25753 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
25754
25755         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
25756
25757 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
25758
25759         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
25760         Return ENOENT when name is empty.
25761         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
25762
25763 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
25764
25765         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
25766
25767         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
25768
25769 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
25770
25771         Fix mlock in all cases except non-readable pages.
25772         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
25773         instead of VM_PROT_ALL as parameter to __vm_wire function.
25774
25775         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
25776         (__mkdir): When path is `/', just fail with EEXIST.
25777         * sysdeps/mach/hurd/mkdirat.c: Likewise.
25778
25779 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
25780
25781         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
25782         <sys/uio.h> (for writev).
25783         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
25784         and <sys/param.h> (for MIN).
25785
25786 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
25787
25788         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
25789         REQUESTED_TIME.  Properly set the remaining time and return EINTR
25790         if interrupted.
25791
25792 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
25793
25794         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
25795         Depend on against $(link-rpcuserlibs).
25796
25797 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
25798
25799         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
25800         (__libc_stack_end): Do not use attribute_relro.
25801         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
25802         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
25803         to libthread-provided value.
25804         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
25805         attribute_relro.
25806
25807 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
25808
25809         [BZ #3748]
25810         * bits/libc-lock.h (__libc_once_get): New macro.
25811         * sysdeps/mach/bits/libc-lock.h: Likewise.
25812         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
25813         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
25814         instead of using implementation details.
25815
25816         * libio/fileops.c: Unconditionally include <kernel-features.h>.
25817         * libio/freopen.c: Likewise.
25818         * libio/freopen64.c: Likewise.
25819         * misc/syslog.c: Likewise.
25820         * nscd/connections.c: Likewise.
25821         * nscd/netgroupcache.c: Likewise.
25822         * sysdeps/posix/getcwd.c: Likewise.
25823
25824 2012-05-10  Roland McGrath  <roland@hack.frob.com>
25825
25826         * math/w_ilogbf.c: Add #include <limits.h>.
25827
25828 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
25829
25830         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
25831         path instead of returning without unlocking.
25832
25833         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
25834         immediate-write ioctls.
25835         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
25836
25837 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
25838
25839         * sysdeps/mach/hurd/i386/init-first.c (init): Use
25840         __builtin_frame_address instead of making assumptions about the
25841         location of the return address relative to DATA.  Force early load of
25842         the return address.
25843         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
25844         __builtin_frame_address.
25845
25846         dup3 for GNU Hurd.
25847         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
25848         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
25849         implement dup3 and do some further code clean-ups.
25850         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
25851         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
25852
25853 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
25854
25855         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
25856
25857         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
25858         HURD_CRITICAL_END around holding _hurd_dtable_lock.
25859         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
25860         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
25861         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
25862         d->port.lock.
25863
25864         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
25865         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
25866         when handler == SIG_ERR, not when handler != SIG_ERR.
25867
25868 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
25869
25870         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
25871         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
25872         definitions.
25873
25874         accept4 for GNU Hurd.
25875         * include/sys/socket.h (__libc_accept4): New prototype.
25876         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
25877         to implement __libc_accept4.
25878         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
25879         __libc_accept4.
25880         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
25881
25882         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
25883         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
25884         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
25885         signal-defines.sym.
25886
25887 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
25888
25889         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
25890
25891 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
25892
25893         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
25894         assertion on O_CLOEXEC flag.
25895         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
25896         * hurd/intern-fd.c: Likewise.
25897         * hurd/port2fd.c: Likewise.
25898
25899 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
25900
25901         [BZ #3906]
25902         * bits/in.h (IPV6_PKTINFO): Define new macro.
25903         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
25904
25905 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25906
25907         [BZ #13954]
25908         [BZ #13955]
25909         [BZ #13956]
25910         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
25911         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
25912         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
25913         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
25914         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
25915         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
25916         * math/libm-test.inc (logb_test) : Additional logb tests.
25917
25918 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
25919             Andreas Jaeger  <aj@suse.de>
25920
25921         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
25922         * configure: Regenerated.
25923         * config.h.in (LINK_OBSOLETE_RPC): New macro.
25924         * config.make.in (link-obsolete-rpc): New substituted variable.
25925         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
25926         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
25927         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
25928         (shared-only-routines): Don't set it under [link-obsolete-rpc],
25929         so that libc.a contains the symbols.
25930         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
25931         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
25932         * sunrpc/auth_none.c: Likewise.
25933         * sunrpc/auth_unix.c: Likewise.
25934         * sunrpc/authdes_prot.c: Likewise.
25935         * sunrpc/authuxprot.c: Likewise.
25936         * sunrpc/clnt_gen.c: Likewise.
25937         * sunrpc/clnt_perr.c: Likewise.
25938         * sunrpc/clnt_raw.c: Likewise.
25939         * sunrpc/clnt_simp.c: Likewise.
25940         * sunrpc/clnt_tcp.c: Likewise.
25941         * sunrpc/clnt_udp.c: Likewise.
25942         * sunrpc/clnt_unix.c: Likewise.
25943         * sunrpc/des_crypt.c: Likewise.
25944         * sunrpc/des_soft.c: Likewise.
25945         * sunrpc/get_myaddr.c: Likewise.
25946         * sunrpc/key_call.c: Likewise.
25947         * sunrpc/key_prot.c: Likewise.
25948         * sunrpc/netname.c: Likewise.
25949         * sunrpc/pm_getmaps.c: Likewise.
25950         * sunrpc/pm_getport.c: Likewise.
25951         * sunrpc/pmap_clnt.c: Likewise.
25952         * sunrpc/pmap_prot.c: Likewise.
25953         * sunrpc/pmap_prot2.c: Likewise.
25954         * sunrpc/pmap_rmt.c: Likewise.
25955         * sunrpc/publickey.c: Likewise.
25956         * sunrpc/rpc_cmsg.c: Likewise.
25957         * sunrpc/rpc_common.c: Likewise.
25958         * sunrpc/rpc_dtable.c: Likewise.
25959         * sunrpc/rpc_prot.c: Likewise.
25960         * sunrpc/rpc_thread.c: Likewise.
25961         * sunrpc/rtime.c: Likewise.
25962         * sunrpc/svc.c: Likewise.
25963         * sunrpc/svc_auth.c: Likewise.
25964         * sunrpc/svc_raw.c: Likewise.
25965         * sunrpc/svc_run.c: Likewise.
25966         * sunrpc/svc_tcp.c: Likewise.
25967         * sunrpc/svc_udp.c: Likewise.
25968         * sunrpc/svc_unix.c: Likewise.
25969         * sunrpc/svcauth_des.c: Likewise.
25970         * sunrpc/xcrypt.c: Likewise.
25971         * sunrpc/xdr.c: Likewise.
25972         * sunrpc/xdr_array.c: Likewise.
25973         * sunrpc/xdr_float.c: Likewise.
25974         * sunrpc/xdr_intXX_t.c: Likewise.
25975         * sunrpc/xdr_mem.c: Likewise.
25976         * sunrpc/xdr_rec.c: Likewise.
25977         * sunrpc/xdr_ref.c: Likewise.
25978         * sunrpc/xdr_sizeof.c: Likewise.
25979         * sunrpc/xdr_stdio.c: Likewise.
25980
25981 2012-05-10  Roland McGrath  <roland@hack.frob.com>
25982
25983         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
25984         change.  Update copyright years.
25985
25986 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
25987
25988         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
25989
25990 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
25991             Joseph Myers  <joseph@codesourcery.com>
25992             Paul Pluzhnikov  <ppluzhnikov@google.com>
25993
25994         [BZ #14012]
25995         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
25996         requiring rpcgen.
25997         [cross-compiling] (extra-libs): Likewise.
25998         [cross-compiling] (extra-libs-others): Likewise.
25999         [cross-compiling] (librpcsvc-routines): Likewise.
26000         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
26001         [cross-compiling] (omit-deps): Likewise.
26002         (sunrpc-CPPFLAGS): New variable.
26003         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
26004         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
26005         (cross-rpcgen-objs): New variable.
26006         (extra-objs): Append $(cross-rpcgen-objs).
26007         ($(cross-rpcgen-objs)): New rule.
26008         ($(objpfx)cross-rpcgen): Likewise.
26009         (rpcgen-cmd): Define to use $(built-program-file).  Expand
26010         comment.
26011         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
26012         ($(objpfx)x%.stmp): Likewise.
26013         * sunrpc/proto.h [IS_IN_build] (_): Define.
26014         [IS_IN_build] (_libc_intl_domainname): Likewise.
26015
26016 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
26017
26018         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
26019         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
26020         and R_X86_64_TPOFF64.
26021
26022 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
26023
26024         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
26025         sysdeps/unix/sysv/syscalls.list.
26026         (stime): Likewise.
26027         (utime): Likewise.
26028         * sysdeps/unix/sysv/syscalls.list: Remove file.
26029
26030 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
26031
26032         [BZ #3440]
26033         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
26034         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
26035         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
26036         (__LC_IDENTIFICATION): Make these macros useful in #if
26037         expressions, as required by C99.
26038
26039 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
26040
26041         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
26042         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
26043         after this.
26044
26045 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
26046
26047         * stdlib/longlong.h: Updated from GCC.
26048
26049 2012-05-09  Andreas Jaeger  <aj@suse.de>
26050
26051         * nscd/nscd.c (run_modes): Make named enum, reorder so that
26052         default is first entry.
26053         (run_mode): Set type.
26054         (main): Remove informal message about syslog.
26055         (options): Fix typo.
26056
26057         [BZ #14053]
26058         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
26059         to asm.
26060         (lrint): Likewise.
26061         (llrintf): Likewise.
26062         (llrint): Likewise.
26063         (rint): Likewise.
26064         (rintf): Likewise.
26065         (nearbyint): Likewise.
26066         (nearbyintf): Likewise.
26067
26068 2012-05-09  Andreas Jaeger  <aj@suse.de>
26069             Pedro Alves  <palves@redhat.com>
26070
26071         * nscd/nscd.c (run_mode): Use enum.
26072         (main): Cleanup coding style issue.
26073
26074 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
26075             Andreas Jaeger  <aj@suse.de>
26076
26077         * nscd/nscd.c (go_background): Replaced with...
26078         (run_mode): ... this.
26079         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
26080         (options): Add -F --foreground.
26081         (main): Implement it.
26082         (parse_opt): Parse it.
26083
26084 2012-05-09  Andreas Jaeger  <aj@suse.de>
26085
26086         [BZ #14083]
26087         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
26088         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
26089         -Wconversion warning.
26090         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
26091         Likewise.
26092
26093 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
26094
26095         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
26096         == 0.
26097         (LC_ALL): Use macro-int-constant.
26098         (LC_COLLATE): Likewise.
26099         (LC_CTYPE): Likewise.
26100         (LC_MESSAGES): Likewise.
26101         (LC_MONETARY): Likewise.
26102         (LC_NUMERIC): Likewise.
26103         (LC_TIME): Likewise.
26104         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
26105         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
26106         [ISO || ISO99 || ISO11] (*_t): Do not allow.
26107         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
26108         Specify type.
26109         [C99-based standards] (float_t): Expect type.
26110         [C99-based standards] (double_t): Expect type.
26111         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
26112         type.
26113         [C99-based standards] (HUGE_VALL): Likewise.
26114         [C99-based standards] (INFINITY): Likewise.
26115         [C99-based standards] (NAN): Likewise.
26116         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
26117         [C99-based standards] (FP_NAN): Likewise.
26118         [C99-based standards] (FP_NORMAL): Likewise.
26119         [C99-based standards] (FP_SUBNORMAL): Likewise.
26120         [C99-based standards] (FP_ZERO): Likewise.
26121         [C99-based standards] (FP_FAST_FMA): Use
26122         optional-macro-int-constant.  Specify type.  Require == 1.
26123         [C99-based standards] (FP_FAST_FMAF): Likewise.
26124         [C99-based standards] (FP_FAST_FMAL): Likewise.
26125         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
26126         [C99-based standards] (FP_ILOGBNAN): Likewise.
26127         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
26128         Specify type.
26129         [C99-based standards] (MATH_ERREXCEPT): Likewise.
26130         [C99-based standards] (math_errhandling): Specify type.
26131         [ISO99 || ISO11] (signgam): Do not allow.
26132         [non-C99-based standards] (copysignf): Do not allow.
26133         [non-C99-based standards] (exp2f): Likewise.
26134         [non-C99-based standards] (log2f): Likewise.
26135         [non-C99-based standards] (modff): Allow.
26136         [non-C99-based standards] (erff): Do not allow.
26137         [non-C99-based standards] (erfcf): Likewise.
26138         [non-C99-based standards] (gammaf): Likewise.
26139         [non-C99-based standards] (hypotf): Likewise.
26140         [non-C99-based standards] (j0f): Likewise.
26141         [non-C99-based standards] (j1f): Likewise.
26142         [non-C99-based standards] (jnf): Likewise.
26143         [non-C99-based standards] (lgammaf): Likewise.
26144         [non-C99-based standards] (tgammaf): Likewise.
26145         [non-C99-based standards] (y0f): Likewise.
26146         [non-C99-based standards] (y1f): Likewise.
26147         [non-C99-based standards] (ynf): Likewise.
26148         [non-C99-based standards] (isnanf): Likewise.
26149         [non-C99-based standards] (acoshf): Likewise.
26150         [non-C99-based standards] (asinhf): Likewise.
26151         [non-C99-based standards] (atanhf): Likewise.
26152         [non-C99-based standards] (cbrtf): Likewise.
26153         [non-C99-based standards] (expm1f): Likewise.
26154         [non-C99-based standards] (ilogbf): Likewise.
26155         [non-C99-based standards] (log1pf): Likewise.
26156         [non-C99-based standards] (logbf): Likewise.
26157         [non-C99-based standards] (nextafterf): Likewise.
26158         [non-C99-based standards] (remainderf): Likewise.
26159         [non-C99-based standards] (rintf): Likewise.
26160         [non-C99-based standards] (scalbf): Likewise.
26161         [non-C99-based standards] (copysignl): Likewise.
26162         [non-C99-based standards] (exp2l): Likewise.
26163         [non-C99-based standards] (log2l): Likewise.
26164         [non-C99-based standards] (modfl): Allow.
26165         [non-C99-based standards] (erfl): Do not allow.
26166         [non-C99-based standards] (erfcl): Likewise.
26167         [non-C99-based standards] (gammal): Likewise.
26168         [non-C99-based standards] (hypotl): Likewise.
26169         [non-C99-based standards] (j0l): Likewise.
26170         [non-C99-based standards] (j1l): Likewise.
26171         [non-C99-based standards] (jnl): Likewise.
26172         [non-C99-based standards] (lgammal): Likewise.
26173         [non-C99-based standards] (tgammal): Likewise.
26174         [non-C99-based standards] (y0l): Likewise.
26175         [non-C99-based standards] (y1l): Likewise.
26176         [non-C99-based standards] (ynl): Likewise.
26177         [non-C99-based standards] (isnanl): Likewise.
26178         [non-C99-based standards] (acoshl): Likewise.
26179         [non-C99-based standards] (asinhl): Likewise.
26180         [non-C99-based standards] (atanhl): Likewise.
26181         [non-C99-based standards] (cbrtl): Likewise.
26182         [non-C99-based standards] (expm1l): Likewise.
26183         [non-C99-based standards] (ilogbl): Likewise.
26184         [non-C99-based standards] (log1pl): Likewise.
26185         [non-C99-based standards] (logbl): Likewise.
26186         [non-C99-based standards] (nextafterl): Likewise.
26187         [non-C99-based standards] (remainderl): Likewise.
26188         [non-C99-based standards] (rintl): Likewise.
26189         [non-C99-based standards] (scalbl): Likewise.
26190         [ISO || ISO99 || ISO11] (*_t): Do not allow.
26191         [non-C99-based standards] (FP_*): Do not allow.
26192         [C99-based standards] (FP_*): Change to
26193         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
26194         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
26195         allow.
26196         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
26197         (SIG_ERR): Likewise.
26198         [X/Open-based standards] (SIG_HOLD): Likewise.
26199         (SIG_IGN): Likewise.
26200         (SIGABRT): Use macro-int-constant.  Specify type.  Require
26201         positive value.
26202         (SIGFPE): Likewise.
26203         (SIGILL): Likewise.
26204         (SIGINT): Likewise.
26205         (SIGSEGV): Likewise.
26206         (SIGTER): Likewise.
26207         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
26208         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
26209         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
26210         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
26211         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
26212         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
26213         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
26214         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
26215         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
26216         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
26217         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
26218         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
26219         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
26220         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
26221         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
26222         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
26223         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
26224         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
26225         [X/Open-based standards] (SIGTRAP): Likewise.
26226         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
26227         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
26228         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
26229         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
26230         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
26231         allow.
26232
26233 2012-05-08  Ian Wienand  <ianw@vmware.com>
26234
26235         [BZ #14080]
26236         * time/tzset.c (__tzset_parse_tz): Update default rules for
26237         daylight time changes in the Energy Policy Act of 2005.
26238
26239 2012-05-09  Andreas Jaeger  <aj@suse.de>
26240
26241         [BZ #13983]
26242         * elf/ldconfig.c (parse_conf): Change string to make clear that
26243         ldconfig only issued a warning if ld.so.conf does not exist.
26244
26245 2012-05-08  David S. Miller  <davem@davemloft.net>
26246
26247         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
26248         movxtod instead of popping the value on the stack.
26249
26250         * sysdeps/sparc/fpu/libm-test-ulps: Update.
26251
26252 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
26253
26254         * config.h.in: Add HAVE_ARM_PCS_VFP.
26255
26256 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
26257
26258         [BZ #13979]
26259         * include/features.h: Warn if user requests __FORTIFY_SOURCE
26260         checking but the checks are disabled for any reason.
26261
26262 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
26263
26264         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
26265         and ELF64_R_TYPE with ELFW(R_TYPE).
26266
26267 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
26268
26269         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
26270         (ulimit): Likewise.
26271
26272         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
26273         (settimeofday): Likewise.
26274
26275 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
26276
26277         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
26278         a struct th_u2 inside the union, and move tu_block/tu_code into
26279         a new th_u3 union of tu_block/tu_code inside of that.  Move
26280         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
26281         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
26282         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
26283         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
26284         (th_stuff): Change to th_u1.tu_stuff.
26285         (th_data): Define.
26286         (th_msg): Change to th_u1.th_u2.tu_data.
26287
26288 2012-05-07  David S. Miller  <davem@davemloft.net>
26289
26290         * sysdeps/sparc/fpu/libm-test-ulps: Update.
26291
26292         [BZ #14074]
26293         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
26294         (SETUP_PIC_REG): Use it.
26295         (SETUP_PIC_REG_LEAF): Use it.
26296
26297 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
26298
26299         [BZ #13885]
26300         [BZ #13923]
26301         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
26302         USE_AS_EXPM1L.
26303         (EXPL_FINITE): Likewise.
26304         (FLDLOG): Likewise.
26305         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
26306         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
26307         e_expl.S.
26308         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
26309         USE_AS_EXPM1L.
26310         (EXPL_FINITE): Likewise.
26311         (FLDLOG): Likewise.
26312         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
26313         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
26314         e_expl.S.
26315         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
26316         test of -max_value argument for long double.
26317         * sysdeps/i386/fpu/libm-test-ulps: Update.
26318         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26319
26320 2012-05-06  David S. Miller  <davem@davemloft.net>
26321
26322         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
26323         quad soft-float symbols whose references which are compiler
26324         generated.
26325         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
26326
26327 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
26328
26329         [BZ #13884]
26330         [BZ #13914]
26331         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
26332         USE_AS_EXP10L.
26333         (EXPL_FINITE): Likewise.
26334         (FLDLOG): Likewise.
26335         (c0): Likewise.
26336         (c1): Likewise.
26337         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
26338         Adjust comments for base varying.
26339         (__expl_finite): Change alias to EXPL_FINITE.
26340         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
26341         e_expl.S.
26342         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
26343         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
26344         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
26345         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
26346         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
26347         USE_AS_EXP10L.
26348         (EXPL_FINITE): Likewise.
26349         (FLDLOG): Likewise.
26350         (c0): Likewise.
26351         (c1): Likewise.
26352         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
26353         Adjust comments for base varying.
26354         (__expl_finite): Change alias to EXPL_FINITE.
26355         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
26356         tests for bugs.
26357         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26358
26359         [BZ #14064]
26360         * math/libm-test.inc (check_float_internal): Correct ulp
26361         calculation for subnormal expected results.
26362
26363 2012-05-06  Andreas Jaeger  <aj@suse.de>
26364
26365         * Makeconfig (+math-flags): New, set to -frounding-math.
26366         (+cflags): Add +math-flags so that all of glibc gets compiled with
26367         it.
26368
26369         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
26370
26371 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
26372
26373         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
26374         Disable one test.
26375
26376         [BZ #13787]
26377         [BZ #13922]
26378         [BZ #14036]
26379         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
26380         (__ieee754_expl): Allow for and saturate large arguments.
26381         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
26382         (u_threshold): Likewise.
26383         (__exp): Call __ieee754_exp before checking for overflow and
26384         underflow.
26385         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
26386         (u_threshold): Likewise.
26387         (__expf): Call __ieee754_expf before checking for overflow and
26388         underflow.
26389         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
26390         (u_threshold): Likewise.
26391         (__expl): Call __ieee754_expl before checking for overflow and
26392         underflow.
26393         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
26394         (__ieee754_expl): Allow for and saturate large arguments.
26395         * math/libm-test.inc (exp_test): Add another test.  Do not allow
26396         missing overflow exception on overflow.
26397         (expm1_test): Do not allow missing overflow exception on overflow.
26398
26399         * sysdeps/i386/fpu/e_expl.c: Move to ...
26400         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
26401         rather than using inline asm.
26402         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
26403         * sysdeps/x86_64/fpu/e_expl.S: Copy from
26404         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
26405
26406         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
26407         (nice): Likewise.
26408         (poll): Likewise.
26409         (signal): Likewise.
26410         (time): Likewise.
26411         (times): Likewise.
26412
26413 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
26414
26415         * sysdeps/unix/syscalls.list (adjtime): Add entry from
26416         sysdeps/unix/common/syscalls.list.
26417         (fchmod): Likewise.
26418         (fchown): Likewise.
26419         (ftruncate): Likewise.
26420         (getrusage): Likewise.
26421         (gettimeofday): Likewise.
26422         (setpgid): Likewise.
26423         (setregid): Likewise.
26424         (setreuid): Likewise.
26425         (sigaction): Likewise.
26426         (truncate): Likewise.
26427         (vhangup): Likewise.
26428         * sysdeps/unix/common/syscalls.list: Remove file.
26429         * sysdeps/unix/bsd/Implies: Don't include unix/common.
26430         * sysdeps/unix/sysv/linux/Implies: Likewise.
26431
26432 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
26433
26434         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
26435         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
26436         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
26437         Moved to ...
26438         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
26439         Here.
26440         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
26441         to ...
26442         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
26443         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
26444         to ...
26445         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
26446         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
26447         to ...
26448         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
26449         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
26450         to ...
26451         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
26452         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
26453         to ...
26454         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
26455         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
26456         to ...
26457         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
26458         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
26459         to ...
26460         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
26461         Here.
26462         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
26463         to ...
26464         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
26465         Here.
26466         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
26467         to ...
26468         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
26469         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
26470         Moved to ...
26471         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
26472         Here.
26473         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
26474         to ...
26475         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
26476
26477 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
26478
26479         * sysdeps/unix/common/bits/dirent.h: Remove file.
26480         * sysdeps/unix/common/bits/fcntl.h: Likewise.
26481
26482         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
26483         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
26484         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
26485         * sysdeps/unix/bsd/isatty.c: Likewise.
26486         * sysdeps/unix/bsd/tcdrain.c: Likewise.
26487         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
26488         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
26489
26490 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26491
26492         [BZ #13563]
26493         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
26494         long double comparison inaccuracies.
26495         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
26496         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26497
26498 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
26499
26500         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
26501         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
26502
26503 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
26504
26505         [BZ #14049]
26506         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
26507         nonzero digits before rounding a hex value.
26508         * stdlib/tst-strtod.c (tests): Add another test.
26509
26510 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
26511
26512         * sysdeps/s390/fpu/libm-test-ulps: Update.
26513
26514 2012-05-03  Andreas Jaeger  <aj@suse.de>
26515
26516         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
26517         does not get optimized out.
26518         (malloc_opt_barrier): New.
26519
26520 2012-05-03  Andreas Jaeger  <aj@suse.de>
26521             Roland McGrath  <roland@hack.frob.com>
26522
26523         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
26524         intermediate file deletion.
26525         (generated): Add .symlist files.
26526
26527 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
26528
26529         [BZ #13775]
26530         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
26531         Redirect under this condition.
26532         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
26533         [__USE_GNU] (__dprintf_chk): Not under this condition.
26534         [__USE_GNU] (__vdprintf_chk): Likewise.
26535         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
26536         under this condition.
26537         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
26538         [__USE_XOPEN2K8] (dprintf): Define under this condition.
26539         [__USE_XOPEN2K8] (vdprintf): Likewise.
26540         [__USE_GNU] (__dprintf_chk): Not under this condition.
26541         [__USE_GNU] (__vdprintf_chk): Likewise.
26542         [__USE_GNU] (dprintf): Likewise.
26543         [__USE_GNU] (vdprintf): Likewise.
26544
26545 2012-05-03  Roland McGrath  <roland@hack.frob.com>
26546
26547         * elf/Makefile (common-generated): Set this instead of generated for
26548         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
26549         $(all-built-dso)-derived lists.
26550
26551 2012-05-03  Andreas Jaeger  <aj@suse.de>
26552
26553         * sysdeps/i386/fpu/libm-test-ulps: Update.
26554
26555         * FAQ: Removed.
26556         * FAQ.in: Likewise.
26557         * scripts/gen-FAQ.pl: Likewise.
26558         * manual/install.texi (Installation): Point to online location of
26559         FAQ.
26560         * Makefile (files-for-dist): Remove FAQ.
26561         (FAQ): Remove.
26562
26563 2012-05-02  Allan McRae  <allan@archlinux.org>
26564
26565         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
26566         (LDFLAGS-reldepmod5.so): Likewise.
26567         (LDFLAGS-reldep6mod1.so): Likewise.
26568         (LDFLAGS-reldep6mod4.so): Likewise.
26569         (LDFLAGS-reldep8mod3.so): Likewise.
26570         (LDFLAGS-unload4mod1.so): Likewise.
26571         (LDFLAGS-unload4mod2.so): Likewise.
26572         (LDFLAGS-tst-initorder): Likewise.
26573         (LDFLAGS-tst-initordera2.so): Likewise.
26574         (LDFLAGS-tst-initordera3.so): Likewise.
26575         (LDFLAGS-tst-initordera4.so): Likewise.
26576         (LDFLAGS-tst-initorderb2.so): Likewise.
26577         (LDFLAGS-noload): Likewise.
26578         (LDFLAGS-next): Likewise.
26579         (LDFLAGS-order2mod1.so): Likewise.
26580         (LDFLAGS-order2mod2.so): Likewise.
26581         (LDFLAGS-tst-initorder2): Likewise.
26582         (LDFLAGS-tst-initorder2a.so): Likewise.
26583         (LDFLAGS-tst-initorder2b.so): Likewise.
26584         (LDFLAGS-tst-initorder2c.so): Likewise.
26585         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
26586
26587 2012-05-02  David S. Miller  <davem@davemloft.net>
26588
26589         * sysdeps/sparc/fpu/libm-test-ulps: Update.
26590
26591 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
26592
26593         [BZ #14055]
26594         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
26595
26596 2012-05-02  Andreas Jaeger  <aj@suse.de>
26597
26598         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
26599         since we manipulate rounding mode.
26600         (CPPFLAGS-test-idouble.c): Likewise.
26601         (CPPFLAGS-test-ifloat.c): Likewise.
26602         (CFLAGS-test-ldouble.c): Likewise.
26603         (CFLAGS-test-double.c): Likewise.
26604         (CFLAGS-test-float.c): Likewise.
26605         (CFLAGS-test-misc.c): Likewise.
26606         (CFLAGS-test-test-fenv.c): Likewise.
26607
26608 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26609
26610         [BZ #2550]
26611         [BZ #2570]
26612         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
26613         comparisons to determine direction to adjust input.
26614
26615 2012-05-01  Roland McGrath  <roland@hack.frob.com>
26616
26617         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
26618         output to the target.
26619
26620         * scripts/localplt.awk: New file.
26621         * elf/Makefile ($(objpfx)check-localplt): Target removed.
26622         (check-localplt-CFLAGS): Variable removed.
26623         ($(all-built-dso:=.jmprel)): New static pattern rule.
26624         (generated): Add those targets.
26625         (localplt-built-dso): New variable.
26626         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
26627
26628         * elf/check-localplt.c: File removed.
26629
26630         * scripts/check-execstack.awk: New file.
26631         * elf/Makefile ($(objpfx)check-execstack): Target removed.
26632         (check-execstack-CFLAGS): Variable removed.
26633         ($(objpfx)check-execstack.h): Target removed.
26634         ($(objpfx)execstack-default): New target.
26635         (generated): Add that instead of check-execstack.h.
26636         ($(all-built-dso:=.phdr)): New static pattern rule.
26637         (generated): Add those targets.
26638         * elf/check-execstack.c: File removed.
26639
26640         * scripts/check-textrel.awk: New file.
26641         * elf/Makefile ($(objpfx)check-textrel): Target removed.
26642         (check-textrel-CFLAGS): Variable removed.
26643         (all-built-dso): Use := to define.o
26644         ($(all-built-dso:=.dyn)): New static pattern rule.
26645         (generated): Add those targets.
26646         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
26647         * config.make.in (READELF): New substituted variable.
26648         * elf/check-textrel.c: File removed.
26649
26650 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
26651
26652         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
26653         allow.
26654         * conform/data/ctype.h-data [C99-based standards] (isblank):
26655         Expect function.
26656         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
26657         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
26658         [ISO || ISO99 || ISO11] (*_t): Do not allow.
26659         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
26660         Specify type.  Require positive value.
26661         (EILSEQ): Likewise.
26662         (ERANGE): Likewise.
26663         [ISO || POSIX] (EILSEQ): Do not expect.
26664         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
26665         Specify type.  Require positive value.
26666         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
26667         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
26668         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
26669         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
26670         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
26671         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
26672         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
26673         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
26674         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
26675         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
26676         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
26677         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
26678         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
26679         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
26680         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
26681         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
26682         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
26683         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
26684         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
26685         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
26686         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
26687         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
26688         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
26689         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
26690         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
26691         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
26692         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
26693         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
26694         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
26695         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
26696         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
26697         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
26698         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
26699         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
26700         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
26701         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
26702         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
26703         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
26704         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
26705         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
26706         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
26707         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
26708         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
26709         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
26710         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
26711         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
26712         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
26713         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
26714         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
26715         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
26716         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
26717         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
26718         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
26719         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
26720         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
26721         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
26722         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
26723         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
26724         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
26725         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
26726         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
26727         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
26728         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
26729         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
26730         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
26731         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
26732         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
26733         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
26734         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
26735         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
26736         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
26737         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
26738         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
26739         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
26740         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
26741         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
26742         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
26743         Require >= 2.
26744         (FLT_ROUNDS): Expect as macro, not constant.
26745         (FLT_MANT_DIG): Use macro-int-constant.
26746         (DBL_MANT_DIG): Likewise.
26747         (LDBL_MANT_DIG): Likewise.
26748         (FLT_DIG): Likewise.
26749         (DBL_DIG): Likewise.
26750         (LDBL_DIG): Likewise.
26751         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
26752         (DBL_MIN_EXP): Likewise.
26753         (LDBL_MIN_EXP): Likewise.
26754         (FLT_MAX_EXP): Use macro-int-constant.
26755         (DBL_MAX_EXP): Likewise.
26756         (LDBL_MAX_EXP): Likewise.
26757         (FLT_MAX_10_EXP): Likewise.
26758         (DBL_MAX_10_EXP): Likewise.
26759         (LDBL_MAX_10_EXP): Likewise.
26760         (FLT_MAX): Use macro-constant.
26761         (DBL_MAX): Likewise.
26762         (LDBL_MAX): Likewise.
26763         (FLT_EPSILON): Use macro-constant.  Give upper bound.
26764         (DBL_EPSILON): Likewise.
26765         (LDBL_EPSILON): Likewise.
26766         (FLT_MIN): Likewise.
26767         (DBL_MIN): Likewise.
26768         (LDBL_MIN): Likewise.
26769         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
26770         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
26771         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
26772         [ISO11] (FLT_HAS_SUBNORM): Likewise.
26773         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
26774         [ISO11] (DBL_DECIMAL_DIG): Likewise.
26775         [ISO11] (FLT_DECIMAL_DIG): Likewise.
26776         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
26777         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
26778         [ISO11] (FLT_TRUE_MIN): Likewise.
26779         [ISO11] (LDBL_TRUE_MIN): Likewise.
26780         [ISO || ISO99 || ISO11] (*_t): Do not allow.
26781         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
26782         (SCHAR_MIN): Use macro-int-constant.  Specify type.
26783         (SCHAR_MAX): Likewise.
26784         (UCHAR_MAX): Likewise.
26785         (CHAR_MIN): Likewise.
26786         (CHAR_MAX): Likewise.
26787         (MB_LEN_MAX): Use macro-int-constant.
26788         (SHRT_MIN): Use macro-int-constant.  Specify type.
26789         (SHRT_MAX): Likewise.
26790         (USHRT_MAX): Likewise.
26791         (INT_MAX): Likewise.
26792         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
26793         bound negative.
26794         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
26795         bound with "U".
26796         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
26797         bound with "L".
26798         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
26799         bound negative.  Suffix upper bound with "L".
26800         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
26801         bound with "UL".
26802         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
26803         Specify type.
26804         [C99-based standards] (LLONG_MAX): Likewise.
26805         [C99-based standards] (ULLONG_MAX): Likewise.
26806         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
26807         == 0.
26808         [ISO11] (max_align_t): Require type.
26809         [ISO || ISO99 || ISO11] (*_t): Do not allow.
26810
26811         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
26812         from $CFLAGS, without defining away __attribute__ calls.
26813         (checknamespace): Use $CFLAGS_namespace.
26814
26815         * conform/conformtest.pl (@keywords): Only include C99 keywords
26816         for standards based on C99 or C11.
26817
26818         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
26819         Disable tests.
26820         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
26821         UNIX98]: Likewise.
26822
26823         * conform/conformtest.pl: Handle "macro-int-constant" and test for
26824         usability of symbols in #if.
26825
26826         * conform/conformtest.pl: If macro or constant types start
26827         "promoted:", expect the symbol to be of the following type
26828         promoted by the integer promotions.
26829
26830         * conform/conformtest.pl: Parse all "constant" and "macro" lines
26831         in one place.  Also handle "macro-constant".
26832
26833         * conform/conformtest.pl: Only accept expected macro values with
26834         "==".  Parse all "macro" lines in one place.
26835         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
26836
26837         * conform/conformtest.pl: Handle braced types on "constant" lines
26838         instead of handling "typed-constant".
26839         * conform/data/signal.h-data: Use "constant" instead of
26840         "typed-constant".
26841
26842         * conform/conformtest.pl: Handle "optional-" at start of lines in
26843         one place rather than duplicating several cases.  Handle each
26844         format of "macro" line with initial "optional-".
26845
26846         * conform/conformtest.pl: Only accept expected constant or
26847         optional-constant values with "==".  Parse all "constant" lines in
26848         one place.  Parse all "optional-constant" lines in one place.
26849         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
26850         * conform/data/fmtmsg.h-data: Likewise.
26851         * conform/data/netinet/in.h-data: Likewise.
26852         * conform/data/tar.h-data: Likewise.
26853         * conform/data/limits.h-data: Use "==" form on "constant" and
26854         "optional-constant" lines.
26855
26856         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
26857         Use -std=c99 for XOPEN2K.
26858         (@knownproblems): Remove.
26859         (newtoken): Don't check %isknown.
26860
26861         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
26862         Do not expect macro.
26863         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
26864         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
26865         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
26866         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
26867         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
26868         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
26869         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
26870         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
26871         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
26872         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
26873         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
26874         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
26875         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
26876         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
26877         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
26878         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
26879         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
26880         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
26881         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
26882         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
26883         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
26884         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
26885         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
26886         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
26887         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
26888         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
26889         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
26890         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
26891         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
26892         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
26893         [XPG3] (acosh): Likewise.
26894         [XPG3] (asinh): Likewise.
26895         [XPG3] (atanh): Likewise.
26896         [XPG3] (cbrt): Likewise.
26897         [XPG3] (expm1): Likewise.
26898         [XPG3] (ilogb): Likewise.
26899         [XPG3] (log1p): Likewise.
26900         [XPG3] (logb): Likewise.
26901         [XPG3] (nextafter): Likewise.
26902         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
26903         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
26904         [XPG3] (remainder): Likewise.
26905         [XPG3] (rint): Likewise.
26906         [XPG3 || XPG4 || UNIX98] (round): Likewise.
26907         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
26908         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
26909         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
26910         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
26911         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
26912         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
26913         [UNIX98 || XOPEN2K] (scalb): Expect.
26914         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
26915         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
26916         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
26917         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
26918         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
26919         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
26920         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
26921         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
26922         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
26923         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
26924         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
26925         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
26926         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
26927         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
26928         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
26929         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
26930         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
26931         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
26932         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
26933         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
26934         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
26935         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
26936         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
26937         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
26938         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
26939         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
26940         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
26941         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
26942         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
26943         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
26944         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
26945         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
26946         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
26947         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
26948         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
26949         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
26950         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
26951         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
26952         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
26953         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
26954         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
26955         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
26956         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
26957         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
26958         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
26959         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
26960         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
26961         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
26962         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
26963         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
26964         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
26965         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
26966         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
26967         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
26968         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
26969         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
26970         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
26971         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
26972         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
26973         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
26974         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
26975         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
26976         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
26977         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
26978         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
26979         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
26980         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
26981         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
26982         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
26983         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
26984         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
26985         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
26986         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
26987         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
26988         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
26989         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
26990         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
26991         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
26992         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
26993         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
26994         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
26995         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
26996         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
26997         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
26998         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
26999         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
27000         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
27001         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
27002         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
27003         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
27004         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
27005         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
27006         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
27007         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
27008         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
27009         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
27010         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
27011         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
27012         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
27013         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
27014         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
27015         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
27016         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
27017         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
27018         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
27019         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
27020         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
27021         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
27022         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
27023         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
27024         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
27025         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
27026         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
27027         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
27028         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
27029         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
27030         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
27031         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
27032         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
27033         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
27034         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
27035         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
27036         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
27037         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
27038         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
27039         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
27040         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
27041         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
27042         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
27043         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
27044         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
27045         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
27046         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
27047         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
27048         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
27049         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
27050         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
27051
27052         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
27053         _XOPEN_SOURCE_EXTENDED for XPG4.
27054
27055         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
27056
27057         * Makeconfig (localtime): Remove variable.
27058         (inst_localtime-file): Likewise.
27059
27060 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
27061
27062         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
27063         Update.
27064         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
27065         Update.
27066         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
27067         Update.
27068         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
27069         Update.
27070         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
27071         Update.
27072         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
27073         Update.
27074         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
27075         Update.
27076         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
27077         Update.
27078         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
27079         Update.
27080
27081 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
27082
27083         [BZ #2550]
27084         [BZ #2570]
27085         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
27086         comparisons to determine direction to adjust input.
27087         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
27088         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
27089         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
27090         Likewise.
27091         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
27092         Likewise.
27093         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
27094         Likewise.
27095         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
27096         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
27097         Likewise.
27098         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
27099         Likewise.
27100         * math/libm-test.inc (nexttoward_test): Add more tests.
27101
27102 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
27103
27104         [BZ #14040]
27105         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
27106         in version GLIBC_2.1, not GLIBC_2.0.
27107         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
27108         Likewise.
27109
27110 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
27111
27112         [BZ #13942]
27113         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
27114         (1 - x) * (1 + x).
27115         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
27116         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
27117         * math/libm-test.inc (acos_test): Add more tests.
27118         (asin_test): Likewise.
27119         * sysdeps/i386/fpu/libm-test-ulps: Update.
27120         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27121
27122         [BZ #14034]
27123         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
27124         of square root.
27125         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
27126         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
27127         * math/libm-test.inc (acos_test_tonearest): New function.
27128         (acos_test_towardzero): Likewise.
27129         (acos_test_downward): Likewise.
27130         (acos_test_upward): Likewise.
27131         (asin_test_tonearest): Likewise.
27132         (asin_test_towardzero): Likewise.
27133         (asin_test_downward): Likewise.
27134         (asin_test_upward): Likewise.
27135         (main): Call the new functions.
27136         * sysdeps/i386/fpu/libm-test-ulps: Update.
27137         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27138
27139         [BZ #13884]
27140         [BZ #13924]
27141         * math/e_exp10.c: Include <float.h>.
27142         (__ieee754_exp10): Handle underflow here rather than multiplying
27143         large negative argument by M_LN10.
27144         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
27145         of __ieee754_expf.
27146         * math/e_exp10l.c: Include <float.h>.
27147         (__ieee754_exp10l): Handle underflow here rather than multiplying
27148         large negative argument by M_LN10l.
27149         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
27150         spurious overflow exception on underflow.
27151
27152 2012-04-29  Marek Polacek  <polacek@redhat.com>
27153
27154         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
27155         (__fortify_function): New macro.
27156         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
27157         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
27158         __extern_always_inline.
27159         * libio/bits/stdio2.h: Likewise.
27160         * libio/bits/stdio.h: Likewise.
27161         * string/string.h: Likewise.
27162         * string/bits/string3.h: Likewise.
27163         * include/stdio.h: Likewise.
27164         * stdlib/bits/stdlib.h: Likewise.
27165         * stdlib/stdlib.h: Likewise.
27166         * rt/bits/mqueue2.h: Likewise.
27167         * rt/mqueue.h: Likewise.
27168         * posix/bits/unistd.h: Likewise.
27169         * posix/unistd.h: Likewise.
27170         * io/bits/poll2.h: Likewise.
27171         * io/bits/fcntl2.h: Likewise.
27172         * io/fcntl.h: Likewise.
27173         * io/sys/poll.h: Likewise.
27174         * misc/bits/syslog.h: Likewise.
27175         * misc/bits/syslog-ldbl.h: Likewise.
27176         * misc/sys/syslog.h: Likewise.
27177         * socket/bits/socket2.h: Likewise.
27178         * socket/sys/socket.h: Likewise.
27179         * debug/tst-chk1.c: Likewise.
27180         * wcsmbs/bits/wchar2.h: Likewise.
27181         * wcsmbs/bits/wchar-ldbl.h: Likewise.
27182         * wcsmbs/wchar.h: Likewise.
27183
27184 2012-04-29  Andreas Jaeger  <aj@suse.de>
27185
27186         * Makerules (tests): Remove enable-check-abi protection.
27187         (check-abi-warn): Remove.
27188         (check-abi-%): Remove check-abi-warn usage.
27189
27190         * configure.in: Remove check-abi configure option.
27191         * configure: Regenerated.
27192         * config.make.in (enable-check-abi): Remove.
27193
27194 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
27195
27196         [BZ #14033]
27197         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
27198         double functions to double *_finite functions.
27199
27200         [BZ #13941]
27201         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
27202         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
27203         LDBL_MIN_EXP.
27204         * stdio-common/Makefile (tests): Add tst-sprintf3.
27205         * stdio-common/tst-sprintf3.c: New file.
27206
27207         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
27208         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
27209
27210 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
27211
27212         * conform/conformtest.pl: Remove duplicate typed-constant
27213         handling.
27214
27215 2012-04-28  David S. Miller  <davem@davemloft.net>
27216
27217         * Makerules (%.abilist): Add vpath on sysdep_dirs.
27218         (check-abi-%): Remove AWK script prerequisite and explicit
27219         abilist directory.
27220         (check-abi): Rewrite to just diff the symlist with the abilist.
27221         (config-tls, config-abi-config): Delete, no longer used.
27222         (update-abi-%): Remove AWK script and explicit abilist directory.
27223         (update-abi): Rewrite to simply compare and conditionally copy the
27224         symlist and the sysdep abilist file.  Remove update-abi-config
27225         checks.
27226         * abilist/ld.abilist: Remove.
27227         * abilist/libBrokenLocale.abilist: Remove.
27228         * abilist/libanl.abilist: Remove.
27229         * abilist/libcrypt.abilist: Remove.
27230         * abilist/libdl.abilist: Remove.
27231         * abilist/librt.abilist: Remove.
27232         * abilist/libthread_db.abilist: Remove.
27233         * abilist/libutil.abilist: Remove.
27234         * scripts/extract-abilist.awk: Remove.
27235         * scripts/merge-abilist.awk: Remove.
27236         * sysdeps/generic/libcidn.abilist: New file.
27237         * sysdeps/generic/libnss_compat.abilist: New file.
27238         * sysdeps/generic/libnss_db.abilist: New file.
27239         * sysdeps/generic/libnss_dns.abilist: New file.
27240         * sysdeps/generic/libnss_files.abilist: New file.
27241         * sysdeps/generic/libnss_hesiod.abilist: New file.
27242         * sysdeps/generic/libnss_nis.abilist: New file.
27243         * sysdeps/generic/libnss_nisplus.abilist: New file.
27244         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
27245         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
27246         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
27247         file.
27248         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
27249         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
27250         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
27251         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
27252         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
27253         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
27254         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
27255         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
27256         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
27257         file.
27258         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
27259         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
27260         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
27261         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
27262         file.
27263         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
27264         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
27265         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
27266         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
27267         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
27268         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
27269         file.
27270         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
27271         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
27272         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
27273         file.
27274         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
27275         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
27276         New file.
27277         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
27278         New file.
27279         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
27280         New file.
27281         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
27282         New file.
27283         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
27284         New file.
27285         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
27286         New file.
27287         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
27288         New file.
27289         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
27290         New file.
27291         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
27292         New file.
27293         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
27294         New file.
27295         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
27296         New file.
27297         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
27298         New file.
27299         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
27300         New file.
27301         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
27302         file.
27303         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
27304         New file.
27305         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
27306         New file.
27307         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
27308         file.
27309         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
27310         New file.
27311         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
27312         New file.
27313         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
27314         file.
27315         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
27316         New file.
27317         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
27318         New file.
27319         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
27320         New file.
27321         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
27322         New file.
27323         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
27324         New file.
27325         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
27326         New file.
27327         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
27328         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
27329         file.
27330         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
27331         New file.
27332         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
27333         file.
27334         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
27335         file.
27336         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
27337         file.
27338         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
27339         file.
27340         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
27341         file.
27342         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
27343         New file.
27344         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
27345         file.
27346         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
27347         file.
27348         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
27349         New file.
27350         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
27351         file.
27352         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
27353         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
27354         file.
27355         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
27356         New file.
27357         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
27358         file.
27359         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
27360         file.
27361         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
27362         file.
27363         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
27364         file.
27365         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
27366         file.
27367         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
27368         New file.
27369         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
27370         file.
27371         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
27372         file.
27373         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
27374         New file.
27375         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
27376         file.
27377         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
27378         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
27379         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
27380         file.
27381         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
27382         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
27383         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
27384         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
27385         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
27386         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
27387         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
27388         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
27389         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
27390         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
27391         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
27392         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
27393         file.
27394         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
27395         New file.
27396         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
27397         file.
27398         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
27399         file.
27400         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
27401         file.
27402         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
27403         file.
27404         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
27405         file.
27406         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
27407         New file.
27408         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
27409         New file.
27410         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
27411         file.
27412         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
27413         New file.
27414         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
27415         file.
27416         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
27417         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
27418         file.
27419         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
27420         New file.
27421         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
27422         file.
27423         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
27424         file.
27425         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
27426         file.
27427         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
27428         file.
27429         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
27430         file.
27431         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
27432         New file.
27433         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
27434         New file.
27435         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
27436         file.
27437         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
27438         New file.
27439         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
27440         file.
27441
27442 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
27443
27444         * conform/conformtest.pl: Fix typo in handling typed-constant from
27445         allow-header.
27446
27447 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
27448
27449         * README: Cut down references to pre-2.6 Linux kernels and
27450         Linuxthreads.  Update lists of configurations in libc and ports
27451         and sort alphabetically.  Say "or newer" with Linux kernel version
27452         requirements.
27453
27454         * config.h.in [IS_IN_build]: Allow compiling without optimization.
27455
27456 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
27457
27458         [BZ #887]
27459         * math/libm-test.inc (logb_test_downward): New test to expose
27460         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
27461         rounding mode.
27462
27463 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
27464
27465         [BZ #14027]
27466         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
27467         to be done.
27468         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
27469         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
27470
27471 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
27472
27473         * sysdeps/unix/i386/brk.S: Remove file.
27474         * sysdeps/unix/i386/dl-brk.S: Likewise.
27475         * sysdeps/unix/i386/pipe.S: Likewise.
27476         * sysdeps/unix/i386/sigreturn.S: Likewise.
27477         * sysdeps/unix/i386/syscall.S: Likewise.
27478         * sysdeps/unix/i386/vfork.S: Likewise.
27479         * sysdeps/unix/i386/wait.S: Likewise.
27480
27481         * sysdeps/unix/common/tcsendbrk.c: Move to ...
27482         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
27483
27484         * configure.in (arm*-none*): Do not allow without
27485         --enable-hacker-mode.
27486         (netbsd*): Remove case setting base_os.
27487         (386bsd*): Likewise.
27488         (freebsd*): Likewise.
27489         (bsdi*): Likewise.
27490         (osf*): Likewise.
27491         (sunos*): Likewise.
27492         (ultrix*): Likewise.
27493         (newsos*): Likewise.
27494         (dynix*): Likewise.
27495         (*bsd*): Likewise.
27496         (sysv*): Likewise.
27497         (isc*): Likewise.
27498         (esix*): Likewise.
27499         (sco*): Likewise.
27500         (minix*): Likewise.
27501         (irix4*): Likewise.
27502         (irix6*): Likewise.
27503         (solaris[2-9]*): Likewise.
27504         (none): Likewise.
27505         * configure: Regenerated.
27506
27507 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27508
27509         [BZ #11521]
27510         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
27511         overflow or cancellation in calculating denominator.
27512         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
27513         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
27514         down expression to avoid unexpected rounding in newer GCCs.
27515         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
27516
27517 2012-04-26  David S. Miller  <davem@davemloft.net>
27518
27519         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
27520         long-double compat symbols.
27521         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
27522         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
27523         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
27524         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
27525         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
27526         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
27527         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
27528         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
27529         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
27530         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
27531         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
27532         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
27533         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
27534
27535 2012-04-25  David S. Miller  <davem@davemloft.net>
27536
27537         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
27538         HWCAP_* values only after the memory barriers have been defined.
27539         (atomic_full_barrier): Define.
27540         (atomic_read_barrier): Define.
27541         (atomic_write_barrier): Define.
27542
27543 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
27544
27545         * shlib-versions: Add libgcc_s version information.
27546         * sysdeps/generic/libgcc_s.h: Remove.
27547         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
27548         libgcc_s.h.
27549         * sysdeps/gnu/unwind-resume.c: Likewise.
27550         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
27551
27552 2012-04-25  David S. Miller  <davem@davemloft.net>
27553
27554         * sysdeps/unix/sparc/brk.S: Delete.
27555         * sysdeps/unix/sparc/dl-brk.S: Delete.
27556         * sysdeps/unix/sparc/pipe.S: Delete.
27557         * sysdeps/unix/sparc/sysdep.S: Delete.
27558         * sysdeps/unix/sparc/sysdep.h: Delete.
27559         * sysdeps/unix/sparc/vfork.S: Delete.
27560         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
27561         SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
27562         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
27563         ret_ERRVAL, r0, r1, MOVE): Define.
27564         (JUMPTARGET): Remove.
27565         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
27566         sysdeps/unix/sparc/sysdep.h
27567         (ENTRY, END): Remove.
27568         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
27569
27570 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
27571
27572         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
27573         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
27574         -DIS_IN_build.
27575
27576         * timezone/README: Update upstream location and email address for
27577         tzcode and tzdata.
27578         * timezone/zdump.c: Update from tzcode 2012b.
27579         * timezone/zic.c: Likewise.
27580
27581         * configure.in (libc_cv_as_needed): Remove test.
27582         * configure: Regenerated.
27583         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
27584         conditional definition.
27585         [$(have-as-needed) != yes] (no-as-needed): Likewise.
27586         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
27587         * config.make.in (have-as-needed): Remove variable.
27588
27589 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
27590             Paul Pluzhnikov  <ppluzhnikov@google.com>
27591
27592         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
27593         strings correctly.
27594
27595 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
27596
27597         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
27598         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
27599         * sysdeps/sh/strlen.S: Likewise.
27600
27601 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
27602
27603         * sysdeps/unix/fork.S: Remove file.
27604         * sysdeps/unix/i386/fork.S: Likewise.
27605         * sysdeps/unix/sparc/fork.S: Likewise.
27606
27607         * sysdeps/unix/system.c: Remove file.
27608         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
27609
27610         * sysdeps/unix/getegid.S: Remove file.
27611         * sysdeps/unix/geteuid.S: Likewise.
27612
27613 2012-04-24  Roland McGrath  <roland@hack.frob.com>
27614
27615         * scripts/check-localplt.awk: New file.
27616         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
27617         of diff.
27618         * scripts/data/localplt-generic.data: Add a comment.
27619
27620         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
27621         NODE when __dir_mkfile failed.
27622         * sysdeps/mach/hurd/symlinkat.c: Likewise.
27623         Reported by Ludovic Courtès <ludo@gnu.org>.
27624
27625 2012-04-24  Andreas Jaeger  <aj@suse.de>
27626
27627         * Makerules (common-clean): Also remove gen-as-const-headers
27628         files.
27629
27630 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
27631
27632         * Makerules (native-compile): Do not change working directory for
27633         build.  Use $(OUTPUT_OPTION) in command.
27634         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
27635
27636 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27637
27638         [BZ #13886]
27639         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
27640         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
27641         * math/libm-test.inc (floor_test): Add more tests.
27642         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
27643
27644 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
27645
27646         * sysdeps/unix/getdents.c: Remove file.
27647         * sysdeps/unix/sysv/getdents.c: Likewise.
27648         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
27649
27650         * sysdeps/unix/syscalls.list (madvise): Add syscall from
27651         sysdeps/unix/mman/syscalls.list.
27652         (mmap): Likewise.
27653         (mprotect): Likewise.
27654         (msync): Likewise.
27655         (munmap): Likewise.
27656         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
27657         * sysdeps/unix/mman/syscalls.list: Remove.
27658         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
27659
27660         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
27661         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
27662         * configure: Regenerated.
27663         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
27664         $(libgcc_s_suffix).
27665         * config.make.in (libgcc_s_suffix): Remove variable.
27666
27667 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
27668
27669         * sysdeps/unix/sysv/gethostname.c: Move to ...
27670         * sysdeps/posix/gethostname.c: ... here.
27671
27672         * sysdeps/unix/execve.S: Remove file.
27673
27674         * sysdeps/unix/_exit.S: Remove file.
27675
27676 2012-04-23  Andreas Jaeger  <aj@suse.de>
27677
27678         [BZ #13739]
27679         * manual/Makefile: Remove make dist support, there's no
27680         need for a stand-alone documentation tar ball.
27681         (TEXI2DVI): Define always, it's not in Makeconfig.
27682         (dist): Removed.
27683         (tar-it): Removed.
27684         (edition): Removed.
27685         (glibc-doc-$(edition).tar): Removed
27686         (%.Z): Removed.
27687         (%.gz): Removed.
27688         (%.uu): Removed.
27689         (ETAGS): Remove, it's in Makeconfig.
27690         (move-if-change): Remove, it's in Makeconfig.
27691
27692 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
27693
27694         [BZ #13970]
27695         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
27696         (strtod, strtof, strtold, strtol, strtoul, strtoq)
27697         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
27698         (strtod_l, strtof_l, strtold_l): Remove __wur.
27699         It is not necessarily an error to ignore strtol's return value.
27700         One can reliably look at the stored endptr to decide whether
27701         the number had valid syntax.
27702
27703 2012-04-21  Andreas Jaeger  <aj@suse.de>
27704
27705         [BZ #13739]
27706         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
27707
27708 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
27709
27710         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
27711         * sysdeps/unix/sysv/Versions: Remove file.
27712
27713 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
27714
27715         [BZ #13927]
27716         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27717
27718 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
27719
27720         [BZ #7064]
27721         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
27722         version from __vm86.
27723
27724 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
27725
27726         * sysdeps/unix/common/lxstat.c: Remove file.
27727         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
27728
27729         * sysdeps/unix/sysv/Makefile: Remove file.
27730
27731         * sysdeps/unix/sysv/direct.h: Remove file.
27732
27733         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
27734         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
27735         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
27736         * sysdeps/unix/sysv/bits/signum.h: Likewise.
27737         * sysdeps/unix/sysv/bits/stat.h: Likewise.
27738         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
27739         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
27740
27741         * sysdeps/unix/sysv/setrlimit.c: Remove file.
27742
27743         * sysdeps/unix/xmknod.c: Remove file.
27744         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
27745
27746         * sysdeps/unix/sysv/settimeofday.c: Remove file.
27747
27748         * sysdeps/unix/sysv/i386/time.S: Remove file.
27749
27750         * sysdeps/unix/fxstat.c: Remove file.
27751         * sysdeps/unix/xstat.c: Likewise.
27752         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
27753
27754         * sysdeps/unix/sysv/sigaction.c: Remove file.
27755
27756         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
27757         (sysdep_headers): Remove variable.
27758         [termio.h not in sysdep_headers] (generated): Likewise.
27759         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
27760         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
27761         * sysdeps/unix/sysv/tcdrain.c: Likewise.
27762         * sysdeps/unix/sysv/tcflow.c: Likewise.
27763         * sysdeps/unix/sysv/tcflush.c: Likewise.
27764         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
27765         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
27766         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
27767         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
27768         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
27769
27770         * sysdeps/unix/siglist.c: Remove file.
27771
27772         * sysdeps/unix/getppid.S: Remove file.
27773
27774         * sysdeps/unix/mkdir.c: Remove file.
27775         * sysdeps/unix/rmdir.c: Likewise.
27776
27777 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
27778
27779         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
27780         ERR_MAX value.
27781         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
27782         errlist-compat value.
27783
27784 2012-04-18  David S. Miller  <davem@davemloft.net>
27785
27786         * sysdeps/generic/memcopy.h (reg_char): Delete.
27787         * debug/strcat_chk.c: Use char, not reg_char.
27788         * debug/strcpy_chk.c: Likewise.
27789         * debug/strncat_chk.c: Likewise.
27790         * debug/strncpy_chk.c: Likewise.
27791         * string/memchr.c: Likewise.
27792         * string/memrchr.c: Likewise.
27793         * string/rawmemchr.c: Likewise.
27794         * string/strcat.c: Likewise.
27795         * string/strchr.c: Likewise.
27796         * string/strchrnul.c: Likewise.
27797         * string/strcmp.c: Likewise.
27798         * string/strcpy.c: Likewise.
27799         * string/strncat.c: Likewise.
27800         * string/strncmp.c: Likewise.
27801         * string/strncpy.c: Likewise.
27802
27803 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
27804
27805         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
27806         __builtin_memcopy is called when src and dest ranges are known to not
27807         overlap.
27808
27809 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
27810
27811         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
27812         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
27813         fwd_align_merge macro call.
27814         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
27815         bwd_align_merge macro call.
27816         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
27817
27818 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
27819
27820         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
27821         bwd_align_merge macros.
27822         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
27823         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
27824         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
27825
27826 2012-04-18  David S. Miller  <davem@davemloft.net>
27827
27828         * sysdeps/sparc/sparc64/memcopy.h: Delete.
27829
27830 2012-04-18  Andreas Jaeger  <aj@suse.de>
27831
27832         [BZ# 6794]
27833         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
27834         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
27835         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
27836
27837         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
27838         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
27839         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
27840
27841         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
27842         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
27843         Adjust for changed ldbl-128 files.
27844
27845         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
27846         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
27847         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
27848
27849 2012-04-17  David S. Miller  <davem@davemloft.net>
27850
27851         * sysdeps/sparc/sparc32/memcopy.h: Delete.
27852
27853 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
27854
27855         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
27856         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
27857         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
27858         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
27859         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
27860         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
27861
27862 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27863
27864         [BZ #6794]
27865         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
27866         * math/libm-test.inc: Add ilogb errno and exception tests.
27867         * math/w_ilogb.c: New file: ilogb wrapper.
27868         * math/w_ilogbf.c: New file: ilogbf wrapper.
27869         * math/w_ilogbl.c: New file: ilogbl wrapper.
27870         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
27871         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
27872         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
27873         exception being thrown with 0.0 as argument.
27874         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
27875         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
27876         exception being thrown with 0.0 as argument.
27877         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
27878         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
27879         exception being thrown with 0.0 as argument.
27880         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
27881         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
27882         exception being thrown with 0.0 as argument.
27883         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
27884         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
27885         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
27886         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
27887         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
27888         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
27889         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
27890         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
27891         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
27892
27893 2012-04-17  Petr Baudis  <pasky@ucw.cz>
27894
27895         * include/sys/uio.h: Change __vector to __iovec to avoid clash
27896         with altivec.
27897
27898 2012-04-16  Marek Polacek  <polacek@redhat.com>
27899
27900         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
27901
27902 2012-04-16  Marek Polacek  <polacek@redhat.com>
27903
27904         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
27905         operands of fdivp instruction.
27906
27907 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
27908
27909         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
27910         * elf/tst-auditmod3b.c: Likewise.
27911         * elf/tst-auditmod4b.c: Likewise.
27912         * elf/tst-auditmod5b.c: Likewise.
27913         * elf/tst-auditmod6b.c: Likewise.
27914         * elf/tst-auditmod6c.c: Likewise.
27915         * elf/tst-auditmod7b.c: Likewise.
27916         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
27917         * sysdeps/x86_64/preconfigure.in: Likewise.
27918         * sysdeps/x86_64/preconfigure: Regenerated.
27919
27920 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
27921
27922         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
27923         __ILP32__.
27924
27925 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
27926
27927         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
27928         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
27929
27930 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
27931
27932         [BZ #13973]
27933         * locale/iso-639.def: Fix gl language name. Spotted by
27934         Yaron Shahrabani.
27935
27936 2012-04-12  Roland McGrath  <roland@hack.frob.com>
27937
27938         [BZ #2074]
27939         * libio/libio.h (__io_write_fn): Update comment.
27940
27941 2012-04-12  Petr Baudis  <pasky@ucw.cz>
27942
27943         [BZ #2074]
27944         * stdio.texi (Hook Functions): The user provided writer function
27945         is not allowed to return -1.
27946
27947 2012-04-11  David S. Miller  <davem@davemloft.net>
27948
27949         * sysdeps/sparc/fpu/libm-test-ulps: Update.
27950
27951 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
27952
27953         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
27954         Add a leading slash to rtkaio.
27955
27956 2012-04-11  Jim Meyering  <meyering@redhat.com>
27957
27958         [BZ #11959]
27959         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
27960         It is not necessarily an error to ignore fwrite's return
27961         value.  One can reliably use ferror to test for errors after
27962         the fact.
27963
27964 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
27965
27966         * bits/types.h (__snseconds_t): New type.
27967         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
27968
27969         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
27970         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
27971         (__SNSECONDS_T_TYPE): Likewise.
27972         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
27973         (__SNSECONDS_T_TYPE): Likewise.
27974         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
27975         (__SNSECONDS_T_TYPE): Likewise.
27976
27977 2012-04-10  Andreas Jaeger  <aj@suse.de>
27978
27979         [BZ #2636]
27980         * manual/time.texi (Processor Time): Return type of times is
27981         elapsed real time since an arbitrary point in the past.
27982         (CPU Time): Move CLK_TCK from here...
27983         (Processor Time): ...to here.  Correct description.
27984         * manual/conf.texi (Constants for Sysconf): Correct description of
27985         _SC_CLK_TCK.
27986
27987 2012-04-10  David S. Miller  <davem@davemloft.net>
27988
27989         [BZ #13967]
27990         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
27991         where the is a gap between DT_REL(A) and DT_JMPREL.
27992
27993 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
27994
27995         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
27996         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
27997         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
27998
27999 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
28000
28001         * elf/dl-support.c (_dl_inhibit_cache): New variable.
28002         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
28003         (dl_main): Handle --inhibit-cache.
28004         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
28005         _dl_inhibit_cache.
28006         * elf/dl-load.c (_dl_map_object): Use it.
28007         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
28008
28009 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
28010
28011         [BZ #13872]
28012         * sysdeps/i386/fpu/e_powl.S (p78): New object.
28013         (__ieee754_powl): Saturate large exponents rather than testing for
28014         overflow of y*log2(x).
28015         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
28016         * math/libm-test.inc (pow_test): Do not permit spurious overflow
28017         exceptions.
28018
28019         [BZ #11521]
28020         * math/s_ctan.c: Include <float.h>.
28021         (__ctan): Avoid internal overflow or cancellation in calculating
28022         denominator.
28023         * math/s_ctanf.c: Likewise.
28024         * math/s_ctanl.c: Likewise.
28025         * math/s_ctanh.c: Likewise.
28026         * math/s_ctanhf.c: Likewise.
28027         * math/s_ctanhl.c: Likewise.
28028         * math/libm-test.inc (ctan_test): Add more tests.
28029         (ctanh_test): Likewise.
28030         * sysdeps/i386/fpu/libm-test-ulps: Update.
28031         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28032
28033 2012-04-09  Andreas Jaeger  <aj@suse.de>
28034
28035         [BZ #6894]
28036         * manual/filesys.texi (Directory Entries): Mention that d_namlen
28037         is an optional BSD extension.
28038
28039         [BZ #10254]
28040         * manual/stdio.texi (Opening Streams): Document additional fopen
28041         parameters.
28042
28043 2012-04-09  Roland McGrath  <roland@hack.frob.com>
28044
28045         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
28046         %eax without telling the compiler.
28047
28048 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
28049
28050         [BZ # 13963]
28051         * manual/install.texi: Use sourceware.org.
28052
28053 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
28054
28055         [BZ #13873]
28056         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
28057         (__ieee754_pow): Generate overflow and underflow using huge*huge
28058         and tiny*tiny rather than just returning constant infinity or zero
28059         for large exponents.
28060         * math/libm-test.inc (pow_test): Require overflow exceptions for
28061         applicable cases of large exponents.
28062
28063         [BZ #706]
28064         * sysdeps/i386/fpu/e_pow.S (p10): New object.
28065         (__ieee754_pow): Use iterative multiplication algorithm only for
28066         integer exponents with absolute value below 1024.  Check for odd
28067         integer exponents when using algorithm for real exponents.
28068         * math/libm-test.inc (pow_test): Add more tests.
28069         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
28070
28071 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
28072
28073         [BZ #13705]
28074         * math/libm-test.inc (exp_test): Do not allow overflow exception
28075         on underflow test.
28076
28077 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
28078
28079         [BZ #13705]
28080         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
28081         instead of __kernel_standard_f.
28082
28083 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
28084
28085         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
28086         * sysdeps/x86_64/memset_chk.S: Likewise.
28087
28088 2012-04-08  Andreas Jaeger  <aj@suse.de>
28089
28090         [BZ #10153]
28091         * manual/startup.texi (Environment Access): Describe return value
28092         for putenv and setenv.
28093
28094         [BZ #6895]
28095         * manual/filesys.texi (Directory Entries): Add description for
28096         DT_LNK.
28097
28098         [BZ #6890]
28099         * manual/filesys.texi (Directory Entries): Clarify that it's file
28100         system not operating system in the description of DT_UNKNOWN.
28101
28102         [BZ #6578]
28103         * manual/syslog.texi (closelog): Fix reference, it's openlog.
28104
28105 2012-04-08  Stephen Compall  <s11@member.fsf.org>
28106
28107         [BZ #6649]
28108         * manual/llio.texi (Opening and Closing Files): Add cross
28109         reference to explain mode argument.
28110
28111 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
28112
28113         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
28114         * sysdeps/x86_64/memset_chk.S: Likewise.
28115
28116 2012-04-07  David S. Miller  <davem@davemloft.net>
28117
28118         * elf/elf.h (R_SPARC_WDISP10): Define.
28119         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
28120         R_SPARC_SIZE32.
28121         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
28122         R_SPARC_SIZE64 and R_SPARC_H34.
28123
28124 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
28125
28126         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
28127         conditions and remove no longer applicable assertion.
28128
28129 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
28130
28131         * bits/byteswap.h: Include <features.h>.
28132         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
28133         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
28134
28135 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
28136
28137         * bits/byteswap.h (__bswap_16): Removed.
28138         Include <bits/byteswap-16.h> to get __bswap_16.
28139         * sysdeps/i386/bits/byteswap.h: Likewise.
28140         * sysdeps/s390/bits/byteswap.h: Likewise.
28141         * sysdeps/x86_64/bits/byteswap.h: Likewise.
28142         * bits/byteswap-16.h: New file.
28143         * sysdeps/i386/bits/byteswap-16.h: Likewise.
28144         * sysdeps/s390/bits/byteswap-16.h: Likewise.
28145         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
28146         * string/Makefile (headers): Add bits/byteswap-16.h.
28147
28148 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
28149
28150         [BZ #13895]
28151         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
28152         extra indirection.
28153         * nss/Makefile (tests-static, tests): Add tst-nss-static.
28154         * nss/tst-nss-static.c: New.
28155
28156 2012-04-06  Robert Millan  <rmh@gnu.org>
28157
28158         [BZ #6486]
28159         * manual/llio.texi (File Position Primitive): lseek
28160         refers to WHENCE when it really means OFFSET.
28161
28162 2012-04-06  Andreas Jaeger  <aj@suse.de>
28163
28164         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
28165         strncmp declarations.
28166
28167         * abilist/libc.abilist: Add __poll and __ppoll.
28168
28169 2012-04-05  David S. Miller  <davem@davemloft.net>
28170
28171         * scripts/check-local-headers.sh: Accept a host triplet in the
28172         path matched by the exclude regexp.
28173
28174         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
28175         definition.
28176         * sysdeps/powerpc/powerpc32/dl-machine.h
28177         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
28178         * sysdeps/s390/s390-32/dl-machine.h
28179         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
28180         * sysdeps/sparc/sparc32/dl-machine.h
28181         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
28182         * sysdeps/sparc/sparc64/dl-machine.h
28183         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
28184
28185         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
28186         lazy binding.
28187         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
28188         undefined symbol errors.
28189
28190         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
28191         DT_NEEDED entries.
28192
28193 2012-04-05  Michael Matz  <matz@suse.de>
28194
28195         [BZ #13592]
28196         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
28197
28198 2012-04-05  Andreas Jaeger  <aj@suse.de>
28199
28200         [BZ #13908]
28201         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
28202         comment.
28203
28204 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
28205
28206         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
28207         which ROUND is no valid rounding mode.
28208
28209 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
28210
28211         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
28212         read again.
28213         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
28214
28215 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
28216
28217         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
28218         an exception using FPU order intentionally.
28219
28220 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
28221
28222         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
28223         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
28224         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
28225         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
28226
28227 2012-04-05  Simon Josefsson  <simon@josefsson.org>
28228
28229         [BZ #12340]
28230         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
28231         EINVAL when BUFLEN is too smal.
28232
28233 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
28234
28235         [BZ #13553]
28236         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
28237         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
28238
28239 2012-04-03  Andreas Jaeger  <aj@suse.de>
28240
28241         [BZ #13938]
28242         * manual/setjmp.texi (System V contexts): Fix sentence.
28243
28244         [BZ #13926]
28245         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
28246         New macro for this case.
28247         [!__GNUC__] (__bswap_64): New inline function for this case.
28248         * sysdeps/x86_64/bits/byteswap.h: Likewise.
28249         * bits/byteswap.h: Likewise.
28250         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
28251         ull, guard with __GLIBC_HAVE_LONG_LONG.
28252
28253         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
28254         __GLIBC_HAVE_LONG_LONG.
28255
28256         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
28257         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
28258
28259 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
28260
28261         [BZ #13691]
28262         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
28263         inptr and inend, rather than using last_ch.
28264
28265 2012-04-02  David S. Miller  <davem@davemloft.net>
28266
28267         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
28268         * stdio-common/printf-parse.h (read_int): Change return type to
28269         'int', return -1 on INT_MAX overflow.
28270         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
28271         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
28272         overflows INT_MAX.  Check for overflow of in-format-string precision
28273         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
28274         SIZE_MAX not INT_MAX for integer overflow test.
28275         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
28276         skip the construct in the format string but do not record anything.
28277         * stdio-common/bug22.c: Adjust to test both width/prevision
28278         INT_MAX overflow as well as total length INT_MAX overflow.  Check
28279         explicitly for proper errno values.
28280
28281 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
28282
28283         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
28284         CHAR_MAX.
28285         * string/test-strcmp.c [! WIDE]: Likewise.
28286         * time/tst-mktime2.c: Likewise for INT_MAX.
28287         * string/test-string.h: #include <sys/param.h> for MIN.
28288
28289         * csu/init-first.c (__libc_init_first): Call __ctype_init.
28290         * sysdeps/i386/init-first.c (init): Likewise.
28291         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
28292         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
28293         * sysdeps/sh/init-first.c (init): Likewise.
28294
28295 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
28296
28297         * po/ru.po: Update from translation team.
28298         * po/vi.po: Likewise.
28299
28300 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
28301
28302         * resolv/nss_dns/dns-host.c: Merge copyright years.
28303
28304 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
28305
28306         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
28307         Optimize memcpy with prefetch if
28308         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
28309         src, dst pointers have unequal 16 byte alignments.
28310
28311 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
28312
28313         [BZ #13928]
28314         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
28315         from a CNAME entry and return the minimum ttl for the query.
28316         (gaih_getanswer_slice): Likewise.
28317
28318 2012-03-30  Jeff Law  <law@redhat.com>
28319
28320         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
28321         due to long keys.
28322         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
28323         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
28324
28325         * resolv/nss_dns/dns-host.c: Update copyright year.
28326
28327 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
28328
28329         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
28330         requests to save a system call.  Fix check that all bytes are sent.
28331
28332         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
28333         comments for sendmmsg.
28334
28335 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
28336
28337         [BZ #13691]
28338         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
28339         with only 1 character between 0x0041 and 0x01b0.
28340         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
28341         * wcsmbs/tst-mbsnrtowcs.c: New file.
28342
28343 2012-03-29  David S. Miller  <davem@davemloft.net>
28344
28345         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
28346         small copies by hand.
28347
28348 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
28349
28350         [BZ #13761]
28351         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
28352         _nss_compat_initgroups_dyn): Fall back to malloc/free
28353         for large group memberships.
28354
28355 2012-03-28  David S. Miller  <davem@davemloft.net>
28356
28357         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
28358         that branches into memcpy.
28359         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
28360         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
28361         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
28362         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
28363         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
28364         bits.
28365         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
28366         implementation too.
28367         * sysdeps/sparc/mempcpy.S: New file.
28368
28369         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
28370         the IFUNC routine in the libc case.
28371         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
28372
28373         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
28374         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
28375         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
28376         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
28377         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
28378         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
28379         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
28380         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
28381
28382         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
28383         loop to 256 bytes instead of 64 bytes and fix test signedness.
28384
28385         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
28386         * sysdeps/sparc/sparc32/Makefile: rather than here...
28387         * sysdeps/sparc/sparc64/Makefile: and here.
28388
28389 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
28390
28391         * malloc/mallocbug.c: Avoid warnings about unused variables.
28392
28393 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
28394
28395         [BZ #13760]
28396         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
28397         in the right place. Discard and retry query if response is
28398         larger than input buffer size.
28399
28400 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
28401
28402         [BZ #369]
28403         [BZ #2678]
28404         [BZ #3866]
28405         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
28406         x for large integer exponent.
28407         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
28408         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
28409         sign of result as needed afterwards.
28410         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
28411         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
28412         result for underflowing pow the same as for overflow.
28413         (__kernel_standard_l): Handle powl overflow and underflow here
28414         rather than calling __kernel_standard.
28415         * math/libm-test.inc (pow_test): Add more tests.
28416
28417         [BZ #3868]
28418         [BZ #13879]
28419         [BZ #13910]
28420         [BZ #13911]
28421         [BZ #13912]
28422         [BZ #13913]
28423         [BZ #13915]
28424         [BZ #13916]
28425         [BZ #13917]
28426         [BZ #13918]
28427         [BZ #13919]
28428         [BZ #13920]
28429         [BZ #13921]
28430         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
28431         * sysdeps/ieee754/k_standard.c: Include <float.h>.
28432         (__kernel_standard_l): New function.
28433         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
28434         __kernel_standard.
28435         * math/w_acosl.c (__acosl): Likewise.
28436         * math/w_asinl.c (__asinl): Likewise.
28437         * math/w_atan2l.c (__atan2l): Likewise.
28438         * math/w_atanhl.c (__atanhl): Likewise.
28439         * math/w_coshl.c (__coshl): Likewise.
28440         * math/w_exp10l.c (__exp10l): Likewise.
28441         * math/w_exp2l.c (__exp2l): Likewise.
28442         * math/w_fmodl.c (__fmodl): Likewise.
28443         * math/w_hypotl.c (__hypotl): Likewise.
28444         * math/w_j0l.c (__j0l, __y0l): Likewise.
28445         * math/w_j1l.c (__j1l, __y1l): Likewise.
28446         * math/w_jnl.c (__jnl, __ynl): Likewise.
28447         * math/w_lgammal.c (__lgammal): Likewise.
28448         * math/w_log10l.c (__log10l): Likewise.
28449         * math/w_log2l.c (__log2l): Likewise.
28450         * math/w_logl.c (__logl): Likewise.
28451         * math/w_powl.c (__powl): Likewise.
28452         * math/w_remainderl.c (__remainderl): Likewise.
28453         * math/w_scalbl.c (sysv_scalbl): Likewise.
28454         * math/w_sinhl.c (__sinhl): Likewise.
28455         * math/w_sqrtl.c (__sqrtl): Likewise.
28456         * math/w_tgammal.c (__tgammal): Likewise.
28457         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
28458         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
28459         * math/libm-test.inc (acos_test): Add more tests.
28460         (acosh_test): Likewise.
28461         (asin_test): Likewise.
28462         (atanh_test): Likewise.
28463         (exp_test): Likewise.
28464         (exp10_test): Likewise.
28465         (exp2_test): Likewise.
28466         (expm1_test): Likewise.
28467         (lgamma_test): Likewise.
28468         (log_test): Likewise.
28469         (log10_test): Likewise.
28470         (log1p_test): Likewise.
28471         (log2_test): Likewise.
28472         (pow_test): Do not allow some spurious overflow exceptions.
28473         (sqrt_test): Add more tests.
28474         (tgamma_test): Likewise.
28475         (y0_test): Likewise.
28476         (y1_test): Likewise.
28477         (yn_test): Likewise.
28478
28479 2012-03-27  Anton Blanchard  <anton@samba.org>
28480
28481         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
28482         MAP_HUGETLB.
28483         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
28484         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
28485         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
28486
28487 2012-03-27  David S. Miller  <davem@davemloft.net>
28488
28489         * conform/Makefile: Run run-conformtest.sh using $(BASH).
28490
28491         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
28492         have-as-vis3 check.
28493
28494 2012-03-27  Andreas Jaeger  <aj@suse.de>
28495
28496         * sysdeps/x86_64/elf/configure.in: Moved to ...
28497         * sysdeps/x86_64/configure.in: ... here.
28498         * sysdeps/x86_64/elf/start.S: Moved to ...
28499         * sysdeps/x86_64/start.S: ... here.
28500         * sysdeps/x86_64/elf/configure: Delete.
28501
28502         * sysdeps/x86_64/configure.in: Merge contents from
28503         sysdeps/i386/configure.in (without i686 check).
28504
28505         * sysdeps/i386/elf/Versions: Merge into ...
28506         * sysdeps/i386/Versions: ... this.
28507         * sysdeps/i386/elf/Versions: Delete file.
28508         * sysdeps/i386/elf/start.S: Moved to ...
28509         * sysdeps/i386/start.S: ...here.
28510         * sysdeps/i386/elf/configure.in: Merge into...
28511         * sysdeps/i386/configure.in: ...here.
28512         * sysdeps/i386/elf/configure.in: Delete file.
28513         * sysdeps/i386/elf/configure: Delete file.
28514
28515         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
28516         * debug/backtracesyms.c: ... here.
28517         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
28518         * debug/backtracesymsfd.c: ... here.
28519         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
28520         * sysdeps/generic/ifunc-sel.h: ... here.
28521
28522         * sysdeps/unix/i386/start.c: Delete file.
28523         * sysdeps/unix/sparc/start.c: Delete file.
28524         * sysdeps/unix/start.c: Delete file.
28525
28526         * sysdeps/sh/elf/configure.in: Moved to ...
28527         * sysdeps/sh/configure.in: ... here.
28528         * sysdeps/sh/elf/start.S: Moved to ...
28529         * sysdeps/sh/start.S: ... here.
28530         * sysdeps/sh/elf/configure: Delete file.
28531
28532         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
28533         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
28534         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
28535         * sysdeps/powerpc/powerpc64/entry.h: ... here.
28536         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
28537         * sysdeps/powerpc/powerpc64/start.S: here.
28538         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
28539         * sysdeps/powerpc/powerpc64/Makefile: ... this.
28540         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
28541         * sysdeps/powerpc/powerpc64/configure.in: ... this.
28542         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
28543
28544         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
28545         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
28546         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
28547         * sysdeps/powerpc/powerpc32/start.S: ... here.
28548         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
28549         * sysdeps/powerpc/powerpc32/configure.in: ... this.
28550         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
28551
28552         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
28553         * sysdeps/powerpc/ifunc-sel.h: ... here.
28554         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
28555         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
28556
28557         * sysdeps/sparc/elf/configure.in: Moved to ...
28558         * sysdeps/sparc/configure.in: ... here.
28559         * sysdeps/sparc/elf/configure: Delete file.
28560         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
28561         * sysdeps/sparc/sparc32/start.S: ... here.
28562         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
28563         * sysdeps/sparc/sparc64/start.S: ... here.
28564         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
28565         * sysdeps/sparc/sparc32/Makefile: ... this.
28566         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
28567         * sysdeps/sparc/sparc64/Makefile: ... this.
28568
28569         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
28570         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
28571         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
28572         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
28573         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
28574         * sysdeps/s390/s390-32/setjmp.S: ... here.
28575         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
28576         * sysdeps/s390/s390-32/configure.in: ... here.
28577         * sysdeps/s390/s390-32/elf/configure: Delete file.
28578         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
28579         * sysdeps/s390/s390-32/start.S: ... here.
28580
28581         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
28582         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
28583         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
28584         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
28585         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
28586         * sysdeps/s390/s390-64/setjmp.S: ... here.
28587         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
28588         * sysdeps/s390/s390-64/configure.in: ... here
28589         * sysdeps/s390/s390-64/elf/configure: Delete file.
28590         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
28591         * sysdeps/s390/s390-64/start.S: ... here.
28592         * sysdeps/s390/s390-64/elf/configure: Delete.
28593
28594         * configure.in: Remove support for elf directories in sysdeps.
28595
28596         * configure: Regenerated.
28597         * sysdeps/i386/configure: Regenerated.
28598         * sysdeps/powerpc/powerpc32/configure: Regenerated.
28599         * sysdeps/powerpc/powerpc64/configure: Regenerated.
28600         * sysdeps/s390/s390-32/configure: Regenerated.
28601         * sysdeps/s390/s390-64/configure: Regenerated.
28602         * sysdeps/sh/configure: Regenerated.
28603         * sysdeps/sparc/configure: Regenerated.
28604         * sysdeps/x86_64/configure: Regenerated.
28605
28606 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
28607
28608         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28609
28610         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
28611         denormal result into account.
28612
28613 2012-03-25  Roland McGrath  <roland@hack.frob.com>
28614
28615         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
28616         Reported by Allan McRae <allan@archlinux.org>.
28617
28618 2012-03-23  Jeff Law  <law@redhat.com>
28619
28620         * nss/getnssent.c (__nss_getent): Fix typo.
28621
28622 2012-03-23  David S. Miller  <davem@davemloft.net>
28623
28624         * sysdeps/sparc/fpu/libm-test-ulps: Update.
28625
28626 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
28627
28628         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
28629         to pad to uint64_t for each field.
28630         (dl_tls_index): Replace unsigned long with uint64_t.
28631
28632 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
28633         Paul Pluzhnikov  <ppluzhnikov@google.com>
28634
28635         [BZ #6528]
28636         * grp/Makefile (otherlibs): Don't set it.
28637         * inet/Makefile (otherlibs): Likewise.
28638         * login/Makefile (otherlibs): Likewise.
28639         * nscd/Makefile (otherlibs): Likewise.
28640         * posix/Makefile (otherlibs): Likewise.
28641         * pwd/Makefile (otherlibs): Likewise.
28642         * rt/Makefile (otherlibs): Likewise.
28643         * sunrpc/Makefile (otherlibs): Likewise.
28644         * nss/Makefile (otherlibs): Likewise.
28645         Add libnss_files to routines and static-only-routines.
28646         ($(objpfx)getent): Remove rule.
28647         * resolv/Makefile: Add libnss_dns and libresolv to routines and
28648         static-only-routines.
28649
28650 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
28651
28652         [BZ #13892]
28653         * math/s_cexp.c: Include <float.h>.
28654         (__cexp): Handle exp result overflowing not necessarily
28655         overflowing both real and imaginary parts of result.
28656         * math/s_cexpf.c: Likewise.
28657         * math/s_cexpl.c: Likewise.
28658         * math/libm-test.inc (cexp_test): Add more tests.
28659         * sysdeps/i386/fpu/libm-test-ulps: Update.
28660         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28661
28662 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
28663
28664         * include/link.h (ELFW): New macro.
28665         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
28666         Replace ELF64_R_TYPE with ELFW(R_TYPE).
28667
28668 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
28669
28670         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
28671         with uint64_t.
28672
28673 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
28674
28675         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
28676         declaration.
28677         (struct La_x32_retval): Likewise.
28678
28679 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
28680
28681         * sysdeps/x86_64/preconfigure.in: New file.
28682         * sysdeps/x86_64/preconfigure: New generated file.
28683
28684 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
28685
28686         [BZ #13824]
28687         * math/e_exp2l.c: Include <float.h>.
28688         (__ieee754_exp2l): Handle overflow and underflow cases
28689         separately.  Only pass fractional part of argument to
28690         __ieee754_expl.
28691         * math/libm-test.inc (exp2_test): Add more tests.
28692
28693         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
28694         negating x to take absolute value.
28695         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
28696         Likewise.
28697         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
28698         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
28699         Likewise.
28700         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
28701         computing low part if x was negated.
28702         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
28703
28704 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
28705
28706         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
28707         la_x32_gnu_pltexit.
28708         (pltexit): Cast int_retval to ptrdiff_t.
28709         * elf/tst-auditmod3b.c: Likewise.
28710         * elf/tst-auditmod4b.c: Likewise.
28711         * elf/tst-auditmod5b.c: Likewise.
28712         * elf/tst-auditmod6b.c: Likewise.
28713         * elf/tst-auditmod6c.c: Likewise.
28714         * elf/tst-auditmod7b.c: Likewise.
28715
28716         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
28717         and x32_gnu_pltexit.
28718
28719         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
28720         __ELF_NATIVE_CLASS.
28721         (La_x32_regs): New macro.
28722         (La_x32_retval): Likewise.
28723         (la_x32_gnu_pltenter): New function prototype.
28724         (la_x32_gnu_pltexit): Likewise.
28725
28726 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
28727
28728         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
28729         exponent.
28730
28731         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28732
28733         * configure.in (libc_cv_cc_nofma): Check for option to disable
28734         generation of FMA instructions.
28735         * configure: Regenerate.
28736         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
28737         * sysdeps/ieee754/dbl-64/Makefile: New file.
28738         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
28739         Remove brandred-fma4.
28740         (CFLAGS-brandred-fma4.c): Remove.
28741         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
28742         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
28743         define.
28744         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
28745         define.
28746
28747 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
28748
28749         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
28750         LLONG_MAX != LONG_MAX.
28751         (_itoa_word): Use _ITOA_WORD_TYPE on value.
28752         (_fitoa_word): Likewise.
28753         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
28754         LLONG_MAX != LONG_MAX.
28755         * stdio-common/_itowa.h: Include <_itoa.h>.
28756         (_itowa_word): Use _ITOA_WORD_TYPE on value.
28757         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
28758         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
28759         only if not defined.
28760         (_ITOA_WORD_TYPE): Likewise.
28761         (_itoa_word): Use _ITOA_WORD_TYPE on value.
28762         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
28763
28764 2012-03-21  David S. Miller  <davem@davemloft.net>
28765
28766         * sysdeps/sparc/fpu/libm-test-ulps: Update.
28767
28768 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
28769
28770         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
28771         of x86_64 when setting libc_cv_slibdir, libdir and
28772         libc_cv_localedir.
28773         * sysdeps/unix/sysv/linux/configure: Regenerated.
28774
28775 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
28776
28777         * manual/lang.texi (Old Varargs): Remove section.
28778         (How Variadic): Update menu.
28779         (va_start): Do not mention varargs.h.
28780
28781 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
28782             Joseph Myers  <joseph@codesourcery.com>
28783
28784         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
28785         link test.
28786         * configure: Regenerated.
28787
28788 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
28789
28790         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
28791         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
28792         conformtest.pl
28793
28794 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
28795
28796         * NOTES: Remove.
28797         * Makefile (files-for-dist): Remove NOTES.
28798         (NOTES): Remove rule.
28799         * README: Don't refer to NOTES.
28800         * manual/creature.texi: Don't include macros.texi.
28801         * manual/intro.texi (creature.texi): Remove comment referring to
28802         NOTES.
28803
28804         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
28805         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
28806         * configure: Regenerated.
28807         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
28808         LIBC_TRY_CC_OPTION.
28809         (libc_cv_as_i686): Likewise.
28810         (libc_cv_cc_avx): Likewise.
28811         (libc_cv_cc_sse2avx): Likewise.
28812         (libc_cv_cc_fma4): Likewise.
28813         (libc_cv_cc_novzeroupper): Likewise.
28814         * sysdeps/i386/configure: Regenerated.
28815
28816         [BZ #13883]
28817         * sysdeps/i386/fpu/s_cexp.S: Remove.
28818         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
28819         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
28820         * math/libm-test.inc (cexp_test): Add more tests.
28821         * sysdeps/i386/fpu/libm-test-ulps: Update.
28822         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28823
28824 2012-03-21  Allan McRae  <allan@archlinux.org>
28825
28826         * timezone/Makefile: Do not install iso3166.tab and zone.tab
28827
28828 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
28829
28830         [BZ #13871]
28831         * math/w_exp2.c: Do not include <float.h>.
28832         (o_threshold, u_threshold): Remove.
28833         (__exp2): Calculate result before checking finiteness and calling
28834         __kernel_standard.
28835         * math/w_exp2f.c: Likewise.
28836         * math/w_exp2l.c: Likewise.
28837         * math/libm-test.inc (exp2_test): Require overflow exception for
28838         1e6 input.
28839
28840         [BZ #3866]
28841         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
28842         range of signed 64-bit integers before using fistpll.  Remove
28843         checks for whether integers fit in mantissa bits.
28844         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
28845         the range of signed 32-bit integers before using fistpl.  Remove
28846         checks for whether integers fit in mantissa bits.
28847         * sysdeps/i386/fpu/e_powl.S (p64): New object.
28848         (__ieee754_powl): Test for y outside the range of signed 64-bit
28849         integers before using fistpll.  Reduce 64-bit values to 63-bit
28850         ones as needed.
28851         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
28852         divide-by-zero is raised for zero to large negative powers.
28853         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
28854         (__ieee754_powl): Test for y outside the range of signed 64-bit
28855         integers before using fistpll.  Reduce 64-bit values to 63-bit
28856         ones as needed.
28857         * math/libm-test.inc (pow_test): Add more tests.
28858
28859 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
28860
28861         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
28862         <stdio-common/_itoa.h>.
28863         * debug/segfault.c: Likewise.
28864         * elf/dl-cache.c: Likewise.
28865         * elf/dl-minimal.c: Likewise.
28866         * elf/dl-misc.c: Likewise.
28867         * elf/dl-sysdep.c: Likewise.
28868         * elf/dl-version.c: Likewise.
28869         * elf/rtld.c: Likewise.
28870         * hurd/hurdsock.c: Likewise.
28871         * hurd/lookup-retry.c: Likewise.
28872         * malloc/malloc.c: Likewise.
28873         * malloc/mtrace.c: Likewise.
28874         * nscd/nscd_getgr_r.c: Likewise.
28875         * nscd/nscd_getpw_r.c: Likewise.
28876         * nscd/nscd_getserv_r.c: Likewise.
28877         * posix/getopt_init.c: Likewise.
28878         * posix/wordexp.c: Likewise.
28879         * stdio-common/_itoa.c: Likewise.
28880         * stdio-common/printf_fphex.c: Likewise.
28881         * stdio-common/vfprintf.c: Likewise.
28882         * string/_strerror.c: Likewise.
28883         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
28884         * sysdeps/i386/i686/hp-timing.h: Likewise.
28885         * sysdeps/mach/_strerror.c: Likewise.
28886         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
28887         * sysdeps/mach/hurd/sethostid.c: Likewise.
28888         * sysdeps/mach/hurd/xmknodat.c: Likewise.
28889         * sysdeps/mach/xpg-strerror.c: Likewise.
28890         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
28891         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
28892         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
28893         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
28894         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
28895         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
28896         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
28897         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
28898         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
28899         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
28900         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
28901         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
28902         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
28903         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
28904         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
28905         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
28906         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
28907         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
28908         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
28909         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
28910         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
28911
28912         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
28913
28914         * stdio-common/_itoa.h: Moved to ...
28915         * sysdeps/generic/_itoa.h: Here.
28916
28917         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
28918
28919         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
28920         instead of "_itoa.h" and "_itowa.h".
28921         * stdio-common/vfprintf.: Likewise.
28922
28923 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
28924
28925         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
28926         <bits/wordsize.h>.
28927         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
28928         (__signbit): Likwise.
28929         (llrintf): Likwise.
28930         (llrint): Likwise.
28931
28932 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
28933
28934         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
28935         __WORDSIZE != 64.
28936
28937 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
28938
28939         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
28940         OVERFLOW_EXCEPTION_OK.
28941         * math/libm-test.inc ("Philosophy"): Update comment about
28942         exception testing.
28943         (OVERFLOW_EXCEPTION): Define.
28944         (OVERFLOW_EXCEPTION_OK): Likewise.
28945         (INVALID_EXCEPTION_OK): Renumber.
28946         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
28947         (IGNORE_ZERO_INF_SIGN): Likewise.
28948         (test_exceptions): Handle FE_OVERFLOW.
28949         (exp10_test): Expect overflow exceptions.
28950         (exp2_test): Likewise.
28951         (expm1_test): Likewise.
28952         (nextafter_test): Likewise.
28953         (pow_test): Likewise.
28954         (scalbn_test): Likewise.
28955         (scalbln_test): Likewise.
28956
28957 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
28958
28959         * sysdeps/x86_64/bits/atomic.h
28960         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
28961         64bit integer.
28962         (atomic_exchange_acq): Likewise.
28963         (__arch_exchange_and_add_body): Likewise.
28964         (__arch_add_body): Likewise.
28965         (atomic_add_negative): Likewise.
28966         (atomic_add_zero): Likewise.
28967
28968 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
28969
28970         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
28971         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
28972
28973 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
28974
28975         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
28976         Check __x86_64__ instead of __WORDSIZE.
28977
28978 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
28979
28980         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
28981
28982 2012-03-19  David S. Miller  <davem@davemloft.net>
28983
28984         * sysdeps/sparc/fpu/libm-test-ulps: Update.
28985
28986         * sysdeps/sparc/fpu/fenv_private.h: New file.
28987         * sysdeps/sparc/fpu/math_private.h: Use it.
28988         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
28989         Remove.
28990         (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
28991         (libc_feholdexcept_setroundl): Remove.
28992         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
28993         Remove.
28994         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
28995         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
28996
28997 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
28998
28999         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
29000         int64_t instead of long int.
29001         (INSERT_WORDS64): Likwise.
29002
29003 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
29004
29005         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
29006         _Unwind_GetCFA return to _Unwind_Ptr first.
29007
29008 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
29009
29010         [BZ #13629]
29011         * math/s_clog.c: Include <float.h>.
29012         (__clog): Scale large or subnormal inputs.
29013         * math/s_clogf.c: Likewise.
29014         * math/s_clogl.c: Likewise.
29015         * math/s_clog10.c: Include <float.h>.
29016         (M_LOG10_2): Define.
29017         (__clog10): Scale large or subnormal inputs.
29018         * math/s_clog10f.c: Likewise.
29019         * math/s_clog10l.c: Likewise.
29020         * math/libm-test.inc (clog_test): Add more tests.
29021         (clog10_test): Likewise.
29022         * sysdeps/i386/fpu/libm-test-ulps: Update.
29023         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29024
29025         [BZ #11451]
29026         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
29027         x and y.
29028         * math/libm-test.inc (atan2_test): Add another test.
29029
29030         * Makerules (common-objdir-compile): Remove.
29031         * sysdeps/unix/Makefile (config-generated): Do not add
29032         $(unix-generated) to variable.
29033         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
29034         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
29035         Remove rule.
29036         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
29037         Likewise.
29038         [generic bits/local_lim.h] (before-compile): Do not append to
29039         variable.
29040         [generic bits/local_lim.h] (common-generated): Likewise.
29041         [generic sys/param.h] (before-compile): Do not append to variable.
29042         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
29043         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
29044         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
29045         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
29046         include.
29047         [generic sys/param.h] (sys/param.h-includes): Remove variable.
29048         [generic sys/param.h] (sys/param.h-includes): Remove rule.
29049         [generic sys/param.h] ($(addprefix
29050         $(common-objpfx),$(sys/param.h-includes))): Likewise.
29051         [generic sys/param.h] (common-generated): Do not append to
29052         variable.
29053         [generic sys/param.h] (sysdep_headers): Likewise.
29054         [generic bits/errno.h] (before-compile): Do not append to
29055         variable.
29056         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
29057         rule.
29058         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
29059         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
29060         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
29061         [generic bits/errno.h] (common-generated): Do not append to
29062         variable.
29063         [generic bits/ioctls.h] (before-compile): Do not append to
29064         variable.
29065         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
29066         rule.
29067         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
29068         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
29069         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
29070         rule.
29071         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
29072         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
29073         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
29074         [generic bits/ioctls.h] (common-generated): Do not append to
29075         variable.
29076         [generic sys/syscall.h] (syscall.h): Remove variable.
29077         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
29078         rule.
29079         [generic sys/syscall.h] (before-compile): Do not append to
29080         variable.
29081         [generic sys/syscall.h] (common-generated): Likewise.
29082         * sysdeps/unix/errnos-tmpl.c: Remove file.
29083         * sysdeps/unix/errnos.awk: Likewise.
29084         * sysdeps/unix/ioctls-tmpl.c: Likewise.
29085         * sysdeps/unix/ioctls.awk: Likewise.
29086         * sysdeps/unix/mk-local_lim.c: Likewise.
29087         * sysdeps/unix/snarf-ioctls: Likewise.
29088
29089 2012-03-19  Richard Henderson  <rth@twiddle.net>
29090
29091         * sysdeps/i386/fpu/fenv_private.h: New file.
29092         * sysdeps/i386/fpu/math_private.h: Use it.
29093         (math_opt_barrier, math_force_eval): Remove.
29094         (libc_feholdexcept_setround_53bit): Remove.
29095         (libc_feupdateenv_53bit): Remove.
29096         * sysdeps/x86_64/fpu/math_private.h: Likewise.
29097         (math_opt_barrier, math_force_eval): Remove.
29098         (libc_feholdexcept): Remove.
29099         (libc_feholdexcept_setround): Remove.
29100         (libc_fetestexcept, libc_fesetenv): Remove.
29101         (libc_feupdateenv_test): Remove.
29102         (libc_feupdateenv, libc_feholdsetround): Remove.
29103         (libc_feresetround): Remove.
29104
29105         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
29106         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
29107
29108         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
29109         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
29110         (libc_feupdateenv_testl): New.
29111         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
29112         (libc_feupdateenv_testf): New.
29113         (libc_feupdateenv): Use libc_feupdateenv_test.
29114         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
29115         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
29116
29117         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
29118         (libc_feholdsetroundf, libc_feholdsetroundl): New.
29119         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
29120         (libc_feresetround_noex): New.
29121         (libc_feresetround_noexf): New.
29122         (libc_feresetround_noexl): New.
29123         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
29124         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
29125         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
29126         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
29127         SET_RESTORE_ROUND.
29128         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
29129         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
29130         (__cos): Likewise.
29131         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
29132         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
29133         SET_RESTORE_ROUND_NOEX.
29134         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
29135         SET_RESTORE_ROUND_NOEXF.
29136         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
29137         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
29138         (libc_feholdsetroundf): New.
29139         (libc_feresetround, libc_feresetroundf): New.
29140
29141         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
29142         (libc_feholdexcept_setround_53bit): Convert from macro to function.
29143         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
29144
29145         * sysdeps/generic/math_private.h: Include <fenv.h>.
29146         (default_libc_feholdexcept): New.
29147         (default_libc_feholdexcept_setround): New.
29148         (default_libc_fesetenv, default_libc_feupdateenv): New.
29149         (libc_feholdexcept): Only define if undefined.
29150         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
29151         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
29152         (libc_feholdexcept_setroundl): Likewise.
29153         (libc_feholdexcept_setround_53bit): Likewise.
29154         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
29155         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
29156         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
29157         (libc_feupdateenv_53bit): Likewise.
29158         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
29159         (libc_feholdexcept): Convert from macro to inline function.
29160         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
29161         (libc_fesetenv, libc_feupdateenv): Likewise.
29162
29163         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
29164         not previously defined.
29165         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
29166         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
29167         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
29168         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
29169         * sysdeps/ieee754/flt-32/math_private.h: New file.
29170         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
29171         math_private.h below SET_FLOAT_WORD.
29172         (__isnan, __isinf_ns, __finite): Remove.
29173         (__isnanf, __isinf_nsf, __finitef): Remove.
29174
29175 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
29176
29177         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29178
29179 2012-03-17  David S. Miller  <davem@davemloft.net>
29180
29181         [BZ #6471]
29182         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
29183         for 2.16.
29184
29185 2012-03-16  David S. Miller  <davem@davemloft.net>
29186
29187         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
29188         warnings.
29189
29190         [BZ #6471]
29191         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
29192         properly.
29193         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
29194         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
29195         sysdep_routines when subdir is sysvipc.
29196         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
29197         __getshmlba helper.
29198
29199         * sysdeps/sparc/fpu/libm-test/ulps: Update.
29200
29201 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
29202
29203         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
29204         [__LP64__].
29205
29206 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
29207
29208         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
29209         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
29210         (__lround): Renamed to ...
29211         (__llround): This.  Replace long int with long long int.
29212         Define lround functions as aliases of llround functions.
29213         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
29214
29215 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
29216
29217         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
29218         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
29219         adresses to uintptr_t.  Replace "long int" and "unsigned long
29220         int" with "greg_t" on va_arg.
29221
29222 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
29223
29224         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
29225         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
29226
29227         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
29228         Move e_machine check before EI_CLASS check.  Handle x32
29229         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
29230         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
29231         SKIP_EM_IA_64 and include
29232         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
29233
29234         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
29235         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
29236         (add_system_dir): New macro.
29237
29238         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
29239         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
29240
29241 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
29242
29243         [BZ #2551]
29244         [BZ #2552]
29245         [BZ #2553]
29246         [BZ #2554]
29247         [BZ #2562]
29248         [BZ #2563]
29249         [BZ #2565]
29250         [BZ #2566]
29251         [BZ #2576]
29252         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
29253         (y0): Likewise.
29254         * math/w_j0f.c (j0f): Likewise.
29255         (y0f): Likewise.
29256         * math/w_j0l.c (__j0l): Likewise.
29257         (__y0l): Likewise.
29258         * math/w_j1.c (j1): Likewise.
29259         (y1): Likewise.
29260         * math/w_j1f.c (j1f): Likewise.
29261         (y1f): Likewise.
29262         * math/w_j1l.c (__j1l): Likewise.
29263         (__y1l): Likewise.
29264         * math/w_jn.c (jn): Likewise.
29265         (yn): Likewise.
29266         * math/w_jnf.c (jnf): Likewise.
29267         (ynf): Likewise.
29268         * math/w_jnl.c (__jnl): Likewise.
29269         (__ynl): Likewise.
29270         * math/libm-test.inc (j0_test): Add more tests.
29271         (j1_test): Likewise.
29272         (jn_test): Likewise.  Add trailing semicolon to existing test.
29273         (y0_test): Likewise.
29274         (y1_test): Likewise.
29275         * sysdeps/i386/fpu/libm-test-ulps: Update.
29276         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29277
29278         [BZ #13851]
29279         [BZ #13854]
29280         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
29281         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
29282         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
29283         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
29284         (__tanl): Set errno for infinite argument.
29285         * sysdeps/i386/fpu/mptan.c: Remove.
29286         * sysdeps/i386/fpu/s_tan.S: Likewise.
29287         * sysdeps/i386/fpu/s_tanl.S: Likewise.
29288         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
29289         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
29290         * math/libm-test.inc (tan_test): Add more tests and enable more
29291         tests for double and long double.
29292         * sysdeps/i386/fpu/libm-test-ulps: Update.
29293         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29294
29295 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
29296
29297         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
29298         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
29299
29300 2012-03-16  Roland McGrath  <roland@hack.frob.com>
29301
29302         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
29303         * configure.in: Use it for both main tree and add-ons.
29304         * configure: Regenerated.
29305
29306 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
29307
29308         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
29309
29310 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
29311
29312         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
29313         in comment.
29314
29315         [BZ #13851]
29316         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
29317         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
29318         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
29319         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
29320         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
29321         infinite argument.
29322         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
29323         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
29324         != 0 for prec == 2.
29325         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
29326         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
29327         * sysdeps/i386/fpu/s_cosl.S: Likewise.
29328         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
29329         * sysdeps/i386/fpu/s_sinl.S: Likewise.
29330         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
29331         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
29332         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
29333         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
29334         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
29335         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
29336         * math/libm-test.inc (cos_test): Add more tests and enable more
29337         tests for long double.
29338         (sin_test): Likewise.
29339         (sincos_test): Likewise.
29340         * sysdeps/i386/fpu/libm-test-ulps: Update.
29341         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29342
29343 2012-03-16  David S. Miller  <davem@davemloft.net>
29344
29345         * sysdeps/sparc/fpu/math_private.h: New file.
29346
29347 2012-03-15  David S. Miller  <davem@davemloft.net>
29348
29349         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
29350         file.
29351         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
29352         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
29353         file.
29354         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
29355         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
29356         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
29357         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
29358         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
29359         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
29360         sysdep routines.
29361         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
29362
29363         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
29364         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
29365
29366         * sysdeps/sparc/sparc-ifunc.h: New file.
29367         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
29368         sparc-ifunc.h
29369         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
29370         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
29371         Likewise.
29372         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
29373         Likewise.
29374         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
29375         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
29376         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
29377         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
29378         Likewise.
29379         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
29380         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
29381         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
29382         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
29383         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
29384         Likewise.
29385         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
29386         Likewise.
29387         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
29388         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
29389         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
29390         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
29391         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
29392         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
29393         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
29394         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
29395         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
29396         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
29397         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
29398         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
29399         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
29400         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
29401         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
29402         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
29403         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
29404         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
29405         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
29406         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
29407         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
29408         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
29409         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
29410         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
29411
29412 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
29413
29414         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
29415         scaling.
29416         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29417
29418 2012-03-15  Andreas Jaeger  <aj@suse.de>
29419
29420         [BZ #13852]
29421         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
29422         ieee754/flt-32 implementation for sin, cos and sincos.
29423         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
29424         * sysdeps/i386/fpu/s_cosf.S: Likewise.
29425         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
29426         * sysdeps/i386/fpu/s_sinf.S: Likewise.
29427         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
29428         ieee754/flt-32 implementation for tan.
29429
29430         * math/libm-test.inc (cos_test): Enable some large input tests for
29431         float as well
29432         (sin_test): Likewise.
29433         (sincos_test): Likewise.
29434         (tan_test): Add tests for large input.
29435
29436         * sysdeps/i386/fpu/libm-test-ulps: Update.
29437
29438 2012-03-15  Andreas Jaeger  <aj@suse.de>
29439
29440         [BZ #13658]
29441         * math/libm-test.inc (cos_test): Add more test cases.
29442         (sin_test): Likewise.
29443         (sincos_test): Likewise.
29444
29445 2012-03-15  Andreas Jaeger  <aj@suse.de>
29446
29447         [BZ #13837]
29448         * math/libm-test.inc (cos_test): Add a test case for large input
29449         value.
29450         (sin_test): Likewise.
29451         (sincos_test): Likewise.
29452
29453 2012-03-15  Andreas Jaeger  <aj@suse.de>,
29454         Joseph Myers  <joseph@codesourcery.com>
29455
29456         [BZ #13658]
29457         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
29458         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
29459         * sysdeps/i386/fpu/branred.c: Likewise.
29460         * sysdeps/i386/fpu/dosincos.c: Likewise.
29461         * sysdeps/i386/fpu/mpa.c: Likewise.
29462         * sysdeps/i386/fpu/s_cos.S: Likewise.
29463         * sysdeps/i386/fpu/s_sin.S: Likewise.
29464         * sysdeps/i386/fpu/s_sincos.S: Likewise.
29465         * sysdeps/i386/fpu/sincos32.c: Likewise.
29466
29467         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
29468         Define.
29469         (libc_feupdateenv_53bit): Define.
29470         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
29471         Define.
29472         (libc_feupdateenv_53bit): Define.
29473
29474         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
29475         53 bit (without extend i386 double precision).
29476
29477         * math/libm-test.inc (sincos_test): Add tests for large input.
29478         (sin): Likewise.
29479         (cos): Likewise.
29480
29481         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
29482
29483 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
29484
29485         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29486
29487 2012-03-15  David S. Miller  <davem@davemloft.net>
29488
29489         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
29490         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
29491         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
29492         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
29493         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
29494         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
29495         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
29496         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
29497         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
29498         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
29499         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
29500         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
29501         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
29502         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
29503         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
29504         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
29505         file.
29506         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
29507         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
29508         file.
29509         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
29510         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
29511         file.
29512         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
29513         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
29514         file.
29515         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
29516         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
29517         fmin/fmax sysdep routines.
29518         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
29519
29520 2012-03-14  David S. Miller  <davem@davemloft.net>
29521
29522         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
29523         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
29524         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
29525         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
29526         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
29527         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
29528         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
29529         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
29530         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
29531         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
29532         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
29533         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
29534         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
29535         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
29536         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
29537         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
29538         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
29539         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
29540         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
29541         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
29542         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
29543         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
29544         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
29545         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
29546         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
29547         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
29548         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
29549         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
29550         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
29551         routines.
29552         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
29553         file.
29554         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
29555         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
29556         file.
29557         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
29558         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
29559         file.
29560         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
29561         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
29562         file.
29563         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
29564         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
29565         file.
29566         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
29567         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
29568         file.
29569         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
29570         file.
29571         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
29572         file.
29573         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
29574         file.
29575         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
29576         New file.
29577         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
29578         file.
29579         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
29580         file.
29581         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
29582         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
29583         file.
29584         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
29585         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
29586         file.
29587         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
29588         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
29589         file.
29590         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
29591         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
29592         VIS3 routines.
29593
29594         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
29595         New file.
29596
29597         * sysdeps/sparc/fpu/libm-test-ulps: Update.
29598
29599         * sysdeps/sparc/configure.in: New file.
29600         * sysdeps/sparc/configure: Generate.
29601         * configure.in (libc_cv_sparc_as_vis3): Substitute.
29602         * configure: Regenerate.
29603         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
29604         * config.make.in (have-as-vis3): New.
29605         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
29606         available use -Av9d instead of -Av9a.
29607         * sysdeps/sparc/sparc64/Makefile: Likewise.
29608         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
29609         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
29610         New file.
29611         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
29612         file.
29613         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
29614         New file.
29615         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
29616         file.
29617         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
29618         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
29619         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
29620         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
29621         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
29622
29623         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
29624         fzeros/fnegs to load 0x80000000 into a float register instead of
29625         using the stack.
29626         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
29627
29628 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
29629
29630         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
29631         bits/syscall.h.
29632         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
29633         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
29634         ($(inst_includedir)/bits/syscall.h): Remove rule.
29635         ($(objpfx)bits/syscall.d): Include instead of
29636         $(objpfx)syscall-list.d.
29637         (generated): Change syscall-list.h and syscall-list.d to
29638         bits/syscall.h and bits/syscall.d.
29639
29640 2012-03-14  Roland McGrath  <roland@hack.frob.com>
29641
29642         [BZ #13846]
29643         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
29644
29645 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
29646
29647         [BZ #13841]
29648         * math/s_csqrt.c: Include <float.h>.
29649         (__csqrt): Scale large or subnormal inputs.
29650         * math/s_csqrtf.c: Likewise.
29651         * math/s_csqrtl.c: Likewise.
29652         * math/libm-test.inc (csqrt_test): Add more tests.
29653         * sysdeps/i386/fpu/libm-test-ulps: Update.
29654         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29655
29656         [BZ #13840]
29657         * math/libm-test.inc (hypot_test): Add more tests.
29658
29659 2012-03-13  David S. Miller  <davem@davemloft.net>
29660
29661         [BZ #13840]
29662         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
29663         double-precision for the calculation instead of scaling.
29664
29665 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
29666
29667         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
29668         manipulate bits before adding and subtracting TWO52[sx].
29669         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
29670         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
29671         Likewise.
29672         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
29673
29674 2012-03-13  David S. Miller  <davem@davemloft.net>
29675
29676         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
29677         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
29678         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
29679         rtld-global-offsets.h
29680         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
29681
29682         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
29683         large parameters.
29684
29685         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
29686
29687         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
29688         'err' in the ifdef scope in which it is actually used.
29689
29690         * nss/nss_db/db-init.c: Include string.h
29691
29692 2012-03-12  David S. Miller  <davem@davemloft.net>
29693
29694         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
29695         masking out of the most significant byte of random value used.
29696         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
29697         Fix coding style in previous change.
29698
29699         * sysdeps/unix/sysv/linux/kernel-features.h
29700         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
29701         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
29702         expression.
29703         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
29704         later.
29705
29706 2012-03-11  David S. Miller  <davem@davemloft.net>
29707
29708         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
29709         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
29710         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
29711         for 'resultvar' otherwise things get truncated on 64-bit.
29712
29713         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
29714         Fix masking out of the most significant byte of random value used.
29715
29716         * sysdeps/sparc/fpu/libm-test-ulps: Update.
29717
29718 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
29719
29720         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29721
29722 2012-03-09  David S. Miller  <davem@davemloft.net>
29723
29724         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
29725         variables with appropriate CPP guards.
29726         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
29727         frame pointer, not the stack pointer.  Correct layout comments.  Fix test
29728         on resulting framesize and the management of the outregs buffer for pltexit.
29729         Preserve floating point return values across _dl_call_pltexit call.
29730         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
29731         framesize and the management of the outregs buffer for pltexit.
29732         Preserve floating point return values across _dl_call_pltexit
29733         call.
29734         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
29735         la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
29736         (print_exit): Fix format string for return register value.
29737
29738 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
29739
29740         * sunrpc/Makefile (others): Add rpcgen.
29741         ($(objpfx)rpcgen): Remove special build rule and dependency on
29742         libc.
29743         * sunrpc/rpcgen.c: New file.
29744
29745 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
29746
29747         [BZ #13673]
29748         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
29749         * stdio-common/bug-vfprintf-nargs.c: Likewise.
29750         * sysdeps/i386/crti.S: Likewise.
29751         * sysdeps/i386/crtn.S: Likewise.
29752         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
29753         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
29754         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
29755         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
29756         * sysdeps/sh/crti.S: Likewise.
29757         * sysdeps/sh/crtn.S: Likewise.
29758         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
29759
29760         [BZ #13673]
29761         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
29762         with URL.
29763         * locale/programs/locfile-kw.gperf: Likewise.
29764         * locale/programs/charmap-kw.h: Regenerated.
29765         * locale/programs/locfile-kw.h: Likewise.
29766
29767         [BZ #13673]
29768         * intl/plural.y: Replace FSF snail mail address with URL.
29769         * intl/plural.c: Regenerated.
29770
29771 2012-03-09  Richard Henderson  <rth@twiddle.net>
29772
29773         * include/math_private.h: Remove file.
29774         * math/math_private.h: Move file ...
29775         * sysdeps/generic/math_private.h: ... here.
29776
29777         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
29778         * sysdeps/powerpc/fpu/math_private.h: Likewise.
29779         * sysdeps/x86_64/fpu/math_private.h: Likewise.
29780
29781         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
29782         and <math_private.h>.
29783         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
29784         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
29785         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
29786         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
29787         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
29788         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
29789         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
29790         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
29791         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
29792         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
29793         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
29794         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
29795         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
29796         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
29797         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
29798         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
29799         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
29800         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
29801         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
29802         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
29803         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
29804         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
29805         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
29806         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
29807         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
29808         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
29809         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
29810         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
29811         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
29812         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
29813         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
29814         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
29815         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
29816         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
29817         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
29818         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
29819         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
29820         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
29821         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
29822         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
29823         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
29824         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
29825         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
29826         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
29827         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
29828         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
29829         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
29830         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
29831         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
29832         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
29833         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
29834         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
29835         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
29836         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
29837         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
29838         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
29839         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
29840         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
29841         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
29842         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
29843         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
29844         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
29845         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
29846         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
29847         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
29848         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
29849         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
29850         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
29851         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
29852         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
29853         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
29854         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
29855         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
29856         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
29857         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
29858         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
29859         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
29860         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
29861         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
29862         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
29863         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
29864         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
29865         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
29866         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
29867         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
29868         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
29869         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
29870         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
29871         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
29872         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
29873         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
29874         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
29875         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
29876         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
29877         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
29878         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
29879         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
29880         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
29881         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
29882         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
29883         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
29884         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
29885         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
29886         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
29887         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
29888         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
29889         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
29890         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
29891         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
29892         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
29893         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
29894         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
29895         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
29896         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
29897         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
29898         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
29899         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
29900         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
29901         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
29902         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
29903         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
29904         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
29905         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
29906         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
29907         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
29908         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
29909         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
29910         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
29911         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
29912         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
29913         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
29914         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
29915         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
29916         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
29917         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
29918         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
29919         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
29920         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
29921         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
29922         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
29923         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
29924         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
29925         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
29926         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
29927         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
29928         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
29929         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
29930         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
29931         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
29932         * sysdeps/ieee754/k_standard.c: Likewise.
29933         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
29934         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
29935         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
29936         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
29937         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
29938         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
29939         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
29940         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
29941         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
29942         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
29943         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
29944         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
29945         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
29946         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
29947         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
29948         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
29949         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
29950         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
29951         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
29952         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
29953         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
29954         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
29955         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
29956         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
29957         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
29958         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
29959         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
29960         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
29961         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
29962         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
29963         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
29964         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
29965         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
29966         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
29967         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
29968         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
29969         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
29970         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
29971         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
29972         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
29973         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
29974         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
29975         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
29976         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
29977         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
29978         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
29979         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
29980         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
29981         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
29982         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
29983         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
29984         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
29985         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
29986         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
29987         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
29988         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
29989         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
29990         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
29991         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
29992         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
29993         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
29994         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
29995         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
29996         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
29997         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
29998         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
29999         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
30000         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
30001         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
30002         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
30003         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
30004         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
30005         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
30006         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
30007         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
30008         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
30009         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
30010         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
30011         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
30012         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
30013         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
30014         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
30015         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
30016         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
30017         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
30018         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
30019         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
30020         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
30021         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
30022         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
30023         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
30024         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
30025         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
30026         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
30027         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
30028         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
30029         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
30030         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
30031         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
30032         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
30033         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
30034         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
30035         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
30036         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
30037         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
30038         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
30039         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
30040         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
30041         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
30042         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
30043         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
30044         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
30045         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
30046         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
30047         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
30048         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
30049         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
30050         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
30051         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
30052         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
30053         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
30054         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
30055         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
30056         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
30057         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
30058         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
30059         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
30060         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
30061         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
30062         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
30063         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
30064         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
30065         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
30066         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
30067         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
30068         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
30069         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
30070         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
30071         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
30072         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
30073         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
30074         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
30075         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
30076         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
30077         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
30078         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
30079         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
30080         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
30081         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
30082         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
30083         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
30084         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
30085         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
30086         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
30087         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
30088         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
30089         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
30090         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
30091         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
30092         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
30093         * sysdeps/ieee754/s_lib_version.c: Likewise.
30094         * sysdeps/ieee754/s_matherr.c: Likewise.
30095         * sysdeps/ieee754/s_signgam.c: Likewise.
30096         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
30097         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
30098         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
30099         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
30100         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
30101         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
30102         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
30103         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
30104         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
30105         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
30106         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
30107         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
30108         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
30109         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
30110         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
30111         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
30112         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
30113         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
30114         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
30115         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
30116         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
30117
30118 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
30119
30120         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
30121         * sunrpc/rpc_main.c: Likewise.
30122         * sunrpc/rpc_svcout.c: Likewise.
30123
30124 2012-03-09  David S. Miller  <davem@davemloft.net>
30125
30126         * include/math_private.h: New file.
30127
30128 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
30129
30130         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
30131         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
30132         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
30133         from <bits/socket_type.h>.
30134         (enum __socket_type): Don't define here.
30135         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
30136         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
30137         bits/socket_type.h.
30138
30139         [BZ #13566]
30140         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
30141         checking __USE_GNU.
30142
30143         * Makerules ($(inst_includedir)/%.h): New rule.
30144         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
30145         (install-others): Remove variable setting.
30146         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
30147
30148 2012-03-08  Richard Henderson  <rth@twiddle.net>
30149
30150         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
30151         from macro to inline function; merge with the
30152         !__LIBC_INTERNAL_MATH_INLINES version.
30153         (__ieee754_sqrtf): Likewise.
30154
30155         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
30156         to inline function.
30157         (__rintf, __floor, __floorf): Likewise.
30158
30159         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
30160         macro to inline function.
30161         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
30162
30163         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
30164         not <math/math_private.h>.
30165
30166 2012-03-08  David S. Miller  <davem@davemloft.net>
30167
30168         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
30169         copyright year.
30170         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
30171
30172 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
30173
30174         * resolv/gai_misc.c (handle_requests): Fix struct timespec
30175         normalization.
30176         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
30177         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
30178
30179 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
30180
30181         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
30182         be defined individually, they must be defined as a block.  Define
30183         S for printing a string instead of hidint the different by using a
30184         macro for adding the 'l'.
30185         * stdio-common/tst-fphex-wide.c: Adjust.
30186
30187 2012-03-07  Marek Polacek  <polacek@redhat.com>
30188
30189         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
30190
30191 2012-03-08  Marek Polacek  <polacek@redhat.com>
30192
30193         [BZ #13806]
30194         * stdio-common/Makefile (tests): Add tst-fphex-wide.
30195         * stdio-common/tst-fphex.c: Define a few macros to make the
30196         test reusable.  Use them.
30197         * stdio-common/tst-fphex-wide.c: New file.
30198
30199 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
30200
30201         [BZ #6911]
30202         * manual/macros.texi (gnusystems): New macro.
30203         (nongnusystems): Likewise.
30204         (gnulinuxhurdsystems): Likewise.
30205         (gnuhurdsystems): Likewise..
30206         (gnulinuxsystems): Likewise.
30207         * manual/charset.texi: Use new macros or @theglibc{} to refer to
30208         variants of the GNU system, not "GNU system".
30209         * manual/conf.texi: Likewise.
30210         * manual/errno.texi: Likewise.  Update example of errno macro
30211         expansion.
30212         * manual/filesys.texi: Likewise.
30213         (getumask): Document as specific to GNU/Hurd.
30214         * manual/install.texi: Likewise.  Reword some references to
30215         GNU/Linux.
30216         * manual/intro.texi: Likewise.
30217         * manual/io.texi: Likewise.
30218         (File Name Portability): Detail which constraints are inapplicable
30219         to all GNU systems and which are only inapplicable to GNU/Hurd.
30220         * manual/job.texi: Likewise.
30221         * manual/llio.texi: Likewise.
30222         (O_NOCTTY): Document as present on GNU/Linux.
30223         * manual/maint.texi: Likewise.
30224         * manual/memory.texi: Likewise.
30225         * manual/pattern.texi: Likewise.
30226         * manual/pipe.texi: Likewise.
30227         * manual/process.texi: Likewise.
30228         * manual/resource.texi: Likewise.
30229         (RUSAGE_CHILDREN): Remove statement about specifying a particular
30230         child on GNU/Hurd.
30231         * manual/setjmp.texi: Likewise.
30232         * manual/signal.texi: Likewise.
30233         * manual/startup.texi: Likewise.
30234         * manual/stdio.texi: Likewise.
30235         * manual/terminal.texi: Likewise.
30236         (ONLCR): Document as POSIX.
30237         (OXTABS): Document availability on GNU/Linux as XTABS.
30238         (ONOEOT): Document availability separately from other bits.
30239         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
30240         * manual/time.texi: Likewise.
30241         * manual/users.texi: Likewise.
30242         * INSTALL: Regenerated.
30243         * sysdeps/gnu/errlist.c: Regenerated.
30244
30245         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
30246         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
30247         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
30248         puts.
30249         * configure: Regenerated.
30250
30251 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
30252
30253         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
30254         default includes instead of AC_HEADER_CHECK.
30255         * sysdeps/i386/configure: Regenerated.
30256
30257         [BZ #10716]
30258         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
30259         * math/s_cacoshf.c (__cacoshf): Likewise.
30260         * math/s_cacoshl.c (__cacoshl): Likewise.
30261         * math/s_casinh.c (__casinh): Set signs of result from argument.
30262         * math/s_casinhf.c (__casinhf): Likewise.
30263         * math/s_casinhl.c (__casinhl): Likewise.
30264         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
30265         (casinh_test): Add more tests.
30266         * sysdeps/i386/fpu/libm-test-ulps: Update.
30267         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30268
30269 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
30270
30271         * po/zh_TW.po: Update from translation team.
30272
30273         * login/Makefile (distribute): Remove variable.
30274         * catgets/Makefile: Likewise.
30275         * mach/Makefile: Likewise.
30276         * malloc/Makefile: Likewise.
30277         * misc/Makefile: Likewise.
30278         * iconv/Makefile: Likewise.
30279         * nscd/Makefile: Likewise.
30280         * hurd/Makefile: Likewise.
30281         * manual/Makefile: Likewise.
30282         * locale/Makefile: Likewise.
30283         * intl/Makefile: Likewise.
30284         * conform/Makefile: Likewise.
30285         * nss/Makefile: Likewise.
30286         * time/Makefile: Likewise.
30287         * soft-fp/Makefile: Likewise.
30288         * dirent/Makefile: Likewise.
30289         * gmon/Makefile: Likewise.
30290         * po/Makefile: Likewise.
30291         * rt/Makefile: Likewise.
30292         * socket/Makefile: Likewise.
30293         * math/Makefile: Likewise.
30294         * signal/Makefile: Likewise.
30295         * debug/Makefile: Likewise.
30296         * elf/Makefile: Likewise.
30297         * timezone/Makefile: Likewise.
30298         * stdlib/Makefile: Likewise.
30299         * iconvdata/Makefile: Likewise.
30300         * sunrpc/Makefile: Likewise.
30301         * io/Makefile: Likewise.
30302         * argp/Makefile: Likewise.
30303         * inet/Makefile: Likewise.
30304         * hesiod/Makefile: Likewise.
30305         * grp/Makefile: Likewise.
30306         * csu/Makefile: Likewise.
30307         * wctype/Makefile: Likewise.
30308         * crypt/Makefile: Likewise.
30309         * libio/Makefile: Likewise.
30310         * string/Makefile: Likewise.
30311         * nis/Makefile: Likewise.
30312         * resolv/Makefile: Likewise.
30313         * stdio-common/Makefile: Likewise.
30314         * wcsmbs/Makefile: Likewise.
30315         * dlfcn/Makefile: Likewise.
30316         * posix/Makefile: Likewise.
30317
30318         [BZ #6959]
30319         * timezone/Makefile: Don't install timezone files, just the programs
30320         and scripts.
30321
30322 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
30323
30324         * nss/databases.def: Add missing gshadow entry.
30325
30326         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
30327
30328 2012-03-06  Marek Polacek  <polacek@redhat.com>
30329
30330         [BZ #13726]
30331         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
30332         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
30333         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
30334         * stdio-common/tst-long-dbl-fphex.c: New file.
30335
30336 2012-03-06  David S. Miller  <davem@davemloft.net>
30337
30338         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
30339         (set_obp_int): New function.
30340         (get_obp_int): New function.
30341         (__get_clockfreq_via_dev_openprom): Likewise.
30342         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
30343         Avoid unused variable warnings on 'val' and use builtin_expect.
30344         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
30345         __builtin_expect.
30346         (INLINE_CLONE_SYSCALL): Likewise.
30347
30348 2012-03-05  David S. Miller  <davem@davemloft.net>
30349
30350         * sysdeps/sparc/fpu/libm-test-ulps: Update.
30351
30352 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
30353
30354         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30355
30356         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
30357         only for |x| >= 40.
30358         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
30359
30360 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
30361
30362         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
30363         Replace gettimeofday with __vdso_gettimeofday.
30364
30365         * sysdeps/unix/sysv/linux/x86_64/init-first.c
30366         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
30367         __vdso_clock_gettime and __vdso_getcpu.
30368
30369         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
30370         time with __vdso_time.
30371
30372 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
30373
30374         * manual/lang.texi (size_t): Note types to which size_t may be
30375         equivalent with the GNU C Library, but do not describe when
30376         differences between them are significant.
30377
30378 2012-03-05  Andreas Jaeger  <aj@suse.de>
30379
30380         * sysdeps/i386/fpu/libm-test-ulps: Update.
30381
30382 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
30383
30384         [BZ #3976]
30385         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
30386         (__ieee754_pow): Save and restore rounding mode and use
30387         round-to-nearest for main computations.
30388         * math/libm-test.inc (pow_test_tonearest): New function.
30389         (pow_test_towardzero): Likewise.
30390         (pow_test_downward): Likewise.
30391         (pow_test_upward): Likewise.
30392         (main): Call the new functions.
30393         * sysdeps/i386/fpu/libm-test-ulps: Update.
30394         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30395
30396         [BZ #3976]
30397         * math/libm-test.inc (cosh_test_tonearest): New function.
30398         (cosh_test_towardzero): Likewise.
30399         (cosh_test_downward): Likewise.
30400         (cosh_test_upward): Likewise.
30401         (sinh_test_tonearest): Likewise.
30402         (sinh_test_towardzero): Likewise.
30403         (sinh_test_downward): Likewise.
30404         (sinh_test_upward): Likewise.
30405         (main): Call the new functions.
30406         * sysdeps/i386/fpu/libm-test-ulps: Update.
30407         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30408
30409 2012-03-05  Tom de Vries  <tom@codesourcery.com>
30410
30411         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
30412         default stack guard is set in last bytes.
30413         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
30414
30415 2012-03-05  Kees Cook  <keescook@chromium.org>
30416
30417         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
30418
30419         [BZ #13656]
30420         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
30421         possibly allocate from heap instead of stack.
30422         * stdio-common/bug-vfprintf-nargs.c: New file.
30423         * stdio-common/Makefile (tests): Add nargs overflow test.
30424
30425 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
30426
30427         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30428
30429 2012-03-03  Marek Polacek  <polacek@redhat.com>
30430
30431         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
30432         * math/math_private.h: Likewise.
30433         * stdlib/tst-strtod.c: Likewise.
30434         * sysdeps/i386/i486/bits/atomic.h: Likewise.
30435         * sysdeps/x86_64/bits/atomic.h: Likewise.
30436
30437 2012-03-02  David S. Miller  <davem@davemloft.net>
30438
30439         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
30440         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
30441         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
30442         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
30443         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
30444         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
30445         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
30446         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
30447
30448 2012-03-02  Roland McGrath  <roland@hack.frob.com>
30449
30450         [BZ #13792]
30451         * manual/examples/README: New file, says the example source files
30452         can be used under GPL>=2.
30453         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
30454         line containing just "*/".
30455         * manual/examples/add.c: Add copyright header (GPL>=2).
30456         * manual/examples/argp-ex1.c: Likewise.
30457         * manual/examples/argp-ex2.c: Likewise.
30458         * manual/examples/argp-ex3.c: Likewise.
30459         * manual/examples/argp-ex4.c: Likewise.
30460         * manual/examples/atexit.c: Likewise.
30461         * manual/examples/db.c: Likewise.
30462         * manual/examples/dir.c: Likewise.
30463         * manual/examples/dir2.c: Likewise.
30464         * manual/examples/execinfo.c: Likewise.
30465         * manual/examples/filecli.c: Likewise.
30466         * manual/examples/filesrv.c: Likewise.
30467         * manual/examples/fmtmsgexpl.c: Likewise.
30468         * manual/examples/genpass.c: Likewise.
30469         * manual/examples/inetcli.c: Likewise.
30470         * manual/examples/inetsrv.c: Likewise.
30471         * manual/examples/isockad.c: Likewise.
30472         * manual/examples/longopt.c: Likewise.
30473         * manual/examples/memopen.c: Likewise.
30474         * manual/examples/memstrm.c: Likewise.
30475         * manual/examples/mkfsock.c: Likewise.
30476         * manual/examples/mkisock.c: Likewise.
30477         * manual/examples/mygetpass.c: Likewise.
30478         * manual/examples/pipe.c: Likewise.
30479         * manual/examples/popen.c: Likewise.
30480         * manual/examples/rprintf.c: Likewise.
30481         * manual/examples/search.c: Likewise.
30482         * manual/examples/select.c: Likewise.
30483         * manual/examples/setjmp.c: Likewise.
30484         * manual/examples/sigh1.c: Likewise.
30485         * manual/examples/sigusr.c: Likewise.
30486         * manual/examples/stpcpy.c: Likewise.
30487         * manual/examples/strdupa.c: Likewise.
30488         * manual/examples/strftim.c: Likewise.
30489         * manual/examples/strncat.c: Likewise.
30490         * manual/examples/subopt.c: Likewise.
30491         * manual/examples/swapcontext.c: Likewise.
30492         * manual/examples/termios.c: Likewise.
30493         * manual/examples/testopt.c: Likewise.
30494         * manual/examples/testpass.c: Likewise.
30495         * manual/examples/timeval_subtract.c: Likewise.
30496
30497         [BZ #13792]
30498         * manual/time.texi (Elapsed Time): Move timeval_subtract example
30499         function to ...
30500         * manual/timeval_subtract.c.texi: ... here, new file.
30501
30502 2012-03-02  David S. Miller  <davem@davemloft.net>
30503
30504         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
30505
30506 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
30507
30508         [BZ #3976]
30509         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
30510         (__sin): Save and restore rounding mode and use round-to-nearest
30511         for all computations.
30512         (__cos): Save and restore rounding mode and use round-to-nearest
30513         for all computations.
30514         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
30515         <fenv.h>.
30516         (tan): Save and restore rounding mode and use round-to-nearest for
30517         all computations.
30518         * math/libm-test.inc (cos_test_tonearest): New function.
30519         (cos_test_towardzero): Likewise.
30520         (cos_test_downward): Likewise.
30521         (cos_test_upward): Likewise.
30522         (sin_test_tonearest): Likewise.
30523         (sin_test_towardzero): Likewise.
30524         (sin_test_downward): Likewise.
30525         (sin_test_upward): Likewise.
30526         (tan_test_tonearest): Likewise.
30527         (tan_test_towardzero): Likewise.
30528         (tan_test_downward): Likewise.
30529         (tan_test_upward): Likewise.
30530         (main): Call the new functions.
30531         * sysdeps/i386/fpu/libm-test-ulps: Update.
30532         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30533
30534         [BZ #10135]
30535         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
30536         small n, then large n, before computing and testing k+n.
30537         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
30538         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
30539         Likewise.
30540         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
30541         Likewise.
30542         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
30543         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
30544         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
30545         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
30546         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
30547         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
30548         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
30549         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
30550         * math/libm-test.inc (scalbn_test): Add more tests.
30551         (scalbln_test): Likewise.
30552
30553         * manual/filesys.texi (mode_t): Describe constraints on size and
30554         signedness, not exact equivalence to a particular type.
30555         (ino_t): Likewise.
30556         (ino64_t): Likewise.
30557         (dev_t): Likewise.
30558         (nlink_t): Likewise.
30559         (blkcnt_t): Likewise.
30560         (blkcnt64_t): Likewise.
30561         * manual/llio.texi (off_t): Likewise.
30562
30563         [BZ #3976]
30564         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
30565         (__ieee754_exp): Save and restore rounding mode and use
30566         round-to-nearest for all computations.
30567         * math/libm-test.inc (exp_test_tonearest): New function.
30568         (exp_test_towardzero): Likewise.
30569         (exp_test_downward): Likewise.
30570         (exp_test_upward): Likewise.
30571         (main): Call the new functions.
30572         * sysdeps/i386/fpu/libm-test-ulps: Update.
30573         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30574
30575 2012-03-01  Chris Demetriou  <cgd@google.com>
30576
30577         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
30578         have predictable order.
30579
30580 2012-03-01  David S. Miller  <davem@davemloft.net>
30581
30582         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
30583
30584         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
30585         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
30586         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
30587         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
30588
30589         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
30590         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
30591         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
30592         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
30593         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
30594         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
30595         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
30596         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
30597         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
30598
30599         * sysdeps/sparc/fpu/libm-test-ulps: Update.
30600
30601         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
30602         * sysdeps/sparc/fpu/libm-test-ulps: to here.
30603         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
30604
30605         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
30606         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
30607         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
30608         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
30609         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
30610         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
30611         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
30612         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
30613         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
30614         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
30615         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
30616         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
30617         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
30618         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
30619         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
30620         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
30621         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
30622         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
30623         * sysdeps/sparc/elf/configure: Regenerated.
30624
30625 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
30626
30627         * configure.in (AS, LD): Require binutils 2.20 or later.
30628         * configure: Regenerated.
30629         * manual/install.texi (Tools for Compilation): Give binutils 2.20
30630         as required minimum version.
30631         * INSTALL: Regenerated.
30632
30633         [BZ #2541]
30634         [BZ #4108]
30635         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
30636         before squaring exponent.
30637         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
30638         bottom long double and 27 bits of top long double before squaring
30639         exponent.
30640         * math/libm-test.inc (erfc_test): Add more tests.
30641         * sysdeps/i386/fpu/libm-test-ulps: Update.
30642         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
30643         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30644
30645 2012-03-01  Kai Tietz  <ktietz@redhat.com>
30646
30647         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
30648         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
30649         containing bit-fields.
30650         * soft-fp/extended.h (_FP_UNION_E): Likewise.
30651         * soft-fp/single.h (_FP_UNION_S): Likewise.
30652         * soft-fp/double.h (_FP_UNION_D): Likewise.
30653
30654 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
30655
30656         [BZ #13786]
30657         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
30658         not include ../strcmp.S.
30659         [USE_AS_STRNCASECMP_L]: Likewise.
30660         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
30661         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
30662         * sysdeps/i386/i686/multiarch/strncase_l-c.c
30663         (__strncasecmp_l_ia32): Define as alias to
30664         __strncasecmp_l_nonascii.
30665
30666         [BZ #5794]
30667         * math/libm-test.inc (expm1_test): Add test for bug 5794.
30668         * sysdeps/i386/fpu/libm-test-ulps: Update.
30669         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30670
30671         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
30672         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30673
30674 2012-02-29  Jeff Law  <law@redhat.com>
30675
30676         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
30677         out of bounds read.
30678
30679 2012-02-29  Marek Polacek  <polacek@redhat.com>
30680
30681         [BZ #13706]
30682         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
30683         * elf/Makefile: Add rules to run tst-unused-dep.out.
30684
30685 2012-02-28  David S. Miller  <davem@davemloft.net>
30686
30687         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
30688         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
30689         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
30690         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
30691         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
30692         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
30693
30694 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
30695
30696         * math/libm-test.inc (llround_test): Move one test from
30697         lround_test.  Use TEST_f_L in moved test.
30698         (lround_test): Move misplaced test to llround_test.  Add testcase
30699         from bug 2561.
30700
30701 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
30702
30703         * sysdeps/x86_64/fpu/e_expf.S: New file.
30704         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
30705
30706 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
30707
30708         [BZ #13637]
30709         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
30710         of remain_len that may cause incomplete multi-byte character and
30711         false match.
30712         * posix/bug-regex33.c: New file.
30713         * posix/Makefile (tests): Add bug-regex33.
30714
30715 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
30716
30717         * manual/macros.texi: New file.
30718         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
30719         * manual/libc.texinfo: Include macros.texi.
30720         * manual/creatute.texi: Likewise.
30721         * manual/install.texi: Likewise.
30722         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
30723         @glibcadj{} in references to the GNU C Library.
30724         * manual/charset.texi: Likewise.
30725         * manual/conf.texi: Likewise.
30726         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
30727         when not using those macros.
30728         * manual/creature.texi: Likewise.
30729         * manual/crypt.texi: Likewise.
30730         * manual/errno.texi: Likewise.
30731         * manual/filesys.texi: Likewise.
30732         * manual/header.texi: Likewise.
30733         * manual/install.texi: Likewise.
30734         * manual/intro.texi: Likewise.
30735         * manual/io.texi: Likewise.
30736         * manual/job.texi: Likewise.
30737         * manual/lang.texi: Likewise.
30738         * manual/libc.texiinfo: Likewise.
30739         * manual/llio.texi: Likewise.
30740         * manual/locale.texi: Likewise.
30741         * manual/maint.texi: Likewise.
30742         * manual/math.texi: Likewise.
30743         * manual/memory.texi: Likewise.
30744         * manual/message.texi: Likewise.
30745         * manual/nss.texi: Likewise.
30746         * manual/pattern.texi: Likewise.
30747         * manual/process.texi: Likewise.
30748         * manual/resource.texi: Likewise.
30749         * manual/search.texi: Likewise.
30750         * manual/setjmp.texi: Likewise.
30751         * manual/signal.texi: Likewise.
30752         * manual/socket.texi: Likewise.
30753         * manual/startup.texi: Likewise.
30754         * manual/stdio.texi: Likewise.
30755         * manual/string.texi: Likewise.
30756         * manual/sysinfo.texi: Likewise.
30757         * manual/syslog.texi: Likewise.
30758         * manual/terminal.texi: Likewise.
30759         * manual/time.texi: Likewise.
30760         * manual/users.texi: Likewise.
30761         * INSTALL: Regenerated.
30762         * NOTES: Regenerated.
30763         * sysdeps/gnu/errlist.c: Regenerated.
30764
30765 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
30766
30767         * include/dirent.h: Include <dirstream.h> before
30768         <dirent/dirent.h>.
30769
30770 2012-02-28  David S. Miller  <davem@davemloft.net>
30771
30772         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
30773         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
30774         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
30775         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
30776
30777 2012-02-27  David S. Miller  <davem@davemloft.net>
30778
30779         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
30780         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
30781         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
30782         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
30783
30784         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
30785         frame pointer instead of stack pointer relative arg slot.
30786         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
30787         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
30788         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
30789
30790 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
30791
30792         [BZ #3992]
30793         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
30794
30795 2012-02-27  David S. Miller  <davem@davemloft.net>
30796
30797         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
30798         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
30799         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
30800         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
30801         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
30802         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
30803         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
30804         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
30805
30806 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
30807
30808         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
30809         later.  Allow versions 5-9.
30810         * configure: Regenerated.
30811         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
30812         required minimum version and 4.6 as recommended version.  Do not
30813         mention bugs in GCC 2.7 and 2.8.
30814         * INSTALL: Regenerated.
30815
30816 2012-02-27  David S. Miller  <davem@davemloft.net>
30817
30818         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
30819         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
30820         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
30821         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
30822         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
30823         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
30824         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
30825         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
30826
30827         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
30828         manipulate bits before adding and subtracting TWO112[sx].
30829         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
30830
30831 2012-02-27  Roland McGrath  <roland@hack.frob.com>
30832
30833         [BZ #13775]
30834         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
30835         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
30836         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
30837         being in POSIX, because they are in 1003.1-2008.
30838
30839         * rt/tst-aio.c: Include <fcntl.h>.
30840         * rt/tst-aio7.c: Likewise.
30841         * rt/tst-aio64.c: Likewise.
30842
30843         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
30844
30845 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
30846
30847         * manual/install.texi (--with-headers): Describe headers as
30848         interface headers, not private headers.
30849         (Specific advice for GNU/Linux systems): Describe use of headers
30850         from "make headers_install", not private headers from older
30851         kernels.
30852         * INSTALL: Regenerated.
30853         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
30854         Change to 2.6.19.
30855         * sysdeps/unix/sysv/linux/configure: Regenerated.
30856
30857         * manual/llio.texi (fclean): Remove documentation.
30858
30859         * manual/Makefile (libc-texi-generated): New variable.  Include
30860         version.texi.
30861         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
30862         $(libc-texi-generated), not duplicated list of files.
30863         (version.texi, stamp-version): New rules.
30864         (realclean): Remove $(libc-texi-generated), not individual files
30865         from that list.  Do not remove dir-add.texinfo.
30866         * manual/libc.texinfo: Comment out uses of edition numbers and
30867         references to printed manual.  Remove last-updated dates.
30868         (EDITION): Comment out.
30869         (ISBN): Likewise.
30870         (VERSION, UPDATED): Remove.
30871         (version.texi): Include.
30872
30873 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
30874
30875         * sysdeps/posix/spawni.c: Include <signal.h>.
30876         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
30877         * sysdeps/pthread/aio_fsync.c: Likewise.
30878
30879 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
30880
30881         * conform/Makefile (tests): Run only when not cross-compiling and
30882         when fast-check is not defined.
30883
30884         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
30885         * conform/data/limits.h-data: Fixes for POSIX2008.
30886         * conform/run-conformtest.sh: Run all tests.
30887         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
30888         headers.
30889         * include/bits/dlfcn.h: Likewise.
30890         * include/langinfo.h: Likewise.
30891         * include/monetary.h: Likewise.
30892         * include/sys/poll.h: Likewise.
30893
30894         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
30895         for __USE_GNU.
30896         * posix/spawn.h: Define __need_sigset_t.
30897         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
30898         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
30899         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
30900         to get sigevent_t only.
30901         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
30902         only for __USE_GNU.
30903         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
30904         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
30905         process_vm_writev only for __USE_GNU.
30906         * termios/termios.h: Declare tcgetsid also for POSIX2008.
30907
30908         * conform/Makefile: For now ignore errors from run-conformtest.
30909         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
30910         POSIX to avoid namespace pollution.  Don't prepend headers.
30911         * conform/data/aio.h-data: Fixes for POSIX testing.
30912         * conform/data/fcntl.h-data: Likewise.
30913         * conform/data/glob.h-data: Likewise.
30914         * conform/data/grp.h-data: Likewise.
30915         * conform/data/pthread.h-data: Likewise.
30916         * conform/data/pwd.h-data: Likewise.
30917         * conform/data/signal.h-data: Likewise.
30918         * conform/data/spawn.h-data: Likewise.
30919         * conform/data/stdio.h-data: Likewise.
30920         * conform/data/stdlib.h-data: Likewise.
30921         * conform/data/stropts.h-data: Likewise.
30922         * conform/data/sys/mman.h-data: Likewise.
30923         * conform/data/sys/stat.h-data: Likewise.
30924         * conform/data/sys/types.h-data: Likewise.
30925         * conform/data/sys/wait.h-data: Likewise.
30926         * conform/data/time.h-data: Likewise.
30927         * conform/data/unistd.h-data: Likewise.
30928         * conform/data/utime.h-data: Likewise.
30929
30930         * io/sys/stat.h: fchmod was always in POSIX.
30931         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
30932         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
30933         * rt/aio.h: Define __need_timespec before including <time.h>.
30934         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
30935         struct.  Add forward declaration of pthread_attr_t and use it in
30936         sigevent.
30937         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
30938         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
30939         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
30940         always remove CLK_TCK definition.
30941
30942 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
30943
30944         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
30945
30946 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
30947
30948         * conform/run-conformtest.sh: New file.
30949         * conform/Makefile: Run run-conformtest for tests.
30950         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
30951         support.
30952
30953         * conform/data/uchar.h-data: New file.
30954         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
30955         * conform/data/arpa/inet.h-data: Likewise.
30956         * conform/data/assert.h-data: Likewise.
30957         * conform/data/complex.h-data: Likewise.
30958         * conform/data/cpio.h-data: Likewise.
30959         * conform/data/ctype.h-data: Likewise.
30960         * conform/data/dirent.h-data: Likewise.
30961         * conform/data/dlfcn.h-data: Likewise.
30962         * conform/data/errno.h-data: Likewise.
30963         * conform/data/fcntl.h-data: Likewise.
30964         * conform/data/float.h-data: Likewise.
30965         * conform/data/fmtmsg.h-data: Likewise.
30966         * conform/data/fnmatch.h-data: Likewise.
30967         * conform/data/ftw.h-data: Likewise.
30968         * conform/data/glob.h-data: Likewise.
30969         * conform/data/grp.h-data: Likewise.
30970         * conform/data/iconv.h-data: Likewise.
30971         * conform/data/inttypes.h-data: Likewise.
30972         * conform/data/langinfo.h-data: Likewise.
30973         * conform/data/libgen.h-data: Likewise.
30974         * conform/data/limits.h-data: Likewise.
30975         * conform/data/locale.h-data: Likewise.
30976         * conform/data/math.h-data: Likewise.
30977         * conform/data/monetary.h-data: Likewise.
30978         * conform/data/mqueue.h-data: Likewise.
30979         * conform/data/ndbm.h-data: Likewise.
30980         * conform/data/net/if.h-data: Likewise.
30981         * conform/data/netdb.h-data: Likewise.
30982         * conform/data/netinet/in.h-data: Likewise.
30983         * conform/data/nl_types.h-data: Likewise.
30984         * conform/data/poll.h-data: Likewise.
30985         * conform/data/pthread.h-data: Likewise.
30986         * conform/data/pwd.h-data: Likewise.
30987         * conform/data/regex.h-data: Likewise.
30988         * conform/data/sched.h-data: Likewise.
30989         * conform/data/search.h-data: Likewise.
30990         * conform/data/semaphore.h-data: Likewise.
30991         * conform/data/setjmp.h-data: Likewise.
30992         * conform/data/signal.h-data: Likewise.
30993         * conform/data/spawn.h-data: Likewise.
30994         * conform/data/stdarg.h-data: Likewise.
30995         * conform/data/stdio.h-data: Likewise.
30996         * conform/data/stdlib.h-data: Likewise.
30997         * conform/data/string.h-data: Likewise.
30998         * conform/data/strings.h-data: Likewise.
30999         * conform/data/stropts.h-data: Likewise.
31000         * conform/data/sys/ipc.h-data: Likewise.
31001         * conform/data/sys/mman.h-data: Likewise.
31002         * conform/data/sys/msg.h-data: Likewise.
31003         * conform/data/sys/resource.h-data: Likewise.
31004         * conform/data/sys/select.h-data: Likewise.
31005         * conform/data/sys/sem.h-data: Likewise.
31006         * conform/data/sys/shm.h-data: Likewise.
31007         * conform/data/sys/socket.h-data: Likewise.
31008         * conform/data/sys/stat.h-data: Likewise.
31009         * conform/data/sys/statvfs.h-data: Likewise.
31010         * conform/data/sys/time.h-data: Likewise.
31011         * conform/data/sys/timeb.h-data: Likewise.
31012         * conform/data/sys/times.h-data: Likewise.
31013         * conform/data/sys/types.h-data: Likewise.
31014         * conform/data/sys/uio.h-data: Likewise.
31015         * conform/data/sys/un.h-data: Likewise.
31016         * conform/data/sys/utsname.h-data: Likewise.
31017         * conform/data/sys/wait.h-data: Likewise.
31018         * conform/data/syslog.h-data: Likewise.
31019         * conform/data/tar.h-data: Likewise.
31020         * conform/data/termios.h-data: Likewise.
31021         * conform/data/utime.h-data: Likewise.
31022         * conform/data/utmpx.h-data: Likewise.
31023         * conform/data/varargs.h-data: Likewise.
31024         * conform/data/wchar.h-data: Likewise.
31025         * conform/data/wctype.h-data: Likewise.
31026         * conform/data/wordexp.h-data: Likewise.
31027
31028         * include/stropts.h: New file.
31029         * include/uchar.h: New file.
31030         * include/aio.h: Changes to allow conformtest.pl to use the headers.
31031         * include/assert.h: Likewise.
31032         * include/ctype.h: Likewise.
31033         * include/dirent.h: Likewise.
31034         * include/dlfcn.h: Likewise.
31035         * include/fcntl.h: Likewise.
31036         * include/fnmatch.h: Likewise.
31037         * include/glob.h: Likewise.
31038         * include/grp.h: Likewise.
31039         * include/libio.h: Likewise.
31040         * include/locale.h: Likewise.
31041         * include/math.h: Likewise.
31042         * include/net/if.h: Likewise.
31043         * include/netdb.h: Likewise.
31044         * include/netinet/in.h: Likewise.
31045         * include/pthread.h: Likewise.
31046         * include/pwd.h: Likewise.
31047         * include/regex.h: Likewise.
31048         * include/sched.h: Likewise.
31049         * include/search.h: Likewise.
31050         * include/setjmp.h: Likewise.
31051         * include/signal.h: Likewise.
31052         * include/stdio.h: Likewise.
31053         * include/stdlib.h: Likewise.
31054         * include/string.h: Likewise.
31055         * include/sys/cdefs.h: Likewise.
31056         * include/sys/mman.h: Likewise.
31057         * include/sys/msg.h: Likewise.
31058         * include/sys/resource.h: Likewise.
31059         * include/sys/select.h: Likewise.
31060         * include/sys/socket.h: Likewise.
31061         * include/sys/stat.h: Likewise.
31062         * include/sys/statvfs.h: Likewise.
31063         * include/sys/time.h: Likewise.
31064         * include/sys/times.h: Likewise.
31065         * include/sys/uio.h: Likewise.
31066         * include/sys/utsname.h: Likewise.
31067         * include/sys/wait.h: Likewise.
31068         * include/termios.h: Likewise.
31069         * include/time.h: Likewise.
31070         * include/ulimit.h: Likewise.
31071         * include/unistd.h: Likewise.
31072         * include/utime.h: Likewise.
31073         * include/wchar.h: Likewise.
31074         * include/wctype.h: Likewise.
31075         * include/wordexp.h: Likewise.
31076
31077         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
31078
31079         * time/time.h: TIME_UTC must be a macro.
31080         Make timespec_get available for ISO C11 only as well.
31081
31082 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
31083
31084         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
31085         Reported by Peng Haitao <penght@cn.fujitsu.com>.
31086
31087 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
31088
31089         * configure.in: Use -o not -a in test for unsupported multi-arch.
31090
31091 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
31092
31093         * manual/texinfo.tex: Update to version 2012-01-19.16.
31094
31095 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
31096
31097         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
31098
31099 2012-02-24  Roland McGrath  <roland@hack.frob.com>
31100
31101         [BZ #13738]
31102         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
31103         * manual/fdl-1.3.texi: New file.
31104         * manual/fdl-1.1.texi: File removed.
31105
31106         [BZ #13738]
31107         * manual/libc.texinfo (FDL_VERSION): New @set.
31108         Use it for mention of FDL in cover text.
31109         (Documentation License): Use it in @include file name.
31110
31111 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
31112             Roland McGrath  <roland@hack.frob.com>
31113
31114         [BZ #5461]
31115         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
31116         not LONG_LONG_MAX and LONG_LONG_MIN.
31117         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
31118         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
31119         name.
31120         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
31121
31122 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
31123
31124         [BZ #2547]
31125         [BZ #11365]
31126         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
31127         manipulate bits before adding and subtracting TWO23[sx].
31128         * math/libm-test.inc (nearbyint_test): Add more tests.
31129
31130 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
31131
31132         [BZ #2548]
31133         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
31134         bits before adding and subtracting TWO23[sx].
31135         * math/libm-test.inc (rint_test): Add more tests.
31136         (rint_test_tonearest): Likewise.
31137         (rint_test_towardzero): Likewise.
31138         (rint_test_downward): Likewise.
31139         (rint_test_upward: Likewise.
31140
31141 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
31142
31143         [BZ #10110]
31144         * include/stdc-predef.h: New file.  Extracted from features.h.
31145         * include/features.h: Include stdc-predef.h.
31146         * Makefile (headers): Add stdc-predef.h.
31147         * CONFORMANCE (Compiler limitations): Update.
31148
31149 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
31150
31151         * manual/libc.texinfo (VERSION, UPDATED): Revert.
31152
31153 2012-02-21  David S. Miller  <davem@davemloft.net>
31154
31155         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
31156         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
31157
31158 2012-02-20  David S. Miller  <davem@davemloft.net>
31159
31160         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
31161         using a normal save/restore sequence, rather than allocating a
31162         dummy stack frame just to store a frame pointer and restore.
31163         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
31164
31165 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
31166
31167         * manual/install.texi: Fix stray word in line-wrapped comment.
31168
31169 2012-02-20  David S. Miller  <davem@davemloft.net>
31170
31171         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
31172         both binutils and gcc support GOTDATA.
31173
31174         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
31175         "rd %pc" in the PIC register setup sequences.
31176
31177         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
31178         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
31179         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
31180         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
31181         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
31182         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
31183         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
31184         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
31185         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
31186         (SYSCALL_ERROR_HANDLER): Likewise.
31187         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
31188         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
31189         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
31190         (SYSCALL_ERROR_HANDLER): Likewise.
31191
31192         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
31193         (HAVE_GCC_GOTDATA): New.
31194         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
31195         relocation support in both binutils and gcc.
31196         * sysdeps/sparc/elf/configure: Regenerate.
31197
31198         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
31199         * sysdeps/sparc/sparc32/elf/configure: Delete.
31200         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
31201         * sysdeps/sparc/sparc64/elf/configure: Delete.
31202         * sysdeps/sparc/elf/configure.in: New file.
31203         * sysdeps/sparc/elf/configure: Generate.
31204
31205         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
31206         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
31207         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
31208         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
31209         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
31210
31211 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
31212
31213         * manual/install.texi: Do not mention specific glibc version
31214         numbers.
31215         * manual/libc.texinfo (VERSION, UPDATED): Update.
31216         (@copying): Use @copyright{} and range of years.
31217
31218 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
31219
31220         [BZ #13695]
31221         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
31222         [crti.S not in sysdirs] (generated): Do not append.
31223         [crti.S not in sysdirs] (omit-deps): Likewise.
31224         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
31225         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
31226         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
31227         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
31228         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
31229         Likewise.
31230         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
31231         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
31232         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
31233         * csu/defs.awk: Remove file.
31234         * sysdeps/generic/initfini.c: Likewise.
31235         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
31236         variable.
31237         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
31238         Likewise.
31239
31240 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
31241
31242         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
31243         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
31244         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
31245         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
31246         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
31247         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
31248         <bits/epoll.h>.
31249         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
31250         (__EPOLL_PACKED): Define to empty if not defined by
31251         <bits/epoll.h>.
31252         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
31253         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
31254         bits/epoll.h.
31255
31256 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
31257
31258         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
31259         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
31260         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
31261         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
31262         <bits/timerfd.h>.
31263         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
31264         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
31265         bits/timerfd.h.
31266
31267 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
31268
31269         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
31270         in C locale.
31271         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
31272         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
31273         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
31274         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31275
31276 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
31277
31278         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
31279         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
31280
31281 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
31282
31283         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
31284         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
31285         defined.
31286         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
31287         Likewise.
31288         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
31289         entry for 2.16.
31290
31291 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
31292
31293         * math/w_acos.c: Use non-signaling floating-point comparisons.
31294         * math/w_acosf.c: Likewise.
31295         * math/w_acosh.c: Likewise.
31296         * math/w_acoshf.c: Likewise.
31297         * math/w_acoshl.c: Likewise.
31298         * math/w_acosl.c: Likewise.
31299         * math/w_asin.c: Likewise.
31300         * math/w_asinf.c: Likewise.
31301         * math/w_asinl.c: Likewise.
31302         * math/w_atanh.c: Likewise.
31303         * math/w_atanhf.c: Likewise.
31304         * math/w_atanhl.c: Likewise.
31305         * math/w_exp2.c: Likewise.
31306         * math/w_exp2f.c: Likewise.
31307         * math/w_exp2l.c: Likewise.
31308         * math/w_j0.c: Likewise.
31309         * math/w_j0f.c: Likewise.
31310         * math/w_j0l.c: Likewise.
31311         * math/w_j1.c: Likewise.
31312         * math/w_j1f.c: Likewise.
31313         * math/w_j1l.c: Likewise.
31314         * math/w_jn.c: Likewise.
31315         * math/w_jnf.c: Likewise.
31316         * math/w_log.c: Likewise.
31317         * math/w_log10.c: Likewise.
31318         * math/w_log10f.c: Likewise.
31319         * math/w_log10l.c: Likewise.
31320         * math/w_log2.c: Likewise.
31321         * math/w_log2f.c: Likewise.
31322         * math/w_log2l.c: Likewise.
31323         * math/w_logf.c: Likewise.
31324         * math/w_logl.c: Likewise.
31325         * math/w_sqrt.c: Likewise.
31326         * math/w_sqrtf.c: Likewise.
31327         * math/w_sqrtl.c: Likewise.
31328         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
31329         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
31330         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
31331         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
31332         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
31333
31334 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
31335
31336         [BZ #9739]
31337         * manual/string.texi (strnlen): Use correct parameter name in
31338         equivalent expression.
31339
31340 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
31341
31342         [BZ #11174]
31343         * manual/users.texi (seteuid): Consistently use neweuid for
31344         argument name.
31345
31346 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
31347
31348         [BZ #13704]
31349         * manual/nss.texi (Services in the NSS configuration): Correct
31350         list of services in example configuration file.
31351
31352 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
31353
31354         [BZ #11322]
31355         * manual/arith.texi: Remove statements about negative zero
31356         behaving identically to zero.
31357
31358 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
31359
31360         [BZ #5993]
31361         * manual/install.texi: Do not document upgrading from libc5.
31362
31363 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
31364
31365         [BZ #4596]
31366         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
31367
31368 2012-02-18  David S. Miller  <davem@davemloft.net>
31369
31370         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
31371         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
31372         %o7 across the call.
31373         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
31374         instead.
31375         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
31376         SETUP_PIC_REG_LEAF.
31377         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
31378         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
31379         * sysdeps/sparc/crtn.S: Likewise.
31380
31381 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
31382
31383         * aout/Makefile: Remove.
31384
31385 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
31386
31387         [BZ #13058]
31388         * manual/examples/argp-ex1.c (main): Format definition in GNU
31389         style.
31390         * manual/examples/argp-ex2.c (main): Likewise.
31391         * manual/examples/argp-ex3.c (main): Likewise.
31392         * manual/examples/argp-ex4.c (main): Likewise.
31393         * manual/examples/longopt.c (main): Use new-style prototype
31394         definition.
31395         * manual/examples/strncat.c (main): Specify return type and use
31396         (void) for arguments.
31397         * manual/examples/subopt.c (main): Use char **argv argument.
31398
31399 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
31400
31401         [BZ #5077]
31402         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
31403         rounding modes.
31404
31405 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
31406
31407         [BZ #6907]
31408         * manual/string.texi (strchr): Change when strchrnul is
31409         recommended.
31410
31411 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
31412
31413         [BZ #174]
31414         * manual/locale.texi (setlocale): Document LOCPATH.
31415
31416 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
31417
31418         [BZ #10210]
31419         * manual/process.texi (execle): Move @dots{} before last argument.
31420
31421 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
31422
31423         [BZ #12047]
31424         * manual/charset.texi (Generic Charset Conversion): Fix typo
31425         (LC_TYPE -> LC_CTYPE).
31426
31427 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
31428
31429         [BZ #5805]
31430         * manual/arith.texi (scalbn): Use @var{} on parameter names.
31431         (scalbnf): Likewise.
31432         (scalbnl): Likewise.
31433         (scalbln): Likewise.
31434         (scalblnf): Likewise.
31435         (scalblnl): Likewise.
31436         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
31437         (vwarnx): Likewise.
31438         (verr): Likewise.
31439         (verrx): Likewise.
31440         * manual/filesys.texi (telldir): Use braces around return type.
31441         * manual/llio.texi (mmap): Add space after comma.
31442         (mmap64): Likewise.
31443         * manual/math.texi (jn): Use @var{} on parameter names.
31444         (jnf): Likewise.
31445         (jnl): Likewise.
31446         (yn): Likewise.
31447         (ynf): Likewise.
31448         (ynl): Likewise.
31449         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
31450         line.
31451         * manual/resource.texi (ulimit): Use @dots{} instead of literal
31452         "...".
31453         (sched_get_priority_min): Remove semicolon on @deftypefun line.
31454         (sched_get_priority_max): Likewise.
31455         * manual/signal.texi (sigvec): Add space after comma.
31456         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
31457         names.
31458         (if_indextoname): Likewise.
31459         (if_freenameindex): Likewise.
31460         (sendto): Use ',' instead of '.' in prototype.
31461         * manual/startup.texi (syscall): Use @dots{} instead of literal
31462         "...".
31463         * manual/stdio.texi (__fpending): Separate initial words of
31464         paragraph from @deftypefun line.
31465         * manual/syslog.texi (syslog): Use @dots{} instead of literal
31466         "...".
31467         (vsyslog): Use @var{} on parameter names.
31468         * manual/terminal.texi (stty): Use @var{} on parameter names.
31469         * manual/users.texi (getutmp): Use @var{} on parameter names.
31470         (getutmpx): Likewise.
31471
31472 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
31473
31474         [BZ #6884]
31475         * manual/stdio.texi (fopen): Fix typos in description of
31476         ",ccs=STRING".
31477
31478 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
31479
31480         [BZ #4026]
31481         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
31482         get clock_id definition.
31483
31484 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
31485
31486         [BZ #4822]
31487         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
31488         (madvise): Cast every argument to void on its own.
31489
31490 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
31491
31492         [BZ #9902]
31493         * manual/startup.texi (Exit Status): Fix typo.
31494
31495 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
31496
31497         [BZ #10140]
31498         * manual/examples/argp-ex1.c: Include <stdlib.h>.
31499         * manual/examples/argp-ex2.c: Likewise.
31500         * manual/examples/argp-ex3.c: Likewise.
31501
31502 2012-02-16  Richard Henderson  <rth@redhat.com>
31503
31504         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
31505         * sysdeps/s390/s390-32/initfini.c: Remove.
31506         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
31507         * sysdeps/s390/s390-64/initfini.c: Remove.
31508
31509 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
31510
31511         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
31512         compiler output for sysdeps/generic/initfini.c.
31513         * sysdeps/sh/elf/initfini.c: Remove file.
31514
31515 2012-02-16  David S. Miller  <davem@davemloft.net>
31516
31517         [BZ #11494]
31518         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
31519
31520         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
31521         * sysdeps/sparc/crti.S: New file.
31522         * sysdeps/sparc/crtn.S: New file.
31523         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
31524         * sysdeps/sparc/sparc64/Makefile: Likewise.
31525
31526 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
31527
31528         [BZ #3335]
31529         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
31530
31531 2012-02-15  Roland McGrath  <roland@hack.frob.com>
31532
31533         [BZ #4822]
31534         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
31535
31536         * mach/devstream.c (cookie_io_functions_t): Macro removed.
31537         (write, read, close): Likewise.
31538         Patch by Aurelien Jarno <aurelien@aurel32.net>.
31539
31540 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
31541
31542         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
31543         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
31544         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
31545         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
31546         <bits/signalfd.h>.
31547         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
31548         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
31549         bits/signalfd.h.
31550
31551 2012-02-14  Marek Polacek  <polacek@redhat.com>
31552
31553         * sysdeps/x86_64/crti.S: New file.
31554         * sysdeps/x86_64/crtn.S: New file.
31555         * sysdeps/x86_64/elf/initfini.c: Remove file.
31556
31557 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
31558
31559         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
31560         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
31561         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
31562         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
31563         <bits/inotify.h>.
31564         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
31565         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
31566         bits/inotify.h.
31567
31568 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
31569
31570         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
31571         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
31572         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
31573         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
31574         <bits/eventfd.h>.
31575         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
31576         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
31577         bits/eventfd.h.
31578
31579 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
31580
31581         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
31582         __feraiseexcept instead of feraiseexcept.
31583
31584         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
31585         nanosleep invocations.
31586         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
31587         strings, and add error checking for a nanosleep invocations.
31588
31589 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
31590
31591         Replace FSF snail mail address with URLs, as per GNU coding standards.
31592         Most of the snail mail addresses were wrong anyway, and omitting
31593         them makes the source code easier to maintain.  Almost all of the
31594         changes are to license notices and to locale LC_IDENTIFICATION
31595         addresses, except for this one:
31596         * manual/libc.texinfo: In "Published by", give the FSF's URL,
31597         not its snail mail address.
31598
31599 2012-02-09  Richard Henderson  <rth@twiddle.net>
31600
31601         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
31602         of kernel-features.h.
31603
31604         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
31605
31606 2012-02-08  Marek Polacek  <polacek@redhat.com>
31607
31608         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
31609         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
31610         * sysdeps/gnu/_G_config.h: Likewise.
31611         * sysdeps/generic/_G_config.h: Likewise.
31612
31613 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
31614
31615         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
31616         tests.
31617         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31618
31619         * sysdeps/powerpc/powerpc32/crti.S: New file.
31620         * sysdeps/powerpc/powerpc32/crtn.S: New file.
31621         * sysdeps/powerpc/powerpc64/crti.S: New file.
31622         * sysdeps/powerpc/powerpc64/crtn.S: New file.
31623
31624         * Makeconfig (have-initfini): Don't set.
31625         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
31626         * configure.in (nopic_initfini): Don't substitute.
31627         * config.h.in (HAVE_INITFINI): Don't #undef.
31628         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
31629         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
31630
31631 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
31632
31633         Support crti.S and crtn.S provided directly by architectures.
31634         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
31635         [crti.S in sysdirs] (omit-deps): Likewise.
31636         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
31637         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
31638         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
31639         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
31640         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
31641         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
31642         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
31643         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
31644         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
31645         compiler output for sysdeps/generic/initfini.c.
31646         * sysdeps/i386/elf/Makefile: Remove file.
31647         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
31648
31649 2012-02-07  Marek Polacek  <polacek@redhat.com>
31650
31651         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
31652         * sysdeps/gnu/_G_config.h: Likewise.
31653         * sysdeps/mach/hurd/_G_config.h: Likewise.
31654
31655 2012-02-07  Marek Polacek  <polacek@redhat.com>
31656
31657         * math/Makefile (tests): Add tst-CMPLX2.
31658         * math/tst-CMPLX2.c: New file.
31659
31660 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
31661
31662         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
31663
31664         * math/libm-test.inc (jn_test): Add missing L suffix.
31665
31666 2012-02-06  Marek Polacek  <polacek@redhat.com>
31667
31668         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
31669         * sysdeps/i386/fpu/e_powf.S: Likewise.
31670         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
31671         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
31672         * sysdeps/i386/fpu/e_acosh.S: Likewise.
31673         * sysdeps/i386/fpu/e_pow.S: Likewise.
31674         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
31675         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
31676         * sysdeps/i386/fpu/s_expm1.S: Likewise.
31677         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
31678         * sysdeps/i386/fpu/e_log2.S: Likewise.
31679         * sysdeps/i386/fpu/e_log2l.S: Likewise.
31680         * sysdeps/i386/fpu/e_scalb.S: Likewise.
31681         * sysdeps/i386/fpu/e_powl.S: Likewise.
31682         * sysdeps/i386/fpu/s_log1p.S: Likewise.
31683         * sysdeps/i386/fpu/e_log10f.S: Likewise.
31684         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
31685         * sysdeps/i386/fpu/e_logl.S: Likewise.
31686         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
31687         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
31688         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
31689         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
31690         * sysdeps/i386/fpu/e_log2f.S: Likewise.
31691         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
31692         * sysdeps/i386/fpu/e_log.S: Likewise.
31693         * sysdeps/i386/fpu/s_cexp.S: Likewise.
31694         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
31695         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
31696         * sysdeps/i386/fpu/e_logf.S: Likewise.
31697         * sysdeps/i386/fpu/e_log10l.S: Likewise.
31698         * sysdeps/i386/fpu/e_atanh.S: Likewise.
31699         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
31700         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
31701         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
31702         * sysdeps/i386/fpu/e_log10.S: Likewise.
31703         * sysdeps/i386/fpu/s_frexp.S: Likewise.
31704         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
31705         * sysdeps/i386/fpu/s_asinh.S: Likewise.
31706         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
31707         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
31708         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
31709         * sysdeps/i386/asm-syntax.h: Likewise.
31710         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
31711         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
31712         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
31713         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
31714         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
31715         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
31716         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
31717         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
31718         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
31719         * sysdeps/powerpc/sysdep.h: Likewise.
31720         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
31721         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
31722
31723 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
31724
31725         [BZ #411]
31726         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
31727
31728 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
31729
31730         * sysdeps/i386/sysdep.h: Include <features.h>.
31731         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
31732         version.
31733
31734 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
31735
31736         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
31737         Define.
31738         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
31739         LOAD_PIC_REG_STR.
31740
31741 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
31742
31743         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
31744         (SETUP_PIC_REG): Use GET_PC_THUNK.
31745         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
31746         macro.
31747
31748 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
31749
31750         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
31751         for non-PIC compilation.
31752         (SETUP_PIC_REG): Add .p2align directive.
31753         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
31754         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
31755         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
31756         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
31757         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
31758         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
31759         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
31760         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
31761         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
31762         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
31763         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
31764         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
31765         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
31766         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
31767         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
31768         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
31769         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
31770         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
31771         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
31772         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
31773         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
31774         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
31775         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
31776         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
31777         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
31778         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
31779         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
31780         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
31781         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
31782         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
31783         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
31784         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
31785         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
31786         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
31787         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
31788         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
31789         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
31790         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
31791         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
31792         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
31793         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
31794
31795 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
31796
31797         * math/tst-CMPLX.c: Include <stdio.h>.
31798
31799 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
31800
31801         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
31802         float.
31803         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
31804         * sysdeps/sparc/bits/mathdef.h: Likewise.
31805
31806 2012-01-31  Marek Polacek  <polacek@redhat.com>
31807
31808         * libio/libio.h: Don't define _PARAMS.
31809         * locale/programs/config.h: Don't define PARAMS.
31810         * stdlib/strtol_l.c: Likewise.
31811         (__strtol_l): Remove PARAMS from the prototype.
31812
31813 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
31814
31815         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
31816         names.  Just use the correct names.  Remove unnecessary wrapper
31817         functions.
31818         * malloc/arena.c: Likewise.
31819         * malloc/hooks.c: Likewise.
31820
31821         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
31822         ARENA_TEST says not to.  Simplify test for creation of a new arena.
31823         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
31824
31825 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
31826
31827         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
31828         into tail calls.
31829         (update_get_addr): New function.
31830         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
31831         GET_ADDR_MODULE parameter.
31832
31833 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
31834
31835         * crypt/cert.c: Remove __STDC__ conditionals.
31836         * crypt/crypt-entry.c: Likewise.
31837         * crypt/crypt_util.c: Likewise.
31838         * libio/filedoalloc.c: Likewise.
31839         * libio/fileops.c: Likewise.
31840         * libio/genops.c: Likewise.
31841         * libio/iofclose.c: Likewise.
31842         * libio/iofdopen.c: Likewise.
31843         * libio/iofopen.c: Likewise.
31844         * libio/iofopen64.c: Likewise.
31845         * libio/iogetdelim.c: Likewise.
31846         * libio/iopopen.c: Likewise.
31847         * libio/obprintf.c: Likewise.
31848         * libio/oldfileops.c: Likewise.
31849         * libio/oldiofclose.c: Likewise.
31850         * libio/oldiofdopen.c: Likewise.
31851         * libio/oldiofopen.c: Likewise.
31852         * libio/oldiopopen.c: Likewise.
31853         * libio/wfiledoalloc.c: Likewise.
31854         * libio/wgenops.c: Likewise.
31855         * locale/programs/xmalloc.c: Likewise.
31856         * misc/syslog.c: Likewise.
31857         * stdio-common/xbug.c: Likewise.
31858         * string/memchr.c: Likewise.
31859         * string/memcmp.c: Likewise.
31860         * string/memrchr.c: Likewise.
31861         * string/rawmemchr.c: Likewise.
31862         * sysdeps/posix/getcwd.c: Likewise.
31863         * time/strftime_l.c: Likewise.
31864
31865 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
31866
31867         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
31868         * config.make.in (config-cflags-sse2avx): Define.
31869         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
31870         Fix typo.
31871
31872 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
31873
31874         * scripts/config.guess: Update from upstream config git repository.
31875         * scripts/config.sub: Likewise.
31876
31877 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
31878
31879         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
31880         (EM_NUM): Update.
31881         (R_TILEPRO_*, R_TILEGX_*): New macros.
31882
31883         * scripts/firstversions.awk: Fix bug in version range handling.
31884
31885         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
31886
31887         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
31888
31889         * include/sys/epoll.h: New file.
31890         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
31891         libc_hidden_def.
31892
31893 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
31894
31895         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
31896         Avoid unnecessary __WORDSIZE == 64 test.
31897         (fmaxf): Use VEX format if possible.
31898         (fmax): Likewise.
31899         (fminf): Likewise.
31900         (fmin): Likewise.
31901
31902         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
31903         * math/math_private.h: Remove libc_fegetround* and
31904         libc_fesetround*.
31905         * sysdeps/i386/configure.in: Check for -msse2avx.
31906         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
31907         also if SSE2AVX is defined.
31908         Remove libc_fegetround* and libc_fesetround*.
31909         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
31910         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
31911         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
31912         of HAS_YMM_USABLE.
31913         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
31914         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
31915         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
31916         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
31917         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
31918
31919         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
31920
31921 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31922
31923         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
31924         size is not set.
31925         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
31926
31927 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
31928
31929         [BZ #13618]
31930         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
31931         relocation.
31932         * Makeconfig (libm): Define.
31933         * elf/Makefile: Add rules to build and run tst-relsort1.
31934         * elf/tst-relsort1.c: New file.
31935         * elf/tst-relsort1mod1.c: New file.
31936         * elf/tst-relsort1mod2.c: New file.
31937
31938 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
31939
31940         * math/s_ldexp.c: Remove __STDC__ conditionals.
31941         * math/s_ldexpf.c: Likewise.
31942         * math/s_ldexpl.c: Likewise.
31943         * math/s_nextafter.c: Likewise.
31944         * math/s_nexttowardf.c: Likewise.
31945         * math/s_significand.c: Likewise.
31946         * math/s_significandf.c: Likewise.
31947         * math/s_significandl.c: Likewise.
31948         * math/w_jnl.c: Likewise.
31949         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
31950         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
31951         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
31952         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
31953         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
31954         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
31955         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
31956         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
31957         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
31958         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
31959         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
31960         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
31961         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
31962         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
31963         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
31964         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
31965         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
31966         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
31967         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
31968         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
31969         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
31970         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
31971         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
31972         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
31973         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
31974         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
31975         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
31976         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
31977         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
31978         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
31979         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
31980         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
31981         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
31982         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
31983         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
31984         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
31985         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
31986         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
31987         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
31988         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
31989         * sysdeps/ieee754/k_standard.c: Likewise.
31990         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
31991         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
31992         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
31993         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
31994         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
31995         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
31996         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
31997         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
31998         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
31999         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
32000         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
32001         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
32002         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
32003         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
32004         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
32005         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
32006         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
32007         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
32008         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
32009         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
32010         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
32011         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
32012         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
32013         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
32014         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
32015         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
32016         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
32017         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
32018         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
32019         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
32020         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
32021         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
32022         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
32023         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
32024         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
32025         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
32026         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
32027         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
32028         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
32029         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
32030         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
32031         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
32032         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
32033         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
32034         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
32035         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
32036         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
32037         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
32038         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
32039         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
32040         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
32041         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
32042         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
32043         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
32044         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
32045         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
32046         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
32047         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
32048         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
32049         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
32050         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
32051         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
32052         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
32053         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
32054         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
32055         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
32056         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
32057         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
32058         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
32059         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
32060         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
32061         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
32062         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
32063         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
32064         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
32065         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
32066         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
32067         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
32068         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
32069         * sysdeps/ieee754/s_matherr.c: Likewise.
32070         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
32071         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
32072         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
32073         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
32074
32075 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
32076
32077         * crypt/md5.h: Remove __STDC__ conditionals.
32078         * libio/libioP.h: Likewise.
32079         * locale/programs/config.h: Likewise.
32080         * sysdeps/generic/sysdep.h: Likewise.
32081         * sysdeps/i386/asm-syntax.h: Likewise.
32082         * sysdeps/s390/asm-syntax.h: Likewise.
32083         * sysdeps/unix/sysdep.h: Likewise.
32084         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
32085         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
32086
32087 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
32088
32089         * libio/libio.h: Remove __STDC__ conditionals.
32090         * malloc/obstack.h: Likewise.
32091         * math/complex.h: Likewise.
32092         * math/math.h: Likewise.
32093         * sysdeps/generic/_G_config.h: Likewise.
32094         * sysdeps/gnu/_G_config.h: Likewise.
32095         * sysdeps/mach/hurd/_G_config.h: Likewise.
32096         * sysdeps/powerpc/bits/mathdef.h: Likewise.
32097         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
32098         * sysdeps/sparc/bits/mathdef.h: Likewise.
32099
32100 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
32101
32102         [BZ #13583]
32103         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
32104         Clean up HAS_* macros.
32105         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
32106         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
32107         possible.
32108         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
32109         HAS_AVX.
32110         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
32111         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
32112         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
32113         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
32114         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
32115
32116 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
32117
32118         * elf/tst-unique3.cc (gets): Remove declaration.
32119         * elf/tst-unique3lib.cc (gets): Likewise.
32120         * elf/tst-unique3lib2.cc (gets): Likewise.
32121         * elf/tst-unique4.cc (gets): Likewise.
32122
32123 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
32124
32125         * include/stdio.h: Add C++ protection.  Add gets declarations and
32126         definitions.
32127         * debug/tst-chk1.c: Don't declare gets here.
32128         * stdio-common/tst-gets.c: Likewise.
32129
32130 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
32131
32132         * posix/glob: Remove directory.
32133
32134 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
32135
32136         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
32137
32138 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
32139
32140         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
32141         of the non-standard EPFNOSUPPORT.
32142
32143 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
32144
32145         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
32146         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
32147         ANYWHERE set to 1 only on KERN_NO_SPACE error.
32148
32149 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
32150
32151         * wcsmbs/uchar.h: Test __STDC_VERSION__.
32152
32153 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
32154
32155         * nscd/aicache.c (addhstaiX): Do not cache negative results of
32156         transient errors.
32157         * nscd/grpcache.c (cache_addgr): Likewise.
32158         * nscd/hstcache.c (cache_addhst): Likewise.
32159         * nscd/initgrcache.c (addinitgroupsX): Likewise.
32160         * nscd/pwdcache.c (cache_addpw): Likewise.
32161         * nscd/servicescache.c (cache_addserv): Likewise.
32162
32163 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
32164
32165         * malloc/malloc.c: Various cleanups.
32166         * malloc/hooks.c: Likewise.
32167
32168         * stdlib/Makefile (tests): Add bug-fmtmsg1.
32169         * stdlib/bug-fmtmsg1.c: New file.
32170
32171         * stdlib/fmtmsg.c (init): Add missing unlock.
32172         Patch by Peng Haitao <penght@cn.fujitsu.com>.
32173
32174 2012-01-12  Marek Polacek  <polacek@redhat.com>
32175
32176         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
32177         and _GNU_SOURCE.
32178
32179 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
32180
32181         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
32182         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
32183         macro to ensure uniqueness of label name.
32184         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
32185         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
32186
32187 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
32188
32189         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
32190
32191         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
32192         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
32193         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
32194         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
32195
32196 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
32197
32198         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
32199
32200         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
32201         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
32202         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
32203
32204         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
32205
32206         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
32207         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
32208         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
32209         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
32210
32211         * math/bits/math-finite.h: Add ldexp support.
32212
32213 2012-01-10  Marek Polacek  <polacek@redhat.com>
32214
32215         * locale/programs/localedef.h (show_archive_content): Add noreturn
32216         attribute.
32217
32218 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
32219
32220         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
32221
32222 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
32223
32224         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
32225
32226         * io/Makefile (headers): Add bits/poll2.h.
32227
32228 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
32229
32230         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
32231         typo #include statement.
32232
32233 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
32234
32235         * include/sys/cdefs.h: Define __attribute_alloc_size.
32236         * catgets/gencat.c: Add alloc_size attribute and apply consistently
32237         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
32238         * elf/pldd.c: Likewise.
32239         * iconv/iconv_charmap.c: Likewise.
32240         * iconv/iconvconfig.c: Likewise.
32241         * iconv/strtab.c: Likewise.
32242         * locale/programs/locale.c: Likewise.
32243         * locale/programs/localedef.h: Likewise.
32244         * locale/programs/simple-hash.c: Likewise.
32245         * nscd/nscd.h: Likewise.
32246         * nss/makedb.c: Likewise.
32247         * sysdeps/generic/ldconfig.h: Likewise.
32248         * locale/programs/localedef.c: Remove xmalloc prototype.
32249         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
32250
32251 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
32252
32253         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
32254         appropriate.
32255
32256 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
32257
32258         * math/Makefile (tests): Add tst-CMPLX.
32259         * math/tst-CMPLX.c: New file.
32260
32261         * math/complex.h (CMPLXL): Fix typo.
32262
32263         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
32264         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
32265         GLIBC_2.16.
32266         * debug/tst-chk1.c: Add poll and ppoll tests.
32267         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
32268         * include/sys/poll.h: Add hidden proto for ppoll.
32269         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
32270         * sysdeps/mach/hurd/ppoll.c: Likewise.
32271         * io/ppoll.c: Likewise.
32272         * debug/poll_chk.c: New file.
32273         * debug/ppoll_chk.c: New file.
32274         * include/bits/poll2.h: New file.
32275         * io/bits/poll2.h: New file.
32276
32277         [BZ #1350]
32278         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
32279
32280         * configure.in: static is always set to yes.  Remove.
32281         * config.make.in: Don't set build-static.
32282         * Makeconfig: Remove use of build-static.
32283         * dlfcn/Makefile: Likewise.
32284         * elf/Makefile: Likewise.
32285         * math/Makefile: Likewise.
32286         * misc/Makefile: Likewise.
32287         * nptl/Makefile: Likewise.
32288         * sysdeps/mach/hurd/Makefile: Likewise.
32289
32290         * configure.in: PWD_P is not used anymore.
32291         * config.make.in: Remove PWD_P entry.
32292
32293         * configure.in: Remove last remnants of RANLIB.
32294         No need to check for signed size_t anymore.
32295         Don't set libc_commonpagesize and libc_relro_required here for Alpha
32296         and IA-64.
32297         Remove __builtin_expect test because we require at least gcc 3.4.
32298         * aclocal.m4: Likewise.
32299
32300         * wcsmbs/mbrtoc16.c: Implement using towc function.
32301         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
32302         * wcsmbs/wcsmbsload.c: Likewise.
32303         * iconv/gconv_simple.c: Likewise.
32304         * iconv/gconv_int.h: Likewise.
32305         * iconv/gconv_builtin.h: Likewise.
32306         * iconv/iconv_prog.c: Remove CHAR16 handling.
32307
32308         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
32309
32310         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
32311
32312         * configure.in: Remove --with-elf and --enable-bounded options.
32313         Dont set base_machine for ia64.  More non-ELF conditions removed.
32314         Remove testing and setting of leading underscore information.
32315         * config.make.in (build-bounded): Set to no.
32316         * config.h.in: Remove NO_UNDERSCORES entry.
32317         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
32318         them.
32319         * csu/start.c: Remove !NO_UNDERSCORE code.
32320         * locale/localeinfo.h: Likewise.
32321         * sysdeps/generic/machine-gmon.h: Likewise.
32322         * sysdeps/generic/sysdep.h: Likewise.
32323         * sysdeps/i386/sysdep.h: Likewise.
32324         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
32325         * sysdeps/mach/sysdep.h: Likewise.
32326         * sysdeps/s390/s390-32/sysdep.h: Likewise.
32327         * sysdeps/s390/s390-64/sysdep.h: Likewise.
32328         * sysdeps/sh/sysdep.h: Likewise.
32329         * sysdeps/sparc/sparc32/alloca.S: Likewise.
32330         * sysdeps/unix/i386/sysdep.S: Likewise.
32331         * sysdeps/unix/sparc/start.c: Likewise.
32332         * sysdeps/unix/sparc/sysdep.S: Likewise.
32333         * sysdeps/unix/sparc/sysdep.h: Likewise.
32334         * sysdeps/unix/start.c: Likewise.
32335         * sysdeps/unix/x86_64/sysdep.S: Likewise.
32336         * sysdeps/x86_64/sysdep.h: Likewise.
32337
32338 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
32339
32340         [BZ #13553]
32341         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
32342         for non-gcc.
32343         * argp/argp-fmtstream.h: Use const instead __const.
32344         * argp/argp.h: Likewise.
32345         * assert/assert.h: Likewise.
32346         * bits/fenv.h: Likewise.
32347         * bits/sched.h: Likewise.
32348         * bits/sigset.h: Likewise.
32349         * bits/sigthread.h: Likewise.
32350         * catgets/nl_types.h: Likewise.
32351         * conform/data/pthread.h-data: Likewise.
32352         * crypt/crypt-private.h: Likewise.
32353         * crypt/crypt.h: Likewise.
32354         * crypt/crypt_util.c: Likewise.
32355         * ctype/ctype.h: Likewise.
32356         * debug/execinfo.h: Likewise.
32357         * debug/mbsnrtowcs_chk.c: Likewise.
32358         * debug/mbsrtowcs_chk.c: Likewise.
32359         * debug/wcsnrtombs_chk.c: Likewise.
32360         * debug/wcsrtombs_chk.c: Likewise.
32361         * debug/wcstombs_chk.c: Likewise.
32362         * dirent/dirent.h: Likewise.
32363         * dlfcn/dlfcn.h: Likewise.
32364         * elf/neededtest4.c: Likewise.
32365         * grp/grp.h: Likewise.
32366         * gshadow/gshadow.h: Likewise.
32367         * iconv/gconv.h: Likewise.
32368         * iconv/gconv_int.h: Likewise.
32369         * iconv/gconv_simple.c: Likewise.
32370         * iconv/iconv.h: Likewise.
32371         * iconv/loop.c: Likewise.
32372         * iconv/skeleton.c: Likewise.
32373         * include/aio.h: Likewise.
32374         * include/aliases.h: Likewise.
32375         * include/argz.h: Likewise.
32376         * include/arpa/inet.h: Likewise.
32377         * include/assert.h: Likewise.
32378         * include/dirent.h: Likewise.
32379         * include/dlfcn.h: Likewise.
32380         * include/execinfo.h: Likewise.
32381         * include/fcntl.h: Likewise.
32382         * include/fenv.h: Likewise.
32383         * include/glob.h: Likewise.
32384         * include/grp.h: Likewise.
32385         * include/libintl.h: Likewise.
32386         * include/mntent.h: Likewise.
32387         * include/netdb.h: Likewise.
32388         * include/pwd.h: Likewise.
32389         * include/rpc/netdb.h: Likewise.
32390         * include/sched.h: Likewise.
32391         * include/search.h: Likewise.
32392         * include/shadow.h: Likewise.
32393         * include/signal.h: Likewise.
32394         * include/stdio.h: Likewise.
32395         * include/stdlib.h: Likewise.
32396         * include/string.h: Likewise.
32397         * include/sys/socket.h: Likewise.
32398         * include/sys/stat.h: Likewise.
32399         * include/sys/statfs.h: Likewise.
32400         * include/sys/statvfs.h: Likewise.
32401         * include/sys/syslog.h: Likewise.
32402         * include/sys/time.h: Likewise.
32403         * include/sys/uio.h: Likewise.
32404         * include/time.h: Likewise.
32405         * include/unistd.h: Likewise.
32406         * include/utmp.h: Likewise.
32407         * include/wchar.h: Likewise.
32408         * include/wctype.h: Likewise.
32409         * inet/aliases.h: Likewise.
32410         * inet/arpa/inet.h: Likewise.
32411         * inet/netinet/ether.h: Likewise.
32412         * inet/netinet/in.h: Likewise.
32413         * intl/libintl.h: Likewise.
32414         * io/bits/fcntl2.h: Likewise.
32415         * io/fcntl.h: Likewise.
32416         * io/ftw.h: Likewise.
32417         * io/sys/poll.h: Likewise.
32418         * io/sys/stat.h: Likewise.
32419         * io/sys/statfs.h: Likewise.
32420         * io/sys/statvfs.h: Likewise.
32421         * io/utime.h: Likewise.
32422         * libio/bits/stdio.h: Likewise.
32423         * libio/bits/stdio2.h: Likewise.
32424         * libio/libio.h: Likewise.
32425         * libio/libioP.h: Likewise.
32426         * libio/stdio.h: Likewise.
32427         * locale/lc-ctype.c: Likewise.
32428         * locale/locale.h: Likewise.
32429         * login/utmp.h: Likewise.
32430         * malloc/arena.c: Likewise.
32431         * malloc/malloc.c: Likewise.
32432         * malloc/malloc.h: Likewise.
32433         * malloc/mcheck.c: Likewise.
32434         * malloc/mtrace.c: Likewise.
32435         * math/bits/mathcalls.h: Likewise.
32436         * math/fenv.h: Likewise.
32437         * math/math_private.h: Likewise.
32438         * misc/bits/error.h: Likewise.
32439         * misc/bits/syslog.h: Likewise.
32440         * misc/err.h: Likewise.
32441         * misc/error.h: Likewise.
32442         * misc/fstab.h: Likewise.
32443         * misc/mntent.h: Likewise.
32444         * misc/regexp.h: Likewise.
32445         * misc/search.h: Likewise.
32446         * misc/sgtty.h: Likewise.
32447         * misc/sys/mman.h: Likewise.
32448         * misc/sys/syslog.h: Likewise.
32449         * misc/sys/uio.h: Likewise.
32450         * misc/sys/xattr.h: Likewise.
32451         * misc/ttyent.h: Likewise.
32452         * nis/rpcsvc/ypclnt.h: Likewise.
32453         * nss/nss.h: Likewise.
32454         * posix/bits/unistd.h: Likewise.
32455         * posix/fnmatch.h: Likewise.
32456         * posix/glob.h: Likewise.
32457         * posix/sched.h: Likewise.
32458         * posix/spawn.h: Likewise.
32459         * posix/sys/wait.h: Likewise.
32460         * posix/unistd.h: Likewise.
32461         * posix/wordexp.h: Likewise.
32462         * pwd/pwd.h: Likewise.
32463         * resolv/netdb.h: Likewise.
32464         * resource/sys/resource.h: Likewise.
32465         * rt/aio.h: Likewise.
32466         * rt/bits/mqueue2.h: Likewise.
32467         * rt/mqueue.h: Likewise.
32468         * shadow/shadow.h: Likewise.
32469         * signal/signal.h: Likewise.
32470         * socket/send.c: Likewise.
32471         * socket/sendto.c: Likewise.
32472         * socket/sys/socket.h: Likewise.
32473         * stdio-common/printf.h: Likewise.
32474         * stdlib/bits/stdlib.h: Likewise.
32475         * stdlib/fmtmsg.h: Likewise.
32476         * stdlib/monetary.h: Likewise.
32477         * stdlib/stdlib.h: Likewise.
32478         * stdlib/ucontext.h: Likewise.
32479         * streams/stropts.h: Likewise.
32480         * string/argz.h: Likewise.
32481         * string/bits/string2.h: Likewise.
32482         * string/string.h: Likewise.
32483         * string/strings.h: Likewise.
32484         * sunrpc/rpc/auth.h: Likewise.
32485         * sunrpc/rpc/auth_des.h: Likewise.
32486         * sunrpc/rpc/clnt.h: Likewise.
32487         * sunrpc/rpc/netdb.h: Likewise.
32488         * sunrpc/rpc/pmap_clnt.h: Likewise.
32489         * sunrpc/rpc/xdr.h: Likewise.
32490         * sysdeps/generic/inttypes.h: Likewise.
32491         * sysdeps/generic/net/if.h: Likewise.
32492         * sysdeps/generic/sys/swap.h: Likewise.
32493         * sysdeps/gnu/net/if.h: Likewise.
32494         * sysdeps/gnu/utmpx.h: Likewise.
32495         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
32496         * sysdeps/i386/i486/bits/string.h: Likewise.
32497         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
32498         * sysdeps/s390/bits/string.h: Likewise.
32499         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
32500         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
32501         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
32502         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
32503         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
32504         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
32505         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
32506         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
32507         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
32508         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
32509         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
32510         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
32511         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
32512         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
32513         * sysdeps/unix/sysv/linux/readv.c: Likewise.
32514         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
32515         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
32516         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
32517         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
32518         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
32519         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
32520         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
32521         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
32522         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
32523         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
32524         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
32525         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
32526         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
32527         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
32528         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
32529         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
32530         * sysvipc/sys/ipc.h: Likewise.
32531         * sysvipc/sys/msg.h: Likewise.
32532         * sysvipc/sys/sem.h: Likewise.
32533         * sysvipc/sys/shm.h: Likewise.
32534         * termios/termios.h: Likewise.
32535         * time/sys/time.h: Likewise.
32536         * time/time.h: Likewise.
32537         * wcsmbs/bits/wchar2.h: Likewise.
32538         * wcsmbs/uchar.h: Likewise.
32539         * wcsmbs/wchar.h: Likewise.
32540         * wctype/wctype.h: Likewise.
32541
32542         [BZ #13551]
32543         * Makeconfig: Remove all but ELF support including AIX support.
32544         * Makerules: Likewise.
32545         * config.h.in: Likewise.
32546         * config.make.in: Likewise.
32547         * configure: Likewise.
32548         * configure.in: Likewise.
32549         * csu/Makefile: Likewise.
32550         * csu/version.c: Likewise.
32551         * debug/Makefile: Likewise.
32552         * dlfcn/Makefile: Likewise.
32553         * elf/Makefile: Likewise.
32554         * extra-lib.mk: Likewise.
32555         * iconv/Makefile: Likewise.
32556         * include/libc-symbols.h: Likewise.
32557         * include/shlib-compat.h: Likewise.
32558         * resolv/Makefile: Likewise.
32559         * resolv/res_libc.c: Likewise.
32560         * rt/Makefile: Likewise.
32561         * sysdeps/i386/asm-syntax.h: Likewise.
32562         * sysdeps/i386/sysdep.h: Likewise.
32563         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
32564         * sysdeps/mach/sysdep.h: Likewise.
32565         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
32566         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
32567         * sysdeps/s390/asm-syntax.h: Likewise.
32568         * sysdeps/s390/s390-32/sysdep.h: Likewise.
32569         * sysdeps/s390/s390-64/sysdep.h: Likewise.
32570         * sysdeps/sh/sysdep.h: Likewise.
32571         * sysdeps/unix/sparc/sysdep.h: Likewise.
32572         * sysdeps/wordsize-32/divdi3.c: Likewise.
32573         * sysdeps/x86_64/sysdep.h: Likewise.
32574
32575         * argp/Versions: Remove _argp_unlock_xxx.
32576
32577         [BZ #13559]
32578         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
32579         * abilist/libBrokenLocale.abilist: Likewise.
32580         * abilist/libanl.abilist: Likewise.
32581         * abilist/libc.abilist: Likewise.
32582         * abilist/libcrypt.abilist: Likewise.
32583         * abilist/libdl.abilist: Likewise.
32584         * abilist/libm.abilist: Likewise.
32585         * abilist/libnsl.abilist: Likewise.
32586         * abilist/libpthread.abilist: Likewise.
32587         * abilist/libresolv.abilist: Likewise.
32588         * abilist/librt.abilist: Likewise.
32589         * abilist/libthread_db.abilist: Likewise.
32590         * abilist/libutil.abilist: Likewise.
32591         * abilist/libnss_db.abilist: New file.
32592
32593         * scripts/abilist.awk: Add support for indirect functions.
32594
32595         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
32596
32597         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
32598
32599         * shlib-versions: Remove entries for ports architectures.
32600
32601         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
32602         files in ports.
32603         * elf/stackguard-macros.h: Remove support for IA-64.
32604         * elf/tst-auditmod1.c: Likewise.
32605         * sysdeps/generic/ldsodefs.h: Likewise.
32606
32607         * sysdeps/unix/sysv/linux/configure.in: Ports should define
32608         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
32609         configure files.
32610
32611         [BZ #13552]
32612         * configure.in: Remove --enable-omitfp support.
32613         * FAQ.in: Adjust.
32614         * config.make.in: Likewise.
32615         * Makeconfig: Likewise.
32616         * manual/install.texi: Likewise.
32617
32618         In case anyone cares, the IA-64 architecture could move to ports.
32619         * sysdeps/ia64/*: Removed.
32620         * sysdeps/unix/sysv/linux/ia64/*: Removed.
32621         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
32622
32623         [BZ #13555]
32624         * configure.in: Remove entries for unsupported architectures.
32625
32626         [BZ #13533]
32627         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
32628         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
32629         routines.
32630         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
32631         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
32632         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
32633         fall back to using wcrtomb.
32634         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
32635         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
32636         renaming.
32637         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
32638         * wcsmbs/tst-c16c32-1.c: New file.
32639
32640         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
32641         local variable.
32642
32643         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
32644
32645         * elf/tst-unique3.cc: Add explicit declaration of gets.
32646         * elf/tst-unique3lib.cc: Likewise.
32647         * elf/tst-unique3lib2.cc: Likewise.
32648         * elf/tst-unique4.cc: Likewise.
32649
32650         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
32651
32652 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
32653
32654         [BZ #13566]
32655         * assert/assert.h (static_assert): Don't define for C++.
32656         * libio/stdio.h (gets): Do declare for C++ <= C++11.
32657         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
32658
32659 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
32660
32661         * iconv/loop.c (single loop): Fix assertion in storing of
32662         remaining bytes.
32663
32664         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
32665
32666 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
32667
32668         * posix/getconf.c: Update copyright year.
32669         * nss/getent.c: Likewise.
32670         * nss/makedb.c: Likewise.
32671         * iconv/iconvconfig.c: Likewise.
32672         * iconv/iconv_prog.c: Likewise.
32673         * elf/ldconfig.c: Likewise.
32674         * elf/pldd.c: Likewise.
32675         * elf/sotruss.ksh: Likewise.
32676         * catgets/gencat.c: Likewise.
32677         * csu/version.c: Likewise.
32678         * elf/ldd.bash.in: Likewise.
32679         * elf/sprof.c (print_version): Likewise.
32680         * locale/programs/locale.c: Likewise.
32681         * locale/programs/localedef.c: Likewise.
32682         * login/programs/pt_chown.c: Likewise.
32683         * nscd/nscd.c (print_version): Likewise.
32684         * debug/xtrace.sh: Likewise.
32685         * malloc/memusage.sh: Likewise.
32686         * malloc/mtrace.pl: Likewise.
32687         * debug/catchsegv.sh: Likewise.
32688
32689 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
32690
32691         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
32692         pure attribute.
32693
32694 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
32695
32696         [BZ #13533]
32697         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
32698         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
32699         transformations.
32700         * iconv/gconv_int.h: Likewise.
32701         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
32702         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
32703         from libc for GLIBC_2.16.
32704         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
32705         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
32706         * wcsmbs/uchar.h: Really define mbstate_t.
32707         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
32708         * wcsmbs/c16rtomb.c: New file.
32709         * wcsmbs/mbrtoc16.c: New file.
32710         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
32711         for C/POSIX locale.
32712         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
32713         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
32714
32715         * wcsmbs/wchar.h: Add missing __restrict.
32716
32717 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
32718
32719         [BZ #13532]
32720         * time/Makefile (routines): Add timespec_get.
32721         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
32722         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
32723         timespec for ISO C11.
32724         * time/timespec_get.c: New file.
32725         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
32726         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
32727
32728         [BZ #13531]
32729         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
32730         * stdlib/stdlib.h: Declare aligned_alloc.
32731         * Versions.def: Add GLIBC_2.16 for libc.
32732         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
32733
32734         [BZ 13527]
32735         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
32736         ISO C11.
32737
32738         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
32739         code.
32740
32741         [BZ #13528]
32742         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
32743
32744         [BZ #13529]
32745         * assert/assert.h (static_assert): Define.
32746
32747         * version.h: Update for 2.16 development version.
32748
32749         [BZ #13526]
32750         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
32751         _ISOC11_SOURCE.
32752
32753         * version.h (RELEASE): Bump for 2.15 release.
32754         * include/features.h (__GLIBC_MINOR__): Bump to 15.
32755
32756         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
32757         Patch by Marek Polacek <mpolacek@redhat.com>.
32758
32759         * bits/byteswap.h: Protect long long constants with __extension__.
32760         * sysdeps/i386/bits/byteswap.h: Likewise.
32761         * sysdeps/ia64/bits/byteswap.h: Likewise.
32762         * sysdeps/s390/bits/byteswap.h: Likewise.
32763         * sysdeps/x86_64/bits/byteswap.h: Likewise.
32764
32765 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
32766
32767         [BZ #13540]
32768         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
32769         destination buffer.
32770         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
32771
32772 2011-12-23  Marek Polacek  <polacek@redhat.com>
32773
32774         * elf/dl-addr.c (determine_info): Add inline keyword.
32775         * elf/tst-auditmod4b.c (check_avx): Likewise.
32776         * elf/tst-auditmod6b.c (check_avx): Likewise.
32777         * elf/tst-auditmod6c.c (check_avx): Likewise.
32778         * elf/tst-auditmod7b.c (check_avx): Likewise.
32779
32780 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
32781
32782         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
32783         !__SSE_MATH__.
32784
32785 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
32786
32787         [BZ #13540]
32788         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
32789         processing for last bytes.
32790
32791 2011-08-06  Bruno Haible  <bruno@clisp.org>
32792
32793         [BZ #13061]
32794         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
32795         U+0385, not to U+1FEE.
32796
32797         [BZ #13062]
32798         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
32799         entry for U+00A5 U+0301.
32800
32801 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
32802
32803         [BZ #13166]
32804         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
32805         buffer for the output is too small.
32806
32807         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
32808         optimization.
32809
32810         [BZ #13185]
32811         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
32812         SSE flags if possible.
32813
32814 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
32815
32816         [BZ #13540]
32817         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
32818         processing for last bytes.
32819
32820 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
32821
32822         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
32823         (syscall-list-default-options, syscall-list-default-condition)
32824         (syscall-list-includes): Define.
32825         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
32826         list of ABIs and options and #if conditions for each ABI.  Do not
32827         handle common syscalls between ABIs specially.
32828         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
32829         Remove.
32830         (syscall-list-variants, syscall-list-32bit-options)
32831         (syscall-list-32bit-condition, syscall-list-64bit-options)
32832         (syscall-list-64bit-condition): Define.
32833         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
32834         (syscall-list-variants, syscall-list-32bit-options)
32835         (syscall-list-32bit-condition, syscall-list-64bit-options)
32836         (syscall-list-64bit-condition): Define.
32837         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
32838         Remove.
32839         (syscall-list-variants, syscall-list-32bit-options)
32840         (syscall-list-32bit-condition, syscall-list-64bit-options)
32841         (syscall-list-64bit-condition): Define.
32842         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
32843         Remove.
32844         (syscall-list-variants, syscall-list-32bit-options)
32845         (syscall-list-32bit-condition, syscall-list-64bit-options)
32846         (syscall-list-64bit-condition): Define.
32847
32848 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
32849
32850         * locale/iso-639.def: Add brx entry.
32851
32852         [BZ #13328]
32853         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
32854         Proposed by Mariusz_Cukr <marcukr@op.pl>.
32855
32856         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
32857         __feraiseexcept_renamed.
32858
32859 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
32860
32861         [BZ #13538]
32862         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
32863         EPOLLET with unsigned values.
32864         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
32865         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
32866
32867         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
32868         to large cancellation.
32869         * math/s_cacoshf.c: Likewise.
32870         * math/s_cacoshl.c: Likewise.
32871
32872 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
32873
32874         [BZ #13305]
32875         [BZ #12786]
32876         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
32877         * math/s_cacoshf.c: Likewise.
32878         * math/s_cacoshl.c: Likewise.
32879
32880 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
32881
32882         [BZ #13439]
32883         * iconv/gconv.h: Define __GCONV_SWAP.
32884         * iconvdata/unicode.c: The swap bit must be stored in __flags.
32885         * iconvdata/utf-16.c: Likewise.
32886         * iconvdata/utf-32.c: Likewise.
32887
32888 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
32889
32890         [BZ #13524]
32891         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
32892         numerator after shifting it by one limb.
32893
32894 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
32895
32896         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
32897         under [__USE_EXTERN_INLINES].
32898
32899 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
32900
32901         [BZ #13446]
32902         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
32903
32904 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32905
32906         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
32907         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
32908         optimized code.
32909         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
32910         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
32911         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
32912         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
32913         for strncasecmp/strncasecmp_l compilation.
32914         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
32915         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
32916
32917 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
32918
32919         [BZ #13484]
32920         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
32921         of __asm__.
32922
32923 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
32924
32925         [BZ #13506]
32926         * time/tzfile.c (__tzfile_read): Check values from file header.
32927
32928 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
32929
32930         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
32931         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
32932         * powerpc/powerpc32/dl-start.S: Likewise.
32933         * powerpc/powerpc32/elf/start.S: Likewise.
32934         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
32935         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
32936         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
32937         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
32938         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
32939         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
32940         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
32941         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
32942         * powerpc/powerpc32/fpu/s_round.S: Likewise.
32943         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
32944         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
32945         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
32946         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
32947         * powerpc/powerpc32/memset.S: Likewise.
32948         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
32949         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
32950         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
32951         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
32952         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
32953         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
32954         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
32955         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
32956         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
32957         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
32958         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
32959         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
32960         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
32961
32962 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32963
32964         * math/libm-test.inc: Added more nearbyint tests.
32965         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
32966         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
32967         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
32968         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
32969
32970 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
32971
32972         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
32973         FD_CLOEXEC.
32974
32975 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
32976
32977         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
32978         Add wcscpy-ssse3 wcscpy-c.
32979         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
32980         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
32981         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
32982         * sysdeps/x86_64/wcschr.S: New file.
32983         * sysdeps/x86_64/wcsrchr.S: New file.
32984         * string/test-strcmp.c: Remove checking of wcscmp function for
32985         wrong alignments.
32986         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
32987         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
32988         wcsrchr-sse2 wcsrchr-c.
32989         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
32990         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
32991         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
32992         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
32993         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
32994         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
32995         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
32996         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
32997         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
32998         * wcsmbc/wcschr.c (WCSCHR): New macro.
32999
33000 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
33001
33002         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
33003         * wcsmbs/test-wcsrchr.c: New file.
33004         * string/test-strrchr.c: Add wcsrchr support.
33005         (WIDE): New macro.
33006         * wcsmbs/test-wcscpy.c: New file.
33007         * string/test-strcpy.c: Add wcscpy support.
33008         (WIDE): New macro.
33009
33010 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
33011
33012         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
33013         the inner loop.
33014
33015 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
33016
33017         [BZ #13472]
33018         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
33019
33020 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
33021
33022         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
33023         Minor optimizations.
33024
33025         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
33026         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
33027         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
33028
33029 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
33030
33031         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
33032         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
33033         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
33034         for gcc to avoid warnings.
33035         * inet/Makefile (tests): Add tst-checks.
33036         * inet/tst-checks.c: New file.
33037
33038         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
33039         warning.
33040
33041         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
33042         __wmemcmp_sse2.
33043
33044         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
33045         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
33046
33047         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
33048
33049 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
33050
33051         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
33052         problem.
33053
33054         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
33055
33056 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
33057
33058         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
33059         conditional on GCC version.
33060         (__arch_compare_and_exchange_val_8_acq)
33061         (__arch_compare_and_exchange_val_16_acq)
33062         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
33063         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
33064         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
33065
33066 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
33067
33068         * sysdeps/sh/backtrace.c: New file.
33069
33070 2011-12-02  Andreas Schwab  <schwab@redhat.com>
33071
33072         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
33073         parenthesis.
33074
33075 2011-12-01  Andreas Schwab  <schwab@redhat.com>
33076
33077         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
33078         falling back to utime.
33079
33080 2011-11-30  Andreas Schwab  <schwab@redhat.com>
33081
33082         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
33083         expectations for float.
33084
33085 2011-11-29  Andreas Schwab  <schwab@redhat.com>
33086
33087         * locale/weight.h (findidx): Add parameter len.
33088         * locale/weightwc.h (findidx): Likewise.
33089         * posix/fnmatch_loop.c (FCT): Adjust caller.
33090         * posix/regcomp.c (build_equiv_class): Likewise.
33091         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
33092         * posix/regexec.c (check_node_accept_bytes): Likewise.
33093         * string/strcoll_l.c (STRCOLL): Likewise.
33094         * string/strxfrm_l.c (STRXFRM): Likewise.
33095
33096 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
33097
33098         * Makefile.in: Remove CVSOPT handling.
33099         * configure.in: Remove use of AC_REVISION.
33100         * iconvdata/Makefile (distribute): No need to filter out CVS.
33101         * scripts/list-sources.sh: Remove CVS, subversion and monotone
33102         handling.
33103
33104 2011-11-16  Andreas Schwab  <schwab@redhat.com>
33105
33106         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
33107         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
33108         [USE_AS_STRNCASECMP_L]: Likewise.
33109         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
33110         NO_TLS_DIRECT_SEG_REFS.
33111         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
33112         Fix argument offsets for non-PIC.
33113         [USE_AS_STRNCASECMP_L]: Likewise.
33114         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
33115         NO_TLS_DIRECT_SEG_REFS.
33116
33117 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
33118
33119         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
33120         O_CLOEXEC.
33121         * locale/loadlocale.c (_nl_load_locale): Likewise.
33122
33123 2011-11-15  Andreas Schwab  <schwab@redhat.com>
33124
33125         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
33126         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
33127         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
33128         (SYSCALL_GETTIME): Set errno on error.
33129
33130         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
33131         count references to noai6ai_cached.
33132
33133 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
33134
33135         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
33136
33137         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
33138         FD_CLOEXEC for /proc/self/maps.
33139
33140         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
33141         FD_CLOEXEC for /proc/meminfo.
33142
33143         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
33144         gai.conf.
33145
33146         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
33147         FD_CLOEXEC for given file.
33148
33149         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
33150
33151         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
33152         FD_CLOEXEC for /etc/hosts.
33153         (_gethtent): Likewise.
33154
33155         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
33156
33157         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
33158         cancellation and set FD_CLOEXEC for /etc/netgroup.
33159
33160         * nss/nss_files/files-key.c (search): Don't allow cancellation when
33161         reading /etc/publickey.
33162
33163         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
33164         allow cancellation when reading /etc/group.
33165
33166         * nss/nss_files/files-alias.c (internal_setent): Don't allow
33167         cancellation.
33168         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
33169
33170         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
33171         when using data file.
33172
33173         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
33174
33175         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
33176         (write_nis_obj): Use "c" and "e" in fopen.
33177
33178         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
33179
33180         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
33181
33182         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
33183
33184         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
33185
33186         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
33187         locale.alias.
33188
33189         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
33190
33191         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
33192
33193         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
33194
33195         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
33196         file parsing and set FD_CLOEXEC.
33197
33198 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
33199
33200         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
33201
33202 2011-11-14  Andreas Schwab  <schwab@redhat.com>
33203
33204         * malloc/arena.c (arena_get2): Don't call reused_arena when
33205         _int_new_arena failed.
33206
33207 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
33208
33209         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
33210         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
33211         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
33212         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
33213         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
33214         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
33215         to compile strcasecmp and strncasecmp.
33216         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
33217         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
33218
33219         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
33220
33221 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
33222
33223         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
33224         locale-defines.sym to gen-as-const-headers.
33225         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
33226         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
33227         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
33228         to compile strcasecmp and strncasecmp.
33229         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
33230         strcasecmp_l and strncasecmp_l.
33231         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
33232         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
33233         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
33234         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
33235         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
33236         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
33237         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
33238         * sysdeps/i386/i686/multiarch/strncase.S: New file.
33239         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
33240         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
33241         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
33242
33243 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
33244
33245         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
33246         result of SYSDEP_GETTIME_CPU to retval.
33247         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
33248         parameter list to macro.  Remove trailing semicolon.  Adjust users.
33249
33250         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
33251         variable.
33252
33253         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
33254         mantissa words.
33255         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
33256
33257         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
33258         from unused variable.
33259
33260         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
33261         DWARF definitions.
33262         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
33263         for assembling.
33264
33265         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
33266         over namespaces.
33267
33268         * sunrpc/rpc_prot.c (rejected): Fix case value.
33269
33270         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
33271         unsigned long long int to avoid warnings in shift.
33272
33273         * posix/regex_internal.c (re_string_reconstruct): Actually use result
33274         of use of trans.
33275         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
33276         variable tmp.
33277
33278         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
33279         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
33280         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
33281
33282         * nis/nis_table.c (nis_list): Use variable of correct type for
33283         result of __follow_path call.
33284
33285 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33286
33287         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
33288         of math functions ceil, trunc, floor, round, and sqrt, when
33289         avaliable on the platform.
33290         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
33291         name clash.
33292         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
33293         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
33294         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
33295
33296 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
33297
33298         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
33299         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
33300
33301 2011-11-11  Roland McGrath  <roland@hack.frob.com>
33302
33303         * include/unistd.h: Fix __readlink return type.
33304         Reported by Chris Metcalf <cmetcalf@tilera.com>.
33305
33306 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
33307
33308         * stdlib/ucontext.h: Undo last change for makecontext.
33309
33310 2011-11-11  Andreas Schwab  <schwab@redhat.com>
33311
33312         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
33313
33314         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
33315         * setjmp/setjmp.h: Mark functions as non-leaf.
33316         * setjmp/bits/setjmp2.h: Likewise.
33317         * stdlib/ucontext.h: Likewise.
33318
33319 2011-11-10  Andreas Schwab  <schwab@redhat.com>
33320
33321         * malloc/arena.c (_int_new_arena): Don't increment narenas.
33322         (reused_arena): Don't check arena limit.
33323         (arena_get2): Atomically check arena limit.
33324
33325 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
33326
33327         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
33328         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
33329
33330         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
33331         instructions.
33332
33333 2011-11-07  Andreas Schwab  <schwab@redhat.com>
33334
33335         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
33336         handler when locking.
33337
33338         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
33339         Fix size of allocated buffer.
33340
33341 2011-11-04  Andreas Schwab  <schwab@redhat.com>
33342
33343         [BZ #10103]
33344         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
33345         declarations for long double functions.
33346         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
33347
33348         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
33349
33350 2011-11-03  Andreas Schwab  <schwab@redhat.com>
33351
33352         * nscd/nscd.c (main): Don't start AVC thread until credentials are
33353         installed.
33354
33355         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
33356         is disabled.
33357
33358 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
33359
33360         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
33361
33362 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
33363
33364         * include/alloca.h (stackinfo_alloca_round): Define.
33365         (extend_alloca): Use it.
33366         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
33367         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
33368         here.
33369
33370         * scripts/check-local-headers.sh: Ignore libaudit.h.
33371
33372         * nscd/Makefile (extra-objs): Make recursively expanded.
33373
33374 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
33375
33376         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
33377         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
33378
33379         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
33380         * posix/tst-rfc3484-2.c: Likewise.
33381         * posix/tst-rfc3484-3.c: Likewise.
33382
33383         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
33384         process_vm_writev.
33385         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
33386         process_vm_writev.
33387         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
33388         process_vm_writev from libc using GLIBC_2.15 version.
33389
33390         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
33391
33392 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
33393
33394         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
33395         stack usage.
33396
33397 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
33398
33399         [BZ #13367]
33400         * nss/getent.c (initgroups_keys): Show error message in case no group
33401         names are given.
33402
33403         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
33404         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
33405         __bump_nl_timestamp.
33406         * nscd/connections (nscd_init): When host database is served open
33407         netlink socket and request notification about configuration changes.
33408         (main_loop_poll): Track netlink file descriptor and bump timestamp
33409         in case data becomes available.
33410         (main_loop_epoll): Likewise.
33411         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
33412         (database_pers_head): Add extra_data fileds.
33413         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
33414         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
33415         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
33416         Adjust caller.
33417         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
33418         in6ai data, call __free_in6ai.
33419         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
33420         Add -DHAVE_NETLINK.
33421         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
33422         interface information.  Reuse previous data if netlink timestamp
33423         is not changed.
33424         (__bump_nl_timestamp): New function.
33425         (__free_in6ai): New function.
33426
33427 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
33428
33429         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
33430         close_not_cancel_no_status here.
33431         (__check_pf): Reorganize code a bit to not call close twice if OOM.
33432
33433 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
33434
33435         [BZ #13276]
33436         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
33437         return value.
33438
33439         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
33440         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
33441         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
33442
33443 2011-07-03  Andreas Jaeger  <aj@suse.de>
33444
33445         [BZ #10709]
33446         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
33447         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
33448         * math/libm-test.inc (sin_test): Add test case.
33449
33450 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
33451
33452         [BZ #13337]
33453         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
33454         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
33455
33456         * elf/chroot_canon.c (chroot_canon): Cleanups.
33457
33458         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
33459
33460         [BZ #13335]
33461         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
33462         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
33463
33464         * string/test-strchr.c: Make usable for strchrnul testing.
33465         * string/test-strchrnul.c: New file.
33466         * string/Makefile (strop-tests): Add strchrnul.
33467
33468         * po/it.po: Update from translation team.
33469         * po/es.po: Likewise.
33470
33471 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
33472
33473         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
33474         the three constants needed as parameters.  Drop the others.
33475         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
33476         __m128i_strloadu_tolower.
33477         Create and initialize variable zero and use it in all the places
33478         where _mm_setzero_si128 was used.
33479
33480         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
33481         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
33482         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
33483         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
33484         anymore.
33485         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
33486         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
33487         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
33488         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
33489         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
33490         __mpranred, __mptan.
33491         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
33492         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
33493         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
33494         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
33495         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
33496         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
33497         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
33498         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
33499         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
33500
33501 2011-10-28  Andreas Schwab  <schwab@redhat.com>
33502
33503         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
33504         redefine if SHARED.
33505         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
33506
33507         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
33508         wide char related routines to wcsmbs subdir.
33509
33510 2011-10-27  Andreas Schwab  <schwab@redhat.com>
33511
33512         [BZ #13344]
33513         * misc/sys/cdefs.h (__THROWNL): Define.
33514         * posix/unistd.h: Use __THREADNL instead of __THREAD
33515         for memory synchronization functions.
33516
33517 2011-10-26  Roland McGrath  <roland@hack.frob.com>
33518
33519         [BZ #13349]
33520         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
33521         doesn't exist.
33522         * manual/stdio.texi (Obstack Streams): Node removed.
33523
33524 2011-10-26  Andreas Schwab  <schwab@redhat.com>
33525
33526         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
33527         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
33528         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
33529
33530         * math/math_private.h (math_force_eval): Allow non-addressable
33531         arguments.
33532         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
33533
33534 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
33535
33536         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
33537         file is not needed.
33538
33539         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
33540         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
33541         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
33542         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
33543         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
33544         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
33545         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
33546         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
33547         Add AVX variants.
33548         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
33549         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
33550         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
33551         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
33552         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
33553         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
33554         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
33555         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
33556         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
33557         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
33558         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
33559         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
33560         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
33561         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
33562         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
33563         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
33564         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
33565         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
33566         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
33567
33568         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
33569         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
33570
33571         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
33572         place.  Use VEX encoding when compiling for AVX.
33573
33574 2011-10-25  Andreas Schwab  <schwab@redhat.com>
33575
33576         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
33577         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
33578
33579         * string/test-strchr.c (do_test): Don't generate NUL bytes.
33580
33581 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
33582
33583         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
33584         useless if() expression.
33585         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
33586         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
33587         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
33588         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
33589         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
33590         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
33591         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
33592         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
33593         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
33594         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
33595         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
33596         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
33597         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
33598         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
33599         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
33600         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
33601         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
33602         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
33603         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
33604
33605         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
33606
33607 2011-10-25  Andreas Schwab  <schwab@redhat.com>
33608
33609         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
33610         condition.
33611         * elf/dl-fini.c (_dl_sort_fini): Likewise.
33612
33613 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
33614
33615         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
33616         .text section.  Avoid duplicate constants.
33617         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
33618         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
33619         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
33620         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
33621         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
33622         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
33623         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
33624         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
33625         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
33626         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
33627         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
33628         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
33629         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
33630         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
33631         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
33632         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
33633         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
33634         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
33635         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
33636         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
33637         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
33638         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
33639         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
33640         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
33641         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
33642         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
33643         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
33644         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
33645         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
33646         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
33647         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
33648         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
33649         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
33650         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
33651         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
33652         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
33653         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
33654         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
33655         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
33656         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
33657         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
33658         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
33659         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
33660         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
33661         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
33662
33663 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
33664
33665         * sysdeps/x86_64/dla.h: Move to ...
33666         * sysdeps/x86_64/fpu/dla.h: ...here.
33667         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
33668         situations.  Use __builtin_fma only for gcc 4.6 and up.
33669
33670         * config.make.in: Add have-mfma4 entry.
33671         * configure.in: Substitute libc_cv_cc_fma4.
33672         * math/Makefile (dbl-only-routines): Add sincostab.
33673         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
33674         Use __sincostab not sincos.
33675         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
33676         name is a macro.
33677         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
33678         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
33679         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
33680         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
33681         using __copysign.
33682         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
33683         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
33684         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
33685         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
33686         and __inv.
33687         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
33688         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
33689         __copysign.
33690         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
33691         define aliases when function name is a macro.
33692         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
33693         sysdeps/ieee754/dbl-64/sincos.tbl.
33694         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
33695         fma4-enabled routines.
33696         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
33697         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
33698         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
33699         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
33700         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
33701         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
33702         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
33703         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
33704         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
33705         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
33706         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
33707         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
33708         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
33709         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
33710         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
33711         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
33712         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
33713         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
33714         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
33715         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
33716         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
33717         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
33718         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
33719         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
33720         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
33721         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
33722         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
33723         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
33724         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
33725         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
33726
33727         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
33728         rename.
33729         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
33730         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
33731         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
33732         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
33733         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
33734         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
33735         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
33736         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
33737
33738 2011-10-24  Andreas Schwab  <schwab@redhat.com>
33739
33740         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
33741
33742 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
33743
33744         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
33745
33746         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
33747         prediction.
33748         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
33749
33750         * string/strnlen.c: Don't define STRNLEN, reverse logic.
33751         Remove unused variable magic_bits.
33752         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
33753
33754         * string/strnlen.c: Define and use STRNLEN macro.
33755         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
33756         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
33757         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
33758         * wcsmbs/wcslen.c: Define and use WCSLEN.
33759         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
33760         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
33761         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
33762         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
33763         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
33764         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
33765         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
33766
33767 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
33768
33769         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
33770         strnlen-sse2-no-bsf.
33771         Rename strlen-no-bsf to strlen-sse2-no-bsf.
33772         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
33773         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
33774         Add strnlen support.
33775         (USE_AS_STRNLEN): New macro.
33776         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
33777         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
33778         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
33779         * sysdeps/x86_64/wcslen.S: New file.
33780
33781 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
33782
33783         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
33784         XMM-moves are used for copying on small sizes.
33785
33786 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
33787
33788         * wcsmbs/Makefile (strop-tests): Add wcschr.
33789         * wcsmbs/test-wcschr.c: New file.
33790         * string/test-strchr.c: Update.
33791         Add wcschr support.
33792         (WIDE): New macro.
33793
33794 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
33795
33796         * wcsmbs/Makefile (strop-tests): Add wcslen.
33797         * wcsmbs/test-wcslen.c: New file.
33798         * string/test-strlen.c: Update.
33799         Add wcslen support.
33800         (WIDE): New macro.
33801
33802 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
33803
33804         * po/it.po: Update from translation team.
33805
33806 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
33807
33808         * sysdeps/x86_64/wcscmp.S: Update.
33809         Fix wrong comparison semantics.
33810         wcscmp shall use signed comparison not unsigned.
33811         Don't use substraction to avoid overflow bug.
33812         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
33813         * wcsmbc/wcscmp.c: Likewise.
33814         * string/test-strcmp.c: Likewise.
33815         Add new tests to check cases with negative values.
33816
33817 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
33818
33819         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
33820         * sysdeps/x86_64/dla.h: ...here.  New file.
33821         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
33822         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
33823         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
33824         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
33825         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
33826         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
33827         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
33828         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
33829         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
33830
33831 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
33832
33833         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
33834         __ynl_finite aliases.
33835
33836 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
33837
33838         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
33839
33840         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
33841         define DLA_FMA.
33842         [DLA_FMA] (EMULV): Use DLA_FMA.
33843         [DLA_FMA] (MUL12): Use EMULV.
33844         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
33845         that are not needed.
33846         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
33847         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
33848         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
33849         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
33850         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
33851         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
33852         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
33853
33854 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
33855
33856         * math/s_nan.c: Undef __nan.
33857         * math/s_nanf.c: Undef __nanf.
33858         * math/s_nanl.c: Undef __nanl.
33859         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
33860         "math_private.h".
33861
33862 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
33863
33864         * math/s_catan.c: Add branch predictions.
33865         * math/s_catanf.c: Likewise.
33866         * math/s_catanh.c: Likewise.
33867         * math/s_catanhf.c: Likewise.
33868         * math/s_catanhl.c: Likewise.
33869         * math/s_catanl.c: Likewise.
33870         * math/s_cexp.c: Likewise.
33871         * math/s_cexpf.c: Likewise.
33872         * math/s_cexpl.c: Likewise.
33873         * math/s_clog.c: Likewise.
33874         * math/s_clog10.c: Likewise.
33875         * math/s_clog10f.c: Likewise.
33876         * math/s_clog10l.c: Likewise.
33877         * math/s_clogf.c: Likewise.
33878         * math/s_clogl.c: Likewise.
33879         * math/s_csqrt.c: Likewise.
33880         * math/s_csqrtf.c: Likewise.
33881         * math/s_csqrtl.c: Likewise.
33882         * math/s_ctanf.c: Likewise.
33883         * math/s_ctanh.c: Likewise.
33884         * math/s_ctanhf.c: Likewise.
33885         * math/s_ctanhl.c: Likewise.
33886         * math/s_ctanl.c: Likewise.
33887
33888         * math/math_private.h: Define __nan, __nanf, __nanl.
33889         * math/s_cacosh.c: Include <math_private.h>.
33890         * math/s_cacoshl.c: Likewise.
33891         * math/s_casinh.c: Likewise.
33892         * math/s_casinhf.c: Likewise.
33893         * math/s_casinhl.c: Likewise.
33894         * math/s_ccos.c: Rely entire on ccosh.
33895         * math/s_ccosf.c: Rely entire on ccoshf.
33896         * math/s_ccosl.c: Rely entirely on ccoshl.
33897         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
33898         Remove tests for FE_INVALID.
33899         * math/s_ccoshf.c: Likewise.
33900         * math/s_ccoshl.c: Likewise.
33901         * math/s_csin.c: Likewise.
33902         * math/s_csinf.c: Likewise.
33903         * math/s_csinh.c Likewise.
33904         * math/s_csinhf.c: Likewise.
33905         * math/s_csinhl.c: Likewise.
33906         * math/s_csinl.c: Likewise.
33907         * math/s_ctan.c: Likewise.
33908         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
33909         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
33910         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
33911
33912 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
33913
33914         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
33915         compilation problems.
33916
33917         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
33918         __builtin_expect.
33919
33920 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
33921
33922         * sysdeps/i386/configure.in: Test for -mfma4 option.
33923         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
33924         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
33925         COMMON_CPUID_INDEX_80000001.
33926         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
33927         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
33928         use it if FMA3 is not supported.
33929         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
33930
33931         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
33932         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
33933
33934 2011-10-20  Andreas Schwab  <schwab@redhat.com>
33935
33936         [BZ #12892]
33937         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
33938         it would create a cycle with a link time dependency.
33939
33940 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
33941
33942         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
33943         instruction.
33944         * string/Makefile (strop-tests): Add rawmemchr.
33945         * string/test-rawmemchr.c: New file.
33946
33947         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
33948         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
33949         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
33950         when compiling str{,n}casecmp and when AVX is available.  Hook up
33951         new optimized code in initializers.
33952
33953 2011-10-19  Andreas Schwab  <schwab@redhat.com>
33954
33955         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
33956         __feraiseexcept instead of feraiseexcept.
33957
33958 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
33959
33960         * math/math_private.h: Define defaults for libc_fetestexcept and
33961         libc_feupdateenv.
33962         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
33963         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
33964         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
33965         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
33966         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
33967         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
33968         libc_fetestexcept and libc_feupdateenv.
33969
33970         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
33971         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
33972         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
33973         * sysdeps/x86_64/fpu/math_private.h: Define special version of
33974         libc_feholdexcept_setround.
33975
33976         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
33977         Add s_nearbyint-c and s_nearbyintf-c.
33978         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
33979         nearbyintf inlines.
33980         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
33981         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
33982         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
33983         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
33984
33985         * math/math_private.h: Define defaults for libc_fegetround,
33986         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
33987         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
33988         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
33989         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
33990         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
33991         standard functions.
33992         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
33993         Remove comments and hacks for old compiler versions.
33994         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
33995         libc_fegetround, libc_fesetround, libc_feholdexcept, and
33996         libc_feholdexceptl.
33997
33998 2011-10-18  Andreas Schwab  <schwab@redhat.com>
33999
34000         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
34001         (__feraiseexcept_renamed): Add __NTH.
34002         (feraiseexcept): Add __NTH.  Rename local variables to fix
34003         namespace violations.
34004
34005 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
34006
34007         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
34008
34009         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
34010
34011         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
34012         recently added interfaces.
34013         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
34014
34015         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
34016         about macro parameter expansion.
34017
34018         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
34019         __NO_MATH_INLINES is defined.  Cleanups.
34020
34021         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
34022         and __floorf is target has SSE4.1.
34023         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
34024         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
34025         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
34026         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
34027
34028         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
34029         name.
34030         (floorf): Likewise.
34031
34032         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
34033
34034 2011-10-17  Andreas Schwab  <schwab@redhat.com>
34035
34036         * misc/sys/cdefs.h: Fix last change.
34037
34038         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
34039         database lookup.
34040
34041 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
34042
34043         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
34044
34045         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
34046         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
34047         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
34048         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
34049         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
34050         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
34051         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
34052         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
34053         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
34054         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
34055         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
34056         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
34057         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
34058         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
34059         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
34060         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
34061         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
34062         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
34063         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
34064         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
34065         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
34066         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
34067
34068         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
34069         ceil, ceilf, floor, floorf.
34070
34071         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
34072         Perform IRELATIVE relocations last.
34073
34074         * elf/do-rel.h: Add another parameter nrelative, replacing the
34075         local variable with the same name.  Change name of the function
34076         to end in Rel or Rela (uppercase).
34077         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
34078         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
34079         elf_dynamic_do_##reloc function.
34080
34081 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
34082
34083         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
34084         is sufficient, at least on modern CPUs.
34085
34086         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
34087
34088         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
34089         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
34090
34091         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
34092         __expl_finite.
34093         * math/bits/math-finite.h: Add entries for exp.
34094         * math/e_expl.c: Add __*_finite alias.
34095         * sysdeps/i386/fpu/e_exp.S: Likewise.
34096         * sysdeps/i386/fpu/e_expf.S: Likewise.
34097         * sysdeps/i386/fpu/e_expl.c: Likewise.
34098         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
34099         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
34100         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
34101         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
34102         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
34103         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
34104         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
34105
34106         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
34107         is sufficient, at least on modern CPUs.
34108
34109         * ctype/ctype-info.c (__ctype_init): Define.
34110         * include/ctype.h (__ctype_init): Declare.
34111         (__ctype_b_loc): The variable is always initialized.
34112         (__ctype_toupper_loc): Likewise.
34113         (__ctype_tolower_loc): Likewise.
34114         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
34115         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
34116
34117 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
34118
34119         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
34120
34121         * configure.in: Also look in $cxxmachine/include for C++ system
34122         headers.
34123
34124 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
34125
34126         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
34127         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
34128         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
34129         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
34130         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
34131         (USE_AS_WMEMCMP): New macro.
34132         Fixing indents.
34133         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
34134         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
34135         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
34136         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
34137         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
34138         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
34139         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
34140         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
34141         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
34142         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
34143         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
34144         (USE_AS_WMEMCMP): New macro.
34145         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
34146         * sysdeps/string/test-memcmp.c: Update.
34147         Fix simple_wmemcmp.
34148         Add new tests.
34149         * wcsmbs/wmemcmp.c: Update.
34150         (WMEMCMP): New macro.
34151         Fix overflow bug.
34152
34153 2011-10-12  Andreas Jaeger  <aj@suse.de>
34154
34155         [BZ #13268]
34156         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
34157
34158 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
34159
34160         * libio/iofwide.c (do_length): Avoid warning.
34161
34162         * ctype/ctype.h (__isctype_f): Add missing __THROW.
34163
34164 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
34165
34166         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
34167
34168         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
34169         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
34170         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
34171         * sysdeps/i386/i686/fpu/e_log.S: New file.
34172         * sysdeps/i386/i686/fpu/e_logf.S: New file.
34173         * sysdeps/i386/i686/fpu/e_logl.S: New file.
34174
34175         * ctype/ctype.h: Add support for inlined isXXX functions when
34176         compiling C++ code.
34177
34178 2011-10-14  Andreas Schwab  <schwab@redhat.com>
34179
34180         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
34181
34182         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
34183
34184 2011-10-13  Roland McGrath  <roland@hack.frob.com>
34185
34186         [BZ #13291]
34187         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
34188
34189 2011-10-13  Andreas Schwab  <schwab@redhat.com>
34190
34191         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
34192         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
34193         feraiseexcept.
34194
34195         * sysdeps/x86_64/memrchr.S: Check for zero size.
34196
34197         * string/stratcliff.c: Add memrchr tests.
34198
34199 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
34200
34201         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
34202         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
34203         rawmemchr-sse2 rawmemchr-sse2-bsf.
34204         * sysdeps/i386/i686/multiarch/memchr.S: New file.
34205         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
34206         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
34207         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
34208         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
34209         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
34210         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
34211         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
34212         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
34213         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
34214         * string/memrchr.c (MEMRCHR): New macro.
34215
34216 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
34217
34218         Add integration with gcc's -ffinite-math-only and optimize wrapper
34219         functions in libm.
34220         * Versions.def: Define GLIBC_2.15 version for libm.
34221         * math/Makefile (headers): Add bits/math-finite.h.
34222         * math/bits/math-finite.h: New file.
34223         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
34224         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
34225         * math/e_acoshl.c: Add __*_finite alias.
34226         * math/e_acosl.c: Likewise.
34227         * math/e_asinl.c: Likewise.
34228         * math/e_atan2l.c: Likewise.
34229         * math/e_atanhl.c: Likewise.
34230         * math/e_coshl.c: Likewise.
34231         * math/e_exp10.c: Likewise.
34232         * math/e_exp10f.c: Likewise.
34233         * math/e_exp10l.c: Likewise.
34234         * math/e_exp2l.c: Likewise.
34235         * math/e_fmodl.c: Likewise.
34236         * math/e_gammal_r.c: Likewise.
34237         * math/e_hypotl.c: Likewise.
34238         * math/e_j0l.c: Likewise.
34239         * math/e_j1l.c: Likewise.
34240         * math/e_jnl.c: Likewise.
34241         * math/e_lgammal_r.c: Likewise.
34242         * math/e_log10l.c: Likewise.
34243         * math/e_log2l.c: Likewise.
34244         * math/e_logl.c: Likewise.
34245         * math/e_powl.c: Likewise.
34246         * math/e_sinhl.c: Likewise.
34247         * math/e_sqrtl.c: Likewise.
34248         * math/e_scalb.c: Completely rewritten and optimized.
34249         * math/e_scalbf.c: Likewise.
34250         * math/e_scalbl.c: Likewise.
34251         * math/w_acos.c: Likewise.
34252         * math/w_acosf.c: Likewise.
34253         * math/w_acosl.c: Likewise.
34254         * math/w_acosh.c: Likewise.
34255         * math/w_acoshf.c: Likewise.
34256         * math/w_acoshl.c: Likewise.
34257         * math/w_asin.c: Likewise.
34258         * math/w_asinf.c: Likewise.
34259         * math/w_asinl.c: Likewise.
34260         * math/w_atan2.c: Likewise.
34261         * math/w_atan2f.c: Likewise.
34262         * math/w_atan2l.c: Likewise.
34263         * math/w_atanh.c: Likewise.
34264         * math/w_atanhf.c: Likewise.
34265         * math/w_atanhl.c: Likewise.
34266         * math/w_exp10.c: Likewise.
34267         * math/w_exp10f.c: Likewise.
34268         * math/w_exp10l.c: Likewise.
34269         * math/w_fmod.c: Likewise.
34270         * math/w_fmodf.c: Likewise.
34271         * math/w_fmodl.c: Likewise.
34272         * math/w_j0.c: Likewise.
34273         * math/w_j0f.c: Likewise.
34274         * math/w_j0l.c: Likewise.
34275         * math/w_j1.c: Likewise.
34276         * math/w_j1f.c: Likewise.
34277         * math/w_j1l.c: Likewise.
34278         * math/w_jn.c: Likewise.
34279         * math/w_jnf.c: Likewise.
34280         * math/w_log.c: Likewise.
34281         * math/w_logf.c: Likewise.
34282         * math/w_logl.c: Likewise.
34283         * math/w_log10.c: Likewise.
34284         * math/w_log10f.c: Likewise.
34285         * math/w_log10l.c: Likewise.
34286         * math/w_log2.c: Likewise.
34287         * math/w_log2f.c: Likewise.
34288         * math/w_log2l.c: Likewise.
34289         * math/w_pow.c: Likewise.
34290         * math/w_powf.c: Likewise.
34291         * math/w_powl.c: Likewise.
34292         * math/w_remainder.c: Likewise.
34293         * math/w_remainderf.c: Likewise.
34294         * math/w_remainderl.c: Likewise.
34295         * math/w_scalb.c: Likewise.
34296         * math/w_scalbf.c: Likewise.
34297         * math/w_scalbl.c: Likewise.
34298         * math/w_sqrt.c: Likewise.
34299         * math/w_sqrtf.c: Likewise.
34300         * math/w_sqrtl.c: Likewise.
34301         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
34302         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
34303         used.
34304         * math/math_private.h: Declare __kernel_standard_f.
34305         * math/w_cosh.c: Remove cruft and optimize a bit.
34306         * math/w_coshf.c: Likewise.
34307         * math/w_coshl.c: Likewise.
34308         * math/w_exp2.c: Likewise.
34309         * math/w_exp2f.c: Likewise.
34310         * math/w_exp2l.c: Likewise.
34311         * math/w_hypot.c: Likewise.
34312         * math/w_hypotf.c: Likewise.
34313         * math/w_hypotl.c: Likewise.
34314         * math/w_lgamma.c: Likewise.
34315         * math/w_lgamma_r.c: Likewise.
34316         * math/w_lgammaf.c: Likewise.
34317         * math/w_lgammaf_r.c: Likewise.
34318         * math/w_lgammal.c: Likewise.
34319         * math/w_lgammal_r.c: Likewise.
34320         * math/w_sinh.c: Likewise.
34321         * math/w_sinhf.c: Likewise.
34322         * math/w_sinhl.c: Likewise.
34323         * math/w_tgamma.c: Likewise.
34324         * math/w_tgammaf.c: Likewise.
34325         * math/w_tgammal.c: Likewise.
34326         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
34327         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
34328         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
34329         Minor optimizations.  Pretty printing.  Remove cruft.
34330         * sysdeps/i386/fpu/e_acosf.S: Likewise.
34331         * sysdeps/i386/fpu/e_acosh.S: Likewise.
34332         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
34333         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
34334         * sysdeps/i386/fpu/e_acosl.c: Likewise.
34335         * sysdeps/i386/fpu/e_asin.S: Likewise.
34336         * sysdeps/i386/fpu/e_asinf.S: Likewise.
34337         * sysdeps/i386/fpu/e_atan2.S: Likewise.
34338         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
34339         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
34340         * sysdeps/i386/fpu/e_atanh.S: Likewise.
34341         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
34342         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
34343         * sysdeps/i386/fpu/e_exp10.S: Likewise.
34344         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
34345         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
34346         * sysdeps/i386/fpu/e_exp2.S: Likewise.
34347         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
34348         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
34349         * sysdeps/i386/fpu/e_fmod.S: Likewise.
34350         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
34351         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
34352         * sysdeps/i386/fpu/e_hypot.S: Likewise.
34353         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
34354         * sysdeps/i386/fpu/e_log.S: Likewise.
34355         * sysdeps/i386/fpu/e_log10.S: Likewise.
34356         * sysdeps/i386/fpu/e_log10f.S: Likewise.
34357         * sysdeps/i386/fpu/e_log10l.S: Likewise.
34358         * sysdeps/i386/fpu/e_log2.S: Likewise.
34359         * sysdeps/i386/fpu/e_log2f.S: Likewise.
34360         * sysdeps/i386/fpu/e_log2l.S: Likewise.
34361         * sysdeps/i386/fpu/e_logf.S: Likewise.
34362         * sysdeps/i386/fpu/e_logl.S: Likewise.
34363         * sysdeps/i386/fpu/e_pow.S: Likewise.
34364         * sysdeps/i386/fpu/e_powf.S: Likewise.
34365         * sysdeps/i386/fpu/e_powl.S: Likewise.
34366         * sysdeps/i386/fpu/e_remainder.S: Likewise.
34367         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
34368         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
34369         * sysdeps/i386/fpu/e_scalb.S: Likewise.
34370         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
34371         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
34372         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
34373         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
34374         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
34375         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
34376         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
34377         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
34378         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
34379         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
34380         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
34381         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
34382         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
34383         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
34384         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
34385         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
34386         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
34387         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
34388         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
34389         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
34390         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
34391         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
34392         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
34393         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
34394         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
34395         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
34396         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
34397         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
34398         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
34399         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
34400         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
34401         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
34402         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
34403         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
34404         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
34405         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
34406         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
34407         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
34408         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
34409         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
34410         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
34411         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
34412         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
34413         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
34414         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
34415         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
34416         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
34417         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
34418         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
34419         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
34420         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
34421         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
34422         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
34423         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
34424         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
34425         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
34426         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
34427         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
34428         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
34429         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
34430         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
34431         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
34432         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
34433         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
34434         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
34435         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
34436         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
34437         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
34438         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
34439         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
34440         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
34441         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
34442         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
34443         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
34444         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
34445         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
34446         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
34447         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
34448         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
34449         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
34450         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
34451         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
34452         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
34453         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
34454         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
34455         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
34456         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
34457         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
34458         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
34459         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
34460         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
34461         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
34462         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
34463         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
34464         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
34465         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
34466         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
34467         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
34468         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
34469         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
34470         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
34471         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
34472         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
34473         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
34474         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
34475         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
34476         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
34477         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
34478         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
34479         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
34480         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
34481         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
34482         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
34483         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
34484         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
34485         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
34486         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
34487         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
34488         (__isnanf): Likewise.
34489         (__isinf_ns): Likewise.
34490         (__isinf_nsf): Likewise.
34491         (__finite): Likewise.
34492         (__finitef): Likewise.
34493         (__ieee754_sqrt): Define as macro.
34494         (__ieee754_sqrtf): Define as macro.
34495         (__ieee754_sqrtl): Define as macro.
34496         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
34497         inlined copy.
34498         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
34499         __FINITE_MATH_ONLY__ consistent.
34500         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
34501
34502 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
34503
34504         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
34505         of rawmemchr.
34506
34507         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
34508
34509 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
34510
34511         * po/ja.po: Update from translation team.
34512
34513 2011-10-08  Roland McGrath  <roland@hack.frob.com>
34514
34515         * locale/programs/locarchive.c (prepare_address_space): New function.
34516         (create_archive, enlarge_archive, open_archive): Use it.
34517
34518         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
34519         inside [SHARED], where it is used.
34520
34521         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
34522
34523         * nss/getent.c (netgroup_keys): Remove unused variable.
34524         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
34525
34526 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
34527
34528         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
34529         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
34530         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
34531         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
34532         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
34533         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
34534         * math/Makefile (libm-calls): Add s_isinf_ns.
34535         * math/divtc3.c: Use __isinf_nsl instead of isinf.
34536         * math/multc3.c: Likewise.
34537         * math/s_casin.c: Likewise.
34538         * math/s_casinf.c: Likewise.
34539         * math/s_casinl.c: Likewise.
34540         * math/s_ccos.c: Likewise.
34541         * math/s_ccosf.c: Likewise.
34542         * math/s_ccosl.c: Likewise.
34543         * math/s_ctan.c: Likewise.
34544         * math/s_ctanf.c: Likewise.
34545         * math/s_ctanh.c: Likewise.
34546         * math/s_ctanhf.c: Likewise.
34547         * math/s_ctanhl.c: Likewise.
34548         * math/s_ctanl.c: Likewise.
34549         * math/w_fmod.c: Likewise.
34550         * math/w_fmodf.c: Likewise.
34551         * math/w_fmodl.c: Likewise.
34552         * math/w_remainder.c: Likewise.
34553         * math/w_remainderf.c: Likewise.
34554         * math/w_remainderl.c: Likewise.
34555         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
34556         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
34557         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
34558         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
34559         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
34560         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
34561         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
34562         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
34563
34564         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
34565         of the number.
34566         * stdio-common/printf_fphex.c: Likewise.
34567         * stdio-common/printf_size.c: Likewise.
34568
34569         * math/e_exp10.c: Include math_private.h using <...> not "...".
34570         * math/e_exp10f.c: Likewise.
34571         * math/e_exp10l.c: Likewise.
34572         * math/e_exp2l.c: Likewise.
34573         * math/e_j0l.c: Likewise.
34574         * math/e_j1l.c: Likewise.
34575         * math/e_jnl.c: Likewise.
34576         * math/e_lgammal_r.c: Likewise.
34577         * math/e_rem_pio2l.c: Likewise.
34578         * math/e_scalb.c: Likewise.
34579         * math/e_scalbf.c: Likewise.
34580         * math/e_scalbl.c: Likewise.
34581         * math/k_cosl.c: Likewise.
34582         * math/k_sinl.c: Likewise.
34583         * math/k_tanl.c: Likewise.
34584         * math/s_cacoshf.c: Likewise.
34585         * math/s_catan.c: Likewise.
34586         * math/s_catanf.c: Likewise.
34587         * math/s_catanh.c: Likewise.
34588         * math/s_catanhf.c: Likewise.
34589         * math/s_catanhl.c: Likewise.
34590         * math/s_catanl.c: Likewise.
34591         * math/s_ccosh.c: Likewise.
34592         * math/s_ccoshf.c: Likewise.
34593         * math/s_ccoshl.c: Likewise.
34594         * math/s_cexp.c: Likewise.
34595         * math/s_cexpf.c: Likewise.
34596         * math/s_cexpl.c: Likewise.
34597         * math/s_clog.c: Likewise.
34598         * math/s_clog10.c: Likewise.
34599         * math/s_clog10f.c: Likewise.
34600         * math/s_clog10l.c: Likewise.
34601         * math/s_clogf.c: Likewise.
34602         * math/s_clogl.c: Likewise.
34603         * math/s_csin.c: Likewise.
34604         * math/s_csinf.c: Likewise.
34605         * math/s_csinh.c: Likewise.
34606         * math/s_csinhf.c: Likewise.
34607         * math/s_csinhl.c: Likewise.
34608         * math/s_csinl.c: Likewise.
34609         * math/s_csqrt.c: Likewise.
34610         * math/s_csqrtf.c: Likewise.
34611         * math/s_csqrtl.c: Likewise.
34612         * math/s_ctan.c: Likewise.
34613         * math/s_ctanf.c: Likewise.
34614         * math/s_ctanh.c: Likewise.
34615         * math/s_ctanhf.c: Likewise.
34616         * math/s_ctanhl.c: Likewise.
34617         * math/s_ctanl.c: Likewise.
34618         * math/s_ldexp.c: Likewise.
34619         * math/s_ldexpf.c: Likewise.
34620         * math/s_ldexpl.c: Likewise.
34621         * math/s_significand.c: Likewise.
34622         * math/s_significandf.c: Likewise.
34623         * math/s_significandl.c: Likewise.
34624         * math/w_acos.c: Likewise.
34625         * math/w_acosf.c: Likewise.
34626         * math/w_acosh.c: Likewise.
34627         * math/w_acoshf.c: Likewise.
34628         * math/w_acoshl.c: Likewise.
34629         * math/w_acosl.c: Likewise.
34630         * math/w_asin.c: Likewise.
34631         * math/w_asinf.c: Likewise.
34632         * math/w_asinl.c: Likewise.
34633         * math/w_atan2.c: Likewise.
34634         * math/w_atan2f.c: Likewise.
34635         * math/w_atan2l.c: Likewise.
34636         * math/w_atanh.c: Likewise.
34637         * math/w_atanhf.c: Likewise.
34638         * math/w_atanhl.c: Likewise.
34639         * math/w_cosh.c: Likewise.
34640         * math/w_coshf.c: Likewise.
34641         * math/w_coshl.c: Likewise.
34642         * math/w_dremf.c: Likewise.
34643         * math/w_exp10.c: Likewise.
34644         * math/w_exp10f.c: Likewise.
34645         * math/w_exp10l.c: Likewise.
34646         * math/w_exp2.c: Likewise.
34647         * math/w_exp2f.c: Likewise.
34648         * math/w_fmod.c: Likewise.
34649         * math/w_fmodf.c: Likewise.
34650         * math/w_fmodl.c: Likewise.
34651         * math/w_hypot.c: Likewise.
34652         * math/w_hypotf.c: Likewise.
34653         * math/w_hypotl.c: Likewise.
34654         * math/w_j0.c: Likewise.
34655         * math/w_j0f.c: Likewise.
34656         * math/w_j0l.c: Likewise.
34657         * math/w_j1.c: Likewise.
34658         * math/w_j1f.c: Likewise.
34659         * math/w_j1l.c: Likewise.
34660         * math/w_jn.c: Likewise.
34661         * math/w_jnf.c: Likewise.
34662         * math/w_jnl.c: Likewise.
34663         * math/w_lgamma.c: Likewise.
34664         * math/w_lgamma_r.c: Likewise.
34665         * math/w_lgammaf.c: Likewise.
34666         * math/w_lgammaf_r.c: Likewise.
34667         * math/w_lgammal.c: Likewise.
34668         * math/w_lgammal_r.c: Likewise.
34669         * math/w_log.c: Likewise.
34670         * math/w_log10.c: Likewise.
34671         * math/w_log10f.c: Likewise.
34672         * math/w_log10l.c: Likewise.
34673         * math/w_log2.c: Likewise.
34674         * math/w_log2f.c: Likewise.
34675         * math/w_log2l.c: Likewise.
34676         * math/w_logf.c: Likewise.
34677         * math/w_logl.c: Likewise.
34678         * math/w_pow.c: Likewise.
34679         * math/w_powf.c: Likewise.
34680         * math/w_powl.c: Likewise.
34681         * math/w_remainder.c: Likewise.
34682         * math/w_remainderf.c: Likewise.
34683         * math/w_remainderl.c: Likewise.
34684         * math/w_scalb.c: Likewise.
34685         * math/w_scalbf.c: Likewise.
34686         * math/w_scalbl.c: Likewise.
34687         * math/w_sinh.c: Likewise.
34688         * math/w_sinhf.c: Likewise.
34689         * math/w_sinhl.c: Likewise.
34690         * math/w_sqrt.c: Likewise.
34691         * math/w_sqrtf.c: Likewise.
34692         * math/w_sqrtl.c: Likewise.
34693         * math/w_tgamma.c: Likewise.
34694         * math/w_tgammaf.c: Likewise.
34695         * math/w_tgammal.c: Likewise.
34696
34697         * po/ja.po: Update from translation team.
34698
34699 2011-09-29  Andreas Jaeger  <aj@suse.de>
34700
34701         [BZ #13179]
34702         * sunrpc/netname.c (netname2host): Fix logic.
34703
34704         [BZ #6779]
34705         [BZ #6783]
34706         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
34707         correctly.
34708         * math/w_remainder.c (__remainder): Likewise.
34709         * math/w_remainderf.c (__remainderf): Likewise.
34710         * math/libm-test.inc (remainder_test): Add test cases.
34711
34712 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
34713
34714         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
34715         sdiv_qrnnd.
34716
34717 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
34718
34719         * string/test-memcmp.c: Avoid unncessary #defines.
34720         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
34721
34722 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
34723
34724         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
34725         Use new sse2 version for core i3 - i7 as it's faster
34726         than sse42 version.
34727         (bit_Prefer_PMINUB_for_stringop): New.
34728         * sysdeps/x86_64/rawmemchr.S: Update.
34729         Replace with faster SSE2 version.
34730         * sysdeps/x86_64/memrchr.S: New file.
34731         * sysdeps/x86_64/memchr.S: Update.
34732         Replace with faster SSE2 version.
34733
34734 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
34735
34736         * elf/dl-load.c (lose): Add cast to avoid warning.
34737
34738 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
34739
34740         * po/ca.po: Update from translation team.
34741
34742         * inet/getnetgrent_r.c: Hook up nscd.
34743         * nscd/Makefile (routines): Add nscd_netgroup.
34744         (nscd-modules): Add netgroupcache.
34745         (CFLAGS-netgroupcache.c): Define.
34746         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
34747         (cache_search): Add const to second parameter.
34748         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
34749         INNETGR.
34750         (dbs): Add netgrdb entry.
34751         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
34752         (verify_persistent_db): Handle netgrdb.
34753         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
34754         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
34755         GETFDNETGR.
34756         (netgroup_response_header): Define.
34757         (innetgroup_response_header): Define.
34758         (datahead): Add netgroup_response_header and innetgroup_response_header
34759         elements.
34760         * nscd/nscd.conf: Add entries for netgroup cache.
34761         * nscd/nscd.h (dbtype): Add netgrdb.
34762         (_PATH_NSCD_NETGROUP_DB): Define.
34763         (netgroup_iov_disabled): Declare.
34764         (xmalloc, xcalloc, xrealloc): Move declarations here.
34765         (cache_search): Adjust prototype.
34766         Add netgroup-related prototypes.
34767         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
34768         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
34769         (__nscd_innetgr): Declare.
34770         * nscd/selinux.c (perms): Use access_vector_t as element type and
34771         add netgroup-related initializers.
34772         * nscd/netgroupcache.c: New file.
34773         * nscd/nscd_netgroup.c: New file.
34774         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
34775         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
34776         For four parameters use innetgr.
34777         * nss/nss_files/files-init.c: Add definition and callback for netgr.
34778         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
34779         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
34780         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
34781
34782         * nscd/connections.c (register_traced_file): Don't register file
34783         for disabled databases.
34784
34785 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
34786
34787         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
34788
34789         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
34790         from tree and freeing node.
34791
34792 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
34793
34794         * nss/nsswitch.c (__nss_database_lookup): Handle
34795         nss_parse_service_list out of memory case.
34796
34797 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
34798
34799         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
34800         out of memory case.
34801
34802 2011-10-04  Andreas Schwab  <schwab@redhat.com>
34803
34804         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
34805         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
34806         pass it down.
34807         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
34808         elf_machine_rela, elf_machine_lazy_rel.
34809         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
34810         (ELF_DYNAMIC_DO_REL): Likewise.
34811         (ELF_DYNAMIC_DO_RELA): Likewise.
34812         (ELF_DYNAMIC_RELOCATE): Likewise.
34813         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
34814         to ELF_DYNAMIC_DO_REL.
34815         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
34816         (dl_main): In trace mode always set __RTLD_NOIFUNC.
34817         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
34818         elf_machine_rela.
34819         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
34820         skip_ifunc, don't call ifunc function if non-zero.
34821         (elf_machine_rela): Likewise.
34822         (elf_machine_lazy_rel): Likewise.
34823         (elf_machine_lazy_rela): Likewise.
34824         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
34825         (elf_machine_lazy_rel): Likewise.
34826         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
34827         Likewise.
34828         (elf_machine_lazy_rel): Likewise.
34829         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
34830         Likewise.
34831         (elf_machine_lazy_rel): Likewise.
34832         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
34833         (elf_machine_lazy_rel): Likewise.
34834         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
34835         (elf_machine_lazy_rel): Likewise.
34836         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
34837         (elf_machine_lazy_rel): Likewise.
34838         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
34839         (elf_machine_lazy_rel): Likewise.
34840         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
34841         (elf_machine_lazy_rel): Likewise.
34842         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
34843         (elf_machine_lazy_rel): Likewise.
34844
34845 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
34846
34847         * nss/nss_files/files-init.c (_nss_files_init): Use static
34848         initialization for all the *_traced_file variables.
34849
34850 2011-09-28  Andreas Schwab  <schwab@redhat.com>
34851
34852         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
34853
34854 2011-09-27  Roland McGrath  <roland@hack.frob.com>
34855
34856         [BZ #13226]
34857         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
34858
34859 2011-09-27  Andreas Schwab  <schwab@redhat.com>
34860
34861         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
34862         Reread the line before reparsing it.
34863
34864 2011-09-26  Andreas Schwab  <schwab@redhat.com>
34865
34866         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
34867
34868 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
34869             Maxim Kuvyrkov  <maxim@codesourcery.com>
34870             Joseph Myers  <joseph@codesourcery.com>
34871
34872         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
34873         if needed for __stack_chk_guard.
34874
34875 2011-09-19  Roland McGrath  <roland@hack.frob.com>
34876
34877         * sysdeps/posix/spawni.c (script_execute): Always define it.
34878         It will be optimized away if unused.
34879         (maybe_script_execute): New function.
34880         (__spawni): Call it.
34881
34882         * Makerules: Don't include tls.make.
34883         (config-tls): Always set to thread.
34884         * tls.make.c: File removed.
34885
34886 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
34887
34888         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
34889         * config.make.in (CPPFLAGS-config): New substituted variable.
34890
34891 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
34892
34893         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
34894
34895         [BZ #13192]
34896         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
34897         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
34898
34899 2011-09-15  Roland McGrath  <roland@hack.frob.com>
34900
34901         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
34902         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
34903         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
34904         (CALL_FAIL): Likewise.
34905         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
34906         (CALL_FAIL): Macro removed.
34907         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
34908
34909 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
34910
34911         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
34912         for __FINITE_MATH_ONLY__ == 1.
34913
34914 2011-09-15  Andreas Schwab  <schwab@redhat.com>
34915
34916         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
34917         __ieee754_sqrt instead of sqrt.
34918         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
34919         __ieee754_sqrtf instead of sqrtf.
34920         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
34921         __floorf instead of floorf.
34922         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
34923         __floorf, __truncf instead of floorf, truncf.
34924
34925 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
34926
34927         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
34928
34929         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
34930         __extern_always_inline.
34931         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
34932         32-bit.
34933
34934 2011-09-14  Andreas Schwab  <schwab@redhat.com>
34935
34936         * elf/rtld.c (dl_main): Also relocate in dependency order when
34937         doing symbol dependency testing.
34938
34939 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
34940
34941         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
34942         Always define `refsym'.
34943
34944 2011-09-13  Andreas Schwab  <schwab@redhat.com>
34945
34946         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
34947         (__FD_ELT): Renamed from __FDELT.
34948         * misc/bits/select2.h (__FD_ELT): Likewise.
34949         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
34950         __FD_MASK instead of __FDELT, __FDMASK.
34951         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
34952         Likewise.
34953         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
34954         Likewise.
34955
34956         * elf/Makefile (gen-ldd): Fix pattern.
34957
34958         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
34959         (init_tls): Likewise.
34960
34961 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
34962
34963         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
34964
34965 2011-09-12  Andreas Schwab  <schwab@redhat.com>
34966
34967         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
34968         `struct cmsghdr *' instead of `void *'.
34969         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
34970         Likewise.
34971
34972 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
34973
34974         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
34975         if non-absolute.
34976         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
34977         ldd_rewrite_script.
34978
34979 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
34980
34981         * configure.in: Remove --with-tls option.
34982         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
34983         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
34984         out in case it is missing.
34985         * sysdeps/ia64/elf/configure.in: Likewise.
34986         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
34987         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
34988         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
34989         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
34990         * sysdeps/sh/elf/configure.in: Likewise.
34991         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
34992         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
34993         * sysdeps/x86_64/elf/configure.in: Likewise.
34994         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
34995         * sysdeps/mach/hurd/tls.h: Likewise.
34996
34997         [BZ #13067]
34998         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
34999
35000         [BZ #13090]
35001         * configure.in: Fix use of AC_INIT.
35002
35003         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
35004
35005 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
35006
35007         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
35008         __set_errno.
35009         * malloc/hooks.c: Likewise.
35010
35011         [BZ #11929]
35012         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
35013         variables statically.
35014         (narenas): Initialize.
35015         (list_lock): Initialize.
35016         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
35017         initializtion of main_arena and list_lock.  Small cleanups.
35018         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
35019         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
35020         Add initializers to main_arena and mp_.
35021         (malloc_state): Remove pagesize member.  Change all users to use
35022         GLRO(dl_pagesize).
35023
35024         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
35025         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
35026         is always initialized.
35027
35028         * malloc/malloc.c: Removed unused configurations and dead code.
35029         * malloc/arena.c: Likewise.
35030         * malloc/hooks.c: Likewise.
35031         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
35032
35033         * include/tls.h: Removed.  USE___THREAD must always be defined.
35034         * bits/libc-tsd.h: Don't handle !USE___THREAD.
35035         * elf/dl-libc.c: Likewise.
35036         * elf/dl-tsd.c: Likewise.
35037         * include/errno.h: Likewise.
35038         * include/netdb.h: Likewise.
35039         * include/resolv.h: Likewise.
35040         * inet/herrno-loc.c: Likewise.
35041         * inet/herrno.c: Likewise.
35042         * malloc/arena.c: Likewise.
35043         * malloc/hooks.c: Likewise.
35044         * malloc/malloc.c: Likewise.
35045         * resolv/res-state.c: Likewise.
35046         * resolv/res_libc.c: Likewise.
35047         * sysdeps/i386/dl-machine.h: Likewise.
35048         * sysdeps/ia64/dl-machine.h: Likewise.
35049         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
35050         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
35051         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
35052         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
35053         * sysdeps/sh/dl-machine.h: Likewise.
35054         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
35055         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
35056         * sysdeps/unix/i386/sysdep.S: Likewise.
35057         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
35058         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
35059         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
35060         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
35061         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
35062         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
35063         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
35064         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
35065         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
35066         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
35067         * sysdeps/unix/x86_64/sysdep.S: Likewise.
35068         * sysdeps/x86_64/dl-machine.h: Likewise.
35069         * tls.make.c: Likewise.
35070
35071         * configure.in: Remove --with-__thread option.  Make tests for
35072         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
35073         tls_model attribute fail if no support is available.  Remove
35074         USE_IN_LIBIO.
35075         * Makeconfig: Adjust for dropped configure option.  All features are
35076         now mandatory.
35077         * Makerules: Likewise.
35078         * Versions.def: Likewise.
35079         * argp/argp-fmtstream.c: Likewise.
35080         * argp/argp-fmtstream.h: Likewise.
35081         * argp/argp-help.c: Likewise.
35082         * assert/assert.c: Likewise.
35083         * config.h.in: Likewise.
35084         * config.make.in: Likewise.
35085         * configure: Likewise.
35086         * configure.in: Likewise.
35087         * csu/Versions: Likewise.
35088         * csu/init.c: Likewise.
35089         * elf/tst-audit2.c: Likewise.
35090         * elf/tst-tls10.c: Likewise.
35091         * elf/tst-tls10.h: Likewise.
35092         * elf/tst-tls11.c: Likewise.
35093         * elf/tst-tls12.c: Likewise.
35094         * elf/tst-tls14.c: Likewise.
35095         * elf/tst-tlsmod11.c: Likewise.
35096         * elf/tst-tlsmod12.c: Likewise.
35097         * elf/tst-tlsmod13.c: Likewise.
35098         * elf/tst-tlsmod13a.c: Likewise.
35099         * elf/tst-tlsmod14a.c: Likewise.
35100         * elf/tst-tlsmod15b.c: Likewise.
35101         * elf/tst-tlsmod16a.c: Likewise.
35102         * elf/tst-tlsmod16b.c: Likewise.
35103         * elf/tst-tlsmod7.c: Likewise.
35104         * elf/tst-tlsmod8.c: Likewise.
35105         * elf/tst-tlsmod9.c: Likewise.
35106         * gmon/gmon.c: Likewise.
35107         * grp/fgetgrent_r.c: Likewise.
35108         * grp/putgrent.c: Likewise.
35109         * hurd/fopenport.c: Likewise.
35110         * include/libc-symbols.h: Likewise.
35111         * include/tls.h: Likewise.
35112         * intl/gettextP.h: Likewise.
35113         * intl/loadinfo.h: Likewise.
35114         * locale/global-locale.c: Likewise.
35115         * locale/localeinfo.h: Likewise.
35116         * mach/devstream.c: Likewise.
35117         * malloc/arena.c: Likewise.
35118         * malloc/set-freeres.c: Likewise.
35119         * misc/err.c: Likewise.
35120         * misc/getttyent.c: Likewise.
35121         * misc/mntent_r.c: Likewise.
35122         * posix/getopt.c: Likewise.
35123         * posix/wordexp.c: Likewise.
35124         * pwd/fgetpwent_r.c: Likewise.
35125         * resolv/Versions: Likewise.
35126         * resolv/res_hconf.c: Likewise.
35127         * shadow/fgetspent_r.c: Likewise.
35128         * shadow/putspent.c: Likewise.
35129         * stdio-common/printf_fphex.c: Likewise.
35130         * stdio-common/tmpfile.c: Likewise.
35131         * stdlib/abort.c: Likewise.
35132         * stdlib/fmtmsg.c: Likewise.
35133         * sunrpc/auth_unix.c: Likewise.
35134         * sunrpc/clnt_perr.c: Likewise.
35135         * sunrpc/clnt_tcp.c: Likewise.
35136         * sunrpc/clnt_udp.c: Likewise.
35137         * sunrpc/clnt_unix.c: Likewise.
35138         * sunrpc/openchild.c: Likewise.
35139         * sunrpc/svc_simple.c: Likewise.
35140         * sunrpc/svc_tcp.c: Likewise.
35141         * sunrpc/svc_udp.c: Likewise.
35142         * sunrpc/svc_unix.c: Likewise.
35143         * sunrpc/xdr.c: Likewise.
35144         * sunrpc/xdr_array.c: Likewise.
35145         * sunrpc/xdr_rec.c: Likewise.
35146         * sunrpc/xdr_ref.c: Likewise.
35147         * sunrpc/xdr_stdio.c: Likewise.
35148
35149 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
35150
35151         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
35152
35153 2011-07-03  Andreas Jaeger  <aj@suse.de>
35154
35155         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
35156         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
35157         regenerate with gen-libm-tests.pl.
35158
35159 2010-05-12  Petr Baudis  <pasky@suse.cz>
35160
35161         [BZ #11589]
35162         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
35163         around j0() zero points by switching to j1().
35164         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
35165         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
35166         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
35167         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
35168
35169 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
35170
35171         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
35172         instead of 0.
35173         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
35174         instead of 0.
35175         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
35176         Patch in part by Pavel Roskin <proski@gnu.org>.
35177
35178         [BZ #13138]
35179         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
35180         realloc.
35181         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
35182         Free memory block if necessary.
35183
35184         [BZ #12847]
35185         * libio/genops.c (INTDEF): For string streams the _lock pointer can
35186         be NULL.  Don't lock in this case.
35187
35188 2011-09-09  Roland McGrath  <roland@hack.frob.com>
35189
35190         * elf/elf.h (ELFOSABI_GNU): New macro.
35191         (ELFOSABI_LINUX): Define to that.
35192
35193 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
35194
35195         * string/strncat.c (strncat): Undef the symbol in case it has been
35196         defined in bits/string.h.
35197
35198 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
35199
35200         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
35201
35202         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
35203         link map.
35204
35205 2011-08-17  Andreas Jaeger  <aj@suse.de>
35206
35207         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
35208
35209 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
35210             Ian Lance Taylor  <iant@google.com>
35211
35212         * math/libm-test.inc (lround_test): New testcase.
35213         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
35214
35215 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
35216
35217         * Makefile: Remove support for automatic cvs check-ins.
35218         * Makerules: Likewise.
35219         * config.make.in: Likewise.
35220         * configure.in: Likewise.
35221         * intl/Makefile: Likewise.
35222         * locale/Makefile: Likewise.
35223         * po/Makefile: Likewise.
35224         * posix/Makefile: Likewise.
35225         * sysdeps/gnu/Makefile: Likewise.
35226         * sysdeps/mach/hurd/Makefile: Likewise.
35227         * sysdeps/sparc/sparc32/Makefile: Likewise.
35228
35229         [BZ #13118]
35230         * posix/Makefile (bug-regex32-ENV): Define.
35231         Patch by John Stanley <jpsinthemix@verizon.net>.
35232
35233         * misc/Makefile (headers): Add bits/select2.h.
35234         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
35235         * misc/bits/select2.h: New file.
35236         * include/bits/select2.h: New file.
35237         * debug/Makefile (routines): Add fdelt_chk.
35238         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
35239         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
35240         FD_ISSET.
35241         * debug/fdelt_chk.c: New file.
35242
35243         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
35244         * wcsmbs/test-wmemcmp.c: Likewise.
35245         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
35246         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
35247
35248 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
35249
35250         * string/Makefile (strop-tests): Add memcmp.
35251         * string/test-wmemcmp.c: New file.
35252         * string/test-memcmp.c: Add wmemcmp support.
35253
35254 2011-09-08  Roland McGrath  <roland@hack.frob.com>
35255
35256         [BZ #13153]
35257         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
35258         2011-07-19 change.
35259
35260         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
35261         garbage value in a __mach_port_mod_refs call in the cases of the
35262         task-self and thread-self ports.
35263
35264 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
35265
35266         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
35267
35268 2011-09-08  Andreas Schwab  <schwab@redhat.com>
35269
35270         * elf/dl-load.c (lose): Check for non-null L.
35271
35272 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
35273
35274         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
35275
35276         * elf/dl-libc.c (dlerror_run): Pass back error code from
35277         dl_catch_error.
35278
35279         [BZ #13123]
35280         * elf/dl-load.c (lose): Free l_origin if it is valid.
35281
35282         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
35283         names.
35284         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
35285         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
35286         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
35287         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
35288         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
35289         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
35290
35291 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35292
35293         * sysdeps/powerpc/fpu/e_hypot.c: New file.
35294         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
35295         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
35296         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
35297         * sysdeps/powerpc/fpu/k_cosf.c: New file.
35298         * sysdeps/powerpc/fpu/k_sinf.c: New file.
35299         * sysdeps/powerpc/fpu/s_cosf.c: New file.
35300         * sysdeps/powerpc/fpu/s_sinf.c: New file.
35301         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
35302         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
35303
35304 2011-08-15  Alan Modra  <amodra@gmail.com>
35305
35306         [BZ #13092]
35307         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
35308         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
35309         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
35310         ppc_mcount to static-only-routines.
35311         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
35312         __mcount_internal.
35313         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
35314         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
35315
35316 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
35317
35318         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
35319         for finite and infinity parameters.
35320
35321 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
35322
35323         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
35324         and add nop instructions for throughput optimization.
35325         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
35326
35327 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
35328
35329         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
35330         aligned copy for power7 with vector-scalar instructions.
35331         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
35332
35333 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
35334
35335         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
35336         AVX check.
35337
35338 2011-09-07  Andreas Schwab  <schwab@redhat.com>
35339
35340         [BZ #13144]
35341         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
35342         last change.
35343
35344 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
35345
35346         * sysdeps/unix/sysv/linux/x86_64/init-first.c
35347         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
35348         syscall wrapper around clock_gettime in __vdso_clock_gettime.
35349         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
35350         clock_gettime.
35351
35352 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
35353
35354         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
35355         Forgot to demangle the pointer.
35356
35357         * sysdeps/i386/sysdep.h: Define atom_text_section.
35358         * sysdeps/x86_64/sysdep.h: Likewise.
35359         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
35360         section with atom_text_section.
35361         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
35362         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
35363         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
35364         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
35365         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
35366
35367         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
35368         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
35369         already be defined.  Change to take two parameters and don't assign
35370         result to variable.  Adjust all users.
35371         Define INTERNAL_GETTIME if not already defined.
35372         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
35373         call.
35374         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
35375         HAVE_CLOCK_GETTIME_VSYSCALL.
35376         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
35377
35378         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
35379         gettimeofday vsyscall, just use time.
35380
35381 2011-09-06  Andreas Schwab  <schwab@redhat.com>
35382
35383         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
35384         <errno.h>.
35385
35386 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
35387
35388         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
35389         syscall on x86-64.
35390         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
35391         syscall.
35392         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
35393         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
35394         syscall if possible.
35395
35396 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
35397
35398         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
35399         e_ident.  Don't pass to find_mapsXX.
35400         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
35401
35402 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
35403
35404         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
35405         strchr-sse2-no-bsf strrchr-sse2-no-bsf
35406         * sysdeps/x86_64/multiarch/strchr.S: Update.
35407         Check bit_slow_BSF bit.
35408         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
35409         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
35410         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
35411
35412 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
35413
35414         [BZ #13134]
35415         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
35416         before glibc 2.15.
35417         (tryshell): Define.
35418         (__spawni): Change last parameter to be flag.  Test
35419         SPAWN_XFLAGS_USE_PATH flag to use path or not.
35420         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
35421         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
35422         * posix/spawni.c: Likewise.
35423         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
35424         * posix/spawnp.c: Likewise.  Change normal version to use
35425         SPAWN_XFLAGS_USE_PATH.
35426         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
35427         SPAWN_XFLAGS_TRY_SHELL.
35428
35429         [BZ #13150]
35430         * posix/glob.h: Remove gcc 1.x support.
35431
35432         [BZ #13068]
35433         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
35434
35435 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
35436
35437         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
35438         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
35439         strrchr-sse2-bsf
35440         * sysdeps/i386/i686/multiarch/strchr.S: New file.
35441         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
35442         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
35443         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
35444         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
35445         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
35446
35447 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
35448
35449         * sysdeps/x86_64/wcscmp.S: New file.
35450
35451         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
35452         wcscmp-c wcscmp-sse2
35453         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
35454         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
35455         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
35456         * wcsmbs/wcscmp.c: Allow renaming.
35457
35458 2011-09-05  David S. Miller  <davem@davemloft.net>
35459
35460         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
35461         stack slot, rather than the struct return pointer slot.
35462         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
35463         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
35464         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
35465         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
35466
35467 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
35468
35469         * po/ja.po: Update from translation team.
35470
35471         [BZ #13144]
35472         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
35473         kernel in 64-bit binaries.
35474
35475 2011-09-01  David S. Miller  <davem@davemloft.net>
35476
35477         * elf/elf.h (HWCAP_SPARC_*): Move to..
35478         * sysdeps/sparc/sysdep.h: this new file and add new values.
35479         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
35480         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
35481         _DL_HWCAP_COUNT to 24.
35482         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
35483         entries.
35484         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
35485         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
35486         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
35487         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
35488         instead of magic constants.
35489         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
35490
35491 2011-08-31  David S. Miller  <davem@davemloft.net>
35492
35493         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
35494         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
35495         Reimplement to do errno handling inline.
35496         (SYSCALL_ERROR_HANDLER): New macro.
35497         (__SYSCALL_STRING): Do not do errno handling in asm.
35498         (__CLONE_SYSCALL_STRING): Delete.
35499         (__INTERNAL_SYSCALL_STRING): Delete.
35500         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
35501         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
35502         (PSEUDO): Reimplement to do errno handling inline.
35503         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
35504         (SYSCALL_ERROR_HANDLER): New macro.
35505         (__SYSCALL_STRING): Do not do errno handling in asm.
35506         (__CLONE_SYSCALL_STRING): Delete.
35507         (__INTERNAL_SYSCALL_STRING): Delete.
35508         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
35509         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
35510         i386.
35511         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
35512         (inline_syscall*): Add 'err' argument.
35513         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
35514         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
35515         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
35516         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
35517
35518         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
35519         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
35520
35521 2011-08-30  Andreas Schwab  <schwab@redhat.com>
35522
35523         * elf/rtld.c (dl_main): Relocate objects in dependency order.
35524
35525 2011-08-29  Jiri Olsa <jolsa@redhat.com>
35526
35527         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
35528         directive.
35529
35530 2011-08-24  David S. Miller  <davem@davemloft.net>
35531
35532         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
35533
35534 2011-08-24  Andreas Schwab  <schwab@redhat.com>
35535
35536         * elf/Makefile: Add rules to build and run unload8 test.
35537         * elf/unload8.c: New file.
35538         * elf/unload8mod1.c: New file.
35539         * elf/unload8mod1x.c: New file.
35540         * elf/unload8mod2.c: New file.
35541         * elf/unload8mod3.c: New file.
35542
35543         * elf/dl-close.c (_dl_close_worker): Reset private search list if
35544         it wasn't used.
35545
35546 2011-08-23  David S. Miller  <davem@davemloft.net>
35547
35548         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
35549         subtract stack bias.
35550         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
35551         %sp not %fp in calculations.
35552         (_JMPBUF_UNWINDS_ADJ): Likewise.
35553
35554         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
35555         (aio_suspend): Call it to force an exception region around the
35556         AIO_MISC_WAIT() invocation.
35557
35558 2011-08-23  Andreas Schwab  <schwab@redhat.com>
35559
35560         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
35561         backslash.
35562
35563 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
35564
35565         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
35566         protection macro.
35567         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
35568         and <dl-machine.h>.
35569         (Elf64_FuncDesc): Remove.
35570
35571 2011-08-22  David S. Miller  <davem@davemloft.net>
35572
35573         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
35574         sigaltstack check, add missing cfi directives.
35575         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
35576         missing cfi directives, and sigaltstack handling.
35577
35578 2011-08-16  Andreas Schwab  <schwab@redhat.com>
35579
35580         [BZ #11724]
35581         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
35582         object is seen twice.
35583         * elf/dl-fini.c (_dl_sort_fini): Likewise.
35584
35585         * elf/Makefile (distribute): Add tst-initorder2.c.
35586         (tests): Add tst-initorder2.
35587         (modules-names): Add tst-initorder2a tst-initorder2b
35588         tst-initorder2c tst-initorder2d.  Add rules to build them.
35589         ($(objpfx)tst-initorder2.out): New rule.
35590         * elf/tst-initorder2.c: New file.
35591         * elf/tst-initorder2.exp: New file.
35592
35593 2011-08-22  Andreas Schwab  <schwab@redhat.com>
35594
35595         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
35596
35597         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
35598         dependencies back to end of function.
35599
35600         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
35601         $(elfobjdir)/ld.so.
35602
35603 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
35604
35605         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
35606         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
35607         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
35608         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
35609         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
35610         of __vdso_gettimeofday.
35611         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
35612         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
35613         attribute_hidden.
35614         (_libc_vdso_platform_setup): Remove initialization of
35615         __vdso_gettimeofday and __vdso_time.
35616
35617 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
35618
35619         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
35620         and fgetc_unlocked.
35621         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
35622         getc_unlocked.
35623
35624         * elf/dl-open.c (add_to_global): Report additions to the global scope
35625         for LD_DEBUG=scopes.
35626         (dl_open_worker): Also print scope of newly loaded dependencies.
35627         (_dl_show_scope): Indicate if there is no scope.
35628
35629         [BZ #13114]
35630         * stdio-common/Makefile (tests): Add bug24.
35631         * stdio-common/bug24.c: New file.
35632
35633 2011-08-19  Andreas Jaeger  <aj@suse.de>
35634
35635         [BZ #13114]
35636         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
35637         non-existant file when using close-on-exec mode.
35638
35639 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
35640
35641         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
35642         the very first instruction.
35643
35644         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
35645         the CFI state in the end.
35646         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
35647         inclusion of dl-trampoline.h.
35648         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
35649
35650 2011-08-19  Andreas Schwab  <schwab@redhat.com>
35651
35652         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
35653         expectations for long double.
35654
35655         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
35656         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
35657
35658 2011-08-14  David S. Miller  <davem@davemloft.net>
35659
35660         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
35661         artificual limit depends upon the system page size.
35662
35663 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
35664
35665         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
35666         * resolv/Makefile: Define CFLAGS-libresolv.
35667
35668 2011-08-17  Andreas Schwab  <schwab@redhat.com>
35669
35670         * nss/makedb.c (compute_tables): Make variables used in nested
35671         function static.
35672
35673 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
35674
35675         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
35676         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
35677         if buffer was too small.
35678
35679         * elf/pldd.c (main): Attach to all threads in the process.
35680         Rewrite /proc handling to use *at functions.
35681
35682 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
35683
35684         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
35685         specifies first scope to show.
35686         (dl_open_worker): Update callers.  Move printing scope of new
35687         object to before the relocation.
35688         * elf/rtld.c (dl_main): Update _dl_show_scope call.
35689         * sysdeps/generic/ldsodefs.h: Update declaration.
35690
35691         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
35692         string for the scope number.
35693
35694 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
35695
35696         * nscd/servicescache.c (cache_addserv): Make sure written is always
35697         initialized.
35698
35699 2011-08-14  Roland McGrath  <roland@hack.frob.com>
35700
35701         * sysdeps/i386/i486/bits/atomic.h
35702         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
35703         statement expression, so as to suppress "set but not used" warning.
35704         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
35705
35706         * string/strncat.c (STRNCAT): Use prototype definition.
35707
35708         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
35709         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
35710         -Iprograms here.
35711         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
35712         (localedef-modules): Add localedef.
35713         (locale-modules): Add locale.
35714
35715         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
35716         * elf/rtld.c (dl_main): Invert order of assignment in last change,
35717         to avoid a warning.
35718
35719 2011-08-14  David S. Miller  <davem@davemloft.net>
35720
35721         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
35722         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
35723
35724 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
35725
35726         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
35727         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
35728         * elf/rtld.c (dl_main): Set l_name of vDSO.
35729         Call _dl_show_scope when DL_DEBUG_SCOPES.
35730         (process_dl_debug): Recognize scopes flag and also set it for all.
35731         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
35732         Declare _dl_show_scope.
35733
35734         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
35735         (do_dlopen): Pass caller_dlopen to dl_open.
35736         (__libc_dlopen_mode): Initialize caller_dlopen.
35737
35738         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
35739         of libc.  Make tolower call locale-independent.  Optimize a bit by
35740         using isdigit instead of isalnum.
35741         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
35742
35743 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
35744
35745         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
35746         was a dependency or dynamically loaded.
35747
35748 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
35749
35750         * intl/l10nflist.c: Allow architecture-specific pop function.
35751         * sysdeps/x86_64/l10nflist.c: New file.
35752
35753         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
35754         classification.
35755
35756 2011-08-10  Andreas Schwab  <schwab@redhat.com>
35757
35758         * include/dirent.h: Add libc_hidden_proto for scandirat and
35759         scandirat64.  Don't declare __scandirat64.
35760         * dirent/scandirat.c: Add libc_hidden_def.
35761         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
35762         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
35763
35764 2011-08-10  David S. Miller  <davem@davemloft.net>
35765
35766         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
35767         enum.
35768         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
35769         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
35770         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
35771
35772 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
35773
35774         * Versions.def [libc]: Add GLIBC_2.15.
35775         * dirent/Makefile (routines): Add scandirat and scandirat64.
35776         * dirent/Versions [libc]: Export scandirat and scandirat64 for
35777         GLIBC_2.15.
35778         * dirent/dirent.h: Declare scandirat and scandirat64.
35779         * dirent/scandirat.c: New file.
35780         * dirent/scandirat64.c: New file.
35781         * sysdeps/wordsize-64/scandirat.c: New file.
35782         * sysdeps/wordsize-64/scandirat64.c: New file.
35783         * dirent/opendir.c: Define opendirat.
35784         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
35785         using scandirat.
35786         * dirent/scandir64.c: Adjust for scandir.c change.
35787         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
35788         __scandirat64, and __scandir_cancel_handler.
35789         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
35790         additional parameter and use openat instead of open (outside of ld.so).
35791         Add new __opendir as wrapper around __opendirat.
35792         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
35793         here without requiring old scandirat implementation.
35794
35795 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
35796
35797         * dirent/scandir.c (cancel_handler): Renamed to
35798         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
35799         defined.  Adjust users.
35800         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
35801         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
35802
35803 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
35804
35805         * string/test-string.h (IMPL): Use __STRING to expand name and then
35806         stringify it.
35807
35808         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
35809         of cleanups.
35810
35811 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
35812
35813         * string/Makefile: Update.
35814         (strop-tests): Append strncat.
35815         * string/test-wcscmp.c: New file.
35816         New comprehensive test for wcscmp.
35817         * string/test-strcmp.c: Update.
35818         (WIDE): New define.
35819
35820 2011-07-22  Andreas Schwab  <schwab@redhat.com>
35821
35822         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
35823         line.
35824
35825 2011-07-26  Andreas Schwab  <schwab@redhat.com>
35826
35827         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
35828         encoding to ACE if AI_IDN.
35829
35830 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
35831
35832         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
35833         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
35834
35835 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
35836
35837         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
35838         Fix overflow bug in strncat.
35839         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
35840
35841         * string/test-strncat.c: Update.
35842         Add new tests for checking overflow bugs.
35843
35844 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
35845
35846         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
35847         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
35848         * sysdeps/i386/i686/multiarch/strcat.S: New file.
35849         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
35850         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
35851         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
35852         * sysdeps/i386/i686/multiarch/strncat.S: New file.
35853         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
35854         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
35855
35856         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
35857         (USE_AS_STRCAT): Define.
35858         Add strcat and strncat support.
35859         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
35860
35861 2011-07-25  Andreas Schwab  <schwab@redhat.com>
35862
35863         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
35864         __n bigger than INT_MAX+1.
35865         (__strncmp_g): Likewise.
35866
35867 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
35868
35869         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
35870         * libio/stido.h: Likewise.
35871
35872         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
35873         (AF_NFC): Define.
35874         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
35875         (AF_NFC): Define.
35876
35877         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
35878         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
35879         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
35880         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
35881         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
35882
35883         [BZ #13021]
35884         * scripts/test-installation.pl: Don't expect libnss_test1 to be
35885         installed.
35886
35887         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
35888         typo.
35889         (_dl_x86_64_save_sse): Likewise.
35890
35891 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
35892
35893         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
35894         OSXSAVE.
35895         (_dl_x86_64_save_sse): Likewise.
35896
35897         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
35898
35899         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
35900
35901 2011-07-21  Andreas Schwab  <schwab@redhat.com>
35902
35903         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
35904         change.
35905         (_dl_x86_64_save_sse): Use correct AVX check.
35906
35907 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
35908
35909         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
35910         bug in strncpy/strncat.
35911         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
35912
35913 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
35914
35915         * string/tester.c (test_strcat): Add tests for different alignments
35916         of source and destination.
35917         (test_strncat): Likewise.
35918
35919 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
35920
35921         [BZ #12852]
35922         * posix/glob.c (glob): Check passed in values before using them in
35923         expressions to avoid some overflows.
35924         (glob_in_dir): Likewise.
35925
35926         [BZ #13007]
35927         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
35928         check for AVX enablement so that we don't crash with old kernels and
35929         new hardware.
35930         * elf/tst-audit4.c: Add same checks here.
35931         * elf/tst-audit6.c: Likewise.
35932
35933         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
35934
35935 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
35936
35937         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
35938
35939 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
35940
35941         * po/cs.po: Update from translation team.
35942         * po/bg.po: Likewise.
35943
35944 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
35945
35946         * misc/sys/cdefs.h: Add support for const attribute.
35947         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
35948         to gnu_dev_{major,minor,makedev} functions.
35949
35950 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
35951
35952         * intl/dcigettext.c (get_output_charset): Add missing bracket.
35953
35954 2011-07-20  Andreas Schwab  <schwab@redhat.com>
35955
35956         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
35957         strlen results.
35958
35959 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
35960
35961         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
35962         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
35963         register in order to avoid conflicts with the soft frame pointer
35964         being held in r11 when necessary.
35965         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
35966         (INTERNAL_VSYSCALL_NCS): Likewise.
35967
35968 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
35969
35970         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
35971         * elf/dl-fini.c (_dl_fini): Adjust caller.
35972         * elf/dl-close.c (_dl_close_worker): Likewise.
35973         * sysdeps/generic/ldsodefs.h: Adjust declaration.
35974
35975 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
35976
35977         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
35978         "aux_cache->nlibs < 0".
35979
35980         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
35981         in the reload-count case.
35982
35983 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
35984
35985         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
35986         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
35987         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
35988         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
35989         * sysdeps/x86_64/multiarch/strcat.S: New file.
35990         * sysdeps/x86_64/multiarch/strncat.S: New file.
35991         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
35992         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
35993         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
35994         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
35995         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
35996         (USE_AS_STRCAT): Define.
35997         Add strcat and strncat support.
35998         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
35999         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
36000         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
36001         * string/strncat.c: Update.
36002         (USE_AS_STRNCAT): Define.
36003         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
36004         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
36005         and i7.
36006         * sysdeps/x86_64/multiarch/init-arch.h
36007         (bit_Prefer_PMINUB_for_stringop): New.
36008         (index_Prefer_PMINUB_for_stringop): Likewise.
36009         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
36010         bit_Prefer_PMINUB_for_stringop.
36011
36012 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
36013
36014         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
36015         buffer64.
36016         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
36017         of casting of buffer.
36018         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
36019         buffer32 and buffer64.
36020         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
36021         writes instead of casting of buffer.
36022         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
36023         buffer32.
36024         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
36025         casting of buffer.
36026
36027 2011-07-19  Andreas Schwab  <schwab@redhat.com>
36028
36029         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
36030
36031 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
36032
36033         * nscd/nscd.c (termination_handler): Don't do anything for a database
36034         if it has not yet been initialized.
36035
36036 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
36037
36038         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
36039
36040 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
36041
36042         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
36043
36044 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
36045
36046         * po/nl.po: Update from translation team.
36047         * po/sv.po: Likewise.
36048
36049 2011-07-16  Roland McGrath  <roland@hack.frob.com>
36050
36051         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
36052         now disallowed by GCC.
36053
36054         * configure.in (use-default-link): Default to yes if a test -shared
36055         link meets our qualifications.
36056         * configure: Regenerated.
36057
36058         * config.make.in (output-format): New variable.
36059         * configure.in: Check for ld --print-output-format support.
36060         * configure: Regenerated.
36061         * Makerules ($(common-objpfx)format.lds)
36062         [$(output-format) != unknown]: Just use $(output-format),
36063         instead of the linker-script munging.
36064
36065 2011-07-14  Roland McGrath  <roland@hack.frob.com>
36066
36067         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
36068         of $(common-objpfx)shlib.lds.
36069         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
36070
36071         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
36072         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
36073
36074         * configure.in (-z relro check): Adjust test code to add a large
36075         writable data section after it.
36076         * configure: Regenerated.
36077
36078 2011-07-11  Roland McGrath  <roland@hack.frob.com>
36079
36080         * configure.in (-z relro check): Fix test code to make the variable
36081         truly const.
36082         * configure: Regenerated.
36083
36084 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
36085
36086         * nscd/nscd.h (struct traced_file): Define.
36087         (struct database_dyn): Remove inotify_descr, reset_res, and filename
36088         elements.  Add traced_files.
36089         (inotify_fd): Declare.
36090         (register_traced_file): Declare.
36091         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
36092         (inotify_fd): Export.
36093         (resolv_conf_descr): Remove.
36094         (nscd_init): Move inotify descriptor creation to main.
36095         Don't register files for notification here.
36096         (register_traced_file): New function.
36097         (invalidate_cache): Don't use reset_res to determine whether to call
36098         res_init, go through the list of registered files.
36099         (main_loop_poll): The inotify descriptors are now stored in the
36100         structures for the traced files.
36101         (main_loop_epoll): Likewise
36102         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
36103         to __nss_disable_nscd.
36104         * nscd/cache.c (prune_cache): There is no single inotify descriptor
36105         for a database anymore.  Check the records for all the registered
36106         files instead.
36107         * nss/Makefile (libnss_files-routines): Add files-init.
36108         (libnss_db-routines): Add db-init.
36109         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
36110         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
36111         * nss/nss_db/db-init.c: New file.
36112         * nss/nss_files/files-init.c: New file.
36113         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
36114         __nss_lookup_function.
36115         (__nss_lookup_function): Call nss_load_library.
36116         (nss_load_all_libraries): New function.
36117         (__nss_disable_nscd): Take parameter with callback function for files
36118         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
36119         used for the cached services.
36120         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
36121         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
36122         options for features to all the files in nscd.
36123
36124         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
36125
36126 2011-07-10  Roland McGrath  <roland@hack.frob.com>
36127
36128         * csu/elf-init.c (__libc_csu_init): Comment typo.
36129
36130 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
36131
36132         * po/pl.po: Update from translation team.
36133         * po/ja.po: Likewise.
36134         * po/ru.po: Likewise.
36135         * po/ko.po: Likewise.
36136         * po/fr.po: Likewise.
36137
36138 2011-07-09  Roland McGrath  <roland@hack.frob.com>
36139
36140         * configure.in (.ctors/.dtors header and trailer check):
36141         Use an empirical test on a built program.
36142         * configure: Regenerated.
36143
36144         * configure.in (-z relro check): Use an empirical test on a built DSO.
36145         Detect, but do not require, on ia64.
36146         * configure: Regenerated.
36147
36148         * configure.in (READELF): Find it with AC_CHECK_TOOL.
36149         Update tests that use readelf to use $READELF instead.
36150         * configure: Regenerated.
36151
36152 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
36153
36154         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
36155         if the result is not used.
36156
36157 2011-07-05  Andreas Jaeger  <aj@suse.de>
36158
36159         [BZ#9696]
36160         * stdlib/tst-strtod.c: Add testcase.
36161
36162 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
36163
36164         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
36165         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
36166         The latter has a higher limit.  Take additional parameter to pass to
36167         the new function.
36168         (__pathconf): Pass file to __statfs_link_max.
36169         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
36170         __statfs_link_max.
36171         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
36172         __statfs_link_max.
36173
36174         [BZ #12868]
36175         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
36176         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
36177         Handle Lustre.
36178         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
36179         (__statfs_filesize_max): Likewise.
36180         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
36181
36182 2011-07-05  Andreas Jaeger  <aj@suse.de>
36183
36184         * resolv/res_comp.c (dn_skipname): Remove unused variable.
36185
36186 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
36187
36188         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
36189         `status' variable.
36190         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
36191         Likewise.
36192
36193 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
36194
36195         * Makefile (strop-tests): Add strncat.
36196         * string/test-strncat.c: New file.
36197
36198 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
36199
36200         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
36201
36202 2011-06-21  Andreas Jaeger  <aj@suse.de>
36203
36204         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
36205         Copy rule from iconvdata/Makefile.
36206
36207 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
36208
36209         [BZ #12922]
36210         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
36211         but no long options are defined, just return 'W'.
36212
36213 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
36214
36215         [BZ #9696]
36216         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
36217
36218 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
36219
36220         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
36221         netgroups to read.
36222         (innetgr): Likewise.
36223
36224 2011-07-05  Roland McGrath  <roland@hack.frob.com>
36225
36226         * config.make.in (install_root): Default to $(DESTDIR).
36227
36228 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
36229
36230         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
36231
36232 2011-07-02  Roland McGrath  <roland@hack.frob.com>
36233
36234         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
36235
36236         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
36237         containing directory rather than embedding absolute directory names.
36238
36239         * scripts/check-local-headers.sh: Rewritten using awk.
36240         Match by word, not by line.  Print error messages for matches.
36241         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
36242
36243         * Makerules [shlib-lds-flags empty]:
36244         ($(common-objpfx)libc_pic.opts): New target.
36245         ($(common-objpfx)libc_pic.os.clean): New target.
36246         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
36247
36248         * config.make.in (OBJCOPY): New variable.
36249         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
36250         * configure: Regenerated.
36251
36252         * config.make.in (use-default-link): New variable.
36253         * configure.in (use_default_link): Grok --with-default-link to set it.
36254         * configure: Regenerated.
36255         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
36256         (shlib-lds, shlib-lds-flags): Define to empty.
36257
36258         * Makerules (shlib-lds): New variable.
36259         (shlib-lds-flags): New variable.
36260         (build-shlib, build-moduile, build-module-asneeded): Use it.
36261         ($(common-objpfx)libc.so): Use $(shlib-lds).
36262         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
36263         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
36264
36265         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
36266         DT_FLAGS/DT_FLAGS_1 with zero flags.
36267
36268         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
36269         linker script munging.
36270
36271 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
36272
36273         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
36274         as 128-bit value.
36275         * crypt/sha512.c (sha512_process_block): Perform total addition using
36276         128-bit if possible.
36277         (__sha512_finish_ctx): Likewise.
36278         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
36279         as 64-bit value.
36280         * crypt/sha256.c (SWAP64): Define.
36281         (sha256_process_block): Perform total addition using 64-bit if
36282         possible.
36283         (__sha256_finish_ctx): Likewise.
36284
36285 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
36286
36287         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
36288         * nscd/initgrcache.c (addinitgroupsX): Likewise.
36289         * nscd/hstcache.c (cache_addhst): Likewise.
36290         * nscd/grpcache.c (cache_addgr): Likewise.
36291         * nscd/aicache.c (addhstaiX): Likewise
36292         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
36293
36294 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
36295
36296         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
36297         * nscd/initgrcache.c (addinitgroupsX): Likewise.
36298         * nscd/hstcache.c (cache_addhst): Likewise.
36299         * nscd/grpcache.c (cache_addgr): Likewise.
36300         * nscd/aicache.c (addhstaiX): Likewise
36301
36302 2011-07-01  Andreas Schwab  <schwab@redhat.com>
36303
36304         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
36305         domain only when needed.
36306
36307 2011-06-30  Andreas Schwab  <schwab@redhat.com>
36308
36309         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
36310         is always restored.
36311
36312 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
36313
36314         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
36315         are re-adding the entry.
36316         * nscd/servicescache.c (cache_addserv): Likewise.
36317
36318 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
36319
36320         * sysdeps/generic/dl-irel.h: fix protection against multiple
36321         inclusions.
36322         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
36323
36324 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
36325
36326         [BZ #12935]
36327         * malloc/memusage.sh: Fix quoting in message.
36328         * debug/xtrace.sh: Likewise.
36329
36330         * configure.in: Remove support for --experimental-malloc option, make
36331         it the default.
36332         * config.make.in: Likewise.
36333         * malloc/Makefile: Likewise.
36334
36335 2011-06-27  Andreas Schwab  <schwab@redhat.com>
36336
36337         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
36338         two-byte characters.
36339
36340 2011-06-27  Roland McGrath  <roland@hack.frob.com>
36341
36342         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
36343         AC_CACHE_CHECK invocation.
36344         * configure: Regenerated.
36345
36346         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
36347
36348 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
36349
36350         [BZ #12350]
36351         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
36352         bit from old_res_options.
36353
36354         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
36355
36356         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
36357         value type for setfct.
36358
36359 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
36360
36361         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
36362         __gettimeofday instead of gettimeofday.
36363
36364 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
36365
36366         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
36367
36368 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
36369
36370         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
36371
36372         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
36373         info.
36374
36375 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
36376
36377         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
36378         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
36379         strcpy-sse2-unaligned strncpy-sse2-unaligned
36380         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
36381         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
36382         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
36383         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
36384         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
36385         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
36386         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
36387         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
36388         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
36389         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
36390         (STRCPY): Support SSE2 and SSSE3 versions.
36391
36392 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
36393
36394         [BZ #12874]
36395         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
36396         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
36397         kernels which artificially limit size of requests.
36398
36399 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
36400
36401         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
36402         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
36403         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
36404         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
36405         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
36406         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
36407         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
36408         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
36409         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
36410         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
36411         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
36412         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
36413         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
36414         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
36415         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
36416         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
36417         Enable unaligned load optimization for Intel Core i3, i5 and i7
36418         processors.
36419         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
36420         Define.
36421         (index_Fast_Unaligned_Load): Define.
36422         (HAS_FAST_UNALIGNED_LOAD): Define.
36423
36424 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
36425
36426         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
36427
36428 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
36429
36430         [BZ #12907]
36431         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
36432         until it is clear that the information is realy needed.
36433         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
36434
36435 2011-06-22  Andreas Schwab  <schwab@redhat.com>
36436
36437         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
36438
36439 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
36440
36441         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
36442         /sys/devices/system/cpu/online if it is usable.
36443
36444         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
36445         reading the information from the /proc filesystem to once a second.
36446
36447 2011-06-21  Andreas Jaeger  <aj@suse.de>
36448
36449         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
36450         NULL after inclusion of kernel headers.
36451
36452 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
36453
36454         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
36455         calls to internal_setent.
36456
36457         [BZ #12885]
36458         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
36459         addresses using gethostbyname4_r ignore IPv4 addresses.
36460
36461         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
36462         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
36463
36464         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
36465
36466 2011-06-20  David S. Miller  <davem@davemloft.net>
36467
36468         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
36469         inclusions.
36470         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
36471
36472         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
36473         (elf_irel): Use it.
36474         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
36475         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
36476         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
36477         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
36478         * sysdeps/x86_64/dl-irel.h: Likewise.
36479
36480         * elf/dl-runtime.c: Use elf_ifunc_invoke.
36481         * elf/dl-sym.c: Likewise.
36482
36483 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
36484
36485         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
36486         need to dereference resplen2.
36487
36488 2011-06-14  Andreas Schwab  <schwab@redhat.com>
36489
36490         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
36491
36492 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
36493
36494         * Makeconfig: Define vardbdir and inst_vardbdir.
36495         * nss/Makefile: Add rules to install db-Makefile.
36496
36497         * nss/nss_db/db-XXX.c: Cleanup.
36498
36499         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
36500         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
36501         GLIBC_PRIVATE.
36502         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
36503         * nss/makedb.c: Implement -g option to specify that value strings
36504         are generated and should not be added to table iterated over for
36505         get*ent calls.
36506         * nss/nss_db/db-initgroups.c: New file.
36507
36508         * nss/getent.c: Add support for initgroups lookups through getgrouplist
36509         interface.
36510
36511         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
36512         (internal_getgrouplist): Adjust to name change.
36513         Update use_initgroups_entry if this is not the first call.
36514         * nss/databases.def: Add initgroups entry.
36515
36516         * nss/makedb.c (compute_tables): Check result of multiple hash table
36517         sizes to minimize maximum chain length.
36518
36519 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
36520
36521         * Versions.def: Add entry for libnss_db.
36522         * shlib-versions: Likewise.
36523         * nss/Makefile: Add rules to build libnss_db.
36524         * nss/Versions: Add libnss_db information.  Organize libnss_files
36525         entries better.
36526         * nss/db-Makefile: Add gshadow support.  Change rules for the new
36527         makedb progra.  Some minor improvements to generate smaller files.
36528         * nss/nss_db/nss_db.h: Move NSS database header data structures to
36529         here from...
36530         * nss/makedb.c: ...here.
36531         Improve database format to be smaller and require less memory at
36532         runtime.
36533         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
36534         db anymore.
36535         * nss/nss_db/db-netgrp.c: Likewise.
36536         * nss/nss_db/db-open.c: Likewise.
36537         * nss/nss_files/flies-XXX.x: Adjust comments.
36538         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
36539         * nss/nss_files/files-grp.c: Likewise.
36540         * nss/nss_files/files-hosts.c: Likewise.
36541         * nss/nss_files/files-network.c: Likewise.
36542         * nss/nss_files/files-proto.c: Likewise.
36543         * nss/nss_files/files-pwd.c: Likewise.
36544         * nss/nss_files/files-rpc.c: Likewise.
36545         * nss/nss_files/files-service.c: Likewise.
36546         * nss/nss_files/files-sgrp.c: Likewise.
36547         * nss/nss_files/files-spwd.c: Likewise.
36548         * nss/nss_db/db-alias.c: Removed.
36549         * nss/nss_db/dummy-db.h: Removed.
36550
36551 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
36552
36553         * nss/makedb.c: Rewritten to not use database library.
36554         * nss/Makefile: Update to build new makedb program.
36555
36556 2011-06-14  Andreas Jaeger  <aj@suse.de>
36557
36558         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
36559         memset declaration.
36560
36561 2011-06-10  Andreas Schwab  <schwab@redhat.com>
36562
36563         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
36564         tmpbuf.
36565
36566 2011-06-10  Roland McGrath  <roland@hack.frob.com>
36567
36568         * Makerules (shlib.lds): Fail if the linker script comes out empty.
36569         * elf/Makefile ($(objpfx)ld.so): Likewise.
36570
36571         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
36572         Don't list ld.so twice in dependencies.
36573
36574         * posix/bug-regex31.c: Include <stdlib.h>.
36575
36576         * nscd/hstcache.c (cache_addhst): Remove unused variable.
36577
36578         * nis/nss_compat/compat-spwd.c
36579         (getspent_next_nss_netgr): Remove unused variable.
36580         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
36581
36582         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
36583         nonmembers" output to use the right array.
36584
36585         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
36586
36587         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
36588
36589         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
36590         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
36591         * catgets/gencat.c (read_input_file): Likewise.
36592         * locale/programs/locarchive.c (enlarge_archive): Likewise.
36593
36594         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
36595         variable definition inside #if's controlling its use.
36596
36597         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
36598
36599         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
36600
36601         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
36602
36603         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
36604         unreachable code.
36605
36606         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
36607
36608         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
36609         * configure: Regenerated.
36610
36611         * Makerules: Revert last change.
36612         * elf/Makefile: Likewise.
36613
36614 2011-06-09  Roland McGrath  <roland@hack.frob.com>
36615
36616         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
36617         * elf/Makefile ($(objpfx)librtld.os): Likewise.
36618         (reloc-link): Likewise.
36619
36620 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
36621
36622         * elf/Makefile: Add rules to build pldd.
36623         * elf/pldd.c: New file.
36624         * elf/pldd-xx.c: New file.
36625
36626 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
36627
36628         * version.h: Update for 2.15 development version.
36629
36630 2011-06-07  David S. Miller  <davem@davemloft.net>
36631
36632         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
36633         ifuncs.
36634         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
36635         elf_machine_lazy_rel): Likewise.
36636         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
36637         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
36638         elf_machine_lazy_rel): Likewise.
36639         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
36640         dl_hwcap via passed in argument.
36641         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
36642         Likewise.
36643
36644 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
36645
36646         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
36647
36648 2011-06-06  Roland McGrath  <roland@hack.frob.com>
36649
36650         [BZ #12849]
36651         * manual/fdl-1.1.texi: New file, verbatim from:
36652         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
36653         * manual/lgpl-2.1.texi: New file, verbatim from:
36654         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
36655         * manual/Makefile (licenses): New variable, list those new file names.
36656         (texis): Use it.
36657         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
36658
36659         * manual/fdl.texi: File removed.
36660         * manual/lesser.texi: File removed.
36661         * manual/libc.texinfo (Copying, Documentation License):
36662         Use new @include file names, put @appendix directive before @include.
36663
36664 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
36665
36666         [BZ #12841]
36667         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
36668         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
36669         (mq_open): Add __NTH.
36670
36671 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
36672
36673         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
36674         Assume Intel Core i3/i5/i7 processor if AVX is available.
36675
36676 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
36677
36678         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
36679         typo.
36680
36681 2011-05-31  Andreas Schwab  <schwab@redhat.com>
36682
36683         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
36684         memory.  Use alloca_account.  Fix memory leak when retrying.
36685
36686 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
36687
36688         * version.h (RELEASE): Bump for 2.14 release.
36689         * include/features.h (__GLIBC_MINOR__): Bump to 14.
36690
36691         * config.make.in (RANLIB): Remove entry.
36692
36693 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
36694
36695         * po/Makefile (po-sed-cmd): Add ksh to extensions.
36696         (libc.pot): Work around missing support for .ksh extension in xgettext.
36697
36698         [BZ #12684]
36699         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
36700         if both request failed.
36701         (send_dg): In case of server errors clear resplen or *resplen2.
36702
36703         [BZ #12454]
36704         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
36705         when there are multiple maps.
36706         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
36707         (_dl_fini): Remove test here.
36708
36709         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
36710
36711 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
36712
36713         [BZ #12350]
36714         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
36715         bit from old_res_options.
36716         (gaih_inet): Likewise.
36717
36718         [BZ #11099]
36719         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
36720         as signed.
36721
36722         * resolv/res_init.c (res_setoptions): Make the code more compact.
36723
36724         [BZ #11558]
36725         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
36726         set RES_USEVC.
36727
36728         [BZ #11634]
36729         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
36730
36731         * malloc/malloc.h: Mark malloc hook variables as deprecated.
36732
36733         [BZ #11781]
36734         * malloc/malloc.h: Declare malloc hook variables as volatile.
36735
36736         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
36737         in last patch.
36738
36739         [BZ #11799]
36740         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
36741         raise in the comment.
36742         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
36743         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
36744         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
36745
36746 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
36747
36748         [BZ #12811]
36749         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
36750         grow the buffers more if it already has to be sufficient.
36751         (build_wcs_upper_buffer): Likewise.
36752         * posix/regexec.c (check_matching): Likewise.
36753         (clean_state_log_if_needed): Likewise.
36754         (extend_buffers): Don't enlarge buffers beyond size of the input
36755         buffer.
36756         Patches mostly by Emil Wojak <emil@wojak.eu>.
36757         * posix/bug-regex32.c: New file.
36758         * posix/Makefile (tests): Add bug-regex32.
36759
36760         * locale/findlocale.c (_nl_find_locale): Return right away if
36761         _nl_explode_name failed.
36762         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
36763
36764         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
36765
36766         * debug/xtrace.sh: Unify messages.
36767         * malloc/memusage.sh: Likewise.
36768
36769         [BZ #12813]
36770         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
36771         time symbol from vDSO.  Substitute with vsyscall if not available.
36772         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
36773         __vdso_time.
36774
36775         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
36776         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
36777         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
36778         Add sendmmsg and internal_sendmmsg.
36779         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
36780         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
36781         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
36782
36783         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
36784         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
36785         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
36786
36787 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
36788
36789         [BZ #12813]
36790         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
36791         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
36792         available.
36793         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
36794         __vdso_getcpu.
36795
36796         [BZ #12814]
36797         * iconvdata/Makefile (tests): Add bug-iconv9.
36798         * iconvdata/bug-iconv9.c: New file.
36799
36800 2011-05-27  Andreas Schwab  <schwab@redhat.com>
36801
36802         [BZ #12814]
36803         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
36804
36805 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
36806
36807         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
36808         (struct user_regs_struct): Change intcs field back to cs.
36809
36810 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
36811
36812         * po/ja.po: Update from translation team.
36813
36814 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
36815
36816         [BZ #12795]
36817         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
36818         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
36819
36820 2011-05-20  Andreas Schwab  <schwab@redhat.com>
36821
36822         * stdlib/longlong.h: Update from GCC.
36823
36824 2011-05-23  Andreas Schwab  <schwab@redhat.com>
36825
36826         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
36827         parameter name.
36828         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
36829         Add parameter name.
36830         (__sysconf): Pass it down.
36831
36832 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
36833
36834         [BZ #12671]
36835         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
36836         some situations.
36837         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
36838         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
36839         add in in __libc_use_alloca calls.  Adjust callers.
36840         (glob): Use malloc in some situations.
36841
36842         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
36843         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
36844         pltexit.
36845
36846 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
36847
36848         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
36849         and CLOCK_BOOTTIME_ALARM.
36850
36851         [BZ #12782]
36852         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
36853         is returned.
36854
36855         * string/_strerror.c (__strerror_r): Print negative errors as signed
36856         numbers.
36857
36858         [BZ #12777]
36859         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
36860         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
36861         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
36862
36863         * configure.in: Fix typo in redirection and correct removal of test
36864         files in two cases.
36865
36866         [BZ #12788]
36867         * locale/setlocale.c (new_composite_name): Fix test to check for
36868         identical name of all categories.
36869
36870         [BZ #12792]
36871         * libio/filedoalloc.c (local_isatty): New function.
36872         (_IO_file_doallocate): Use local_isatty.
36873         * stdio-common/perror.c (perror): In case a new stream is used
36874         forward the stream error.
36875         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
36876         error flag.
36877
36878 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
36879
36880         [BZ #11869]
36881         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
36882         alloca.
36883         * include/alloca.h (extend_alloca_account): Define.
36884
36885         [BZ #11857]
36886         * posix/regex.h: Fix comments with documentation of user-accessible
36887         fields after compilation and describe correct free'ing of pattern
36888         after re_compile_pattern.
36889         Patch by Reuben Thomas <rrt@sc3d.org>.
36890
36891 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
36892
36893         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
36894         and -mno-altivec to prevent the compiler from using Altivec and/or
36895         VSX instructions when the corresponding registers are not available.
36896
36897 2011-05-19  Andreas Schwab  <schwab@redhat.com>
36898
36899         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
36900
36901 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
36902
36903         * libio/freopen.c (freopen): Use __dup2, not dup2.
36904         * libio/freopen64.c (freopen64): Likewise.
36905
36906 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
36907
36908         [BZ #12775]
36909         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
36910         * math/Makefile (tests): Add test-powl.
36911         (CFLAGS-test-powl.c): Define.
36912         * math/test-powl.c: New file.
36913
36914 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
36915
36916         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
36917
36918 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
36919
36920         [BZ #11837]
36921         * iconvdata/gb18030.c: Update to GB18020-2005.
36922
36923 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
36924
36925         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
36926         RE_SYNTAX_POSIX_AWK): Update to match recent development.
36927         Patch by Aharon Robbins <arnold@skeeve.com>.
36928
36929         [BZ #11892]
36930         * stdlib/putenv.c (putenv): Don't always create copy of the variable
36931         on the stack.
36932
36933         [BZ #11895]
36934         * misc/pselect.c (__pselect): Handle timeout value errors hidden
36935         through underflows.
36936
36937         [BZ #12766]
36938         * misc/error.c (error_at_line): Ensure file_name and old_file_name
36939         point to strings before performing equality test for error_one_per_line
36940         mode.
36941
36942         [BZ #11697]
36943         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
36944
36945         [BZ #11820]
36946         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
36947         (struct user_fpregs_struct): Avoid __uint*_t types.
36948
36949         [BZ #6420]
36950         * malloc/mtrace.c (tr_where): Add additional parameter to point to
36951         symbol info.  Use it instead of calling _dl_addr locally.
36952         (lock_and_info): New function.
36953         (tr_freehook): Call lock_and_info and pass symbol info as additional
36954         parameter to tr_where.
36955         (tr_mallochook): Likewise.
36956         (tr_reallochook): Likewise.
36957         (tr_memalignhook): Likewise.
36958
36959         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
36960         used and couldn't be at all thread-safe.
36961
36962 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
36963
36964         * libio/freopen.c (freopen): Don't close old file descriptor
36965         before the new one is opened.  Instead dup the new file descriptor
36966         to the old one after the new stream is created.
36967         * libio/freopen64.c (freopen64): Likewise.
36968         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
36969         * libio/fileops.c (_IO_new_file_close_it): Handle new
36970         _IO_FLAGS2_NOCLOSE flag.
36971         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
36972         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
36973         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
36974         _IO_FLAGS2_NOCLOSE flag.
36975         * include/unistd.h: Add hidden_proto for dup3.
36976         Define __have_dup3.
36977         * io/dup3.c: Define hidden symbol.
36978         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
36979
36980         [BZ #7101]
36981         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
36982         when an incomplete long option is used.
36983         * posix/tst-getopt_long1.c: New file.
36984         * posix/Makefile (tests): Add tst-getopt_long1.
36985
36986         [BZ #10138]
36987         * scripts/config.guess: Update from autoconf-2.68.
36988         * scripts/config.sub: Likewise.
36989
36990         [BZ #10157]
36991         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
36992         tests into ...
36993         (has_cpuclock): ...this.  New function.
36994         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
36995         macro here based on has_cpuclock code.
36996
36997         [BZ #10149]
36998         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
36999         First byte (not low byte) is now always NUL.
37000         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
37001
37002         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
37003         Use non-cancelable interfaces.
37004
37005         [BZ #9809]
37006         * locale/iso-639.def: Add entry for Sorani.
37007
37008         [BZ #11901]
37009         * include/stdlib.h: Move include protection to the right place.
37010         Define abort_msg_s.  Declare __abort_msg with it.
37011         * stdlib/abort.c (__abort_msg): Adjust type.
37012         * assert/assert.c (__assert_fail_base): New function.  Majority
37013         of code from __assert_fail.  Allocate memory for __abort_msg with
37014         mmap.
37015         (__assert_fail): Now call __assert_fail_base.
37016         * assert/assert-perr.c: Remove bulk of implementation.  Use
37017         __assert_fail_base.
37018         * include/assert.hL Declare __assert_fail_base.
37019         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
37020         mmap.
37021         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
37022
37023 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
37024
37025         [BZ #11952]
37026         [BZ #12453]
37027         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
37028         until all modules are registered in the DTV.
37029         * elf/Makefile: Add rules to build and run tst-tls19.
37030         * elf/tst-tls19.c: New file.
37031         * elf/tst-tls19mod1.c: New file.
37032         * elf/tst-tls19mod2.c: New file.
37033         * elf/tst-tls19mod3.c: New file.
37034         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
37035
37036         [BZ #12083]
37037         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
37038         correctly.
37039
37040         [BZ #12601]
37041         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
37042         two-byte sequence errors.
37043         * iconvdata/Makefile (tests): Add bug-iconv8.
37044         * iconvdata/bug-iconv8.c: New file.
37045
37046         [BZ #12626]
37047         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
37048         buf2 definition.
37049
37050         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
37051
37052         [BZ #12432]
37053         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
37054         (dummy_getcfa): New function.
37055         (init): Get _Unwind_GetCFA address, use dummy if not found.
37056         (backtrace_helper): In recursion check, also check whether CFA changes.
37057         (__backtrace): Completely initialize arg.
37058
37059         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
37060         storing incomplete byte sequence in state object.  Avoid testing for
37061         guaranteed too small input if we know there is enough data available.
37062
37063 2011-05-11  Andreas Schwab  <schwab@redhat.com>
37064
37065         * Makeconfig (+link-pie): Indent.
37066         * Rules (binaries-pie): Define if $(have-fpie) and
37067         $(build-shared).
37068         (binaries-shared): Also filter out $(binaries-pie).
37069         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
37070         * nscd/Makefile (others-pie): Add nscd.
37071         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
37072         ($(objpfx)nscd): Remove command override.
37073         * login/Makefile (others-pie): Add pt_chown.
37074         ($(objpfx)pt_chown): Remove command override.
37075         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
37076         remove command overrides.
37077
37078 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
37079
37080         * libio/tst_putwc.c: Fix error messages.
37081
37082         [BZ #12724]
37083         * libio/fileops.c (_IO_new_file_close_it): Always flush when
37084         currently writing and seek to current position when not.
37085         * libio/Makefile (tests): Add bug-fclose1.
37086         * libio/bug-fclose1.c: New file.
37087
37088 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
37089
37090         [BZ #12511]
37091         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
37092         don't set DF_1_NODELETE here.
37093         (do_lookup_x): When entering new entry test for copy relocation
37094         and if necessary set DF_1_NODELETE flag.
37095         * elf/tst-unique4.cc: New file.
37096         * elf/tst-unique4.h: New file.
37097         * elf/tst-unique4lib.cc: New file.
37098         * elf/Makefile: Add rules to build and run tst-unique4.
37099         Patch by Piotr Bury <pbury@goahead.com>.
37100
37101 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
37102
37103         [BZ #12052]
37104         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
37105
37106         [BZ #12625]
37107         * misc/mntent_r.c (addmntent): Flush the stream after the output
37108
37109         [BZ #12393]
37110         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
37111         (is_trusted_path_normalize): Skip initial colon.  Append slash
37112         to empty buffer.  Duplicate is_trusted_path code but allow
37113         constructed patch to be prefix.
37114         (is_dst): Allow $ORIGIN followed by /.
37115         (_dl_dst_substitute): Correct clearing of check_for_trusted.
37116         Correct testing of result of is_trusted_path_normalize
37117         (decompose_rpath): Fix warning.
37118
37119 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
37120
37121         [BZ #11257]
37122         * grp/initgroups.c (internal_getgrouplist): When we found the service
37123         list through the initgroups entry in nsswitch.conf do not always
37124         continue on a successful lookup.  Don't always use the
37125         __nss_group_database value if it is set.
37126         * nss/nsswitch.conf (initgroups): Change action for successful db
37127         lookup to continue for compatibility.
37128
37129 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
37130
37131         [BZ #11532]
37132         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
37133         and CP774 modules.
37134         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
37135         and CP774 modules.
37136         * iconvdata/tst-tables.sh: Likewise.
37137         * iconvdata/cp770.c: New file.
37138         * iconvdata/cp771.c: New file.
37139         * iconvdata/cp772.c: New file.
37140         * iconvdata/cp773.c: New file.
37141         * iconvdata/cp774.c: New file.
37142         * iconvdata/testdata/CP770: New file.
37143         * iconvdata/testdata/CP770..UTF8: New file.
37144         * iconvdata/testdata/CP771: New file.
37145         * iconvdata/testdata/CP771..UTF8: New file.
37146         * iconvdata/testdata/CP772: New file.
37147         * iconvdata/testdata/CP772..UTF8: New file.
37148         * iconvdata/testdata/CP773: New file.
37149         * iconvdata/testdata/CP773..UTF8: New file.
37150         * iconvdata/testdata/CP774: New file.
37151         * iconvdata/testdata/CP774..UTF8: New file.
37152
37153         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
37154         END CHARMAP line.
37155         * iconvdata/gen-8bit-gap.sh: Likewise.
37156         * iconvdata/gen-8bit.sh: Likewise.
37157
37158         * locale/iso-639.def: Add ary entry.
37159
37160         [BZ #11258]
37161         * locale/C-translit.h.in: Add U20A1 transliteration.
37162
37163         [BZ #12178]
37164         * locale/iso-639.def: Add wae entry.
37165         Patch by Kevin Bortis <bortis@translate-wae.ch>.
37166
37167         [BZ #12545]
37168         * locale/programs/localedef.c (construct_output_path): Use ssize_t
37169         for n.
37170
37171         [BZ #12711]
37172         * locale/C-translit.h.in: Add entry for U20B9.
37173         Patch by pravin.d.s@gmail.com.
37174
37175 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
37176
37177         [BZ #12713]
37178         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
37179         ENAMETOOLONG use generic getcwd.
37180         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
37181         in rtld.  Use *stat64.
37182         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
37183         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
37184         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
37185         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
37186         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
37187         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
37188         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
37189         __fstatat64 macros.
37190         * include/dirent.h: Add libc_hidden_proto for rewinddir.
37191         * dirent/rewinddir.c: Add libc_hidden_def.
37192         * sysdeps/mach/hurd/rewinddir.c: Likewise.
37193         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
37194
37195         * include/dirent.h (__alloc_dir): Add flags parameter.
37196         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
37197         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
37198         __alloc_dir.
37199         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
37200         from fdopendir if O_CLOEXEC is already set.
37201
37202 2011-03-15  Alan Modra  <amodra@gmail.com>
37203
37204         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
37205         l_tls_firstbyte_offset non-zero.  Save padding offset in
37206         l_tls_firstbyte_offset for later use.
37207         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
37208         freeing static tls block.
37209
37210 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
37211
37212         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
37213         where #ifdef was intended.  The intent is to prevent ARG_MAX from
37214         being defined by the kernel headers.
37215
37216 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
37217
37218         [BZ #12734]
37219         * resolv/resolv.h: Define RES_NOTLDQUERY.
37220         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
37221         no-tld-query and set RES_NOTLDQUERY.
37222         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
37223         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
37224         modern BIND to search name as TLD unless forbidden.
37225
37226 2011-05-07  Petr Baudis  <pasky@suse.cz>
37227             Ulrich Drepper  <drepper@gmail.com>
37228
37229         [BZ #12393]
37230         * elf/dl-load.c (fillin_rpath): Move trusted path check...
37231         (is_trusted_path): ...to here.
37232         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
37233         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
37234         using is_trusted_path_normalize() in setuid scripts.
37235
37236 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
37237
37238         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
37239         __BEGIN/__END_DECLS.
37240
37241 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
37242
37243         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
37244         NSS_STATUS_NOTFOUND if no record was found.
37245
37246 2011-05-05  Andreas Schwab  <schwab@redhat.com>
37247
37248         * sunrpc/Makefile (headers): Add rpc/netdb.h.
37249         (headers-not-in-tirpc): Remove rpc/netdb.h
37250         * resolv/netdb.h: Revert last change.
37251
37252 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
37253
37254         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
37255         circular dependency between libgcc.a and libc.a.
37256
37257 2011-05-05  Andreas Schwab  <schwab@redhat.com>
37258
37259         * resolv/netdb.h: Don't include <rpc/netdb.h>.
37260         * nis/Makefile: Don't install rpcsvc/*.
37261         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
37262         instead of <rpc/types.h>.
37263         (MAXHOSTNAMELEN): Define.
37264
37265 2011-05-03  Andreas Schwab  <schwab@redhat.com>
37266
37267         * elf/ldconfig.c (add_dir): Don't crash on empty path.
37268
37269 2011-04-28  Maciej Babinski  <mbabinski@google.com>
37270
37271         [BZ #12714]
37272         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
37273         gethostbyname4_r when IPv6 results are possible.
37274
37275 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
37276
37277         [BZ #12723]
37278         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
37279         _PC_PIPE_BUF handling.
37280
37281 2011-04-30  Bruno Haible  <bruno@clisp.org>
37282
37283         [BZ #12717]
37284         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
37285         * resolv/netdb.h (getnameinfo): Change type of flags parameter
37286         to 'int'.
37287         * inet/getnameinfo.c (getnameinfo): Likewise.
37288
37289 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
37290
37291         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
37292         to groups setting in database lookup.
37293         * nss/nsswitch.conf: Add initgroups entry.
37294
37295 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
37296
37297         [BZ #12685]
37298         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
37299         mode string.
37300         Patch by Eric Blake <eblake@redhat.com>.
37301
37302 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
37303
37304         * sunrpc/Makefile (need-export-routines): Add svc_run.
37305         (routines): Remove svc_run.
37306         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
37307         * sunrpc/clnt_perr.c (clnt_perrno): Export.
37308         * sunrpc/svc_run.c (svc_run): Likewise.
37309         * sunrpc/svc_udp.c (svcudp_create): Likewise.
37310
37311 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
37312
37313         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
37314         problem in reallocation in last patch.
37315
37316 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
37317
37318         * sunrpc/Makefile: Move inclusion of Rules.
37319
37320 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
37321
37322         * nss/nss_files/files-initgroups.c: New file.
37323         * nss/Makefile (libnss_files-routines): Add files-initgroups.
37324         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
37325         _nss_files_initgroups_dyn.
37326
37327 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
37328
37329         * elf/elf.h (R_ARM_IRELATIVE): Define.
37330
37331 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
37332
37333         * po/ru.po: Update from translation team.
37334
37335 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
37336
37337         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
37338         dependencies.
37339
37340 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
37341
37342         [BZ #12653]
37343         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
37344         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
37345         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
37346         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
37347         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
37348
37349 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
37350
37351         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
37352         differing bytes.
37353         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
37354         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
37355         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
37356
37357 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
37358
37359         [BZ #12420]
37360         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
37361         storing it.
37362         * stdlib/bug-getcontext.c: New file.
37363         * stdlib/Makefile: Add rules to build and run bug-getcontext.
37364
37365 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
37366
37367         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
37368         instructions into .machine "z9-109".
37369         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
37370         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
37371
37372 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
37373
37374         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
37375         between environment variables and auxiliary vector.
37376
37377 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
37378
37379         * Makefile: Add rules to build linkobj/libc.so.
37380         * include/libc-symbols.h: Define libc_hidden_nolink.
37381         * include/rpc/auth.h: Mark functions which are to be hidden.
37382         * include/rpc/auth_des.h: Likewise.
37383         * include/rpc/auth_unix.h: Likewise.
37384         * include/rpc/clnt.h: Likewise.
37385         * include/rpc/des_crypt.h: Likewise.
37386         * include/rpc/key_prot.h: Likewise.
37387         * include/rpc/pmap_clnt.h: Likewise.
37388         * include/rpc/pmap_prot.h: Likewise.
37389         * include/rpc/pmap_rmt.h: Likewise.
37390         * include/rpc/rpc_msg.h: Likewise.
37391         * include/rpc/svc.h: Likewise.
37392         * include/rpc/svc_auth.h: Likewise.
37393         * include/rpc/xdr.h: Likewise.
37394         * nis/Makefile: Link all DSOs against linkobj/libc.so.
37395         * nss/Makefile: Likewise.
37396         * sunrpc/Makefile: Don't install headers.  Build library with normal
37397         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
37398         * sunrpc/auth_des.c: Hide exported symbols by default, export some
37399         for the compat linking library.  Remove use of INTDEF/INTUSE.
37400         * sunrpc/auth_none.c: Likewise.
37401         * sunrpc/auth_unix.c: Likewise.
37402         * sunrpc/authdes_prot.c: Likewise.
37403         * sunrpc/authuxprot.c: Likewise.
37404         * sunrpc/clnt_gen.c: Likewise.
37405         * sunrpc/clnt_perr.c: Likewise.
37406         * sunrpc/clnt_raw.c: Likewise.
37407         * sunrpc/clnt_simp.c: Likewise.
37408         * sunrpc/clnt_tcp.c: Likewise.
37409         * sunrpc/clnt_udp.c: Likewise.
37410         * sunrpc/clnt_unix.c: Likewise.
37411         * sunrpc/des_crypt.c: Likewise.
37412         * sunrpc/des_soft.c: Likewise.
37413         * sunrpc/get_myaddr.c: Likewise.
37414         * sunrpc/key_call.c: Likewise.
37415         * sunrpc/key_prot.c: Likewise.
37416         * sunrpc/netname.c: Likewise.
37417         * sunrpc/pm_getmaps.c: Likewise.
37418         * sunrpc/pm_getport.c: Likewise.
37419         * sunrpc/pmap_clnt.c: Likewise.
37420         * sunrpc/pmap_prot.c: Likewise.
37421         * sunrpc/pmap_prot2.c: Likewise.
37422         * sunrpc/pmap_rmt.c: Likewise.
37423         * sunrpc/publickey.c: Likewise.
37424         * sunrpc/rpc_cmsg.c: Likewise.
37425         * sunrpc/rpc_common.c: Likewise.
37426         * sunrpc/rpc_dtable.c: Likewise.
37427         * sunrpc/rpc_prot.c: Likewise.
37428         * sunrpc/rpc_thread.c: Likewise.
37429         * sunrpc/rtime.c: Likewise.
37430         * sunrpc/svc.c: Likewise.
37431         * sunrpc/svc_auth.c: Likewise.
37432         * sunrpc/svc_authux.c: Likewise.
37433         * sunrpc/svc_raw.c: Likewise.
37434         * sunrpc/svc_run.c: Likewise.
37435         * sunrpc/svc_simple.c: Likewise.
37436         * sunrpc/svc_tcp.c: Likewise.
37437         * sunrpc/svc_udp.c: Likewise.
37438         * sunrpc/svc_unix.c: Likewise.
37439         * sunrpc/svcauth_des.c: Likewise.
37440         * sunrpc/xcrypt.c: Likewise.
37441         * sunrpc/xdr.c: Likewise.
37442         * sunrpc/xdr_array.c: Likewise.
37443         * sunrpc/xdr_float.c: Likewise.
37444         * sunrpc/xdr_intXX_t.c: Likewise.
37445         * sunrpc/xdr_mem.c: Likewise.
37446         * sunrpc/xdr_rec.c: Likewise.
37447         * sunrpc/xdr_ref.c: Likewise.
37448         * sunrpc/xdr_sizeof.c: Likewise.
37449         * sunrpc/xdr_stdio.c: Likewise.
37450
37451 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
37452
37453         [BZ #12650]
37454         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
37455         * sysdeps/ia64/dl-tls.h: Likewise.
37456         * sysdeps/powerpc/dl-tls.h: Likewise.
37457         * sysdeps/s390/dl-tls.h: Likewise.
37458         * sysdeps/sh/dl-tls.h: Likewise.
37459         * sysdeps/sparc/dl-tls.h: Likewise.
37460         * sysdeps/x86_64/dl-tls.h: Likewise.
37461         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
37462
37463 2011-03-14  Andreas Schwab  <schwab@redhat.com>
37464
37465         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
37466         rpath element also skip the following colon.
37467         (expand_dynamic_string_token): Add is_path parameter and pass
37468         down to DL_DST_REQUIRED and _dl_dst_substitute.
37469         (decompose_rpath): Call expand_dynamic_string_token with
37470         non-zero is_path.  Ignore empty rpaths.
37471         (_dl_map_object_from_fd): Call expand_dynamic_string_token
37472         with zero is_path.
37473
37474 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
37475
37476         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
37477         Make cancelable.
37478
37479 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
37480
37481         [BZ #12655]
37482         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
37483         Patch by Filipe David Manana <fdmanana@apache.org>.
37484
37485 2011-04-07  Andreas Schwab  <schwab@redhat.com>
37486
37487         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
37488         Maintain aligned stack.
37489         (CHECK_RSP): Remove unused macro.
37490
37491 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
37492
37493         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
37494         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
37495
37496 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
37497
37498         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
37499
37500         * include/features.h: Mention __USE_XOPEN2K8 in comment.
37501
37502 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
37503
37504         [BZ #12518]
37505         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
37506         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
37507         * sysdeps/x86_64/memmove.c: New file.
37508         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
37509         (memcpy): Renamed to ...
37510         (__new_memcpy): This.
37511         (memcpy): Provide GLIBC_2_14 memcpy.
37512         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
37513         (memcpy): Provide GLIBC_2_2_5 memcpy.
37514
37515 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
37516
37517         [BZ #12631]
37518         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
37519
37520 2011-03-30  Andreas Schwab  <schwab@redhat.com>
37521
37522         * misc/syncfs.c: New file.
37523         * misc/Makefile (routines): Add syncfs.
37524         * posix/unistd.h: Declare syncfs.
37525         * sysdeps/unix/syscalls.list: Add syncfs.
37526
37527 2011-04-01  Andreas Schwab  <schwab@redhat.com>
37528
37529         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
37530         open_by_handle_at.
37531         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
37532         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
37533         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
37534         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
37535         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
37536         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
37537         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
37538
37539 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
37540
37541         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
37542         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
37543         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
37544         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
37545         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
37546         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
37547         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
37548
37549         * io/Makefile: Compile fallocate.c, fallocate64.c, and
37550         sync_file_range.c with -fexceptions.
37551         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
37552         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
37553         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
37554         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
37555         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
37556         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
37557         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
37558         sync_file_range as cancellation point
37559         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
37560         now a wrapper around __call_sync_file_range with cancellation handling.
37561         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
37562         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
37563         function name to __call_sync_file_range.
37564         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
37565         Add call_sync_file_range.
37566
37567 2011-04-01  Andreas Schwab  <schwab@redhat.com>
37568
37569         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
37570         bits/timex.h.
37571
37572 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
37573
37574         * iconv/iconv.h: Fix typo in comment.
37575         * io/fcntl.h: Likewise.
37576         * libio/stdio.h: Likewise.
37577         * posix/spawn.h: Likewise.
37578         * posix/unistd.h: Likewise.
37579         * stdlib/stdlib.h: Likewise.
37580         * time/time.h: Likewise.
37581         * wcsmbs/wchar.h: Likewise.
37582
37583         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
37584         open_by_handle): Add.
37585         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
37586         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
37587         Augment a few comments.
37588         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
37589         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
37590         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
37591         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
37592         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
37593         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
37594         open_by_handle.
37595
37596         * io/fcntl.h (AT_EMPTY_PATH): Define.
37597
37598 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
37599
37600         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
37601         * sysdeps/unix/sysv/linux/bits/time.h: New file.
37602         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
37603         to...
37604         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
37605         * Versions.def: Add GLIBC_2.14.
37606         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
37607         Export.
37608
37609 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
37610
37611         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
37612         round counter.
37613         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
37614
37615 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
37616
37617         [BZ #12597]
37618         * string/test-strncmp.c (do_page_test): New function.
37619         (check2): Likewise.
37620         (test_main): Call check2.
37621         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
37622
37623 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
37624
37625         [BZ #12587]
37626         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
37627         Handle cache information in CPU leaf 4.
37628         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
37629
37630 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
37631
37632         [BZ #12583]
37633         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
37634         character representation.
37635         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
37636
37637 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
37638
37639         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
37640         END(__isnan) to END(__isnanf) to match function entry point/label
37641         EALIGN(__isnanf,...).
37642
37643 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
37644
37645         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
37646
37647 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
37648
37649         [BZ #12510]
37650         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
37651         copy from the symbol referenced in the relocation to initialize the
37652         used variable.
37653         Patch by Piotr Bury <pbury@goahead.com>.
37654         * elf/Makefile: Add rules to build and tst-unique3.
37655         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
37656         * elf/tst-unique3.cc: New file.
37657         * elf/tst-unique3.h: New file.
37658         * elf/tst-unique3lib.cc: New file.
37659         * elf/tst-unique3lib2.cc: New file.
37660
37661         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
37662
37663 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
37664
37665         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
37666         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
37667         to _start.
37668
37669 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
37670
37671         * elf/dl-load.c (_dl_map_object): If we are looking for the first
37672         to-be-loaded object along a path to loader is ld.so.
37673
37674 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
37675             Ulrich Drepper  <drepper@gmail.com>
37676
37677         * sysdeps/x86_64/memset.S: After aligning destination, code
37678         branches to different locations depending on the value of
37679         misalignment, when multiarch is enabled. Fix this.
37680
37681 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
37682
37683         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
37684         Set _x86_64_preferred_memory_instruction for AMD processsors.
37685         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
37686         Set bit_Prefer_SSE_for_memop for AMD processors.
37687
37688 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
37689
37690         * libio/fmemopen.c (fmemopen): Optimize a bit.
37691
37692 2011-03-03  Andreas Schwab  <schwab@redhat.com>
37693
37694         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
37695
37696 2011-03-03  Roland McGrath  <roland@redhat.com>
37697
37698         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
37699
37700 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
37701
37702         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
37703         __bzero_ultra1 instead of __memset_ultra1.
37704
37705 2011-02-23  Andreas Schwab  <schwab@redhat.com>
37706             Ulrich Drepper  <drepper@gmail.com>
37707
37708         [BZ #12509]
37709         * include/link.h (struct link_map): Add l_orig_initfini.
37710         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
37711         returning unsuccessfully.
37712         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
37713         close of a file loaded at startup, restore the original l_initfini
37714         list.
37715         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
37716         list, store the pointer.
37717         * elf/Makefile ($(objpfx)noload-mem): New rule.
37718         (noload-ENV): Define.
37719         (tests): Add $(objpfx)noload-mem.
37720         * elf/noload.c: Include <memcheck.h>.
37721         (main): Call mtrace.  Close all opened handles.
37722
37723 2011-02-17  Andreas Schwab  <schwab@redhat.com>
37724
37725         [BZ #12454]
37726         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
37727         dependencies are missing.
37728
37729 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
37730
37731         Fix __if_freereq crash: Unlike the generic version which uses free,
37732         Hurd needs munmap.
37733         * sysdeps/mach/hurd/ifreq.h: New file.
37734
37735 2011-01-27  Petr Baudis  <pasky@suse.cz>
37736             Ulrich Drepper  <drepper@gmail.com>
37737
37738         [BZ 12445]#
37739         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
37740         to extend_alloca().
37741         * stdio-common/bug23.c: New file.
37742         * stdio-common/Makefile (tests): Add bug23.
37743
37744 2010-09-28  Andreas Schwab  <schwab@redhat.com>
37745             Ulrich Drepper  <drepper@gmail.com>
37746
37747         [BZ #12489]
37748         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
37749         before performing relro protection.  At old place add assertion
37750         to make sure nothing changed.
37751
37752 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
37753             Glauber de Oliveira Costa  <glommer@gmail.com>
37754
37755         * elf/elf.h: Add new ARM TLS relocs.
37756
37757 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
37758
37759         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
37760         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
37761         cast from r3.
37762         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
37763         'tests' variable.
37764         * sysdeps/wordsize-64/tst-writev.c: New file.
37765
37766 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
37767
37768         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
37769         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
37770         insns in _dl_start to prevent a TOC reference before relocs are
37771         resolved.
37772
37773 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
37774
37775         [BZ #12469]
37776         * Makeconfig: Remove RANLIB definition.
37777         * Makerules: Don't use RANLIB.
37778         * aclocal.m4: Remove ranlib test.
37779         * configure.in: No need to check for ranlib.
37780         * elf/rtld-Rules: Don't use RANLIB.
37781
37782 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
37783
37784         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
37785         protection macro.
37786         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
37787         inclusion protection macro.
37788
37789         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
37790         SIGRTMIN and SIGRTMAX and print information in that case only when
37791         SIGRTMIN is defined.
37792
37793 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
37794
37795         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
37796         arginfo fn returning -1.
37797
37798         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
37799         and thousands string is zero terminated.
37800
37801 2011-02-03  Andreas Schwab  <schwab@redhat.com>
37802
37803         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
37804         sysdeps/unix/sysv/linux/bits/socket.h.
37805
37806 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
37807
37808         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
37809         (__CPU_COUNT): Remove old macros.
37810         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
37811         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
37812         (__CPU_ALLOC, __CPU_FREE): Add macros.
37813         (__sched_cpualloc, __sched_cpufree): Add declarations.
37814
37815 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
37816
37817         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
37818         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
37819         * nscd/aicache.c (addhstaiX): Return timeout of added value.
37820         (readdhstai): Return value of addhstaiX call.
37821         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
37822         (addgrbyX): Return value returned by cache_addgr.
37823         (readdgrbyname): Return value returned by addgrbyX.
37824         (readdgrbygid): Likewise.
37825         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
37826         (addpwbyX): Return value returned by cache_addpw.
37827         (readdpwbyname): Return value returned by addhstbyX.
37828         (readdpwbyuid): Likewise.
37829         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
37830         (addservbyX): Return value returned by cache_addserv.
37831         (readdservbyname): Return value returned by addservbyX:
37832         (readdservbyport): Likewise.
37833         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
37834         (addhstbyX): Return value returned by cache_addhst.
37835         (readdhstbyname): Return value returned by addhstbyX.
37836         (readdhstbyaddr): Likewise.
37837         (readdhstbynamev6): Likewise.
37838         (readdhstbyaddrv6): Likewise.
37839         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
37840         (readdinitgroups): Return value returned by addinitgroupsX.
37841         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
37842         (prune_cache): Keep track of timeout value of re-added entries.
37843         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
37844         * nscd/nscd.h: Adjust prototypes of readd* functions.
37845
37846 2011-02-04  Roland McGrath  <roland@redhat.com>
37847
37848         * nis/nis_server.c (nis_servstate): Use the right name for 0.
37849         (nis_stats): Likewise.
37850         * nis/nis_modify.c (nis_modify): Likewise.
37851         * nis/nis_remove.c (nis_remove): Likewise.
37852         * nis/nis_add.c (nis_add): Likewise.
37853
37854         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
37855
37856         * posix/fnmatch_loop.c: Add some consts.
37857
37858         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
37859
37860 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
37861
37862         [BZ #12460]
37863         * config.make.in (config-cflags-novzeroupper): Define.
37864         * configure.in: Substitute libc_cv_cc_novzeroupper.
37865         * elf/Makefile (AVX-CFLAGS): Define.
37866         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
37867         (CFLAGS-tst-auditmod4a.c): Likewise.
37868         (CFLAGS-tst-auditmod4b.c): Likewise.
37869         (CFLAGS-tst-auditmod6b.c): Likewise.
37870         (CFLAGS-tst-auditmod6c.c): Likewise.
37871         (CFLAGS-tst-auditmod7b.c): Likewise.
37872         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
37873
37874 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
37875
37876         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
37877         function to the callback.
37878         Patch partly by Jiri Olsa <jolsa@redhat.com>.
37879
37880 2011-02-02  Andreas Schwab  <schwab@redhat.com>
37881
37882         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
37883         of errno.
37884
37885 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
37886
37887         [BZ #11724]
37888         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
37889         of constructors.
37890         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
37891         of destructors.
37892         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
37893
37894         [BZ #11724]
37895         * elf/Makefile: Add rules to build and run new test.
37896         * elf/tst-initorder.c: New file.
37897         * elf/tst-initorder.exp: New file.
37898         * elf/tst-initordera1.c: New file.
37899         * elf/tst-initordera2.c: New file.
37900         * elf/tst-initordera3.c: New file.
37901         * elf/tst-initordera4.c: New file.
37902         * elf/tst-initorderb1.c: New file.
37903         * elf/tst-initorderb2.c: New file.
37904         * elf/tst-order-a1.c: New file.
37905         * elf/tst-order-a2.c: New file.
37906         * elf/tst-order-a3.c: New file.
37907         * elf/tst-order-a4.c: New file.
37908         * elf/tst-order-b1.c: New file.
37909         * elf/tst-order-b2.c: New file.
37910         * elf/tst-order-main.c: New file.
37911         New test case by George Gensure <werkt0@gmail.com>.
37912
37913 2010-10-01  Andreas Schwab  <schwab@redhat.com>
37914
37915         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
37916         decoding ACE if AI_CANONIDN.
37917
37918 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
37919
37920         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
37921
37922 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
37923
37924         * version.h (RELEASE): Bump for 2.13 release.
37925         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
37926
37927         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
37928
37929         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
37930         MADV_NOHUGEPAGE.
37931         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
37932         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
37933         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
37934         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
37935         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
37936         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
37937
37938         * posix/getconf.c: Update copyright year.
37939         * catgets/gencat.c: Likewise.
37940         * csu/version.c: Likewise.
37941         * debug/catchsegv.sh: Likewise.
37942         * debug/xtrace.sh: Likewise.
37943         * elf/ldconfig.c: Likewise.
37944         * elf/ldd.bash.in: Likewise.
37945         * elf/sprof.c (print_version): Likewise.
37946         * iconv/iconv_prog.c: Likewise.
37947         * iconv/iconvconfig.c: Likewise.
37948         * locale/programs/locale.c: Likewise.
37949         * locale/programs/localedef.c: Likewise.
37950         * malloc/memusage.sh: Likewise.
37951         * malloc/mtrace.pl: Likewise.
37952         * nscd/nscd.c (print_version): Likewise.
37953         * nss/getent.c: Likewise.
37954
37955         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
37956         PF_CAIF, and PF_ALG.
37957         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
37958
37959 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
37960
37961         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
37962         (modules-names): Use them.
37963         (ifunc-test-modules, ifunc-pie-tests): Define.
37964         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
37965         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
37966         (test-extras): Likewise.
37967         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
37968         $(compile-command.c).
37969         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
37970         (all-built-dso): Define.
37971         (check-textrel.out, check-execstack.out): Depend on it.
37972
37973         * configure.in: Don't override --enable-multi-arch.
37974
37975 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
37976
37977         [BZ #6812]
37978         * nscd/hstcache.c (tryagain): Define.
37979         (cache_addhst): Return tryagain not notfound for temporary errors.
37980         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
37981         failed.
37982
37983 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
37984
37985         [BZ #10563]
37986         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
37987         to make the syscall.
37988         * sysdeps/unix/sysv/linux/setgroups.c: New file.
37989
37990         [BZ #12378]
37991         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
37992         and fall back to matching as normal character if the string ends before
37993         the matching ']' is found.  This is what POSIX requires.
37994         * posix/testfnm.c: Adjust test result.
37995         * posix/globtest.sh: Adjust test result.  Add new test.
37996         * posix/tst-fnmatch.input: Likewise.
37997         * posix/tst-fnmatch2.c: Add new test.
37998
37999 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
38000
38001         * elf/Makefile (check-execstack): Revert last change.  Depend on
38002         check-execstack.h.
38003         (check-execstack.h): New target.
38004         (generated): Add check-execstack.h.
38005         * elf/check-execstack.c: Include "check-execstack.h".
38006         (main): Revert last change.
38007         (handle_file): Return zero if GNU_STACK is absent and
38008         DEFAULT_STACK_PERMS doesn't include PF_X.
38009
38010 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
38011
38012         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
38013         in child fails because the descriptor is already closed.
38014         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
38015         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
38016         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
38017
38018         [BZ #12397]
38019         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
38020         syscall.
38021
38022         [BZ #10484]
38023         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
38024         temporary buffer used to handle multi lookups locally.
38025         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
38026
38027 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
38028
38029         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
38030         loader is ld.so.
38031
38032 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
38033
38034         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
38035         alignment for SSE2.
38036
38037 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
38038
38039         [BZ #12394]
38040         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
38041         characters.  When rounding increased number of integer digits recompute
38042         number of groups.
38043         * stdio-common/tst-grouping.c: New file.
38044         * stdio-common/Makefile: Add rules to build and run tst-grouping.
38045
38046 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
38047
38048         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
38049         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
38050
38051         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
38052         void.
38053         * bits/select.h: Likewise.
38054
38055 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
38056
38057         * po/ja.po: Update from translation team.
38058
38059 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
38060
38061         [BZ #11155]
38062         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
38063         implementation just like for lxstat, fxstatat, et al.
38064
38065 2010-12-27  Jim Meyering  <meyering@redhat.com>
38066
38067         [BZ #12348]
38068         * posix/regexec.c (build_trtable): Return failure indication upon
38069         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
38070
38071 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
38072
38073         [BZ #12201]
38074         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
38075         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
38076         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
38077         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
38078
38079         [BZ #12207]
38080         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
38081
38082         [BZ #12204]
38083         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
38084         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
38085
38086 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
38087
38088         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
38089         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
38090         script has SORT_BY_INIT_PRIORITY.
38091         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
38092         NO_CTORS_DTORS_SECTIONS is defined.
38093         * elf/soinit.c: Likewise.
38094         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
38095         NO_CTORS_DTORS_SECTIONS is defined.
38096         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
38097         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
38098         * sysdeps/sh/init-first.c: Likewise.
38099         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
38100
38101 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
38102
38103         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
38104         always use the slow path.
38105
38106 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
38107
38108         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
38109         similar rule which adds the sysdep directories to the header search in
38110         order to pick up the correct platform stackinfo.h.
38111         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
38112         perform test if it is, otherwise return successfully without testing.
38113         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
38114         DEFAULT_STACK_PERMS define in stackinfo.h.
38115         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
38116         defined in stackinfo.h.
38117         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
38118         DEFAULT_STACK_PERMS defined in stackinfo.h.
38119         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
38120         * sysdeps/ia64/stackinfo.h: Likewise.
38121         * sysdeps/s390/stackinfo.h: Likewise.
38122         * sysdeps/sh/stackinfo.h: Likewise.
38123         * sysdeps/sparc/stackinfo.h: Likewise.
38124         * sysdeps/x86_64/stackinfo.h: Likewise.
38125         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
38126         PF_X for powerpc64.  Retain PF_X for powerpc32.
38127
38128 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
38129
38130         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
38131         accurately.
38132         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
38133         GETDENTS_64BIT_ALIGNED.
38134
38135 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
38136
38137         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
38138
38139 2010-12-10  Andreas Schwab  <schwab@redhat.com>
38140
38141         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
38142         _GNU_SOURCE.
38143
38144         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
38145         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
38146         Remove __restrict.
38147         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
38148         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
38149
38150 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
38151
38152         [BZ #11655]
38153         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
38154         are initialized.
38155
38156 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
38157
38158         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
38159
38160 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
38161
38162         * po/it.po: Update from translation team.
38163
38164 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
38165
38166         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
38167         unused codes.
38168
38169 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
38170
38171         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
38172
38173 2010-11-24  Andreas Schwab  <schwab@redhat.com>
38174
38175         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
38176         specially.
38177         (gaih_getanswer_slice): Likewise.
38178
38179 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
38180
38181         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
38182
38183 2010-05-31  Petr Baudis  <pasky@suse.cz>
38184
38185         [BZ #11149]
38186         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
38187         silently even in the chroot mode.
38188
38189 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
38190
38191         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
38192         last patch a bit.  Pretty printing
38193
38194 2010-05-31  Petr Baudis <pasky@suse.cz>
38195
38196         [BZ #10085]
38197         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
38198         initialization of skip_initgroups_dyn.
38199
38200 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
38201
38202         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
38203         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
38204
38205 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
38206
38207         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
38208
38209 2010-11-11  Andreas Schwab  <schwab@redhat.com>
38210
38211         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
38212         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
38213         (tst-fnmatch-ENV): Set MALLOC_TRACE.
38214         ($(objpfx)tst-fnmatch-mem): New rule.
38215         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
38216         * posix/tst-fnmatch.c (main): Call mtrace.
38217
38218 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
38219
38220         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
38221         Support Intel processor model 6 and model 0x2c.
38222
38223 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
38224
38225         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
38226           signed comparison.
38227
38228 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
38229
38230         [BZ #12205]
38231         * string/test-strncasecmp.c (check_result): New function.
38232         (do_one_test): Use it.
38233         (check1): New function.
38234         (test_main): Use it.
38235         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
38236         Support strcasecmp and strncasecmp.
38237
38238 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
38239
38240         [BZ #12194]
38241         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
38242         * sysdeps/x86_64/bits/byteswap.h: Likewise.
38243
38244 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
38245
38246         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
38247         IFUNC support.
38248         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
38249         memset-x86-64.
38250         * sysdeps/x86_64/multiarch/bzero.S: New file.
38251         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
38252         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
38253         * sysdeps/x86_64/multiarch/memset.S: New file.
38254         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
38255         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
38256         Set bit_Prefer_SSE_for_memop for Intel processors.
38257         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
38258         Define.
38259         (index_Prefer_SSE_for_memop): Define.
38260         (HAS_PREFER_SSE_FOR_MEMOP): Define.
38261
38262 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
38263
38264         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
38265         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
38266
38267 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
38268
38269         [BZ #12191]
38270         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
38271         (__x86_64_raw_data_cache_size_half): Likewise.
38272         (__x86_64_raw_shared_cache_size): Likewise.
38273         (__x86_64_raw_shared_cache_size_half): Likewise.
38274
38275         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
38276         (__x86_64_raw_data_cache_size_half): Likewise.
38277         (__x86_64_raw_shared_cache_size): Likewise.
38278         (__x86_64_raw_shared_cache_size_half): Likewise.
38279         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
38280         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
38281         and __x86_64_raw_shared_cache_size_half.  Round
38282         __x86_64_data_cache_size_half, __x86_64_data_cache_size
38283         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
38284         to multiple of 256 bytes.
38285
38286 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
38287
38288         [BZ #12167]
38289         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
38290         of inacessible symlinks.  Verify result of symlink before returning it.
38291         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
38292         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
38293
38294 2010-10-28  Erich Ritz  <erichritz@gmail.com>
38295
38296         * math/math.h (isinf): Fix typo in comment.
38297
38298 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
38299
38300         * po/da.po: Update from translation team.
38301
38302 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
38303
38304         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
38305         is added to the list.
38306
38307 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
38308             Ulrich Drepper  <drepper@gmail.com>
38309
38310         * elf/dl-object.c (_dl_new_object): Don't append the new object to
38311         the global list here.  Move code to...
38312         (_dl_add_to_namespace_list): ...here.  New function.
38313         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
38314         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
38315         * elf/dl-load.c (lose): Don't remove the element from the list.
38316         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
38317         (_dl_map_object): Likewise.
38318
38319 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
38320
38321         [BZ #12159]
38322         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
38323         into all bytes of SSE register.
38324         Patch by Richard Li <richardpku@gmail.com>.
38325
38326 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
38327
38328         [BZ #12140]
38329         * malloc/malloc.c (_int_free): Fill correct number of bytes when
38330         perturbing.
38331
38332 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
38333
38334         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
38335         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
38336         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
38337         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
38338         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
38339         submachine.
38340         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
38341
38342 2010-10-22  Andreas Schwab  <schwab@redhat.com>
38343
38344         * include/dlfcn.h (__RTLD_SECURE): Define.
38345         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
38346         mode & __RTLD_SECURE instead.
38347         (open_path): Rename preloaded parameter to secure.
38348         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
38349         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
38350         * elf/dl-deps.c (openaux): Likewise.
38351         * elf/rtld.c (struct map_args): Remove is_preloaded.
38352         (map_doit): Don't use it.
38353         (dl_main): Likewise.
38354         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
38355         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
38356
38357 2010-09-09  Andreas Schwab  <schwab@redhat.com>
38358
38359         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
38360         (sysd-rules-targets): Remove duplicates.
38361         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
38362         rtld-%.$o dependency.
38363
38364 2010-10-18  Andreas Schwab  <schwab@redhat.com>
38365
38366         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
38367         _dl_map_object do it.
38368
38369 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
38370
38371         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
38372         fast fma builtins, define the macros in the C99 standard.
38373         (FP_FAST_FMAF): Likewise.
38374         (FP_FAST_FMAL): Likewise.
38375         * sysdeps/x86_64/bits/mathdef.h: Likewise.
38376
38377         * bits/mathdef.h: Update copyright year.
38378         * sysdeps/powerpc/bits/mathdef.h: Likewise.
38379
38380 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
38381
38382         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
38383         builtins, define the macros in the C99 standard.
38384         (FP_FAST_FMAF): Likewise.
38385         (FP_FAST_FMAL): Likewise.
38386         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
38387         multiply/add.
38388         (FP_FAST_FMAF): Likewise.
38389
38390 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
38391
38392         [BZ #3268]
38393         * math/libm-test.inc (fma_test): Some new testcases.
38394         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
38395         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
38396         y and infinite z.  Do multiplication by C already in long double.
38397         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
38398         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
38399         y and infinite z.  Do bitwise or of inexact bit into u.d.
38400         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
38401         * sysdeps/i386/fpu/s_fmaf.S: Removed.
38402         * sysdeps/i386/fpu/s_fma.S: Removed.
38403         * sysdeps/i386/fpu/s_fmal.S: Removed.
38404
38405 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
38406
38407         [BZ #3268]
38408         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
38409         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
38410         computation is not scheduled after fetestexcept.  Fix value
38411         of minimum denormal long double.
38412
38413 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
38414
38415         [BZ #3268]
38416         * math/libm-test.inc (fma_test): Add some more tests.
38417         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
38418         correctly.
38419
38420 2010-10-15  Andreas Schwab  <schwab@redhat.com>
38421
38422         * scripts/data/localplt-s390-linux-gnu.data: New file.
38423         * scripts/data/localplt-s390x-linux-gnu.data: New file.
38424
38425 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
38426
38427         [BZ #3268]
38428         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
38429         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
38430         instead of dbl-64.
38431         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
38432         inlines.
38433         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
38434         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
38435         if one of x and y is very large and the other is subnormal.
38436         * sysdeps/s390/fpu/s_fmaf.c: New file.
38437         * sysdeps/s390/fpu/s_fma.c: New file.
38438         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
38439         * sysdeps/powerpc/fpu/s_fma.S: New file.
38440         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
38441         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
38442         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
38443
38444 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
38445
38446         [BZ #3268]
38447         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
38448         fma tests.
38449         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
38450         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
38451         * sysdeps/i386/i686/multiarch/s_fma.c: Include
38452         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
38453         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
38454         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
38455         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
38456
38457 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
38458
38459         [BZ #12078]
38460         * posix/regcomp.c (parse_branch): One more memory leak plugged.
38461         * posix/bug-regex31.input: Add test case.
38462
38463 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
38464
38465         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
38466         * posix/bug-regex31.input: New file.
38467
38468         [BZ #12078]
38469         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
38470         (parse_sub_exp): Fix last change, use postorder.
38471
38472         * posix/bug-regex31.c: New file.
38473         * posix/Makefile: Add rules to build and run bug-regex31.
38474
38475         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
38476
38477         [BZ #12078]
38478         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
38479
38480         [BZ #12108]
38481         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
38482         to have entries in sys_siglist.
38483
38484         [BZ #12093]
38485         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
38486         be NULL.
38487
38488 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
38489
38490         [BZ #3268]
38491         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
38492         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
38493         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
38494         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
38495         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
38496         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
38497         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
38498         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
38499         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
38500         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
38501         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
38502         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
38503         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
38504         * math/ftestexcept.c (fetestexcept): Likewise.
38505         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
38506         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
38507         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
38508         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
38509         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
38510         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
38511         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
38512
38513 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
38514
38515         [BZ #12107]
38516         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
38517         newline.
38518
38519 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
38520
38521         * string/bug-strstr1.c: New file.
38522         * string/Makefile: Add rules to build and run bug-strstr1.
38523
38524 2010-10-05  Eric Blake  <eblake@redhat.com>
38525
38526         [BZ #12092]
38527         * string/str-two-way.h (two_way_long_needle): Always clear memory
38528         when skipping input due to the shift table.
38529
38530 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
38531
38532         [BZ #12005]
38533         * malloc/mcheck.c: Handle large requests.
38534
38535         [BZ #12077]
38536         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
38537         for strncmp and strncasecmp.
38538         * string/stratcliff.c: Add tests for strcmp and strncmp.
38539         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
38540
38541 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
38542
38543         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
38544         __set_fpscr.
38545
38546 2010-09-30  Andreas Jaeger  <aj@suse.de>
38547
38548         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
38549         (CGROUP_SUPER_MAGIC): Define.
38550         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
38551         Handle btrfs and cgroup file systems.
38552         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
38553         Likewise.
38554
38555 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
38556
38557         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
38558         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
38559
38560 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
38561
38562         [BZ #12067]
38563         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
38564         trying to locate the ELF header.
38565
38566 2010-09-27  Andreas Schwab  <schwab@redhat.com>
38567
38568         [BZ #11611]
38569         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
38570         Mask out sign-bit copies when constructing f_fsid.
38571
38572 2010-09-24  Petr Baudis <pasky@suse.cz>
38573
38574         * debug/stack_chk_fail_local.c: Add missing licence exception.
38575         * debug/warning-nop.c: Likewise.
38576
38577 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
38578
38579         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
38580         implementing getdents64 using getdents syscall, set d_type if
38581         __ASSUME_GETDENTS32_D_TYPE.
38582
38583 2010-09-16  Andreas Schwab  <schwab@redhat.com>
38584
38585         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
38586         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
38587
38588 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
38589
38590         [BZ #12037]
38591         * posix/unistd.h: Undo change of feature selection for ftruncate from
38592         2010-01-11.
38593
38594 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
38595
38596         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
38597         detection.
38598
38599 2010-09-20  Andreas Schwab  <schwab@redhat.com>
38600
38601         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
38602         fanotify_mark.
38603         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
38604
38605 2010-09-14  Andreas Schwab  <schwab@redhat.com>
38606
38607         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
38608         variables after CHECK_SP call.
38609         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
38610
38611 2010-09-13  Andreas Schwab  <schwab@redhat.com>
38612             Ulrich Drepper  <drepper@redhat.com>
38613
38614         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
38615         re-relocationg ld.so.
38616         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
38617         _dl_init_paths call.
38618         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
38619         here anymore.
38620
38621 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
38622
38623         * resolv/res_init.c (__res_vinit): Count the default server we added.
38624
38625 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
38626             Ulrich Drepper  <drepper@redhat.com>
38627
38628         [BZ #11968]
38629         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
38630         (____longjmp_chk): Use %ebx for saving value across system call.
38631         Add unwind info.
38632
38633 2010-09-06  Andreas Schwab  <schwab@redhat.com>
38634
38635         * manual/Makefile: Don't mix pattern rules with normal rules.
38636
38637 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
38638
38639         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
38640         operation.
38641         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
38642         * libio/iofopncook.c (_IO_cookie_init): Likewise.
38643         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
38644         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
38645         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
38646         Likewise.
38647
38648 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
38649
38650         [BZ #11979]
38651         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
38652         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
38653
38654 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
38655
38656         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
38657         * sysdeps/x86_64/addmul_1.S: Likewise.
38658         * sysdeps/x86_64/lshift.S: Likewise.
38659         * sysdeps/x86_64/mul_1.S: Likewise.
38660         * sysdeps/x86_64/rshift.S: Likewise.
38661         * sysdeps/x86_64/sub_n.S: Likewise.
38662         * sysdeps/x86_64/submul_1.S: Likewise.
38663
38664 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
38665
38666         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
38667         Define __sched_param instead of SCHED_* and sched_param when
38668         <bits/sched.h> is included with __need_schedparam defined.
38669         * bits/sched.h [__need_schedparam]
38670         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
38671         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
38672         (__defined_schedparam): Define to 1.
38673         (__sched_param): New structure, identical to sched_param.
38674         (__need_schedparam): Undefine.
38675
38676 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
38677
38678         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
38679         (epoll_create1): Declare.
38680
38681         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
38682
38683 2010-08-31  Andreas Schwab  <schwab@redhat.com>
38684
38685         [BZ #7066]
38686         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
38687         shifting retval into place.
38688
38689 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
38690
38691         * nis/rpcsvc/nis.h: Update copyright notice.
38692         * nis/rpcsvc/nis.x: Likewise.
38693         * nis/rpcsvc/nis_callback.h: Likewise.
38694         * nis/rpcsvc/nis_callback.x: Likewise.
38695         * nis/rpcsvc/nis_object.x: Likewise.
38696         * nis/rpcsvc/nis_tags.h: Likewise.
38697         * nis/rpcsvc/yp.h: Likewise.
38698         * nis/rpcsvc/yp.x: Likewise.
38699         * nis/rpcsvc/ypupd.h: Likewise.
38700         * nis/yp_xdr.c: Likewise.
38701         * nis/ypupdate_xdr.c: Likewise.
38702
38703         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
38704         mainly the body of pmap_getport.  Add parameters to specify timeouts.
38705         (pmap_getport): Use __libc_rpc_getport.
38706         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
38707         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
38708         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
38709
38710 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
38711
38712         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
38713         fanotify_mark.
38714
38715 2010-08-27  Roland McGrath  <roland@redhat.com>
38716
38717         * sysdeps/i386/i686/multiarch/Makefile
38718         (CFLAGS-varshift.c): New variable.
38719
38720 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
38721
38722         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
38723         * sysdeps/i386/i686/multiarch/varshift.c: New file.
38724
38725         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
38726
38727         * sysdeps/x86_64/strlen.S: Minimal code improvement.
38728
38729 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
38730
38731         * sysdeps/x86_64/strlen.S: Unroll the loop.
38732         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
38733         strlen-sse2 strlen-sse2-bsf.
38734         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
38735         __strlen_no_bsf if bit_Slow_BSF is set.
38736         (__strlen_sse42): Removed.
38737         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
38738         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
38739
38740 2010-08-25  Roland McGrath  <roland@redhat.com>
38741
38742         * sysdeps/x86_64/multiarch/varshift.S: File removed.
38743         * sysdeps/x86_64/multiarch/varshift.c: New file.
38744         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
38745         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
38746         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
38747         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
38748
38749 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
38750
38751         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
38752         strlen-sse2 strlen-sse2-bsf.
38753         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
38754         __strlen_sse2_bsf if bit_Slow_BSF is unset.
38755         (__strlen_sse2): Removed.
38756         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
38757         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
38758         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
38759         bit_Slow_BSF for Atom.
38760         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
38761         (index_Slow_BSF): Define.
38762         (HAS_SLOW_BSF): Define.
38763
38764 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
38765
38766         [BZ #10851]
38767         * resolv/res_init.c (__res_vinit): When no server address at all
38768         is given default to loopback.
38769
38770 2010-08-24  Roland McGrath  <roland@redhat.com>
38771
38772         * configure.in: Remove config-name.h generation.
38773         * configure: Regenerated.
38774         * config-name.in: File removed.
38775         * scripts/config-uname.sh: New file.
38776         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
38777         ($(objdir)config-name.h): New target.
38778
38779         * sunrpc/rpc_parse.h: Avoid nested comment.
38780
38781 2010-08-24  Richard Henderson  <rth@redhat.com>
38782             Ulrich Drepper  <drepper@redhat.com>
38783             H.J. Lu  <hongjiu.lu@intel.com>
38784
38785         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
38786         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
38787         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
38788         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
38789         _mm_alignr_epi8 with _mm_loadu_si128.
38790         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
38791         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
38792         (__m128i_shift_right): Removed.
38793         * sysdeps/i386/i686/multiarch/varshift.h: New file.
38794         * sysdeps/i386/i686/multiarch/varshift.S: New file.
38795         * sysdeps/x86_64/multiarch/varshift.h: New file.
38796         * sysdeps/x86_64/multiarch/varshift.S: New file.
38797
38798 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
38799
38800         * configure.in: Move assembler checks to before sysdep dir checking.
38801
38802 2010-08-20  Petr Baudis  <pasky@suse.cz>
38803
38804         * LICENSES: Sync the sunrpc license.
38805
38806 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
38807
38808         * sunrpc/auth_des.c: Update copyright notice once again.
38809         * sunrpc/auth_none.c: Likewise.
38810         * sunrpc/auth_unix.c: Likewise.
38811         * sunrpc/authdes_prot.c: Likewise.
38812         * sunrpc/authuxprot.c: Likewise.
38813         * sunrpc/bindrsvprt.c: Likewise.
38814         * sunrpc/clnt_gen.c: Likewise.
38815         * sunrpc/clnt_perr.c: Likewise.
38816         * sunrpc/clnt_raw.c: Likewise.
38817         * sunrpc/clnt_simp.c: Likewise.
38818         * sunrpc/clnt_tcp.c: Likewise.
38819         * sunrpc/clnt_udp.c: Likewise.
38820         * sunrpc/clnt_unix.c: Likewise.
38821         * sunrpc/des_crypt.c: Likewise.
38822         * sunrpc/des_soft.c: Likewise.
38823         * sunrpc/get_myaddr.c: Likewise.
38824         * sunrpc/getrpcport.c: Likewise.
38825         * sunrpc/key_call.c: Likewise.
38826         * sunrpc/key_prot.c: Likewise.
38827         * sunrpc/openchild.c: Likewise.
38828         * sunrpc/pm_getmaps.c: Likewise.
38829         * sunrpc/pm_getport.c: Likewise.
38830         * sunrpc/pmap_clnt.c: Likewise.
38831         * sunrpc/pmap_prot.c: Likewise.
38832         * sunrpc/pmap_prot2.c: Likewise.
38833         * sunrpc/pmap_rmt.c: Likewise.
38834         * sunrpc/rpc/auth.h: Likewise.
38835         * sunrpc/rpc/auth_unix.h: Likewise.
38836         * sunrpc/rpc/clnt.h: Likewise.
38837         * sunrpc/rpc/des_crypt.h: Likewise.
38838         * sunrpc/rpc/key_prot.h: Likewise.
38839         * sunrpc/rpc/netdb.h: Likewise.
38840         * sunrpc/rpc/pmap_clnt.h: Likewise.
38841         * sunrpc/rpc/pmap_prot.h: Likewise.
38842         * sunrpc/rpc/pmap_rmt.h: Likewise.
38843         * sunrpc/rpc/rpc.h: Likewise.
38844         * sunrpc/rpc/rpc_des.h: Likewise.
38845         * sunrpc/rpc/rpc_msg.h: Likewise.
38846         * sunrpc/rpc/svc.h: Likewise.
38847         * sunrpc/rpc/svc_auth.h: Likewise.
38848         * sunrpc/rpc/types.h: Likewise.
38849         * sunrpc/rpc/xdr.h: Likewise.
38850         * sunrpc/rpc_clntout.c: Likewise.
38851         * sunrpc/rpc_cmsg.c: Likewise.
38852         * sunrpc/rpc_common.c: Likewise.
38853         * sunrpc/rpc_cout.c: Likewise.
38854         * sunrpc/rpc_dtable.c: Likewise.
38855         * sunrpc/rpc_hout.c: Likewise.
38856         * sunrpc/rpc_main.c: Likewise.
38857         * sunrpc/rpc_parse.c: Likewise.
38858         * sunrpc/rpc_parse.h: Likewise.
38859         * sunrpc/rpc_prot.c: Likewise.
38860         * sunrpc/rpc_sample.c: Likewise.
38861         * sunrpc/rpc_scan.c: Likewise.
38862         * sunrpc/rpc_scan.h: Likewise.
38863         * sunrpc/rpc_svcout.c: Likewise.
38864         * sunrpc/rpc_tblout.c: Likewise.
38865         * sunrpc/rpc_util.c: Likewise.
38866         * sunrpc/rpc_util.h: Likewise.
38867         * sunrpc/rpcinfo.c: Likewise.
38868         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
38869         * sunrpc/rpcsvc/key_prot.x: Likewise.
38870         * sunrpc/rpcsvc/klm_prot.x: Likewise.
38871         * sunrpc/rpcsvc/mount.x: Likewise.
38872         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
38873         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
38874         * sunrpc/rpcsvc/rex.x: Likewise.
38875         * sunrpc/rpcsvc/rstat.x: Likewise.
38876         * sunrpc/rpcsvc/rusers.x: Likewise.
38877         * sunrpc/rpcsvc/sm_inter.x: Likewise.
38878         * sunrpc/rpcsvc/spray.x: Likewise.
38879         * sunrpc/rpcsvc/yppasswd.x: Likewise.
38880         * sunrpc/rtime.c: Likewise.
38881         * sunrpc/svc.c: Likewise.
38882         * sunrpc/svc_auth.c: Likewise.
38883         * sunrpc/svc_authux.c: Likewise.
38884         * sunrpc/svc_raw.c: Likewise.
38885         * sunrpc/svc_run.c: Likewise.
38886         * sunrpc/svc_simple.c: Likewise.
38887         * sunrpc/svc_tcp.c: Likewise.
38888         * sunrpc/svc_udp.c: Likewise.
38889         * sunrpc/svc_unix.c: Likewise.
38890         * sunrpc/svcauth_des.c: Likewise.
38891         * sunrpc/xcrypt.c: Likewise.
38892         * sunrpc/xdr.c: Likewise.
38893         * sunrpc/xdr_array.c: Likewise.
38894         * sunrpc/xdr_float.c: Likewise.
38895         * sunrpc/xdr_mem.c: Likewise.
38896         * sunrpc/xdr_rec.c: Likewise.
38897         * sunrpc/xdr_ref.c: Likewise.
38898         * sunrpc/xdr_sizeof.c: Likewise.
38899         * sunrpc/xdr_stdio.c: Likewise.
38900
38901         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
38902         handling.
38903
38904 2010-08-19  Andreas Schwab  <schwab@redhat.com>
38905
38906         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
38907
38908 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
38909
38910         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
38911         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
38912         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
38913         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
38914         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
38915         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
38916         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
38917         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
38918         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
38919         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
38920         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
38921         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
38922         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
38923         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
38924
38925 2010-07-26  Anton Blanchard  <anton@samba.org>
38926
38927         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
38928         * malloc/arena.c (heap_trim): Likewise.
38929
38930 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
38931
38932         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
38933         here.  Not...
38934         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
38935         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
38936
38937 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
38938
38939         * sysdeps/i386/elf/Makefile: New file.
38940
38941 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
38942
38943         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
38944         from fanotify_init.
38945         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
38946         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
38947
38948 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
38949
38950         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
38951         of strncasecmp_l.
38952         * sysdeps/multiarch/strcmp.S: Likewise.
38953
38954 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
38955
38956         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
38957         strncase_l-nonascii.
38958         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
38959         Add strncase_l-ssse3.
38960         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
38961         * sysdeps/x86_64/strcmp.S: Likewise.
38962         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
38963         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
38964         * sysdeps/x86_64/strncase.S: New file.
38965         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
38966         * sysdeps/x86_64/strncase_l.S: New file.
38967         * string/Makefile (strop-tests): Add strncasecmp.
38968         * string/test-strncasecmp.c: New file.
38969
38970         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
38971         warning.
38972
38973         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
38974         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
38975
38976 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
38977
38978         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
38979
38980 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
38981
38982         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
38983         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
38984         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
38985
38986 2010-05-01  Alan Modra  <amodra@gmail.com>
38987
38988         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
38989         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
38990         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
38991         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
38992         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
38993         tidying.  Don't tail-call __sigjmp_save for static lib.
38994         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
38995         save location.
38996         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
38997         (CALL_MCOUNT): Add eh info, and nop after bl.
38998         (TAIL_CALL_SYSCALL_ERROR): New macro.
38999         (PSEUDO_RET): Use it.
39000         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
39001         Correct save location of integer regs and cr.
39002         (_dl_profile_resolve): Correct cr save location.  Delete nops
39003         after bl when SHARED.  Reduce cfi size a little by better
39004         placement of cfi directives.
39005         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
39006         make a stack frame.  Instead use parm save area as a temp.
39007         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
39008         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
39009         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
39010         Don't make a stack frame for parent, use parm save area.
39011         Increase child stack frame to 112 bytes.  Don't save unused reg,
39012         and adjust reg usage.  Set up cfi on error recovery and
39013         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
39014         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
39015         (__makecontext): Add dummy nop after jump to exit.
39016         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
39017         Use correct parm save area and cr save, reduce stack frame.
39018         Correct cfi for possible PSEUDO_RET frame setup.
39019         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
39020         Branch to local label emitted by PSEUDO_RET rather than
39021         __syscall_error.
39022
39023 2010-08-12  Andreas Schwab  <schwab@redhat.com>
39024
39025         [BZ #11904]
39026         * locale/programs/locale.c (print_assignment): New function.
39027         (show_locale_vars): Use it.
39028
39029 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
39030
39031         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
39032         field.
39033         (struct statfs64): Likewise.
39034         (_STATFS_F_FLAGS): Define.
39035         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
39036         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
39037         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
39038         (ST_VALID): Define locally.
39039         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
39040         __statvfs_getflags, use the provided value.
39041         * sysdeps/unix/sysv/linux/kernel-features.h: Define
39042         __ASSUME_STATFS_F_FLAGS.
39043
39044         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
39045
39046         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
39047         Add sys/fanotify.h.
39048         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
39049         fanotify_mask for GLIBC_2.13.
39050         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
39051         fanotify_init and fanotify_mark.
39052         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
39053         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
39054
39055         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
39056         Add prlimit.
39057         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
39058         prlimit64 for GLIBC_2.13.
39059         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
39060         prlimit64.
39061         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
39062         syscall.
39063         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
39064         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
39065         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
39066         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
39067         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
39068         add prlimit alias.
39069         * sysdeps/unix/sysv/linux/prlimit.c: New file.
39070
39071         [BZ #11903]
39072         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
39073         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
39074
39075         * nss/Makefile: Add rules to build and run tst-nss-test1.
39076         * shlib-versions: Add entry for libnss_test1.
39077         * nss/nss_test1.c: New file.
39078         * nss/tst-nss-test1.c: New file.
39079
39080         * nss/nsswitch.c (__nss_database_custom): Define new variable.
39081         (__nss_configure_lookup): Set appropriate entry in
39082         __nss_configure_lookup to true.
39083         * nss/nsswitch.h: Define enum with indeces of databases in
39084         databases and __nss_database_custom arrays.  Declare
39085         __nss_database_custom.
39086         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
39087         to avoid using nscd when custom rules are installed.
39088         * nss/getXXbyYY_r.c: Likewise.
39089         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
39090
39091         * nss/nss_files/files-parse.c: Whitespace fixes.
39092
39093 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
39094
39095         [BZ #11883]
39096         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
39097         * posix/fnmatch_loop.c: Likewise.
39098
39099 2010-07-17  Andi Kleen  <ak@linux.intel.com>
39100
39101         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
39102         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
39103         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
39104         * Versions.def [GLIBC_2.13]: Add.
39105
39106 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
39107
39108         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
39109         Also fail if tpwd after pwuid call is NULL.
39110
39111 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
39112
39113         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
39114         when converting to ms.
39115
39116 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
39117
39118         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
39119         EOPNOTSUPP errors with ENOTTY.
39120         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
39121         EOPNOTSUPP errors with ENOTTY.
39122
39123 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
39124
39125         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
39126         Add strcasecmp_l-ssse3.
39127         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
39128         strcasecmp.
39129         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
39130         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
39131         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
39132
39133 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
39134
39135         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
39136
39137         * string/Makefile (strop-tests): Add strcasecmp.
39138         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
39139         strcasecmp_l-nonascii.
39140         (gen-as-const-headers): Add locale-defines.sym.
39141         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
39142         * sysdeps/x86_64/strcasecmp.S: New file.
39143         * sysdeps/x86_64/strcasecmp_l.S: New file.
39144         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
39145         * sysdeps/x86_64/locale-defines.sym: New file.
39146         * string/test-strcasecmp.c: New file.
39147
39148         * string/test-strcasestr.c: Test both ends of the range of characters.
39149         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
39150
39151 2010-07-29  Roland McGrath  <roland@redhat.com>
39152
39153         [BZ #11856]
39154         * manual/locale.texi (Yes-or-No Questions): Fix example code.
39155
39156 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
39157
39158         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
39159         for ld.so.
39160
39161 2010-07-27  Andreas Schwab  <schwab@redhat.com>
39162
39163         * manual/memory.texi (Malloc Tunable Parameters): Document
39164         M_PERTURB.
39165
39166 2010-07-26  Roland McGrath  <roland@redhat.com>
39167
39168         [BZ #11840]
39169         * configure.in (-fgnu89-inline check): Set and substitute
39170         gnu89_inline, not libc_cv_gnu89_inline.
39171         * configure: Regenerated.
39172         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
39173
39174 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
39175
39176         * string/test-strnlen.c: New file.
39177         * string/Makefile (strop-tests): Add strnlen.
39178         * string/tester.c (test_strnlen): Add a few more test cases.
39179         * string/tst-strlen.c: Better error reporting.
39180
39181         * sysdeps/x86_64/strnlen.S: New file.
39182
39183 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
39184
39185         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
39186         lower-latency instructions.
39187
39188 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
39189
39190         * string/test-strcasestr.c: New file.
39191         * string/test-strstr.c: New file.
39192         * string/Makefile (strop-tests): Add strstr and strcasestr.
39193         * string/str-two-way.h: Don't undefine MAX.
39194         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
39195
39196 2010-07-21  Andreas Schwab  <schwab@redhat.com>
39197
39198         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
39199         strcasestr-nonascii.
39200         (CFLAGS-strcasestr-nonascii.c): Define.
39201         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
39202         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
39203         Remove unused attribute.
39204
39205 2010-07-20  Roland McGrath  <roland@redhat.com>
39206
39207         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
39208         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
39209         ld.so.cache was broken.  With it, there is no way to disable dsocaps
39210         like LD_HWCAP_MASK can disable hwcaps.
39211
39212 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
39213
39214         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
39215
39216 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
39217
39218         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
39219         call in strcasestr.
39220         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
39221         __strcasestr_sse42_nonascii.
39222         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
39223         strcasestr-nonascii.c.
39224         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
39225
39226 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
39227
39228         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
39229         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
39230         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
39231         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
39232
39233 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
39234
39235         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
39236         fcntl.
39237
39238 2010-07-06  Andreas Schwab  <schwab@redhat.com>
39239
39240         [BZ #11577]
39241         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
39242         dl_signal_cerror.
39243
39244 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
39245
39246         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
39247         _PC_PIPE_BUF using F_GETPIPE_SZ.
39248
39249 2010-07-05  Roland McGrath  <roland@redhat.com>
39250
39251         * manual/arith.texi (Rounding Functions): Fix rint description
39252         implicit in round description.
39253
39254 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
39255
39256         * elf/Makefile: Fix linking for a few tests to make recent linker
39257         happy.
39258
39259 2010-06-30  Andreas Schwab  <schwab@redhat.com>
39260
39261         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
39262         $(common-objpfx)libc_nonshared.a.
39263
39264 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
39265
39266         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
39267         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
39268         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
39269         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
39270         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
39271         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
39272         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
39273         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
39274         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
39275         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
39276         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
39277         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
39278         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
39279         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
39280         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
39281         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
39282         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
39283         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
39284         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
39285         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
39286         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
39287         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
39288         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
39289         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
39290         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
39291         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
39292         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
39293         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
39294         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
39295         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
39296         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
39297         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
39298         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
39299         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
39300         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
39301         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
39302         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
39303         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
39304         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
39305         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
39306         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
39307         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
39308         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
39309         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
39310         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
39311         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
39312         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
39313         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
39314
39315 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
39316
39317         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
39318         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
39319         * string/memmove.c (memmove): Renamed to ...
39320         (MEMMOVE): ...this.  Default to memmove.
39321         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
39322         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
39323         (END_CHK): Define.
39324         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
39325         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
39326         mempcpy-ssse3-back memmove-ssse3-back.
39327         * sysdeps/x86_64/multiarch/bcopy.S: New file .
39328         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
39329         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
39330         * sysdeps/x86_64/multiarch/memcpy.S: New file.
39331         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
39332         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
39333         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
39334         * sysdeps/x86_64/multiarch/memmove.c: New file.
39335         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
39336         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
39337         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
39338         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
39339         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
39340         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
39341         Define.
39342         (index_Fast_Copy_Backward): Define.
39343         (HAS_ARCH_FEATURE): Define.
39344         (HAS_FAST_REP_STRING): Define.
39345         (HAS_FAST_COPY_BACKWARD): Define.
39346
39347 2010-06-21  Andreas Schwab  <schwab@redhat.com>
39348
39349         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
39350         Restore proper fallback handling.
39351
39352 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
39353
39354         [BZ #11701]
39355         * posix/group_member.c (__group_member): Correct checking loop.
39356
39357         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
39358         OOM in getpwuid_r correctly.  Return error number when the caller
39359         should return, otherwise -1.
39360         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
39361         call returning > 0 value.
39362         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
39363
39364 2010-06-07  Andreas Schwab  <schwab@redhat.com>
39365
39366         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
39367         libc_nonshared.a from targets in modules-names.
39368
39369 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
39370
39371         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
39372         requires it.
39373
39374 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
39375
39376         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
39377         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
39378         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
39379         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
39380
39381 2010-06-02  Andreas Schwab  <schwab@redhat.com>
39382
39383         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
39384
39385 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
39386
39387         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
39388         and F_GETPIPE_SZ.
39389         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
39390         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
39391         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
39392         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
39393         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
39394         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
39395
39396 2010-06-14  Roland McGrath  <roland@redhat.com>
39397
39398         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
39399
39400 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
39401
39402         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
39403         __REDIRECT followed by __THROW.
39404         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
39405         * posix/getopt.h (getopt): Likewise.
39406
39407 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
39408
39409         * hurd/lookup-at.c (__file_name_lookup_at): Accept
39410         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
39411         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
39412         in AT_FLAGS.
39413         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
39414         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
39415
39416 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
39417
39418         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
39419
39420 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
39421
39422         [BZ #11640]
39423         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
39424         Properly check family and model.
39425
39426 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
39427
39428         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
39429
39430 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
39431
39432         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
39433
39434 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
39435
39436         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
39437         symbol reference.
39438
39439 2010-05-19  Andreas Schwab  <schwab@redhat.com>
39440
39441         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
39442         symbol reference.
39443
39444 2010-05-21  Andreas Schwab  <schwab@redhat.com>
39445
39446         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
39447         and internal_recvmmsg.
39448         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
39449         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
39450         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
39451         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
39452
39453         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
39454         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
39455         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
39456
39457 2010-05-20  Andreas Schwab  <schwab@redhat.com>
39458
39459         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
39460
39461 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
39462
39463         POWER7 optimizations.
39464         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
39465         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
39466
39467 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
39468
39469         * version.h: Update for 2.13 development version.
39470
39471 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
39472
39473         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
39474         exceptions.  Return 0.
39475
39476 2010-05-07  Roland McGrath  <roland@redhat.com>
39477
39478         * elf/ldconfig.c (main): Add a const.
39479
39480 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
39481
39482         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
39483         (args_options): Add no-idn option.
39484         (ahosts_keys_int): Add idn_flags to ai_flags.
39485         (parse_option): Handle 'i' option to clear idn_flags.
39486
39487         * malloc/malloc.c (_int_free): Possible race in the most recently
39488         added check.  Only act on the data if no current modification
39489         happened.
39490
39491 See ChangeLog.17 for earlier changes.