manual/llio.texi: update manual to document file-private locks
[jlayton/glibc.git] / ChangeLog
1 2014-02-11  Jeff Layton  <jlayton@redhat.com>
2
3         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h:
4           (F_GETLKP, F_SETLKP, F_SETLKPW): New macros.
5         * manual/llio.texi: add section about file-private locks
6
7 2014-02-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
8
9         [BZ #16447]
10         * math/auto-libm-test-in: Add testcase for expl.
11         * math/auto-libm-test-out: Regenerate.
12         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
13         calculation of unsafe.
14         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
15
16 2014-02-11  Marcus Shawcroft  <marcus.shawcroft@arm.com>
17
18         * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
19         * sysdeps/unix/sysv/linux/aarch64: Move directory from
20         ports/sysdeps/unix/sysv/linux/aarch64.
21         * README: Update listing for aarch64*-*-linux-gnu.
22
23 2014-02-11  Will Newton  <will.newton@linaro.org>
24
25         * manual/probes.texi (Mathematical Function Probes): Use
26         "triggered" instead of "hit".
27
28 2014-02-11  Will Newton  <will.newton@linaro.org>
29
30         * manual/probes.texi (Internal Probes): Add documentation
31         of setjmp, longjmp and longjmp_target probes.
32
33 2014-02-11  Will Newton  <will.newton@linaro.org>
34
35         * include/stap-probe.h: Add comment about probe argument
36         format.
37
38 2014-02-11  Will Newton  <will.newton@linaro.org>
39
40         * malloc/mtrace.c (attribute_hidden): Remove unused macro
41         definition.  (tr_where, tr_freehook, tr_mallochook,
42         tr_reallochook, tr_memalignhook): Use ANSI protoype.
43
44 2014-02-11  David S. Miller  <davem@davemloft.net>
45
46         * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
47         processing int_tests.
48
49 2014-02-10  Joseph Myers  <joseph@codesourcery.com>
50
51         * sysdeps/mips: Move directory from ports/sysdeps/mips.
52         * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
53         * sysdeps/unix/sysv/linux/mips: Move directory from
54         ports/sysdeps/unix/sysv/linux/mips.
55         * README: Update listing for mips-*-linux-gnu and
56         mips64-*-linux-gnu.
57
58 2014-02-10  Andreas Schwab  <schwab@linux-m68k.org>
59
60         * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
61         * sysdeps/unix/sysv/linux/m68k: Move directory from
62         ports/sysdeps/unix/sysv/linux/m68k.
63         * README: Update listing for m68k-*-linux-gnu.
64
65 2014-02-10  Chris Metcalf  <cmetcalf@tilera.com>
66
67         * sysdeps/tile: Move directory from ports/sysdeps/tile.
68         * sysdeps/unix/sysv/linux/generic: Move directory from
69         ports/sysdeps/unix/sysv/linux/generic.
70         * sysdeps/unix/sysv/linux/tile: Move directory from
71         ports/sysdeps/unix/sysv/linux/tile.
72         * README: Update listing for tile*-*-linux-gnu.
73
74 2014-02-10  Ondřej Bílka  <neleai@seznam.cz>
75
76         * assert/assert.c (__assert_fail_base): Use glibc_likely instead __builtin_expect.
77         * benchtests/bench-memmem.c (simple_memmem): Likewise.
78         * catgets/open_catalog.c (__open_catalog): Likewise.
79         * csu/libc-start.c (LIBC_START_MAIN): Likewise.
80         * debug/confstr_chk.c: Likewise.
81         * debug/fread_chk.c (__fread_chk): Likewise.
82         * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
83         * debug/getgroups_chk.c: Likewise.
84         * debug/mbsnrtowcs_chk.c: Likewise.
85         * debug/mbsrtowcs_chk.c: Likewise.
86         * debug/mbstowcs_chk.c: Likewise.
87         * debug/memcpy_chk.c: Likewise.
88         * debug/memmove_chk.c: Likewise.
89         * debug/mempcpy_chk.c: Likewise.
90         * debug/memset_chk.c: Likewise.
91         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
92         * debug/strcat_chk.c (__strcat_chk): Likewise.
93         * debug/strcpy_chk.c (__strcpy_chk): Likewise.
94         * debug/strncat_chk.c (__strncat_chk): Likewise.
95         * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
96         * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
97         * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
98         * debug/wcpncpy_chk.c: Likewise.
99         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
100         * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
101         * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
102         * debug/wcsncpy_chk.c: Likewise.
103         * debug/wcsnrtombs_chk.c: Likewise.
104         * debug/wcsrtombs_chk.c: Likewise.
105         * debug/wcstombs_chk.c: Likewise.
106         * debug/wmemcpy_chk.c: Likewise.
107         * debug/wmemmove_chk.c: Likewise.
108         * debug/wmempcpy_chk.c: Likewise.
109         * debug/wmemset_chk.c: Likewise.
110         * dirent/scandirat.c (SCANDIRAT): Likewise.
111         * dlfcn/dladdr1.c (dladdr1): Likewise.
112         * dlfcn/dladdr.c (dladdr): Likewise.
113         * dlfcn/dlclose.c (dlclose_doit): Likewise.
114         * dlfcn/dlerror.c (__dlerror): Likewise.
115         * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
116         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
117         * dlfcn/dlopen.c (dlopen_doit): Likewise.
118         * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
119         * dlfcn/dlsym.c (dlsym_doit): Likewise.
120         * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
121         * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
122         * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
123         Likewise.
124         * elf/dl-conflict.c: Likewise.
125         * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
126         * elf/dl-dst.h: Likewise.
127         * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
128         * elf/dl-fptr.c (_dl_make_fptr): Likewise.
129         * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
130         * elf/dl-init.c (call_init, _dl_init): Likewise.
131         * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
132         * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths,
133         _dl_map_object_from_fd, open_verify, open_path,
134         _dl_map_object): Likewise.
135         * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
136         Likewise.
137         * elf/dl-minimal.c (__libc_memalign): Likewise.
138         * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
139         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
140         * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
141         * elf/dl-sym.c (do_sym): Likewise.
142         * elf/dl-tls.c (tls_get_addr_tail, update_get_addr, __tls_get_addr,
143         _dl_tls_get_addr_soft): Likewise.
144         * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
145         * elf/dl-writev.h (_dl_writev): Likewise.
146         * elf/ldconfig.c (search_dir): Likewise.
147         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload,
148         dl_main): Likewise.
149         * elf/setup-vdso.h (setup_vdso): Likewise.
150         * grp/compat-initgroups.c (compat_call): Likewise.
151         * grp/fgetgrent.c (fgetgrent): Likewise.
152         * grp/initgroups.c (getgrouplist, initgroups): Likewise.
153         * grp/putgrent.c (putgrent): Likewise.
154         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
155         Likewise.
156         * hurd/hurdinit.c: Likewise.
157         * iconvdata/8bit-gap.c (struct): Likewise.
158         * iconvdata/ansi_x3.110.c : Likewise.
159         * iconvdata/big5.c : Likewise.
160         * iconvdata/big5hkscs.c : Likewise.
161         * iconvdata/cp1255.c: Likewise.
162         * iconvdata/cp1258.c : Likewise.
163         * iconvdata/cp932.c : Likewise.
164         * iconvdata/euc-cn.c: Likewise.
165         * iconvdata/euc-jisx0213.c : Likewise.
166         * iconvdata/euc-jp.c: Likewise.
167         * iconvdata/euc-jp-ms.c : Likewise.
168         * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
169         * iconvdata/gb18030.c : Likewise.
170         * iconvdata/gbbig5.c (const): Likewise.
171         * iconvdata/gbgbk.c: Likewise.
172         * iconvdata/gbk.c : Likewise.
173         * iconvdata/ibm1364.c : Likewise.
174         * iconvdata/ibm930.c : Likewise.
175         * iconvdata/ibm932.c: Likewise.
176         * iconvdata/ibm933.c : Likewise.
177         * iconvdata/ibm935.c : Likewise.
178         * iconvdata/ibm937.c : Likewise.
179         * iconvdata/ibm939.c : Likewise.
180         * iconvdata/ibm943.c: Likewise.
181         * iconvdata/iso_11548-1.c: Likewise.
182         * iconvdata/iso-2022-cn.c : Likewise.
183         * iconvdata/iso-2022-cn-ext.c : Likewise.
184         * iconvdata/iso-2022-jp-3.c: Likewise.
185         * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
186         * iconvdata/iso-2022-kr.c : Likewise.
187         * iconvdata/iso646.c (gconv_end): Likewise.
188         * iconvdata/iso_6937-2.c : Likewise.
189         * iconvdata/iso_6937.c : Likewise.
190         * iconvdata/iso8859-1.c: Likewise.
191         * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
192         * iconvdata/shift_jisx0213.c : Likewise.
193         * iconvdata/sjis.c : Likewise.
194         * iconvdata/t.61.c : Likewise.
195         * iconvdata/tcvn5712-1.c : Likewise.
196         * iconvdata/tscii.c: Likewise.
197         * iconvdata/uhc.c : Likewise.
198         * iconvdata/unicode.c (gconv_end): Likewise.
199         * iconvdata/utf-16.c (gconv_end): Likewise.
200         * iconvdata/utf-32.c (gconv_end): Likewise.
201         * iconvdata/utf-7.c (base64): Likewise.
202         * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
203         * iconv/gconv_close.c (__gconv_close): Likewise.
204         * iconv/gconv_open.c (__gconv_open): Likewise.
205         * iconv/gconv_simple.c (internal_ucs4_loop_single, ucs4_internal_loop,
206         ucs4_internal_loop_unaligned, ucs4_internal_loop_single,
207         internal_ucs4le_loop_single, ucs4le_internal_loop,
208         ucs4le_internal_loop_unaligned, ucs4le_internal_loop_single): Likewise.
209         * iconv/iconv.c (iconv): Likewise.
210         * iconv/iconv_close.c: Likewise.
211         * iconv/loop.c (SINGLE): Likewise.
212         * iconv/skeleton.c (FUNCTION_NAME): Likewise.
213         * include/atomic.h: Likewise.
214         * inet/inet6_option.c (option_alloc): Likewise.
215         * intl/bindtextdom.c (set_binding_values): Likewise.
216         * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
217         * intl/loadmsgcat.c (_nl_load_domain): Likewise.
218         * intl/localealias.c (read_alias_file): Likewise.
219         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
220         * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap,
221         _IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
222         * libio/fmemopen.c (fmemopen): Likewise.
223         * libio/iofgets.c (_IO_fgets): Likewise.
224         * libio/iofgets_u.c (fgets_unlocked): Likewise.
225         * libio/iofgetws.c (fgetws): Likewise.
226         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
227         * libio/iogetdelim.c (_IO_getdelim): Likewise.
228         * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap,
229         adjust_wide_data, _IO_wfile_seekoff): Likewise.
230         * locale/findlocale.c (_nl_find_locale): Likewise.
231         * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
232         * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
233         Likewise.
234         * locale/setlocale.c (setlocale): Likewise.
235         * login/programs/pt_chown.c (main): Likewise.
236         * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
237         * malloc/malloc.c (_int_malloc, _int_free): Likewise.
238         * malloc/memusage.c (update_data, malloc, realloc, calloc, free,
239         mmap, mmap64, mremap, munmap): Likewise.
240         * math/e_exp2l.c: Likewise.
241         * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
242         * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
243         * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
244         * math/s_catan.c (__catan): Likewise.
245         * math/s_catanf.c (__catanf): Likewise.
246         * math/s_catanh.c (__catanh): Likewise.
247         * math/s_catanhf.c (__catanhf): Likewise.
248         * math/s_catanhl.c (__catanhl): Likewise.
249         * math/s_catanl.c (__catanl): Likewise.
250         * math/s_ccosh.c (__ccosh): Likewise.
251         * math/s_ccoshf.c (__ccoshf): Likewise.
252         * math/s_ccoshl.c (__ccoshl): Likewise.
253         * math/s_cexp.c (__cexp): Likewise.
254         * math/s_cexpf.c (__cexpf): Likewise.
255         * math/s_cexpl.c (__cexpl): Likewise.
256         * math/s_clog10.c (__clog10): Likewise.
257         * math/s_clog10f.c (__clog10f): Likewise.
258         * math/s_clog10l.c (__clog10l): Likewise.
259         * math/s_clog.c (__clog): Likewise.
260         * math/s_clogf.c (__clogf): Likewise.
261         * math/s_clogl.c (__clogl): Likewise.
262         * math/s_csin.c (__csin): Likewise.
263         * math/s_csinf.c (__csinf): Likewise.
264         * math/s_csinh.c (__csinh): Likewise.
265         * math/s_csinhf.c (__csinhf): Likewise.
266         * math/s_csinhl.c (__csinhl): Likewise.
267         * math/s_csinl.c (__csinl): Likewise.
268         * math/s_csqrt.c (__csqrt): Likewise.
269         * math/s_csqrtf.c (__csqrtf): Likewise.
270         * math/s_csqrtl.c (__csqrtl): Likewise.
271         * math/s_ctan.c (__ctan): Likewise.
272         * math/s_ctanf.c (__ctanf): Likewise.
273         * math/s_ctanh.c (__ctanh): Likewise.
274         * math/s_ctanhf.c (__ctanhf): Likewise.
275         * math/s_ctanhl.c (__ctanhl): Likewise.
276         * math/s_ctanl.c (__ctanl): Likewise.
277         * math/w_pow.c: Likewise.
278         * math/w_powf.c: Likewise.
279         * math/w_powl.c: Likewise.
280         * math/w_scalb.c (sysv_scalb): Likewise.
281         * math/w_scalbf.c (sysv_scalbf): Likewise.
282         * math/w_scalbl.c (sysv_scalbl): Likewise.
283         * misc/error.c (error_tail): Likewise.
284         * misc/pselect.c (__pselect): Likewise.
285         * nis/nis_callback.c (__nis_create_callback): Likewise.
286         * nis/nis_call.c (__nisfind_server): Likewise.
287         * nis/nis_creategroup.c (nis_creategroup): Likewise.
288         * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
289         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
290         * nis/nis_getservlist.c (nis_getservlist): Likewise.
291         * nis/nis_lookup.c (nis_lookup): Likewise.
292         * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
293         * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry,
294         nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
295         * nis/nis_xdr.c (xdr_endpoint): Likewise.
296         * nis/nss_compat/compat-grp.c (getgrent_next_file, internal_getgrnam_r,
297         internal_getgrgid_r): Likewise.
298         * nis/nss_compat/compat-initgroups.c (add_group, internal_getgrent_r):
299         Likewise.
300         * nis/nss_compat/compat-pwd.c (getpwent_next_file, internal_getpwnam_r,
301         internal_getpwuid_r): Likewise.
302         * nis/nss_compat/compat-spwd.c (getspent_next_file,
303         internal_getspnam_r): Likewise.
304         * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r,
305         _nss_nis_getaliasbyname_r): Likewise.
306         * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r,
307         _nss_nis_getntohost_r): Likewise.
308         * nis/nss_nis/nis-grp.c (internal_nis_setgrent,
309         internal_nis_getgrent_r, _nss_nis_getgrnam_r, _nss_nis_getgrgid_r):
310         Likewise.
311         * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent,
312         internal_nis_gethostent_r, internal_gethostbyname2_r,
313         _nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r,
314         _nss_nis_gethostbyname4_r): Likewise.
315         * nis/nss_nis/nis-initgroups.c (internal_getgrent_r,
316         initgroups_netid): Likewise.
317         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
318         * nis/nss_nis/nis-network.c (internal_nis_getnetent_r,
319         _nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
320         * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r,
321         _nss_nis_getprotobynumber_r): Likewise.
322         * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey,
323         _nss_nis_getsecretkey): Likewise.
324         * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent,
325         internal_nis_getpwent_r, _nss_nis_getpwnam_r, _nss_nis_getpwuid_r):
326         Likewise.
327         * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r,
328         _nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
329         * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r,
330         _nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
331         * nis/nss_nis/nis-spwd.c (_nss_nis_setspent, internal_nis_getspent_r,
332         _nss_nis_getspnam_r): Likewise.
333         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
334         Likewise.
335         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r,
336         _nss_nisplus_getntohost_r): Likewise.
337         * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r,
338         _nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
339         * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r,
340         _nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r): Likewise.
341         * nis/nss_nisplus/nisplus-initgroups.c (_nss_nisplus_initgroups_dyn):
342         Likewise.
343         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r,
344         _nss_nisplus_getnetbyaddr_r): Likewise.
345         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r,
346         _nss_nisplus_getprotobynumber_r): Likewise.
347         * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r,
348         _nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
349         * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
350         Likewise.
351         * nis/nss_nisplus/nisplus-service.c (internal_nisplus_getservent_r,
352         _nss_nisplus_getservbyname_r, _nss_nisplus_getservbyport_r): Likewise.
353         * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r,
354         _nss_nisplus_getspnam_r): Likewise.
355         * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist): Likewise.
356         * nscd/aicache.c (addhstaiX): Likewise.
357         * nscd/cache.c (cache_search, prune_cache): Likewise.
358         * nscd/connections.c (register_traced_file, send_ro_fd, handle_request,
359         nscd_run_prune, nscd_run_worker, fd_ready, main_loop_epoll): Likewise.
360         * nscd/grpcache.c (addgrbyX): Likewise.
361         * nscd/hstcache.c (addhstbyX): Likewise.
362         * nscd/initgrcache.c (addinitgroupsX): Likewise.
363         * nscd/mem.c (gc, mempool_alloc): Likewise.
364         * nscd/netgroupcache.c (do_notfound, addgetnetgrentX, addinnetgrX):
365         Likewise.
366         * nscd/nscd-client.h (__nscd_acquire_maplock, __nscd_drop_map_ref):
367         Likewise.
368         * nscd/nscd_getai.c (__nscd_getai): Likewise.
369         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
370         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
371         Likewise.
372         * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
373         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
374         * nscd/nscd_helper.c (__readvall, open_socket,
375         __nscd_get_mapping, __nscd_get_map_ref): Likewise.
376         * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
377         * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr): Likewise.
378         * nscd/pwdcache.c (addpwbyX): Likewise.
379         * nscd/selinux.c (preserve_capabilities): Likewise.
380         * nscd/servicescache.c (addservbyX): Likewise.
381         * nss/nss_files/files-XXX.c (internal_getent): Likewise.
382         * posix/fnmatch.c (fnmatch): Likewise.
383         * posix/getopt.c (_getopt_internal_r): Likewise.
384         * posix/glob.c (glob, glob_in_dir): Likewise.
385         * posix/wordexp.c (exec_comm_child): Likewise.
386         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r, getanswer_r,
387         gaih_getanswer_slice): Likewise.
388         * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
389         * resolv/res_init.c: Likewise.
390         * resolv/res_mkquery.c (res_nmkquery): Likewise.
391         * resolv/res_query.c (__libc_res_nquery): Likewise.
392         * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
393         Likewise.
394         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
395         * stdio-common/perror.c (perror): Likewise.
396         * stdio-common/printf_fp.c (___printf_fp): Likewise.
397         * stdio-common/tmpnam.c (tmpnam): Likewise.
398         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
399         * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
400         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl): Likewise.
401         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
402         * stdlib/putenv.c (putenv): Likewise.
403         * stdlib/setenv.c (__add_to_environ): Likewise.
404         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
405         * stdlib/strtol_l.c (INTERNAL): Likewise.
406         * string/memmem.c (memmem): Likewise.
407         * string/strerror.c (strerror): Likewise.
408         * string/strnlen.c (__strnlen): Likewise.
409         * string/test-memmem.c (simple_memmem): Likewise.
410         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
411         * sunrpc/pm_getport.c (__get_socket): Likewise.
412         * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
413         * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
414         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup,
415         elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
416         Likewise.
417         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
418         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
419         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
420         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
421         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
422         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1): Likewise.
423         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn): Likewise.
424         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
425         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
426         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
427         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
428         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
429         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
430         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
431         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
432         * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
433         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
434         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
435         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
436         Likewise.
437         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
438         Likewise.
439         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
440         Likewise.
441         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
442         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
443         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
444         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
445         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
446         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
447         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
448         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
449         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
450         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
451         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
452         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
453         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
454         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
455         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
456         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r): Likewise.
457         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
458         Likewise.
459         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
460         Likewise.
461         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
462         Likewise.
463         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
464         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
465         * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
466         Likewise.
467         * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
468         * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
469         * sysdeps/posix/opendir.c (__opendirat): Likewise.
470         * sysdeps/posix/sleep.c: Likewise.
471         * sysdeps/posix/tempname.c: Likewise.
472         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
473         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
474         Likewise.
475         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_runtime_setup,
476         elf_machine_rela): Likewise.
477         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
478         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
479         * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
480         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
481         Likewise.
482         * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
483         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup,
484         elf_machine_rela, elf_machine_lazy_rel): Likewise.
485         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup,
486         elf_machine_rela, elf_machine_lazy_rel): Likewise.
487         * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
488         * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
489         * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
490         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
491         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
492         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
493         elf_machine_lazy_rel): Likewise.
494         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
495         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
496         elf_machine_lazy_rel): Likewise.
497         * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
498         * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
499         * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
500         * sysdeps/unix/grantpt.c (grantpt): Likewise.
501         * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
502         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
503         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
504         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
505         Likewise.
506         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
507         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
508         * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
509         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
510         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
511         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
512         * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
513         * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
514         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
515         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
516         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
517         Likewise.
518         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
519         (__posix_fallocate64_l64): Likewise.
520         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
521         (posix_fallocate): Likewise.
522         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64): Likewise.
523         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
524         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request,
525         getifaddrs_internal): Likewise.
526         * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
527         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
528         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
529         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
530         * sysdeps/unix/sysv/linux/posix_fallocate64.c
531         (__posix_fallocate64_l64): Likewise.
532         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
533         Likewise.
534         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
535         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
536         Likewise.
537         * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
538         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
539         * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
540         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
541         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
542         * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
543         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
544         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
545         Likewise.
546         * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
547         * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
548         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
549         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
550         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
551         * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
552         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
553         Likewise.
554         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
555         (posix_fallocate): Likewise.
556         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
557         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
558         * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
559         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup,
560         elf_machine_rela, elf_machine_rela_relative, elf_machine_lazy_rel):
561         Likewise.
562         * time/asctime.c (asctime_internal): Likewise.
563         * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
564         * time/tzset.c (__tzset_parse_tz): Likewise.
565         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
566         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
567         * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
568         * wcsmbs/wcsmbsload.h: Likewise.
569
570 2014-02-10  Ondřej Bílka  <neleai@seznam.cz>
571
572         [BZ #15894]
573         * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
574
575 2014-02-10  Ondřej Bílka  <neleai@seznam.cz>
576
577         * malloc/arena.c (grow_heap, get_free_list, reused_arena,
578         arena_get2): Remove THREAD_STATS conditionals.
579         * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free,
580         __malloc_stats, int): Likewise.
581
582 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
583
584         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
585         f.f_type to RAMFS_MAGIC too.  Compare mp->mnt_type to shm too.
586
587 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
588
589         * manual/setjmp.texi: Fix typos/grammar errors.
590
591 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
592
593         * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
594         Only return early when n is <= 0.  Delete unused return statement.
595
596 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
597
598         * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
599         (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
600         * debug/tst-longjmp_chk3.c: New file.
601
602 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
603
604         * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
605         (test_main): Replace code with set_fortify_handler call.
606         * debug/test-strcpy_chk.c: Likewise.
607         * debug/tst-chk1.c: Likewise.
608         * debug/tst-longjmp_chk.c: Likewise.
609         * test-skeleton.c: Include fcntl.h & paths.h
610         (set_fortify_handler): Define.
611
612 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
613
614         * debug/tst-longjmp_chk.c: Add header comment and include
615         ../test-skeleton.c.
616         (do_test): Mark static.
617         (TEST_FUNCTION): Define.
618
619 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
620
621         * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
622         (IP_PMTUDISC_INTERFACE): Likewise.
623         (IP_MULTICAST_IF): Likewise.
624         (IP_MULTICAST_TTL): Likewise.
625         (IP_MULTICAST_LOOP): Likewise.
626         (IP_ADD_MEMBERSHIP): Likewise.
627         (IP_DROP_MEMBERSHIP): Likewise.
628         (IP_UNBLOCK_SOURCE): Likewise.
629         (IP_BLOCK_SOURCE): Likewise.
630         (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
631         (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
632         (IP_MSFILTER): Likewise.
633         (MCAST_JOIN_GROUP): Likewise.
634         (MCAST_BLOCK_SOURCE): Likewise.
635         (MCAST_UNBLOCK_SOURCE): Likewise.
636         (MCAST_LEAVE_GROUP): Likewise.
637         (MCAST_JOIN_SOURCE_GROUP): Likewise.
638         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
639         (MCAST_MSFILTER): Likewise.
640         (IP_MULTICAST_ALL): Likewise.
641         (IP_UNICAST_IF): Likewise.
642
643 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
644
645         * timezone/Makefile: Delete $(have-ksh) check.
646         ($(objpfx)tzselect): Change $(KSH) to $(BASH).
647         * timezone/tzselect.ksh: Add +x mode bits.
648
649 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
650
651         * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
652         (ANON_INODE_FS_MAGIC): Likewise.
653         (BDEVFS_MAGIC): Likewise.
654         (BINFMTFS_MAGIC): Likewise.
655         (BTRFS_TEST_MAGIC): Likewise.
656         (CRAMFS_MAGIC_WEND): Likewise.
657         (DEBUGFS_MAGIC): Likewise.
658         (ECRYPTFS_SUPER_MAGIC): Likewise.
659         (EXT3_SUPER_MAGIC): Likewise.
660         (EXT4_SUPER_MAGIC): Likewise.
661         (FUTEXFS_SUPER_MAGIC): Likewise.
662         (HOSTFS_SUPER_MAGIC): Likewise.
663         (HUGETLBFS_MAGIC): Likewise.
664         (MINIX3_SUPER_MAGIC): Likewise.
665         (MTD_INODE_FS_MAGIC): Likewise.
666         (NILFS_SUPER_MAGIC): Likewise.
667         (OPENPROM_SUPER_MAGIC): Likewise.
668         (PIPEFS_MAGIC): Likewise.
669         (PSTOREFS_MAGIC): Likewise.
670         (QNX6_SUPER_MAGIC): Likewise.
671         (RAMFS_MAGIC): Likewise.
672         (REISERFS_SUPER_MAGIC_STRING): Likewise.
673         (REISER2FS_SUPER_MAGIC_STRING): Likewise.
674         (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
675         (SECURITYFS_MAGIC): Likewise.
676         (SELINUX_MAGIC): Likewise.
677         (SMACK_MAGIC): Likewise.
678         (SOCKFS_MAGIC): Likewise.
679         (SQUASHFS_MAGIC): Likewise.
680         (STACK_END_MAGIC): Likewise.
681         (TMPFS_MAGIC): Likewise.
682         (USBDEVICE_SUPER_MAGIC): Likewise.
683         (V9FS_MAGIC): Likewise.
684         (XENFS_SUPER_MAGIC): Likewise.
685         (CRAMFS_MAGIC): Fix typo in comment.
686         (EXT2_SUPER_MAGIC): Update comment.
687         (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
688
689 2014-02-08  Joseph Myers  <joseph@codesourcery.com>
690
691         * sysdeps/arm: Move directory from ports/sysdeps/arm.
692         * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
693         * sysdeps/unix/sysv/linux/arm: Move directory from
694         ports/sysdeps/unix/sysv/linux/arm.
695         * README: Update listing for arm-*-linux-gnueabi.
696
697         * README: Remove mention of am33.
698
699 2014-02-07  Roland McGrath  <roland@hack.frob.com>
700
701         * bits/sigset.h (__sigemptyset): Use a statement expression rather
702         than the comma operator, to avoid "rhs of comma has no effect"
703         compiler warnings.
704         (__sigfillset, __sigandset, __sigorset): Likewise.
705         * include/signal.h (__sigemptyset): Likewise.
706         * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
707
708 2014-02-07  Allan McRae  <allan@archlinux.org>
709
710         * version.h (RELEASE): Set to "development".
711         (VERSION): Set to "2.19.90"
712         * NEWS: Add 2.20 section.
713
714 2014-02-06  Carlos O'Donell  <carlos@redhat.com>
715
716         [BZ #16529]
717         * inet/netinet/in.h: Remove comma after IPPROTO_MH.
718
719 2014-02-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
720
721         * manual/contrib.texi: Update entry for Carlos O'Donell,
722         Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
723
724 2014-02-05  Carlos O'Donell  <carlos@rehdat.com>
725
726         * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
727
728         * sysdeps/unix/sysv/linux/kernel-features.h
729         [__LINUX_KERNEL_VERSION >= 0x020621]
730         (__ASSUME_PROC_PID_TASK_COMM): Define.
731
732 2014-02-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
733
734         * manual/contrib.texi: Update entry for Ondrej Bilka, Will
735         Newton and Alexandre Oliva.  Add entries for Steve Ellcey, Chris
736         Leonard and Allan McRae.
737
738 2014-02-04  David S. Miller  <davem@davemloft.net>
739
740         * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
741         32-bit.
742
743 2014-02-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
744
745         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist: New
746         file
747         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
748         New file
749         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist: New
750         file.
751         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist: New
752         file.
753         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
754         New file.
755         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist: New
756         file.
757         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist: New
758         file.
759         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
760         New file.
761         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
762         New file.
763         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
764         New file.
765         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
766         New file.
767         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
768         New file.
769         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
770         New file.
771
772 2014-02-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
773
774         * nptl/shlib-versions: Change powerpc*le start to 2.17.
775         * shlib-versions: Likewise.
776
777 2014-02-04  Roland McGrath  <roland@hack.frob.com>
778             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
779
780         * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
781         (abilist-pattern): New variable, set to %-le.abilist.
782
783         * Makerules (abilist-pattern): New variable.
784         (vpath): Use $(abilist-pattern) in place of %.abilist.
785         (check-abi-% pattern rule): Likewise.
786         (check-abi, update-abi): Likewise.
787
788 2014-02-04  Eric Wong  <normalperson@yhbt.net>
789
790         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
791
792 2014-02-04  Eric Wong  <normalperson@yhbt.net>
793
794         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
795
796 2014-02-03  Carlos O'Donell  <carlos@redhat.com>
797
798         * manual/startup.texi: Add next, previous, and top entries for
799         the `Program Arguments' and `Environment Variables' nodes.
800
801 2014-02-03  Alexandre Oliva <aoliva@redhat.com>
802
803         * manual/macros.texi: Add comments before MTASC-safety macros.
804
805         * manual/users.texi: Document MTASC-safety properties.
806
807         * manual/threads.texi (pthread_key_create, pthread_key_delete,
808         pthread_getspecific, pthread_setspecific): Format with
809         @deftypefun, and add @safety note.
810         * manual/signal.texi: Move comments that analyze the above
811         functions to their home place.
812
813 2014-02-03  Allan McRae  <allan@archlinux.org>
814
815         * po/sl.po: Update Slovenian translation from translation project.
816
817 2014-02-02  Alexandre Oliva <aoliva@redhat.com>
818
819         * manual/time.texi (timegm): Add missing blank after @c.
820         Reported by Joseph Myers <joseph@codesourcery.com>.
821
822 2014-02-01  Alexandre Oliva <aoliva@redhat.com>
823
824         * manual/check-safety.sh: New.
825         * manual/Makefile ($(objpfx)stamp-summary): Run it.
826
827         * manual/terminal.texi: Document MTASC-safety properties.
828
829         * manual/filesys.texi: Document MTASC-safety properties.
830
831         * manual/errno.texi: Document MTASC-safety properties.
832
833         * manual/intro.texi: Document safety identifiers and
834         conditionals.
835
836         * manual/string.texi (wcstok): Fix prototype.
837         (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
838
839         * manual/time.texi: Document MTASC-safety properties.
840
841         * manual/string.texi: Document MTASC-safety properties.
842
843         * manual/threads.texi: Document MTASC-safety properties.
844
845         * manual/stdio.texi: Document MTASC-safety properties.
846
847         * manual/syslog.texi: Document MTASC-safety properties.
848
849         * manual/sysinfo.texi: Document MTASC-safety properties.
850
851         * manual/startup.texi: Document MTASC-safety properties.
852
853         * manual/socket.texi: Document MTASC-safety properties.
854
855         * manual/signal.texi: Document MTASC-safety properties.
856
857 2014-01-31  Alexandre Oliva <aoliva@redhat.com>
858
859         * manual/setjmp.texi: Document MTASC-safety properties.
860
861         * manual/search.texi: Document MTASC-safety properties.
862
863         * manual/resource.texi: Document MTASC-safety properties.
864
865         * manual/process.texi: Document MTASC-safety properties.
866
867         * manual/platform.texi: Document MTASC-safety properties.
868
869         * manual/pipe.texi: Document MTASC-safety properties.
870
871         * manual/pattern.texi: Document MTASC-safety properties.
872
873         * manual/message.texi: Document MTASC-safety properties.
874
875         [BZ #12751]
876         * manual/memory.texi: Document MTASC-safety properties.
877
878         * manual/math.texi: Document MTASC-safety properties.
879
880         * manual/locale.texi: Document MTASC-safety properties.
881
882         * manual/llio.texi: Document MTASC-safety properties.
883
884         * manual/libdl.texi: New.
885
886         * manual/lang.texi: Document MTASC-safety properties.
887
888         * manual/job.texi: Document MTASC-safety properties.
889
890         * manual/getopt.texi: Document MTASC-safety properties.
891
892         * manual/ctype.texi: Document MTASC-safety properties.
893
894 2014-01-31  Maciej W. Rozycki  <macro@codesourcery.com>
895
896         [BZ #16046]
897         * csu/libc-tls.c (static_map): Remove variable.
898         (__libc_setup_tls): Use main executable's link map for TLS data.
899         * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
900         casing for LM_ID_BASE and GL(dl_nns).
901         * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
902         function.  Alias dl_iterate_phdr to __dl_iterate_phdr.
903         * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
904         casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
905         * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
906         member.
907         (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
908         l_phnum members.
909
910 2014-01-30  Alexandre Oliva <aoliva@redhat.com>
911
912         * manual/debug.texi: Document MTASC-safety properties.
913
914 2014-01-29  H.J. Lu  <hongjiu.lu@intel.com>
915
916         [BZ #16510]
917         * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
918         of __x86_64__ when disabling x87 inline functions.
919
920 2014-01-29  Alexandre Oliva <aoliva@redhat.com>
921
922         * manual/charset.texi: Document MTASC-safety properties.
923
924         * manual/crypt.texi: Document MTASC-safety properties.
925
926         * manual/conf.texi: Document MTASC-safety properties.
927
928         * manual/arith.texi: Document MTASC-safety properties.
929
930         * manual/argp.texi: Document MTASC-safety properties.
931
932         * manual/macros.texi: Introduce macros to document multi
933         thread, asynchronous signal and asynchronous cancellation
934         safety properties.
935         * manual/intro.texi: Introduce the properties themselves.
936
937 2014-01-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
938
939         * sysdeps/sh/sh4/Makefile: New file.
940
941 2014-01-27  Andreas Schwab  <schwab@linux-m68k.org>
942
943         * math/gen-libm-test.pl ($srcdir): New variable.
944         ($auto_input): Use it.
945
946 2014-01-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
947
948         [BZ #16506]
949         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
950         access beyond array bounds when parsing netgroups file.
951
952         * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
953         the old buffer before realloc.
954
955 2014-01-27  Allan McRae  <allan@archlinux.org>
956
957         * po/fr.po: Update French translation from translation project.
958
959 2014-01-26  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
960
961         * sysdeps/sh/libm-test-ulps: Regenerate.
962
963 2014-01-24  David S. Miller  <davem@davemloft.net>
964
965         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
966
967 2014-01-25  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
968
969         * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
970         * sysdeps/sh/libm-test-ulps: ... here and regenerated.
971
972 2013-01-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
973
974         [BZ #16474]
975         * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
976         string pointers after reallocation.
977
978 2014-01-24  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
979
980         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
981         __SH4A__ instead of __SH_FPU_ANY__.
982
983 2014-01-23  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
984
985         * sysdeps/sh/fpu_control.h: New file.
986         * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
987         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
988         * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
989         * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
990         * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
991         * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
992         * sysdeps/sh/sys/ucontext.h: Remove.
993         * sysdeps/sh/sys: Remove directory.
994
995 2014-01-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
996
997         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
998         s390/sys/ucontext.h.
999         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
1000         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
1001
1002 2014-01-20  H.J. Lu  <hongjiu.lu@intel.com>
1003
1004         [BZ #15605]
1005         * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
1006
1007 2014-01-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1008
1009         [BZ#16431]
1010         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
1011         Adjust the vDSO correctly for internal calls.
1012         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
1013
1014 2014-01-20  Allan McRae  <allan@archlinux.org>
1015
1016         * po/ca.po: Update Catalan translation from translation project.
1017
1018 2014-01-16  Mike Frysinger  <vapier@gentoo.org>
1019
1020         * sysdeps/s390/sotruss-lib.c: New file.
1021
1022 2014-01-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1023
1024         [BZ#16430]
1025         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
1026         (__GI___gettimeofday): Alias for a different internal symbol to avoid
1027         local calls issues by not having a PLT stub required for IFUNC calls.
1028         * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
1029
1030 2014-01-16 Joseph Myers  <joseph@codesourcery.com>
1031
1032         * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
1033         * math/test-fpucw-static.c: Likewise.
1034
1035 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
1036
1037         [BZ #16453]
1038         * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
1039
1040 2014-01-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1041
1042         * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
1043         implementation for powerpc.
1044
1045 2014-01-15  Ondřej Bílka  <neleai@seznam.cz>
1046
1047         [BZ #14782]
1048         * sysdeps/posix/system.c (__libc_system): Do not enable
1049         asynchronous cancellation.
1050
1051 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
1052
1053         [BZ #16427]
1054         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
1055         handling only for numbers special also in the IEEE case.
1056
1057 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
1058
1059         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
1060
1061 2014-01-11  Allan McRae  <allan@archlinux.org>
1062
1063         * po/bg.po: Update Bulgarian translation from translation project.
1064
1065         * po/de.po: Update German translation from translation project.
1066
1067 2014-01-10  Roland McGrath  <roland@hack.frob.com>
1068
1069         * sysdeps/generic/gcc-compat.h: New file.
1070
1071 2014-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
1072
1073         * benchtests/asin-inputs: Correct slow inputs.
1074         * benchtests/acos-inputs: Likewise.
1075
1076 2014-01-10  Allan McRae  <allan@archlinux.org>
1077
1078         * po:sv.po: Update Swedish translation from translation project.
1079
1080         * po/vi.po: Update Vietnamese translation from translation project.
1081
1082         * po/eo.po: Update Esperanto translation from translation project.
1083
1084         * po/cs.po: Update Czech translation from translation project.
1085
1086         * po/nl.po: Update Dutch translation from translation project.
1087
1088         * po/pl.po: Update Polish translation from translation project.
1089
1090         * po/ru.po: Update Russian translation from translation project.
1091
1092         * po/uk.po: Update Ukrainian translation from translation project.
1093
1094 2014-01-08  Brooks Moses  <bmoses@google.com>
1095
1096         * elf/dl-load.c: Fix comment typo.
1097
1098 2014-01-08  Carlos O'Donell  <carlos@redhat.com>
1099
1100         * po/header.pot: Rename to...
1101         * po/pot.header: ... this.
1102         * po/Makefile: Use pot.header.
1103
1104 2014-01-08  Yuriy Kaminskiy  <yumkam@gmail.com>
1105             Maxim Kuvyrkov  <maxim@kugelworks.com>
1106
1107         [BZ #16394]
1108         * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
1109         SRC and DEST against LEN.
1110
1111 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1112
1113         [BZ #16414]
1114         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
1115         implementation.
1116         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
1117
1118 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1119
1120         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1121
1122 2014-01-08  Joseph Myers  <joseph@codesourcery.com>
1123
1124         [BZ #16408]
1125         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
1126         for large positive arguments.
1127
1128 2014-01-07  Joseph Myers  <joseph@codesourcery.com>
1129
1130         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
1131
1132         * math/auto-libm-test-in: Mark various tests with
1133         xfail-rounding:ldbl-128ibm.
1134         * math/auto-libm-test-out: Regenerated.
1135
1136         [BZ #16407]
1137         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
1138         Increase overflow threshold.
1139
1140 2014-01-07  Ondřej Bílka  <neleai@seznam.cz>
1141
1142         [BZ #14286]
1143         * stdio-common/vfprintf.c: Check for integer overflow.
1144
1145 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
1146
1147         * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
1148         the first argument and return value of __tls_get_addr_internal.
1149
1150 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
1151
1152         * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
1153         also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
1154
1155 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
1156
1157         * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
1158         * sysdeps/s390/rtld-global-offsets.sym: New file.
1159         * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
1160         GLIBC_2.19 symbol.
1161         * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
1162         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
1163         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
1164         ... this.
1165         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
1166         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
1167         ... this.
1168         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
1169         Regenerate.
1170         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
1171         Regenerate.
1172         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
1173         halfs of GPRs for high_gprs contexts.
1174         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
1175         restore upper halfs of GPRs for high_gprs contexts.  Copy uc_flags
1176         field.
1177         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
1178         uc_flags field.
1179         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
1180         64 bit versions:
1181         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
1182         for high GPRs (uc_high_gprs) and for future extensions
1183         (__reserved).
1184         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
1185         for future extensions (__reserved).
1186         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
1187         64 bit versions:
1188         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
1189         SC_HIGHGPRS offset definition.
1190         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
1191         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
1192
1193 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
1194
1195         * Versions.def: Add GLIBC_2.19 for libpthread.
1196         * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
1197         siglongjmp for libpthread with GLIBC_2.19 symver.
1198         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
1199         * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
1200         * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
1201         * sysdeps/s390/__longjmp.c: New file.
1202         * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
1203         * sysdeps/s390/longjmp.c: New file.
1204         * sysdeps/s390/setjmp.S: New file.
1205         * sysdeps/s390/sigjmp.S: New file.
1206         * sysdeps/s390/v1-longjmp.c: New file.
1207         * sysdeps/s390/v1-setjmp.h: New file.
1208         * sysdeps/s390/v1-sigjmp.c: New file.
1209         * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
1210         * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
1211         GLIBC_2.19 version.
1212         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
1213         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
1214         versioned symbols for ____longjmp_chk.
1215         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
1216         Likewise.
1217         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
1218         Regenerate.
1219         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
1220         Regenerate.
1221         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
1222         Regenerate.
1223         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
1224         Regenerate.
1225         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
1226         * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
1227         * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
1228         * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
1229         * sysdeps/s390/s390-32/setjmp-common.S: ... this.
1230         * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
1231         * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
1232         * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
1233         * sysdeps/s390/s390-64/setjmp-common.S: ... this.
1234         * sysdeps/s390/rtld-__longjmp.c: New file.
1235         * sysdeps/s390/rtld-setjmp.S: New file.
1236
1237 2014-01-06  Joseph Myers  <joseph@codesourcery.com>
1238
1239         [BZ #16400]
1240         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
1241         Return -__logl (x) for small positive arguments without evaluating
1242         a polynomial.
1243
1244 2014-01-06  Mike Frysinger  <vapier@gentoo.org>
1245
1246         * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
1247         Rename to ...
1248         (__ptrace_peeksiginfo_args): ... this.
1249         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
1250         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
1251         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
1252
1253 2014-01-06  Allan McRae  <allan@archlinux.org>
1254
1255         * inet/netinet/in.h: Fix typo in comment.
1256
1257 2014-01-05  Andreas Jaeger  <aj@suse.de>
1258
1259         * sysdeps/i386/fpu/libm-test-ulps: Update.
1260
1261 2014-01-05  Allan McRae  <allan@archlinux.org>
1262
1263         * po/libc.pot: Regenerated.
1264
1265         * malloc/memusagestat.c: Fix gettext call formatting.
1266
1267 2014-01-04  Sami Kerola  <kerolasa@iki.fi>
1268
1269         * nscd/nscd.c: Improve usage() output.
1270
1271 2014-01-04  Mike Frysinger  <vapier@gentoo.org>
1272
1273         * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
1274         * sysdeps/unix/sysv/linux/configure: Regenerated.
1275         * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
1276         * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
1277
1278 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
1279
1280         [BZ #16390]
1281         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
1282         (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
1283
1284 2014-01-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1285
1286         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
1287         extra tokens at end of #undef directive.
1288         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
1289         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
1290         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
1291
1292 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
1293
1294         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
1295
1296         * math/auto-libm-test-in: Mark various tests with
1297         xfail-rounding:ldbl-128ibm.
1298         * math/auto-libm-test-out: Regenerated.
1299
1300 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
1301
1302         [BZ #16386]
1303         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
1304         numbers with subnormal high part when calculating exponent.
1305
1306         [BZ #16385]
1307         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
1308         fabs.
1309
1310         [BZ #16384]
1311         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
1312         M_LN2l.
1313         (__ieee754_acoshl): Use __log1pl not __log1p.
1314
1315 2013-01-02  Ondřej Bílka  <neleai@seznam.cz>
1316
1317         * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all,
1318         ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry,
1319         __failing_morecore, ptmalloc_init, dump_heap, new_heap, grow_heap,
1320         heap_trim, _int_new_arena, get_free_list, reused_arena, arena_get2):
1321         Convert to GNU style.
1322         * malloc/hooks.c (memalign_hook_ini, __malloc_check_init,
1323         mem2mem_check, mem2chunk_check, top_check, realloc_check,
1324         memalign_check, __malloc_set_state): Likewise.
1325         * malloc/mallocbug.c (main): Likewise.
1326         * malloc/malloc.c (__malloc_assert, malloc_init_state, free_perturb,
1327         do_check_malloced_chunk, do_check_malloc_state, sysmalloc, systrim,
1328         mremap_chunk, __libc_malloc, __libc_free, __libc_realloc, _mid_memalign,
1329         _int_malloc, malloc_consolidate, _int_realloc, _int_memalign, mtrim,
1330         musable, __libc_mallopt, __posix_memalign, malloc_info): Likewise.
1331         * malloc/malloc.h: Likewise.
1332         * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook, mallochook,
1333         memalignhook, reallochook, mabort): Likewise.
1334         * malloc/mcheck.h: Likewise.
1335         * malloc/memusage.c (update_data, me, malloc, realloc, calloc, free, mmap,
1336         mmap64, mremap, munmap, dest): Likewise.
1337         * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
1338         * malloc/morecore.c (__default_morecore): Likewise.
1339         * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
1340         * malloc/obstack.c (_obstack_begin, _obstack_newchunk,
1341         _obstack_allocated_p, obstack_free, _obstack_memory_used,
1342         print_and_abort): Likewise.
1343         * malloc/obstack.h: Likewise.
1344         * malloc/set-freeres.c (__libc_freeres): Likewise.
1345         * malloc/tst-mallocstate.c (main): Likewise.
1346         * malloc/tst-mtrace.c (main): Likewise.
1347         * malloc/tst-realloc.c (do_test): Likewise.
1348
1349 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
1350
1351         [BZ #16366]
1352         * nscd/netgroupcache.c (do_notfound): New function.
1353         (addgetnetgrentX): Use it.
1354
1355         [BZ # 16365]
1356         * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
1357         NSS_STATUS_NOTFOUND.
1358
1359 2014-01-01  Joseph Myers  <joseph@codesourcery.com>
1360
1361         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
1362         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1363
1364 2014-01-01  Allan McRae  <allan@archlinux.org>
1365
1366         * scripts/update-copyrights: Update configure input file suffix.
1367
1368         * NEWS: Update copyright year.
1369         * catgets/gencat.c: Likewise.
1370         * csu/version.c: Likewise.
1371         * debug/catchsegv.sh: Likewise.
1372         * debug/pcprofiledump.c: Likewise.
1373         * debug/xtrace.sh: Likewise.
1374         * elf/ldconfig.c: Likewise.
1375         * elf/ldd.bash.in: Likewise.
1376         * elf/pldd.c: Likewise.
1377         * elf/sotruss.ksh: Likewise.
1378         * elf/sprof.c: Likewise.
1379         * iconv/iconv_prog.c: Likewise.
1380         * iconv/iconvconfig.c: Likewise.
1381         * locale/programs/locale.c: Likewise.
1382         * locale/programs/localedef.c: Likewise.
1383         * login/programs/pt_chown.c: Likewise.
1384         * malloc/memusage.sh: Likewise.
1385         * malloc/memusagestat.c: Likewise.
1386         * malloc/mtrace.pl: Likewise.
1387         * manual/libc.texinfo: Likewise.
1388         * nscd/nscd.c: Likewise.
1389         * nss/getent.c: Likewise.
1390         * nss/makedb.c: Likewise.
1391         * posix/getconf.c: Likewise.
1392         * scripts/test-installation.pl: Likewise.
1393
1394         * All files with FSF copyright notices: Update copyright dates
1395         using scripts/update-copyrights.
1396         * intl/plural.c: Regenerated.
1397         * locale/programs/charmap-kw.h: Likewise.
1398         * locale/programs/locfile-kw.h: Likewise.
1399
1400 2013-12-31  Mike Frysinger  <vapier@gentoo.org>
1401
1402         * sysdeps/unix/sysv/linux/configure: Regenerated.
1403         * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
1404         the linux/fanotify.h header.
1405         * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
1406         HAVE_LINUX_FANOTIFY_H is defined.
1407
1408 2013-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
1409
1410         * benchtests/cos-inputs: New inputs.
1411         * benchtests/sin-inputs: Likewise.
1412
1413         * benchtests/atan-inputs: New inputs. Fix name of multiple
1414         precision fallback inputs.
1415
1416         * benchtests/atanh-inputs: New inputs.
1417         * benchtests/tanh-inputs: Likewise.
1418
1419         * benchtests/acosh-inputs: New inputs.
1420         * benchtests/asinh-inputs: Likewise.
1421
1422         * benchtests/cosh-inputs: New inputs.
1423         * benchtests/sinh-inputs: Likewise.
1424
1425         * benchtests/acos-inputs: Add more inputs.
1426         * benchtests/asin-inputs: Likewise.
1427
1428 2013-12-30  Ville Skytta  <ville.skytta@iki.fi>
1429
1430         [BZ #16375]
1431         * manual/arith.texi: Fix spelling.
1432         * manual/charset.texi: Likewise.
1433         * manual/errno.texi: Likewise.
1434         * manual/filesys.texi: Likewise.
1435         * manual/lang.texi: Likewise.
1436         * manual/llio.texi: Likewise.
1437         * manual/locale.texi: Likewise.
1438         * manual/message.texi: Likewise.
1439         * manual/resource.texi: Likewise.
1440         * manual/search.texi: Likewise.
1441         * manual/setjmp.texi: Likewise.
1442         * manual/stdio.texi: Likewise.
1443         * manual/string.texi: Likewise.
1444         * manual/sysinfo.texi: Likewise.
1445         * manual/time.texi: Likewise.
1446
1447 2013-12-27  Carlos O'Donell  <carlos@redhat.com>
1448
1449         * po/sl.po: New file.
1450
1451 2013-12-27  Mike Frysinger  <vapier@gentoo.org>
1452
1453         * .gitignore: Add core/.gdbinit/.gdb_history.
1454
1455 2013-12-27  Allan McRae  <allan@archlinux.org>
1456
1457         [BZ #16369]
1458         * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
1459         Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
1460
1461 2013-12-24  Brooks Moses  <bmoses@google.com>
1462
1463         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
1464         all compilers that claim C++98 compliance, not just GCC.
1465         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
1466         Likewise.
1467
1468 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
1469
1470         * NEWS: Restore accidentally deleted bug-fix entries.
1471
1472 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
1473             Ondřej Bílka  <neleai@seznam.cz>
1474
1475         [BZ #15073]
1476         * malloc/malloc.c (_int_free): Perform sanity check only if we
1477         have_lock.
1478
1479 2013-12-23  Ondřej Bílka  <neleai@seznam.cz>
1480
1481         [BZ #12986]
1482         * manual/stdio.texi (String Input Conversions): Clarify that character
1483         classes are not supported.
1484
1485 2013-12-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1486
1487         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1488
1489 2013-12-22  Joseph Myers  <joseph@codesourcery.com>
1490
1491         [BZ #16337]
1492         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
1493         Calculate results for small negative arguments directly rather
1494         than using reflection formula with special underflow handling.
1495
1496         * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
1497         * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
1498         sysdeps/unix/bsd/bsd4.4/syscalls.list.
1499         (fchflags): Likewise.
1500         (revoke): Likewise.
1501         (setlogin): Likewise.
1502         (sigaltstack): Likewise.
1503         (wait4): Likewise.
1504         (sigblock): Remove.
1505         (sigsetmask): Likewise.
1506         (wait3): Likewise.
1507         (waitpid): Likewise.
1508         * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
1509         * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
1510         file.
1511         * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
1512         * sysdeps/unix/bsd/Makefile: ... here.
1513         * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
1514         * sysdeps/unix/bsd/Versions: ... here.
1515         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
1516         * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
1517         * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
1518         * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
1519         * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
1520         * sysdeps/unix/bsd/sigblock.c: ... here.
1521         * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
1522         * sysdeps/unix/bsd/sigsetmask.c: ... here.
1523         * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
1524         * sysdeps/unix/bsd/sigvec.c: ... here.
1525         * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
1526         * sysdeps/unix/bsd/tcdrain.c: ... here.
1527         * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
1528         * sysdeps/unix/bsd/tcgetattr.c: ... here.
1529         * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
1530         * sysdeps/unix/bsd/tcsetattr.c: ... here.
1531         * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
1532         * sysdeps/unix/bsd/wait.c: ... here.
1533         * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
1534         * sysdeps/unix/bsd/wait3.c: ... here.
1535         * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
1536         * sysdeps/unix/bsd/waitpid.c: ... here.
1537
1538 2013-12-21  Joseph Myers  <joseph@codesourcery.com>
1539
1540         [BZ #16356]
1541         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
1542         round-to-nearest for [!USE_AS_EXPM1L].
1543         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
1544         * math/auto-libm-test-in: Do not expect cosh tests to fail.  Add
1545         more tests of exp and exp10.  Expect some exp10 tests to miss
1546         exceptions or fail in directed rounding modes.
1547         * math/auto-libm-test-out: Regenerated.
1548         * math/libm-test.inc (exp10_tonearest_test_data): New array.
1549         (exp10_test_tonearest): New function.
1550         (exp10_towardzero_test_data): New array.
1551         (exp10_test_towardzero): New function.
1552         (exp10_downward_test_data): New array.
1553         (exp10_test_downward): New function.
1554         (exp10_upward_test_data): New array.
1555         (exp10_test_upward): New function.
1556         (main): Call the new functions.
1557         * sysdeps/i386/fpu/libm-test-ulps: Update.
1558         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1559
1560 2013-12-20  Joseph Myers  <joseph@codesourcery.com>
1561
1562         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
1563         asinh, atan, atan2, atanh, cbrt, cos and cosh.
1564         * math/auto-libm-test-out: Regenerated.
1565         * math/libm-test.inc (acosh_test_data): Add more tests.
1566         (atanh_test_data): Likewise.
1567         (ceil_test_data): Likewise.
1568         (copysign_test_data): Likewise.
1569         * sysdeps/i386/fpu/libm-test-ulps: Update.
1570         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1571
1572         * timezone/checktab.awk: Update from tzcode 2013i.
1573         * timezone/private.h: Likewise.
1574         * timezone/scheck.c: Likewise.
1575         * timezone/tzfile.h: Likewise.
1576         * timezone/tzselect.ksh: Likewise.
1577         * timezone/zdump.c: Likewise.
1578         * timezone/zic.c: Likewise.
1579
1580         * math/auto-libm-test-in: Add tests of cpow.
1581         * math/auto-libm-test-out: Regenerated.
1582         * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
1583         * * math/gen-auto-libm-tests.c (func_calc_method): Add value
1584         mpc_cc_c.
1585         (func_calc_desc): Add mpc_cc_c union field.
1586         (test_functions): Add cpow.
1587         (special_fill_2pi): New function.
1588         (special_real_inputs): Add 2pi.
1589         (calc_generic_results): Handle mpc_cc_c.
1590         * sysdeps/i386/fpu/libm-test-ulps: Update.
1591         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1592
1593         * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
1594         csqrt, ctan and ctanh.
1595         * math/auto-libm-test-out: Regenerated.
1596         * math/libm-test.inc (TEST_COND_x86_64): New macro.
1597         (TEST_COND_x86): Likewise.
1598         (ccos_test_data): Use AUTO_TESTS_c_c.
1599         (ccosh_test_data): Likewise.
1600         (cexp_test_data): Likewise.
1601         (clog_test_data): Likewise.
1602         (csqrt_test_data): Likewise.
1603         (ctan_test_data): Likewise.
1604         (ctan_tonearest_test_data): Likewise.
1605         (ctan_towardzero_test_data): Likewise.
1606         (ctan_downward_test_data): Likewise.
1607         (ctan_upward_test_data): Likewise.
1608         (ctanh_test_data): Likewise.
1609         (ctanh_tonearest_test_data): Likewise.
1610         (ctanh_towardzero_test_data): Likewise.
1611         (ctanh_downward_test_data): Likewise.
1612         (ctanh_upward_test_data): Likewise.
1613         * math/gen-auto-libm-tests.c (func_calc_method): Add value
1614         mpc_c_c.
1615         (func_calc_desc): Add mpc_c_c union field.
1616         (FUNC_mpc_c_c): New macro.
1617         (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
1618         ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
1619         ctanh.
1620         (special_fill_min_subnorm_p120): New function.
1621         (special_real_inputs): Add min_subnorm_p120.
1622         (calc_generic_results): Handle mpc_c_c.
1623         * sysdeps/i386/fpu/libm-test-ulps: Update.
1624         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1625
1626 2013-12-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
1627
1628         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin,
1629         do_sin_slow): New functions.
1630         (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2,
1631         cslow2, csloww1, csloww2): Use the new functions.
1632
1633         * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
1634         Use M to change sign of result instead of X.  Assume X is
1635         positive.
1636         (csloww1): Likewise.
1637         (__sin): Adjust.
1638         (__cos): Adjust.
1639
1640         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
1641         arguments A and DA.
1642         (__sin): Adjust.
1643         (__cos): Likewise.
1644
1645         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
1646         (__cos): Likewise.
1647         (sloww1): Don't adjust sign of DX.
1648         (csloww1): Likewise.
1649         (sloww2): Use X directly and don't adjust sign of DX.
1650         (csloww2): Likewise.
1651
1652 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
1653
1654         * math/auto-libm-test-in: Add tests of cabs and carg.
1655         * math/auto-libm-test-out: Regenerated.
1656         * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
1657         (carg_test_data): Likewise.
1658         * math/gen-auto-libm-tests.c (func_calc_method): Add value
1659         mpc_c_f.
1660         (func_calc_desc): Add mpc_c_f union field.
1661         (test_functions): Add cabs and carg.
1662         (calc_generic_results): Handle mpc_c_f.
1663
1664         * sysdeps/powerpc/powerpc32/libgcc-compat.S
1665         [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
1666         as a macro and a compat symbol.
1667         [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
1668         [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
1669         [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
1670         [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
1671         [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
1672         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
1673         not use .hidden.
1674         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
1675         Likewise.
1676         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
1677         Likewise.
1678         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
1679         Likewise.
1680         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
1681         Likewise.
1682         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
1683         Likewise.
1684         * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
1685         __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
1686         from GLIBC_2.3.2.
1687
1688 2013-12-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1689
1690         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1691
1692 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
1693
1694         * manual/texinfo.tex: Update to version 2013-11-26.10 with
1695         trailing whitespace removed.
1696         * scripts/config.guess: Update to version 2013-11-29.
1697         * scripts/config.sub: Update to version 2013-10-01.
1698
1699         * math/auto-libm-test-in: Add tests of sincos.
1700         * math/auto-libm-test-out: Regenerated.
1701         * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
1702         * math/gen-auto-libm-tests.c (func_calc_method): Add value
1703         mpfr_f_11.
1704         (func_calc_desc): Add mpfr_f_11 union field.
1705         (test_functions): Add sincos.
1706         (calc_generic_results): Handle mpfr_f_11.
1707         * sysdeps/i386/fpu/libm-test-ulps: Update.
1708         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1709
1710 2013-12-19  Andreas Schwab  <schwab@suse.de>
1711
1712         * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
1713         CALL_MCOUNT.
1714         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
1715         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
1716         [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
1717
1718 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
1719
1720         * math/gen-libm-test.pl (%beautify): Remove M_* constants.
1721         * sysdeps/i386/fpu/libm-test-ulps: Update.
1722         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1723
1724         [BZ #16293]
1725         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
1726         round-to-nearest mode when using frndint.
1727         * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
1728         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
1729         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
1730         Likewise.
1731         * math/auto-libm-test-in: Add more tests of expm1.  Do not expect
1732         sinh test to fail.
1733         * math/auto-libm-test-out: Regenerated.
1734         * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
1735         (TEST_COND_x86): Likewise.
1736         (expm1_tonearest_test_data): New array.
1737         (expm1_test_tonearest): New function.
1738         (expm1_towardzero_test_data): New array.
1739         (expm1_test_towardzero): New function.
1740         (expm1_downward_test_data): New array.
1741         (expm1_test_downward): New function.
1742         (expm1_upward_test_data): New array.
1743         (expm1_test_upward): New function.
1744         (main): Run the new test functions.
1745         * sysdeps/i386/fpu/libm-test-ulps: Update.
1746         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1747
1748         * include/features.h: Update comment documenting feature test
1749         macros.  Mention _DEFAULT_SOURCE in comment.
1750         [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
1751         [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
1752         _BSD_SOURCE and _SVID_SOURCE.
1753         [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
1754         !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
1755         !_SVID_SOURCE]: Likewise.
1756         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
1757         (__USE_POSIX_IMPLICITLY): Define.
1758         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
1759         (_POSIX_SOURCE): Undefine and redefine.
1760         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
1761         (_POSIX_C_SOURCE): Likewise.
1762         * manual/creature.texi (_DEFAULT_SOURCE): Document.
1763         (Feature Test Macros): Update documentation of default features.
1764
1765 2013-12-19  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
1766
1767         * benchtests/Makefile: Add bench-strtok.
1768         * benchtests/bench-strtok.c: New file: strtok benchtest.
1769
1770 2013-12-19  Allan McRae  <allan@archlinux.org>
1771
1772         * manual/install.texi: Suppress menu for plain text output.
1773         * INSTALL: Regenerated.
1774
1775 2013-12-18  Brooks Moses  <bmoses@google.com>
1776
1777         [BZ #15846]
1778         * misc/getauxval.c: Include errno.h.
1779         (__getauxval): Set errno to ENOENT if the requested type is not
1780         found.
1781         * misc/sys/auxv.h (getauxval): Document that it may set errno;
1782         don't declare with __attribute_const__.
1783         * elf/tst-auxv.c: Add tests for errno and type-not-found case.
1784         * manual/startup.texi: Document that getauxval sets errno.
1785
1786 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
1787
1788         * math/auto-libm-test-in: Add tests of jn and yn.
1789         * math/auto-libm-test-out: Regenerated.
1790         * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
1791         (yn_test_data): Likewise.
1792         * math/gen-auto-libm-tests.c (func_calc_method): Add value
1793         mpfr_if_f.
1794         (func_calc_desc): Add mpfr_if_f union field.
1795         (FUNC_mpfr_if_f): New macro.
1796         (test_functions): Add jn and yn.
1797         (calc_generic_results): Assert type of second input for
1798         mpfr_ff_f.  Handle mpfr_if_f.
1799         (output_for_one_input_case): Disable all checking for arguments
1800         fitting floating-point types in case of an integer argument.
1801         * sysdeps/i386/fpu/libm-test-ulps: Update.
1802         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1803
1804         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
1805         Don't expect fegetround reference in libm.so.
1806
1807 2013-12-17  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
1808
1809         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
1810         $(config-cflags-nofma).
1811
1812 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
1813
1814         * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
1815         * math/auto-libm-test-out: Regenerated.
1816
1817         [BZ #16338]
1818         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
1819         to determine exponent and adjust argument to have exponent of -1.
1820         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
1821         log2.
1822         * math/auto-libm-test-out: Regenerated.
1823         * sysdeps/i386/fpu/libm-test-ulps: Update.
1824         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1825
1826 2013-12-18  Ondřej Bílka  <neleai@seznam.cz>
1827
1828         * manual/probes.texi: Remove cases when per-thread arenas are
1829         disabled.
1830
1831 2013-12-18  Andreas Schwab  <schwab@suse.de>
1832
1833         * sysdeps/i386/i686/multiarch/strstr.c: Remove.
1834         * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
1835         * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
1836         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
1837         * sysdeps/i386/i686/multiarch/Makefile: Update.
1838         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
1839
1840 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
1841
1842         * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
1843         * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
1844
1845 2013-12-17  Paul Eggert  <eggert@cs.ucla.edu>
1846
1847         [BZ #15968]
1848         Support TZ transition times < 00:00:00.
1849         This is needed for version-3 tz-format files; it supports time
1850         stamps past 2037 for America/Godthab (the only entry in the tz
1851         database for which this change is relevant).
1852         * manual/time.texi (TZ Variable): Document transition times
1853         from -167:59:59 through -00:00:01.
1854         * time/tzset.c (tz_rule): Time of day is now signed.
1855         (__tzset_parse_tz): Parse negative time of day.
1856
1857         Document TZ transition times >= 25:00:00.
1858         * manual/time.texi (TZ Variable): Document transition times from
1859         25:00:00 through 167:59:59.  These are already supported, and this
1860         support will help with version-3 tz-format files.
1861
1862         * manual/time.texi (TZ Variable): Modernize North America example
1863         to reflect current (i.e., 2007-and-later) daylight saving rules.
1864
1865         * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
1866
1867 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
1868
1869         * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
1870         * sysdeps/unix/bsd/bits/stat.h: Likewise.
1871         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
1872         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
1873         * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
1874         * sysdeps/unix/bsd/bsdstat.h: Likewise.
1875         * sysdeps/unix/bsd/clock.c: Likewise.
1876         * sysdeps/unix/bsd/i386/vfork.S: Likewise.
1877         * sysdeps/unix/bsd/i386/wait3.S: Likewise.
1878         * sysdeps/unix/bsd/init-posix.c: Likewise.
1879         * sysdeps/unix/bsd/poll.c: Likewise.
1880         * sysdeps/unix/bsd/ptsname.c: Likewise.
1881         * sysdeps/unix/bsd/seekdir.c: Likewise.
1882         * sysdeps/unix/bsd/setegid.c: Likewise.
1883         * sysdeps/unix/bsd/seteuid.c: Likewise.
1884         * sysdeps/unix/bsd/setgid.c: Likewise.
1885         * sysdeps/unix/bsd/setrgid.c: Likewise.
1886         * sysdeps/unix/bsd/setruid.c: Likewise.
1887         * sysdeps/unix/bsd/setsid.c: Likewise.
1888         * sysdeps/unix/bsd/setuid.c: Likewise.
1889         * sysdeps/unix/bsd/sigaction.c: Likewise.
1890         * sysdeps/unix/bsd/sigprocmask.c: Likewise.
1891         * sysdeps/unix/bsd/sigsuspend.c: Likewise.
1892         * sysdeps/unix/bsd/sys/reboot.h: Likewise.
1893         * sysdeps/unix/bsd/telldir.c: Likewise.
1894         * sysdeps/unix/bsd/times.c: Likewise.
1895         * sysdeps/unix/bsd/usleep.c: Likewise.
1896
1897         * misc/Makefile (install-lib): Remove libbsd-compat.a.
1898         ($(objpfx)libbsd-compat.a): Remove rule.
1899
1900         * include/features.h (__FAVOR_BSD): Do not define.
1901         * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
1902         features conflicting with POSIX.
1903         (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
1904         (_BSD_SOURCE): Remove description of not being a subset of other
1905         feature test macros.
1906         * manual/job.texi (getpgrp): Do not document BSD version.
1907         (getpgid): Do not document by reference to BSD getpgrp.
1908         * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
1909         * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
1910         * signal/signal.h [__FAVOR_BSD]: Likewise.
1911         * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
1912         instead of making contents conditional on [__FAVOR_BSD].
1913         * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
1914
1915 2013-12-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1916
1917         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1918
1919 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
1920
1921         [BZ #16314]
1922         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
1923         values below 2**-450, not 2**-500.
1924         * math/auto-libm-test-in: Don't allow spurious underflow from
1925         hypot.
1926         * math/auto-libm-test-out: Regenerated.
1927
1928         [BZ #16316]
1929         [BZ #16330]
1930         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
1931         values of ha and hb and sort them after adjusting subnormal
1932         arguments.
1933         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
1934         Likewise.
1935         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
1936         values of ea and eb and sort them after adjusting subnormal
1937         arguments.
1938         * math/auto-libm-test-in: Do not expect some hypot tests of
1939         subnormals to fail.  Add more hypot tests.
1940         * math/auto-libm-test-out: Regenerated.
1941
1942 2013-12-16  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
1943
1944         [BZ #13304]
1945         * sysdeps/sh/s_fma.c: New file.
1946         * sysdeps/sh/s_fmaf.c: New file.
1947         * sysdeps/sh/soft-fp/sfp-machine.h: New file.  Based on arm
1948         version.
1949         * sysdeps/sh/Implies: Add sh/soft-fp.
1950
1951 2013-12-16  Roland McGrath  <roland@hack.frob.com>
1952
1953         * elf/dl-error.c (struct catch): Add new member `errcode'.  Add a
1954         level of indirection to members `objname', `errstring', `malloced'.
1955         (_dl_signal_error): Store through pointers in *LCATCH rather modifying
1956         *LCATCH itself.  Set *LCATCH->errcode to ERRCODE rather than passing
1957         it as the __longjmp argument (just pass 1 instead).
1958         (_dl_catch_error): Initialize C with argument pointers and address of
1959         volatile local ERRCODE rather than copying values out of C at return.
1960
1961 2013-12-16  Joseph Myers  <joseph@codesourcery.com>
1962
1963         * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
1964         * math/auto-libm-test-out: Regenerated.
1965         * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
1966         (hypot_test_data): Likewise.
1967         (pow_test_data): Likewise.
1968         (pow_tonearest_test_data): Likewise.
1969         * math/gen-auto-libm-tests.c (func_calc_method): Add value
1970         mpfr_ff_f.
1971         (func_calc_desc): Add mpfr_ff_f union field.
1972         (FUNC_mpfr_ff_f): New macro.
1973         (test_functions): Add atan2, hypot and pow.
1974         (special_fill_min): New function.
1975         (special_fill_minus_min): Likewise.
1976         (special_fill_min_subnorm): Likewise.
1977         (special_fill_minus_min_subnorm): Likewise.
1978         (special_real_inputs): Add min, -min, min_subnorm and
1979         -min_subnorm.
1980         (calc_generic_results): Handle mpfr_ff_f.
1981         * sysdeps/i386/fpu/libm-test-ulps: Update.
1982         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1983
1984 2013-12-16  Will Newton  <will.newton@linaro.org>
1985
1986         * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
1987         (Aligned Memory Blocks): Add documentation for aligned_alloc
1988         and suggest it as an alternative to posix_memalign.
1989         (Hooks for Malloc): Document __memalign_hook is also called
1990         for aligned_alloc.  (Summary of Malloc): Add summary for
1991         aligned alloc.  Document __memalign_hook is also called
1992         for aligned_alloc.
1993
1994 2013-12-16  Will Newton  <will.newton@linaro.org>
1995
1996         * manual/memory.texi (Malloc Examples): Clarify default
1997         alignment documentation.  Suggest posix_memalign rather
1998         than memalign or valloc.
1999         (Aligned Memory Blocks): Remove suggestion to use memalign
2000         or valloc.  Remove obsolete comment about BSD.
2001         Document memalign errno values and mark the function obsolete.
2002         Document posix_memalign returned error codes.  Mark valloc
2003         as obsolete.  (Hooks for Malloc): __memalign_hook is also
2004         called for posix_memalign and valloc.
2005         (Summary of Malloc): Add posix_memalign to function summary.
2006         __memalign_hook is also called for posix_memalign and valloc.
2007
2008 2013-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
2009
2010         * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
2011         TAYLOR_SIN.
2012         (__sin): Adjust.
2013         (__cos): Likewise.
2014         (sloww): Use mynumber union.  Expand ternary operator into
2015         if-else statements.
2016         (cslow): use mynumber union.
2017
2018 2013-12-16  Allan McRae  <allan@archlinux.org>
2019
2020         * configure.ac: Set AUTOCONF when maintainer-mode is not used.
2021         * configure: Regenerated.
2022
2023         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
2024
2025         [BZ #14120]
2026         * configure.ac: Added --enable-maintainer-mode. Check for
2027         autoconf when enabled.
2028         * configure: Regenerated.
2029
2030         * nscd/nscd.service: New file.
2031         * nscd/nscd.tmpfiles: New file.
2032
2033 2013-12-14  Ondřej Bílka  <neleai@seznam.cz>
2034
2035         [BZ #12100]
2036         * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
2037         * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
2038         * sysdeps/x86_64/multiarch/strstr.c: ... here.
2039         (strstr): Add __strstr_sse2_unaligned ifunc.
2040         * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
2041         * sysdeps/x86_64/multiarch/strcasestr.c ... here.
2042         (strcasestr): Remove __strcasestr_sse42 ifunc.
2043         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
2044         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
2045         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
2046
2047 2013-12-14  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
2048
2049         * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
2050         * sysdeps/sh/bits/fenv.h: ... here.
2051         * sysdeps/sh/sh4/fpu/bits: Remove directory.
2052
2053 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2054
2055         * NEWS: Mention ppc64 STT_GNU_IFUNC support.
2056
2057 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2058
2059         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
2060         hypotf multiarch implementations.
2061         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
2062         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
2063         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
2064         multiarch hypot for PPC64.
2065         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
2066         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
2067         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
2068         multiarch hypotf for PPC64.
2069
2070 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2071
2072         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
2073         modff multiarch implementations.
2074         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
2075         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
2076         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
2077         multiarch modf for PPC64.
2078         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
2079         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
2080         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
2081         multiarch modff for PPC64.
2082
2083 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2084
2085         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
2086         and logl multiarch implementations.
2087         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
2088         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
2089         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
2090         multiarch logb for PPC64.
2091         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
2092         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
2093         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
2094         multiarch logb for PPC64.
2095         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
2096         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
2097         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
2098         multiarch logb for PPC64.
2099
2100 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2101
2102         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
2103         isinff multiarch implementation.
2104         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
2105         file.
2106         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
2107         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
2108         multiarch isinf for PPC64.
2109         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
2110         file.
2111         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
2112         multiarch isinff for PPC64.
2113
2114 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2115
2116         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
2117         finitef multiarch implementation.
2118         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
2119         file.
2120         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
2121         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
2122         multiarch finite for PPC64.
2123         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
2124         file.
2125         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
2126         multiarch finitef for PPC64.
2127
2128 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2129
2130         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
2131         lrint multiarch implementation.
2132         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
2133         file.
2134         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
2135         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
2136         multiarch llrint for PPC64.
2137         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
2138         multiarch lrint for PPC64.
2139
2140 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2141
2142         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
2143         copysignf multiarch implementation.
2144         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
2145         file.
2146         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
2147         file.
2148         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
2149         multiarch copysign for PPC64.
2150         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
2151         multiarch copysignf for PPC64.
2152
2153 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2154
2155         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
2156         multiarch implementation.
2157         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
2158         file.
2159         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
2160         file.
2161         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
2162         file.
2163         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
2164         file.
2165         multiarch llround for PPC64.
2166         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
2167         multiarch trunc for PPC64.
2168         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
2169         multiarch truncf for PPC64.
2170
2171 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2172
2173         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
2174         multiarch implementation.
2175         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
2176         file.
2177         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
2178         file.
2179         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
2180         file.
2181         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
2182         file.
2183         multiarch llround for PPC64.
2184         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
2185         multiarch round for PPC64.
2186         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
2187         multiarch roundf for PPC64.
2188
2189 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2190
2191         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
2192         multiarch implementation.
2193         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
2194         file.
2195         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
2196         file.
2197         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
2198         file.
2199         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
2200         file.
2201         multiarch llround for PPC64.
2202         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
2203         multiarch floor for PPC64.
2204         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
2205         multiarch floorf for PPC64.
2206
2207 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2208
2209         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
2210         multiarch implementation.
2211         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
2212         file.
2213         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
2214         file.
2215         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
2216         file.
2217         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
2218         file.
2219         multiarch llround for PPC64.
2220         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
2221         multiarch ceil for PPC64.
2222         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
2223         multiarch ceilf for PPC64.
2224
2225 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2226
2227         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
2228         multiarch implementation.
2229         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
2230         file.
2231         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
2232         file.
2233         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
2234         file.
2235         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
2236         multiarch llround for PPC64.
2237         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
2238         multiarch lround for PPC64.
2239
2240 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2241
2242         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
2243         multiarch implementation.
2244         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
2245         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
2246         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
2247         file.
2248         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
2249         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
2250         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
2251         multiarch isnan for PPC64.
2252         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
2253         multiarch isnanf for PPC64.
2254
2255 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2256
2257         * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
2258         * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
2259         * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
2260         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
2261         * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
2262         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
2263
2264 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2265
2266         * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
2267         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
2268         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
2269         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
2270
2271 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2272
2273         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
2274         multiarch implementations.
2275         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2276         (__libc_ifunc_impl_list): Likewise.
2277         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
2278         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
2279         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
2280         multiarch stpcpy for PPC64.
2281
2282 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2283
2284         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
2285         multiarch implementations.
2286         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2287         (__libc_ifunc_impl_list): Likewise.
2288         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
2289         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
2290         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
2291         multiarch strcpy for PPC64.
2292
2293 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2294
2295         * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
2296         redefine function name.
2297         (_wordcopy_fwd_dest_aligned): Likewise.
2298         (_wordcopy_bwd_aligned): Likewise.
2299         (_wordcopy_bwd_dest_aligned): Likewise.
2300         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
2301         multiarch implementations.
2302         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2303         (__libc_ifunc_impl_list): Likewise.
2304         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
2305         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
2306         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
2307         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
2308         multiarch wcscpy for PPC64.
2309
2310 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2311
2312         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
2313         multiarch implementations.
2314         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2315         (__libc_ifunc_impl_list): Likewise.
2316         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
2317         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
2318         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
2319         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
2320         multiarch wcscpy for PPC64.
2321
2322 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2323
2324         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
2325         multiarch implementations.
2326         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2327         (__libc_ifunc_impl_list): Likewise.
2328         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
2329         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
2330         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
2331         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
2332         multiarch wcsrchr for PPC64.
2333
2334 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2335
2336         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
2337         multiarch implementations.
2338         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2339         (__libc_ifunc_impl_list): Likewise.
2340         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
2341         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
2342         * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
2343         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
2344         multiarch wcschr for PPC64.
2345
2346 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2347
2348         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
2349         multiarch implementations.
2350         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2351         (__libc_ifunc_impl_list): Likewise.
2352         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
2353         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
2354         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
2355         multiarch strchrnul for PPC64.
2356
2357 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2358
2359         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
2360         implementations.
2361         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2362         (__libc_ifunc_impl_list): Likewise.
2363         * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
2364         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
2365         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
2366         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
2367         strchr for PPC64.
2368
2369 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2370
2371         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
2372         implementations.
2373         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2374         (__libc_ifunc_impl_list): Likewise.
2375         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
2376         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
2377         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
2378         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
2379         strncmp for PPC64.
2380
2381 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2382
2383         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
2384         multiarch implementations.
2385         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2386         (__libc_ifunc_impl_list): Likewise.
2387         * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
2388         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
2389         strncasecmp for PPC64.
2390         * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
2391         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
2392         multiarch strncasecmp_l for PPC64.
2393
2394 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2395
2396         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
2397         multiarch implementations.
2398         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
2399         (__libc_ifunc_impl_list): Likewise.
2400         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
2401         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
2402         multiarch strcasecmp for PPC64.
2403         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
2404         file.
2405         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
2406         multiarch strcasecmp_l for PPC64.
2407
2408 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2409
2410         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
2411         implementations.
2412         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2413         (__libc_ifunc_impl_list): Likewise.
2414         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
2415         * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
2416         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
2417         strnlen for PPC64.
2418
2419 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2420
2421         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
2422         implementations.
2423         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2424         (__libc_ifunc_impl_list): Likewise.
2425         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
2426         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
2427         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
2428         strlen for PPC64.
2429
2430 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2431
2432         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
2433         implementations.
2434         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2435         (__libc_ifunc_impl_list): Likewise.
2436         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
2437         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
2438         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
2439         rawmemrchr for PPC64.
2440
2441 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2442
2443         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
2444         implementation.
2445         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2446         (__libc_ifunc_impl_list): Likewise.
2447         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
2448         * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
2449         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
2450         memrchr for PPC64.
2451
2452 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2453
2454         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
2455         implementation.
2456         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2457         (__libc_ifunc_impl_list): Likewise.
2458         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
2459         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
2460         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
2461         memchr for PPC64.
2462
2463 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2464
2465         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
2466         implementation.
2467         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2468         (__libc_ifunc_impl_list): Likewise.
2469         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
2470         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
2471         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
2472         mempcpy for PPC64.
2473
2474 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2475
2476         * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
2477         avoid cretion of __bzero symbol.
2478         * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
2479         Likewise.
2480         * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
2481         Likewise.
2482         * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
2483         Likewise.
2484         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
2485         multiarch implementations.
2486         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2487         (__libc_ifunc_impl_list): Likewise.
2488         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
2489         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
2490         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
2491         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
2492         bzero for PPC32.
2493         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
2494         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
2495         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
2496         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
2497         * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
2498         memset for PPC64.
2499         * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
2500
2501 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2502
2503         * string/memcmp.c (memcmp): Using macro to redefine symbol name.
2504         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
2505         implementations.
2506         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2507         (__libc_ifunc_impl_list): Likewise.
2508         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
2509         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
2510         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
2511         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
2512         memcmp for PPC64.
2513
2514 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2515
2516         * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
2517         multiarch for POWER/PPC64.
2518         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
2519         * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
2520         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
2521         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
2522         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
2523         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
2524         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
2525         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
2526         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
2527         memcpy for PPC64.
2528
2529 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2530
2531         * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
2532         * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
2533         * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
2534         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
2535         * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
2536         * sysdeps/powerpc/powerpc64/power5/Implies: New File.
2537         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
2538         * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
2539         * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
2540         * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
2541         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
2542         * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
2543         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
2544         * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
2545         * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
2546         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
2547         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
2548         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
2549         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
2550         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
2551         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
2552         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
2553
2554 2013-12-12  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
2555
2556         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
2557
2558 2013-12-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
2559
2560         * benchtests/Makefile (bench): Add exp2 and log2.
2561         (LDLIBS-bench-exp2): Add -lm.
2562         (LDLIBS-bench-log2): Likewise.
2563         * benchtests/exp2-inputs: New inputs file.
2564         * benchtests/log2-inputs: New inputs file.
2565         * benchtests/log-inputs: Add new inputs.
2566         * benchtests/tan-inputs: Likewise.
2567
2568 2013-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
2569
2570         * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
2571         definition...
2572         (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2,
2573         csloww1, csloww2): ... from here.
2574
2575         * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
2576         instead of structures.
2577         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
2578         (POLYNOMIAL): Likewise.
2579         (TAYLOR_SLOW): Likewise.
2580         (__sin): Likewise.
2581         (__cos): Likewise.
2582         (slow1): Likewise.
2583         (slow2): Likewise.
2584         (sloww): Likewise.
2585         (sloww1); Likewise.
2586         (sloww2): Likewise.
2587         (bsloww1): Likewise.
2588         (bsloww2): Likewise.
2589         (cslow2): Likewise.
2590         (csloww): Likewise.
2591         (csloww1): Likewise.
2592         (csloww2): Likewise.
2593
2594 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
2595
2596         * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
2597         (__malloc_assert, __libc_realloc, __libc_calloc,
2598         _int_realloc): Expand MALLOC_COPY and MALLOC_ZERO to
2599         memcpy and memset.
2600         * malloc/hooks.c (realloc_check): Likewise.
2601
2602 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
2603
2604         * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
2605         * malloc/arena.c: Remove PER_THREAD conditional.
2606         [!PER_THREAD]: Remove code.
2607         (ptmalloc_unlock_all2): Likewise.
2608         (ptmalloc_init): Likewise.
2609         (_int_new_arena): Likewise.
2610         (arena_get2): Likewise.
2611         * malloc/hooks.c (__malloc_get_state): Likewise.
2612         (__malloc_set_state): Likewise.
2613         * malloc/malloc.c: Likewise.
2614         (struct malloc_state): Likewise.
2615         (struct malloc_par): Likewise.
2616         (__libc_realloc): Likewise.
2617         (__libc_mallopt): Likewise.
2618
2619 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2620
2621         * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
2622
2623 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
2624
2625         * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
2626         macro to a function.  Check for zero perturb_byte.
2627         (_int_malloc, _int_free): Remove zero perturb_byte checks.
2628
2629 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
2630
2631         * malloc/malloc.c: (force_reg): Remove.
2632         (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc,
2633         _mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
2634         force_reg by atomic_forced_read.
2635         * malloc/arena.c (ptmalloc_init): Likewise.
2636         * malloc/hooks.c (top_check): Likewise.
2637
2638 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2639
2640         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2641
2642 2013-12-09  Markus Trippelsdorf  <markus@trippelsdorf.de>
2643
2644         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2645
2646 2013-12-08  Joseph Myers  <joseph@codesourcery.com>
2647
2648         * math/auto-libm-test-in: Add tests of lgamma.
2649         * math/auto-libm-test-out: Regenerated.
2650         * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
2651         (M_LOG_2_SQRT_PIl): Likewise.
2652         (lgamma_test_data): Use AUTO_TESTS_f_f1.
2653         * math/gen-auto-libm-tests.c (func_calc_method): Add value
2654         mpfr_f_f1.
2655         (func_calc_desc): Add mpfr_f_f1 union field.
2656         (ARGS1): New macro.
2657         (ARGS2): Likewise.
2658         (ARGS3): Likewise.
2659         (ARGS4): Likewise.
2660         (RET1): Likewise.
2661         (RET2): Likewise.
2662         (CALC): Likewise.
2663         (FUNC): Likewise.
2664         (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
2665         (test_functions): Add lgamma.
2666         (calc_generic_results): Handle mpfr_f_f1.
2667         * sysdeps/i386/fpu/libm-test-ulps: Update.
2668         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2669
2670 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2671
2672         * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
2673         __mpn_add_n for PowerPC64/POWER7.
2674         * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
2675         __mpn_sub_n for PowerPC64/POWER7.
2676
2677 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2678
2679         * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
2680         __mpn_addmul_1 for PowerPC64.
2681         * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
2682         __mpn_submul_1 for PowerPC64.
2683         * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
2684         for PowerPC64.
2685         * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
2686         for PowerPC64.
2687
2688 2013-12-06  Fernando J. V. da Silva  <fernandojvdasilva@gmail.com>
2689
2690         [BZ #15089]
2691         * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
2692
2693 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2694
2695         * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
2696
2697 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2698
2699         * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
2700         add multiarch folders.
2701         * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
2702         * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
2703         * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
2704         * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
2705         * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
2706         * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
2707         * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
2708         * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
2709         * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
2710         * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
2711         * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
2712         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
2713         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
2714         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
2715         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
2716         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
2717         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
2718
2719 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2720
2721         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
2722         __ieee754_hypot and __ieee754_hypotf multiarch implementations.
2723         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
2724         New file.
2725         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
2726         New file.
2727         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
2728         multiarch __ieee754_hypot for PowerPC32.
2729         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
2730         New file.
2731         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
2732         New file.
2733         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
2734         multiarch __ieee754_hypotf for PowerPC32.
2735
2736 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2737
2738         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
2739         long_double_symbol only if __logbl is defined.
2740         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
2741         * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
2742         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
2743         * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
2744         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
2745         * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
2746         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
2747         path for implementation.
2748         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
2749         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
2750         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
2751         logb, and logbl multiarch implementations for PowerPC32.
2752         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
2753         file.
2754         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
2755         file.
2756         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
2757         multiarch logb for PowerPC32.
2758         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
2759         file.
2760         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
2761         file.
2762         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
2763         multiarch logbf for PowerPC32.
2764         * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
2765         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
2766         file.
2767         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
2768         multiarch logbl implementation for PowerPC32.
2769
2770 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2771
2772         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
2773         and modff multiarch implementations.
2774         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
2775         New file.
2776         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
2777         New file.
2778         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
2779         multiarch modf for PowerPC32.
2780         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
2781         New file.
2782         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
2783         New file.
2784         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
2785         multiarch modff for PowerPC32.
2786
2787 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2788
2789         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
2790         and lrintf multiarch implementations.
2791         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
2792         New file.
2793         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
2794         New file.
2795         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
2796         multiarch lrint for PowerPC32.
2797         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
2798         file: multiarch lrintf for PowerPC32.
2799
2800 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2801
2802         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
2803         and lroundf multiarch implementations.
2804         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
2805         New file.
2806         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
2807         New file.
2808         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
2809         New file.
2810         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
2811         multiarch lround for PowerPC32.
2812         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
2813         file: multiarch lroundf for PowerPC32.
2814
2815 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2816
2817         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
2818         copysign and copysignf multiarch implementations.
2819         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
2820         New file.
2821         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
2822         New file.
2823         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
2824         file: multiarch copysign for PowerPC32.
2825         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
2826         file: multiarch copysignf for PowerPC32.
2827
2828 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2829
2830         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
2831         and truncf multiarch implementations.
2832         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
2833         New file.
2834         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
2835         file.
2836         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
2837         multiarch trunc for PowerPC32.
2838         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
2839         New file.
2840         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
2841         New file.
2842         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
2843         multiarch truncf for PowerPC32.
2844
2845 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2846
2847         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
2848         and roundf multiarch implementations.
2849         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
2850         New file.
2851         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
2852         file.
2853         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
2854         multiarch round for PowerPC32.
2855         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
2856         New file.
2857         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
2858         New file.
2859         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
2860         multiarch roundf for PowerPC32.
2861
2862 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2863
2864         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
2865         and floorf multiarch implementations.
2866         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
2867         New file.
2868         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
2869         file.
2870         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
2871         multiarch floor for PowerPC32.
2872         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
2873         New file.
2874         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
2875         New file.
2876         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
2877         multiarch floorf for PowerPC32.
2878
2879 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2880
2881         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
2882         and ceilf multiarch implementations.
2883         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
2884         New file.
2885         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
2886         file.
2887         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
2888         multiarch ceil for PowerPC32.
2889         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
2890         New file.
2891         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
2892         file.
2893         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
2894         multiarch ceilf for PowerPC32.
2895
2896 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2897
2898         * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
2899         is defined.
2900         * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
2901         FINITEF is defined.
2902         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
2903         and finitef multiarch implementations.
2904         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
2905         New file.
2906         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
2907         file.
2908         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
2909         multiarch finite for PowerPC32.
2910         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
2911         New file.
2912         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
2913         file: multiarch finitef for PowerPC32.
2914
2915 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2916
2917         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
2918         and isinff multiarch implementations.
2919         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
2920         file.
2921         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
2922         file.
2923         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
2924         multiarch isinf for PowerPC32.
2925         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
2926         New file.
2927         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
2928         multiarch isinff for PowerPC32.
2929
2930 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2931
2932         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
2933         alias when __isnan is defined.
2934         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
2935         and isnanf multiarch implementations.
2936         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
2937         file.
2938         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
2939         file.
2940         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
2941         file.
2942         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
2943         file.
2944         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
2945         multiarch isnan for PowerPC32.
2946         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
2947         New file.
2948         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
2949         New file.
2950         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
2951         multiarch isnanf for PowerPC32.
2952
2953 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2954
2955         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
2956         and sqrtf multiarch implementations.
2957         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
2958         file.
2959         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
2960         file.
2961         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
2962         multiarch sqrt for PowerPC32.
2963         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
2964         file.
2965         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
2966         file.
2967         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
2968         multiarch sqrtf for PowerPC32.
2969
2970 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2971
2972         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
2973         and llroundf multiarch implementations.
2974         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
2975         New file.
2976         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
2977         New file.
2978         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
2979         New file.
2980         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
2981         file: multiarch llround for PowerPC32.
2982         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
2983         file: multiarch llroundf for PowerPC32.
2984
2985 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2986
2987         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
2988         multiarch PowerPC32 fpu implementations.
2989         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
2990         New file.
2991         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
2992         New file.
2993         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
2994         multiarch llrint for PowerPC32.
2995         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
2996         New file.
2997         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
2998         New file.
2999         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
3000         file.
3001
3002 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3003
3004         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
3005
3006 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3007
3008         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
3009         file.
3010         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
3011         file.
3012         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
3013         file.
3014         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
3015         multiarch wordcopy for PPC32.
3016         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
3017         wordcopy objects.
3018         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
3019         (__libc_ifunc_impl_list): Likewise.
3020         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
3021         * sysdeps/powerpc/power4/wordcopy.c: ... to here.
3022         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
3023         * sysdeps/powerpc/power6/wordcopy.c: ... to here.
3024         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
3025         * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
3026
3027 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3028
3029         * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
3030         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
3031         file.
3032         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
3033         file.
3034         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
3035         file.
3036         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
3037         multiarch wcscpy for PPC32.
3038         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
3039         multiarch objects.
3040         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
3041         (__libc_ifunc_impl_list): Likewise.
3042         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
3043         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
3044         * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
3045         sysdeps/powerpc/power6/wcscpy.c.
3046
3047 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3048
3049         * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
3050         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
3051         file.
3052         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
3053         file.
3054         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
3055         file.
3056         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
3057         multiarch wcsrchr for PPC32.
3058         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
3059         multiarch objects.
3060         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
3061         (__libc_ifunc_impl_list): Likewise.
3062         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
3063         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
3064         * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
3065         sysdeps/powerpc/power6/wcsrchr.c.
3066
3067 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3068
3069         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
3070         file.
3071         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
3072         file.
3073         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
3074         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
3075         multiarch wcschr for PPc32.
3076         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
3077         multiarch objects.
3078         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
3079         (__libc_ifunc_impl_list): Likewise.
3080         * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
3081         * sysdeps/powerpc/power6/wcschr.c: ... to here.
3082         * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
3083         sysdeps/powerpc/power6/wcschr.c.
3084
3085 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3086
3087         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
3088         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
3089         file.
3090         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
3091         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
3092         file: multiarch strchr for PPC32.
3093         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
3094         multiarch objects.
3095         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
3096         (__libc_ifunc_impl_list): Likewise.
3097
3098 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3099
3100         * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
3101         name.
3102         * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
3103         file.
3104         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
3105         file.
3106         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
3107         multiarch strchrnul for PPC32.
3108         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
3109         multiarch objects.
3110         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
3111         (__libc_ifunc_impl_list): Likewise.
3112
3113 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3114
3115         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
3116         file.
3117         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
3118         multiarch strncasecmp for PPC32.
3119         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
3120         file.
3121         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
3122         multiarch strncasecmp_l for PPC32.
3123         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
3124         strncasecmp multiarch objects.
3125         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
3126         (__libc_ifunc_impl_list): Likewise.
3127
3128 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3129
3130         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
3131         file.
3132         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
3133         multiarch strncasecmp for PPC32.
3134         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
3135         New file.
3136         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
3137         multiarch strcasecmp_l for PPC32.
3138         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
3139         multiarch objects.
3140         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
3141         (__libc_ifunc_impl_list): Likewise.
3142
3143 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3144
3145         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
3146         file.
3147         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
3148         file.
3149         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
3150         multiarch strncmp for PPC32.
3151         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
3152         multiarch objects.
3153         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
3154         (__libc_ifunc_impl_list): Likewise.
3155
3156 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3157
3158         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
3159         * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
3160         file.
3161         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
3162         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
3163         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
3164         multiarch objects.
3165         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
3166         (__libc_ifunc_impl_list): Likewise.
3167
3168 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3169
3170         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
3171         file.
3172         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
3173         file.
3174         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
3175         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
3176         multiarch objects.
3177         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
3178         (__libc_ifunc_impl_list): Likewise.
3179
3180 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3181
3182         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
3183         file.
3184         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
3185         file.
3186         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
3187         multiarch rawmemchr for PPC32.
3188         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
3189         multiarch objects.
3190         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
3191         (__libc_ifunc_impl_list): Likewise.
3192
3193 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3194
3195         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
3196         file.
3197         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
3198         file.
3199         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
3200         file: memrchr multiarch for PPC32.
3201         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
3202         multiarch objects.
3203         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
3204         (__libc_ifunc_impl_list): Likewise.
3205
3206 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3207
3208         * string/memchr.c (__memchr): Using macro to redefine symbol name.
3209         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
3210         file.
3211         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
3212         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
3213         multiarch memchr for PPC32.
3214         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
3215         multiarch objects.
3216         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
3217         (__libc_ifunc_impl_list): Likewise.
3218
3219 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3220
3221         * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
3222         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
3223         file.
3224         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
3225         file.
3226         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
3227         file: multiarch mempcpy for PPC32.
3228         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
3229         multiarch objects.
3230         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
3231         (__libc_ifunc_impl_list): Likewise.
3232
3233 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3234
3235         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
3236         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
3237         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
3238         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
3239         multiarch bzero for PPC32.
3240         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
3241         file.
3242         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
3243         file.
3244         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
3245         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
3246         file: multiarch memset for PPC32.
3247         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
3248         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
3249         memset multiarch objects.
3250         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
3251         (__libc_ifunc_impl_list): Likewise.
3252
3253 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3254
3255         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
3256         file.
3257         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
3258         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
3259         memcmp for PPC32.
3260         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
3261         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
3262         multiarch objects.
3263         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
3264         (__libc_ifunc_impl_list): Likewise.
3265
3266 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3267
3268         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
3269         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
3270         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
3271         file.
3272         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
3273         file.
3274         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
3275         file.
3276         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
3277         multiarch memcpy for PPC32.
3278         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
3279         multiarch objects.
3280         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
3281         (__libc_ifunc_impl_list): Likewise.
3282
3283 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3284
3285         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
3286         support multiarch for POWER/PPC32.
3287         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
3288         Likewise.
3289         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
3290         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
3291         Implies file to make multiarch folder appers before the fpu and
3292         default folder for power4 configuration.
3293
3294 2013-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
3295
3296         * scripts/bench.pl: Append volatile keyword to type.
3297
3298 2013-12-05  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
3299
3300         * sysdeps/sh/sotruss-lib.c: New file.
3301         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
3302
3303 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3304
3305         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3306
3307 2013-12-05  Joseph Myers  <joseph@codesourcery.com>
3308
3309         [BZ #6810]
3310         * math/w_tgamma.c: Include <errno.h>.
3311         (__tgamma): Use __glibc_unlikely.  Set errno on underflow to 0.
3312         * math/w_tgammaf.c: Include <errno.h>.
3313         (__tgammaf): Use __glibc_unlikely.  Set errno on underflow to 0.
3314         * math/w_tgammal.c: Include <errno.h>.
3315         (__tgammal): Use __glibc_unlikely.  Set errno on underflow to 0.
3316         * math/auto-libm-test-in: Do not allow missing errno on tgamma
3317         underflow.  Add more tgamma tests.
3318         * math/auto-libm-test-out: Regenerated.
3319         * sysdeps/i386/fpu/libm-test-ulps: Update.
3320         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3321
3322         * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
3323         sin, sinh, tan, tanh, tgamma, y0 and y1.
3324         * math/auto-libm-test-out: Regenerated.
3325         * math/libm-test.inc (TEST_COND_x86_64): New macro.
3326         (TEST_COND_x86): Likewise.
3327         (M_E2l): Remove macro.
3328         (M_E3l): Likewise.
3329         (M_2_SQRT_PIl): Likewise.
3330         (M_SQRT_PIl): Likewise.
3331         (M_1_DIV_El): Likewise.
3332         (log_test_data): Use AUTO_TESTS_f_f.
3333         (log10_test_data): Likewise.
3334         (log1p_test_data): Likewise.
3335         (log2_test_data): Likewise.
3336         (sin_test_data): Likewise.
3337         (sin_tonearest_test_data): Likewise.
3338         (sin_towardzero_test_data): Likewise.
3339         (sin_downward_test_data): Likewise.
3340         (sin_upward_test_data): Likewise.
3341         (sinh_test_data): Likewise.
3342         (sinh_tonearest_test_data): Likewise.
3343         (sinh_towardzero_test_data): Likewise.
3344         (sinh_downward_test_data): Likewise.
3345         (sinh_upward_test_data): Likewise.
3346         (tan_test_data): Likewise.
3347         (tan_tonearest_test_data): Likewise.
3348         (tan_towardzero_test_data): Likewise.
3349         (tan_downward_test_data): Likewise.
3350         (tan_upward_test_data): Likewise.
3351         (tanh_test_data): Likewise.
3352         (tgamma_test_data): Likewise.
3353         (y0_test_data): Likewise.
3354         (y1_test_data): Likewise.
3355         * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
3356         (special_real_inputs): Add pi/4.
3357         * sysdeps/i386/fpu/libm-test-ulps: Update.
3358         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3359
3360 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3361
3362         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
3363         "longjmp_target" static probes.
3364         (__longjmp): Rename to __longjmp_symbol.
3365         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
3366         * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
3367         on which longjmp to generate.
3368         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
3369         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
3370         probe.
3371         (__sigsetjmp): Rename to __sigsetjmp_symbol.
3372         (__sigjmp_save): Rename to __sigjmp_save_symbol.
3373         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
3374         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
3375         and __sigjmp_save_symbol based on which sigsetjmp to generated.
3376         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
3377         * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
3378         __longjmp_symbol based on which __longjmp to generate.
3379         * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
3380         probe.
3381         (setjmp): Rename to setjmp_symbol.
3382         (__sigsetjmp): Rename to __sigsetjmp_symbol.
3383         (_setjmp): Rename to _setjmp_symbol.
3384         (__sigsetjmp): Rename to __sigsetjmp_symbol.
3385         * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
3386         _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
3387         which setjmp to generate.
3388         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
3389         "longjmp_target" static probes.
3390
3391 2013-12-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
3392
3393         * benchtests/README: Add note about output arguments.
3394         * benchtests/bench-sincos.c: Remove file.
3395         * benchtests/sincos-inputs: New file.
3396         * scripts/bench.pl: Identify output arguments and define
3397         static variables for them.
3398
3399         * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
3400
3401         [BZ #15941]
3402         * Makefile (INSTALL): Add install-plain.texi as the primary
3403         dependency.
3404         * manual/install-plain.texi: New file.
3405         * manual/install.texi: Include node directive only for
3406         non-plaintext output.
3407
3408 2013-12-04  Joseph Myers  <joseph@codesourcery.com>
3409
3410         * stdlib/longlong.h: Update from GCC.
3411
3412         [BZ #6807]
3413         [BZ #15901]
3414         * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
3415         * math/w_j0f.c (y0f): Likewise.
3416         * math/w_j0l.c (__y0l): Likewise.
3417         * math/w_j1.c (y1): Likewise.
3418         * math/w_j1f.c (y1f): Likewise.
3419         * math/w_j1l.c (__y1l): Likewise
3420         * math/w_jn.c (yn): Likewise.
3421         * math/w_jnf.c (ynf): Likewise.
3422         * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
3423         Bessel function pole errors in _POSIX_ mode.  Use NAN as return
3424         value for Bessel function domain errors outside _SVID_ mode.
3425         Adjust sign of return value for yn (negative integer, 0).
3426         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
3427         by zero in return for negative x and set sign appropriately for
3428         negative n.
3429         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
3430         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
3431         * math/libm-test.inc (y0_test_data): Add more tests and adjust
3432         expectations in error cases.
3433         (y1_test_data): Likewise.
3434         (yn_test_data): Likewise.
3435         * sysdeps/i386/fpu/libm-test-ulps: Update.
3436         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3437
3438 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
3439
3440         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
3441         "64" to "64-v1".  Add "64-v2".
3442         (abi-64-options): Rename to ...
3443         (abi-64-v1-options): ... this.   Redefine _CALL_ELF.
3444         (abi-64-condition): Rename to ...
3445         (abi-64-v1-condition): ... this.  Add _CALL_ELF check.,
3446         (abi-64-ld-soname): Rename to ...
3447         (abi-64-v1-ld-soname): ... this.
3448         (abi-64-v2-options): Define.
3449         (abi-64-v2-condition): Likewise.
3450         (abi-64-v2-ld-soname): Likewise.
3451         * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
3452         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
3453         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
3454         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
3455         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
3456
3457 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
3458             Alan Modra  <amodra@gmail.com>
3459
3460         * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
3461         New versions for use with the ELFv2 ABI.
3462         (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
3463         * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
3464         declaration.
3465         (struct La_ppc64v2_retval): Likewise.
3466         (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
3467         (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
3468         * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
3469         to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
3470         (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
3471         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
3472         Do not save or restore CR.
3473         (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
3474         (_dl_profile_resolve): Do no save or restore CR.  Support extended
3475         return values for ELFv2 ABI.  Fix location of FPR return registers.
3476         * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
3477         updated values for _CALL_ELF == 2.
3478         (La_regs, La_retval, int_retval): Likewise.
3479
3480 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
3481
3482         * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
3483         (FRAME_MIN_SIZE_PARM): Likewise.
3484         (FRAME_BACKCHAIN): Likewise.
3485         (FRAME_CR_SAVE): Likewise.
3486         (FRAME_LR_SAVE): Likewise.
3487         (FRAME_TOC_SAVE): Likewise.
3488         (FRAME_PARM_SAVE): Likewise.
3489         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
3490         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
3491         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
3492         (call_mcount_parm_offset): New macro.
3493         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
3494         (PROF): Use symbolic stack frame offsets.
3495         (TAIL_CALL_SYSCALL_ERROR): Likewise.
3496         * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
3497         Redefine in terms of FRAME_MIN_SIZE.
3498         (_dl_runtime_resolve): Use symbolic stack frame offsets.
3499         (_dl_profile_resolve): Likewise.  Update comment.
3500         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
3501         symbols stack frame offsets.
3502         (__sigsetjmp): Likewise.
3503         * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
3504         * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
3505         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
3506         * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
3507
3508         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
3509         (FRAME_BACKCHAIN): Remove.
3510         (FRAME_CR_SAVE): Likewise.
3511         (FRAME_LR_SAVE): Likewise.
3512         (FRAME_COMPILER_DW): Likewise.
3513         (FRAME_LINKER_DW): Likewise.
3514         (FRAME_TOC_SAVE): Likewise.
3515         (FRAME_PARM_SAVE): Likewise.
3516         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
3517         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
3518         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
3519         * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
3520         (CHECK_SP): Use symbolic stack frame offsets.
3521         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
3522         zone" instead of caller's parameter save area for temp storage.
3523         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
3524         Likewise.  Also, use symbolic stack frame offsets.
3525         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
3526         stackblock): Redefine for _CALL_ELF == 2 to save parameters into
3527         our own stack frame instead of the caller's.
3528         (__socket): Use symbolic stack frame offsets.
3529
3530 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
3531             Alan Modra  <amodra@gmail.com>
3532
3533         * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
3534         Define.
3535         (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK,
3536         PPC64_LOCAL_ENTRY_OFFSET): Define.
3537         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
3538         New function.
3539         (elf_machine_fixup_plt): Call it.
3540         (elf_machine_plt_conflict): Likewise.  Add map, sym_map, and
3541         reloc arguments.
3542         (elf_machine_rela): Update call to elf_machine_plt_conflict.
3543         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve,
3544         _dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
3545         r2 before calling target.
3546
3547 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
3548             Alan Modra  <amodra@gmail.com>
3549
3550         * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
3551         (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
3552         versions of macros to support ELFv2 ABI.
3553         (LOCALENTRY): New macro.
3554         (ENTRY, EALIGN): Use it.
3555         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
3556         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
3557         fall through into ENTRY entry point.
3558         * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
3559         Only define if _CALL_ELF != 2.
3560
3561         (elf_machine_matches_host): Verify ABI version matches.
3562         (RTLD_START): Use LOCALENTRY.
3563         (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
3564         (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
3565         (PLT_ENTRY_WORDS): New macro.
3566         (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
3567         (elf_machine_runtime_setup): Support ELFv2 ABI.
3568         (elf_machine_fixup_plt): Likewise.
3569         (elf_machine_plt_conflict): Likewise.
3570         (resolve_ifunc): Likewise.
3571         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
3572         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
3573         Likewise.
3574         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
3575         (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
3576         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
3577         (makecontext): Support ELFv2 ABI.
3578         * elf/elf.h (EF_PPC64_ABI): Define.
3579
3580 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
3581
3582         * sysdeps/powerpc/powerpc64/sysdep.h [ASSEMBLER] (PPC64_LOAD_FUNCPTR):
3583         New assembler macro.
3584         [ASSEMBLER] (ENTRY_1): Do not switch to .text section here ...
3585         [ASSEMBLER] (ENTRY): ... but instead here ...
3586         [ASSEMBLER] (EALIGN): ... and here.
3587         [!ASSEMBLER] (PPC64_LOAD_FUNCPTR): New macro.
3588         [!ASSEMBLER] (ENTRY_1): New macro; set up .opd entry.
3589         [!ASSEMBLER] (ENTRY_2): Use it.
3590         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
3591         ENTRY_2 changes.  Use PPC64_LOAD_FUNCPTR.
3592         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve,
3593         _dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
3594         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
3595         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
3596         Use PPC64_LOAD_FUNCPTR.
3597
3598 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
3599
3600         * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
3601
3602 2013-12-04  Alan Modra  <amodra@gmail.com>
3603
3604         * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
3605         (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
3606         (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
3607         (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
3608
3609         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
3610         overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
3611         R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
3612         Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
3613         R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
3614         Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
3615
3616 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
3617
3618         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
3619         (__makecontext): Fix incorrect CFI when backtracing out of
3620         context created via makecontext.
3621         * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
3622         (__setcontext): Fix incorrect CFI during switch to new context.
3623         (__novec_setcontext): Likewise.
3624
3625 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
3626
3627         [BZ #4772]
3628         * time/strptime_l.c (__strptime_internal): Allow modifiers
3629         in strptime.
3630         * time/tst-strptime.c (day_tests): Add testcase.
3631
3632
3633 2013-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
3634
3635         * scripts/bench.pl: Skip over blank lines.
3636
3637 2013-12-04  Paul Eggert  <eggert@cs.ucla.edu>
3638
3639         [BZ #926]
3640         * manual/time.texi (Calendar Time): Clarify what timezone functions
3641         use.
3642
3643 2013-12-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3644
3645         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3646
3647 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
3648
3649         * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
3650         implementation.
3651         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
3652         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
3653         * debug/memset_chk.c (__memset_chk): Likewise.
3654         * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
3655         * debug/strncpy_chk.c: Likewise.
3656
3657 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
3658
3659         [BZ #15268]
3660         [BZ #15425]
3661         * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
3662         (__ieee754_exp): For possibly underflowing results, check size of
3663         result and force underflow exception if required.
3664         * math/auto-libm-test-in: Add more tests of exp.
3665         * math/auto-libm-test-out: Regenerated.
3666         * sysdeps/i386/fpu/libm-test-ulps: Update.
3667         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3668
3669         [BZ #16283]
3670         * math/w_exp2.c (__exp2): Handle a zero result as underflow.
3671         * math/w_exp2f.c (__exp2f): Likewise.
3672         * math/w_exp2l.c (__exp2l): Likewise.
3673         * math/auto-libm-test-in: Do not allow missing errno on exp2
3674         underflow.
3675         * math/auto-libm-test-out: Regenerated.
3676
3677 2013-12-03  Ondřej Bílka  <neleai@seznam.cz>
3678
3679         [BZ #16274]
3680         * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
3681         handle filename validation.
3682         * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
3683         (do_open): Delete.
3684
3685 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
3686
3687         [BZ #6786]
3688         * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
3689         (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
3690         * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
3691         <float.h>.
3692         (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
3693         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
3694         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
3695         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
3696         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
3697         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
3698         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
3699         * math/auto-libm-test-in: Don't allow missing errno from erfc.
3700         Add more erfc tests.
3701         * math/auto-libm-test-out: Regenerated.
3702         * sysdeps/i386/fpu/libm-test-ulps: Update.
3703         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3704
3705         * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
3706         exp2, expm1, j0 and j1.
3707         * math/auto-libm-test-out: Regenerated.
3708         * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
3709         (erfc_test_data): Likewise.
3710         (exp_test_data): Likewise.
3711         (exp_tonearest_test_data): Likewise.
3712         (exp_towardzero_test_data): Likewise.
3713         (exp_downward_test_data): Likewise.
3714         (exp_upward_test_data): Likewise.
3715         (exp10_test_data): Likewise.
3716         (exp2_test_data): Likewise.
3717         (expm1_test_data): Likewise.
3718         (j0_test_data): Likewise.
3719         (j1_test_data): Likewise.
3720         * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
3721         (input_flag_type): Add flag_xfail_rounding.
3722         (input_flags): Add xfail-rounding.
3723         (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
3724         (output_for_one_input_case): Handle flag_xfail_rounding.
3725         * sysdeps/i386/fpu/libm-test-ulps: Update.
3726         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3727
3728 2013-12-03  Aurelien Jarno  <aurelien@aurel32.net>
3729
3730         [BZ #16289]
3731         * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
3732         division by 0.
3733
3734 2013-12-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
3735
3736         [BZ #16195]
3737         * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
3738         (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
3739         (STAP_PROBE0): New macro.
3740         (STAP_PROBE1): Likewise.
3741         (STAP_PROBE2): Likewise.
3742         (STAP_PROBE3): Likewise.
3743         (STAP_PROBE4): Likewise.
3744
3745 2013-12-02  Ondřej Bílka  <neleai@seznam.cz>
3746
3747         * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
3748
3749 2013-12-02  Steve Ellcey  <sellcey@mips.com>
3750
3751         * benchtests/Makefile (bench): Add sqrt.
3752         (LDLIBS-bench-sqrt): New.
3753         * benchtests/sqrt-input: New.
3754
3755 2013-12-02  Pavel Simerda  <psimerda@redhat.com>
3756
3757         * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
3758         (GAIH_EAI): Likewise.
3759         (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
3760         (gaih_inet): Likewise.
3761         (getaddrinfo): Don't use GAIH_EAI.
3762
3763         * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
3764         (struct gaih): Remove definition.
3765
3766 2013-12-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
3767
3768         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
3769         Use HERRNOP directly.
3770
3771 2013-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3772
3773         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3774
3775 2013-11-30  Joseph Myers  <joseph@codesourcery.com>
3776
3777         * math/gen-auto-libm-tests.c (test_functions): Add more
3778         single-argument functions.
3779         (special_fill_pi_2): New function.
3780         (special_fill_minus_pi_2): Likewise.
3781         (special_fill_pi_6): Likewise.
3782         (special_fill_minus_pi_6): Likewise.
3783         (special_fill_pi_3): Likewise.
3784         (special_fill_2pi_3): Likewise.
3785         (special_fill_e): Likewise.
3786         (special_fill_1_e): Likewise.
3787         (special_fill_e_minus_1): Likewise.
3788         (special_real_inputs): Add more special inputs.
3789         (output_for_one_input_case): Do not require ERANGE on underflow to
3790         zero if round-to-nearest result does not underflow to zero, unless
3791         exact results required.
3792         * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
3793         atan, atanh, cbrt, cos and cosh.
3794         * math/auto-libm-test-out: Regenerated.
3795         * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
3796         (acos_tonearest_test_data): Likewise.
3797         (acos_towardzero_test_data): Likewise.
3798         (acos_downward_test_data): Likewise.
3799         (acos_upward_test_data): Likewise.
3800         (acosh_test_data): Likewise.
3801         (asin_test_data): Likewise.
3802         (asin_tonearest_test_data): Likewise.
3803         (asin_towardzero_test_data): Likewise.
3804         (asin_upward_test_data): Likewise.
3805         (asinh_test_data): Likewise.
3806         (atan_test_data): Likewise.
3807         (atanh_test_data): Likewise.
3808         (cbrt_test_data): Likewise.
3809         (cos_test_data): Likewise.
3810         (cos_tonearest_test_data): Likewise.
3811         (cos_towardzero_test_data): Likewise.
3812         (cos_downward_test_data): Likewise.
3813         (cos_upward_test_data): Likewise.
3814         (cosh_test_data): Likewise.
3815         (cosh_tonearest_test_data): Likewise.
3816         (cosh_towardzero_test_data): Likewise.
3817         (cosh_downward_test_data): Likewise.
3818         (cosh_upward_test_data): Likewise.
3819         * sysdeps/i386/fpu/libm-test-ulps: Update.
3820         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3821
3822 2013-11-29  Joseph Myers  <joseph@codesourcery.com>
3823
3824         [BZ #6787]
3825         * math/w_exp10.c (__exp10): Handle a zero result as underflow.
3826         * math/w_exp10f.c (__exp10f): Likewise.
3827         * math/w_exp10l.c (__exp10l): Likewise.
3828         * math/libm-test.inc (exp10_test_data): Add more tests and expect
3829         errno settings in existing tests.
3830
3831         [BZ #14032]
3832         * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
3833         precision control set to double precision.
3834         * sysdeps/i386/fpu/w_sqrt.c: New file.
3835         * math/auto-libm-test-in: Add more tests.
3836         * math/auto-libm-test-out: Update.
3837
3838         * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
3839         (sqrt_test_tonearest): New function.
3840         (sqrt_towardzero_test_data): New variable.
3841         (sqrt_test_towardzero): New function.
3842         (sqrt_downward_test_data): New variable.
3843         (sqrt_test_downward): New function.
3844         (sqrt_upward_test_data): New variable.
3845         (sqrt_test_upward): New function.
3846         (main): Call the new functions.
3847
3848         * math/gen-auto-libm-tests.c: New file.
3849         * math/auto-libm-test-in: Likewise.
3850         * math/auto-libm-test-out: New generated file.
3851         * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
3852         variables.
3853         (%beautify): Add generated representations of zero.
3854         (top level): Set $auto_input and call parse_auto_input.
3855         (beautify): Remove trailing "f" from hex float constants.
3856         (parse_args): Handle XFAIL_TEST.
3857         (convert_condition): New function.
3858         (or_value): Likewise.
3859         (or_cond_value): Likewise.
3860         (generate_testfile): Handle AUTO_TESTS_* lines.
3861         (parse_auto_input): New function.
3862         * math/libm-test.inc (XFAIL_TEST): New macro.
3863         (ERRNO_UNCHANGED): Update value.
3864         (ERRNO_EDOM): Likewise.
3865         (ERRNO_ERANGE): Likewise.
3866         (IGNORE_RESULT): Likewise.
3867         (TEST_COND_flt_32): New macro.
3868         (TEST_COND_dbl_64): Likewise.
3869         (TEST_COND_ldbl_96_intel): Likewise.
3870         (TEST_COND_ldbl_96_m68k): Likewise.
3871         (TEST_COND_ldbl_128): Likewise.
3872         (TEST_COND_ldbl_128ibm): Likewise.
3873         (TEST_COND_long32): Likewise.
3874         (TEST_COND_long64): Likewise.
3875         (TEST_COND_before_rounding): Likewise.
3876         (TEST_COND_after_rounding): Likewise.
3877         (enable_test): Handle XFAIL_TEST flag.
3878         (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
3879         with finite results.
3880         * math/Makefile ($(objpfx)libm-test.stmp): Depend on
3881         auto-libm-test-out.
3882
3883 2013-11-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
3884             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
3885
3886         [BZ #16214]
3887         * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
3888         __tls_get_addr_internal instead of __tls_get_offset in order to
3889         avoid GOT pointer dependency.  Make rtld export
3890         __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
3891         __tls_get_addr since we are a __tls_get_offset platform.
3892         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
3893         GOT pointer being set up before.
3894         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
3895
3896 2013-11-28  Joseph Myers  <joseph@codesourcery.com>
3897
3898         * manual/math.texi (Errors in Math Functions): Document accuracy
3899         goals.
3900
3901         [BZ #15004]
3902         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
3903         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
3904         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
3905         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
3906         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
3907         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
3908         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
3909         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
3910         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
3911         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
3912         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
3913         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
3914         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
3915         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
3916         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
3917         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
3918
3919         * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
3920         * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
3921         * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
3922         * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
3923         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
3924         Likewise.
3925         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
3926         Likewise.
3927         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
3928         Likewise.
3929         * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
3930         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
3931         (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
3932         atomic-feupdateenv and flt-rounds.
3933         * sysdeps/powerpc/nofpu/Versions (libc): Add
3934         __atomic_feholdexcept, __atomic_feclearexcept,
3935         __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
3936         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
3937         (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
3938         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
3939         (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
3940         here.
3941         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
3942         Update.
3943
3944         * manual/arith.texi (FP Exceptions): Document that exceptions may
3945         not be raised when matherr is used.
3946         (Math Error Reporting): Document overflow in directed rounding
3947         modes.  Document that errno may not be set when finite values are
3948         returned on overflow.  Document intent to set errno on underflow
3949         only for underflow to zero.
3950
3951         [BZ #16271]
3952         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
3953         round-to-nearest then adjust result for other rounding modes.
3954         * include/fenv.h (fegetround): Use libm_hidden_proto.
3955         * math/fegetround.c (fegetround): Use libm_hidden_def.
3956         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
3957         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
3958         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
3959         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
3960         Likewise.
3961         * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
3962         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
3963         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
3964         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
3965
3966 2013-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
3967
3968         [BZ #16077]
3969         * nss/Versions (libnss_files): Add
3970         _nss_files_gethostbyname3_r.
3971         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
3972         New function.
3973         (HOST_DB_LOOKUP): Remove macro.
3974         (_nss_files_gethostbyname_r): Implement function without the
3975         HOST_DB_LOOKUP macro.
3976         (_nss_files_gethostbyname2_r): Likewise.
3977
3978 2013-11-28  Ondřej Bílka  <neleai@seznam.cz>
3979
3980         * malloc/malloc.c (__libc_calloc): Make memset a tail call.
3981
3982 2013-11-26  Uros Bizjak  <ubizjak@gmail.com>
3983
3984         * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
3985         _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
3986         warning.
3987
3988 2013-11-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3989
3990         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
3991         __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
3992         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
3993         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
3994         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
3995         __fe_nomask_env_priv and attribute_hidden.
3996         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
3997         (libc_feupdateenv_test_ppc): Likewise.
3998         (libc_feresetround_ppc): Likewise.
3999         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
4000         (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
4001         compat_symbol macro.
4002         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
4003         (__fe_nomask_env): Likewise.
4004         * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
4005
4006 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
4007
4008         * string/Makefile: Remove ifunc tests.
4009         * string/test-string.h: Define TEST_IFUNC.
4010         * string/test-bcopy-ifunc.c: Remove.
4011         * string/test-bzero-ifunc.c: Likewise.
4012         * string/test-memccpy-ifunc.c: Likewise.
4013         * string/test-memchr-ifunc.c: Likewise.
4014         * string/test-memcmp-ifunc.c: Likewise.
4015         * string/test-memcpy-ifunc.c: Likewise.
4016         * string/test-memmem-ifunc.c: Likewise.
4017         * string/test-memmove-ifunc.c: Likewise.
4018         * string/test-mempcpy-ifunc.c: Likewise.
4019         * string/test-memrchr-ifunc.c: Likewise.
4020         * string/test-memset-ifunc.c: Likewise.
4021         * string/test-rawmemchr-ifunc.c: Likewise.
4022         * string/test-stpcpy-ifunc.c: Likewise.
4023         * string/test-stpncpy-ifunc.c: Likewise.
4024         * string/test-strcasecmp-ifunc.c: Likewise.
4025         * string/test-strcasestr-ifunc.c: Likewise.
4026         * string/test-strcat-ifunc.c: Likewise.
4027         * string/test-strchr-ifunc.c: Likewise.
4028         * string/test-strchrnul-ifunc.c: Likewise.
4029         * string/test-strcmp-ifunc.c: Likewise.
4030         * string/test-strcpy-ifunc.c: Likewise.
4031         * string/test-strcspn-ifunc.c: Likewise.
4032         * string/test-strlen-ifunc.c: Likewise.
4033         * string/test-strncasecmp-ifunc.c: Likewise.
4034         * string/test-strncat-ifunc.c: Likewise.
4035         * string/test-strncmp-ifunc.c: Likewise.
4036         * string/test-strncpy-ifunc.c: Likewise.
4037         * string/test-strnlen-ifunc.c: Likewise.
4038         * string/test-strpbrk-ifunc.c: Likewise.
4039         * string/test-strrchr-ifunc.c: Likewise.
4040         * string/test-strspn-ifunc.c: Likewise.
4041         * string/test-strstr-ifunc.c: Likewise.
4042
4043 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
4044
4045         * benchtests/Makefile: Remove ifunc tests.
4046         * benchtests/bench-string.h: Define TEST_IFUNC.
4047         * benchtests/bench-bcopy-ifunc.c: Remove.
4048         * benchtests/bench-bzero-ifunc.c: Likewise.
4049         * benchtests/bench-memccpy-ifunc.c: Likewise.
4050         * benchtests/bench-memchr-ifunc.c: Likewise.
4051         * benchtests/bench-memcmp-ifunc.c: Likewise.
4052         * benchtests/bench-memcpy-ifunc.c: Likewise.
4053         * benchtests/bench-memmem-ifunc.c: Likewise.
4054         * benchtests/bench-memmove-ifunc.c: Likewise.
4055         * benchtests/bench-mempcpy-ifunc.c: Likewise.
4056         * benchtests/bench-memrchr-ifunc.c: Likewise.
4057         * benchtests/bench-memset-ifunc.c: Likewise.
4058         * benchtests/bench-rawmemchr-ifunc.c: Likewise.
4059         * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
4060         * benchtests/bench-stpcpy-ifunc.c: Likewise.
4061         * benchtests/bench-stpncpy-ifunc.c: Likewise.
4062         * benchtests/bench-strcasecmp-ifunc.c: Likewise.
4063         * benchtests/bench-strcasestr-ifunc.c: Likewise.
4064         * benchtests/bench-strcat-ifunc.c: Likewise.
4065         * benchtests/bench-strchr-ifunc.c: Likewise.
4066         * benchtests/bench-strchrnul-ifunc.c: Likewise.
4067         * benchtests/bench-strcmp-ifunc.c: Likewise.
4068         * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
4069         * benchtests/bench-strcpy-ifunc.c: Likewise.
4070         * benchtests/bench-strcspn-ifunc.c: Likewise.
4071         * benchtests/bench-strlen-ifunc.c: Likewise.
4072         * benchtests/bench-strncasecmp-ifunc.c: Likewise.
4073         * benchtests/bench-strncat-ifunc.c: Likewise.
4074         * benchtests/bench-strncmp-ifunc.c: Likewise.
4075         * benchtests/bench-strncpy-ifunc.c: Likewise.
4076         * benchtests/bench-strnlen-ifunc.c: Likewise.
4077         * benchtests/bench-strpbrk-ifunc.c: Likewise.
4078         * benchtests/bench-strrchr-ifunc.c: Likewise.
4079         * benchtests/bench-strsep-ifunc.c: Likewise.
4080         * benchtests/bench-strspn-ifunc.c: Likewise.
4081         * benchtests/bench-strstr-ifunc.c: Likewise.
4082
4083 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
4084
4085         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
4086
4087 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
4088
4089         * resolv/netdb.h: Use __glibc_reserved instead __unused.
4090         * rt/aio.h: Likewise.
4091         * sysdeps/gnu/bits/utmp.h: Likewise.
4092         * sysdeps/gnu/bits/utmpx.h: Likewise.
4093         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
4094         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
4095         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
4096         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
4097         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
4098         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
4099         * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
4100         * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
4101         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
4102         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
4103         * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
4104         * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
4105         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
4106         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
4107         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
4108         * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
4109         * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
4110         * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
4111         * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
4112         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
4113         * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
4114         * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
4115         * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
4116         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
4117         * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
4118         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
4119         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
4120         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
4121         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
4122         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
4123         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
4124         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
4125         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
4126         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
4127         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
4128         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
4129         * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
4130         * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
4131         * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
4132         * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
4133         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
4134         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
4135
4136 2013-11-25  Carlos O'Donell  <carlos@redhat.com>
4137
4138         [BZ #16245]
4139         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
4140         Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
4141
4142 2013-11-25  Joseph Myers  <joseph@codesourcery.com>
4143
4144         * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
4145         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
4146         Likewise.
4147
4148 2013-11-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4149
4150         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
4151         SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
4152         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
4153         (__fesetround): Remove define.
4154         * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
4155         rounding and exceptions handling.
4156         * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
4157         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
4158         (__fe_nomask_env): Likewise.
4159         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
4160         __fegetround instead of fegetround.
4161         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
4162         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
4163
4164 2013-11-21  Roland McGrath  <roland@hack.frob.com>
4165
4166         * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
4167         it's there.
4168
4169         * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
4170
4171 2013-11-21  Meador Inge  <meadori@codesourcery.com>
4172
4173         [BZ #11157]
4174         * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
4175         (encrypt_r): Likewise.
4176         * malloc/obstack.h (obstack_free): Likewise.
4177         * posix/unistd.h (encrypt): Likewise.
4178
4179 2013-11-21  Guy Martin  <gmsoft@tuxicoman.be>
4180
4181         * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
4182         DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
4183         DL_CALL_DT_FINI() that call the functions directly.
4184         * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
4185         * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
4186         * elf/dl-fini.c: Likewise.
4187
4188 2013-11-20  Ondřej Bílka  <neleai@seznam.cz>
4189
4190         * malloc/hooks.c (memalign_check): Add alignment rounding.
4191         * malloc/malloc.c (_mid_memalign): New function.
4192         (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
4193         Implement by calling _mid_memalign.
4194         * manual/probes.texi (Memory Allocation Probes): Remove
4195         memory_valloc_retry and memory_pvalloc_retry.
4196
4197 2013-11-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
4198
4199         * locale/programs/locarchive.c (open_archive): Add const
4200         qualifier to ARCHIVEFNAME and copy default fname to
4201         DEFAULT_FNAME.
4202
4203         [BZ #15601]
4204         * libio/tst-widetext.input: Rename Oriya to Odia.
4205         * locale/iso-639.def: Likewise.
4206
4207         * manual/probes.texi (Mathematical Function Probes): Add
4208         documentation for sin, cos, asin and acos probes.
4209         * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
4210         (__sin32): Add slowasin probe.
4211         (__cos32): Add slowacos probe.
4212         (__mpsin): Add slowsin probe.
4213         (__mpcos): Add slowcos probe.
4214
4215 2013-11-19  Joseph Myers  <joseph@codesourcery.com>
4216
4217         [BZ #15483]
4218         * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
4219         thread-local __sim_exceptions_thread and global
4220         __sim_exceptions_global.
4221         (__sim_disabled_exceptions): Change to thread-local
4222         __sim_disabled_exceptions_thread and global
4223         __sim_disabled_exceptions_global.
4224         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
4225         and global __sim_round_mode_global.
4226         (__simulate_exceptions): Use thread-local floating-point state and
4227         set global state from it as needed.
4228         * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
4229         __sim_exceptions_thread, __sim_disabled_exceptions_thread and
4230         __sim_round_mode_thread.
4231         * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
4232         (__sim_exceptions): Change to thread-local __sim_exceptions_thread
4233         and global __sim_exceptions_global.
4234         (__sim_disabled_exceptions): Change to thread-local
4235         __sim_disabled_exceptions_thread and global
4236         __sim_disabled_exceptions_global.
4237         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
4238         and global __sim_round_mode_global.
4239         [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
4240         (SIM_SET_GLOBAL): Likewise.
4241         * sysdeps/powerpc/soft-fp/sfp-machine.h
4242         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
4243         __sim_round_mode_thread.
4244         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
4245         __sim_disabled_exceptions_thread.
4246         (__sim_exceptions): Change to __sim_exceptions_thread.
4247         (__sim_disabled_exceptions): Change to
4248         __sim_disabled_exceptions_thread.
4249         (__sim_round_mode): Change to __sim_round_mode_thread.
4250         * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
4251         thread-local floating-point state and set global state from it as
4252         needed.
4253         * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
4254         * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
4255         (__sim_disabled_exceptions): Remove extern declaration.
4256         (feenableexcept): Use thread-local floating-point state and set
4257         global state from it as needed.
4258         * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
4259         extern declaration.
4260         (__sim_disabled_exceptions): Likewise.
4261         (__sim_round_mode): Likewise.
4262         (__fegetenv): Use thread-local floating-point state.
4263         * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
4264         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
4265         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
4266         floating-point state and set global state from it as needed.
4267         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
4268         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
4269         * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
4270         Likewise.
4271         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
4272         * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
4273         Likewise.
4274         sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
4275         * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
4276         Use __sim_round_mode_thread.
4277         * math/test-fenv-tls.c: New file.
4278         * math/Makefile (tests): Add test-fenv-tls.
4279         ($(objpfx)test-fenv-tls): Depend on
4280         $(common-objpfx)nptl/libpthread.so.
4281
4282 2013-11-19  Andreas Schwab  <schwab@suse.de>
4283
4284         * locale/programs/locale.c (show_info): Decode wordarray elements.
4285         * locale/categories.def (LC_MONETARY): Add element for
4286         _NL_MONETARY_CRNCYSTR.
4287         * locale/C-monetary.c (conversion_rate): New variable.
4288         (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
4289         element.
4290
4291 2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
4292
4293         * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
4294         Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
4295
4296 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
4297
4298         * elf/Makefile (tst-auxv): New test.
4299         * elf/tst-auxv.c: New
4300         * elf/rtld.c (dl_main): Adjust AT_EXECFN
4301
4302 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
4303
4304         * include/libc-symbols.h (__hidden_proto): Add argument "thread".
4305         (hidden_proto): Caller changed.
4306         (hidden_tls_proto): New macro.
4307         (libc_hidden_tls_proto): Likewise.
4308         (rtld_hidden_tls_proto): Likewise.
4309         (libm_hidden_tls_proto): Likewise.
4310         (libresolv_hidden_tls_proto): Likewise.
4311         (librt_hidden_tls_proto): Likewise.
4312         (libdl_hidden_tls_proto): Likewise.
4313         (libnss_files_hidden_tls_proto): Likewise.
4314         (libnsl_hidden_tls_proto): Likewise.
4315         (libnss_nisplus_hidden_tls_proto): Likewise.
4316         (libutil_hidden_tls_proto): Likewise.
4317
4318 2013-11-18  Ondřej Bílka  <neleai@seznam.cz>
4319
4320         [BZ #10253]
4321         * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
4322         (decompose_rpath): Defer expansion to fillin_rpath.
4323         (_dl_init_paths): Pass linkmap to fillin_rpath.
4324
4325 2013-11-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
4326
4327         * benchtests/Makefile: Add strsep.
4328         * benchtests/bench-strsep.c: New file: strsep benchtest.
4329         * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
4330
4331 2013-11-18  Andreas Schwab  <schwab@suse.de>
4332
4333         * locale/programs/locale.c (show_info) [case byte]: Check for
4334         '\377' instead of '\177'.
4335         * locale/C-monetary.c (not_available): Always use "\377".
4336         * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
4337         unspecified p_sign_posn and n_sign_posn.  Check for '\377' to
4338         detect unavailable sign_posn locale elements.
4339         * locale/localeconv.c (__localeconv): For grouping and
4340         mon_grouping handle "\177" and "\377" like no grouping.
4341         (INT_ELEM): New macro.  Use it to set all numeric members.
4342         * locale/programs/ld-monetary.c (monetary_read)
4343         <tok_mon_grouping>: Normalize single -1 to the empty string.
4344         * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
4345         Likewise.
4346
4347 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
4348
4349         [BZ #16055]
4350         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
4351         when we match (nil).
4352         * stdio-common/tst-sscanf.c (struct test): Add testcase.
4353
4354 2013-11-16  Joseph Myers  <joseph@codesourcery.com>
4355
4356         * math/libm-test.inc (TEST_NAN_SIGN): New macro.
4357         (NO_TEST_INLINE): Update value.
4358         (ERRNO_UNCHANGED): Likewise.
4359         (ERRNO_EDOM): Likewise.
4360         (ERRNO_ERANGE): Likewise.
4361         (IGNORE_RESULT): Likewise.
4362         (check_float_internal): Check signs of NaN results if
4363         TEST_NAN_SIGN used.
4364         (check_complex): Pass TEST_NAN_SIGN flag through to second
4365         check_float_internal call.
4366         (copysign_test_data): Add tests with quiet NaNs as second
4367         argument.  Use TEST_NAN_SIGN.
4368         (fabs_test_data): Add test of negative quiet NaN argument.  Use
4369         TEST_NAN_SIGN.
4370         (signbit_test_data): Add tests of quiet NaN argument.
4371         * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
4372
4373         * math/gen-libm-test.pl (show_exceptions): Take extra argument
4374         $ignore_result.
4375         (parse_args): Handle function results specified as IGNORE.
4376         * math/libm-test.inc (IGNORE_RESULT): New macro.
4377         (check_float_internal): Do not check numerical result if flag
4378         IGNORE_RESULT set.
4379         (check_complex): Pass through IGNORE_RESULT to second
4380         check_float_internal call.
4381         (check_int): Do not check numerical result if flag IGNORE_RESULT
4382         set.
4383         (check_long): Likewise.
4384         (check_bool): Likewise.
4385         (check_longlong): Likewise.
4386         (lrint_test_data): Add tests of infinite and NaN arguments.
4387         (lrint_tonearest_test_data): Likewise.
4388         (lrint_towardzero_test_data): Likewise.
4389         (lrint_downward_test_data): Likewise.
4390         (lrint_upward_test_data): Likewise.
4391         (llrint_test_data): Likewise.
4392         (llrint_tonearest_test_data): Likewise.
4393         (llrint_towardzero_test_data): Likewise.
4394         (llrint_downward_test_data): Likewise.
4395         (llrint_upward_test_data): Likewise.
4396         (lround_test_data): Likewise.
4397         (llround_test_data): Likewise.
4398
4399         * math/libm-test.inc (NO_TEST_INLINE): New macro.
4400         (ERRNO_UNCHANGED): Update value.
4401         (ERRNO_EDOM): Likewise.
4402         (ERRNO_ERANGE): Likewise.
4403         (NO_TEST_INLINE_FLOAT): New macro.
4404         (NO_TEST_INLINE_DOUBLE): Likewise.
4405         (enable_test): New function.
4406         (RUN_TEST_f_f): Check enable_test before running test.
4407         (RUN_TEST_2_f): Likewise.
4408         (RUN_TEST_fff_f): Likewise.
4409         (RUN_TEST_c_f): Likewise.
4410         (RUN_TEST_f_f1): Likewise.
4411         (RUN_TEST_fF_f1): Likewise.
4412         (RUN_TEST_fI_f1): Likewise.
4413         (RUN_TEST_ffI_f1): Likewise.
4414         (RUN_TEST_c_c): Likewise.
4415         (RUN_TEST_cc_c): Likewise.
4416         (RUN_TEST_f_i): Likewise.
4417         (RUN_TEST_f_i_tg): Likewise.
4418         (RUN_TEST_ff_i_tg): Likewise.
4419         (RUN_TEST_f_b): Likewise.
4420         (RUN_TEST_f_b_tg): Likewise.
4421         (RUN_TEST_f_l): Likewise.
4422         (RUN_TEST_f_L): Likewise.
4423         (RUN_TEST_fFF_11): Likewise.
4424         (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
4425         conditionals.
4426         (cosh_test_data): Likewise.
4427         (exp_test_data): Likewise.
4428         (expm1_test_data): Likewise.
4429         (hypot_test_data): Likewise.
4430         (pow_test_data): Likewise.
4431         (sinh_test_data): Likewise.
4432         (tanh_test_data): Likewise.
4433         * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
4434         flags argument.
4435
4436         * libm-test.inc (acos_test_data): Disallow inexact exceptions for
4437         tests with quiet NaN input and output.
4438         (acosh_test_data): Likewise.
4439         (asin_test_data): Likewise.
4440         (asinh_test_data): Likewise.
4441         (atan_test_data): Likewise.
4442         (atanh_test_data): Likewise.
4443         (atan2_test_data): Likewise.
4444         (cbrt_test_data): Likewise.
4445         (cos_test_data): Likewise.
4446         (cosh_test_data): Likewise.
4447         (erf_test_data): Likewise.
4448         (erfc_test_data): Likewise.
4449         (exp_test_data): Likewise.
4450         (exp10_test_data): Likewise.
4451         (exp2_test_data): Likewise.
4452         (expm1_test_data): Likewise.
4453         (hypot_test_data): Likewise.
4454         (j0_test_data): Likewise.
4455         (j1_test_data): Likewise.
4456         (jn_test_data): Likewise.
4457         (lgamma_test_data): Likewise.
4458         (log_test_data): Likewise.
4459         (log10_test_data): Likewise.
4460         (log1p_test_data): Likewise.
4461         (log2_test_data): Likewise.
4462         (pow_test_data): Likewise.
4463         (scalb_test_data): Likewise.
4464         (sin_test_data): Likewise.
4465         (sincos_test_data): Likewise.
4466         (sinh_test_data): Likewise.
4467         (tan_test_data): Likewise.
4468         (tanh_test_data): Likewise.
4469         (tgamma_test_data): Likewise.
4470         (y0_test_data): Likewise.
4471         (y1_test_data): Likewise.
4472         (yn_test_data): Likewise.
4473
4474         [BZ #16167]
4475         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
4476         argument being NaN and avoid computations with second argument in
4477         that case.
4478         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
4479         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
4480         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
4481
4482 2013-11-15  Arun Kumar Pyasi <arun@chitwanix.com>
4483
4484         * locale/iso-639.def: Add Chitwani Tharu (the).
4485
4486 2013-11-14  Andreas Schwab  <schwab@suse.de>
4487
4488         * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
4489         word instead of empty string.
4490
4491 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4492
4493         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
4494         (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
4495         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
4496         (__fe_nomask_env): Likewise.
4497
4498 2013-11-13  Steve Ellcey  <sellcey@mips.com>
4499
4500         * benchtests/bench-timing.h: Include time.h.
4501
4502 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
4503
4504         [BZ #15997]
4505         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
4506         to 3.4.0 for x32.
4507         * sysdeps/unix/sysv/linux/configure: Regenerated.
4508
4509 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
4510
4511         [BZ #16151]
4512         * stdlib/strtod_l.c (round_and_return): Do not consider
4513         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
4514         exponent one less than half the least subnormal exponent.
4515         * stdlib/test-strtod-round-data: Add more tests.
4516         * stdlib/tst-strtod-round.c (tests): Regenerated.
4517
4518 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4519
4520         [BZ #14143]
4521         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
4522         (__fe_mask_env): Likewise.
4523         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
4524         libm_hidden_proto and add function prototype.
4525         (__fe_mask_env): Add function prototype.
4526         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
4527         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
4528         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
4529         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
4530         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
4531         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
4532
4533 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
4534
4535         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
4536         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
4537
4538 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
4539
4540         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
4541         of htab_find_slot().
4542
4543 2013-11-11  David S. Miller  <davem@davemloft.net>
4544
4545         [BZ #16150]
4546         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
4547         symbol in the non-vis3 case in static builds.
4548         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
4549         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
4550         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
4551         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
4552
4553 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
4554
4555         [BZ #387]
4556         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
4557         it is empty.
4558
4559 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4560
4561         * benchtests/Makefile: Add bench-strtod.
4562         * benchtests/bench-strtod.c: New file: strtod benchtest
4563
4564 2013-11-11  Andreas Schwab  <schwab@suse.de>
4565
4566         [BZ #16153]
4567         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
4568         terminating NUL in key length.
4569
4570 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4571
4572         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
4573         Add artificial ODP entry for vDSO symbol for PPC64.
4574         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
4575         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
4576
4577 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
4578
4579         [BZ #15374]
4580         * nss/getent.c (services_keys): Recognize services starting with digit.
4581
4582 2013-11-06  David S. Miller  <davem@davemloft.net>
4583
4584         [BZ #15985]
4585         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
4586         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
4587
4588 2013-11-06  Will Newton  <will.newton@linaro.org>
4589
4590         * manual/memory.texi (Malloc Examples): Remove register
4591         keyword from examples.
4592
4593 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
4594
4595         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
4596
4597 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
4598
4599         [BZ #6981]
4600         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
4601         depending on [__GCC_IEC_559 > 0].
4602         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
4603         depending on [__GCC_IEC_559_COMPLEX > 0].
4604
4605 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
4606
4607         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
4608         to iso-639.def.
4609
4610 2013-11-03  Ondřej Bílka  <neleai@seznam.cz>
4611
4612         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
4613
4614 2013-11-01  Ondřej Bílka  <neleai@seznam.cz>
4615
4616         [BZ #16112]
4617         * malloc/malloc (malloc_info): Do not handle first bin as
4618         special case.
4619
4620 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
4621
4622         * locale/iso-639.def: Add Central Nahuatl (nhn).
4623
4624 2013-11-01  Bruno Haible  <bruno@clisp.org>
4625
4626         [BZ #7003]
4627         * manual/math.texi (BSD Random): Specify range upper bound as
4628         in POSIX.
4629
4630 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
4631
4632         * locale/iso-639.def: Add Meadow Mari (mhr).
4633
4634 2013-10-31  Ondřej Bílka  <neleai@seznam.cz>
4635
4636         [BZ #14752], [BZ #15763]
4637         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
4638         Validate name.
4639         * rt/tst_shm.c: Add test for escaping directory.
4640
4641 2013-10-31  Andreas Schwab  <schwab@suse.de>
4642
4643         [BZ #15917]
4644         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
4645         followed by 'x' as part of digit sequence.
4646         * stdio-common/tst-sscanf.c (double_tests2): New tests.
4647
4648 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
4649
4650         [BZ #16037]
4651         * configure.ac: allow GNU Make 4.0 and greater.
4652         * configure: Regenerated.
4653
4654 2013-10-30  Will Newton  <will.newton@linaro.org>
4655
4656         [BZ #16038]
4657         * malloc/hooks.c (memalign_check): Limit alignment to the
4658         maximum representable power of two.
4659         * malloc/malloc.c (__libc_memalign): Likewise.
4660         * malloc/tst-memalign.c (do_test): Add test for very
4661         large alignment values.
4662         * malloc/tst-posix_memalign.c (do_test): Likewise.
4663
4664 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
4665
4666         [BZ #11087]
4667         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
4668         (munmap_chunk): Likewise.
4669         (mremap_chunk): Likewise.
4670
4671 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
4672
4673         [BZ #15799]
4674         * stdlib/div.c (div): Remove obsolete code.
4675         * stdlib/ldiv.c (ldiv): Likewise.
4676         * stdlib/lldiv.c (lldiv): Likewise.
4677
4678 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
4679
4680         [BZ #16071]
4681         * nss/nss_files/files-XXX.c (get_contents_ret): New
4682         enumerator.
4683         (get_contents): New function.
4684         (internal_getent): Use it.  Expand size of LINEBUFLEN.
4685
4686 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
4687
4688         * configure.in: Moved to ...
4689         * configure.ac: ... here. Change reference to configure.in
4690         to configure.ac.
4691         * sysdeps/arm/preconfigure.ac: ... here.
4692         configure.in to configure.ac.
4693         * sysdeps/gnu/configure.in: Moved to ...
4694         * sysdeps/gnu/configure.ac: ... here.
4695         * sysdeps/i386/configure.in: Moved to ...
4696         * sysdeps/i386/configure.ac: ... here.
4697         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
4698         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
4699         * sysdeps/mach/configure.in: Moved to ...
4700         * sysdeps/mach/configure.ac: ... here.
4701         * sysdeps/mach/hurd/configure.in: Moved to ...
4702         * sysdeps/mach/hurd/configure.ac: ... here.
4703         * sysdeps/powerpc/configure.in: Moved to ...
4704         * sysdeps/powerpc/configure.ac: ... here.
4705         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
4706         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
4707         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
4708         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
4709         * sysdeps/s390/s390-32/configure.in: Moved to ...
4710         * sysdeps/s390/s390-32/configure.ac: ... here.
4711         * sysdeps/s390/s390-64/configure.in: Moved to ...
4712         * sysdeps/s390/s390-64/configure.ac: ... here.
4713         * sysdeps/sh/configure.in: Moved to ...
4714         * sysdeps/sh/configure.ac: ... here.
4715         * sysdeps/sparc/configure.in: Moved to ...
4716         * sysdeps/sparc/configure.ac: ... here.
4717         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
4718         * sysdeps/unix/sysv/linux/configure.ac: ... here.
4719         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
4720         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
4721         * sysdeps/x86_64/configure.in: Moved to ...
4722         * sysdeps/x86_64/configure.ac: ... here.
4723         * sysdeps/x86_64/preconfigure.in: Moved to ...
4724         * sysdeps/x86_64/preconfigure.ac: ... here.
4725         * aclocal.m4: Change reference to configure.in to configure.ac.
4726         * config.h.in: Likewise.
4727         * manual/install.texi: Likewise.
4728         * manual/maint.texi: Likewise.
4729         * Makefile: Likewise.
4730         * malloc/Makefile: Likewise.
4731         * nscd/Makefile: Likewise.
4732         * Makeconfig: Change reference to configure.in and
4733         preconfigure.in to configure.ac and preconfigure.ac
4734         respectively.
4735         * INSTALL: Regenerated.
4736         * configure: Likewise.
4737         * sysdeps/gnu/configure: Likewise.
4738         * sysdeps/i386/configure: Likewise.
4739         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
4740         * sysdeps/mach/configure: Likewise.
4741         * sysdeps/mach/hurd/configure: Likewise.
4742         * sysdeps/powerpc/configure: Likewise.
4743         * sysdeps/powerpc/powerpc32/configure: Likewise.
4744         * sysdeps/powerpc/powerpc64/configure: Likewise.
4745         * sysdeps/s390/s390-32/configure: Likewise.
4746         * sysdeps/s390/s390-64/configure: Likewise.
4747         * sysdeps/sh/configure: Likewise.
4748         * sysdeps/sparc/configure: Likewise.
4749         * sysdeps/unix/sysv/linux/configure: Likewise.
4750         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
4751         * sysdeps/x86_64/configure: Likewise.
4752         * sysdeps/x86_64/preconfigure: Likewise.
4753
4754 2013-10-29  Andreas Schwab  <schwab@suse.de>
4755
4756         * stdio-common/Makefile (tst-swscanf-ENV): Define.
4757
4758 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
4759
4760         * benchtests/pow-inputs: Add new inputs.
4761
4762         * benchtests/exp-inputs: Add new inputs.
4763
4764         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
4765         conditional check for return value.
4766         (__cos32): Likewise.
4767
4768 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4769
4770         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
4771         to provide a boost for large inputs with word alignment.
4772         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
4773         implementation based on optimized PPC64 strcpy.
4774         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
4775         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
4776         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
4777         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
4778
4779 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
4780
4781         [BZ #2801]
4782         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
4783
4784 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
4785
4786         [BZ #14876]
4787         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
4788         * time/tst-strptime.c (day_tests): Add testcase.
4789
4790 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
4791
4792         [BZ #14029]
4793         * manual/pattern.texi: Acknowledge that fnmatch can fail.
4794
4795 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
4796
4797         [BZ #16074]
4798         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
4799         MAP_FAILED on error.
4800
4801 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
4802
4803         [BZ #16072]
4804         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
4805         heap for large requests.
4806
4807 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
4808
4809         [BZ #9954]
4810         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
4811         result if the result has no associated interface.
4812         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
4813         interface for all 127.X.Y.Z addresses.
4814
4815 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
4816
4817         * locale/iso-639.def: Add Ligurian (lij)
4818
4819 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
4820
4821         [BZ #15825]
4822         * sunrpc/rpc_main.c: Document rpcgen -5.
4823
4824 2013-10-19  Michael Stahl  <mstahl@redhat.com>
4825
4826         * elf/rtld.c (do_preload): Print the reason why preloading failed.
4827
4828 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
4829
4830         [BZ #10278]
4831         * posix/glob.c: Match only directories when trailing slash is present.
4832         * posix/tst-gnuglob.c (my_opendir): Do not open files.
4833         (main): Add testcase.
4834
4835 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
4836
4837         [BZ #15670]
4838         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
4839
4840 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
4841
4842         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
4843         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
4844         AUTH_DES and cindex for FIPS 140-2.
4845         (DES Encryption): Add cindex FIPS 46-3.
4846
4847         * locale/locarchive.h (struct locarhandle): Add fname.
4848         * locale/programs/localedef.c (main): Pass ARGV[remaining]
4849         if an optional argument was specified to --list-archive,
4850         otherwise NULL.
4851         * locale/programs/locarchive.c (show_archive_content): Take new
4852         argument fname and pass it via ah.fname to open_archive.
4853         * locale/programs/localedef.h: Update decl.
4854         (open_archive): If AH->fname is non-null, open that file
4855         rather than the default file name, and don't ignore ENOENT.
4856         (create_archive): Set AH.fname to NULL.
4857         (delete_locales_from_archive): Likewise.
4858         (add_locales_to_archive): Likewise.
4859         * locale/programs/locfile.c (write_all_categories): Likewise.
4860
4861 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
4862             Aldy Hernandez  <aldyh@redhat.com>
4863
4864         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
4865         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
4866         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
4867         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
4868         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
4869         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
4870         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
4871         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
4872         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
4873         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
4874         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
4875         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
4876         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
4877         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
4878         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
4879         Likewise.
4880         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
4881         Likewise.
4882         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
4883         Likewise.
4884         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
4885         Likewise.
4886         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
4887         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
4888         Likewise.
4889         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
4890         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
4891         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
4892         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
4893         Likewise.
4894         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
4895         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
4896         * sysdeps/powerpc/preconfigure: Likewise.
4897         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
4898         Likewise.
4899         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
4900         Replace contents of file by #include of <fenv_libc.h>.
4901         * sysdeps/powerpc/soft-fp/sfp-machine.h
4902         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
4903         and <sys/prctl.h>.
4904         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
4905         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
4906         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
4907         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
4908         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
4909         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
4910         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
4911         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
4912         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
4913         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
4914         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
4915         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
4916         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
4917         Allow copysignl PLT reference to be missing.
4918
4919 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
4920             Joseph Myers  <joseph@codesourcery.com
4921
4922         [BZ #15948]
4923         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
4924         single character.
4925         (add_to_tablewc): Assert sequence of wide characters is nonempty.
4926
4927 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
4928
4929         * elf/tst-tls-dlinfo.c: Don't include tls.h.
4930         * elf/tst-tls1.c: Likewise.
4931         * elf/tst-tls10.h: Likewise.
4932         * elf/tst-tls14.c: Likewise.
4933         * elf/tst-tls2.c: Likewise.
4934         * elf/tst-tls3.c: Likewise.
4935         * elf/tst-tls4.c: Likewise.
4936         * elf/tst-tls5.c: Likewise.
4937         * elf/tst-tls6.c: Likewise.
4938         * elf/tst-tls7.c: Likewise.
4939         * elf/tst-tls8.c: Likewise.
4940         * elf/tst-tls9.c: Likewise.
4941         * elf/tst-tlsmod1.c: Likewise.
4942         * elf/tst-tlsmod13.c: Likewise.
4943         * elf/tst-tlsmod13a.c: Likewise.
4944         * elf/tst-tlsmod14a.c: Likewise.
4945         * elf/tst-tlsmod16a.c: Likewise.
4946         * elf/tst-tlsmod16b.c: Likewise.
4947         * elf/tst-tlsmod2.c: Likewise.
4948         * elf/tst-tlsmod3.c: Likewise.
4949         * elf/tst-tlsmod4.c: Likewise.
4950         * elf/tst-tlsmod5.c: Likewise.
4951         * elf/tst-tlsmod6.c: Likewise.
4952
4953 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
4954
4955         [BZ #12486]
4956         * malloc/malloc.c: remove checks for statistics.
4957
4958 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
4959
4960         [BZ #15277]
4961         * inet/inet_net.c (inet_network): Detect additional invalid strings.
4962         * inet/tst-network.c: Add testcase.
4963
4964 2013-10-17  Andreas Schwab  <schwab@suse.de>
4965
4966         [BZ #15218]
4967         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
4968         to determine canonical name.
4969
4970 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
4971
4972         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
4973         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
4974         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
4975         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
4976         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
4977         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
4978         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
4979         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
4980         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
4981         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
4982         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
4983         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
4984         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
4985         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
4986         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
4987         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
4988         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
4989         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
4990         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
4991         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
4992         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
4993         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
4994         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
4995         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
4996         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
4997         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
4998         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
4999         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
5000         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
5001         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
5002         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
5003         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
5004         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
5005         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
5006         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
5007         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
5008         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
5009         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
5010         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
5011         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
5012         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
5013         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
5014         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
5015         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
5016         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
5017         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
5018         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
5019         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
5020         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
5021         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
5022         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
5023         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
5024         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
5025         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
5026         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
5027         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
5028         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
5029         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
5030
5031 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
5032
5033         [BZ #16041]
5034         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
5035         make result into a quiet NaN.
5036
5037 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
5038
5039         * soft-fp/adddf3.c: Fix horizontal whitespace.
5040         * soft-fp/addsf3.c: Likewise.
5041         * soft-fp/addtf3.c: Likewise.
5042         * soft-fp/divdf3.c: Likewise.
5043         * soft-fp/divsf3.c: Likewise.
5044         * soft-fp/divtf3.c: Likewise.
5045         * soft-fp/double.h: Likewise.
5046         * soft-fp/eqdf2.c: Likewise.
5047         * soft-fp/eqsf2.c: Likewise.
5048         * soft-fp/eqtf2.c: Likewise.
5049         * soft-fp/extenddftf2.c: Likewise.
5050         * soft-fp/extended.h: Likewise.
5051         * soft-fp/extendsfdf2.c: Likewise.
5052         * soft-fp/extendsftf2.c: Likewise.
5053         * soft-fp/extendxftf2.c: Likewise.
5054         * soft-fp/fixdfdi.c: Likewise.
5055         * soft-fp/fixdfsi.c: Likewise.
5056         * soft-fp/fixdfti.c: Likewise.
5057         * soft-fp/fixsfdi.c: Likewise.
5058         * soft-fp/fixsfsi.c: Likewise.
5059         * soft-fp/fixsfti.c: Likewise.
5060         * soft-fp/fixtfdi.c: Likewise.
5061         * soft-fp/fixtfsi.c: Likewise.
5062         * soft-fp/fixtfti.c: Likewise.
5063         * soft-fp/fixunsdfdi.c: Likewise.
5064         * soft-fp/fixunsdfsi.c: Likewise.
5065         * soft-fp/fixunsdfti.c: Likewise.
5066         * soft-fp/fixunssfdi.c: Likewise.
5067         * soft-fp/fixunssfsi.c: Likewise.
5068         * soft-fp/fixunssfti.c: Likewise.
5069         * soft-fp/fixunstfdi.c: Likewise.
5070         * soft-fp/fixunstfsi.c: Likewise.
5071         * soft-fp/fixunstfti.c: Likewise.
5072         * soft-fp/floatdidf.c: Likewise.
5073         * soft-fp/floatdisf.c: Likewise.
5074         * soft-fp/floatditf.c: Likewise.
5075         * soft-fp/floatsidf.c: Likewise.
5076         * soft-fp/floatsisf.c: Likewise.
5077         * soft-fp/floatsitf.c: Likewise.
5078         * soft-fp/floattidf.c: Likewise.
5079         * soft-fp/floattisf.c: Likewise.
5080         * soft-fp/floattitf.c: Likewise.
5081         * soft-fp/floatundidf.c: Likewise.
5082         * soft-fp/floatundisf.c: Likewise.
5083         * soft-fp/floatunditf.c: Likewise.
5084         * soft-fp/floatunsidf.c: Likewise.
5085         * soft-fp/floatunsisf.c: Likewise.
5086         * soft-fp/floatunsitf.c: Likewise.
5087         * soft-fp/floatuntidf.c: Likewise.
5088         * soft-fp/floatuntisf.c: Likewise.
5089         * soft-fp/floatuntitf.c: Likewise.
5090         * soft-fp/fmadf4.c: Likewise.
5091         * soft-fp/fmasf4.c: Likewise.
5092         * soft-fp/fmatf4.c: Likewise.
5093         * soft-fp/gedf2.c: Likewise.
5094         * soft-fp/gesf2.c: Likewise.
5095         * soft-fp/getf2.c: Likewise.
5096         * soft-fp/ledf2.c: Likewise.
5097         * soft-fp/lesf2.c: Likewise.
5098         * soft-fp/letf2.c: Likewise.
5099         * soft-fp/muldf3.c: Likewise.
5100         * soft-fp/mulsf3.c: Likewise.
5101         * soft-fp/multf3.c: Likewise.
5102         * soft-fp/negdf2.c: Likewise.
5103         * soft-fp/negsf2.c: Likewise.
5104         * soft-fp/negtf2.c: Likewise.
5105         * soft-fp/op-1.h: Likewise.
5106         * soft-fp/op-2.h: Likewise.
5107         * soft-fp/op-4.h: Likewise.
5108         * soft-fp/op-8.h: Likewise.
5109         * soft-fp/op-common.h: Likewise.
5110         * soft-fp/quad.h: Likewise.
5111         * soft-fp/single.h: Likewise.
5112         * soft-fp/soft-fp.h: Likewise.
5113         * soft-fp/sqrtdf2.c: Likewise.
5114         * soft-fp/sqrtsf2.c: Likewise.
5115         * soft-fp/sqrttf2.c: Likewise.
5116         * soft-fp/subdf3.c: Likewise.
5117         * soft-fp/subsf3.c: Likewise.
5118         * soft-fp/subtf3.c: Likewise.
5119         * soft-fp/truncdfsf2.c: Likewise.
5120         * soft-fp/trunctfdf2.c: Likewise.
5121         * soft-fp/trunctfsf2.c: Likewise.
5122         * soft-fp/trunctfxf2.c: Likewise.
5123         * soft-fp/unorddf2.c: Likewise.
5124         * soft-fp/unordsf2.c: Likewise.
5125         * soft-fp/unordtf2.c: Likewise.
5126
5127 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
5128
5129         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
5130         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
5131
5132 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
5133
5134         * elf/dl-libc.c: Clear initfini list after freeing.
5135
5136 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
5137
5138         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
5139         * soft-fp/addsf3.c: Likewise.
5140         * soft-fp/addtf3.c: Likewise.
5141         * soft-fp/divdf3.c: Likewise.
5142         * soft-fp/divsf3.c: Likewise.
5143         * soft-fp/divtf3.c: Likewise.
5144         * soft-fp/double.h: Likewise.
5145         * soft-fp/eqdf2.c: Likewise.
5146         * soft-fp/eqsf2.c: Likewise.
5147         * soft-fp/eqtf2.c: Likewise.
5148         * soft-fp/extenddftf2.c: Likewise.
5149         * soft-fp/extended.h: Likewise.
5150         * soft-fp/extendsfdf2.c: Likewise.
5151         * soft-fp/extendsftf2.c: Likewise.
5152         * soft-fp/extendxftf2.c: Likewise.
5153         * soft-fp/fixdfdi.c: Likewise.
5154         * soft-fp/fixdfsi.c: Likewise.
5155         * soft-fp/fixdfti.c: Likewise.
5156         * soft-fp/fixsfdi.c: Likewise.
5157         * soft-fp/fixsfsi.c: Likewise.
5158         * soft-fp/fixsfti.c: Likewise.
5159         * soft-fp/fixtfdi.c: Likewise.
5160         * soft-fp/fixtfsi.c: Likewise.
5161         * soft-fp/fixtfti.c: Likewise.
5162         * soft-fp/fixunsdfdi.c: Likewise.
5163         * soft-fp/fixunsdfsi.c: Likewise.
5164         * soft-fp/fixunsdfti.c: Likewise.
5165         * soft-fp/fixunssfdi.c: Likewise.
5166         * soft-fp/fixunssfsi.c: Likewise.
5167         * soft-fp/fixunssfti.c: Likewise.
5168         * soft-fp/fixunstfdi.c: Likewise.
5169         * soft-fp/fixunstfsi.c: Likewise.
5170         * soft-fp/fixunstfti.c: Likewise.
5171         * soft-fp/floatdidf.c: Likewise.
5172         * soft-fp/floatdisf.c: Likewise.
5173         * soft-fp/floatditf.c: Likewise.
5174         * soft-fp/floatsidf.c: Likewise.
5175         * soft-fp/floatsisf.c: Likewise.
5176         * soft-fp/floatsitf.c: Likewise.
5177         * soft-fp/floattidf.c: Likewise.
5178         * soft-fp/floattisf.c: Likewise.
5179         * soft-fp/floattitf.c: Likewise.
5180         * soft-fp/floatundidf.c: Likewise.
5181         * soft-fp/floatundisf.c: Likewise.
5182         * soft-fp/floatunsidf.c: Likewise.
5183         * soft-fp/floatunsisf.c: Likewise.
5184         * soft-fp/floatuntidf.c: Likewise.
5185         * soft-fp/floatuntisf.c: Likewise.
5186         * soft-fp/floatuntitf.c: Likewise.
5187         * soft-fp/fmadf4.c: Likewise.
5188         * soft-fp/fmasf4.c: Likewise.
5189         * soft-fp/fmatf4.c: Likewise.
5190         * soft-fp/gedf2.c: Likewise.
5191         * soft-fp/gesf2.c: Likewise.
5192         * soft-fp/getf2.c: Likewise.
5193         * soft-fp/ledf2.c: Likewise.
5194         * soft-fp/lesf2.c: Likewise.
5195         * soft-fp/letf2.c: Likewise.
5196         * soft-fp/muldf3.c: Likewise.
5197         * soft-fp/mulsf3.c: Likewise.
5198         * soft-fp/multf3.c: Likewise.
5199         * soft-fp/negdf2.c: Likewise.
5200         * soft-fp/negsf2.c: Likewise.
5201         * soft-fp/negtf2.c: Likewise.
5202         * soft-fp/op-1.h: Likewise.
5203         * soft-fp/op-2.h: Likewise.
5204         * soft-fp/op-4.h: Likewise.
5205         * soft-fp/op-8.h: Likewise.
5206         * soft-fp/op-common.h: Likewise.
5207         * soft-fp/quad.h: Likewise.
5208         * soft-fp/single.h: Likewise.
5209         * soft-fp/soft-fp.h: Likewise.
5210         * soft-fp/sqrtdf2.c: Likewise.
5211         * soft-fp/sqrtsf2.c: Likewise.
5212         * soft-fp/sqrttf2.c: Likewise.
5213         * soft-fp/subdf3.c: Likewise.
5214         * soft-fp/subsf3.c: Likewise.
5215         * soft-fp/subtf3.c: Likewise.
5216         * soft-fp/truncdfsf2.c: Likewise.
5217         * soft-fp/trunctfdf2.c: Likewise.
5218         * soft-fp/trunctfsf2.c: Likewise.
5219         * soft-fp/trunctfxf2.c: Likewise.
5220         * soft-fp/unorddf2.c: Likewise.
5221         * soft-fp/unordsf2.c: Likewise.
5222         * soft-fp/unordtf2.c: Likewise.
5223
5224 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
5225
5226         [BZ #15672]
5227         * misc/error.c (error_tail): Fix possible buffer overflow.
5228
5229 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
5230
5231         [BZ #13028]
5232         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
5233         address.
5234
5235 2013-10-14  P. J. McDermott  <pj@pehjota.net>
5236
5237         [BZ #832]
5238         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
5239         testing pipefail option.
5240
5241 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
5242
5243         * soft-fp/double.h: Indent preprocessor directives inside #if.
5244         * soft-fp/extended.h: Likewise.
5245         * soft-fp/op-2.h: Likewise.
5246         * soft-fp/op-4.h: Likewise.
5247         * soft-fp/op-common.h: Likewise.
5248         * soft-fp/quad.h: Likewise.
5249         * soft-fp/single.h: Likewise.
5250         * soft-fp/soft-fp.h: Likewise.
5251
5252 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
5253
5254         * iconv/iconv_prog.c: Fix typos.
5255         * stdio-common/psiginfo-data.h: Likewise.
5256
5257 2013-10-12   Reuben Thomas <rrt@sc3d.org>
5258
5259         [BZ #15764]
5260         * locale/setlocale.c: Fix typo.
5261
5262 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
5263
5264         [BZ #16036]
5265         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
5266         signaling NaN arguments.
5267         * soft-fp/unordsf2.c (__unordsf2): Likewise.
5268         * soft-fp/unordtf2.c (__unordtf2): Likewise.
5269
5270         [BZ #14910]
5271         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
5272         unordered operands.
5273         * soft-fp/gesf2.c (__gesf2): Likewise.
5274         * soft-fp/getf2.c (__getf2): Likewise.
5275         * soft-fp/ledf2.c (__ledf2): Likewise.
5276         * soft-fp/lesf2.c (__lesf2): Likewise.
5277         * soft-fp/letf2.c (__letf2): Likewise.
5278
5279         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
5280         * soft-fp/eqsf2.c (__eqsf2): Likewise.
5281         * soft-fp/eqtf2.c (__eqtf2): Likewise.
5282         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
5283         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
5284         * soft-fp/fixdfti.c (__fixdfti): Likewise.
5285         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
5286         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
5287         * soft-fp/fixsfti.c (__fixsfti): Likewise.
5288         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
5289         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
5290         * soft-fp/fixtfti.c (__fixtfti): Likewise.
5291         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
5292         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
5293         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
5294         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
5295         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
5296         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
5297         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
5298         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
5299         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
5300         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
5301         * soft-fp/floatdisf.c (__floatdisf): Likewise.
5302         * soft-fp/floatsisf.c (__floatsisf): Likewise.
5303         * soft-fp/floattidf.c (__floattidf): Likewise.
5304         * soft-fp/floattisf.c (__floattisf): Likewise.
5305         * soft-fp/floattitf.c (__floattitf): Likewise.
5306         * soft-fp/floatundidf.c (__floatundidf): Likewise.
5307         * soft-fp/floatundisf.c (__floatundisf): Likewise.
5308         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
5309         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
5310         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
5311         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
5312         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
5313         * soft-fp/gesf2.c (__gesf2): Likewise.
5314         * soft-fp/getf2.c (__getf2): Likewise.
5315         * soft-fp/ledf2.c (__ledf2): Likewise.
5316         * soft-fp/lesf2.c (__lesf2): Likewise.
5317         * soft-fp/letf2.c (__letf2): Likewise.
5318
5319         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
5320         Undefine and redefine.
5321         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
5322         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
5323         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
5324         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
5325         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
5326         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
5327         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
5328         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
5329         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
5330         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
5331         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
5332         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
5333         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
5334         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
5335         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
5336
5337         [BZ #16032]
5338         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
5339         without decrementing exponent if mantissa >= that for the
5340         denominator, not >.
5341         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
5342         denominator, not >.  Decrement exponent in < case instead of
5343         incrementing in >= case.
5344         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
5345         without decrementing exponent if mantissa >= that for the
5346         denominator, not >.
5347
5348         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
5349         computing saturated result for unsigned overflow.
5350
5351 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
5352             Jeff Law  <law@redhat.com>
5353
5354         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
5355         (atan2Mp): Add systemtap probe marker.
5356         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
5357         (__ieee754_log): Add systemtap probe marker.
5358         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
5359         (atanMp): Add systemtap probe marker.
5360         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
5361         (tanMp): Add systemtap probe marker.
5362         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
5363         (__slowexp): Add systemtap probe marker.
5364         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
5365         (__slowpow): Add systemtap probe marker.
5366         * manual/probes.texi: Document probes.
5367
5368 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
5369
5370         [BZ #15362]
5371         * libio/fileops.c (_IO_new_file_write): Return count of bytes
5372         written.
5373         (_IO_new_file_xsputn): Don't return EOF if nothing has been
5374         written.
5375         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
5376         written to buffer but not flushed.
5377         * libio/iofwrite_u.c:  Likewise.
5378         * libio/iopadn.c:  Return bytes returned even if EOF was
5379         encountered.
5380         * libio/iowpadn.c:  Likewise.
5381         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
5382         if _IO_padn does not write the whole buffer.
5383         [!COMPILE_WPRINTF] (PAD): Likewise.
5384
5385 2013-10-10  David S. Miller  <davem@davemloft.net>
5386
5387         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
5388         directory block.
5389
5390 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
5391
5392         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
5393         instead of FSF address.
5394         * soft-fp/fixdfti.c: Likewise.
5395         * soft-fp/fixsfti.c: Likewise.
5396         * soft-fp/fixtfti.c: Likewise.
5397         * soft-fp/fixunsdfti.c: Likewise.
5398         * soft-fp/fixunssfti.c: Likewise.
5399         * soft-fp/fixunstfti.c: Likewise.
5400         * soft-fp/floattidf.c: Likewise.
5401         * soft-fp/floattisf.c: Likewise.
5402         * soft-fp/floattitf.c: Likewise.
5403         * soft-fp/floatuntidf.c: Likewise.
5404         * soft-fp/floatuntisf.c: Likewise.
5405         * soft-fp/floatuntitf.c: Likewise.
5406         * soft-fp/trunctfxf2.c: Likewise.
5407
5408         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
5409         * soft-fp/fixdfti.c: Likewise.
5410         * soft-fp/fixsfti.c: Likewise.
5411         * soft-fp/fixtfti.c: Likewise.
5412         * soft-fp/fixunsdfti.c: Likewise.
5413         * soft-fp/fixunssfti.c: Likewise.
5414         * soft-fp/fixunstfti.c: Likewise.
5415         * soft-fp/floattidf.c: Likewise.
5416         * soft-fp/floattisf.c: Likewise.
5417         * soft-fp/floattitf.c: Likewise.
5418         * soft-fp/floatuntidf.c: Likewise.
5419         * soft-fp/floatuntisf.c: Likewise.
5420         * soft-fp/floatuntitf.c: Likewise.
5421         * soft-fp/trunctfxf2.c: Likewise.
5422
5423 2013-10-10  David S. Miller  <davem@davemloft.net>
5424
5425         * sysdeps/sparc/fpu/libm-test-ulps: Update.
5426
5427 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
5428
5429         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
5430         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
5431         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
5432         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
5433         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
5434         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
5435         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
5436
5437         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
5438         for NaNs before doing comparisons on argument.
5439         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
5440         Likewise.
5441
5442 2013-10-10  Will Newton  <will.newton@linaro.org>
5443
5444         * malloc/hooks.c (memalign_check): Ensure the value of bytes
5445         passed to _int_memalign does not overflow.
5446
5447 2013-10-10  Torvald Riegel  <triegel@redhat.com>
5448
5449         * scripts/bench.pl: Add include-sources directive.
5450         * benchtests/README: Update documentation.
5451
5452 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
5453
5454         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
5455         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
5456         instead of FP_INIT_ROUNDMODE.
5457         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
5458         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
5459
5460         [BZ #16034]
5461         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
5462         copy class of input value.
5463         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
5464         not handle exceptions.
5465         * soft-fp/negsf2.c (__negsf2): Likewise.
5466         * soft-fp/negtf2.c (__negtf2): Likewise.
5467         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
5468
5469 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
5470
5471         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
5472         semicolon.  From Linux kernel.
5473
5474 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
5475
5476         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
5477
5478 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
5479
5480         [BZ #156]
5481         * manual/socket.texi: Added statement about buffer
5482         for gethostbyname2_r.
5483
5484 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
5485
5486         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
5487         Use .p2align directive instead, throughout.
5488         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
5489         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
5490         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
5491         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
5492         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
5493         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
5494         * sysdeps/x86_64/strchr.S: Likewise.
5495         * sysdeps/x86_64/strrchr.S: Likewise.
5496
5497 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
5498
5499         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
5500
5501         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
5502
5503         * sysdeps/generic/math_private.h (__mpsin1): Remove
5504         declaration.
5505         (__mpcos1): Likewise.
5506         (__mpsin): New argument __range_reduce.
5507         (__mpcos): Likewise.
5508         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
5509         (slow): Use __mpsin and __mpcos.
5510         (slow1): Likewise.
5511         (slow2): Likewise.
5512         (sloww): Likewise.
5513         (sloww1): Likewise.
5514         (sloww2): Likewise.
5515         (bsloww): Likewise.
5516         (bsloww1): Likewise.
5517         (bsloww2): Likewise.
5518         (cslow2): Likewise.
5519         (csloww): Likewise.
5520         (csloww1): Likewise.
5521         (csloww2): Likewise.
5522         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
5523         range_reduce.  Merge in __mpsin1.
5524         (__mpcos): Likewise.
5525         (__mpsin1): Remove.
5526         (__mpcos1): Likewise.
5527
5528 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
5529
5530         * locale/loadlocale.c (_nl_intern_locale_data): Use
5531         LOCFILE_ALIGNED_P.
5532         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
5533         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
5534         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
5535         obstack data is appropriately aligned.
5536         (obstack_int32_grow_fast): Likewise.
5537         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
5538         * locale/programs/locfile.c (add_locale_uint32): Likewise.
5539         (add_locale_uint32_array): Likewise.
5540
5541 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
5542
5543         * benchtests/Makefile: Remove ARGLIST and RET variables.
5544         ($(objpfx)bench-%.c): Pass only function name to the script.
5545         * benchtests/README: Update documentation.
5546         * benchtests/acos-inputs: Add new directives.
5547         * benchtests/acosh-inputs: Likewise.
5548         * benchtests/asin-inputs: Likewise.
5549         * benchtests/asinh-inputs: Likewise.
5550         * benchtests/atan-inputs: Likewise.
5551         * benchtests/atanh-inputs: Likewise.
5552         * benchtests/cos-inputs: Likewise.
5553         * benchtests/cosh-inputs: Likewise.
5554         * benchtests/exp-inputs: Likewise.
5555         * benchtests/log-inputs: Likewise.
5556         * benchtests/pow-inputs: Likewise.
5557         * benchtests/rint-inputs: Likewise.
5558         * benchtests/sin-inputs: Likewise.
5559         * benchtests/sinh-inputs: Likewise.
5560         * benchtests/tan-inputs: Likewise.
5561         * benchtests/tanh-inputs: Likewise.
5562         * scripts/bench.pl: Add support for new directives.
5563
5564 2013-10-07  Alan Modra  <amodra@gmail.com>
5565
5566         * README: Fix careless merge.
5567
5568 2013-10-05  Alan Modra  <amodra@gmail.com>
5569
5570         * NEWS: Mention powerpc64le support and bugs fixed.
5571         * README: Both big-endian and little-endian powerpc64 supported.
5572
5573 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
5574
5575         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook,
5576         _hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
5577         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
5578         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
5579
5580 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
5581
5582         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
5583         match prototype.
5584
5585 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
5586
5587         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
5588         Move -mhard-float appending from
5589         ports/sysdeps/powerpc/powerpc32/Makefile.
5590         [$(with-fp) = yes] (ASFLAGS): Likewise.
5591         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
5592         * sysdeps/powerpc/nofpu: Move directory from
5593         ports/sysdeps/powerpc/nofpu.
5594         * sysdeps/powerpc/soft-fp: Move directory from
5595         ports/sysdeps/powerpc/soft-fp.
5596         * sysdeps/powerpc/powerpc32/405: Move directory from
5597         ports/sysdeps/powerpc/powerpc32/405.
5598         * sysdeps/powerpc/powerpc32/440: Move directory from
5599         ports/sysdeps/powerpc/powerpc32/440.
5600         * sysdeps/powerpc/powerpc32/464: Move directory from
5601         ports/sysdeps/powerpc/powerpc32/464.
5602         * sysdeps/powerpc/powerpc32/476: Move directory from
5603         ports/sysdeps/powerpc/powerpc32/476.
5604         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
5605         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
5606         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
5607         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
5608         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
5609         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
5610         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
5611         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
5612         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
5613         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
5614         * README: Update for powerpc-*-linux-gnu software floating point
5615         support in libc.
5616
5617         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
5618         case to powerpc/powerpc32*.
5619         * sysdeps/unix/sysv/linux/configure: Regenerated.
5620
5621         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
5622         (_FPU_MASK_OM): Define as 0x04.
5623         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
5624         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
5625         0x00c10080.
5626         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
5627         0x0000003c.
5628         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
5629
5630         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
5631         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
5632         getcontext_e500.
5633         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
5634         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
5635         setcontext_e500.
5636         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
5637         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
5638         and setcontext_e500.
5639
5640 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
5641
5642         * locale/iso-3166.def: Update iso-1366.def and related occurrences
5643
5644 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
5645
5646         * manual/threads.texi (Default Thread Attributes): Fix typo.
5647
5648 2013-10-04  Will Newton  <will.newton@linaro.org>
5649
5650         * malloc/Makefile: Add tst-memalign.
5651         * malloc/tst-memalign.c: New file.
5652
5653         * malloc/tst-posix_memalign.c: Add comments.
5654         (do_test): Add comments and call free on all potentially
5655         allocated pointers. Add space after cast.
5656
5657         * malloc/tst-pvalloc.c: Add comments.
5658         (do_test): Add comments and call free on all potentially
5659         allocated pointers. Remove duplicate check for NULL pointer.
5660         Add space after cast.
5661
5662         * malloc/tst-valloc.c: Add comments.
5663         (do_test): Add comments and call free on all potentially
5664         allocated pointers. Remove duplicate check for NULL pointer.
5665         Add space after cast.
5666
5667 2013-10-04  Alan Modra  <amodra@gmail.com>
5668
5669         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
5670         Use stdint types in rather than __attribute__((mode())).
5671         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
5672
5673 2013-10-04  Alan Modra  <amodra@gmail.com>
5674
5675         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
5676         Correct handling of unaligned relocs for little-endian.
5677         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
5678
5679 2013-10-04  Alan Modra  <amodra@gmail.com>
5680
5681         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
5682         * configure: Regenerate.
5683         * nptl/shlib-versions: Powerpc*le starts at 2.18.
5684         * shlib-versions: Likewise.
5685
5686 2013-10-04  Alan Modra  <amodra@gmail.com>
5687
5688         * string/tester.c (test_memrchr): Increment reported test cycle.
5689
5690 2013-10-04  Alan Modra  <amodra@gmail.com>
5691
5692         * string/test-memcpy.c (do_one_test): When reporting errors, print
5693         string address and don't overrun end of string.
5694
5695 2013-10-04  Alan Modra  <amodra@gmail.com>
5696
5697         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
5698         insrdi.  Make better use of reg selection to speed exit slightly.
5699         Schedule entry path a little better.  Remove useless "are we done"
5700         checks on entry to main loop.  Handle wrapping around zero address.
5701         Correct main loop count.  Handle single left-over word from main
5702         loop inline rather than by using loop_small.  Remove extra word
5703         case in loop_small caused by wrong loop count.  Add little-endian
5704         support.
5705         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
5706         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
5707         cache hint.
5708         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
5709         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
5710         support.  Avoid rlwimi.
5711         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
5712
5713 2013-10-04  Alan Modra  <amodra@gmail.com>
5714
5715         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
5716         insrdi.  Formatting.
5717         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
5718         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
5719         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
5720         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
5721         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
5722         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
5723
5724 2013-10-04  Alan Modra  <amodra@gmail.com>
5725
5726         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
5727         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
5728         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
5729         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
5730         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
5731         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
5732         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
5733         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
5734         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
5735         use of regs.  Use power7 mtocrf.  Tidy function tails.
5736
5737 2013-10-04  Alan Modra  <amodra@gmail.com>
5738
5739         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
5740         Formatting.  Consistently use rXXX register defines or rN defines.
5741         Use early exit labels that avoid restoring unused non-volatile regs.
5742         Make cr field use more consistent with rWORDn compares.  Rename
5743         regs used as shift registers for unaligned loop, using rN defines
5744         for short lifetime/multiple use regs.
5745         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
5746         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
5747         addi 1,1,64 to pop stack frame.  Simplify return value code.
5748         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
5749
5750 2013-10-04  Alan Modra  <amodra@gmail.com>
5751
5752         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
5753         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
5754         rather than rlwimi.
5755         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
5756         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
5757         little-endian support.  Correct typos.
5758         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
5759         rather than rlwimi.
5760         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
5761         in loop and entry code to keep "and." results.
5762         (strchr): Add little-endian support.  Comment.  Move cntlzd
5763         earlier in tail.
5764         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
5765
5766 2013-10-04  Alan Modra  <amodra@gmail.com>
5767
5768         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
5769         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
5770         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
5771         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
5772
5773 2013-10-04  Alan Modra  <amodra@gmail.com>
5774
5775         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
5776         (rTMP): Define as r11.
5777         (strcmp): Add little-endian support.  Optimise tail.
5778         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
5779         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
5780         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
5781         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
5782         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
5783         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
5784         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
5785
5786 2013-10-04  Alan Modra  <amodra@gmail.com>
5787
5788         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
5789         little-endian support.  Remove unnecessary "are we done" tests.
5790         Handle "s" wrapping around zero and extremely large "size".
5791         Correct main loop count.  Handle single left-over word from main
5792         loop inline rather than by using small_loop.  Correct comments.
5793         Delete "zero" tail, use "end_max" instead.
5794         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
5795
5796 2013-10-04  Alan Modra  <amodra@gmail.com>
5797
5798         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
5799         support.  Don't branch over align.
5800         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
5801         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
5802         support.  Rearrange tmp reg use to suit.  Comment.
5803         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
5804
5805 2013-10-04  Alan Modra  <amodra@gmail.com>
5806
5807         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
5808
5809 2013-10-04  Alan Modra  <amodra@gmail.com>
5810
5811         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
5812         conditional form of branch and link when obtaining pc.
5813         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
5814
5815 2013-10-04  Alan Modra  <amodra@gmail.com>
5816
5817         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
5818         HIWORD/LOWORD.
5819         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
5820         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
5821
5822 2013-10-04  Alan Modra  <amodra@gmail.com>
5823
5824         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
5825         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
5826         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
5827         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
5828         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
5829         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
5830         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
5831         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
5832         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
5833         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
5834
5835 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
5836             Alistair Popple <alistair@ozlabs.au.ibm.com>
5837             Alan Modra <amodra@gmail.com>
5838
5839         [BZ #15723]
5840         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
5841         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
5842         _dl_hwcap access for little-endian.
5843         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
5844         destroy vmx regs when saving unaligned.
5845         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
5846         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
5847         destroy vmx regs when saving unaligned.
5848
5849 2013-10-04  Alan Modra  <amodra@gmail.com>
5850
5851         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
5852         Don't use a union to pack hi/low value.
5853
5854 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
5855
5856         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
5857         for little-endian.
5858         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
5859         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
5860         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
5861         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
5862         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
5863
5864 2013-10-04  Alan Modra  <amodra@gmail.com>
5865
5866         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
5867         constants to usual value for .cst8 section, and remove redundant
5868         high address load.
5869         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
5870         constant for 0x1p52.  Load little-endian words of double from
5871         correct stack offsets.
5872
5873 2013-10-04  Alan Modra  <amodra@gmail.com>
5874
5875         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
5876         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
5877         words of double from correct stack offsets.
5878         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
5879         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
5880         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
5881         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
5882         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
5883         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
5884         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
5885         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
5886         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
5887         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
5888         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
5889         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
5890         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
5891         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
5892         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
5893         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
5894         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
5895
5896 2013-10-04  Alan Modra  <amodra@gmail.com>
5897
5898         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
5899         64-bit int/double union.
5900         (_FPU_SETCW): Likewise.
5901         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
5902         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
5903
5904 2013-10-04  Alan Modra  <amodra@gmail.com>
5905
5906         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
5907         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
5908
5909 2013-10-04  Alan Modra  <amodra@gmail.com>
5910
5911         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
5912         use vector int constants.
5913         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
5914
5915 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
5916
5917         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
5918         array with long long.
5919         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
5920         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
5921         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
5922         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
5923         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
5924         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
5925         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
5926         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
5927         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
5928         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
5929         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
5930         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
5931         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
5932
5933 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
5934
5935         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
5936         (__signbit): Likewise.  Correct for little-endian.
5937         (__signbitl): Call __signbit.
5938         (lrint): Correct for little-endian.
5939         (lrintf): Call lrint.
5940
5941 2013-10-04  Alan Modra  <amodra@gmail.com>
5942
5943         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
5944         union 32-bit int array member with 64-bit int array.
5945         (t515, tm256): Double rather than long double.
5946         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
5947
5948 2013-10-04  Alan Modra  <amodra@gmail.com>
5949
5950         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
5951         Delete.
5952         (IEEE854_LONG_DOUBLE_BIAS): Delete.
5953         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
5954         version of math_ldbl.h.
5955
5956 2013-10-04  Alan Modra  <amodra@gmail.com>
5957
5958         [BZ #15734], [BZ #15735]
5959         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
5960         all uses of ieee875 long double macros and unions.  Simplify test
5961         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
5962         ldbl_extract_mantissa value for ix,iy exponents.  Properly
5963         normalize after ldbl_extract_mantissa, and don't add hidden bit
5964         already handled.  Don't treat low word of ieee854 mantissa like
5965         low word of IBM long double and mask off bit when testing for
5966         zero.
5967         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
5968         all uses of ieee875 long double macros and unions.  Simplify tests
5969         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
5970         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
5971         two1022, instead use their values.  Recognise that tests for large
5972         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
5973         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
5974         Rewrite all uses of ieee875 long double macros and unions.  Simplify
5975         test for 0.0L and nan.  Correct negation.
5976         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
5977         ieee875 long double macros and unions.  Correct output for large
5978         magnitude x.  Correct absolute value calculation.
5979         (__erfcl): Likewise.
5980         * math/libm-test.inc: Add tests for errors discovered in IBM long
5981         double versions of fmodl, remainderl, erfl and erfcl.
5982
5983 2013-10-04  Alan Modra  <amodra@gmail.com>
5984
5985         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
5986         all uses of ieee854 long double macros and unions.  Simplify tests
5987         for long doubles that are fully specified by the high double.
5988         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
5989         Likewise.
5990         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
5991         Remove dead code too.
5992         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
5993         (__ieee754_ynl): Likewise.
5994         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
5995         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
5996         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
5997         Remove dead code too.
5998         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
5999         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
6000         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
6001         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
6002         Simplify.
6003         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
6004         Simplify.
6005         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
6006         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
6007         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
6008         Comment on variable precision.
6009         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
6010         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
6011         Likewise.
6012         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
6013         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
6014         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
6015         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
6016         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
6017
6018 2013-10-04  Alan Modra  <amodra@gmail.com>
6019
6020         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
6021         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
6022         all uses of ieee854 long double macros and unions.
6023         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
6024         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
6025         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
6026         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
6027         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
6028         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
6029         Likewise.
6030         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
6031         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
6032         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
6033         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
6034         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
6035         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
6036         Simplify sign and nan test too.
6037         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
6038         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
6039         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
6040         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
6041         Likewise.
6042         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
6043         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
6044         Likewise.
6045         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
6046         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
6047         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
6048         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
6049         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
6050         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
6051
6052 2013-10-04  Alan Modra  <amodra@gmail.com>
6053
6054         * stdio-common/printf_size.c (__printf_size): Don't use
6055         union ieee854_long_double in fpnum union.
6056         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
6057         signbit macro to retrieve sign from long double.
6058         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
6059         retrieve sign from long double.
6060         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
6061         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
6062         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
6063         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
6064         * math/test-misc.c (main): Don't use union ieee854_long_double.
6065
6066 2013-10-04  Alan Modra  <amodra@gmail.com>
6067
6068         [BZ #15680]
6069         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
6070         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
6071         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
6072         calculation.  Remove unnecessary test for denormal exponent.
6073         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
6074         Correct handling of denormals.  Avoid undefined shift behaviour.
6075         Correct normalisation of low mantissa when low double is denormal.
6076         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
6077         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
6078         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
6079         Correct normalisation of low mantissa.  Test for overflow of high
6080         mantissa and normalise.
6081         (ldbl_nearbyint): Use more readable constant for two52.
6082         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
6083         (__mpn_construct_long_double): Fix test for overflow of high
6084         mantissa and correct normalisation.  Avoid undefined shift.
6085
6086 2013-10-04  Alan Modra  <amodra@gmail.com>
6087
6088         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
6089         (union ibm_extended_long_double): Define as an array of ieee754_double.
6090         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
6091         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
6092         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
6093         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
6094         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
6095         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
6096         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
6097         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
6098         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
6099         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
6100         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
6101
6102 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
6103
6104         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
6105         page size instead of calling getpagesize.
6106
6107         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
6108         (LOCFILE_ALIGN_MASK): Likewise.
6109         (LOCFILE_ALIGN_UP): Likewise.
6110         (LOCFILE_ALIGNED_P): Likewise.
6111         * locale/programs/ld-collate.c (collate_output): Use the new
6112         macros instead of __alignof__ (int32_t).
6113         * locale/weight.h (findidx): Likewise.
6114
6115 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
6116
6117         [BZ #431]
6118         * manual/string.texi: Fix strncat and wcsncat.
6119
6120 2013-10-03  Brooks Moses  <bmoses@google.com>
6121
6122         [BZ #15915]
6123         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
6124         * Makerules: ...here, and adjust associated comments.
6125
6126 2013-10-02  Will Newton  <will.newton@linaro.org>
6127
6128         * malloc/Makefile: Add tst-pvalloc.
6129         * malloc/tst-pvalloc.c: New file.
6130
6131 2013-10-02  Will Newton  <will.newton@linaro.org>
6132
6133         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
6134         improve test coverage.
6135
6136 2013-10-02  Will Newton  <will.newton@linaro.org>
6137
6138         * malloc/Makefile: Add tst-posix_memalign.
6139         * malloc/tst-posix_memalign.c: New file.
6140
6141 2013-10-01  Eric Blake  <eblake@redhat.com>
6142
6143         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
6144         Use __THROWNL rather than __THROW on static functions.
6145
6146 2013-09-30  Petr Machata  <pmachata@redhat.com>
6147
6148         * elf/elf.h (R_AARCH64_ABS16): New macro.
6149         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
6150         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
6151         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
6152         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
6153         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
6154         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
6155         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
6156         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
6157         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
6158         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
6159         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
6160         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
6161         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
6162         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
6163         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
6164         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
6165         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
6166         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
6167         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
6168         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
6169         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
6170         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
6171         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
6172         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
6173         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
6174         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
6175         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
6176         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
6177         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
6178         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
6179         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
6180         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
6181         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
6182         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
6183         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
6184         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
6185         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
6186         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
6187         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
6188         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
6189         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
6190         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
6191         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
6192         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
6193         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
6194         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
6195         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
6196         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
6197         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
6198         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
6199         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
6200         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
6201         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
6202         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
6203         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
6204         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
6205         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
6206         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
6207         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
6208         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
6209         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
6210         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
6211         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
6212         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
6213         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
6214         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
6215         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
6216         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
6217         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
6218         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
6219         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
6220         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
6221         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
6222         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
6223         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
6224         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
6225         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
6226         (R_AARCH64_TLSDESC_LDR): Likewise.
6227         (R_AARCH64_TLSDESC_ADD): Likewise.
6228         (R_AARCH64_TLSDESC_CALL): Likewise.
6229
6230 2013-09-30  Andreas Schwab  <schwab@suse.de>
6231
6232         [BZ #15048]
6233         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
6234         the nss database lookup.
6235         * nscd/initgrcache.c (addinitgroupsX): Likewise.
6236         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
6237
6238 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
6239
6240         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
6241
6242 2013-09-28  P. J. McDermott  <pj@pehjota.net>
6243
6244         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
6245         ${Bash-specific parameter/pattern/string} parameter expansion.
6246         * sysdeps/unix/make-syscalls.sh: Likewise.
6247
6248 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
6249
6250         * sysdeps/sh/stackguard-macros.h: New file.
6251
6252 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
6253
6254         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
6255         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
6256         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
6257         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
6258         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
6259         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
6260
6261 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6262
6263         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
6264         Fix thread ID register.
6265
6266 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
6267
6268         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
6269         [POSIX || UNIX98]: Require rather than permitting all symbols from
6270         <time.h>.
6271         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
6272         element of struct sched_param.
6273         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
6274         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
6275         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
6276         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
6277         constant.
6278
6279 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
6280
6281         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
6282         argument calculation.
6283
6284 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
6285
6286         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
6287         Expect macro.
6288         [POSIX] (pthread_attr_t): Do not require type.
6289         [POSIX] (pthread_cond_t): Likewise.
6290         [POSIX] (pthread_condattr_t): Likewise.
6291         [POSIX] (pthread_key_t): Likewise.
6292         [POSIX] (pthread_mutex_t): Likewise.
6293         [POSIX] (pthread_mutexattr_t): Likewise.
6294         [POSIX] (pthread_once_t): Likewise.
6295         [POSIX] (pthread_t): Likewise.
6296         [POSIX-based standards] (pthread_atfork): Expect function.
6297
6298 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
6299             Richard Sandiford  <richard@codesourcery.com>
6300
6301         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
6302         (swap_endianness_p): New extern variable.
6303         (set_big_endian): New inline function.
6304         (maybe_swap_uint32): Likewise.
6305         (maybe_swap_uint32_array): Likewise.
6306         (maybe_swap_uint32_obstack): Likewise.
6307         * locale/programs/locfile.c: Include <stdbool.h>.
6308         (swap_endianness_p): New variable.
6309         (add_locale_uint32): Call maybe_swap_uint32.
6310         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
6311         (write_locale_data): Call maybe_swap_uint32_array.
6312         * locale/programs/ld-collate.c (obstack_int32_grow): Call
6313         maybe_swap_uint32.
6314         (obstack_int32_grow_fast): Likewise.
6315         (output_weightwc): Call maybe_swap_uint32_obstack.
6316         (collate_output): Likewise.
6317         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
6318         (OPT_LITTLE_ENDIAN): Likewise.
6319         (options): Add --little-endian and --big-endian options.
6320         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
6321         * locale/programs/locarchive.c: Include "locfile.h".
6322         (GET): New macro.
6323         (SET): Likewise.
6324         (INC): Likewise.
6325         (create_archive): Use the new macros to access fields of
6326         structures directly mapped from or written to locale archives.
6327         (oldlocrecentcmp): Likewise.
6328         (enlarge_archive): Likewise.
6329         (insert_name): Likewise.
6330         (add_alias): Likewise.
6331         (add_locale): Likewise.
6332         (delete_locales_from_archive): Likewise.
6333         (show_archive_content): Likewise.
6334         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
6335         locale data.
6336
6337 2013-09-24  Roland McGrath  <roland@hack.frob.com>
6338
6339         * manual/freemanuals.texi: Updated from (newly) canonical copy at
6340         http://www.gnu.org/doc/freemanuals.texi.
6341         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
6342
6343 2013-09-24  Will Newton  <will.newton@linaro.org>
6344
6345         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
6346         macro.
6347
6348 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
6349
6350         * locale/hashval.h (compute_hashval): Interpret bytes of key as
6351         unsigned char.
6352
6353 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
6354
6355         * manual/threads.texi (POSIX Threads): Fix a typo.
6356
6357 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
6358
6359         [BZ #14547]
6360         * string/tst-strcoll-overflow.c: New test case.
6361         * string/Makefile (xtests): Add tst-strcoll-overflow.
6362         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
6363         cache if string sizes may cause integer overflow.
6364
6365         [BZ #14547]
6366         * string/strcoll_l.c (coll_seq): New members rule, idx,
6367         save_idx and back_us.
6368         (get_next_seq_nocache): New function.
6369         (do_compare_nocache): New function.
6370         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
6371         when malloc fails.
6372
6373 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
6374
6375         [BZ #15754]
6376         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
6377         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
6378         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
6379
6380         [BZ #15754]
6381         * elf/Makefile (tests): Add tst-ptrguard1.
6382         (tests-static): Add tst-ptrguard1-static.
6383         (tst-ptrguard1-ARGS): Define.
6384         (tst-ptrguard1-static-ARGS): Define.
6385         * elf/tst-ptrguard1.c: New file.
6386         * elf/tst-ptrguard1-static.c: New file.
6387         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
6388         * sysdeps/i386/stackguard-macros.h: Likewise.
6389         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
6390         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
6391         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
6392         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
6393         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
6394         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
6395
6396 2013-09-23  Hector Marco  <hecmargi@upv.es>
6397             Ismael Ripoll  <iripoll@disca.upv.es>
6398             Carlos O'Donell  <carlos@redhat.com>
6399
6400         [BZ #15754]
6401         * sysdeps/generic/stackguard-macros.h: Define
6402         __pointer_chk_guard_local and POINTER_CHK_GUARD.
6403         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
6404         Define __pointer_chk_guard_local.
6405         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
6406         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
6407
6408 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
6409
6410         [BZ #15859]
6411         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
6412
6413 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
6414
6415         * include/string.h (__ffs): Declare as hidden.
6416         * string/ffs.c (__ffs): Define as hidden.
6417         * sysdeps/i386/ffs.c (__ffs): Likewise.
6418         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
6419         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
6420         * sysdeps/s390/ffs.c (__ffs): Likewise.
6421         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
6422
6423 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
6424
6425         * NEWS: Mention malloc probes.
6426
6427         * malloc/arena.c (new_heap): New memory_heap_new probe.
6428         (grow_heap): New memory_heap_more probe.
6429         (shrink_heap): New memory_heap_less probe.
6430         (heap_trim): New memory_heap_free probe.
6431         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
6432         (systrim): New memory_sbrk_less probe.
6433         * manual/probes.texi: Document them.
6434
6435         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
6436         * manual/probes.texi: Document it.
6437
6438         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
6439         (__libc_realloc): Add memory_realloc_retry probe.
6440         (__libc_memalign): Add memory_memalign_retry probe.
6441         (__libc_valloc): Add memory_valloc_retry probe.
6442         (__libc_pvalloc): Add memory_pvalloc_retry probe.
6443         (__libc_calloc): Add memory_calloc_retry probe.
6444         * manual/probes.texi: Document them.
6445
6446         * malloc/arena.c (get_free_list): Add probe
6447         memory_arena_reuse_free_list.
6448         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
6449         and memory_arena_reuse.
6450         (arena_get2) [!PER_THREAD]: Likewise.
6451         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
6452         memory_arena_reuse_realloc.
6453         * manual/probes.texi: Document them.
6454
6455         * malloc/malloc.c (__libc_free): Add
6456         memory_mallopt_free_dyn_thresholds probe.
6457         (__libc_mallopt): Add multiple memory_mallopt probes.
6458         * manual/probes.texi: Document them.
6459
6460         * malloc/malloc.c: Include stap-probe.h.
6461         (__libc_mallopt): Add memory_mallopt probe.
6462         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
6463         * manual/probes.texi: New.
6464         * manual/Makefile (chapters): Add probes.
6465         * manual/threads.texi: Set next node.
6466
6467 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
6468
6469         [BZ #15963, #13985]
6470         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
6471         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
6472         Add `Chinese' to `nan' entry name.
6473
6474 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
6475
6476         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
6477         (POLYNOMIAL): Likewise.
6478         (TAYLOR_SINCOS): Likewise.
6479         (TAYLOR_SLOW): Likewise.
6480         (__sin): Use TAYLOR_SINCOS.
6481         (__cos): Likewise.
6482         (slow): Use TAYLOR_SLOW.
6483         (sloww): Likewise.
6484         (bsloww): Likewise.
6485         (csloww): Likewise.
6486
6487 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
6488
6489         * stdlib/strtod_l.c: Fix buffer overrun.
6490
6491 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
6492
6493         * benchtests/Makefile (bench): Add sincos.
6494         * benchtests/bench-sincos.c: New file.
6495
6496         * math/libm-test.inc (cos_test_data): New test inputs.
6497         (sin_test_data): Likewise.
6498
6499         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
6500         macro.
6501         (__sin): Use it.
6502         (__cos): Likewise.
6503         (slow1): Likewise.
6504         (slow2): Likewise.
6505         (sloww1): Likewise.
6506         (sloww2): Likewise.
6507         (bsloww1): Likewise.
6508         (bsloww2): Likewise.
6509         (cslow2): Likewise.
6510         (csloww1): Likewise.
6511         (csloww2): Likewise.
6512
6513         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
6514         function.
6515         (__sin): Use it.
6516         (__cos): Likewise.
6517
6518         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
6519         gotos.
6520         (__cos): Likewise.
6521
6522 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
6523
6524         * config.h.in (HAVE_MIPS_NAN2008): New macro.
6525         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
6526         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
6527         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
6528         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
6529         * elf/cache.c (print_entry): Handle the new cache flags.
6530
6531 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
6532             Aldy Hernandez  <aldyh@redhat.com>
6533
6534         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
6535         Change condition to [_SOFT_FLOAT].
6536         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
6537         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
6538         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
6539         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
6540         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
6541         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
6542         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
6543         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
6544         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
6545         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
6546         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
6547         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
6548         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
6549         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
6550         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
6551         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
6552         declaration.
6553
6554 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
6555
6556         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
6557         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
6558         (__longjmp): Use LOAD_GP to load saved GPRs.
6559         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
6560         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
6561         (__sigsetjmp): Use SAVE_GP to save GPRs.
6562
6563         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
6564         Do not append -msoft-float.
6565         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
6566
6567 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
6568
6569         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
6570
6571 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
6572
6573         [BZ #15966]
6574         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
6575         (_FPU_GETCW): Use initial "__" on variable and field names but not
6576         on macro parameter name.
6577         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
6578         parentheses around reference to macro parameter.
6579
6580 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
6581
6582         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
6583         prototype.
6584         (ctype_startup): Use uint32_t in cast and sizeof for
6585         ctype->charnames.
6586
6587 2013-09-11  Jia Liu  <proljc@gmail.com>
6588
6589         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
6590         __daddr_t_defined.
6591         [__FreeBSD__]: Likewise.
6592
6593 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
6594
6595         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
6596         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
6597         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
6598         (strchr): Remove __strchr_sse42 ifunc selection.
6599         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
6600         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
6601
6602 2013-09-11  Will Newton  <will.newton@linaro.org>
6603
6604         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
6605         parameter to RES. Remove hardcoded 1000 value.
6606         * benchtests/bench-skeleton.c (main): Pass RES parameter
6607         to TIMING_INIT and multiply result by 1000.
6608
6609 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6610
6611         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6612
6613 2013-09-11  Andreas Schwab  <schwab@suse.de>
6614
6615         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
6616         if not defined.
6617         (O_TMPFILE) [__USE_GNU]: Define.
6618         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
6619         Define.
6620
6621 2013-09-11  Will Newton  <will.newton@linaro.org>
6622
6623         [BZ #15857]
6624         * malloc/malloc.c (__libc_memalign): Check the value of bytes
6625         does not overflow.
6626
6627 2013-09-11  Will Newton  <will.newton@linaro.org>
6628
6629         [BZ #15856]
6630         * malloc/malloc.c (__libc_valloc): Check the value of bytes
6631         does not overflow.
6632
6633 2013-09-11  Will Newton  <will.newton@linaro.org>
6634
6635         [BZ #15855]
6636         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
6637         does not overflow.
6638
6639 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
6640
6641         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
6642         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
6643         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
6644         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
6645         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
6646
6647 2013-09-10  Allan McRae  <allan@archlinux.org>
6648
6649         [BZ #15748]
6650         * manual/arith.texi (Parsing of Floats): Clarify
6651         cross-reference.
6652
6653         [BZ #15849]
6654         * manual/install.texi (Running make install): Mention
6655         --enable-pt-chown.
6656         * INSTALL: Regenerated.
6657
6658 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
6659
6660         * csu/init-first.c (_init): Remove the !SHARED condition around
6661         FPU control word initialization.
6662         * elf/dl-support.c (_dl_fpu_control): New variable.
6663         (_dl_aux_init) <AT_FPUCW>: Initialize it.
6664         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
6665         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
6666         * math/test-fpucw-static.c: New file.
6667         * math/test-fpucw-ieee.c: New file.
6668         * math/test-fpucw-ieee-static.c: New file.
6669         * math/Makefile (tests): Add `test-fpucw-ieee' and
6670         `$(tests-static)'.
6671         (tests-static): New variable.
6672         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
6673         dependency to...
6674         [($(build-shared),yes)]
6675         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
6676         ... this.
6677         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
6678         New dependency.
6679
6680 2013-09-09  Allan McRae  <allan@archlinux.org>
6681
6682         [BZ #15939]
6683         * manual/string.texi (Collation Functions): Fix typo in
6684         strcoll example.
6685         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
6686
6687         [BZ #15893]
6688         * stdlib/isomac.c (get_null_defines): Fix memory leak.
6689
6690         [BZ #15892]
6691         * libio/memstream.c (open_memstream): Fix memory leak.
6692         * libio/wmemstream.c (open_wmemstream): Likewise.
6693
6694         [BZ #15895]
6695         * nscd/netgroupcache.c: Fix nesting of ifdefs.
6696
6697 2013-09-09  Will Newton  <will.newton@linaro.org>
6698
6699         * malloc/Makefile: Add tst-realloc to tests.
6700         * malloc/tst-realloc.c: New file.
6701
6702 2013-09-09  Allan McRae  <allan@archlinux.org>
6703
6704         [BZ #15844]
6705         * COPYING: Update from GNU website to fix FSF address.
6706         * COPYING.LIB: Likewise.
6707
6708 2013-09-06  David S. Miller  <davem@davemloft.net>
6709
6710         * po/zh_TW.po: Update Chinese (traditional) translation from
6711         translation project.
6712
6713 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
6714             Joseph Myers  <joseph@codesourcery.com>
6715
6716         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
6717         "localeinfo.h".
6718         (obstack_chunk_alloc): New macro.
6719         (obstack_chunk_free): Likewise.
6720         (record_offset): New function.
6721         (init_locale_data): Likewise.
6722         (align_locale_data): Likewise.
6723         (add_locale_empty): Likewise.
6724         (add_locale_raw_data): Likewise.
6725         (add_locale_raw_obstack): Likewise.
6726         (add_locale_string): Likewise.
6727         (add_locale_wstring): Likewise.
6728         (add_locale_uint32): Likewise.
6729         (add_locale_uint32_array): Likewise.
6730         (add_locale_char): Likewise.
6731         (start_locale_structure): Likewise.
6732         (end_locale_structure): Likewise.
6733         (start_locale_prelude): Likewise.
6734         (end_locale_prelude): Likewise.
6735         (write_locale_data): Take locale_file structure rather than an
6736         iovec.
6737         * locale/programs/locfile.h: Include "obstack.h".
6738         (struct locale_file): Change to store locale file contents instead
6739         of header.
6740         (init_locale_data): New prototype.
6741         (align_locale_data): Likewise.
6742         (add_locale_empty): Likewise.
6743         (add_locale_raw_data): Likewise.
6744         (add_locale_raw_obstack): Likewise.
6745         (add_locale_string): Likewise.
6746         (add_locale_wstring): Likewise.
6747         (add_locale_uint32): Likewise.
6748         (add_locale_uint32_array): Likewise.
6749         (add_locale_char): Likewise.
6750         (start_locale_structure): Likewise.
6751         (end_locale_structure): Likewise.
6752         (start_locale_prelude): Likewise.
6753         (end_locale_prelude): Likewise.
6754         (write_locale_data): Update prototype.
6755         * locale/programs/3level.h (struct TABLE): Remove result field.
6756         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
6757         Use new locale_file interface.
6758         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
6759         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
6760         * locale/programs/ld-address.c (address_output): Use new
6761         locale_file interface.
6762         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
6763         NO_ADD_LOCALE.
6764         (collate_finish): Don't call collseq_table_finalize.
6765         (collate_output): Use new locale_file interface.
6766         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
6767         in file.
6768         (NO_FINALIZE): Change to NO_ADD_LOCALE.
6769         (TABLE): Move defines earlier in file.
6770         (ELEMENT): Likewise.
6771         (DEFAULT): Likewise.
6772         (wctrans_table_add): Move macro and inline function earlier in
6773         file.
6774         (struct wctype_table): Move type earlier in file.
6775         (add_locale_wctype_table): New static prototype.
6776         (struct locale_ctype_t): Use logical types instead of struct iovec
6777         pointers for members.
6778         (ctype_output): Use new locale_file interface.
6779         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
6780         new locale_file interface.
6781         (allocate_arrays): Update for use of new locale_file interface.
6782         * locale/programs/ld-identification.c (identification_output): Use
6783         new locale_file interface.
6784         * locale/programs/ld-measurement.c (measurement_output): Likewise.
6785         * locale/programs/ld-messages.c (messages_output): Likewise.
6786         * locale/programs/ld-monetary.c (monetary_output): Likewise.
6787         * locale/programs/ld-name.c (name_output): Likewise.
6788         * locale/programs/ld-numeric.c (numeric_output): Likewise.
6789         * locale/programs/ld-paper.c (paper_output): Likewise.
6790         * locale/programs/ld-telephone.c (telephone_output): Likewise.
6791         * locale/programs/ld-time.c (time_output): Likewise.
6792
6793 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6794
6795         * benchtests/Makefile: Add memrchr benchmark.
6796         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
6797         benchmark as memrchr.
6798         * benchtests/bench-memrchr-ifunc.c: New file.
6799         * benchtests/bench-memrchr.c: New file.
6800
6801 2013-09-06   Will Newton  <will.newton@linaro.org>
6802
6803         * benchtests/Makefile (string-bench): Add memcpy.
6804
6805 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
6806             Cong Wang  <amwang@redhat.com>
6807
6808         [BZ #15850]
6809         * sysdeps/unix/sysv/linux/bits/in.h
6810         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
6811         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
6812         before __USE_KERNEL_IPV6_DEFS uses.
6813         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
6814         IPPROTO_BEETPH.
6815         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
6816         sockaddr_in6, or ipv6_mreq.
6817
6818 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6819
6820         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
6821         memory access for final bytes in some large inputs.
6822         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
6823
6824 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6825
6826         * string/test-memrchr.c: New file.
6827         * string/test-memrchr-ifunc.c: New file.
6828         * string/Makefile: Add new memrchr testcase.
6829
6830 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
6831
6832         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
6833         fanotify_init returns EPERM.
6834
6835 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
6836
6837         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
6838         errors.
6839         (top level): Treat second token from macro or constant entries for
6840         allowed headers as allowed.
6841         * include/complex.h: Condition internal declarations on
6842         [!_ISOMAC].
6843         * include/fenv.h: Condition include of <stdbool.h> and internal
6844         declarations on [!_ISOMAC].
6845
6846 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
6847
6848         [BZ #15923]
6849         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
6850
6851 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
6852
6853         * configure.in (--enable-versioning): Remove configure option.
6854         (libc_cv_asm_symver_directive): Remove configure test.
6855         (libc_cv_ld_version_script_option): Likewise.
6856         (VERSIONING): Remove variable and AC_SUBST.
6857         (DO_VERSIONING): Remove AC_DEFINE.
6858         * configure: Regenerated.
6859         * config.h.in (DO_VERSIONING): Remove macro.
6860         * Makerules [$(versioning) = yes]: Change conditionals to
6861         [$(build-shared) = yes].
6862         * config.make.in (versioning): Remove variable.
6863         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
6864         [$(build-shared) = yes].
6865         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
6866         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
6867         * elf/Makefile [$(versioning) = yes]: Change conditionals to
6868         [$(build-shared) = yes].
6869         * extra-lib.mk [$(versioning) = yes]: Likewise.
6870         * hurd/Makefile [$(versioning) = yes]: Likewise.
6871         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
6872         [SHARED].
6873         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
6874         [SHARED].
6875         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
6876         [SHARED && !NO_HIDDEN].
6877         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
6878         [SHARED].
6879         [SHARED && DO_VERSIONING]: Likewise..
6880         * libio/Makefile [$(versioning) = yes]: Change conditionals to
6881         [$(build-shared) = yes].
6882         * manual/install.texi (--disable-versioning): Remove
6883         documentation.
6884         * INSTALL: Regenerated.
6885         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
6886         to [SHARED].
6887         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
6888         [$(build-shared) = yes].
6889         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
6890         * sysdeps/i386/i686/multiarch/strstr-c.c
6891         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
6892         [SHARED && !NO_HIDDEN].
6893         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
6894         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
6895         * sysdeps/powerpc/powerpc32/dl-machine.c
6896         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
6897         * sysdeps/powerpc/powerpc32/sysdep.h
6898         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
6899         to [SHARED && PIC && !NO_HIDDEN].
6900         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
6901         conditional to [SHARED].
6902
6903 2013-09-04   Will Newton  <will.newton@linaro.org>
6904
6905         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
6906         * benchtests/bench-string.h: Include bench-timing.h instead
6907         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
6908         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
6909         call to HP_TIMING_DIFF_INIT.
6910         * benchtests/bench-memccpy.c: Use bench-timing.h macros
6911         instead of hp-timing.h macros.
6912         * benchtests/bench-memchr.c: Likewise.
6913         * benchtests/bench-memcmp.c: Likewise.
6914         * benchtests/bench-memcpy.c: Likewise.
6915         * benchtests/bench-memmem.c: Likewise.
6916         * benchtests/bench-memmove.c: Likewise.
6917         * benchtests/bench-memset.c: Likewise.
6918         * benchtests/bench-rawmemchr.c: Likewise.
6919         * benchtests/bench-strcasecmp.c: Likewise.
6920         * benchtests/bench-strcasestr.c: Likewise.
6921         * benchtests/bench-strcat.c: Likewise.
6922         * benchtests/bench-strchr.c: Likewise.
6923         * benchtests/bench-strcmp.c: Likewise.
6924         * benchtests/bench-strcpy.c: Likewise.
6925         * benchtests/bench-strcpy_chk.c: Likewise.
6926         * benchtests/bench-strlen.c: Likewise.
6927         * benchtests/bench-strncasecmp.c: Likewise.
6928         * benchtests/bench-strncat.c: Likewise.
6929         * benchtests/bench-strncmp.c: Likewise.
6930         * benchtests/bench-strncpy.c: Likewise.
6931         * benchtests/bench-strnlen.c: Likewise.
6932         * benchtests/bench-strpbrk.c: Likewise.
6933         * benchtests/bench-strrchr.c: Likewise.
6934         * benchtests/bench-strspn.c: Likewise.
6935         * benchtests/bench-strstr.c: Likewise.
6936
6937 2013-09-04  Will Newton  <will.newton@linaro.org>
6938
6939         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
6940
6941 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
6942
6943         [BZ #15427]
6944         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
6945         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
6946         * math/libm-test.inc (lgamma_test_data): Add more tests.
6947         * sysdeps/i386/fpu/libm-test-ulps: Update.
6948         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6949
6950 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
6951
6952         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
6953         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
6954         Add ifunc.
6955         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
6956         Add strcmp-sse2-unaligned
6957         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
6958
6959 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
6960
6961         * Versions.def (libc): Add GLIBC_2.19.
6962
6963 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
6964
6965         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
6966         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
6967
6968 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
6969
6970         [BZ #14155]
6971         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
6972         intermediate calculations in recurrence.
6973         (__ieee754_ynf): Likewise.
6974         * math/libm-test.inc (jn_test_data): Do not allow spurious
6975         underflow exception.  Add more tests.
6976         (yn_test_data): Add more tests.
6977         * sysdeps/i386/fpu/libm-test-ulps: Update.
6978         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6979
6980 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
6981
6982         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
6983
6984 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
6985
6986         * csu/init-first.c: Fix then/than typos.
6987         * locale/programs/ld-collate.c: Likewise.
6988         * locale/programs/linereader.h: Likewise.
6989         * manual/charset.texi: Likewise.
6990         * manual/filesys.texi: Likewise.
6991         * manual/stdio.texi: Likewise.
6992         * manual/string.texi: Likewise.
6993         * stdlib/fmtmsg.c: Likewise.
6994         * sysdeps/i386/stpncpy.S: Likewise.
6995         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
6996         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
6997         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
6998         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
6999
7000 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
7001
7002         * elf/dl-open.c: Fix typos.
7003         * iconvdata/gbbig5.c: Likewise.
7004         * iconvdata/iso-2022-jp.c: Likewise.
7005         * iconv/gconv_int.h: Likewise.
7006         * iconv/loop.c: Likewise.
7007         * nis/rpcsvc/nis.h: Likewise.
7008         * resolv/ns_name.c: Likewise.
7009         * stdio-common/vfscanf.c: Likewise.
7010         * streams/stropts.h: Likewise.
7011         * sunrpc/rpc_thread.c: Likewise.
7012         * sysdeps/i386/strpbrk.S: Likewise.
7013         * sysdeps/ieee754/k_standard.c: Likewise.
7014         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
7015         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
7016         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
7017         * sysdeps/mach/hurd/profil.c: Likewise.
7018         * sysdeps/s390/dl-procinfo.h: Likewise.
7019         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
7020         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
7021         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
7022         * sysdeps/x86_64/dl-trampoline.S: Likewise.
7023         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
7024
7025 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
7026
7027         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
7028         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
7029
7030 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
7031
7032         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
7033         aix specific files.
7034         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
7035         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
7036         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
7037         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
7038         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
7039         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
7040         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
7041         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
7042
7043 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
7044             Roland McGrath  <roland@hack.frob.com>
7045
7046         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
7047         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
7048
7049 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
7050
7051         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
7052         __executable_start symbol instead of _start.
7053
7054 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
7055
7056         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
7057         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
7058         Move macros to...
7059         * sysdeps/gnu/ldsodefs.h: ... this new file.
7060
7061         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
7062         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
7063         instead of ELFOSABI_LINUX.
7064
7065         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
7066         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
7067         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
7068         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
7069         Likewise.
7070         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
7071         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
7072         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
7073         Likewise.
7074         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
7075         (ibm_extended_long_double): Add ieee_nan member.
7076         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
7077         (do_test): New function.
7078
7079         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
7080         TEST_TRUNC.
7081         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
7082         functions, renamed from truncdfsf_test, trunctfsf_test,
7083         trunctfdf_test.
7084         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
7085         functions.
7086         (do_test): Run all these.
7087
7088 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
7089
7090         * argp/argp-help.c: Fix typos.
7091         * argp/argp-parse.c: Likewise.
7092         * debug/backtracesyms.c: Likewise.
7093         * elf/elf.h: Likewise.
7094         * malloc/malloc.c: Likewise.
7095         * nis/nis_print.c: Likewise.
7096         * resolv/res_comp.c: Likewise.
7097         * stdlib/stdlib.h: Likewise.
7098         * sunrpc/clnt_tcp.c: Likewise.
7099         * sunrpc/clnt_udp.c: Likewise.
7100         * sunrpc/clnt_unix.c: Likewise.
7101         * sysdeps/unix/bsd/ptsname.c: Likewise.
7102         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
7103         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
7104         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
7105         Likewise.
7106         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
7107         Likewise.
7108         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
7109         Likewise.
7110         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
7111
7112 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
7113
7114         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
7115         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
7116
7117 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
7118
7119         [BZ #15897]
7120         * dlfcn/Makefile (tests): Add bug-dl-leaf.
7121         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
7122         ($(objpfx)bug-dl-leaf): New rule.
7123         ($(objpfx)bug-dl-leaf.so): Likewise.
7124         ($(objpfx)bug-dl-leaf.out): Likewise.
7125         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
7126         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
7127         * dlfcn/bug-dl-leaf.c: New test.
7128         * dlfcn/bug-dl-leaf-lib.c: Likewise.
7129         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
7130         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
7131         (dlclose): Likewise.
7132         (dlmopen): Likewise.
7133
7134 2013-08-27  Roland McGrath  <roland@hack.frob.com>
7135
7136         * include/netdb.h [!_ISOMAC]:
7137         Don't include <tls.h>.
7138         (h_errno, __libc_h_errno): Move declaration and macros out of
7139         [_LIBC_REENTRANT].
7140
7141         * include/resolv.h [_RESOLV_H_]:
7142         Don't include <tls.h>.
7143         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
7144         * resolv/res_libc.c: Don't include <tls.h>.
7145         (_res): Use __attribute__ ((nocommon)) in place of
7146         __attribute__ ((section (".bss"))).
7147
7148         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
7149         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
7150
7151         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
7152
7153         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
7154         only under [SIOCGIFCONF && SIOCGIFNETMASK].
7155
7156         * resolv/res_mkquery.c: Include <sys/time.h>.
7157
7158         * inet/ifreq.c: Moved to ...
7159         * sysdeps/unix/ifreq.c: ... here.
7160         * inet/ifreq.c: New file, true stub version.
7161
7162         * socket/sa_len.c: New file.
7163         * socket/Makefile (aux): Add it.
7164         * sysdeps/unix/sysv/linux/Makefile
7165         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
7166         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
7167         and #include <socket/sa_len.c>.
7168         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
7169         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
7170
7171         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
7172         * bits/socket.h: ... here.
7173
7174         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
7175         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
7176         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
7177
7178 2013-08-27  Andreas Schwab  <schwab@suse.de>
7179
7180         [BZ #15736]
7181         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
7182         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
7183         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
7184         * string/test-strcasecmp.c (test_main): Run tests in several
7185         locales.
7186         * string/test-strncasecmp.c (test_main): Likewise.
7187
7188         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
7189         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
7190         to __strcasecmp_nonascii and __strncasecmp_nonascii.
7191         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
7192         (__strncasecmp_ssse3) [PIC]: Likewise.
7193
7194 2013-08-26  Roland McGrath  <roland@hack.frob.com>
7195
7196         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
7197
7198         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
7199         instead of explicitly declaring xdecrypt.
7200         * nis/nss_nis/nis-publickey.c: Likewise.
7201
7202 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
7203
7204         [BZ #15890]
7205         * nscd/aicache.c: Include res_hconf.h.
7206         (addhstaiX): Initialize res_hconf.
7207
7208 2013-08-26  Andreas Schwab  <schwab@suse.de>
7209
7210         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
7211         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
7212
7213 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
7214
7215         * nscd/aicache.c (addhstaiX): Fix indentation.
7216
7217 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
7218
7219         * configure.ac: Quote $build_pt_chown test.
7220         * configure: Regenerated.
7221
7222 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
7223
7224         [BZ #15532]
7225         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
7226         * math/s_cexpf.c (__cexpf): Likewise.
7227         * math/s_cexpl.c (__cexpl): Likewise.
7228         * math/libm-test.inc (cexp_test_data): Correct expected return
7229         value for NaN + i0.  Add another test.
7230
7231 2013-08-22  David S. Miller  <davem@davemloft.net>
7232
7233         * po/ca.po: Update Catalan translation from translation project.
7234         * po/uk.po: Add Ukrainian translations from translation project.
7235
7236 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
7237
7238         [BZ #15797]
7239         * math/s_fdim.c (__fdim): Check for infinite arguments if result
7240         is infinite, not alongside NaN test.
7241         * math/s_fdimf.c (__fdimf): Likewise.
7242         * math/s_fdiml.c (__fdiml): Likewise.
7243         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
7244         errno is unchanged.
7245
7246 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
7247
7248         * argp/argp-help.c: Fix typos.
7249         * crypt/speeds.c: Likewise.
7250         * csu/check_fds.c: Likewise.
7251         * elf/dl-load.c: Likewise.
7252         * elf/dl-open.c: Likewise.
7253         * elf/reldep3.c: Likewise.
7254         * elf/reldep.c: Likewise.
7255         * elf/sprof.c: Likewise.
7256         * iconv/iconv_charmap.c: Likewise.
7257         * iconv/skeleton.c: Likewise.
7258         * iconv/strtab.c: Likewise.
7259         * io/lockf64.c: Likewise.
7260         * libio/libioP.h: Likewise.
7261         * resolv/gai_notify.c: Likewise.
7262         * resolv/ns_name.c: Likewise.
7263         * resolv/ns_samedomain.c: Likewise.
7264         * resolv/res_send.c: Likewise.
7265         * stdlib/random.c: Likewise.
7266         * sunrpc/rpc/xdr.h: Likewise.
7267         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
7268         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
7269         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
7270         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
7271         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
7272         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
7273         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
7274         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
7275         * sysdeps/mach/hurd/check_fds.c: Likewise.
7276         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
7277         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
7278         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
7279         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
7280         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
7281         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
7282         * sysdeps/pthread/aio_notify.c: Likewise.
7283         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
7284         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
7285         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
7286         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
7287         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
7288
7289 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
7290
7291         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
7292         version if bit_Slow_SSE4_2 is set.
7293         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
7294         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
7295
7296 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7297
7298         [BZ #15867]
7299         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
7300         trampoline stack frame information.
7301         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
7302         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
7303         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
7304         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
7305         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
7306         * sysdeps/unix/sysv/linux/powerpc/init-first.c
7307         (_libc_vdso_platform_setup): Initialize the signal trampolines.
7308         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
7309         sa_flags value.
7310         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
7311         interrupting a syscall and set with option SA_SIGINFO.
7312
7313 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
7314
7315         [BZ #15531]
7316         * math/s_cproj.c (__cproj): Only return an infinity if one part of
7317         argument is infinite.
7318         * math/s_cprojf.c (__cprojf): Likewise.
7319         * math/s_cprojl.c (__cprojl): Likewise.
7320         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
7321         * math/libm-test.inc (cproj_test_data): Add more tests.
7322
7323         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
7324
7325         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
7326         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
7327         size.  Use __ffs to determine corresponding shift.
7328
7329 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
7330             Roland McGrath  <roland@hack.frob.com>
7331
7332         * Makefile (INSTALL): Remove trailing blank lines from output of
7333         makeinfo.
7334
7335 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
7336
7337         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
7338         Align 32 bit compat elf_greg to 8 bytes.
7339
7340 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
7341
7342         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
7343
7344 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
7345
7346         * string/strcoll_l.c (coll_seq): New structure.
7347         (get_next_seq_cached): New function.
7348         (get_next_seq): New function.
7349         (do_compare): New function.
7350         (STRCOLL): Use GNU style definition.  Simplify implementation
7351         by using get_next_seq, get_next_seq_cached and do_compare.
7352
7353 2013-08-16  Florian Weimer  <fweimer@redhat.com>
7354
7355         [BZ #14699]
7356         CVE-2013-4237
7357         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
7358         member.
7359         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
7360         member.
7361         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
7362         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
7363         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
7364         conditional.
7365         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
7366         GETDENTS_64BIT_ALIGNED.
7367         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
7368         * manual/filesys.texi (Reading/Closing Directory): Document
7369         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
7370         strongly.
7371         * manual/conf.texi (Limits for Files): Add portability note to
7372         NAME_MAX, PATH_MAX.
7373         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
7374
7375 2013-08-13  Andreas Schwab  <schwab@suse.de>
7376
7377         [BZ #15749]
7378         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
7379         of fabs.
7380         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
7381         LDBL_MAX_EXP >= 16384]: Add tests for it.
7382
7383 2013-08-12  David S. Miller  <davem@davemloft.net>
7384
7385         * version.h (RELEASE): Set to "development".
7386         (VERSION): Set to "2.18.90".
7387         * NEWS: Add 2.19 section.
7388
7389 2013-08-03  David S. Miller  <davem@davemloft.net>
7390
7391         * po/ko.po: Update Korean translation from translation project.
7392
7393 2013-08-01  David S. Miller  <davem@davemloft.net>
7394
7395         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
7396         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
7397         Bilka.
7398
7399 2013-07-30  David S. Miller  <davem@davemloft.net>
7400
7401         * po/fr.po: Update French translation from translation project.
7402
7403 2013-07-28  David S. Miller  <davem@davemloft.net>
7404
7405         * po/cs.po: Update Czech translation from translation project.
7406
7407         * po/sv.po: Update Swedish translation from translation project.
7408
7409 2013-07-27  David S. Miller  <davem@davemloft.net>
7410
7411         * po/eo.po: Update Esperanto translation from translation project.
7412
7413         * po/vi.po: Update Vietnamese translation from translation project.
7414
7415         * po/de.po: Update German translation from translation project.
7416
7417 2013-07-26  David S. Miller  <davem@davemloft.net>
7418
7419         * po/bg.po: Update Bulgarian translation from translation project.
7420
7421         * po/nl.po: Update Dutch translation from translation project.
7422         * po/pl.po: Update Polish translation from translation project.
7423         * po/ru.po: Update Russian translation from translation project.
7424
7425 2013-07-24  David S. Miller  <davem@davemloft.net>
7426
7427         * po/libc.pot: Update.
7428
7429 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7430
7431         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
7432         variable page size.
7433         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
7434         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
7435         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
7436
7437 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
7438
7439         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
7440
7441 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
7442             Andreas Schwab  <schwab@suse.de>
7443             Roland McGrath  <roland@hack.frob.com>
7444             Joseph Myers  <joseph@codesourcery.com>
7445             Carlos O'Donell  <carlos@redhat.com>
7446
7447         [BZ #15755]
7448         * config.h.in: Define HAVE_PT_CHOWN.
7449         * config.make.in (build-pt-chown): New variable.
7450         * configure.in (--enable-pt_chown): New configure option.
7451         * configure: Regenerate.
7452         * login/Makefile: Include Makeconfig.  Build pt_chown only if
7453         build-pt-chown is enabled.
7454         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
7455         pt_chown to fix pty ownership.
7456         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
7457         CLOSE_ALL_FDS.
7458         * manual/install.texi (Configuring and compiling): Mention
7459         --enable-pt_chown. Add @findex for grantpt.
7460         * INSTALL: Regenerate.
7461
7462 2013-07-20  David S. Miller  <davem@davemloft.net>
7463
7464         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
7465         difference between 32-bit and 64-bit.
7466
7467 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
7468
7469         [BZ #15711]
7470         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
7471         Avoid system header dependency with -ffreestanding.
7472         ($(objpfx)bits/syscall%d): Likewise.
7473
7474 2013-07-13  David S. Miller  <davem@davemloft.net>
7475
7476         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
7477         underflows from atanl/atan2l due to bug 15319.
7478         (casinh_test_data): Likewise.
7479
7480 2013-07-07  David S. Miller  <davem@davemloft.net>
7481
7482         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
7483
7484 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
7485
7486         * sysdeps/i386/fpu/libm-test-ulps: Update.
7487         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7488
7489 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
7490
7491         * configure.in (--enable-lock-elision): Fix message text.
7492         * INSTALL: Regenerate.
7493         * configure: Regenerate.
7494
7495 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7496
7497         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7498
7499 2013-07-03  Andreas Jaeger  <aj@suse.de>
7500
7501         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
7502         define.
7503         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
7504         (ptrace_peeksiginfo_args): Add.
7505         (__ptrace_peeksiginfo_flags): Add.
7506         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
7507         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
7508         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
7509
7510 2013-07-03  Allan McRae  <allan@archlinux.org>
7511
7512         * sysdeps/i386/fpu/libm-test-ulps: Update.
7513
7514 2013-07-02  David S. Miller  <davem@davemloft.net>
7515
7516         * sysdeps/sparc/fpu/libm-test-ulps: Update.
7517
7518 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
7519
7520         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7521
7522 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
7523
7524         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
7525         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7526
7527 2013-07-02  Andi Kleen <ak@linux.intel.com>
7528
7529         * config.h.in (ENABLE_LOCK_ELISION): Add.
7530         * configure.in (--enable-lock-elision): Add option.
7531         * manual/install.texi: Document --enable lock elision.
7532         * configure: Regenerate
7533         * INSTALL: Regenerate.
7534
7535 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
7536
7537         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
7538         SSE4.2 strcasecmp for libc.a.
7539         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
7540
7541 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
7542
7543         [BZ #13304]
7544         * soft-fp/op-common.h (_FP_FMA): New macro.
7545         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
7546         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
7547         (_FP_MUL_MEAT_1_imm): ... here.
7548         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
7549         (_FP_MUL_MEAT_1_wide): ... here.
7550         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
7551         (_FP_MUL_MEAT_1_hard): ... here.
7552         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
7553         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
7554         (_FP_MUL_MEAT_2_wide): ... here.
7555         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
7556         (_FP_MUL_MEAT_2_wide_3mul): ... here.
7557         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
7558         (_FP_MUL_MEAT_2_gmp): ... here.
7559         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
7560         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
7561         (_FP_MUL_MEAT_4_wide): ... here.
7562         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
7563         (_FP_MUL_MEAT_4_gmp): ... here.
7564         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
7565         (_FP_WFRACBITS_DW_S): Likewise.
7566         (_FP_WFRACXBITS_DW_S): Likewise.
7567         (_FP_HIGHBIT_DW_S): Likewise.
7568         (FP_FMA_S): Likewise.
7569         (_FP_FRAC_HIGH_DW_S): Likewise.
7570         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
7571         (_FP_WFRACBITS_DW_D): Likewise.
7572         (_FP_WFRACXBITS_DW_D): Likewise.
7573         (_FP_HIGHBIT_DW_D): Likewise.
7574         (FP_FMA_D): Likewise.
7575         (_FP_FRAC_HIGH_DW_D): Likewise.
7576         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
7577         (_FP_WFRACBITS_DW_E): Likewise.
7578         (_FP_WFRACXBITS_DW_E): Likewise.
7579         (_FP_HIGHBIT_DW_E): Likewise.
7580         (FP_FMA_E): Likewise.
7581         (_FP_FRAC_HIGH_DW_E): Likewise.
7582         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
7583         (_FP_WFRACBITS_DW_Q): Likewise.
7584         (_FP_WFRACXBITS_DW_Q): Likewise.
7585         (_FP_HIGHBIT_DW_Q): Likewise.
7586         (FP_FMA_Q): Likewise.
7587         (_FP_FRAC_HIGH_DW_Q): Likewise.
7588         * soft-fp/fmasf4.c: New file.
7589         * soft-fp/fmadf4.c: Likewise.
7590         * soft-fp/fmatf4.c: Likewise.
7591
7592 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
7593
7594         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
7595         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
7596         Silvermont.
7597         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
7598         macro.
7599         (index_Slow_SSE4_2): Likewise.
7600         (index_Prefer_PMINUB_for_stringop): Likewise.
7601         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
7602         bit_Slow_SSE4_2 is set.
7603         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
7604         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
7605
7606 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
7607
7608         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
7609         rtld_global._dl_hwcap2.
7610         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
7611         POWER8.
7612         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
7613         POWER8 feature descriptions defined in _dl_hwcap2.
7614         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
7615         string handling for POWER8 feature bits.
7616         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
7617         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
7618         _dl_powerpc_cap_flags.
7619         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
7620         * sysdeps/powerpc/rtld-global-offsets.sym
7621         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
7622         _dl_hwcap2 in the rtld_global_ro structure.
7623
7624 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
7625
7626         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
7627         hardware capabilities in support of AT_HWCAP2.
7628         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
7629         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
7630         GLRO(dl_hwcap2).
7631         (_dl_show_auxv): Add support for calling _dl_procinfo to display
7632         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
7633         explicitly the unknown a_type display mechanism is used.
7634         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
7635         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
7636         struct member.
7637         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
7638         to macro prototype for AT_HWCAP2 support.
7639         * sysdeps/i386/dl-procinfo.h: Likewise.
7640         * sysdeps/s390/dl-procinfo.h: Likewise.
7641         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
7642         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
7643         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
7644         return -1 for unknown a_type display fallback.
7645         * sysdeps/sparc/dl-procinfo.h: Likewise.
7646         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
7647         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
7648
7649 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
7650
7651         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
7652         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
7653
7654 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
7655
7656         [BZ #12492]
7657         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
7658         mprotect making __stack_prot writable.
7659
7660 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
7661             Joseph Myers  <joseph@codesourcery.com>
7662
7663         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
7664         as being properly aligned.
7665
7666 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
7667
7668         * dlfcn/modstatic5.c: New file.
7669         * dlfcn/tststatic5.c: New file.
7670         * dlfcn/Makefile (tests): Add tststatic5.
7671         (tests-static): Likewise.
7672         (modules-names): Add modstatic5.
7673         (tststatic5-ENV): New variable.
7674         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
7675
7676         [BZ #15022]
7677         * elf/dl-support.c (_dl_main_map): New variable.
7678         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
7679         (_dl_nns, _dl_load_adds): Set to 1.
7680         (_dl_initial_searchlist): Refer to _dl_main_map.
7681         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
7682         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
7683         call to _dl_get_origin.
7684         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
7685         around call_map.
7686         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
7687         * dlfcn/modstatic3.c: New file.
7688         * dlfcn/tststatic3.c: New file.
7689         * dlfcn/tststatic4.c: New file.
7690         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
7691         (tests-static): Likewise.
7692         (modules-names): Add modstatic3.
7693         (tststatic3-ENV, tststatic4-ENV): New variables.
7694         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
7695         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
7696
7697 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
7698
7699         * configure.in (CC): Require GCC version 4.4 or later.
7700         * configure: Regenerated.
7701         * manual/install.texi (Tools for Compilation): Update GCC version
7702         requirement.
7703         * INSTALL: Regenerated.
7704
7705 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
7706
7707         [BZ #15674]
7708         * string/test-memcmp.c (check2): New.
7709         (main): Call check2.
7710
7711         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
7712
7713 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
7714
7715         [BZ #15022]
7716         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
7717         over to...
7718         (dl_open_worker) [!SHARED]: ... here.
7719
7720 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
7721
7722         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
7723
7724 2013-06-25  Richard Henderson  <rth@redhat.com>
7725
7726         * locale/programs/locarchive.c: Include <libc-internal.h>
7727
7728 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
7729
7730         * manual/texinfo.tex: Update to version 2013-06-21.17, with
7731         trailing whitespace removed.
7732
7733 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
7734
7735         [BZ #10283]
7736         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
7737         * locale/programs/locarchive.c: Include libc-mmap.h.
7738         (prepare_address_space): Take two new outputs (the mmap base and len).
7739         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
7740         values.
7741         (create_archive): Declare new mmap base and len values for
7742         prepare_address_space, and store the result in ah.
7743         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
7744         (enlarge_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         Declare new mmap base and len values for
7747         prepare_address_space, and store the result in new_ah.
7748         (open_archive): Declare new mmap base and len values for
7749         prepare_address_space, and store the result in ah.
7750         (close_archive): If ah->mmap_base is not NULL, use that and
7751         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
7752         * sysdeps/generic/libc-mmap.h: New file.
7753
7754 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
7755
7756         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
7757         (ALIGN_UP): Likewise.
7758         (PTR_ALIGN_DOWN): Likewise.
7759         (PTR_ALIGN_UP): Likewise.
7760
7761 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
7762
7763         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
7764         entry mapped to PPC_PLATFORM_POWER8.
7765         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
7766         POWER8.
7767         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
7768         (_dl_string_platform): Add case for exporting platform position for
7769         POWER8.
7770         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
7771         search path to sysdeps/powerpc/powerpc32/power8 directory.
7772         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
7773         search path to sysdeps/powerpc/powerpc64/power8 directory.
7774         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
7775         power7 directories.
7776         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
7777         power7 directories.
7778
7779 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
7780
7781         * INSTALL: Regenerate.
7782
7783         * nscd/connections.c (nscd_init): Fix comment.
7784
7785 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
7786
7787         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
7788
7789         [BZ #15667]
7790         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
7791         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
7792
7793 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
7794
7795         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
7796         DL_DST_REQ_STATIC.
7797         (DL_DST_REQ_STATIC): Remove macro.
7798
7799 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
7800
7801         [BZ #7006]
7802         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
7803         with a shift of 0 bits.
7804
7805 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
7806
7807         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
7808         $(tststatic-ENV).
7809
7810 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
7811
7812         [BZ #15655]
7813         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
7814
7815 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7816
7817         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
7818         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
7819         accepts -fno-tree-loop-distribute-patterns.
7820         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
7821         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
7822         recursive call.
7823         * string/memset.c (memset): Likewise.
7824         * string/test-memmove.c (simple_memmove): Disable loop transformation
7825         to library calls.
7826         * string/test-memset.c (simple_memset): Likewise.
7827         * benchtests/bench-memmove.c (simple_memmove): Likewise.
7828         * benchtests/bench-memset.c (simple_memset): Likewise.
7829         * configure: Regenerated.
7830
7831 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
7832
7833         * math/test-misc.c (main): Ignore fesetround failure when failures
7834         of subsequent rounding tests would be ignored.
7835
7836         [BZ #15654]
7837         * math/fedisblxcpt.c (fedisableexcept): Return 0.
7838         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
7839         * math/fegetenv.c (__fegetenv): Return 0.
7840         * math/fegetexcept.c (fegetexcept): Return 0.
7841         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
7842         FE_TONEAREST.
7843         * math/feholdexcpt.c (feholdexcept): Return 0.
7844         * math/fesetenv.c (__fesetenv): Return 0.
7845         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
7846         argument FE_TONEAREST.
7847         * math/feupdateenv.c (__feupdateenv): Return 0.
7848         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
7849
7850 2013-06-18  Roland McGrath  <roland@hack.frob.com>
7851
7852         * elf/rtld-Rules (rtld-compile-command.S): New variable.
7853         (rtld-compile-command.s, rtld-compile-command.c): New variables.
7854         ($(objpfx)rtld-%.os rules): Use them.
7855
7856 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7857
7858         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
7859         fields.
7860
7861 2013-06-17  Roland McGrath  <roland@hack.frob.com>
7862
7863         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
7864         length of target pattern, then descending length of dependency pattern.
7865         * configure.in (AWK): Require gawk 3.1.2 or newer.
7866         * manual/install.texi (Tools for Compilation): Say that we do.
7867         * configure: Regenerated.
7868
7869         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
7870         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
7871         * scripts/sysd-rules.awk: ... this new script.
7872         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
7873         than a glob-style pattern.
7874
7875 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
7876
7877         * math/test-misc.c (main): Do not treat incorrectly rounded
7878         conversions as failure unless ROUNDING_TESTS passes.
7879
7880 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
7881
7882         [BZ #15631]
7883         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
7884         restore exception state around main square root computation, then
7885         check for inexactness explicitly.
7886
7887         * math/libm-test.inc (fma_test_data): Add another test.
7888
7889 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
7890
7891         * manual/threads.texi (Non-POSIX Extensions): New document
7892         node.  Document pthread_getattr_default_np and
7893         pthread_setattr_default_np.
7894
7895         * Versions.def (libpthread): Add GLIBC_2.18.
7896         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
7897         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
7898         Likewise.
7899         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
7900         Likewise.
7901         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
7902         Likewise.
7903         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
7904         Likewise.
7905         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
7906         Likewise.
7907         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
7908         Likewise.
7909         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
7910         Likewise.
7911         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
7912         Likewise.
7913         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
7914         Likewise.
7915
7916 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
7917
7918         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
7919         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
7920
7921 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
7922             H.J. Lu  <hjl.tools@gmail.com>
7923
7924         [BZ #15627]
7925         * sysdeps/x86_64/rtld-memset.c: Remove file.
7926         * sysdeps/x86_64/rtld-memset.S: New file.
7927
7928 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
7929
7930         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
7931         (test_in_one_mode): Take arguments for whether the rounding mode
7932         is supported for each floating-point type.
7933         (do_test): Pass new arguments to test_in_one_mode using
7934         ROUNDING_TESTS.
7935
7936 2013-06-13  Roland McGrath  <roland@hack.frob.com>
7937
7938         * posix/tst-waitid.c (do_test): Distinguish different instances of
7939         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
7940         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
7941         before entering the kernel for waitpid.
7942
7943 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
7944
7945         * NEWS: Fix note on clock function precision.  Text by Roland
7946         McGrath.
7947
7948 2013-06-13  Roland McGrath  <roland@hack.frob.com>
7949
7950         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
7951         it into place only when and if the sanity check passes.
7952
7953 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
7954
7955         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
7956         output for whether conversion result is exact.  Take argument
7957         indicating whether type is IBM long double.
7958         (round_for_all): Change need_exact field to ibm_ld.
7959         * stdlib/tst-strtod-round.c (struct exactness): New type.
7960         (struct test): Change bool ld_ok field to struct exactness exact.
7961         (TEST): Update all definitions for change to field.
7962         (tests): Regenerate array contents.
7963         (test_in_one_mode): Take pointer to new field instead of old ld_ok
7964         field value.  Check for IBM long double here.
7965         (do_test): Update calls to test_in_one_mode.
7966
7967 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
7968
7969         [BZ #12515]
7970         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
7971         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
7972
7973 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7974
7975         [BZ #15605]
7976         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
7977         generated by the compiler on loop optimizations.
7978         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
7979         general definitions.
7980
7981 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
7982
7983         * math/bug-nextafter.c: Include <math-tests.h>.
7984         (main): Only test for exceptions if EXCEPTION_TESTS is true for
7985         the relevant type.
7986         * math/bug-nexttoward.c: Include <math-tests.h>.
7987         (main): Only test for exceptions if EXCEPTION_TESTS is true for
7988         the relevant type.
7989         * math/test-misc.c: Include <math-tests.h>.
7990         (main): Only test for exceptions if EXCEPTION_TESTS is true for
7991         the relevant type.
7992
7993 2013-06-12  Andreas Jaeger  <aj@suse.de>
7994
7995         * po/ia.po: Update Interlingua translation from translation
7996         project.
7997
7998 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
7999
8000         * include/fenv.h: Include stdbool.h.
8001         (struct rm_ctx): New structure.
8002         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
8003         Define macro.
8004         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
8005         (SET_RESTORE_ROUNDF): Likewise.
8006         (SET_RESTORE_ROUNDL): Likewise.
8007         (SET_RESTORE_ROUND_NOEX): Likewise.
8008         (SET_RESTORE_ROUND_NOEXF): Likewise.
8009         (SET_RESTORE_ROUND_NOEXL): Likewise.
8010         (SET_RESTORE_ROUND_53BIT): Likewise.
8011         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
8012         (libc_feresetround_noexf_ctx): Likewise.
8013         (libc_feresetround_noexl_ctx): Likewise.
8014         (libc_feholdsetround_53bit_ctx): Likewise.
8015         (libc_feresetround_53bit_ctx): Likewise.
8016         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
8017         (libc_feholdexcept_setround_sse_ctx): New function.
8018         (libc_fesetenv_sse_ctx): Likewise.
8019         (libc_feupdateenv_sse_ctx): Likewise.
8020         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
8021         (libc_feholdexcept_setround_387_ctx): Likewise.
8022         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
8023         (libc_feholdsetround_387_prec_ctx): Likewise.
8024         (libc_feholdsetround_387_ctx): Likewise.
8025         (libc_feholdsetround_387_53bit_ctx): Likewise.
8026         (libc_feholdsetround_sse_ctx): Likewise.
8027         (libc_feresetround_sse_ctx): Likewise.
8028         (libc_feresetround_387_ctx): Likewise.
8029         (libc_feupdateenv_387_ctx): Likewise.
8030         (libc_feholdexcept_setroundf_ctx): Define macro.
8031         (libc_fesetenvf_ctx): Likewise.
8032         (libc_feupdateenvf_ctx): Likewise.
8033         (libc_feholdsetroundf_ctx): Likewise.
8034         (libc_feresetroundf_ctx): Likewise.
8035         (libc_feholdexcept_setround_ctx): Likewise.
8036         (libc_fesetenv_ctx): Likewise.
8037         (libc_feupdateenv_ctx): Likewise.
8038         (libc_feholdsetround_ctx): Likewise.
8039         (libc_feresetround_ctx): Likewise.
8040         (libc_feholdexcept_setroundl_ctx): Likewise.
8041         (libc_feupdateenvl_ctx): Likewise.
8042         (libc_feholdsetroundl_ctx): Likewise.
8043         (libc_feresetroundl_ctx): Likewise.
8044         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
8045         (libc_feresetround_53bit_ctx): Likewise.
8046
8047 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
8048
8049         * locale/iso-639.def: Convert to UTF-8.
8050
8051 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
8052
8053         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
8054         (EXCEPTION_TESTS_double): Likewise.
8055         (EXCEPTION_TESTS_long_double): Likewise.
8056         (EXCEPTION_TESTS): Likewise.
8057         * math/libm-test.inc (test_exceptions): Only test exceptions if
8058         EXCEPTION_TESTS (FLOAT).
8059
8060 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
8061
8062         * benchtests/Makefile (string-bench): Add strcpy_chk and
8063         stpcpy_chk.
8064         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
8065         * benchtests/bench-stpcpy_chk.c: New file.
8066         * benchtests/bench-strcpy_chk-ifunc.c: New file.
8067         * benchtests/bench-strcpy_chk.c: New file.
8068         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
8069         code.
8070         (do_test): Likewise.
8071
8072 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
8073
8074         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
8075         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
8076         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
8077         with tabs where appropriate.
8078         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
8079         dl-procinfo.h.
8080         [PPC_PLATFORM_PPC440]: Likewise.
8081         [PPC_PLATFORM_PPC464]: Likewise.
8082         [PPC_PLATFORM_PPC476]: Likewise.
8083         (_dl_string_platform): Add support for detecting ppc405, ppc440,
8084         ppc464, and ppc476 platform strings merging from ports/
8085         dl-procinfo.h.
8086
8087 2013-06-11  Andreas Schwab  <schwab@suse.de>
8088
8089         [BZ #14991]
8090         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
8091         (from_ucs4_idx): Regenerate.
8092         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
8093         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
8094         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
8095         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
8096         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
8097         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
8098         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
8099         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
8100         from FROM_LOOP and TO_LOOP specific macros.
8101         (BODY): Handle combining characters.
8102         * iconvdata/BIG5HKSCS.irreversible: Update.
8103         * iconvdata/BIG5HKSCS.precomposed: New file.
8104         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
8105         characters.
8106         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
8107
8108 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
8109
8110         * include/sys/time.h: Fix indentation and add copyright header.
8111
8112         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
8113         (do_test): Likewise.
8114         * string/test-memchr.c (do_one_test): Likewise.
8115         (do_test): Likewise.
8116         * string/test-memcmp.c (do_one_test): Likewise.
8117         (do_test): Likewise.
8118         * string/test-memcpy.c (do_one_test): Likewise.
8119         (do_test): Likewise.
8120         * string/test-memmem.c (do_one_test): Likewise.
8121         (do_test): Likewise.
8122         (do_random_tests): Likewise.
8123         * string/test-memmove.c (do_one_test): Likewise.
8124         (do_test): Likewise.
8125         * string/test-memset.c (do_one_test): Likewise.
8126         (do_test): Likewise.
8127         * string/test-rawmemchr.c (do_one_test): Likewise.
8128         (do_test): Likewise.
8129         * string/test-strcasecmp.c (do_one_test): Likewise.
8130         (do_test): Likewise.
8131         * string/test-strcasestr.c (do_one_test): Likewise.
8132         (do_test): Likewise.
8133         * string/test-strcat.c (do_one_test): Likewise.
8134         (do_test): Likewise.
8135         * string/test-strchr.c (do_one_test): Likewise.
8136         (do_test): Likewise.
8137         * string/test-strcmp.c (do_one_test): Likewise.
8138         (do_test): Likewise.
8139         * string/test-strcpy.c (do_one_test): Likewise.
8140         (do_test): Likewise.
8141         * string/test-string.h: Likewise.
8142         (test_init): Likewise.
8143         * string/test-strlen.c (do_one_test): Likewise.
8144         (do_test): Likewise.
8145         * string/test-strncasecmp.c (do_one_test): Likewise.
8146         (do_test): Likewise.
8147         * string/test-strncat.c (do_one_test): Likewise.
8148         (do_test): Likewise.
8149         * string/test-strncmp.c (do_one_test): Likewise.
8150         (do_test_limit): Likewise.
8151         (do_test): Likewise.
8152         * string/test-strncpy.c (do_one_test): Likewise.
8153         (do_test): Likewise.
8154         * string/test-strnlen.c (do_one_test): Likewise.
8155         (do_test): Likewise.
8156         * string/test-strpbrk.c (do_one_test): Likewise.
8157         (do_test): Likewise.
8158         * string/test-strrchr.c (do_one_test): Likewise.
8159         (do_test): Likewise.
8160         * string/test-strspn.c (do_one_test): Likewise.
8161         (do_test): Likewise.
8162         * string/test-strstr.c (do_one_test): Likewise.
8163         (do_test): Likewise.
8164
8165         * benchtests/Makefile (string-bench): Add string benchmarks.
8166         * benchtests/bench-bcopy-ifunc.c: New file.
8167         * benchtests/bench-bcopy.c: New file.
8168         * benchtests/bench-bzero-ifunc.c: New file.
8169         * benchtests/bench-bzero.c: New file.
8170         * benchtests/bench-memccpy-ifunc.c: New file.
8171         * benchtests/bench-memccpy.c: New file.
8172         * benchtests/bench-memchr-ifunc.c: New file.
8173         * benchtests/bench-memchr.c: New file.
8174         * benchtests/bench-memcmp-ifunc.c: New file.
8175         * benchtests/bench-memcmp.c: New file.
8176         * benchtests/bench-memmem-ifunc.c: New file.
8177         * benchtests/bench-memmem.c: New file.
8178         * benchtests/bench-memmove-ifunc.c: New file.
8179         * benchtests/bench-memmove.c: New file.
8180         * benchtests/bench-mempcpy-ifunc.c: New file.
8181         * benchtests/bench-mempcpy.c: New file.
8182         * benchtests/bench-memset-ifunc.c: New file.
8183         * benchtests/bench-memset.c: New file.
8184         * benchtests/bench-rawmemchr-ifunc.c: New file.
8185         * benchtests/bench-rawmemchr.c: New file.
8186         * benchtests/bench-stpcpy-ifunc.c: New file.
8187         * benchtests/bench-stpcpy.c: New file.
8188         * benchtests/bench-stpncpy-ifunc.c: New file.
8189         * benchtests/bench-stpncpy.c: New file.
8190         * benchtests/bench-strcasecmp-ifunc.c: New file.
8191         * benchtests/bench-strcasecmp.c: New file.
8192         * benchtests/bench-strcasestr-ifunc.c: New file.
8193         * benchtests/bench-strcasestr.c: New file.
8194         * benchtests/bench-strcat-ifunc.c: New file.
8195         * benchtests/bench-strcat.c: New file.
8196         * benchtests/bench-strchr-ifunc.c: New file.
8197         * benchtests/bench-strchr.c: New file.
8198         * benchtests/bench-strchrnul-ifunc.c: New file.
8199         * benchtests/bench-strchrnul.c: New file.
8200         * benchtests/bench-strcmp-ifunc.c: New file.
8201         * benchtests/bench-strcmp.c: New file.
8202         * benchtests/bench-strcpy-ifunc.c: New file.
8203         * benchtests/bench-strcpy.c: New file.
8204         * benchtests/bench-strcspn-ifunc.c: New file.
8205         * benchtests/bench-strcspn.c: New file.
8206         * benchtests/bench-strlen-ifunc.c: New file.
8207         * benchtests/bench-strlen.c: New file.
8208         * benchtests/bench-strncasecmp-ifunc.c: New file.
8209         * benchtests/bench-strncasecmp.c: New file.
8210         * benchtests/bench-strncat-ifunc.c: New file.
8211         * benchtests/bench-strncat.c: New file.
8212         * benchtests/bench-strncmp-ifunc.c: New file.
8213         * benchtests/bench-strncmp.c: New file.
8214         * benchtests/bench-strncpy-ifunc.c: New file.
8215         * benchtests/bench-strncpy.c: New file.
8216         * benchtests/bench-strnlen-ifunc.c: New file.
8217         * benchtests/bench-strnlen.c: New file.
8218         * benchtests/bench-strpbrk-ifunc.c: New file.
8219         * benchtests/bench-strpbrk.c: New file.
8220         * benchtests/bench-strrchr-ifunc.c: New file.
8221         * benchtests/bench-strrchr.c: New file.
8222         * benchtests/bench-strspn-ifunc.c: New file.
8223         * benchtests/bench-strspn.c: New file.
8224         * benchtests/bench-strstr-ifunc.c: New file.
8225         * benchtests/bench-strstr.c: New file.
8226
8227         * benchtests/Makefile: Disable parallel execution of targets.
8228         (string-bench): Add memcpy.
8229         (benchset): New variable to store a list of benchmark sets.
8230         (bench-func): Renamed from bench.
8231         (bench-set): New target.
8232         (bench): Depend on bench-func and bench-set.
8233         * benchtests/README: Add section on benchmark sets.
8234         * benchtests/bench-memcpy-ifunc.c: New file.
8235         * benchtests/bench-memcpy.c: New file.
8236         * benchtests/bench-string.h: New file.
8237
8238 2013-06-11  Andreas Schwab  <schwab@suse.de>
8239
8240         [BZ #15577]
8241         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
8242         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
8243         values in the triple.
8244         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
8245         terminator in the group key.
8246
8247 2013-06-11  Andreas Jaeger  <aj@suse.de>
8248
8249         * po/zh_TW.po: Update Chinese (traditional) translation from
8250         translation project.
8251
8252 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
8253
8254         * include/time.h (__clock_gettime): Add libc_hidden_proto.
8255         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
8256         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
8257         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
8258         (clock_getcpuclockid): Likewise.
8259         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
8260         Add weak_alias and libc_hidden_def.
8261         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
8262         * rt/clock_gettime.c (clock_gettime): Rename to
8263         __clock_gettime.  Add weak_alias and libc_hidden_def.
8264         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
8265         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
8266         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
8267         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
8268         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
8269         Likewise.
8270         * rt/clock_settime.c (clock_settime): Rename to
8271         __clock_settime.  Add weak_alias and libc_hidden_def.
8272         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
8273
8274 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
8275
8276         * mach/err_boot.sub: Remove trailing whitespace.
8277         * mach/err_ipc.sub: Likewise.
8278         * mach/err_mach.sub: Likewise.
8279
8280         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
8281         (ROUNDING_TESTS_double): Likewise.
8282         (ROUNDING_TESTS_long_double): Likewise.
8283         (ROUNDING_TESTS): Likewise.
8284         * math/libm-test.inc: Include <math-tests.h>.
8285         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
8286         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
8287         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
8288         (IF_ROUND_INIT_FE_UPWARD): Likewise.
8289
8290 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
8291
8292         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
8293         of assigning.
8294
8295 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
8296
8297         * sysdeps/gnu/errlist.awk: Do not generate space at end of
8298         otherwise empty TRANS lines.
8299         * sysdeps/gnu/errlist.c: Regenerated.
8300
8301         * catgets/gencat.c (error_print): Use (void) in function
8302         definition.
8303         * crypt/crypt_util.c (__init_des): Likewise.
8304         * crypt/speeds.c (Stop): Likewise.
8305         (main): Likewise.
8306         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
8307         * inet/ruserpass.c (token): Likewise.
8308         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
8309         * intl/localealias.c (extend_alias_table): Likewise.
8310         * intl/plural-exp.c (init_germanic_plural): Likewise.
8311         * libio/fcloseall.c (__fcloseall): Likewise.
8312         * libio/genops.c (_IO_flush_all): Likewise.
8313         (_IO_flush_all_linebuffered): Likewise.
8314         (_IO_cleanup): Likewise.
8315         (_IO_iter_begin): Likewise.
8316         (_IO_iter_end): Likewise.
8317         (_IO_list_lock): Likewise.
8318         (_IO_list_unlock): Likewise.
8319         (_IO_list_resetlock): Likewise.
8320         * libio/getchar.c (getchar): Likewise.
8321         * libio/getchar_u.c (getchar_unlocked): Likewise.
8322         * libio/getwchar.c (getwchar): Likewise.
8323         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
8324         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
8325         * login/getpt.c (__getpt): Likewise.
8326         * login/tst-utmp.c (main): Likewise.
8327         * malloc/hooks.c (__malloc_check_init): Likewise.
8328         * malloc/malloc.c (__malloc_stats): Likewise.
8329         * malloc/mtrace.c (tr_break): Likewise.
8330         (mtrace): Likewise.
8331         (muntrace): Likewise.
8332         * misc/fstab.c (endfsent): Likewise.
8333         * misc/getclktck.c (__getclktck): Likewise.
8334         * misc/getdtsz.c (__getdtablesize): Likewise.
8335         * misc/gethostid.c (gethostid): Likewise.
8336         * misc/getpagesize.c (__getpagesize): Likewise.
8337         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
8338         (__get_nprocs): Likewise.
8339         (__get_phys_pages): Likewise.
8340         (__get_avphys_pages): Likewise.
8341         * misc/getttyent.c (getttyent): Likewise.
8342         (setttyent): Likewise.
8343         (endttyent): Likewise.
8344         * misc/getusershell.c (getusershell): Likewise.
8345         (endusershell): Likewise.
8346         (setusershell): Likewise.
8347         (initshells): Likewise.
8348         * misc/hsearch.c (__hdestroy): Likewise.
8349         * misc/sync.c (sync): Likewise.
8350         * misc/syslog.c (closelog_internal): Likewise.
8351         (closelog): Likewise.
8352         * misc/ttyslot.c (ttyslot): Likewise.
8353         * misc/vhangup.c (vhangup): Likewise.
8354         * posix/fork.c (__fork): Likewise.
8355         * posix/getegid.c (__getegid): Likewise.
8356         * posix/geteuid.c (__geteuid): Likewise.
8357         * posix/getgid.c (__getgid): Likewise.
8358         * posix/getpid.c (__getpid): Likewise.
8359         * posix/getppid.c (__getppid): Likewise.
8360         * posix/getuid.c (__getuid): Likewise.
8361         * posix/pause.c (pause): Likewise.
8362         * posix/setpgrp.c (setpgrp): Likewise.
8363         * posix/setsid.c (__setsid): Likewise.
8364         * posix/test-vfork.c (noop): Likewise.
8365         * resolv/gethnamaddr.c (_endhtent): Likewise.
8366         (_gethtent): Likewise.
8367         (ht_endhostent): Likewise.
8368         (gethostent): Likewise.
8369         (dns_service): Likewise.
8370         * stdlib/drand48.c (drand48): Likewise.
8371         * stdlib/lrand48.c (lrand48): Likewise.
8372         * stdlib/mrand48.c (mrand48): Likewise.
8373         * stdlib/rand.c (rand): Likewise.
8374         * stdlib/random.c (__random): Likewise.
8375         * stdlib/setenv.c (clearenv): Likewise.
8376         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
8377         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
8378         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
8379         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
8380         (__get_nprocs): Likewise.
8381         (__get_phys_pages): Likewise.
8382         (__get_avphys_pages): Likewise.
8383         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
8384         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
8385         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
8386         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
8387         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
8388         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
8389         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
8390         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
8391         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
8392         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
8393         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
8394         * sysdeps/mach/hurd/sync.c (sync): Likewise.
8395         * sysdeps/posix/clock.c (clock): Likewise.
8396         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
8397         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
8398         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
8399         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
8400         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
8401         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
8402         (__get_nprocs_conf): Likewise.
8403         (__get_phys_pages): Likewise.
8404         (__get_avphys_pages): Likewise.
8405         * time/clock.c (clock): Likewise.
8406         * time/tzset.c (__tzname_max): Likewise.
8407
8408 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
8409
8410         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
8411         (__bswap_32): Do not use "register".
8412         * crypt/crypt.c (_ufc_doit_r): Likewise.
8413         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
8414         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
8415         * gmon/gmon.c (__monstartup): Likewise.
8416         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
8417         * hurd/hurdmalloc.c (more_memory): Likewise.
8418         (malloc): Likewise.
8419         (free): Likewise.
8420         (realloc): Likewise.
8421         (malloc_fork_prepare): Likewise.
8422         (malloc_fork_parent): Likewise.
8423         (malloc_fork_child): Likewise.
8424         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
8425         (_svcauth_des): Likewise.
8426         * inet/inet_lnaof.c (inet_lnaof): Likewise.
8427         * inet/inet_net.c (inet_network): Likewise.
8428         * inet/inet_netof.c (inet_netof): Likewise.
8429         * inet/rcmd.c (__validuser2_sa): Likewise.
8430         * io/fts.c (fts_open): Likewise.
8431         (fts_load): Likewise.
8432         (fts_close): Likewise.
8433         (fts_read): Likewise.
8434         (fts_children): Likewise.
8435         (fts_build): Likewise.
8436         (fts_stat): Likewise.
8437         (fts_sort): Likewise.
8438         (fts_alloc): Likewise.
8439         (fts_lfree): Likewise.
8440         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
8441         (_IO_file_xsgetn): Likewise.
8442         (_IO_file_xsgetn_mmap): Likewise.
8443         * libio/iofopncook.c (_IO_cookie_read): Likewise.
8444         (_IO_cookie_write): Likewise.
8445         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
8446         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
8447         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
8448         * malloc/obstack.c (_obstack_begin): Likewise.
8449         (_obstack_begin_1): Likewise.
8450         (_obstack_newchunk): Likewise.
8451         (_obstack_allocated_p): Likewise.
8452         (obstack_free): Likewise.
8453         (_obstack_memory_used): Likewise.
8454         * misc/getttyent.c (getttynam): Likewise.
8455         (getttyent): Likewise.
8456         (skip): Likewise.
8457         (value): Likewise.
8458         * misc/getusershell.c (initshells): Likewise.
8459         * misc/syslog.c (__vsyslog_chk): Likewise.
8460         * misc/ttyslot.c (ttyslot): Likewise.
8461         * nis/nis_hash.c (__nis_hash): Likewise.
8462         * posix/fnmatch_loop.c (FCT): Likewise.
8463         * posix/getconf.c (print_all): Likewise.
8464         (main): Likewise.
8465         * posix/getopt.c (exchange): Likewise.
8466         * posix/glob.c (globfree): Likewise.
8467         (prefix_array): Likewise.
8468         (__glob_pattern_type): Likewise.
8469         * resolv/arpa/nameser.h (NS_GET16): Likewise.
8470         (NS_GET32): Likewise.
8471         (NS_PUT16): Likewise.
8472         (NS_PUT32): Likewise.
8473         * resolv/gethnamaddr.c (getanswer): Likewise.
8474         (gethostbyname2): Likewise.
8475         (gethostbyaddr): Likewise.
8476         (_gethtent): Likewise.
8477         (_gethtbyname2): Likewise.
8478         (_gethtbyaddr): Likewise.
8479         * resolv/ns_print.c (dst_s_get_int16): Likewise.
8480         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
8481         * resolv/res_init.c (__res_vinit): Likewise.
8482         (net_mask): Likewise.
8483         * resolv/res_mkquery.c (outchar): Likewise.
8484         (PRINT): Likewise.
8485         * stdio-common/printf_fp.c (outchar): Likewise.
8486         (PRINT): Likewise.
8487         * stdio-common/printf_fphex.c (outchar): Likewise.
8488         (PRINT): Likewise.
8489         * stdio-common/printf_size.c (outchar): Likewise.
8490         (PRINT): Likewise.
8491         * stdio-common/test_rdwr.c (main): Likewise.
8492         * stdio-common/tfformat.c (matches): Likewise.
8493         * stdio-common/vfprintf.c (outchar): Likewise.
8494         (printf_unknown): Likewise.
8495         (buffered_vfprintf): Likewise.
8496         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
8497         * stdio-common/xbug.c (AppendToBuffer): Likewise.
8498         (ReadFile): Likewise.
8499         * stdlib/qsort.c (SWAP): Likewise.
8500         (_quicksort): Likewise.
8501         * stdlib/setenv.c (__add_to_environ): Likewise.
8502         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
8503         * stdlib/strtol_l.c (__strtol_l): Likewise.
8504         * stdlib/tst-strtod.c (main): Likewise.
8505         * stdlib/tst-strtol.c (main): Likewise.
8506         * stdlib/tst-strtoll.c (main): Likewise.
8507         * string/bits/string2.h (__strcmp_cc): Likewise.
8508         (__strcmp_cg): Likewise.
8509         (__strcspn_c1): Likewise.
8510         (__strcspn_c2): Likewise.
8511         (__strcspn_c3): Likewise.
8512         (__strspn_c1): Likewise.
8513         (__strspn_c2): Likewise.
8514         (__strspn_c3): Likewise.
8515         (__strsep_1c): Likewise.
8516         (__strsep_2c): Likewise.
8517         (__strsep_3c): Likewise.
8518         * string/memccpy.c (__memccpy): Likewise.
8519         * string/stpcpy.c (__stpcpy): Likewise.
8520         * string/strcmp.c (strcmp): Likewise.
8521         * string/strrchr.c (strrchr): Likewise.
8522         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
8523         Likewise.
8524         * sysdeps/mach/hurd/getcwd.c
8525         (_hurd_canonicalize_directory_name_internal): Likewise.
8526         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
8527         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
8528         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
8529         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
8530         Likewise, in both definitions.
8531         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
8532         definitions.
8533         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
8534         64] (__bswap_64): Likewise.
8535         * time/test_time.c (main): Likewise.
8536         * time/tzfile.c (__tzfile_read): Likewise.
8537         (__tzfile_compute): Likewise.
8538         * time/tzset.c (__tzset_parse_tz): Likewise.
8539         (tzset_internal): Likewise.
8540         (compute_change): Likewise.
8541         * wcsmbs/wcscat.c (__wcscat): Likewise.
8542         * wcsmbs/wcschr.c (wcschr): Likewise.
8543         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
8544         * wcsmbs/wcscspn.c (wcscspn): Likewise.
8545         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
8546         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
8547         * wcsmbs/wcsspn.c (wcsspn): Likewise.
8548         * wcsmbs/wcsstr.c (wcsstr): Likewise.
8549         * wcsmbs/wmemchr.c (wmemchr): Likewise.
8550         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
8551         * wcsmbs/wmemset.c (wmemset): Likewise.
8552
8553 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
8554
8555         * scripts/config.guess: Update to version 2013-05-16.
8556         * scripts/config.sub: Update to version 2013-04-24.
8557         * scripts/install-sh: Update to version 2011-11-20.07.
8558         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
8559         * scripts/move-if-change: Update to version 2012-01-06 07:23.
8560
8561 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
8562
8563         * debug/fgetws_u_chk.c: Fix leading whitespaces.
8564         * elf/sln.c: Likewise.
8565         * hurd/hurd/ioctl.h: Likewise.
8566         * hurd/hurdmalloc.c: Likewise.
8567         * hurd/xattr.c: Likewise.
8568         * include/shlib-compat.h: Likewise.
8569         * inet/ruserpass.c: Likewise.
8570         * libio/iofgets_u.c: Likewise.
8571         * libio/iofgetws_u.c: Likewise.
8572         * locale/programs/ld-identification.c: Likewise.
8573         * locale/programs/ld-time.c: Likewise.
8574         * mach/msg-destroy.c: Likewise.
8575         * nss/nss_files/files-netgrp.c: Likewise.
8576         * resolv/res_data.c: Likewise.
8577         * soft-fp/op-1.h: Likewise.
8578         * soft-fp/op-2.h: Likewise.
8579         * soft-fp/op-4.h: Likewise.
8580         * soft-fp/op-common.h: Likewise.
8581         * stdio-common/printf_fphex.c: Likewise.
8582         * stdlib/strtod_l.c: Likewise.
8583         * sunrpc/rpc/clnt.h: Likewise.
8584         * sysdeps/generic/framestate.c: Likewise.
8585         * sysdeps/i386/bsd-_setjmp.S: Likewise.
8586         * sysdeps/i386/bsd-setjmp.S: Likewise.
8587         * sysdeps/i386/__longjmp.S: Likewise.
8588         * sysdeps/i386/setjmp.S: Likewise.
8589         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
8590         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
8591         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
8592         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
8593         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
8594         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
8595         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
8596         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
8597         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
8598         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
8599         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
8600         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
8601         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
8602         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
8603         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
8604         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
8605         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
8606         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
8607         * sysdeps/ieee754/support.c: Likewise.
8608         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
8609         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
8610         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
8611         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
8612         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
8613         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
8614         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
8615         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
8616         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
8617         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
8618         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
8619         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
8620         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
8621         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
8622         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
8623         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
8624         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
8625         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
8626
8627 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
8628
8629         * posix/transbug.c: Remove executable mode.
8630
8631 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
8632
8633         * crypt/speeds.c: Remove trailing whitespace.
8634         * dlfcn/default.c: Likewise.
8635         * elf/ifuncdep2.c: Likewise.
8636         * elf/ifuncmain1.c: Likewise.
8637         * elf/ifuncmain1vis.c: Likewise.
8638         * elf/testobj.h: Likewise.
8639         * elf/tst-stackguard1.c: Likewise.
8640         * gmon/sys/gmon.h: Likewise.
8641         * hurd/hurdmsg.c: Likewise.
8642         * hurd/new-fd.c: Likewise.
8643         * hurd/ports-get.c: Likewise.
8644         * iconvdata/ibm1008_420.c: Likewise.
8645         * inet/tst-getni1.c: Likewise.
8646         * inet/tst-getni2.c: Likewise.
8647         * libio/ioungetc.c: Likewise.
8648         * libio/wfiledoalloc.c: Likewise.
8649         * manual/libm-err-tab.pl: Likewise.
8650         * math/w_dremf.c: Likewise.
8651         * misc/ftruncate.c: Likewise.
8652         * posix/bug-glob2.c: Likewise.
8653         * posix/tst-pcre.c: Likewise.
8654         * posix/wait4.c: Likewise.
8655         * resolv/README: Likewise.
8656         * resolv/res_debug.h: Likewise.
8657         * resolv/tst-inet_ntop.c: Likewise.
8658         * setjmp/bug269-setjmp.c: Likewise.
8659         * soft-fp/extended.h: Likewise.
8660         * soft-fp/op-1.h: Likewise.
8661         * soft-fp/op-2.h: Likewise.
8662         * soft-fp/op-4.h: Likewise.
8663         * soft-fp/op-8.h: Likewise.
8664         * soft-fp/testit.c: Likewise.
8665         * stdio-common/bug16.c: Likewise.
8666         * stdlib/random.c: Likewise.
8667         * sunrpc/rpcsvc/rquota.x: Likewise.
8668         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
8669         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
8670         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
8671         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
8672         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
8673         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
8674         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
8675         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
8676         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
8677         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
8678         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
8679         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
8680         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
8681         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
8682         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
8683         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
8684         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
8685         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
8686         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
8687         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
8688         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
8689         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
8690         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
8691         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
8692         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
8693         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
8694         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
8695         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
8696         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
8697         * sysdeps/ieee754/s_lib_version.c: Likewise.
8698         * sysdeps/mach/hurd/check_fds.c: Likewise.
8699         * sysdeps/mach/hurd/getsockname.c: Likewise.
8700         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
8701         * sysdeps/mach/hurd/recvfrom.c: Likewise.
8702         * sysdeps/powerpc/bits/link.h: Likewise.
8703         * sysdeps/powerpc/dl-procinfo.c: Likewise.
8704         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
8705         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
8706         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
8707         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
8708         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
8709         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
8710         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
8711         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
8712         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
8713         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
8714         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
8715         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
8716         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
8717         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
8718         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
8719         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
8720         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
8721         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
8722         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
8723         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
8724         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
8725         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
8726         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
8727         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
8728         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
8729         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
8730         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
8731         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
8732         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
8733         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
8734         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
8735         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
8736         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
8737         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
8738         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
8739         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
8740         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
8741         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
8742         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
8743         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
8744         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
8745         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
8746         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
8747         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
8748         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
8749         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
8750         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
8751         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
8752         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
8753         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
8754         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
8755         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
8756         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
8757         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
8758         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
8759         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
8760         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
8761         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
8762         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
8763         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
8764         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
8765         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
8766         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
8767         * sysdeps/powerpc/sysdep.h: Likewise.
8768         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
8769         * sysdeps/s390/s390-64/sub_n.S: Likewise.
8770         * sysdeps/sh/dl-trampoline.S: Likewise.
8771         * sysdeps/sh/memset.S: Likewise.
8772         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
8773         * sysdeps/sh/strlen.S: Likewise.
8774         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
8775         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
8776         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
8777         * sysdeps/sparc/sparc32/rem.S: Likewise.
8778         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
8779         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
8780         * sysdeps/sparc/sparc32/strchr.S: Likewise.
8781         * sysdeps/sparc/sparc32/udiv.S: Likewise.
8782         * sysdeps/sparc/sparc32/urem.S: Likewise.
8783         * sysdeps/sparc/sparc64/add_n.S: Likewise.
8784         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
8785         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
8786         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
8787         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
8788         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
8789         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
8790         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
8791         * sysdeps/unix/bsd/times.c: Likewise.
8792         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
8793         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
8794         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
8795         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
8796         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
8797         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
8798         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
8799         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
8800         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
8801         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
8802         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
8803         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
8804         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
8805         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
8806         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
8807         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
8808         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
8809         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
8810         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
8811         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
8812         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
8813         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
8814         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
8815         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
8816         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
8817         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
8818         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
8819         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
8820         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
8821         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
8822         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
8823         * sysdeps/x86_64/strcspn.S: Likewise.
8824
8825 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
8826
8827         * locale/C-translit.h: Revert #include <stdint.h> because this is a
8828         generated file.  Regenerate properly from gen-translit.pl.
8829         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
8830         locale/C-translit.h.
8831
8832 2013-06-05  Andreas Schwab  <schwab@suse.de>
8833
8834         [BZ #15100]
8835         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
8836         week as 6 instead of -1.
8837         * time/tst-strptime.c (day_tests): Add test case.
8838
8839 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
8840
8841         * sysdeps/generic/math_private.h
8842         (libc_feholdexcept_setround_53bit): Replace with
8843         libc_feholdsetround_53bit.
8844         (libc_feupdateenv_53bit): Replace with
8845         libc_feresetround_53bit.
8846         (SET_RESTORE_ROUND_53BIT): Adjust.
8847
8848 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
8849
8850         * string/test-strchrnul.c: Add copyright header.
8851
8852         * posix/tst-getaddrinfo4.c: Increase test timeout.
8853
8854 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
8855
8856         [BZ #15536]
8857         * math/libm-test.inc (MAX_EXP): Remove
8858         (MIN_EXP): Define.
8859         (ulp): Use MIN_EXP - MANT_DIG.
8860         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
8861
8862 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
8863
8864         * po/be.po: Revert last change.
8865         * po/zh_CN.po: Likewise.
8866         * po/header.pot: Likewise.
8867
8868 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
8869
8870         * Makefile ($(common-objpfx)linkobj/libc.so): Define
8871         link-libc-deps to empty as target-specific variable.
8872         * Makerules (link-libc-args): New variable.
8873         (libc-for-link): Likewise.
8874         (link-libc-deps): Likewise.
8875         (lib%.so): Depend on $(link-libc-deps).  Link with
8876         $(link-libc-args).
8877         (build-module): Link with $(link-libc-args).
8878         (build-module-asneeded): Likewise.
8879         (build-module-helper-objlist): Filter out $(link-libc-deps) from
8880         list of objects.
8881         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
8882         target-specific variable.
8883         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
8884         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
8885         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
8886         libc.
8887         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
8888         libc and ld.so.
8889         ($(objpfx)libpcprofile.so): Likewise.
8890         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
8891         libc_nonshared.a.
8892         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
8893         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
8894         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
8895         $(link-libc-deps).
8896         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
8897         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
8898         * login/Makefile ($(objpfx)libutil.so): Likewise.
8899         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
8900         * math/Makefile ($(objpfx)libm.so): Likewise.
8901         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
8902         $(objpfx)libnsl.so): Define libc-for-link as target-specific
8903         variable instead of depending directly on libc.
8904         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
8905         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
8906         $(link-libc-deps).
8907         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
8908         libc.
8909         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
8910         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
8911         ($(objpfx)libanl.so): Likewise.
8912         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
8913         ld.so.
8914         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
8915         $(link-libc-deps).
8916         * sysdeps/i386/fpu/Makefile: Remove file.
8917         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
8918         ($(objpfx)libm.so): Remove dependency on ld.so.
8919
8920 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
8921
8922         [BZ # 15553]
8923         * nis/yp_xdr.c (XDRMAXNAME): Define.
8924         (XDRMAXRECORD): Define.
8925         (xdr_domainname): Use XDRMAXNAME.
8926         (xdr_mapname): Likewise.
8927         (xdr_peername): Likewise.
8928         (xdr_keydat): Use XDRMAXRECORD.
8929         (xdr_valdat): Likewise.
8930
8931 2013-05-30  Jeff Law  <law@redhat.com>
8932
8933         [BZ #14256]
8934         * manual/errno.texi (ESTALE): Update to account for more than
8935         just NFS file systems.
8936         * sysdeps/gnu/errlist.c: Regenerated.
8937
8938 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
8939
8940         [BZ #15465]
8941         * elf/Makefile (tests): Add tst-null-argv.
8942         (modules-names):  Add tst-null-argv-lib.
8943         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
8944         (tst-null-argv-ENV): Set environment for tst-null-argv.
8945         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
8946         (RTLD_PROGNAME): New macro.
8947         * elf/tst-null-argv.c: New test case.
8948         * elf/tst-null-argv-lib.c: Library for test case.
8949         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
8950         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
8951         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
8952         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
8953         * elf/dl-init.c (call_init): Likewise.
8954         (_dl_init): Likewise.
8955         * elf/dl-load.c (print_search_path): Likewise.
8956         (_dl_map_object): Likewise.
8957         * elf/dl-lookup.c (do_lookup_x): Likewise.
8958         (add_dependency): Likewise.
8959         (_dl_lookup_symbol_x): Likewise.
8960         (_dl_debug_bindings): Likewise.
8961         * elf/dl-open.c (_dl_show_scope): Likewise.
8962         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
8963         * elf/dl-version.c (match_symbol): Likewise.
8964         (_dl_check_map_versions): Likewise.
8965         * elf/rtld.c (dl_main): Likewise.
8966         (print_unresolved): Use RTLD_PROGNAME.
8967         (print_missing_version): Likewise.
8968         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
8969         (elf_machine_rela): Likewise.
8970         * sysdeps/powerpc/powerpc32/dl-machine.c
8971         (__process_machine_rela): Likewise.
8972         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
8973         Likewise.
8974         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
8975         Likewise.
8976         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
8977         Likewise.
8978         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
8979         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
8980         Likewise.
8981         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
8982         Likewise.
8983         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
8984
8985 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
8986
8987         * po/be.po: Add descriptive title.
8988         * po/zh_CN.po: Likewise.
8989         * po/header.pot: Likewise.
8990
8991 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
8992
8993         * locale/programs/locarchive.c (create_archive): Inlucde fname in
8994         error message.
8995         (enlarge_archive): Likewise.
8996
8997 2013-05-28  Ben North  <ben@redfrontdoor.org>
8998
8999         * manual/arith.texi (frexp): It is the magnitude of the return
9000         value which lies in [0.5, 1), not the return value itself.
9001
9002 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9003
9004         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9005
9006 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
9007
9008         * stdio-common/bug26.c (main): Correct fscanf template.
9009
9010         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
9011         declare _dl_skip_args.
9012
9013         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
9014         Don't declare.
9015
9016         * manual/platform.texi: Add missing @end deftypefun.
9017
9018 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
9019
9020         [BZ #15529]
9021         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
9022         bit of mantissa of 2^16382.
9023         * math/libm-test.inc (hypot_test_data): Add more tests.
9024
9025         * math/libm-test.inc: Add drem and pow10 to list of tested
9026         functions.
9027         (pow10_test): New function.
9028         (drem_test): Likewise.
9029         (drem_test_tonearest): Likewise.
9030         (drem_test_towardzero): Likewise.
9031         (drem_test_downward): Likewise.
9032         (drem_test_upward): Likewise.
9033         (main): Call the new functions.
9034
9035         * math/libm-test.inc (finite_test_data): Remove.
9036         (finite_test): Run tests from isfinite_test_data.
9037         (gamma_test_data): Remove.
9038         (gamma_test): Run tests from lgamma_test_data.
9039         * sysdeps/i386/fpu/libm-test-ulps: Update.
9040         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9041
9042 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9043
9044         * manual/platform.texi: Add PowerPC PPR function set documentation.
9045         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
9046         implementation.
9047
9048 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
9049
9050         * math/libm-test.inc (MAX_EXP): Define.
9051         (ULPDIFF): Define.
9052         (ulp): New function.
9053         (check_float_internal): Use ULPDIFF.
9054         (cpow_test): Disable failing test.
9055         (check_ulp): Test ulp() implemetnation.
9056         (main): Call check_ulp before starting tests.
9057
9058 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
9059
9060         * math/gen-libm-test.pl (generate_testfile): Do not handle
9061         START_DATA and END_DATA.
9062         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
9063         END_DATA.
9064         (acos_tonearest_test_data): Likewise.
9065         (acos_towardzero_test_data): Likewise.
9066         (acos_downward_test_data): Likewise.
9067         (acos_upward_test_data): Likewise.
9068         (acosh_test_data): Likewise.
9069         (asin_test_data): Likewise.
9070         (asin_tonearest_test_data): Likewise.
9071         (asin_towardzero_test_data): Likewise.
9072         (asin_downward_test_data): Likewise.
9073         (asin_upward_test_data): Likewise.
9074         (asinh_test_data): Likewise.
9075         (atan_test_data): Likewise.
9076         (atanh_test_data): Likewise.
9077         (atan2_test_data): Likewise.
9078         (cabs_test_data): Likewise.
9079         (cacos_test_data): Likewise.
9080         (cacosh_test_data): Likewise.
9081         (carg_test_data): Likewise.
9082         (casin_test_data): Likewise.
9083         (casinh_test_data): Likewise.
9084         (catan_test_data): Likewise.
9085         (catanh_test_data): Likewise.
9086         (cbrt_test_data): Likewise.
9087         (ccos_test_data): Likewise.
9088         (ccosh_test_data): Likewise.
9089         (ceil_test_data): Likewise.
9090         (cexp_test_data): Likewise.
9091         (cimag_test_data): Likewise.
9092         (clog_test_data): Likewise.
9093         (clog10_test_data): Likewise.
9094         (conj_test_data): Likewise.
9095         (copysign_test_data): Likewise.
9096         (cos_test_data): Likewise.
9097         (cos_tonearest_test_data): Likewise.
9098         (cos_towardzero_test_data): Likewise.
9099         (cos_downward_test_data): Likewise.
9100         (cos_upward_test_data): Likewise.
9101         (cosh_test_data): Likewise.
9102         (cosh_tonearest_test_data): Likewise.
9103         (cosh_towardzero_test_data): Likewise.
9104         (cosh_downward_test_data): Likewise.
9105         (cosh_upward_test_data): Likewise.
9106         (cpow_test_data): Likewise.
9107         (cproj_test_data): Likewise.
9108         (creal_test_data): Likewise.
9109         (csin_test_data): Likewise.
9110         (csinh_test_data): Likewise.
9111         (csqrt_test_data): Likewise.
9112         (ctan_test_data): Likewise.
9113         (ctan_tonearest_test_data): Likewise.
9114         (ctan_towardzero_test_data): Likewise.
9115         (ctan_downward_test_data): Likewise.
9116         (ctan_upward_test_data): Likewise.
9117         (ctanh_test_data): Likewise.
9118         (ctanh_tonearest_test_data): Likewise.
9119         (ctanh_towardzero_test_data): Likewise.
9120         (ctanh_downward_test_data): Likewise.
9121         (ctanh_upward_test_data): Likewise.
9122         (erf_test_data): Likewise.
9123         (erfc_test_data): Likewise.
9124         (exp_test_data): Likewise.
9125         (exp_tonearest_test_data): Likewise.
9126         (exp_towardzero_test_data): Likewise.
9127         (exp_downward_test_data): Likewise.
9128         (exp_upward_test_data): Likewise.
9129         (exp10_test_data): Likewise.
9130         (exp2_test_data): Likewise.
9131         (expm1_test_data): Likewise.
9132         (fabs_test_data): Likewise.
9133         (fdim_test_data): Likewise.
9134         (finite_test_data): Likewise.
9135         (floor_test_data): Likewise.
9136         (fma_test_data): Likewise.
9137         (fma_towardzero_test_data): Likewise.
9138         (fma_downward_test_data): Likewise.
9139         (fma_upward_test_data): Likewise.
9140         (fmax_test_data): Likewise.
9141         (fmin_test_data): Likewise.
9142         (fmod_test_data): Likewise.
9143         (fpclassify_test_data): Likewise.
9144         (frexp_test_data): Likewise.
9145         (gamma_test_data): Likewise.
9146         (hypot_test_data): Likewise.
9147         (ilogb_test_data): Likewise.
9148         (isfinite_test_data): Likewise.
9149         (isgreater_test_data): Likewise.
9150         (isgreaterequal_test_data): Likewise.
9151         (isinf_test_data): Likewise.
9152         (isless_test_data): Likewise.
9153         (islessequal_test_data): Likewise.
9154         (islessgreater_test_data): Likewise.
9155         (isnan_test_data): Likewise.
9156         (isnormal_test_data): Likewise.
9157         (issignaling_test_data): Likewise.
9158         (isunordered_test_data): Likewise.
9159         (j0_test_data): Likewise.
9160         (j1_test_data): Likewise.
9161         (jn_test_data): Likewise.
9162         (ldexp_test_data): Likewise.
9163         (lgamma_test_data): Likewise.
9164         (lrint_test_data): Likewise.
9165         (lrint_tonearest_test_data): Likewise.
9166         (lrint_towardzero_test_data): Likewise.
9167         (lrint_downward_test_data): Likewise.
9168         (lrint_upward_test_data): Likewise.
9169         (llrint_test_data): Likewise.
9170         (llrint_tonearest_test_data): Likewise.
9171         (llrint_towardzero_test_data): Likewise.
9172         (llrint_downward_test_data): Likewise.
9173         (llrint_upward_test_data): Likewise.
9174         (log_test_data): Likewise.
9175         (log10_test_data): Likewise.
9176         (log1p_test_data): Likewise.
9177         (log2_test_data): Likewise.
9178         (logb_test_data): Likewise.
9179         (logb_downward_test_data): Likewise.
9180         (lround_test_data): Likewise.
9181         (llround_test_data): Likewise.
9182         (modf_test_data): Likewise.
9183         (nearbyint_test_data): Likewise.
9184         (nextafter_test_data): Likewise.
9185         (nexttoward_test_data): Likewise.
9186         (pow_test_data): Likewise.
9187         (pow_tonearest_test_data): Likewise.
9188         (pow_towardzero_test_data): Likewise.
9189         (pow_downward_test_data): Likewise.
9190         (pow_upward_test_data): Likewise.
9191         (remainder_test_data): Likewise.
9192         (remainder_tonearest_test_data): Likewise.
9193         (remainder_towardzero_test_data): Likewise.
9194         (remainder_downward_test_data): Likewise.
9195         (remainder_upward_test_data): Likewise.
9196         (remquo_test_data): Likewise.
9197         (rint_test_data): Likewise.
9198         (rint_tonearest_test_data): Likewise.
9199         (rint_towardzero_test_data): Likewise.
9200         (rint_downward_test_data): Likewise.
9201         (rint_upward_test_data): Likewise.
9202         (round_test_data): Likewise.
9203         (scalb_test_data): Likewise.
9204         (scalbn_test_data): Likewise.
9205         (scalbln_test_data): Likewise.
9206         (signbit_test_data): Likewise.
9207         (sin_test_data): Likewise.
9208         (sin_tonearest_test_data): Likewise.
9209         (sin_towardzero_test_data): Likewise.
9210         (sin_downward_test_data): Likewise.
9211         (sin_upward_test_data): Likewise.
9212         (sincos_test_data): Likewise.
9213         (sinh_test_data): Likewise.
9214         (sinh_tonearest_test_data): Likewise.
9215         (sinh_towardzero_test_data): Likewise.
9216         (sinh_downward_test_data): Likewise.
9217         (sinh_upward_test_data): Likewise.
9218         (sqrt_test_data): Likewise.
9219         (tan_test_data): Likewise.
9220         (tan_tonearest_test_data): Likewise.
9221         (tan_towardzero_test_data): Likewise.
9222         (tan_downward_test_data): Likewise.
9223         (tan_upward_test_data): Likewise.
9224         (tanh_test_data): Likewise.
9225         (tgamma_test_data): Likewise.
9226         (trunc_test_data): Likewise.
9227         (y0_test_data): Likewise.
9228         (y1_test_data): Likewise.
9229         (yn_test_data): Likewise.
9230         (significand_test_data): Likewise.
9231
9232         * math/gen-libm-test.pl (@functions): Remove variable.
9233         (generate_testfile): Don't handle START and END lines.
9234         * math/libm-test.inc (START): New macro.
9235         (END): Likewise.
9236         (END_COMPLEX): Likewise.
9237         (acos_test): Use END macro without arguments.
9238         (acos_test_tonearest): Likewise.
9239         (acos_test_towardzero): Likewise.
9240         (acos_test_downward): Likewise.
9241         (acos_test_upward): Likewise.
9242         (acosh_test): Likewise.
9243         (asin_test): Likewise.
9244         (asin_test_tonearest): Likewise.
9245         (asin_test_towardzero): Likewise.
9246         (asin_test_downward): Likewise.
9247         (asin_test_upward): Likewise.
9248         (asinh_test): Likewise.
9249         (atan_test): Likewise.
9250         (atanh_test): Likewise.
9251         (atan2_test): Likewise.
9252         (cabs_test): Likewise.
9253         (cacos_test): Use END_COMPLEX macro without arguments.
9254         (cacosh_test): Likewise.
9255         (carg_test): Use END macro without arguments.
9256         (casin_test): Use END_COMPLEX macro without arguments.
9257         (casinh_test): Likewise.
9258         (catan_test): Likewise.
9259         (catanh_test): Likewise.
9260         (cbrt_test): Use END macro without arguments.
9261         (ccos_test): Use END_COMPLEX macro without arguments.
9262         (ccosh_test): Likewise.
9263         (ceil_test): Use END macro without arguments.
9264         (cexp_test): Use END_COMPLEX macro without arguments.
9265         (cimag_test): Use END macro without arguments.
9266         (clog_test): Use END_COMPLEX macro without arguments.
9267         (clog10_test): Likewise.
9268         (conj_test): Likewise.
9269         (copysign_test): Use END macro without arguments.
9270         (cos_test): Likewise.
9271         (cos_test_tonearest): Likewise.
9272         (cos_test_towardzero): Likewise.
9273         (cos_test_downward): Likewise.
9274         (cos_test_upward): Likewise.
9275         (cosh_test): Likewise.
9276         (cosh_test_tonearest): Likewise.
9277         (cosh_test_towardzero): Likewise.
9278         (cosh_test_downward): Likewise.
9279         (cosh_test_upward): Likewise.
9280         (cpow_test): Use END_COMPLEX macro without arguments.
9281         (cproj_test): Likewise.
9282         (creal_test): Use END macro without arguments.
9283         (csin_test): Use END_COMPLEX macro without arguments.
9284         (csinh_test): Likewise.
9285         (csqrt_test): Likewise.
9286         (ctan_test): Likewise.
9287         (ctan_test_tonearest): Likewise.
9288         (ctan_test_towardzero): Likewise.
9289         (ctan_test_downward): Likewise.
9290         (ctan_test_upward): Likewise.
9291         (ctanh_test): Likewise.
9292         (ctanh_test_tonearest): Likewise.
9293         (ctanh_test_towardzero): Likewise.
9294         (ctanh_test_downward): Likewise.
9295         (ctanh_test_upward): Likewise.
9296         (erf_test): Use END macro without arguments.
9297         (erfc_test): Likewise.
9298         (exp_test): Likewise.
9299         (exp_test_tonearest): Likewise.
9300         (exp_test_towardzero): Likewise.
9301         (exp_test_downward): Likewise.
9302         (exp_test_upward): Likewise.
9303         (exp10_test): Likewise.
9304         (exp2_test): Likewise.
9305         (expm1_test): Likewise.
9306         (fabs_test): Likewise.
9307         (fdim_test): Likewise.
9308         (finite_test): Likewise.
9309         (floor_test): Likewise.
9310         (fma_test): Likewise.
9311         (fma_test_towardzero): Likewise.
9312         (fma_test_downward): Likewise.
9313         (fma_test_upward): Likewise.
9314         (fmax_test): Likewise.
9315         (fmin_test): Likewise.
9316         (fmod_test): Likewise.
9317         (fpclassify_test): Likewise.
9318         (frexp_test): Likewise.
9319         (gamma_test): Likewise.
9320         (hypot_test): Likewise.
9321         (ilogb_test): Likewise.
9322         (isfinite_test): Likewise.
9323         (isgreater_test): Likewise.
9324         (isgreaterequal_test): Likewise.
9325         (isinf_test): Likewise.
9326         (isless_test): Likewise.
9327         (islessequal_test): Likewise.
9328         (islessgreater_test): Likewise.
9329         (isnan_test): Likewise.
9330         (isnormal_test): Likewise.
9331         (issignaling_test): Likewise.
9332         (isunordered_test): Likewise.
9333         (j0_test): Likewise.
9334         (j1_test): Likewise.
9335         (jn_test): Likewise.
9336         (ldexp_test): Likewise.
9337         (lgamma_test): Likewise.
9338         (lrint_test): Likewise.
9339         (lrint_test_tonearest): Likewise.
9340         (lrint_test_towardzero): Likewise.
9341         (lrint_test_downward): Likewise.
9342         (lrint_test_upward): Likewise.
9343         (llrint_test): Likewise.
9344         (llrint_test_tonearest): Likewise.
9345         (llrint_test_towardzero): Likewise.
9346         (llrint_test_downward): Likewise.
9347         (llrint_test_upward): Likewise.
9348         (log_test): Likewise.
9349         (log10_test): Likewise.
9350         (log1p_test): Likewise.
9351         (log2_test): Likewise.
9352         (logb_test): Likewise.
9353         (logb_test_downward): Likewise.
9354         (lround_test): Likewise.
9355         (llround_test): Likewise.
9356         (modf_test): Likewise.
9357         (nearbyint_test): Likewise.
9358         (nextafter_test): Likewise.
9359         (nexttoward_test): Likewise.
9360         (pow_test): Likewise.
9361         (pow_test_tonearest): Likewise.
9362         (pow_test_towardzero): Likewise.
9363         (pow_test_downward): Likewise.
9364         (pow_test_upward): Likewise.
9365         (remainder_test): Likewise.
9366         (remainder_test_tonearest): Likewise.
9367         (remainder_test_towardzero): Likewise.
9368         (remainder_test_downward): Likewise.
9369         (remainder_test_upward): Likewise.
9370         (remquo_test): Likewise.
9371         (rint_test): Likewise.
9372         (rint_test_tonearest): Likewise.
9373         (rint_test_towardzero): Likewise.
9374         (rint_test_downward): Likewise.
9375         (rint_test_upward): Likewise.
9376         (round_test): Likewise.
9377         (scalb_test): Likewise.
9378         (scalbn_test): Likewise.
9379         (scalbln_test): Likewise.
9380         (signbit_test): Likewise.
9381         (sin_test): Likewise.
9382         (sin_test_tonearest): Likewise.
9383         (sin_test_towardzero): Likewise.
9384         (sin_test_downward): Likewise.
9385         (sin_test_upward): Likewise.
9386         (sincos_test): Likewise.
9387         (sinh_test): Likewise.
9388         (sinh_test_tonearest): Likewise.
9389         (sinh_test_towardzero): Likewise.
9390         (sinh_test_downward): Likewise.
9391         (sinh_test_upward): Likewise.
9392         (sqrt_test): Likewise.
9393         (tan_test): Likewise.
9394         (tan_test_tonearest): Likewise.
9395         (tan_test_towardzero): Likewise.
9396         (tan_test_downward): Likewise.
9397         (tan_test_upward): Likewise.
9398         (tanh_test): Likewise.
9399         (tgamma_test): Likewise.
9400         (trunc_test): Likewise.
9401         (y0_test): Likewise.
9402         (y1_test): Likewise.
9403         (yn_test): Likewise.
9404         (significand_test): Likewise.
9405
9406 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
9407
9408         [BZ #15381]
9409         * libio/genops.c (_IO_no_init): Initialize wide struct info.
9410
9411 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
9412
9413         [BZ #14894]
9414         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
9415         __ppc_mdoio and __ppc_mdoom.
9416         * manual/platform.texi: Document new functions __ppc_yield,
9417         __ppc_mdoio and __ppc_mdoom.
9418
9419 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
9420
9421         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
9422         (main): Mention "tls" pseudo-hwcap is legacy.
9423         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
9424
9425 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
9426
9427         * math/gen-libm-test.pl (parse_args): Output only string of
9428         arguments as text for test name, not full call or descriptions of
9429         tests for extra outputs.
9430         (generate_testfile): Do not pass function name to parse_args.
9431         Generate this_func variable from START.
9432         * math/libm-test.inc (struct test_f_f_data): Rename test_name
9433         field to arg_str.
9434         (struct test_ff_f_data): Likewise.
9435         (test_ff_f_data_nexttoward): Likewise.
9436         (struct test_fi_f_data): Likewise.
9437         (struct test_fl_f_data): Likewise.
9438         (struct test_if_f_data): Likewise.
9439         (struct test_fff_f_data): Likewise.
9440         (struct test_c_f_data): Likewise.
9441         (struct test_f_f1_data): Likewise.  Remove field extra_name.
9442         (struct test_fF_f1_data): Likewise.
9443         (struct test_ffI_f1_data): Likewise.
9444         (struct test_c_c_data): Rename test_name field to arg_str.
9445         (struct test_cc_c_data): Likewise.
9446         (struct test_f_i_data): Likewise.
9447         (struct test_ff_i_data): Likewise.
9448         (struct test_f_l_data): Likewise.
9449         (struct test_f_L_data): Likewise.
9450         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
9451         and extra2_name.
9452         (COMMON_TEST_SETUP): New macro.
9453         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
9454         (COMMON_TEST_CLEANUP): Likewise.
9455         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
9456         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
9457         macros.
9458         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
9459         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
9460         macros.
9461         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
9462         (RUN_TEST_fff_f): Take argument string.  Call new setup and
9463         cleanup macros.
9464         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
9465         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
9466         macros.
9467         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
9468         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
9469         macros.
9470         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
9471         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
9472         cleanup macros.
9473         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
9474         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
9475         cleanup macros.
9476         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
9477         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
9478         cleanup macros.
9479         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
9480         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
9481         macros.
9482         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
9483         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
9484         macros.
9485         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
9486         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
9487         macros.
9488         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
9489         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
9490         cleanup macros.
9491         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
9492         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
9493         cleanup macros.
9494         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
9495         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
9496         macros.
9497         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
9498         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
9499         cleanup macros.
9500         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
9501         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
9502         macros.
9503         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
9504         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
9505         macros.
9506         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
9507         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
9508         cleanup macros.
9509         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
9510
9511 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
9512
9513         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
9514         to _sifields.sigfault.
9515         (si_addr_lsb): Define new macro.
9516         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
9517         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
9518         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
9519
9520 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
9521
9522         [BZ #15441]
9523         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
9524         returns -1.
9525         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
9526         null return -1.
9527         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
9528         loading the domain.
9529
9530 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
9531
9532         * math/gen-libm-test.pl (parse_args): Do not include expected
9533         result in test name.
9534         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
9535         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
9536         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
9537         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
9538         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
9539         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9540
9541 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
9542
9543         * benchtests/Makefile: Sort function entries.
9544
9545         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
9546         tanh, asinh, acosh, atanh.
9547         * benchtests/acos-inputs: New file.
9548         * benchtests/acosh-inputs: New file.
9549         * benchtests/asin-inputs: New file.
9550         * benchtests/asinh-inputs: New file.
9551         * benchtests/atanh-inputs: New file.
9552         * benchtests/cosh-inputs: New file.
9553         * benchtests/log-inputs: New file.
9554         * benchtests/sinh-inputs: New file.
9555         * benchtests/tanh-inputs: New file.
9556
9557 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
9558
9559         [BZ #15339]
9560         * posix/tst-getaddrinfo4.c: New test.
9561         * posix/Makefile (tests): Add it.
9562
9563 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
9564
9565         [BZ #15339]
9566         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
9567         when no services were used.
9568         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
9569         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
9570
9571 2013-05-21  Andreas Schwab  <schwab@suse.de>
9572
9573         [BZ #15014]
9574         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
9575         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
9576         successful.
9577         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
9578         redundant variable declarations and reallocation of buffer when
9579         parsing as IPv6 address.  Always set NSS status when called from
9580         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
9581         buffer too small.  Correct computation of needed size.
9582         * nss/Makefile (tests): Add test-digits-dots.
9583         * nss/test-digits-dots.c: New test.
9584
9585 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
9586
9587         * benchtests/Makefile: Remove instructions for adding
9588         benchmark tests.
9589         * benchtests/README: New file to explain how to execute and
9590         enhance the benchmark tests.
9591
9592 2013-05-21  Andreas Schwab  <schwab@suse.de>
9593
9594         [BZ #15493]
9595         * setjmp/Makefile (tests): Add tst-sigsetjmp.
9596         * setjmp/tst-sigsetjmp.c: New test.
9597
9598 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
9599
9600         * sysdeps/x86_64/memset.S (memset): New implementation.
9601         (__bzero): Likewise.
9602         (__memset_tail): New function.
9603
9604 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
9605
9606         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
9607         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
9608         __memcpy_sse2_unaligned ifunc selection.
9609         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
9610         Add memcpy-sse2-unaligned.S.
9611         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
9612         Add: __memcpy_sse2_unaligned.
9613
9614 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
9615
9616         [BZ #15490]
9617         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
9618         math_force_eval before restoring floating-point envrionment.
9619         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
9620         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
9621         Likewise.
9622         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
9623         <math_private.h>.
9624         (__nearbyintl): Use math_force_eval before restoring
9625         floating-point environment.
9626         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
9627
9628         * math/gen-libm-test.pl (special_functions): Remove.
9629         (parse_args): Don't handle TEST_extra.  Handle functions with no
9630         return value.
9631         * math/libm-test.inc (struct test_sincos_data): Replace with
9632         struct test_fFF_11_data.
9633         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
9634         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
9635         (sincos_test_data): Change element type to struct
9636         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
9637         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
9638         RUN_TEST_LOOP_sincos.
9639         * math/README.libm-test: Don't mention special handling of
9640         individual functions.
9641         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
9642         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
9643         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
9644         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
9645         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
9646         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9647
9648         * math/gen-libm-test.pl (get_variable): Remove function.
9649         (parse_args): Don't show pointer parameters to call in test
9650         names.  Use "extra output N" in test names for extra outputs
9651         rather than naming variables.
9652
9653 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
9654
9655         [BZ #15488]
9656         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
9657         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
9658         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
9659         double tests.
9660         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
9661         disable.
9662         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
9663         check_long_double.
9664
9665         * math/gen-libm-test.pl (@tests): Remove variable.
9666         ($count): Likewise.
9667         (new_test): Remove function.
9668         (show_exceptions): New function.
9669         (special_functions): Use show_exceptions instead of new_test.
9670         (parse_args): Likewise.
9671         (generate_testfile): Pass only function name in generated call to
9672         print_max_error or print_complex_max_error.
9673         (get_ulps): Do not handle complex tests specially.
9674         (output_test): Rename to ...
9675         (get_all_ulps_for_test): ... this.  Return a string rather than
9676         printing to a file.  Require ulps to be present.
9677         (output_ulps): Generate arrays rather than #defines.
9678         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
9679         (struct ulp_data): New type.
9680         (BUILD_COMPLEX_ULP): Remove macro.
9681         (compare_ulp_data): New function.
9682         (find_ulps): Likewise.
9683         (find_test_ulps): Likewise.
9684         (find_function_ulps): Likewise.
9685         (find_complex_function_ulps): Likewise.
9686         (print_max_error): Determine allowed ulps using
9687         find_function_ulps.
9688         (print_complex_max_error): Determine allowed ulps using
9689         find_complex_function_ulps.
9690         (check_float_internal): Determine max ulps using find_test_ulps.
9691         (check_float): Do not take max_ulp parameter.  Update call to
9692         check_float_internal.
9693         (check_complex): Likewise.
9694         (check_int): Do not take max_ulp parameter.
9695         (check_long): Likewise.
9696         (check_bool): Likewise.
9697         (check_longlong): Likewise.
9698         (struct test_f_f_data): Remove max_ulp field.
9699         (struct test_ff_f_data): Likewise.
9700         (struct test_ff_f_data_nexttoward): Likewise.
9701         (struct test_fi_f_data): Likewise.
9702         (struct test_fl_f_data): Likewise.
9703         (struct test_if_f_data): Likewise.
9704         (struct test_fff_f_data): Likewise.
9705         (struct test_c_f_data): Likewise.
9706         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
9707         (struct test_fF_f1_data): Likewise.
9708         (struct test_ffI_f1_data): Likewise.
9709         (struct test_c_c_data): Remove max_ulp field.
9710         (struct test_cc_c_data): Likewise.
9711         (struct test_f_i_data): Likewise.
9712         (struct test_ff_i_data): Likewise.
9713         (struct test_f_l_data): Likewise.
9714         (struct test_f_L_data): Likewise.
9715         (struct test_sincos_data): Likewise.
9716         (RUN_TEST_f_f): Do not handle ulps.
9717         (RUN_TEST_LOOP_f_f): Likewise.
9718         (RUN_TEST_2_f): Likewise.
9719         (RUN_TEST_LOOP_2_f): Likewise.
9720         (RUN_TEST_fff_f): Likewise.
9721         (RUN_TEST_LOOP_fff_f): Likewise.
9722         (RUN_TEST_c_f): Likewise.
9723         (RUN_TEST_LOOP_c_f): Likewise.
9724         (RUN_TEST_f_f1): Likewise.
9725         (RUN_TEST_LOOP_f_f1): Likewise.
9726         (RUN_TEST_fF_f1): Likewise.
9727         (RUN_TEST_LOOP_fF_f1): Likewise.
9728         (RUN_TEST_fI_f1): Likewise.
9729         (RUN_TEST_LOOP_fI_f1): Likewise.
9730         (RUN_TEST_ffI_f1): Likewise.
9731         (RUN_TEST_LOOP_ffI_f1): Likewise.
9732         (RUN_TEST_c_c): Likewise.
9733         (RUN_TEST_LOOP_c_c): Likewise.
9734         (RUN_TEST_cc_c): Likewise.
9735         (RUN_TEST_LOOP_cc_c): Likewise.
9736         (RUN_TEST_f_i): Likewise.
9737         (RUN_TEST_LOOP_f_i): Likewise.
9738         (RUN_TEST_f_i_tg): Likewise.
9739         (RUN_TEST_LOOP_f_i_tg): Likewise.
9740         (RUN_TEST_ff_i_tg): Likewise.
9741         (RUN_TEST_LOOP_ff_i_tg): Likewise.
9742         (RUN_TEST_f_b): Likewise.
9743         (RUN_TEST_LOOP_f_b): Likewise.
9744         (RUN_TEST_f_b_tg): Likewise.
9745         (RUN_TEST_LOOP_f_b_tg): Likewise.
9746         (RUN_TEST_f_l): Likewise.
9747         (RUN_TEST_LOOP_f_l): Likewise.
9748         (RUN_TEST_f_L): Likewise.
9749         (RUN_TEST_LOOP_f_L): Likewise.
9750         (RUN_TEST_sincos): Likewise.
9751         (RUN_TEST_LOOP_sincos): Likewise.
9752
9753 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
9754
9755         [BZ #15480]
9756         [BZ #15485]
9757         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
9758         main case of finite arguments, set rounding mode to FE_TONEAREST
9759         and discard exceptions.
9760         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
9761         exceptions.
9762         (remainder_tonearest_test_data): New variable.
9763         (remainder_test_tonearest): New function.
9764         (remainder_towardzero_test_data): New variable.
9765         (remainder_test_towardzero): New function.
9766         (remainder_downward_test_data): New variable.
9767         (remainder_test_downward): New function.
9768         (remainder_upward_test_data): New variable.
9769         (remainder_test_upward): New function.
9770         (main): Call the new test functions.
9771
9772         * math/libm-test.inc (struct test_f_f1_data): Remove field
9773         extra_init.
9774         (struct test_fF_f1_data): Likewise.
9775         (struct test_ffI_f1_data): Likewise.
9776         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
9777         based on value of EXTRA_EXPECTED.
9778         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
9779         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
9780         EXTRA_VAR based on value of EXTRA_EXPECTED.
9781         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
9782         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
9783         EXTRA_VAR based on value of EXTRA_EXPECTED.
9784         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
9785         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
9786         EXTRA_VAR based on value of EXTRA_EXPECTED.
9787         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
9788         * math/gen-libm-test.pl (parse_args): Don't output initializers
9789         for extra output values.
9790
9791         * math/libm-test.inc (check_int): Expect result to be exactly
9792         equal to expected value and do not handle ulps.
9793         (check_long): Likewise.
9794         (check_longlong): Likewise.
9795
9796         * math/libm-test.inc (ceil_test_data): Test for "inexact"
9797         exceptions.
9798         (cimag_test_data): Likewise.
9799         (conj_test_data): Likewise.
9800         (copysign_test_data): Likewise.
9801         (cproj_test_data): Likewise.
9802         (creal_test_data): Likewise.
9803         (fabs_test_data): Likewise.
9804         (fdim_test_data): Likewise.
9805         (finite_test_data): Likewise.
9806         (floor_test_data): Likewise.
9807         (fmax_test_data): Likewise.
9808         (fmin_test_data): Likewise.
9809         (fmod_test_data): Likewise.
9810         (fpclassify_test_data): Likewise.
9811         (frexp_test_data): Likewise.
9812         (ilogb_test_data): Likewise.
9813         (isfinite_test_data): Likewise.
9814         (isgreater_test_data): Likewise.
9815         (isgreaterequal_test_data): Likewise.
9816         (isinf_test_data): Likewise.
9817         (isless_test_data): Likewise.
9818         (islessequal_test_data): Likewise.
9819         (islessgreater_test_data): Likewise.
9820         (isnan_test_data): Likewise.
9821         (isnormal_test_data): Likewise.
9822         (issignaling_test_data): Likewise.
9823         (isunordered_test_data): Likewise.
9824         (ldexp_test_data): Likewise.
9825         (lrint_test_data): Likewise.
9826         (lrint_test_data) [TEST_FLOAT]: Disable one test.
9827         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
9828         (lrint_tonearest_test_data): Test for "inexact" exceptions.
9829         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
9830         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
9831         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
9832         test input.
9833         (lrint_towardzero_test_data): Test for "inexact" exceptions.
9834         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
9835         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
9836         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
9837         that test input.
9838         (lrint_downward_test_data): Test for "inexact" exceptions.
9839         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
9840         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
9841         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
9842         test input.
9843         (lrint_upward_test_data): Test for "inexact" exceptions.
9844         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
9845         test input.
9846         (llrint_test_data): Test for "inexact" exceptions.
9847         (llrint_test_data) [TEST_FLOAT]: Disable one test.
9848         (llrint_tonearest_test_data): Test for "inexact" exceptions.
9849         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
9850         (llrint_towardzero_test_data): Test for "inexact" exceptions.
9851         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
9852         (llrint_downward_test_data): Test for "inexact" exceptions.
9853         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
9854         (llrint_upward_test_data): Test for "inexact" exceptions.
9855         (logb_test_data): Likewise.
9856         (logb_downward_test_data): Likewise.
9857         (nextafter_test_data): Likewise.
9858         (nexttoward_test_data): Likewise.
9859         (remainder_test_data): Likewise.
9860         (remquo_test_data): Likewise.
9861         (scalbn_test_data): Likewise.
9862         (scalbln_test_data): Likewise.
9863         (signbit_test_data): Likewise.
9864         (sqrt_test_data): Likewise.
9865         (significand_test_data): Likewise.
9866
9867 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
9868
9869         [BZ #15424]
9870         * benchtests/bench-modf.c (struct args): Mark arg0 as
9871         volatile.
9872         * scripts/bench.pl: Mark members of struct args as volatile.
9873
9874 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9875
9876         [BZ # 15497]
9877         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
9878         negative infinity on POWER6 or lower.
9879         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
9880
9881 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
9882
9883         [BZ #15442]
9884         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
9885         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
9886         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
9887         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
9888         (_FP_SETQNAN): New macro.
9889         (_FP_SETQNAN_SEMIRAW): Likewise.
9890         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
9891         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
9892         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
9893         (FP_EXTEND): Use _FP_FRAC_SNANP.
9894         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
9895         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
9896         into account.
9897         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
9898         New macro.
9899         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
9900         Likewise.
9901
9902 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
9903
9904         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
9905         with DIVIDE_BY_ZERO_EXCEPTION.
9906         (gamma_test_data): Likewise.
9907         (lgamma_test_data): Likewise.
9908         (log_test_data): Likewise.
9909         (log10_test_data): Likewise.
9910         (log2_test_data): Likewise.
9911         (tgamma_test_data): Likewise.
9912
9913         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
9914         (acos_test_tonearest): Likewise.
9915         (acos_test_towardzero): Likewise.
9916         (acos_test_downward): Likewise.
9917         (acos_test_upward): Likewise.
9918         (acosh_test): Likewise.
9919         (asin_test): Likewise.
9920         (asin_test_tonearest): Likewise.
9921         (asin_test_towardzero): Likewise.
9922         (asin_test_downward): Likewise.
9923         (asin_test_upward): Likewise.
9924         (asinh_test): Likewise.
9925         (atan_test): Likewise.
9926         (atanh_test): Likewise.
9927         (atan2_test): Likewise.
9928         (cabs_test): Likewise.
9929         (cacos_test): Likewise.
9930         (cacosh_test): Likewise.
9931         (casin_test): Likewise.
9932         (casinh_test): Likewise.
9933         (catan_test): Likewise.
9934         (catanh_test): Likewise.
9935         (cbrt_test): Likewise.
9936         (ccos_test): Likewise.
9937         (ccosh_test): Likewise.
9938         (cexp_test): Likewise.
9939         (clog_test): Likewise.
9940         (clog10_test): Likewise.
9941         (cos_test): Likewise.
9942         (cos_test_tonearest): Likewise.
9943         (cos_test_towardzero): Likewise.
9944         (cos_test_downward): Likewise.
9945         (cos_test_upward): Likewise.
9946         (cosh_test): Likewise.
9947         (cosh_test_tonearest): Likewise.
9948         (cosh_test_towardzero): Likewise.
9949         (cosh_test_downward): Likewise.
9950         (cosh_test_upward): Likewise.
9951         (cpow_test): Likewise.
9952         (csin_test): Likewise.
9953         (csinh_test): Likewise.
9954         (csqrt_test): Likewise.
9955         (ctan_test): Likewise.
9956         (ctan_test_tonearest): Likewise.
9957         (ctan_test_towardzero): Likewise.
9958         (ctan_test_downward): Likewise.
9959         (ctan_test_upward): Likewise.
9960         (ctanh_test): Likewise.
9961         (ctanh_test_tonearest): Likewise.
9962         (ctanh_test_towardzero): Likewise.
9963         (ctanh_test_downward): Likewise.
9964         (ctanh_test_upward): Likewise.
9965         (erf_test): Likewise.
9966         (erfc_test): Likewise.
9967         (exp_test): Likewise.
9968         (exp_test_tonearest): Likewise.
9969         (exp_test_towardzero): Likewise.
9970         (exp_test_downward): Likewise.
9971         (exp_test_upward): Likewise.
9972         (exp10_test): Likewise.
9973         (exp2_test): Likewise.
9974         (expm1_test): Likewise.
9975         (fmod_test): Likewise.
9976         (gamma_test): Likewise.
9977         (hypot_test): Likewise.
9978         (j0_test): Likewise.
9979         (j1_test): Likewise.
9980         (jn_test): Likewise.
9981         (lgamma_test): Likewise.
9982         (log_test): Likewise.
9983         (log10_test): Likewise.
9984         (log1p_test): Likewise.
9985         (log2_test): Likewise.
9986         (logb_test_downward): Likewise.
9987         (pow_test): Likewise.
9988         (pow_test_tonearest): Likewise.
9989         (pow_test_towardzero): Likewise.
9990         (pow_test_downward): Likewise.
9991         (pow_test_upward): Likewise.
9992         (remainder_test): Likewise.
9993         (remquo_test): Likewise.
9994         (sin_test): Likewise.
9995         (sin_test_tonearest): Likewise.
9996         (sin_test_towardzero): Likewise.
9997         (sin_test_downward): Likewise.
9998         (sin_test_upward): Likewise.
9999         (sincos_test): Likewise.
10000         (sinh_test): Likewise.
10001         (sinh_test_tonearest): Likewise.
10002         (sinh_test_towardzero): Likewise.
10003         (sinh_test_downward): Likewise.
10004         (sinh_test_upward): Likewise.
10005         (sqrt_test): Likewise.
10006         (tan_test): Likewise.
10007         (tan_test_tonearest): Likewise.
10008         (tan_test_towardzero): Likewise.
10009         (tan_test_downward): Likewise.
10010         (tan_test_upward): Likewise.
10011         (tanh_test): Likewise.
10012         (tgamma_test): Likewise.
10013         (y0_test): Likewise.
10014         (y1_test): Likewise.
10015         (yn_test): Likewise.
10016
10017         * math/gen-libm-test.pl (adjust_arg): Remove function.
10018         (special_function): Remove argument $in_func.  Only handle
10019         generating output for tables of tests, not inside functions.
10020         (parse_args): Likewise.
10021         (generate_testfile): Remove variable $in_func.  Update call to
10022         parse_args.
10023         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
10024         (MINUS_ZERO_INIT): Rename macro to minus_zero.
10025         (PLUS_INFTY_INIT): Rename macro to plus_infty.
10026         (MINUS_INFTY_INIT): Rename macro to minus_infty.
10027         (QNAN_VALUE_INIT): Rename macro to qnan_value.
10028         (MAX_VALUE_INIT): Rename macro to max_value.
10029         (MIN_VALUE_INIT): Rename macro to min_value.
10030         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
10031         (plus_zero): Remove variable.
10032         (minus_zero): Likewise.
10033         (plus_infty): Likewise.
10034         (minus_infty): Likewise.
10035         (qnan_value): Likewise.
10036         (max_value): Likewise.
10037         (min_value): Likewise.
10038         (min_subnorm_value): Likewise.
10039
10040 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
10041
10042         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
10043         uint64_t or uint32_t usage.
10044         * crypt/sha256-block.c: Likewise.
10045         * crypt/sha256-crypt.c: Likewise.
10046         * crypt/sha256.c: Likewise.
10047         * crypt/sha512-block.c: Likewise.
10048         * crypt/sha512-crypt.c: Likewise.
10049         * crypt/sha512.c: Likewise.
10050         * debug/backtrace-tst.c: Likewise.
10051         * debug/pcprofiledump.c: Likewise.
10052         * elf/cache.c: Likewise.
10053         * elf/dl-cache.c: Likewise.
10054         * elf/dl-misc.c: Likewise.
10055         * elf/dl-profile.c: Likewise.
10056         * elf/dl-support.c: Likewise.
10057         * elf/ldconfig.c: Likewise.
10058         * elf/sprof.c: Likewise.
10059         * iconv/dummy-repertoire.c: Likewise.
10060         * iconv/iconv_charmap.c: Likewise.
10061         * iconv/skeleton.c: Likewise.
10062         * iconvdata/8bit-generic.c: Likewise.
10063         * iconvdata/cp737.h: Likewise.
10064         * iconvdata/cp775.h: Likewise.
10065         * iconvdata/ibm1008.h: Likewise.
10066         * iconvdata/ibm1025.h: Likewise.
10067         * iconvdata/ibm1046.h: Likewise.
10068         * iconvdata/ibm1097.h: Likewise.
10069         * iconvdata/ibm1112.h: Likewise.
10070         * iconvdata/ibm1122.h: Likewise.
10071         * iconvdata/ibm1123.h: Likewise.
10072         * iconvdata/ibm1124.h: Likewise.
10073         * iconvdata/ibm1129.h: Likewise.
10074         * iconvdata/ibm1130.h: Likewise.
10075         * iconvdata/ibm1132.h: Likewise.
10076         * iconvdata/ibm1133.h: Likewise.
10077         * iconvdata/ibm1137.h: Likewise.
10078         * iconvdata/ibm1140.h: Likewise.
10079         * iconvdata/ibm1141.h: Likewise.
10080         * iconvdata/ibm1142.h: Likewise.
10081         * iconvdata/ibm1143.h: Likewise.
10082         * iconvdata/ibm1144.h: Likewise.
10083         * iconvdata/ibm1145.h: Likewise.
10084         * iconvdata/ibm1146.h: Likewise.
10085         * iconvdata/ibm1147.h: Likewise.
10086         * iconvdata/ibm1148.h: Likewise.
10087         * iconvdata/ibm1149.h: Likewise.
10088         * iconvdata/ibm1153.h: Likewise.
10089         * iconvdata/ibm1154.h: Likewise.
10090         * iconvdata/ibm1155.h: Likewise.
10091         * iconvdata/ibm1156.h: Likewise.
10092         * iconvdata/ibm1157.h: Likewise.
10093         * iconvdata/ibm1158.h: Likewise.
10094         * iconvdata/ibm1160.h: Likewise.
10095         * iconvdata/ibm1161.h: Likewise.
10096         * iconvdata/ibm1162.h: Likewise.
10097         * iconvdata/ibm1163.h: Likewise.
10098         * iconvdata/ibm1164.h: Likewise.
10099         * iconvdata/ibm1166.h: Likewise.
10100         * iconvdata/ibm1167.h: Likewise.
10101         * iconvdata/ibm12712.h: Likewise.
10102         * iconvdata/ibm1390.h: Likewise.
10103         * iconvdata/ibm1399.h: Likewise.
10104         * iconvdata/ibm16804.h: Likewise.
10105         * iconvdata/ibm4517.h: Likewise.
10106         * iconvdata/ibm4899.h: Likewise.
10107         * iconvdata/ibm4909.h: Likewise.
10108         * iconvdata/ibm4971.h: Likewise.
10109         * iconvdata/ibm5347.h: Likewise.
10110         * iconvdata/ibm803.h: Likewise.
10111         * iconvdata/ibm856.h: Likewise.
10112         * iconvdata/ibm901.h: Likewise.
10113         * iconvdata/ibm902.h: Likewise.
10114         * iconvdata/ibm9030.h: Likewise.
10115         * iconvdata/ibm9066.h: Likewise.
10116         * iconvdata/ibm921.h: Likewise.
10117         * iconvdata/ibm922.h: Likewise.
10118         * iconvdata/ibm9448.h: Likewise.
10119         * iconvdata/isiri-3342.h: Likewise.
10120         * iconvdata/jis0201.h: Likewise.
10121         * include/link.h: Likewise.
10122         * include/netdb.h: Likewise.
10123         * inet/check_native.c: Likewise.
10124         * inet/check_pf.c: Likewise.
10125         * inet/getipv4sourcefilter.c: Likewise.
10126         * inet/getnameinfo.c: Likewise.
10127         * inet/getsourcefilter.c: Likewise.
10128         * inet/htonl.c: Likewise.
10129         * inet/setipv4sourcefilter.c: Likewise.
10130         * inet/setsourcefilter.c: Likewise.
10131         * inet/test-inet6_opt.c: Likewise.
10132         * inet/tst-network.c: Likewise.
10133         * locale/C-collate.c: Likewise.
10134         * locale/C-ctype.c: Likewise.
10135         * locale/C-time.c: Likewise.
10136         * locale/C-translit.h: Likewise.
10137         * locale/loadarchive.c: Likewise.
10138         * locale/programs/3level.h: Likewise.
10139         * locale/programs/charmap.c: Likewise.
10140         * locale/programs/charmap.h: Likewise.
10141         * locale/programs/ld-address.c: Likewise.
10142         * locale/programs/ld-collate.c: Likewise.
10143         * locale/programs/ld-ctype.c: Likewise.
10144         * locale/programs/ld-identification.c: Likewise.
10145         * locale/programs/ld-measurement.c: Likewise.
10146         * locale/programs/ld-messages.c: Likewise.
10147         * locale/programs/ld-monetary.c: Likewise.
10148         * locale/programs/ld-name.c: Likewise.
10149         * locale/programs/ld-numeric.c: Likewise.
10150         * locale/programs/ld-paper.c: Likewise.
10151         * locale/programs/ld-telephone.c: Likewise.
10152         * locale/programs/ld-time.c: Likewise.
10153         * locale/programs/linereader.c: Likewise.
10154         * locale/programs/locale.c: Likewise.
10155         * locale/programs/locarchive.c: Likewise.
10156         * locale/programs/locfile.h: Likewise.
10157         * locale/programs/repertoire.c: Likewise.
10158         * locale/programs/simple-hash.c: Likewise.
10159         * locale/programs/simple-hash.h: Likewise.
10160         * malloc/memusage.c: Likewise.
10161         * malloc/memusagestat.c: Likewise.
10162         * nis/nis_defaults.c: Likewise.
10163         * nis/nis_hash.c: Likewise.
10164         * nis/nis_print.c: Likewise.
10165         * nis/nis_xdr.c: Likewise.
10166         * nscd/connections.c: Likewise.
10167         * nscd/hstcache.c: Likewise.
10168         * nscd/nscd_gethst_r.c: Likewise.
10169         * nscd/nscd_getserv_r.c: Likewise.
10170         * nscd/nscd_helper.c: Likewise.
10171         * nscd/servicescache.c: Likewise.
10172         * nss/makedb.c: Likewise.
10173         * nss/nss_db/db-XXX.c: Likewise.
10174         * nss/nss_db/db-initgroups.c: Likewise.
10175         * nss/nss_db/db-netgrp.c: Likewise.
10176         * nss/nss_files/files-network.c: Likewise.
10177         * nss/nss_files/files-parse.c: Likewise.
10178         * posix/bug-regex5.c: Likewise.
10179         * posix/fnmatch_loop.c: Likewise.
10180         * posix/regcomp.c: Likewise.
10181         * posix/regexec.c: Likewise.
10182         * posix/tst-rfc3484-2.c: Likewise.
10183         * posix/tst-rfc3484-3.c: Likewise.
10184         * posix/tst-rfc3484.c: Likewise.
10185         * resolv/nss_dns/dns-canon.c: Likewise.
10186         * resolv/nss_dns/dns-network.c: Likewise.
10187         * resolv/res_init.c: Likewise.
10188         * resolv/res_mkquery.c: Likewise.
10189         * resolv/tst-aton.c: Likewise.
10190         * stdlib/cxa_atexit.c: Likewise.
10191         * stdlib/cxa_finalize.c: Likewise.
10192         * stdlib/gen-fpioconst.c: Likewise.
10193         * stdlib/strtol_l.c: Likewise.
10194         * string/tst-endian.c: Likewise.
10195         * sunrpc/auth_des.c: Likewise.
10196         * sunrpc/clnt_udp.c: Likewise.
10197         * sunrpc/rtime.c: Likewise.
10198         * sunrpc/svcauth_des.c: Likewise.
10199         * sunrpc/xdr.c: Likewise.
10200         * sunrpc/xdr_intXX_t.c: Likewise.
10201         * sunrpc/xdr_rec.c: Likewise.
10202         * sysdeps/generic/ldconfig.h: Likewise.
10203         * sysdeps/generic/ldsodefs.h: Likewise.
10204         * sysdeps/generic/memusage.h: Likewise.
10205         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
10206         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
10207         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
10208         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
10209         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
10210         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
10211         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
10212         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
10213         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
10214         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
10215         * sysdeps/posix/getaddrinfo.c: Likewise.
10216         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
10217         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
10218         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
10219         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
10220         * sysdeps/powerpc/test-gettimebase.c: Likewise.
10221         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
10222         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
10223         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
10224         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
10225         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
10226         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
10227         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
10228         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
10229         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
10230         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
10231         * sysdeps/x86_64/dl-tls.h: Likewise.
10232         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
10233         * time/alt_digit.c: Likewise.
10234         * time/era.c: Likewise.
10235         * wcsmbs/tst-c16c32-1.c: Likewise.
10236
10237 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
10238
10239         * math/libm-test.inc (struct test_sincos_data): New type.
10240         (RUN_TEST_LOOP_sincos): New macro.
10241         (sincos_test_data): New variable.
10242         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
10243
10244 2013-05-16  Richard Henderson  <rth@redhat.com>
10245
10246         * math/atest-exp2.c (LIMB64): New macro.
10247         (CONSTSZ): New macro.
10248         (mp_exp1, mp_exp_m1, mp_log2): New variables.
10249         (hexdig): Move ...
10250         (print_mpn_fp): ... to function scope.
10251         (read_mpn_hex): Remove.
10252         (get_log2): Remove.
10253         (exp2_mpn): Use mp_log2.
10254         (main): Use mp_exp1.
10255
10256 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
10257
10258         * math/libm-test.inc: Remove comment about not testing "inexact"
10259         exceptions.
10260         (INEXACT_EXCEPTION): New macro.
10261         (NO_INEXACT_EXCEPTION): Likewise.
10262         (INVALID_EXCEPTION_OK): Update value.
10263         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
10264         (OVERFLOW_EXCEPTION_OK): Likewise.
10265         (UNDERFLOW_EXCEPTION_OK): Likewise.
10266         (IGNORE_ZERO_INF_SIGN): Likewise.
10267         (ERRNO_UNCHANGED): Likewise.
10268         (ERRNO_EDOM): Likewise.
10269         (ERRNO_ERANGE): Likewise.
10270         (test_exceptions): Handle testing "inexact" exceptions.
10271         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
10272         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
10273         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
10274         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
10275         INEXACT_EXCEPTION.
10276         (rint_towardzero_test_data): Likewise.
10277         (rint_downward_test_data): Likewise.
10278         (rint_upward_test_data): Likewise.
10279
10280         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
10281         with OVERFLOW_EXCEPTION.
10282         (exp10_test_data): Likewise.
10283         (exp2_test_data): Likewise.
10284         (expm1_test_data): Likewise.
10285         (lgamma_test_data): Likewise.
10286         (pow_test_data): Likewise.
10287         (tgamma_test_data): Likewise.
10288         (yn_test_data): Remove duplicate test of overflow.
10289
10290         * math/libm-test.inc (struct test_cc_c_data): New type.
10291         (RUN_TEST_LOOP_cc_c): New macro.
10292         (cpow_test_data): New variable.
10293         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
10294
10295         * math/libm-test.inc (struct test_f_L_data): New type.
10296         (RUN_TEST_LOOP_f_L): New macro.
10297         (llrint_test_data): New variable.
10298         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
10299         (llrint_tonearest_test_data): New variable.
10300         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
10301         (llrint_towardzero_test_data): New variable.
10302         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
10303         (llrint_downward_test_data): New variable.
10304         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
10305         (llrint_upward_test_data): New variable.
10306         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
10307         (llround_test_data): New variable.
10308         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
10309
10310 2013-05-13  Peter Collingbourne  <pcc@google.com>
10311
10312         * math/atest-exp2.c (get_log2): Remove const attribute.
10313
10314 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
10315
10316         * math/libm-test.inc (struct test_f_l_data): New type.
10317         (RUN_TEST_LOOP_f_l): New macro.
10318         (lrint_test_data): New variable.
10319         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
10320         (lrint_tonearest_test_data): New variable.
10321         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
10322         (lrint_towardzero_test_data): New variable.
10323         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
10324         (lrint_downward_test_data): New variable.
10325         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
10326         (lrint_upward_test_data): New variable.
10327         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
10328         (lround_test_data): New variable.
10329         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
10330
10331 2013-05-15  Peter Collingbourne  <pcc@google.com>
10332
10333         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
10334         (EXTRACT_WORDS64) Use where appropriate.
10335         (INSERT_WORDS64) Likewise.
10336
10337         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
10338         constraints with x constraints.
10339         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
10340
10341         * malloc/obstack.c (_obstack_compat): Add initializer.
10342
10343 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
10344
10345         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
10346         si_trapno and add si_addr_lsb to _sifields.sigfault.
10347         (si_trapno): Remove macro.
10348         (si_addr_lsb): Define new macro.
10349         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
10350
10351 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
10352
10353         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
10354         instead of TEST_f_l.
10355         (llrint_test_tonearest): Likewise.
10356         (llrint_test_towardzero): Likewise.
10357         (llrint_test_downward): Likewise.
10358         (llrint_test_upward): Likewise.
10359         (llround_test): Likewise.
10360
10361         * math/libm-test.inc (struct test_f_i_data): Add comment.
10362         (RUN_TEST_LOOP_f_b): New macro.
10363         (RUN_TEST_LOOP_f_b_tg): Likewise.
10364         (finite_test_data): New variable.
10365         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
10366         (isfinite_test_data): New variable.
10367         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
10368         (isinf_test_data): New variable.
10369         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
10370         (isnan_test_data): New variable.
10371         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
10372         (isnormal_test_data): New variable.
10373         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
10374         (issignaling_test_data): New variable.
10375         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
10376         (signbit_test_data): New variable.
10377         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
10378
10379         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
10380         with INVALID_EXCEPTION.
10381         (acosh_test_data): Likewise.
10382         (asin_test_data): Likewise.
10383         (atanh_test_data): Likewise.
10384         (fmod_test_data): Likewise.
10385         (log_test_data): Likewise.
10386         (log10_test_data): Likewise.
10387         (log2_test_data): Likewise.
10388         (pow_test_data): Likewise.
10389         (sqrt_test_data): Likewise.
10390         (y0_test_data): Likewise.
10391         (y1_test_data): Likewise.
10392         (yn_test_data): Likewise.
10393
10394         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
10395         function contents.
10396
10397         * math/libm-test.inc (struct test_ff_i_data): New type.
10398         (RUN_TEST_LOOP_ff_i_tg): New macro.
10399         (isgreater_test_data): New variable.
10400         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
10401         (isgreaterequal_test_data): New variable.
10402         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
10403         (isless_test_data): New variable.
10404         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
10405         (islessequal_test_data): New variable.
10406         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
10407         (islessgreater_test_data): New variable.
10408         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
10409         (isunordered_test_data): New variable.
10410         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
10411
10412 2013-05-14  David S. Miller  <davem@davemloft.net>
10413
10414         * sysdeps/sparc/fpu/libm-test-ulps: Update.
10415
10416 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
10417
10418         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
10419
10420         * math/libm-test.inc (struct test_fF_f1_data): Change type of
10421         extra_test to int.
10422         (struct test_f_i_data): Change type of max_ulp to int.
10423
10424         * math/libm-test.inc (test_ffI_f1_data): New type.
10425         (RUN_TEST_LOOP_ffI_f1): New macro.
10426         (remquo_test_data): New variable.
10427         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
10428
10429         * setjmp/tst-setjmp-fp.c: New file.
10430         * setjmp/Makefile (tests): Add tst-setjmp-fp.
10431         (link-libm): New variable.
10432         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
10433
10434         * math/libm-test.inc (struct test_f_i_data): New type.
10435         (RUN_TEST_LOOP_f_i): New macro.
10436         (RUN_TEST_LOOP_f_i_tg): Likewise.
10437         (fpclassify_test_data): New variable.
10438         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
10439         (ilogb_test_data): New variable.
10440         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
10441
10442         * math/libm-test.inc (scalbln_test): Correct function name in END
10443         call.
10444
10445         * math/libm-test.inc (struct test_f_f1_data): Add comment.
10446         (RUN_TEST_LOOP_fI_f1): New macro.
10447         (frexp_test_data): New variable.
10448         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
10449
10450         * math/libm-test.inc (struct test_fF_f1_data): New type.
10451         (RUN_TEST_LOOP_fF_f1): New macro.
10452         (modf_test_data): New variable.
10453         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
10454
10455         * math/libm-test.inc (struct test_f_f1_data): New type.
10456         (RUN_TEST_LOOP_f_f1): New macro.
10457         (gamma_test_data): New variable.
10458         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
10459         (lgamma_test_data): New variable.
10460         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
10461
10462 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
10463
10464         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
10465         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
10466         (main): Comment "tls" pseudo-hwcap.
10467
10468 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
10469
10470         * math/libm-test.inc (struct test_fl_f_data): New type.
10471         (RUN_TEST_LOOP_fl_f): New variable.
10472         (scalbln_test_data): New variable.
10473         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
10474
10475         * math/libm-test.inc (struct test_fi_f_data): New type.
10476         (RUN_TEST_LOOP_fi_f): New macro.
10477         (ldexp_test_data): New variable.
10478         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
10479         (scalbn_test_data): New variable.
10480         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
10481
10482         * math/libm-test.inc (struct test_c_f_data): New type.
10483         (RUN_TEST_LOOP_c_f): New macro.
10484         (cabs_test_data): New variable.
10485         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
10486         (carg_test_data): New variable.
10487         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
10488         (cimag_test_data): New variable.
10489         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
10490         (creal_test_data): New variable.
10491         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
10492
10493         * math/libm-test.inc (struct test_if_f_data): New type.
10494         (RUN_TEST_LOOP_if_f): New macro.
10495         (jn_test_data): New variable.
10496         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
10497         (yn_test_data): New variable.
10498         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
10499
10500         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
10501
10502 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10503
10504         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
10505         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
10506
10507 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
10508
10509         * benchtests/Makefile (CPPFLAGS-nonlib): Add
10510         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
10511         (bench-deps): Add bench-timing.h.
10512         * benchtests-bench-skeleton.c: Include bench-timing.h.
10513         (main): Use TIMING_* macros instead of clock_gettime.
10514         * benchtests/bench-timing.h: New file.
10515
10516         [BZ #14582]
10517         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
10518         Renamed from _LIB_VERSION.
10519         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
10520
10521 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
10522
10523         * math/libm-test.inc (struct test_fff_f_data): New type.
10524         (RUN_TEST_LOOP_fff_f): New macro.
10525         (fma_test_data): New variable.
10526         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
10527         (fma_towardzero_test_data): New variable.
10528         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
10529         (fma_downward_test_data): New variable.
10530         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
10531         (fma_upward_test_data): New variable.
10532         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
10533
10534         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
10535         (struct test_c_c_data): New type.
10536         (RUN_TEST_LOOP_c_c): New macro.
10537         (cacos_test_data): New variable.
10538         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
10539         (cacosh_test_data): New variable.
10540         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
10541         (casin_test_data): New variable.
10542         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
10543         (casinh_test_data): New variable.
10544         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
10545         (catan_test_data): New variable.
10546         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
10547         (catanh_test_data): New variable.
10548         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
10549         (ccos_test_data): New variable.
10550         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
10551         (ccosh_test_data): New variable.
10552         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
10553         (cexp_test_data): New variable.
10554         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
10555         (clog_test_data): New variable.
10556         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
10557         (clog10_test_data): New variable.
10558         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
10559         (conj_test_data): New variable.
10560         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
10561         (cproj_test_data): New variable.
10562         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
10563         (csin_test_data): New variable.
10564         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
10565         (csinh_test_data): New variable.
10566         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
10567         (csqrt_test_data): New variable.
10568         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
10569         (ctan_test_data): New variable.
10570         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
10571         (ctan_tonearest_test_data): New variable.
10572         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
10573         (ctan_towardzero_test_data): New variable.
10574         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
10575         (ctan_downward_test_data): New variable.
10576         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
10577         (ctan_upward_test_data): New variable.
10578         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
10579         (ctanh_test_data): New variable.
10580         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
10581         (ctanh_tonearest_test_data): New variable.
10582         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
10583         (ctanh_towardzero_test_data): New variable.
10584         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
10585         (ctanh_downward_test_data): New variable.
10586         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
10587         (ctanh_upward_test_data): New variable.
10588         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
10589         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
10590         of BUILD_COMPLEX.
10591
10592         * math/libm-test.inc (struct test_ff_f_data): New type.
10593         (struct test_ff_f_data_nexttoward): Likewise.
10594         (RUN_TEST_LOOP_2_f): New macro.
10595         (RUN_TEST_LOOP_ff_f): Likewise.
10596         (atan2_test_data): New variable.
10597         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
10598         (copysign_test_data): New variable.
10599         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
10600         (fdim_test_data): New variable.
10601         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
10602         (fmax_test_data): New variable.
10603         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
10604         (fmin_test_data): New variable.
10605         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
10606         (fmod_test_data): New variable.
10607         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
10608         (hypot_test_data): New variable.
10609         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
10610         (nextafter_test_data): New variable.
10611         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
10612         (nexttoward_test_data): New variable.
10613         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
10614         (pow_test_data): New variable.
10615         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
10616         (pow_tonearest_test_data): New variable.
10617         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
10618         (pow_towardzero_test_data): New variable.
10619         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
10620         (pow_downward_test_data): New variable.
10621         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
10622         (pow_upward_test_data): New variable.
10623         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
10624         (remainder_test_data): New variable.
10625         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
10626         (scalb_test_data): New variable.
10627         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
10628         * sysdeps/i386/fpu/libm-test-ulps: Update.
10629
10630 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
10631
10632         * math/libm-test.inc (fma_test): Use max_value instead of local
10633         variable fltmax.
10634         (nextafter_test): Likewise.
10635
10636         * math/libm-test.inc (acos_towardzero_test_data): New variable.
10637         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
10638         (acos_downward_test_data): New variable.
10639         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
10640         (acos_upward_test_data): New variable.
10641         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
10642         (acosh_test_data): New variable.
10643         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
10644         (asin_test_data): New variable.
10645         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
10646         (asin_tonearest_test_data): New variable.
10647         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
10648         (asin_towardzero_test_data): New variable.
10649         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
10650         (asin_downward_test_data): New variable.
10651         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
10652         (asin_upward_test_data): New variable.
10653         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
10654         (asinh_test_data): New variable.
10655         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
10656         (atan_test_data): New variable.
10657         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
10658         (atanh_test_data): New variable.
10659         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
10660         (cbrt_test_data): New variable.
10661         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
10662         (ceil_test_data): New variable.
10663         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
10664         (cos_test_data): New variable.
10665         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
10666         (cos_tonearest_test_data): New variable.
10667         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
10668         (cos_towardzero_test_data): New variable.
10669         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
10670         (cos_downward_test_data): New variable.
10671         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
10672         (cos_upward_test_data): New variable.
10673         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
10674         (cosh_test_data): New variable.
10675         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
10676         (cosh_tonearest_test_data): New variable.
10677         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
10678         (cosh_towardzero_test_data): New variable.
10679         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
10680         (cosh_downward_test_data): New variable.
10681         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
10682         (cosh_upward_test_data): New variable.
10683         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
10684         (erf_test_data): New variable.
10685         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
10686         (erfc_test_data): New variable.
10687         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
10688         (exp_test_data): New variable.
10689         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
10690         (exp_tonearest_test_data): New variable.
10691         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
10692         (exp_towardzero_test_data): New variable.
10693         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
10694         (exp_downward_test_data): New variable.
10695         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
10696         (exp_upward_test_data): New variable.
10697         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
10698         (exp10_test_data): New variable.
10699         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
10700         (exp2_test_data): New variable.
10701         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
10702         (expm1_test_data): New variable.
10703         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
10704         (fabs_test_data): New variable.
10705         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
10706         (floor_test_data): New variable.
10707         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
10708         (j0_test_data): New variable.
10709         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
10710         (j1_test_data): New variable.
10711         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
10712         (log_test_data): New variable.
10713         (log_test): Run tests with RUN_TEST_LOOP_f_f.
10714         (log10_test_data): New variable.
10715         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
10716         (log1p_test_data): New variable.
10717         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
10718         (log2_test_data): New variable.
10719         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
10720         (logb_test_data): New variable.
10721         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
10722         (logb_downward_test_data): New variable.
10723         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
10724         (nearbyint_test_data): New variable.
10725         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
10726         (rint_test_data): New variable.
10727         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
10728         (rint_tonearest_test_data): New variable.
10729         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
10730         (rint_towardzero_test_data): New variable.
10731         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
10732         (rint_downward_test_data): New variable.
10733         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
10734         (rint_upward_test_data): New variable.
10735         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
10736         (round_test_data): New variable.
10737         (round_test): Run tests with RUN_TEST_LOOP_f_f.
10738         (sin_test_data): New variable.
10739         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
10740         (sin_tonearest_test_data): New variable.
10741         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
10742         (sin_towardzero_test_data): New variable.
10743         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
10744         (sin_downward_test_data): New variable.
10745         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
10746         (sin_upward_test_data): New variable.
10747         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
10748         (sinh_test_data): New variable.
10749         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
10750         (sinh_tonearest_test_data): New variable.
10751         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
10752         (sinh_towardzero_test_data): New variable.
10753         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
10754         (sinh_downward_test_data): New variable.
10755         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
10756         (sinh_upward_test_data): New variable.
10757         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
10758         (sqrt_test_data): New variable.
10759         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
10760         (tan_test_data): New variable.
10761         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
10762         (tan_tonearest_test_data): New variable.
10763         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
10764         (tan_towardzero_test_data): New variable.
10765         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
10766         (tan_downward_test_data): New variable.
10767         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
10768         (tan_upward_test_data): New variable.
10769         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
10770         (tanh_test_data): New variable.
10771         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
10772         (tgamma_test_data): New variable.
10773         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
10774         (trunc_test_data): New variable.
10775         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
10776         (y0_test_data): New variable.
10777         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
10778         (y1_test_data): New variable.
10779         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
10780         (significand_test_data): New variable.
10781         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
10782
10783 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
10784
10785         [BZ #12387]
10786         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
10787
10788 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
10789
10790         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
10791
10792 2013-05-10  Andreas Jaeger  <aj@suse.de>
10793
10794         [BZ #15448]
10795         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
10796         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
10797
10798 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
10799
10800         * math/gen-libm-test.pl (adjust_arg): New function.
10801         (special_functions): Handle generating output in both functions
10802         and arrays.
10803         (parse_args): Likewise.
10804         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
10805         $in_func argument to parse_args.
10806         * math/libm-test.inc (struct test_f_f_data): New type.
10807         (IF_ROUND_INIT_): New macro.
10808         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
10809         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
10810         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
10811         (IF_ROUND_INIT_FE_UPWARD): Likewise.
10812         (ROUND_RESTORE_): Likewise.
10813         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
10814         (ROUND_RESTORE_FE_TONEAREST): Likewise.
10815         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
10816         (ROUND_RESTORE_FE_UPWARD): Likewise.
10817         (RUN_TEST_LOOP_f_f): New macro.
10818         (acos_test_data): New variable.
10819         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
10820         (acos_tonearest_test_data): New variable.
10821         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
10822
10823 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
10824
10825         * benchtests/bench-skeleton.c (startup): Fix coding style.
10826
10827 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
10828
10829         [BZ #6809]
10830         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
10831         negative infinity argument.
10832         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
10833         negative infinity argument.
10834         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
10835         negative infinity argument.
10836         * math/libm-test.inc (tgamma_test): Expect errno to be set for
10837         domain errors.
10838
10839 2013-05-10  Florian Weimer  <fweimer@redhat.com>
10840
10841         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
10842         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
10843         * iconv/iconv_prog.c (main): Likewise.
10844         * locale/programs/charmap-dir.c (charmap_readdir)
10845         (fopen_uncompressed): Likewise.
10846         * locale/programs/locfile.c (siblings_uncached)
10847         (write_locale_data): Use lstat64 instead of lstat.
10848         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
10849         stat.
10850
10851 2013-05-10  Andreas Jaeger  <aj@suse.de>
10852
10853         [BZ #15395]
10854         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
10855         localization.
10856         Include <locale.h>.
10857
10858 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
10859
10860         * elf/dl-close.c (_dl_close_worker): Add comments.
10861
10862 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
10863
10864         [BZ #15359]
10865         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
10866         high part of pi/2.
10867         (__ieee754_rem_pio2l): Update comments.
10868
10869         [BZ #15429]
10870         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
10871         high part of pi/2.
10872         (__ieee754_rem_pio2l): Update comments.
10873
10874         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
10875         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
10876
10877         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
10878         M_PI_4l.
10879
10880         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
10881         (M_PI_34_LOG10El): Likewise.
10882         (M_PI2_LOG10El): Likewise.
10883         (M_PI4_LOG10El): Likewise.
10884         (M_PI_LOG10El): Likewise.
10885
10886 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10887
10888         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10889
10890 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
10891
10892         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
10893         (MINUS_ZERO_INIT): Likewise.
10894         (PLUS_INFTY_INIT): Likewise.
10895         (MINUS_INFTY_INIT): Likewise.
10896         (QNAN_VALUE_INIT): Likewise.
10897         (MAX_VALUE_INIT): Likewise.
10898         (MIN_VALUE_INIT): Likewise.
10899         (MIN_SUBNORM_VALUE_INIT): Likewise.
10900         (plus_zero): Initialize with PLUS_ZERO_INIT.
10901         (minus_zero): Initialize with MINUS_ZERO_INIT.
10902         (plus_infty): Initialize with PLUS_INFTY_INIT.
10903         (minus_infty): Initialize with MINUS_INFTY_INIT.
10904         (qnan_value): Initialize with QNAN_VALUE_INIT.
10905         (max_value): Initialize with MAX_VALUE_INIT.
10906         (min_value): Initialize with MIN_VALUE_INIT.
10907         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
10908
10909         * math/libm-test.inc (RUN_TEST_if_f): New macro.
10910         (jn_test): Use TEST_if_f instead of TEST_ff_f.
10911         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
10912         (yn_test): Use TEST_if_f instead of TEST_ff_f.
10913
10914         * math/libm-test.inc (RUN_TEST_f_f): New macro.
10915         (RUN_TEST_2_f): Likewise.
10916         (RUN_TEST_ff_f): Likewise.
10917         (RUN_TEST_fi_f): Likewise.
10918         (RUN_TEST_fl_f): Likewise.
10919         (RUN_TEST_fff_f): Likewise.
10920         (RUN_TEST_c_f): Likewise.
10921         (RUN_TEST_f_f1): Likewise.
10922         (RUN_TEST_fF_f1): Likewise.
10923         (RUN_TEST_fI_f1): Likewise.
10924         (RUN_TEST_ffI_f1): Likewise.
10925         (RUN_TEST_c_c): Likewise.
10926         (RUN_TEST_cc_c): Likewise.
10927         (RUN_TEST_f_i): Likewise.
10928         (RUN_TEST_f_i_tg): Likewise.
10929         (RUN_TEST_ff_i_tg): Likewise.
10930         (RUN_TEST_f_b): Likewise.
10931         (RUN_TEST_f_b_tg): Likewise.
10932         (RUN_TEST_f_l): Likewise.
10933         (RUN_TEST_f_L): Likewise.
10934         (RUN_TEST_sincos): Likewise.
10935         * math/gen-libm-test.pl (new_test): Take new argument to indicate
10936         whether to show exceptions.  Do not include ");\n" in return
10937         value.
10938         (special_functions): Output call to RUN_TEST_sincos instead of
10939         check_float calls.  Update calls to new_test.
10940         (parse_args): Output call to single RUN_TEST_* macro instead of
10941         check_* calls and other assignments.  Update calls to new_test.
10942
10943         [BZ #2546]
10944         [BZ #2560]
10945         [BZ #5159]
10946         [BZ #15426]
10947         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
10948         input to result for tgamma overflow.
10949         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
10950         (gamma_coeff): New variable.
10951         (NCOEFF): New macro.
10952         (gamma_positive): New function.
10953         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
10954         underflow here.  Use gamma_positive instead of exp (lgamma) for
10955         other arguments.
10956         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
10957         (gamma_coeff): New variable.
10958         (NCOEFF): New macro.
10959         (gammaf_positive): New function.
10960         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
10961         underflow here.  Use gamma_positive instead of exp (lgamma) for
10962         other arguments.
10963         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
10964         (gamma_coeff): New variable.
10965         (NCOEFF): New macro.
10966         (gammal_positive): New function.
10967         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
10968         underflow here.  Use gamma_positive instead of exp (lgamma) for
10969         other arguments.
10970         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
10971         (gamma_coeff): New variable.
10972         (NCOEFF): New macro.
10973         (gammal_positive): New function.
10974         (__ieee754_gammal_r): Handle positive infinity, overflow and
10975         underflow here.  Handle NaN the same as positive infinity.  Remove
10976         check x < 0xffffffff for negative integers.  Use gamma_positive
10977         instead of exp (lgamma) for other arguments.
10978         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
10979         (gamma_coeff): New variable.
10980         (NCOEFF): New macro.
10981         (gammal_positive): New function.
10982         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
10983         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
10984         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
10985         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
10986         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
10987         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
10988         * sysdeps/generic/math_private.h (__gamma_productf): New
10989         prototype.
10990         (__gamma_product): Likewise.
10991         (__gamma_productl): Likewise.
10992         * math/Makefile (libm-calls): Add gamma_product.
10993         * math/libm-test.inc (tgamma_test): Add more tests.
10994         * sysdeps/i386/fpu/libm-test-ulps: Update.
10995         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10996
10997 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
10998
10999         * benchtests/bench-skeleton.c (main): Preheat CPU.
11000
11001 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
11002
11003         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
11004
11005 2013-05-07  Roland McGrath  <roland@hack.frob.com>
11006
11007         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
11008         and _dl_skip_args_internal.
11009
11010 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
11011
11012         * manual/message.texi (Message Translation): Talk about users.
11013         Message to key mapping impacts design.
11014
11015 2013-05-06  Roland McGrath  <roland@hack.frob.com>
11016
11017         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
11018
11019         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
11020
11021         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
11022         * sysdeps/wordsize-64/glob64.c: ... here.
11023
11024         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
11025         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
11026         New macros.
11027
11028         * debug/getlogin_r_chk.c: Moved to ...
11029         * login/getlogin_r_chk.c: ... here.
11030         * debug/Makefile (routines): Move getlogin_r_chk to ...
11031         * login/Makefile (routines): ... here.
11032         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
11033         * login/Versions (libc: GLIBC_2.4): ... here.
11034
11035         * io/poll.c (__poll): Renamed from poll.
11036         Add libc_hidden_def.
11037         (poll): Define as weak alias.
11038
11039         * debug/ptsname_r_chk.c: Moved to ...
11040         * login/ptsname_r_chk.c: ... here.
11041         * debug/Makefile (routines): Move ptsname_r_chk to ...
11042         * login/Makefile (routines): ... here.
11043         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
11044         * login/Versions (libc: GLIBC_2.4): ... here.
11045
11046         * posix/getlogin.c: Moved to ...
11047         * login/getlogin.c: ... here.
11048         * posix/getlogin_r.c: Moved to ...
11049         * login/getlogin_r.c: ... here.
11050         * posix/getlogin_r.c: Moved to ...
11051         * login/getlogin_r.c: ... here.
11052         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
11053         * login/Makefile (routines): ... here.
11054         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
11055         * login/Versions (libc: GLIBC_2.0): ... here.
11056
11057         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
11058         (setrlimit): Define as weak alias.
11059
11060         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
11061         Call __ names for open, ftruncate, and close.
11062         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
11063         (truncate): Define as weak alias.
11064
11065 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
11066
11067         * math/gen-libm-test.pl (parse_args): Initialize x before each
11068         test of frexp, modf and remquo.
11069
11070         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
11071         test signgam value.
11072
11073 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11074
11075         [BZ #15418]
11076         [BZ #15419]
11077         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
11078         internal tests.
11079         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
11080
11081 2013-05-06  Roland McGrath  <roland@hack.frob.com>
11082
11083         * elf/dl-writev.h: New file.
11084         * elf/dl-misc.c: Include it.
11085         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
11086         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
11087
11088 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
11089
11090         * math/libm-test.inc (noXFails): Remove variable.
11091         (noXPasses): Likewise.
11092         (BUILD_COMPLEX_INT): Remove macro.
11093         (print_screen): Remove xfail argument.
11094         (print_screen_max_error): Likewise.
11095         (update_stats): Likewise.
11096         (print_max_error): Likewise.  Update calls to other affected
11097         functions.
11098         (print_complex_max_error): Likewise.
11099         (test_single_exception): Update calls to print_screen.
11100         (test_single_errno): Likewise.
11101         (check_float_internal): Remove xfail argument.  Update calls to
11102         other affected functions.
11103         (check_float): Likewise.
11104         (check_complex): Likewise.
11105         (check_int): Likewise.
11106         (check_long): Likewise.
11107         (check_bool): Likewise.
11108         (check_longlong): Likewise.
11109         (main): Don't print noXFails and noXPasses.
11110         * math/gen-libm-test.pl (top level): Don't mention expected
11111         failure handling in comment.
11112         (new_test): Don't handle expected failures.
11113         (parse_args): Don't mention expected failure handling in comment.
11114         (generate_testfile): Don't handle expected failures.
11115         (parse_ulps): Likewise.
11116         (print_ulps_file): Likewise.
11117         (get_failure): Remove function.
11118         (output_test): Don't handle expected failures.
11119         * make/README.libm-test: Don't mention expected failure handling.
11120
11121         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
11122         (minus_zero): Likewise.
11123         (plus_infty): Likewise.
11124         (minus_infty): Likewise.
11125         (qnan_value): Likewise.
11126         (max_value): Likewise.
11127         (min_value): Likewise.
11128         (min_subnorm_value): Likewise.
11129         (initialize): Do not initialize those variables dynamically.
11130
11131 2013-05-03  Roland McGrath  <roland@hack.frob.com>
11132
11133         * io/open.c (__open_2): Moved to ...
11134         * io/open_2.c: ... this new file.
11135         * io/open64.c (__open64_2): Moved to ...
11136         * io/open64_2.c: ... this new file.
11137         * io/openat.c (__openat_2): Moved to ...
11138         * io/openat_2.c: ... this new file.
11139         * io/openat64.c (__openat64_2): Moved to ...
11140         * io/openat64_2.c: ... this new file.
11141         * io/Makefile (routines): Add them.
11142         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
11143         * sysdeps/unix/sysv/linux/open_2.c: File removed.
11144         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
11145         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
11146         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
11147         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
11148         (__openat64): Add hidden_ver.
11149         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
11150         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
11151
11152         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
11153         Separately conditionalize setting of GLRO(dl_sysinfo) so
11154         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
11155         as well, but the actual setting is only under [NEED_DL_SYSINFO].
11156
11157 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11158
11159         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
11160         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
11161         definition.
11162         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
11163         * sysdeps/unix/sysv/linux/powerpc/init-first.c
11164         (_libc_vdso_platform_setup): Add __vdso_time initialization.
11165         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
11166         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
11167
11168 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
11169
11170         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
11171         test signgam value.
11172
11173         * math/libm-test.inc (hypot_test): Do not use
11174         IGNORE_ZERO_INF_SIGN.
11175
11176 2013-05-03  Andreas Jaeger  <aj@suse.de>
11177
11178         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
11179         Linux 3.9.
11180         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
11181         (PF_MAX): Adjust for VSOCK change.
11182
11183 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11184
11185         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11186
11187 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
11188
11189         [BZ #15264]
11190         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
11191         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
11192         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
11193
11194 2013-05-02  David S. Miller  <davem@davemloft.net>
11195
11196         * sysdeps/sparc/fpu/libm-test-ulps: Update.
11197
11198 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
11199
11200         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
11201
11202 2013-05-01  Roland McGrath  <roland@hack.frob.com>
11203
11204         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
11205
11206 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
11207
11208         [BZ #14952]
11209         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
11210         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
11211         Use __attribute__ ((__gnu_inline__)).
11212         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
11213         Don't use __attribute__ ((__gnu_inline__)).
11214
11215 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
11216
11217         [BZ #15423]
11218         * math/s_catan.c (__catan): Handle small real or imaginary part of
11219         input specially to avoid spurious underflow.
11220         * math/s_catanf.c (__catanf): Likewise.
11221         * math/s_catanh.c (__catanh): Likewise.
11222         * math/s_catanhf.c (__catanhf): Likewise.
11223         * math/s_catanhl.c (__catanhl): Likewise.
11224         * math/s_catanl.c (__catanl): Likewise.
11225         * math/libm-test.inc (catan_test): Add more tests.
11226         (catanh_test): Likewise.
11227         * sysdeps/i386/fpu/libm-test-ulps: Update.
11228         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11229
11230 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11231
11232         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11233
11234 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
11235
11236         [BZ #15416]
11237         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
11238         accurately for denominator in atan2.
11239         * math/s_catanf.c (__catanf): Likewise.
11240         * math/s_catanh.c (__catanh): Likewise.
11241         * math/s_catanhf.c (__catanhf): Likewise.
11242         * math/s_catanhl.c (__catanhl): Likewise.
11243         * math/s_catanl.c (__catanl): Likewise.
11244         * math/libm-test.inc (catan_test): Add more tests.
11245         (catanh_test): Likewise.
11246         * sysdeps/i386/fpu/libm-test-ulps: Update.
11247         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11248
11249 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
11250
11251         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
11252
11253         * benchtests/Makefile (bench): Remove slow benchmarks.
11254         * benchtests/atan-inputs: Add slow benchmark inputs.
11255         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
11256         (BENCH_FUNC): Accept variant offset.
11257         (VARIANT): Define.
11258         * benchtests/bench-skeleton.c (main): Run benchmark for each
11259         variant.
11260         * benchtests/cos-inputs: Add slow benchmark inputs.
11261         * benchtests/exp-inputs: Likewise.
11262         * benchtests/pow-inputs: Likewise.
11263         * benchtests/sin-inputs: Likewise.
11264         * benchtests/slowatan-inputs: Remove.
11265         * benchtests/slowatan.c: Remove.
11266         * benchtests/slowcos-inputs: Remove.
11267         * benchtests/slowcos.c: Remove.
11268         * benchtests/slowexp-inputs: Remove.
11269         * benchtests/slowexp.c: Remove.
11270         * benchtests/slowpow-inputs: Remove.
11271         * benchtests/slowpow.c: Remove.
11272         * benchtests/slowsin-inputs: Remove.
11273         * benchtests/slowsin.c: Remove.
11274         * benchtests/slowtan-inputs: Remove.
11275         * benchtests/slowtan.c: Remove.
11276         * benchtests/tan-inputs: Add slow benchmark inputs.
11277         * scripts/bench.pl: Parse comments and directives.
11278
11279         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
11280         in CPPFLAGS.
11281         ($(objpfx)bench-%.c): Remove *-ITER.
11282         * benchtests/bench-modf.c: Remove definition of ITER.
11283         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
11284         (main): Loop for DURATION seconds instead of fixed number of
11285         iterations.
11286         * scripts/bench.pl: Don't expect iterations in parameters.
11287
11288 2013-04-29  Roland McGrath  <roland@hack.frob.com>
11289
11290         * io/fchdir.c (__fchdir): Renamed from fchdir.
11291         (fchdir): Define as weak alias.
11292
11293 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
11294
11295         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
11296         (ERRNO_EDOM): Likewise.
11297         (ERRNO_ERANGE): Likewise.
11298         (noErrnoTests): New variable.
11299         (init_max_error): Set errno to 0.
11300         (test_single_errno): New function.
11301         (test_errno): Likewise.
11302         (check_float_internal): Call test_errno.  Set errno to 0.
11303         (check_complex): Refer to errno tests in comment.
11304         (check_int): Call test_errno.  Set errno to 0.
11305         (check_long): Likewise.
11306         (check_bool): Likewise.
11307         (check_longlong): Likewise.
11308         (cos_test): Use ERRNO_* flags for errno tests instead of
11309         check_int.
11310         (expm1_test): Likewise.
11311         (fmod_test): Likewise.
11312         (ilogb_test): Likewise.
11313         (lgamma_test): Likewise.
11314         (pow_test): Likewise.
11315         (remainder_test): Likewise.
11316         (sin_test): Likewise.
11317         (tan_test): Likewise.
11318         (yn_test): Likewise.
11319         (initialize): Set errno to 0.
11320         (main): Print number of errno tests.
11321         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
11322
11323 2013-04-29  Andreas Jaeger  <aj@suse.de>
11324
11325         [BZ #15084]
11326         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
11327         and RES_USEVC.
11328
11329         [BZ #15085]
11330         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
11331         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
11332         unimplemented.
11333
11334         [BZ #15380]
11335         * stdlib/random.c (__initstate): Return NULL if
11336         __initstate fails.
11337
11338         [BZ #15086]
11339         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
11340         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
11341         RES_SNGLKUPREOP.
11342
11343 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11344
11345         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11346
11347 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
11348
11349         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
11350         of individual tests.
11351         (casin_test): Likewise.
11352         (casinh_test): Likewise.
11353
11354 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
11355
11356         [BZ #15409]
11357         * math/s_catan.c (__catan): Handle arguments with large real or
11358         imaginary part separately without squaring.
11359         * math/s_catanf.c (__catanf): Likewise.
11360         * math/s_catanh.c (__catanh): Likewise.
11361         * math/s_catanhf.c (__catanhf): Likewise.
11362         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
11363         and redefine.
11364         (__catanhl): Handle arguments with large real or imaginary part
11365         separately without squaring.
11366         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
11367         and redefine.
11368         (__catanl): Handle arguments with large real or imaginary part
11369         separately without squaring.
11370         * math/libm-test.inc (catan_test): Add more tests.
11371         (catanh_test): Likewise.
11372         * sysdeps/i386/fpu/libm-test-ulps: Update.
11373         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11374
11375 2013-04-27  Andreas Jaeger  <aj@suse.de>
11376
11377         [BZ #15007]
11378         * stdlib/stdlib.h: Update guards for qecvt.
11379         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
11380         <stdlib.h>.
11381
11382 2013-04-27  Allan McRae  <allan@archlinux.org>
11383
11384         * sysdeps/i386/fpu/libm-test-ulps: Update.
11385
11386 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
11387
11388         [BZ #15406]
11389         * math/s_catan.c: Include <float.h>.
11390         (__catan): Ensure underflow exception occurs for underflowed
11391         result.
11392         * math/s_catanf.c: Include <float.h>.
11393         (__catanf): Ensure underflow exception occurs for underflowed
11394         result.
11395         * math/s_catanh.c: Include <float.h>.
11396         (__catanh): Ensure underflow exception occurs for underflowed
11397         result.
11398         * math/s_catanhf.c: Include <float.h>.
11399         (__catanhf): Ensure underflow exception occurs for underflowed
11400         result.
11401         * math/s_catanhl.c: Include <float.h>.
11402         (__catanhl): Ensure underflow exception occurs for underflowed
11403         result.
11404         * math/s_catanl.c: Include <float.h>.
11405         (__catanl): Ensure underflow exception occurs for underflowed
11406         result.
11407         * math/libm-test.inc (catan_test): Add more tests.
11408         (catanh_test): Likewise.
11409
11410         [BZ #15405]
11411         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
11412         underflowed result.
11413         * math/s_ccoshf.c (__ccoshf): Likewise.
11414         * math/s_ccoshl.c (__ccoshl): Likewise.
11415         * math/s_csin.c (__csin): Likewise.
11416         * math/s_csinf.c (__csinf): Likewise.
11417         * math/s_csinh.c (__csinh): Likewise.
11418         * math/s_csinhf.c (__csinhf): Likewise.
11419         * math/s_csinhl.c (__csinhl): Likewise.
11420         * math/s_csinl.c (__csinl): Likewise.
11421         * math/libm-test.inc (ccos_test): Add more tests.
11422         (ccosh_test): Likewise.
11423         (csin_test): Likewise.
11424         (csinh_test): Likewise.
11425
11426 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11427
11428         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
11429         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
11430         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
11431         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
11432         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
11433         powerpc/power5+/fpu folders.
11434         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
11435
11436
11437 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
11438
11439         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11440
11441 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
11442
11443         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
11444         additions to variable.
11445         [$(config-machine) = x86_64] (modules-names): Likewise.
11446         ($(objpfx)tst-audit3): Remove dependency.
11447         ($(objpfx)tst-audit3.out): Likewise.
11448         ($(objpfx)tst-audit4): Likewise.
11449         ($(objpfx)tst-audit4.out): Likewise.
11450         ($(objpfx)tst-audit5): Likewise.
11451         ($(objpfx)tst-audit5.out): Likewise.
11452         ($(objpfx)tst-audit6): Likewise.
11453         ($(objpfx)tst-audit6.out): Likewise.
11454         ($(objpfx)tst-audit7): Likewise.
11455         ($(objpfx)tst-audit7.out): Likewise.
11456         (tst-audit3-ENV): Remove variable.
11457         (tst-audit4-ENV): Likewise.
11458         (tst-audit5-ENV): Likewise.
11459         (tst-audit6-ENV): Likewise.
11460         (tst-audit7-ENV): Likewise.
11461         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
11462         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
11463         addition to variable.
11464         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
11465         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
11466         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
11467         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
11468         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
11469         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
11470         tst-audit3, tst-audit4 and tst-audit5.
11471         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
11472         tst-audit6 and tst-audit7.
11473         [$(subdir) = elf] (modules-names): Add audit modules for those
11474         tests.
11475         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
11476         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
11477         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
11478         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
11479         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
11480         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
11481         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
11482         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
11483         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
11484         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
11485         [$(subdir) = elf] (tst-audit3-ENV): New variable.
11486         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
11487         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
11488         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
11489         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
11490         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
11491         Likewise.
11492         [$(subdir) = elf && $(config-cflags-avx) = yes]
11493         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
11494         [$(subdir) = elf && $(config-cflags-avx) = yes]
11495         (CFLAGS-tst-auditmod4a.c): Likewise.
11496         [$(subdir) = elf && $(config-cflags-avx) = yes]
11497         (CFLAGS-tst-auditmod4b.c): Likewise.
11498         [$(subdir) = elf && $(config-cflags-avx) = yes]
11499         (CFLAGS-tst-auditmod6b.c): Likewise.
11500         [$(subdir) = elf && $(config-cflags-avx) = yes]
11501         (CFLAGS-tst-auditmod6c.c): Likewise.
11502         [$(subdir) = elf && $(config-cflags-avx) = yes]
11503         (CFLAGS-tst-auditmod7b.c): Likewise.
11504         * elf/tst-audit3.c: Move to ...
11505         * sysdeps/x86_64/tst-audit3.c: ... here.
11506         * elf/tst-audit4.c: Move to ...
11507         * sysdeps/x86_64/tst-audit4.c: ... here.
11508         * elf/tst-audit5.c: Move to ...
11509         * sysdeps/x86_64/tst-audit5.c: ... here.
11510         * elf/tst-audit6.c: Move to ...
11511         * sysdeps/x86_64/tst-audit6.c: ... here.
11512         * elf/tst-audit7.c: Move to ...
11513         * sysdeps/x86_64/tst-audit7.c: ... here.
11514         * elf/tst-auditmod3a.c: Move to ...
11515         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
11516         * elf/tst-auditmod3b.c: Move to ...
11517         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
11518         * elf/tst-auditmod4a.c: Move to ...
11519         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
11520         * elf/tst-auditmod4b.c: Move to ...
11521         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
11522         * elf/tst-auditmod5a.c: Move to ...
11523         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
11524         * elf/tst-auditmod5b.c: Move to ...
11525         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
11526         * elf/tst-auditmod6a.c: Move to ...
11527         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
11528         * elf/tst-auditmod6b.c: Move to ...
11529         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
11530         * elf/tst-auditmod6c.c: Move to ...
11531         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
11532         * elf/tst-auditmod7a.c: Move to ...
11533         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
11534         * elf/tst-auditmod7b.c: Move to ...
11535         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
11536
11537 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
11538
11539         [BZ #15366]
11540         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
11541         define unconditionally.
11542         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
11543         define unconditionally.
11544         (INT8_C, INT16_C, etc.): Likewise.
11545
11546 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
11547
11548         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
11549         __ehdr_start with hidden visibility.
11550
11551         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
11552
11553 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
11554
11555         * math/libm-test.inc (cos_test): Use accurate hex constants.
11556         (sincost_test): Likewise.
11557
11558 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
11559
11560         * math/libm-test.inc (catan_test): Add more tests.
11561         (catanh_test): Likewise.
11562
11563         * math/s_catanf.c (__catanf): Use suffixed floating-point
11564         constants.
11565         * math/s_catanhf.c (__catanhf): Likewise.
11566         * math/s_catanhl.c (__catanhl): Likewise.
11567         * math/s_catanl.c (__catanl): Likewise.
11568
11569         [BZ #15394]
11570         * math/s_catan.c (__catan): Calculate imaginary part of result
11571         with log1p not log unless computing log of number close to 0.
11572         * math/s_catanf.c (__catanf): Likewise.
11573         * math/s_catanl.c (__catanl): Likewise.
11574         * math/s_catanh.c (__catanh): Calculate real part of result with
11575         log1p not log unless computing log of number close to 0.
11576         * math/s_catanhf.c (__catanhf): Likewise.
11577         * math/s_catanhl.c (__catanhl): Likewise.
11578         * math/libm-test.inc (catan_test): Add more tests.
11579         (catanh_test): Likewise.
11580         * sysdeps/i386/fpu/libm-test-ulps: Update.
11581         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11582
11583 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
11584
11585         * benchtests/Makefile: Mention files in which fast and slow
11586         paths of math functions are implemented.
11587
11588 2013-04-23  Roland McGrath  <roland@hack.frob.com>
11589
11590         * sysdeps/posix/timespec_get.c: New file.
11591
11592 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11593
11594         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
11595         POWER.
11596         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
11597         for POWER.
11598         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
11599         powerpc/power5/fpu folders.
11600         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
11601         * benchtests/Makefile: Add modf testcase.
11602         * benchtests/bench-modf.c: New file: Benchmark test for mo
11603
11604 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
11605
11606         [BZ #14888]
11607         * time/Makefile (tests): Add tst-strptime-whitespace.
11608         * time/strptime_l.c (get_number): Use ISSPACE.
11609         (__strptime_internal): Likewise.
11610         * time/tst-strptime-whitespace.c: New test case.
11611
11612 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
11613
11614         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
11615         member.
11616         (_nss_files_init): Set it here.
11617
11618 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
11619
11620         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
11621         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
11622         unsigned.
11623
11624 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
11625
11626         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
11627
11628 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
11629
11630         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
11631         size just once.
11632
11633 2013-04-21  David S. Miller  <davem@davemloft.net>
11634
11635         * po/ru.po: Update Russion translation from translation project.
11636
11637 2013-04-17  Adam Conrad  <adconrad@0c3.net>
11638
11639         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
11640         and setfsgid.
11641
11642 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
11643
11644         * configure.in: Remove i386 configure warning. Remove i386 case.
11645         * configure: Regenerate.
11646         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
11647         Add example to error message.
11648         * sysdeps/i386/configure: Regenerate.
11649
11650 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
11651
11652         * benchtests/Makefile (bench): Add cos, tan, slowcos and
11653         slowtan.
11654         * benchtests/cos-inputs: New file.
11655         * benchtests/slowcos-inputs: New file.
11656         * benchtests/slowcos.c: New file.
11657         * benchtests/slowtan-inputs: New file.
11658         * benchtests/slowtan.c: New file.
11659         * benchtests/tan-inputs: New file.
11660
11661 2013-04-16  Roland McGrath  <roland@hack.frob.com>
11662
11663         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
11664         considered kosher.
11665
11666 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
11667
11668         * benchtests/Makefile: Include cppflags-iterator.mk to add
11669         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
11670
11671         * Makefile.in (bench-clean): New target.
11672         * benchtests/Makefile (bench-clean): Likewise.
11673
11674 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
11675
11676         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
11677
11678 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
11679
11680         * stdio-common/tstdiomisc.c: Fix coding-style violation.
11681
11682 2013-04-15  Andreas Schwab  <schwab@suse.de>
11683
11684         * nscd/grpcache.c (cache_addgr): Properly check for short write.
11685         * nscd/initgrcache.c (addinitgroupsX): Likewise.
11686         * nscd/pwdcache.c (cache_addpw): Likewise.
11687         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
11688         more than recsize.
11689
11690 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
11691
11692         * benchtests/Makefile (bench): Write all output to
11693         bench-out.tmp together.
11694
11695 2013-04-15  Andreas Schwab  <schwab@suse.de>
11696
11697         * nscd/nscd.c (main): Don't fork again after closing files.
11698
11699 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
11700
11701         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
11702
11703         * benchtests/Rules (bench-deps): Collect dependencies into a
11704         single variable.  Add Makefile to dependencies.
11705         ($(objpfx)bench-%.c): Depend on bench-deps.
11706
11707 2013-04-12  Roland McGrath  <roland@hack.frob.com>
11708             Xavier Roche  <roche+kml2@exalead.com>
11709
11710         [BZ #15361]
11711         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
11712         just that it's a file descriptor.
11713         * manual/llio.texi (Synchronizing AIO Operations): Update description
11714         for EBADF error from aio_fsync.
11715
11716 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
11717
11718         * Rules (bench): Move target definition...
11719         * benchtests/Makefile: ... here.
11720
11721 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
11722
11723         * math/libm-test.inc (cos_test): Fix PI/2 test.
11724         (sincos_test): Likewise.
11725         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
11726         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
11727
11728 2013-04-11  Andreas Schwab  <schwab@suse.de>
11729
11730         [BZ #13988]
11731         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
11732         accept exponent character only when digits were seen.
11733         * stdio-common/Makefile (tests): Add bug26.
11734         * stdio-common/bug26.c: New file.
11735
11736         [BZ #14293]
11737         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
11738         non-freeable.
11739
11740 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
11741
11742         * Makeconfig (rtld-prefix): Define built linker prefix.
11743         * Rules (run-bench): Use it.
11744         * math/Makefile (run-regen-ulps): Likewise.
11745
11746         * Rules (bench): Remove eval.
11747
11748 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
11749             Roland McGrath  <roland@hack.frob.com>
11750             Ondrej Bilka  <neleai@seznam.cz>
11751
11752         [BZ #15346]
11753         * time/getdate.c: Include ctype.h and alloca.h.
11754         (__getdate_r): Trim leading and trailing spaces of input.
11755         * time/tst-getdate.c (tests): Add tests with leading and
11756         trailing spaces.
11757
11758 2013-04-08  Roland McGrath  <roland@hack.frob.com>
11759
11760         [BZ #14280]
11761         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
11762         when computing value.
11763
11764 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
11765
11766         * math/README.libm-test (How can I generate "libm-test-ulps"?):
11767         Use testrun.sh to run libm tests.
11768
11769         [BZ #15309]
11770         * elf/dl-open.c (dl_open_worker): memset all of seen array.
11771
11772 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
11773
11774         [BZ #15264]
11775         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
11776
11777 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
11778
11779         * Makefile.in (regen-ulps): New target.
11780         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
11781         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
11782         [ifneq (no,$(PERL)] (regen-ulps): New target.
11783         [ifeq (no,$(PERL)] (regen-ulps): New target.
11784         * math/libm-test.inc (ulps_file_name): Define.
11785         (output_dir): New variable.
11786         (options): Add "output-dir" option.
11787         (parse_opt): Handle 'o' case.
11788         (main): If output_dir is non-NULL use it as a prefix
11789         otherwise use "".
11790         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
11791
11792 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
11793
11794         [BZ #10060, #10062]
11795         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
11796         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
11797         fail configure if __sync_val_compare_and_swap is not inlined.
11798         * sysdeps/i386/configure: Regenerate.
11799         * configure.in: Build for i686 when configured for i386.
11800         * configure: Regenerate.
11801         * README: Remove i386 reference.
11802
11803 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
11804
11805         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
11806         * sysdeps/s390/s390-64/sysdep.h: Likewise.
11807
11808 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
11809
11810         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
11811         (lmsnanval): New variables.
11812         (F): Add conversion tests.
11813         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
11814         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
11815
11816         * stdio-common/tstdiomisc.c (F): Properly collect individual
11817         tests' results.
11818
11819         [BZ #14686, #15336]
11820         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
11821         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
11822         Instead, use input NaN values or generate a qNaN by arithmetic
11823         operation.  Also fix bugs to comply with the standard.
11824         * math/libm-test.inc (remainder_test): Add more tests.
11825
11826         [BZ #15335, #15342]
11827         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
11828         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
11829         input NaN values or generate a qNaN by arithmetic operation.
11830
11831         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
11832         unreachable code.
11833
11834         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
11835         definitions.
11836
11837 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
11838
11839         [BZ #14478]
11840         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
11841         underflowed result.
11842         * math/s_cexpf.c (__cexpf): Likewise.
11843         * math/s_cexpl.c (__cexpl): Likewise.
11844         * math/libm-test.inc (cexp_test): Add more tests.
11845
11846 2013-04-03  Andreas Schwab  <schwab@suse.de>
11847
11848         [BZ #15330]
11849         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
11850         order arrays from heap if bigger than alloca cutoff.
11851
11852 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
11853
11854         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
11855         (SNAN_TESTS_double): Refer to GCC PR56831.
11856         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
11857         GCC PR56828.
11858
11859 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
11860
11861         * Rules (bench): Move bench.out after the run is complete.
11862
11863         * Rules (bench): Echo currently running benchmark.
11864
11865         * benchtests/Makefile (bench): Add atan and slowatan.
11866         * benchtests/atan-inputs: New file.
11867         * benchtests/slowatan-inputs: New file.
11868         * benchtests/slowatan.c: New file.
11869
11870         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
11871         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
11872         its value.
11873
11874         [BZ #15305]
11875         * sysdeps/unix/sysv/linux/kernel-features.h
11876         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
11877         __ASSUME_XFS_RESTRICTED_CHOWN.
11878         * sysdeps/unix/sysv/linux/pathconf.c
11879         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
11880         Save and restore errno.
11881
11882 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
11883
11884         [BZ #15327]
11885         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
11886         arguments using __kernel_casinh.
11887         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
11888         arguments using __kernel_casinhf.
11889         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
11890         arguments using __kernel_casinhl.
11891         * math/libm-test.inc (cacosh_test): Add more tests.
11892         * sysdeps/i386/fpu/libm-test-ulps: Update.
11893         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11894
11895 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
11896
11897         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
11898         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
11899
11900         * bench/Makefile (bench): Add sin and slowsin.
11901         * benchtests/sin-inputs: New file.
11902         * benchtests/slowsin-inputs: New file.
11903         * benchtests/slowsin.c: New file.
11904
11905         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
11906         (bench): Add slowexp and slowpow.
11907         (exp-ITER): Increase iterations.
11908         (pow-ITER): Likewise.
11909         * benchtests/exp-inputs: Change input.
11910         * benchtests/pow-inputs: Likewise.
11911         * benchtests/slowexp-inputs: New file.
11912         * benchtests/slowexp.c: New file.
11913         * benchtests/slowpow-inputs: New file.
11914         * benchtests/slowpow.c: New file.
11915
11916 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11917
11918         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
11919         instructions.
11920         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
11921         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
11922         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
11923         * benchtests/Makefile: Add rint benchtest.
11924         * benchtests/rint-inputs: Input for rint benchtest.
11925
11926 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
11927
11928         * Versions.def (libm): Add GLIBC_2.18.
11929         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
11930         hidden libm prototypes.
11931         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
11932         * math/Makefile (libm-calls): Add s_issignaling.
11933         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
11934         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
11935         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
11936         declaration.
11937         * math/math.h [__USE_GNU] (issignaling): New macro.
11938         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
11939         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
11940         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
11941         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
11942         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
11943         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
11944         * manual/arith.texi (issignaling): New section.
11945         * manual/libm-err-tab.pl (@all_functions): Update comment.
11946         * math/gen-libm-test.pl (parse_args): Apply special handling for
11947         issignaling.
11948         * math/libm-test.inc (print_float, issignaling_test): New
11949         functions.
11950         (check_float_internal): Add issignaling checks.
11951         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
11952         default definition.
11953         * sysdeps/powerpc/math-tests.h: New file.
11954         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
11955         tests.
11956         * math/test-snan.c (TEST_FUNC): Likewise.
11957
11958 2013-03-30  David S. Miller  <davem@davemloft.net>
11959
11960         * po/de.po: Update from translation team.
11961
11962 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
11963
11964         [BZ #10357]
11965         * math/k_casinh.c (__kernel_casinh): Handle arguments with
11966         imaginary part less than 1.0 and real part less than 0.5
11967         specially.
11968         * math/k_casinhf.c (__kernel_casinhf): Likewise.
11969         * math/k_casinhl.c (__kernel_casinhl): Likewise.
11970         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
11971         (cacos_test): Add more tests.
11972         (casin_test): Likewise.
11973         (casinh_test): Likewise.
11974         * sysdeps/i386/fpu/libm-test-ulps: Update.
11975         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11976
11977 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
11978
11979         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
11980         ONE with its value.
11981
11982         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
11983         (__pow_mp): Replace ONE and MONE with their values.
11984         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
11985         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
11986         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
11987         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
11988         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
11989         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
11990
11991         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
11992
11993         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
11994         (__pow_mp): Replace ZERO and MZERO with their values.
11995         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
11996         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
11997         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
11998         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
11999         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
12000         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
12001         (__sqr): Likewise.
12002
12003         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
12004
12005         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
12006
12007 2013-03-28  Roland McGrath  <roland@hack.frob.com>
12008
12009         * include/stdlib.h [!SHARED] (__call_tls_dtors):
12010         Declare with __attribute__ ((weak)).
12011         * stdlib/exit.c (__libc_atexit) [!SHARED]:
12012         Call __call_tls_dtors only if it's not NULL.
12013
12014 2013-03-28  Roland McGrath  <roland@hack.frob.com>
12015
12016         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
12017         didn't do it already, then set _dl_phdr and _dl_phnum based on the
12018         magic __ehdr_start linker symbol if it's defined.
12019         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
12020         them up here if it was already done.
12021
12022         * elf/dl-support.c (_dl_phdr): Make pointer to const.
12023         (_dl_aux_init): Use const in cast when setting it.
12024         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
12025         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
12026         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
12027
12028         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
12029         Declare them here.
12030         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
12031         * csu/libc-tls.c: Nor here.
12032         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
12033
12034         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
12035         (__libc_message): Never call vsyslog.
12036
12037 2013-03-28  Alan Modra  <amodra@gmail.com>
12038
12039         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
12040         Define as empty.
12041         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
12042         Likewise.
12043
12044 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12045
12046         [BZ #15214]
12047         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
12048         underflow.
12049         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12050
12051 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
12052
12053         [BZ #15304]
12054         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
12055         Don't add gid passed as argument.
12056
12057         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
12058
12059 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
12060
12061         [BZ #15307]
12062         * math/k_casinh.c (__kernel_casinh): Handle arguments with
12063         imaginary part between 1.0 and 1.5 and real part less than 0.5
12064         specially.
12065         * math/k_casinhf.c (__kernel_casinhf): Likewise.
12066         * math/k_casinhl.c (__kernel_casinhl): Likewise.
12067         * math/libm-test.inc (cacos_test): Add more tests.
12068         (casin_test): Likewise.
12069         (casinh_test): Likewise.
12070         * sysdeps/i386/fpu/libm-test-ulps: Update.
12071         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12072
12073 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
12074
12075         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
12076         constants.
12077         (norm): Likewise.
12078         (denorm): Likewise.
12079         (__dbl_mp): Likewise.
12080         (add_magnitudes): Likewise.
12081         (sub_magnitudes): Likewise.
12082         (__add): Likewise.
12083         (__sub): Likewise.
12084         (__mul): Likewise.
12085         (__sqr): Likewise.
12086         (__inv): Likewise.
12087         (__dvd): Likewise.
12088
12089         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
12090         commented code.
12091         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
12092         (__dubcos): Likewise.
12093         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
12094         (__ieee754_acos): Likewise.
12095         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
12096         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
12097         (__exp1): Likewise.
12098         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
12099         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
12100         (log1): Likewise.
12101         (my_log2): Likewise.
12102         (checkint): Likewise.
12103         * sysdeps/ieee754/dbl-64/e_remainder.c
12104         (__ieee754_remainder): Likewise.
12105         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
12106         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
12107         (bsloww): Likewise.
12108         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
12109
12110         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
12111         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
12112         MANTISSA_STORE_T to store computations on mantissa.  Use
12113         macros for rounding and division.
12114         (denorm): Likewise.
12115         (__dbl_mp): Likewise.
12116         (add_magnitudes): Likewise.
12117         (sub_magnitudes): Likewise.
12118         (__mul): Likewise.
12119         (__sqr): Likewise.
12120         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
12121         powers of two in terms of TWOPOW macro.
12122         (mp_no): Make type of mantissa as MANTISSA_T.
12123         [!RADIXI]: Define RADIXI.
12124         [!TWO52]: Define TWO52.
12125         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
12126
12127 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12128
12129         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
12130         llroundl symbol when building for PPC32.
12131
12132 2013-03-24  Mark H Weaver  <mhw@netris.org>
12133
12134         * manual/arith.texi (Normalization Functions): Fix prototypes for
12135         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
12136
12137 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12138
12139         [BZ #13889]
12140         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
12141         high value to check if expl overflow.
12142         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
12143         to check for underflow and overflow.
12144         * math/libm-test.inc: Add exp test.
12145
12146 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
12147
12148         [BZ #11120]
12149         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
12150         with NOT_IN_libc.
12151
12152 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12153
12154         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
12155         symbol.
12156
12157 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
12158
12159         * math/gen-libm-test.pl (parse_args, special_functions): Properly
12160         wrap blocks consisting of several statements.
12161
12162         * sysdeps/generic/math-tests.h: New file.
12163         * sysdeps/i386/fpu/math-tests.h: Likewise.
12164         * math/test-snan.c: Include it.
12165         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
12166
12167 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
12168
12169         [BZ #15285]
12170         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
12171         (__ieee754_j0l): Do not improve calculations using cos of twice
12172         input for inputs above LDBL_MAX / 2.0L.
12173         (__ieee754_y0l): Likewise.
12174         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
12175         (__ieee754_j1l): Do not improve calculations using cos of twice
12176         input for inputs above LDBL_MAX / 2.0L.
12177         (__ieee754_y1l): Likewise.
12178         * math/libm-test.inc (j0_test): Add another test.
12179         (j1_test): Likewise.
12180         (y0_test): Likewise.
12181         (y1_test): Likewise.
12182         * sysdeps/i386/fpu/libm-test-ulps: Update.
12183
12184 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
12185
12186         * Rules ($(objpfx)bench-%.c): Include code from a C source
12187         file.
12188
12189 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
12190
12191         [BZ #15287]
12192         * math/k_casinh.c (__kernel_casinh): Handle arguments with
12193         imaginary part 1.0 and real part less than 0.5 specially.
12194         * math/k_casinhf.c (__kernel_casinhf): Likewise.
12195         * math/k_casinhl.c (__kernel_casinhl): Likewise.
12196         * math/libm-test.inc (cacos_test): Add more tests.
12197         (casin_test): Likewise.
12198         (casinh_test): Likewise.
12199         * sysdeps/i386/fpu/libm-test-ulps: Update.
12200         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12201
12202 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
12203
12204         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
12205         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
12206
12207 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
12208
12209         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
12210         * config.make.in (config-cflags-sse4): Remove variable.
12211         (config-cflags-avx): Likewise.
12212         (config-cflags-sse2avx): Likewise.
12213         (config-cflags-novzeroupper): Likewise.
12214         (config-asflags-i686): Likewise.
12215         (have-mfma4): Likewise.
12216         (have-as-vis3): Likewise.
12217         (MIG): Likewise.
12218         * configure.in (MIG): Do not AC_SUBST.
12219         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
12220         (libc_cv_cc_sse4): Do not AC_SUBST.
12221         (libc_cv_cc_avx): Likewise.
12222         (libc_cv_cc_sse2avx): Likewise.
12223         (libc_cv_cc_novzeroupper): Likewise.
12224         (libc_cv_cc_fma4): Likewise.
12225         (libc_cv_as_i686): Likewise.
12226         (libc_cv_sparc_as_vis3): Likewise.
12227         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
12228         LIBC_CONFIG_VAR.
12229         (config-asflags-i686): Likewise.
12230         (config-cflags-avx): Likewise.
12231         (config-cflags-sse2avx): Likewise.
12232         (have-mfma4): Likewise.
12233         (config-cflags-novzeroupper): Likewise.
12234         * sysdeps/mach/configure.in (MIG): Likewise.
12235         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
12236         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
12237         LIBC_CONFIG_VAR.
12238         (config-cflags-avx): Likewise.
12239         (config-cflags-sse2avx): Likewise.
12240         (have-mfma4): Likewise.
12241         (config-cflags-novzeroupper): Likewise.
12242         * configure: Regenerated.
12243         * sysdeps/i386/configure: Likewise.
12244         * sysdeps/mach/configure: Likewise.
12245         * sysdeps/sparc/configure: Likewise.
12246         * sysdeps/x86_64/configure: Likewise.
12247
12248 2013-03-20  Roland McGrath  <roland@hack.frob.com>
12249
12250         [BZ #14812]
12251         * locale/programs/localedef.c (options): Put N_ translation marker
12252         on argument names, not just descriptions.
12253
12254 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
12255
12256         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
12257
12258 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
12259
12260         [BZ #14176]
12261         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
12262
12263 2013-03-19  Roland McGrath  <roland@hack.frob.com>
12264
12265         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
12266         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
12267         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
12268         [!BEFORE_ABORT] (before_abort): New function.
12269         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
12270         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
12271         (writev_for_fatal): New function.
12272         (WRITEV_FOR_FATAL): New macro; call that.
12273         (backtrace_and_maps): New function.
12274         (BEFORE_ABORT): New macro; call that.
12275         (struct str_list): Type removed.
12276         (__libc_message, __libc_fatal): Functions removed.
12277         Include <sysdeps/posix/libc_fatal.c> instead.
12278
12279 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
12280
12281         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
12282         constants.
12283         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
12284         double constants.
12285
12286 2013-03-19  Andreas Schwab  <schwab@suse.de>
12287
12288         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
12289         * sysdeps/gnu/configure: Regenerate.
12290
12291         * configure.in: Substitute libc_cv_rtlddir.
12292         * configure: Regenerate.
12293         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
12294         * Makeconfig (rtlddir, inst_rtlddir): New variables.
12295         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
12296         * elf/Makefile (install-others, CFLAGS-interp.c)
12297         (ldso_install, common-ldd-rewrite): Likewise.
12298         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
12299         $(inst_slibdir)/$(rtld-installed-name).
12300         * scripts/rellns-sh: Add -p option.
12301         * Makerules (make-shlib-link): Use rellns-sh to get relative name
12302         for source.
12303
12304 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
12305
12306         * manual/nptl.texi: Renamed to ...
12307         * manual/threads.texi: ... this.
12308         * manual/Makefile (chapters): Update.
12309
12310 2013-03-18  Roland McGrath  <roland@hack.frob.com>
12311
12312         [BZ #14812]
12313         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
12314         on argument names, not just descriptions.
12315         * malloc/memusagestat.c (options): Likewise.
12316         * nss/getent.c (options): Likewise.
12317
12318 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
12319
12320         [BZ #14812]
12321         * iconv/iconv_prog.c (options): Put N_ translation marker
12322         on argument names, not just descriptions.
12323         * iconv/iconvconfig.c (options): Likewise.
12324
12325 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
12326
12327         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
12328         implementation which is faster on all x86_64 architectures.
12329         Tested on AMD, Intel Nehalem, SNB, IVB.
12330         * sysdeps/x86_64/strnlen.S: Likewise.
12331
12332         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
12333         Remove all multiarch strlen and strnlen versions.
12334         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
12335         Remove strlen and strnlen related parts.
12336
12337         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
12338         Inline strlen part.
12339         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
12340
12341         * sysdeps/x86_64/multiarch/strlen.S: Remove.
12342         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
12343         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
12344         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
12345         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
12346         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
12347
12348 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
12349
12350         * manual/memory.texi (Malloc Tunable Parameters):
12351         Sort parameters alphabetically. Add comments for missing entries.
12352
12353 2013-03-17  David S. Miller  <davem@davemloft.net>
12354
12355         * sysdeps/sparc/fpu/libm-test-ulps: Update.
12356
12357 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
12358
12359         [BZ #15283]
12360         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
12361         for arguments at most half maximum finite value.
12362         * math/libm-test.inc (j0_test): Add more tests.
12363         (j1_test): Likewise.
12364         (y0_test): Likewise.
12365         (y1_test): Likewise.
12366         * sysdeps/i386/fpu/libm-test-ulps: Update.
12367         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12368
12369         [BZ #14155]
12370         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
12371         1 / x and functions P and Q for arguments above 0x1p256L.
12372         (__ieee754_y0l): Likewise.
12373         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
12374         (__ieee754_y1l): Likewise.
12375         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
12376         (j1_test): Likewise.
12377         (y0_test): Likewise.
12378         (y1_test): Likewise.
12379
12380 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
12381
12382         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
12383         variable.
12384
12385 2013-03-15  Roland McGrath  <roland@hack.frob.com>
12386
12387         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
12388         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
12389         zero since it's initialized to EXEC_PAGESIZE.
12390
12391         * sysdeps/unix/sysv/linux/ldsodefs.h
12392         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
12393         * sysdeps/generic/ldsodefs.h: ... here.
12394
12395 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
12396
12397         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
12398
12399         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
12400         math/test-snan.c.
12401         * math/test-snan.c: Renamed from
12402         sysdeps/powerpc/fpu/test-powerpc-snan.c.
12403         * math/Makefile (tests): Add test-snan.
12404         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
12405         test-powerpc-snan.
12406
12407         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
12408         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
12409         functions.
12410         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
12411         __builtin_nan family of functions.
12412         * math/libm-test.inc (initialize): Initialize qnan_value with
12413         __builtin_nan family of functions.
12414         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
12415         Remove variables.
12416         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
12417         Remove functions.
12418         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
12419         storage class.  Initialize qNaN_var and sNaN_var with
12420         __builtin_nan and __builtin_nans families of functions,
12421         respectively.
12422
12423         * math/libm-test.inc (acosh_test): Also test with qNaN input.
12424         (sqrt_test): Remove duplicate test with qNaN input.
12425         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
12426         (round_test, signbit_test, significand_test): Note missing +/-Inf
12427         as well as qNaN tests.
12428
12429         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
12430         qNaN_var.  Fix a few strings, too.
12431         * math/libm-test.inc (nan_value): Rename to qnan_value.
12432         * math/gen-libm-test.pl (%beautify): Adjust to that.
12433         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
12434         * math/test-misc.c (main): Likewise.
12435         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
12436         to __qnan_bytes, and __qnan_union, respectively.
12437         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
12438         Likewise.
12439         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
12440         and lqnanval, respectively.
12441         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
12442         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
12443         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
12444         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
12445
12446         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
12447         * math/test-misc.c (main) [__x86_64__]: Enable test for long
12448         doubles.
12449
12450         * math/test-misc.c (main): Fix copy'n'pastos.
12451         * misc/tst-efgcvt.c (special): Likewise.
12452
12453         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
12454         Remove declarations.
12455
12456 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
12457
12458         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
12459         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
12460         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
12461         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
12462
12463 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12464
12465         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
12466         macro to return vdso values correctly in IFUNC implementations.
12467         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
12468         Optimization by using IFUNC.
12469
12470 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
12471             Richard Henderson  <rth@redhat.com>
12472             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
12473
12474         * Makefile.in (bench): New target.
12475         * NEWS: Mention the benchmark framework.
12476         * Rules (bench): Likewise.
12477         (binaries-bench): Generate binaries for functions to
12478         benchmark.
12479         * benchtests/Makefile: New makefile for benchmark tests.
12480         * benchtests/bench-skeleton.c: New skeleton file for benchmark
12481         programs.
12482         * benchtests/exp-inputs: New input file for EXP function.
12483         * benchtests/pow-inputs: New input file for POW function.
12484         * scripts/bench.pl: New script to generate source files for
12485         benchmark programs.
12486
12487 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
12488
12489         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
12490         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
12491         computations on mantissa.  Use macros for rounding and
12492         division.
12493         (denorm): Likewise.
12494         (__dbl_mp): Likewise.
12495         (add_magnitudes): Likewise.
12496         (sub_magnitudes): Likewise.
12497         (__mul): Likewise.
12498         (__sqr): Likewise.
12499         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
12500         powers of two in terms of TWOPOW macro.
12501         (mp_no): Make type of mantissa as MANTISSA_T.
12502         [!RADIXI]: Define RADIXI.
12503         [!TWO52]: Define TWO52.
12504         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
12505
12506         * manual/nptl.texi (cindex): Modify threads to pthreads.
12507
12508 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
12509
12510         * sysdeps/x86_64/preconfigure: Regenerated.
12511
12512 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
12513
12514         [BZ #14155]
12515         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
12516         0x1p28 and above.
12517         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
12518         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
12519         0x1p28 and above.
12520         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
12521         * math/libm-test.inc (j0_test): Do not allow one spurious
12522         underflow exception.
12523         (y1_test): Likewise.
12524
12525 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
12526
12527         * manual/Makefile (chapters): Add nptl.
12528         * manual/debug.texi (Debugging Support): Add link to Threads
12529         chapter.
12530         * manual/nptl.texi: New file.
12531
12532         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
12533
12534 2013-03-14  Petr Baudis  <pasky@ucw.cz>
12535
12536         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
12537         for non-NULL pointer before the memory validity test. Pointed
12538         out by Holger Brunck <holger.brunck@keymile.com>.
12539
12540 2013-03-13  Andreas Schwab  <schwab@suse.de>
12541
12542         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
12543         instead of .os.
12544
12545 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
12546
12547         * timezone/zic.c: Update from tzcode 2013b.
12548
12549 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
12550
12551         * manual/install.texi (Configuring and compiling):
12552         Mention i686 and i586.
12553         * INSTALL: Regenerate.
12554
12555 2013-03-12  Roland McGrath  <roland@hack.frob.com>
12556
12557         * sysdeps/init_array/elf-init.c: New file.
12558         * csu/elf-init.c
12559         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
12560         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
12561
12562         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
12563         __gmon_start__ as global, but as static with a .preinit_array pointer.
12564         * sysdeps/init_array/gmon-start.c: New file.  Use that.
12565         * sysdeps/init_array/crti.S: New file, empty except for comments.
12566         * sysdeps/init_array/crtn.S: Likewise.
12567
12568 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
12569
12570         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
12571         definining bcopy.
12572         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
12573         Remove Prefer_SSE_for_memop.
12574         * sysdeps/x86_64/multiarch/init-arch.h: Remove
12575         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
12576         HAS_PREFER_SSE_FOR_MEMOP.
12577         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
12578         memset-x86-64.
12579         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
12580         Remove bzero, memset ifunc support.
12581         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
12582         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
12583         * sysdeps/x86_64/multiarch/memset.S: Likewise.
12584         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
12585
12586 2013-03-11  Andreas Schwab  <schwab@suse.de>
12587
12588         [BZ #15234]
12589         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
12590         by SHLIB_COMPAT.
12591         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
12592         (GLIBC_2.16): Remove pthread_atfork.
12593
12594 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
12595
12596         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
12597         (ptestcases.h): Likewise.
12598
12599 2013-03-08  Roland McGrath  <roland@hack.frob.com>
12600
12601         * Makeconfig ($(common-objpfx)config.status): Depend on
12602         sysdeps/*/preconfigure{,.in} too.
12603
12604 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
12605
12606         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
12607         (__free_hook): Use void * instead of __malloc_ptr_t.
12608         (__malloc_hook): Likewise.
12609         (__realloc_hook): Likewise.
12610         (__memalign_hook): Likewise.
12611         (__after_morecore_hook): Likewise.
12612         * malloc/arena.c (save_malloc_hook): Likewise.
12613         (save_free_hook): Likewise.
12614         * malloc/hooks.c (malloc_hook_ini): Likewise.
12615         (realloc_hook_ini): Likewise.
12616         (memalign_hook_ini): Likewise.
12617         * malloc/malloc.c (malloc_hook_ini): Likewise.
12618         (realloc_hook_ini): Likewise.
12619         (memalign_hook_ini): Likewise.
12620         (__free_hook): Likewise.
12621         (__malloc_hook): Likewise.
12622         (__realloc_hook): Likewise.
12623         (__memalign_hook): Likewise.
12624         (__libc_malloc): Likewise.
12625         (__libc_free): Likewise.
12626         (__libc_realloc): Likewise.
12627         (__libc_memalign): Likewise.
12628         (__libc_valloc): Likewise.
12629         (__libc_pvalloc): Likewise.
12630         (__libc_calloc): Likewise.
12631         (__posix_memalign): Likewise.
12632         * malloc/morecore.c (__sbrk): Likewise.
12633         (__default_morecore): Likewise.
12634
12635         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
12636
12637         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
12638         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
12639         __malloc_ptrdiff_t.
12640
12641         * malloc/malloc.h (__malloc_size_t): Remove macro.
12642         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
12643         __malloc_size_t.
12644         (old_memalign_hook): Likewise.
12645         (old_realloc_hook): Likewise.
12646         (struct hdr): Likewise.
12647         (flood): Likewise.
12648         (mallochook): Likewise.
12649         (memalignhook): Likewise.
12650         (reallochook): Likewise.
12651         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
12652         (tr_old_realloc_hook): Likewise.
12653         (tr_old_memalign_hook): Likewise.
12654         (tr_mallochook): Likewise.
12655         (tr_reallochook): Likewise.
12656         (tr_memalignhook): Likewise.
12657
12658 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12659
12660         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
12661         default_ldbl_pack and using as default implementation.
12662         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
12663         implementation.
12664         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
12665         redundant definition.
12666         (ldbl_insert_mantissa): Likewise.
12667         (ldbl_canonicalize): Likewise.
12668         (ldbl_nearbyint): Likewise.
12669         (ldbl_pack): Rename to ldbl_pack_ppc.
12670         (ldbl_unpack): Rename to ldbl_unpack_ppc.
12671         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
12672         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
12673
12674 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
12675
12676         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
12677         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
12678         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
12679         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
12680         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
12681         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
12682         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
12683         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
12684
12685 2013-03-07  Andreas Jaeger  <aj@suse.de>
12686
12687         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
12688         bits/mman-linux.h.
12689
12690 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
12691
12692         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
12693         Include mpa.h and declare __MPEXP.
12694         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
12695         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
12696         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
12697         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
12698         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
12699         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
12700         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
12701
12702         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
12703         (__slowpow): Use long double EXPL and LOGL functions to
12704         compute POW.
12705         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
12706         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
12707         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
12708         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
12709         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
12710         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
12711
12712         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
12713         intermediate variable to calculate exponent.
12714         (__sqr): Likewise.
12715         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
12716         Likewise.
12717         (__sqr): Likewise.
12718
12719         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
12720         [!NO__SQR]: Define __sqr.
12721         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
12722         and NO__SQR.  Remove all code except __mul and __sqr.  Include
12723         sysdeps/ieee754/dbl-64/mpa.c.
12724         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
12725
12726         [BZ #12723]
12727         * posix/Makefile (tests): Add tst-pathconf.
12728         * posix/tst-pathconf.c: New test case.
12729         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
12730         _PC_PIPE_BUF.
12731         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
12732
12733 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
12734
12735         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
12736
12737 2013-03-06  Andreas Jaeger  <aj@suse.de>
12738
12739         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
12740         definition via __MAP_ANONYMOUS.
12741
12742         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
12743         it's not part of Linux headers.
12744
12745         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
12746         (MAP_HUGE_MASK): Define.
12747
12748         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
12749         Define.
12750         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
12751         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
12752         Define.
12753         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
12754         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
12755         Define.
12756         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
12757         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
12758         Define.
12759         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
12760
12761         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
12762         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
12763         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
12764         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
12765         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
12766         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
12767
12768         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
12769         Handle f2fs.
12770
12771         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
12772         Handle f2fs and efivarfs.
12773
12774         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
12775         f2fs.
12776
12777         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
12778         (EFIVARFS_MAGIC): Add.
12779         (F2FS_LINK_MAX): Add.
12780
12781 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
12782
12783         * stdio-common/vfprintf.c: Replace __builtin_expect with
12784         __glibc_unlikely.
12785
12786 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
12787
12788         [BZ #13550]
12789         * sysdeps/generic/bp-sym.h: Remove file.
12790         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
12791         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
12792         <bp-sym.h> and <bp-asm.h>.
12793         (__longjmp): Don't use BP_SYM.
12794         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
12795         and <bp-asm.h>.
12796         (memcpy): Don't use BP_SYM.
12797         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
12798         <bp-sym.h> and <bp-asm.h>.
12799         (memcpy): Don't use BP_SYM.
12800         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
12801         <bp-asm.h>.
12802         (memcpy): Don't use BP_SYM.
12803         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
12804         <bp-asm.h>.
12805         (memset): Don't use BP_SYM.
12806         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
12807         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
12808         (__bzero): Don't use BP_SYM.
12809         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
12810         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
12811         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
12812         <bp-sym.h> and <bp-asm.h>.
12813         (memcmp): Don't use BP_SYM.  Remove comment about bounded
12814         pointers.
12815         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
12816         <bp-sym.h> and <bp-asm.h>.
12817         (memcpy): Don't use BP_SYM.
12818         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
12819         <bp-sym.h> and <bp-asm.h>.
12820         (memset): Don't use BP_SYM.
12821         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
12822         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
12823         (__bzero): Don't use BP_SYM.
12824         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
12825         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
12826         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
12827         <bp-sym.h> and <bp-asm.h>.
12828         (strncmp): Don't use BP_SYM.  Remove comment about bounded
12829         pointers.
12830         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
12831         <bp-sym.h> and <bp-asm.h>.
12832         (memcpy): Don't use BP_SYM.
12833         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
12834         <bp-sym.h> and <bp-asm.h>.
12835         (memset): Don't use BP_SYM.
12836         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
12837         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
12838         (__bzero): Don't use BP_SYM.
12839         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
12840         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
12841         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
12842         <bp-sym.h> and <bp-asm.h>.
12843         (__memchr): Don't use BP_SYM.
12844         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
12845         <bp-sym.h> and <bp-asm.h>.
12846         (memcmp): Don't use BP_SYM.  Remove comment about bounded
12847         pointers.
12848         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
12849         <bp-sym.h> and <bp-asm.h>.
12850         (memcpy): Don't use BP_SYM.
12851         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
12852         <bp-sym.h> and <bp-asm.h>.
12853         (__mempcpy): Don't use BP_SYM.
12854         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
12855         <bp-sym.h> and <bp-asm.h>.
12856         (__memrchr): Don't use BP_SYM.
12857         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
12858         <bp-sym.h> and <bp-asm.h>.
12859         (memset): Don't use BP_SYM.
12860         (__bzero): Likewise.
12861         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
12862         <bp-sym.h> and <bp-asm.h>.
12863         (__rawmemchr): Don't use BP_SYM.
12864         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
12865         <bp-sym.h> and <bp-asm.h>.
12866         (__STRCMP): Don't use BP_SYM.
12867         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
12868         <bp-sym.h> and <bp-asm.h>.
12869         (strchr): Don't use BP_SYM.
12870         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
12871         <bp-sym.h> and <bp-asm.h>.
12872         (__strchrnul): Don't use BP_SYM.
12873         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
12874         <bp-sym.h> and <bp-asm.h>.
12875         (strlen): Don't use BP_SYM.
12876         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
12877         <bp-sym.h> and <bp-asm.h>.
12878         (strncmp): Don't use BP_SYM.  Remove comment about bounded
12879         pointers.
12880         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
12881         <bp-sym.h> and <bp-asm.h>.
12882         (__strnlen): Don't use BP_SYM.
12883         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
12884         <bp-sym.h> and <bp-asm.h>.
12885         (__GI__setjmp): Don't use BP_SYM.
12886         (_setjmp): Likewise.
12887         (__sigsetjmp): Likewise.
12888         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
12889         (L(start_addresses)): Don't use BP_SYM.
12890         (_start): Likewise.
12891         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
12892         <bp-asm.h>.
12893         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
12894         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
12895         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
12896         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
12897         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
12898         <bp-asm.h>.
12899         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
12900         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
12901         about bounded pointers.
12902         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
12903         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
12904         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
12905         <bp-asm.h>.
12906         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
12907         about bounded pointers.  Remove GKM FIXME comments.
12908         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
12909         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
12910         <bp-asm.h>.
12911         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
12912         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
12913         Remove GKM FIXME comments.
12914         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
12915         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
12916         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
12917         <bp-asm.h>.
12918         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
12919         about bounded pointers.  Remove GKM FIXME comment.
12920         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
12921         and <bp-asm.h>.
12922         (strncmp): Don't use BP_SYM.  Remove comment about bounded
12923         pointers.
12924         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
12925         <bp-sym.h> and <bp-asm.h>.
12926         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
12927         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
12928         <bp-sym.h> and <bp-asm.h>.
12929         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
12930         comment.
12931
12932 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
12933
12934         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
12935         call free(NULL).
12936
12937 2013-03-05  David S. Miller  <davem@davemloft.net>
12938
12939         * po/es.po: Update from translation team.
12940
12941 2013-03-05  Andreas Jaeger  <aj@suse.de>
12942
12943         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
12944         <bits/mman-linux.h>.
12945         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
12946         is fine.
12947         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
12948         <bits/mman-linux.h> to end of file.
12949         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
12950         is fine.
12951         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
12952         <bits/mman-linux.h> to end of file.
12953         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
12954         is fine.
12955         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
12956         <bits/mman-linux.h> to end of file.
12957
12958         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
12959         (MCL_CURRENT, MCL_FUTURE): Define here.
12960
12961 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
12962
12963         [BZ #15232]
12964         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
12965         attribute_hidden.
12966         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
12967
12968 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
12969
12970         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
12971         fourth parameter needed for rt_sigprocmask syscall.
12972         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
12973         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
12974         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
12975         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
12976         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
12977         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
12978
12979 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
12980
12981         [BZ #13550]
12982         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
12983         comment about bounded pointers.
12984         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
12985         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
12986
12987 2013-03-04  Andreas Jaeger  <aj@suse.de>
12988
12989         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
12990         common definitions.
12991
12992         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
12993         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
12994         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
12995         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
12996         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
12997         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
12998
12999 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13000
13001         [BZ #15055]
13002         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
13003         __ieee754_sqrl instead of __sqrl.
13004
13005 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
13006
13007         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
13008         * sysdeps/powerpc/fpu_control.h: ... here.
13009         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
13010         * sysdeps/powerpc/bits/fenvinline.h: ... here.
13011         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
13012         * sysdeps/powerpc/bits/mathinline.h: ... here.
13013
13014 2013-03-01  Roland McGrath  <roland@hack.frob.com>
13015
13016         * elf/dl-hwcaps.c (_dl_important_hwcaps):
13017         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
13018         to just [NEED_DL_SYSINFO_DSO].
13019         * elf/dl-support.c: Likewise.
13020         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
13021         * elf/rtld.c (dl_main): Likewise.
13022         * elf/setup-vdso.h (setup_vdso): Likewise.
13023         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
13024         * sysdeps/unix/sysv/linux/dl-sysdep.c
13025         (_dl_discover_osversion): Likewise.
13026
13027 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
13028
13029         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
13030         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
13031
13032 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
13033
13034         * NEWS: Mention libm performance improvements and non-x86 PI
13035         futex support.
13036
13037         * csu/libc-start.c (__pthread_initialize_minimal): Change
13038         function arguments.
13039         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
13040
13041 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
13042
13043         [BZ #13550]
13044         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
13045         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
13046         <bp-sym.h> and <bp-asm.h>.
13047         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
13048         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
13049         and <bp-asm.h>.
13050         (memcpy): Don't use BP_SYM.
13051         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
13052         <bp-asm.h>.
13053         (__mpn_add_n): Don't use BP_SYM.
13054         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
13055         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
13056         and <bp-asm.h>.
13057         (__mpn_addmul_1): Don't use BP_SYM.
13058         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
13059         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
13060         <bp-sym.h>.
13061         (_setjmp): Don't use BP_SYM.
13062         (__novmx_setjmp): Likewise.
13063         (__GI__setjmp): Likewise.
13064         (__vmx_setjmp): Likewise.
13065         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
13066         <bp-sym.h>.
13067         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
13068         (__bzero): Don't use BP_SYM.
13069         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
13070         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
13071         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
13072         <bp-sym.h> and <bp-asm.h>.
13073         (memcpy): Don't use BP_SYM.
13074         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
13075         <bp-sym.h> and <bp-asm.h>.
13076         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
13077         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
13078         <bp-sym.h> and <bp-asm.h>.
13079         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
13080         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
13081         <bp-asm.h>.
13082         (__mpn_lshift): Don't use BP_SYM.
13083         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
13084         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
13085         <bp-asm.h>.
13086         (memset): Don't use BP_SYM.
13087         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
13088         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
13089         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
13090         <bp-asm.h>.
13091         (__mpn_mul_1): Don't use BP_SYM.
13092         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
13093         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
13094         <bp-sym.h> and <bp-asm.h>.
13095         (memcmp): Don't use BP_SYM.
13096         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
13097         <bp-sym.h> and <bp-asm.h>.
13098         (memcpy): Don't use BP_SYM.
13099         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
13100         <bp-sym.h> and <bp-asm.h>.
13101         (memset): Don't use BP_SYM.
13102         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
13103         <bp-sym.h> and <bp-asm.h>.
13104         (strncmp): Don't use BP_SYM.
13105         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
13106         <bp-sym.h> and <bp-asm.h>.
13107         (memcpy): Don't use BP_SYM.
13108         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
13109         <bp-sym.h> and <bp-asm.h>.
13110         (memset): Don't use BP_SYM.
13111         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
13112         <bp-sym.h> and <bp-asm.h>.
13113         (__memchr): Don't use BP_SYM.
13114         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
13115         <bp-sym.h> and <bp-asm.h>.
13116         (memcmp): Don't use BP_SYM.
13117         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
13118         <bp-sym.h> and <bp-asm.h>.
13119         (memcpy): Don't use BP_SYM.
13120         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
13121         <bp-sym.h> and <bp-asm.h>.
13122         (__mempcpy): Don't use BP_SYM.
13123         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
13124         <bp-sym.h> and <bp-asm.h>.
13125         (__memrchr): Don't use BP_SYM.
13126         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
13127         <bp-sym.h> and <bp-asm.h>.
13128         (memset): Don't use BP_SYM.
13129         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
13130         <bp-sym.h> and <bp-asm.h>.
13131         (__rawmemchr): Don't use BP_SYM.
13132         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
13133         <bp-sym.h> and <bp-asm.h>.
13134         (__STRCMP): Don't use BP_SYM.
13135         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
13136         <bp-sym.h> and <bp-asm.h>.
13137         (strchr): Don't use BP_SYM.
13138         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
13139         <bp-sym.h> and <bp-asm.h>.
13140         (__strchrnul): Don't use BP_SYM.
13141         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
13142         <bp-sym.h> and <bp-asm.h>.
13143         (strlen): Don't use BP_SYM.
13144         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
13145         <bp-sym.h> and <bp-asm.h>.
13146         (strncmp): Don't use BP_SYM.
13147         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
13148         <bp-sym.h> and <bp-asm.h>.
13149         (__strnlen): Don't use BP_SYM.
13150         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
13151         <bp-asm.h>.
13152         (__mpn_rshift): Don't use BP_SYM.
13153         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
13154         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
13155         <bp-sym.h> and <bp-asm.h>.
13156         (__sigsetjmp): Don't use BP_SYM.
13157         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
13158         (L(start_addresses)): Don't use BP_SYM.
13159         (_start): Likewise.
13160         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
13161         <bp-asm.h>.
13162         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
13163         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
13164         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
13165         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
13166         <bp-asm.h>.
13167         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
13168         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
13169         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
13170         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
13171         <bp-asm.h>.
13172         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
13173         comments.
13174         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
13175         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
13176         <bp-asm.h>.
13177         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
13178         FIXME comments.
13179         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
13180         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
13181         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
13182         <bp-asm.h>.
13183         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
13184         comment.
13185         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
13186         and <bp-asm.h>.
13187         (strncmp): Don't use BP_SYM,
13188         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
13189         <bp-asm.h>.
13190         (__mpn_sub_n): Don't use BP_SYM.
13191         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
13192         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
13193         and <bp-asm.h>.
13194         (__mpn_submul_1): Don't use BP_SYM.
13195         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
13196         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
13197         <bp-sym.h> and <bp-asm.h>.
13198         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
13199         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
13200         <bp-sym.h> and <bp-asm.h>.
13201         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
13202         comment.
13203
13204 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
13205
13206         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
13207         Use ZK to minimize writes to Z.
13208         (sub_magnitudes): Simplify code a bit.
13209         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
13210         Use ZK to minimize writes to Z.
13211         (sub_magnitudes): Simplify code a bit.
13212
13213 2013-02-27  Roland McGrath  <roland@hack.frob.com>
13214
13215         * csu/gmon-start.c: Add special exception to license text.
13216
13217 2013-02-27  Richard Henderson  <rth@redhat.com>
13218
13219         * scripts/config.guess: Update from config.git.
13220         * scripts/config.sub: Likewise.
13221
13222 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
13223
13224         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
13225
13226         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
13227
13228         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
13229
13230         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
13231
13232         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
13233
13234 2013-02-26  Roland McGrath  <roland@hack.frob.com>
13235
13236         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
13237         [$(build-shared = yes].
13238
13239 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
13240
13241         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
13242         (__mul): Reduce iterations for calculating mantissa.
13243
13244         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
13245         MPTWO.
13246         (__mpranred): Likewise.
13247
13248         [BZ #15160]
13249         * malloc/memusagestat.c (main): Draw graphs for heap and stack
13250         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
13251
13252 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
13253
13254         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
13255         Define __attribute__.
13256
13257 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
13258
13259         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
13260         unused.
13261         * posix/regex_internal.h (__attribute): Remove.
13262         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
13263         (re_string_context_at): Likewise.
13264         (bitset_not): Use __attribute__ and mark function as possibly
13265         unused.
13266         (bitset_merge): Likewise.
13267         (bitset_mask): Likewise.
13268         (re_string_char_size_at): Likewise.
13269         (re_string_wchar_at): Likewise.
13270         (re_string_elem_size_at): Likewise.
13271
13272 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
13273
13274         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
13275         code.
13276         (cc32): Likewise.
13277
13278         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
13279         (__acr): Likewise.
13280         (__cpy): Likewise.
13281         (norm): Likewise.
13282         (denorm): Likewise.
13283         (__dbl_mp): Likewise.
13284         (add_magnitudes): Likewise.
13285         (sub_magnitudes): Likewise.
13286         (__mul): Likewise.
13287         (__inv): Likewise.
13288
13289         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
13290         style.
13291
13292         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
13293         style.
13294
13295         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
13296         code.
13297
13298         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
13299         up changes with default code.
13300         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
13301         Likewise.
13302
13303 2013-02-24  Allan McRae  <allan@archlinux.org>
13304
13305         * manual/socket.texi (The Internet Namespace): Order menu items
13306         to match that in the file.
13307
13308         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
13309         node listing of the info page menu.
13310
13311 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
13312
13313         [BZ #13550]
13314         * sysdeps/i386/bp-asm.h: Remove file.
13315         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
13316         (PARMS): Do not use macros from bp-asm.h.
13317         (S1): Likewise.
13318         (S2): Likewise.
13319         (SIZE): Likewise.
13320         (__mpn_add_n): Do not use BP_SYM
13321         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
13322         "bp-asm.h".
13323         (PARMS): Do not use macros from bp-asm.h.
13324         (S1): Likewise.
13325         (SIZE): Likewise.
13326         (__mpn_addmul_1): Do not use BP_SYM
13327         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
13328         "bp-asm.h".
13329         (PARMS): Do not use macros from bp-asm.h.
13330         (SIGMSK): Likewise.
13331         (_setjmp): Likewise.  Do not use BP_SYM.
13332         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
13333         "bp-asm.h".
13334         (PARMS): Do not use macros from bp-asm.h.
13335         (SIGMSK): Likewise.
13336         (setjmp): Likewise.  Do not use BP_SYM.
13337         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
13338         "bp-asm.h".
13339         (PARMS): Do not use macros from bp-asm.h.
13340         (__frexp): Do not use BP_SYM.
13341         (frexp): Likewise.
13342         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
13343         "bp-asm.h".
13344         (PARMS): Do not use macros from bp-asm.h.
13345         (__frexpf): Do not use BP_SYM.
13346         (frexpf): Likewise.
13347         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
13348         "bp-asm.h".
13349         (PARMS): Do not use macros from bp-asm.h.
13350         (__frexpl): Do not use BP_SYM.
13351         (frexpl): Likewise.
13352         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
13353         "bp-asm.h".
13354         (PARMS): Do not use macros from bp-asm.h.
13355         (__remquo): Do not use BP_SYM.
13356         (remquo): Likewise.
13357         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
13358         "bp-asm.h".
13359         (PARMS): Do not use macros from bp-asm.h.
13360         (__remquof): Do not use BP_SYM.
13361         (remquof): Likewise.
13362         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
13363         "bp-asm.h".
13364         (PARMS): Do not use macros from bp-asm.h.
13365         (__remquol): Do not use BP_SYM.
13366         (remquol): Likewise.
13367         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
13368         "bp-asm.h".
13369         (PARMS): Do not use macros from bp-asm.h.
13370         (DEST): Likewise.
13371         (SRC): Likewise.
13372         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
13373         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
13374         "bp-asm.h".
13375         (PARMS): Do not use macros from bp-asm.h.
13376         (strlen): Do not use BP_SYM.
13377         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
13378         "bp-asm.h".
13379         (PARMS): Do not use macros from bp-asm.h.
13380         (S1): Likewise.
13381         (S2): Likewise.
13382         (SIZE): Likewise.
13383         (__mpn_add_n): Do not use BP_SYM.
13384         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
13385         "bp-asm.h".
13386         (PARMS): Do not use macros from bp-asm.h.
13387         (S1): Likewise.
13388         (SIZE): Likewise.
13389         (__mpn_addmul_1): Do not use BP_SYM.
13390         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
13391         weak_alias.
13392         (bzero): Likewise.
13393         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
13394         "bp-asm.h".
13395         (PARMS): Do not use macros from bp-asm.h.
13396         (S): Likewise.
13397         (SIZE): Likewise.
13398         (__mpn_lshift): Do not use BP_SYM.
13399         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
13400         "bp-asm.h".
13401         (PARMS): Do not use macros from bp-asm.h.
13402         (DEST): Likewise.
13403         (SRC): Likewise.
13404         (LEN): Likewise.
13405         (memcpy): Likewise.  Do not use BP_SYM.
13406         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
13407         libc_hidden_def and weak_alias.
13408         (mempcpy): Do not use BP_SYM in weak_alias.
13409         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
13410         "bp-asm.h".
13411         (PARMS): Do not use macros from bp-asm.h.
13412         (DEST): Likewise.
13413         (LEN): Likewise.
13414         [!BZERO_P] (CHR): Likewise.
13415         (memset): Likewise.  Do not use BP_SYM.
13416         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
13417         "bp-asm.h".
13418         (PARMS): Do not use macros from bp-asm.h.
13419         (S1): Likewise.
13420         (SIZE): Likewise.
13421         (__mpn_mul_1): Do not use BP_SYM.
13422         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
13423         "bp-asm.h".
13424         (PARMS): Do not use macros from bp-asm.h.
13425         (S): Likewise.
13426         (SIZE): Likewise.
13427         (__mpn_rshift): Do not use BP_SYM.
13428         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
13429         "bp-asm.h".
13430         (PARMS): Do not use macros from bp-asm.h.
13431         (STR): Likewise.
13432         (CHR): Likewise.
13433         (strchr): Likewise.  Do not use BP_SYM.
13434         (index): Do not use BP_SYM in weak_alias.
13435         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
13436         "bp-asm.h".
13437         (PARMS): Do not use macros from bp-asm.h.
13438         (DEST): Likewise.
13439         (SRC): Likewise.
13440         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
13441         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
13442         "bp-asm.h".
13443         (PARMS): Do not use macros from bp-asm.h.
13444         (strlen): Do not use BP_SYM.
13445         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
13446         "bp-asm.h".
13447         (PARMS): Do not use macros from bp-asm.h.
13448         (S1): Likewise.
13449         (S2): Likewise.
13450         (SIZE): Likewise.
13451         (__mpn_sub_n): Do not use BP_SYM.
13452         * sysdeps/i386/i586/submul_1.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         (SIZE): Likewise.
13457         (__mpn_submul_1): Do not use BP_SYM.
13458         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
13459         "bp-asm.h".
13460         (PARMS): Do not use macros from bp-asm.h.
13461         (S1): Likewise.
13462         (S2): Likewise.
13463         (SIZE): Likewise.
13464         (__mpn_add_n): Do not use BP_SYM.
13465         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
13466         weak_alias.
13467         (bzero): Likewise.
13468         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
13469         "bp-asm.h".
13470         (PARMS): Do not use macros from bp-asm.h.
13471         (BLK2): Likewise.
13472         (LEN): Likewise.
13473         (memcmp): Do not use BP_SYM.
13474         (bcmp): Do not use BP_SYM in weak_alias.
13475         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
13476         "bp-asm.h".
13477         (PARMS): Do not use macros from bp-asm.h.
13478         (DEST): Likewise.
13479         (SRC): Likewise.
13480         (LEN): Likewise.
13481         (memcpy): Likewise.  Do not use BP_SYM.
13482         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
13483         "bp-asm.h".
13484         (PARMS): Do not use macros from bp-asm.h.
13485         (DEST): Likewise.
13486         (SRC): Likewise.
13487         (LEN): Likewise.
13488         (memmove): Likewise.  Do not use BP_SYM.
13489         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
13490         "bp-asm.h".
13491         (PARMS): Do not use macros from bp-asm.h.
13492         (DEST): Likewise.
13493         (SRC): Likewise.
13494         (LEN): Likewise.
13495         (__mempcpy): Likewise.  Do not use BP_SYM.
13496         (mempcpy): Do not use BP_SYM in weak_alias.
13497         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
13498         "bp-asm.h".
13499         (PARMS): Do not use macros from bp-asm.h.
13500         (DEST): Likewise.
13501         (LEN): Likewise.
13502         [!BZERO_P] (CHR): Likewise.
13503         (memset): Likewise.  Do not use BP_SYM.
13504         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
13505         "bp-asm.h".
13506         (PARMS): Do not use macros from bp-asm.h.
13507         (STR2): Likewise.
13508         (strcmp): Do not use BP_SYM.
13509         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
13510         "bp-asm.h".
13511         (PARMS): Do not use macros from bp-asm.h.
13512         (STR): Likewise.
13513         (DELIM): Likewise.
13514         [USE_AS_STRTOK_R] (SAVE): Likewise.
13515         (FUNCTION): Likewise.  Do not use BP_SYM.
13516         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
13517         aliases.
13518         (strtok_r): Likewise.
13519         (__GI___strtok_r): Likewise.
13520         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
13521         (PARMS): Do not use macros from bp-asm.h.
13522         (S): Likewise.
13523         (SIZE): Likewise.
13524         (__mpn_lshift): Do not use BP_SYM.
13525         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
13526         (PARMS): Do not use macros from bp-asm.h.
13527         (STR): Likewise.
13528         (CHR): Likewise.
13529         (__memchr): Do not use BP_SYM.
13530         (memchr): Do not use BP_SYM in weak_alias.
13531         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
13532         (PARMS): Do not use macros from bp-asm.h.
13533         (BLK2): Likewise.
13534         (LEN): Likewise.
13535         (memcmp): Do not use BP_SYM.
13536         (bcmp): Do not use BP_SYM in weak_alias.
13537         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
13538         (PARMS): Do not use macros from bp-asm.h.
13539         (S1): Likewise.
13540         (SIZE): Likewise.
13541         (__mpn_mul_1): Do not use BP_SYM.
13542         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
13543         "bp-asm.h".
13544         (PARMS): Do not use macros from bp-asm.h.
13545         (STR): Likewise.
13546         (CHR): Likewise.
13547         (__rawmemchr): Do not use BP_SYM.
13548         (rawmemchr): Do not use BP_SYM in weak_alias.
13549         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
13550         (PARMS): Do not use macros from bp-asm.h.
13551         (S): Likewise.
13552         (SIZE): Likewise.
13553         (__mpn_rshift): Do not use BP_SYM.
13554         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
13555         (PARMS): Do not use macros from bp-asm.h.
13556         (SIGMSK): Likewise.
13557         (__sigsetjmp): Likewise.  Do not use BP_SYM.
13558         * sysdeps/i386/start.S: Do not include "bp-sym.h".
13559         (_start): Do not use BP_SYM.
13560         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
13561         (PARMS): Do not use macros from bp-asm.h.
13562         (DEST): Likewise.
13563         (SRC): Likewise.
13564         (__stpcpy): Likewise.  Do not use BP_SYM.
13565         (stpcpy): Do not use BP_SYM in weak_alias.
13566         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
13567         "bp-asm.h".
13568         (PARMS): Do not use macros from bp-asm.h.
13569         (DEST): Likewise.
13570         (SRC): Likewise.
13571         (LEN): Likewise.
13572         (__stpncpy): Likewise.  Do not use BP_SYM.
13573         (stpncpy): Do not use BP_SYM in weak_alias.
13574         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
13575         (PARMS): Do not use macros from bp-asm.h.
13576         (STR): Likewise.
13577         (CHR): Likewise.
13578         (strchr): Likewise.  Do not use BP_SYM.
13579         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
13580         "bp-asm.h".
13581         (PARMS): Do not use macros from bp-asm.h.
13582         (STR): Likewise.
13583         (CHR): Likewise.
13584         (__strchrnul): Likewise.  Do not use BP_SYM.
13585         (strchrnul): Do not use BP_SYM in weak_alias.
13586         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
13587         "bp-asm.h".
13588         (PARMS): Do not use macros from bp-asm.h.
13589         (STOP): Likewise.
13590         (strcspn): Do not use BP_SYM.
13591         * sysdeps/i386/strpbrk.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         (STOP): Likewise.
13596         (strpbrk): Likewise.  Do not use BP_SYM.
13597         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
13598         "bp-asm.h".
13599         (PARMS): Do not use macros from bp-asm.h.
13600         (STR): Likewise.
13601         (CHR): Likewise.
13602         (strrchr): Likewise.  Do not use BP_SYM.
13603         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
13604         (PARMS): Do not use macros from bp-asm.h.
13605         (SKIP): Likewise.
13606         (strspn): Do not use BP_SYM.
13607         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
13608         (PARMS): Do not use macros from bp-asm.h.
13609         (STR): Likewise.
13610         (DELIM): Likewise.
13611         (SAVE): Likewise.
13612         (FUNCTION): Likewise.  Do not use BP_SYM.
13613         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
13614         aliases.
13615         (strtok_r): Likewise.
13616         (__GI___strtok_r): Likewise.
13617         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
13618         (PARMS): Do not use macros from bp-asm.h.
13619         (S1): Likewise.
13620         (S2): Likewise.
13621         (SIZE): Likewise.
13622         (__mpn_sub_n): Do not use BP_SYM.
13623         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
13624         "bp-asm.h".
13625         (PARMS): Do not use macros from bp-asm.h.
13626         (S1): Likewise.
13627         (SIZE): Likewise.
13628         (__mpn_submul_1): Do not use BP_SYM.
13629         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
13630         <bp-sym.h>.
13631         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
13632         and <bp-asm.h>.
13633         (PARMS): Do not use macros from bp-asm.h.
13634         (FLAGS): Likewise.
13635         (PTID): Likewise.
13636         (TLS): Likewise.
13637         (CTID): Likewise.
13638         (__clone): Do not use BP_SYM.
13639         (clone): Do not use BP_SYM in weak_alias.
13640         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
13641         and <bp-asm.h>.
13642         (PARMS): Do not use macros from bp-asm.h.
13643         (LEN): Likewise.
13644         (__mmap64): Do not use BP_SYM.
13645         (mmap64): Do not use BP_SYM in weak_alias.
13646         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
13647         <bp-sym.h> and <bp-asm.h>.
13648         (PARMS): Do not use macros from bp-asm.h.
13649         (__posix_fadvise64_l64): Do not use BP_SYM.
13650         * sysdeps/unix/sysv/linux/i386/semtimedop.S
13651         (PARMS): Do not use macros from bp-asm.h.
13652         (NSOPS): Likewise.
13653         (semtimedop): Do not use BP_SYM.
13654         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
13655         and <bp-asm.h>.
13656
13657 2013-02-21  Allan McRae  <allan@archlinux.org>
13658
13659         * manual/message.texi (Charset conversion in gettext):
13660         Move @end statement to beginning of line.
13661
13662 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
13663
13664         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
13665         static.
13666         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
13667         Likewise.
13668
13669         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
13670         (denorm): Likewise.
13671         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
13672         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
13673
13674 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
13675
13676         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
13677         tail-call to the resolved function if pltexit isn't needed.
13678
13679 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
13680
13681         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
13682         or Y being zero as being unlikely.
13683         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
13684         Likewise.
13685
13686 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
13687
13688         * manual/nss.texi (System Databases and Name Service Switch):
13689         Remove frobnicate @pxref.
13690
13691 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
13692
13693         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
13694         __attribute__ ((unused)) to __attribute__ ((__unused__)).
13695
13696 2013-02-20  Petr Machata  <pmachata@redhat.com>
13697
13698         * elf/elf.h (R_ARM_TARGET1): New macro.
13699         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
13700         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
13701         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
13702         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
13703         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
13704         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
13705         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
13706         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
13707         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
13708         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
13709         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
13710         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
13711         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
13712         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
13713         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
13714         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
13715         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
13716         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
13717         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
13718         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
13719         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
13720         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
13721         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
13722         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
13723         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
13724         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
13725         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
13726         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
13727         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
13728         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
13729         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
13730         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
13731         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
13732         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
13733         (R_ARM_THM_GOT_BREL12): Likewise.
13734         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
13735         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
13736         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
13737         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
13738         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
13739         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
13740         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
13741         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
13742         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
13743
13744 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
13745
13746         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
13747         __attribute_used__ to __attribute__ ((unused)).
13748
13749 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
13750
13751         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
13752         powerpc mpa.c.
13753         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
13754         comment formatting.
13755         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
13756
13757 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
13758
13759         [BZ #13550]
13760         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
13761         Remove macro.
13762         (ENTER): Remove both macro definitions.
13763         (LEAVE): Likewise.
13764         (CHECK_BOUNDS_LOW): Likewise.
13765         (CHECK_BOUNDS_HIGH): Likewise.
13766         (CHECK_BOUNDS_BOTH): Likewise.
13767         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
13768         (RETURN_BOUNDED_POINTER): Likewise.
13769         (RETURN_NULL_BOUNDED_POINTER): Likewise.
13770         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
13771         (POP_ERRNO_LOCATION_RETURN): Likewise.
13772         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
13773         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
13774         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
13775         macros.
13776         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
13777         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
13778         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
13779         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
13780         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
13781         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
13782         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
13783         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
13784         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
13785         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
13786         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
13787         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
13788         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
13789         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
13790         removed macros.
13791         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
13792         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
13793         macros.
13794         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
13795         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
13796         * sysdeps/i386/i586/memset.S (memset): Likewise.
13797         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
13798         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
13799         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
13800         macros.
13801         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
13802         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
13803         Change uses of L(2) to L(out).
13804         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
13805         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
13806         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
13807         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
13808         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
13809         removed macros.
13810         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
13811         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
13812         macros.
13813         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
13814         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
13815         (RETURN): Do not use macro LEAVE.
13816         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
13817         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
13818         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
13819         * sysdeps/i386/i686/memset.S (memset): Likewise.
13820         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
13821         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
13822         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
13823         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
13824         Likewise.
13825         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
13826         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
13827         L(1_2) and L(1_3) into L(1).
13828         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
13829         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
13830         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
13831         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
13832         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
13833         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
13834         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
13835         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
13836         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
13837         macros.
13838         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
13839         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
13840         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
13841         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
13842         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
13843         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
13844         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
13845         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
13846         * sysdeps/i386/strcspn.S (strcspn): Likewise.
13847         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
13848         * sysdeps/i386/strrchr.S (strrchr): Likewise.
13849         * sysdeps/i386/strspn.S (strspn): Likewise.
13850         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
13851         conditional code.
13852         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
13853         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
13854         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
13855         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
13856         L(1_3) into L(1_1).
13857         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
13858         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
13859         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
13860         macros.
13861         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
13862
13863 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
13864
13865         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
13866         macro.
13867
13868 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
13869
13870         * math/atest-exp.c (exp_mpn): Remove ROUND.
13871         * math/atest-exp2.c (exp_mpn): Likewise.
13872         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
13873
13874         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
13875         * stdlib/tst-tls-atexit-lib.c: Likewise.
13876         * stdlib/tst-tls-atexit.c: Likewise.
13877
13878 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
13879
13880         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
13881         and __attribute_alloc_size__.
13882
13883 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
13884
13885         * include/programs/xmalloc.h: Change __attribute_alloc_size to
13886         __attribute_alloc_size__.
13887         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
13888         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
13889
13890 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
13891
13892         * include/programs/xmalloc.h: New file.
13893         * catgets/gencat.c: Include it.
13894         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
13895         * elf/pldd.c: Likewise.
13896         * iconv/iconv_charmap.c: Likewise.
13897         * iconv/iconvconfig.c: Likewise.
13898         * iconv/strtab.c: Likewise.
13899         * locale/programs/locale.c: Likewise.
13900         * locale/programs/localedef.h: Likewise.
13901         * locale/programs/simple-hash.c: Likewise.
13902         * nscd/nscd.h: Likewise.
13903         * nss/makedb.c: Likewise.
13904         * sysdeps/generic/ldconfig.h: Likewise.
13905
13906 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
13907
13908         * Versions.def: Add GLIBC_2.18.
13909         * include/link.h (struct link_map): New member l_tls_dtor_count.
13910         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
13911         (__call_tls_dtors): Likewise.
13912         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
13913         __cxa_thread_atexit_impl.
13914         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
13915         Likewise.
13916         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
13917         Likewise.
13918         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
13919         Likewise.
13920         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
13921         Likewise.
13922         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
13923         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
13924         Likewise.
13925         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
13926         Likewise.
13927         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
13928         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
13929         Likewise.
13930         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
13931         (tests): Add test case tst-tls-atexit.
13932         (modules-names): Add shared library for tst-tls-atexit.
13933         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
13934         (GLIBC_PRIVATE): Add __call_tls_dtors.
13935         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
13936         for libstdc++.
13937         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
13938         * stdlib/tst-tls-atexit.c: New test case.
13939         * stdlib/tst-tls-atexit-lib.c: New test case.
13940
13941         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
13942
13943         * elf/Versions (ld): Add _dl_find_dso_for_object.
13944         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
13945         * elf/dl-open.c (_dl_find_dso_for_object): New function.
13946         (dl_open_worker): Use _dl_find_dso_for_object.
13947         * elf/dl-sym.c (do_sym): Likewise.
13948         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
13949
13950 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
13951
13952         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
13953         Syntactic changes only.
13954         (_dl_runtime_profile): Do a tail-call to the resolved function.
13955
13956 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
13957
13958         [BZ #13550]
13959         * sysdeps/x86_64/bp-asm.h: Remove file.
13960         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
13961         <bp-sym.h> and <bp-asm.h>.
13962         (__clone): Do not use BP_SYM.
13963         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
13964         <bp-sym.h> and <bp-asm.h>.
13965         * sysdeps/unix/x86_64/sysdep.S: Likewise.
13966         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
13967         "bp-asm.h".
13968         (_setjmp): Do not use BP_SYM.
13969         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
13970         "bp-asm.h".
13971         (setjmp): Do not use BP_SYM.
13972         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
13973         libc_hidden_def.
13974         (mempcpy): Do not use BP_SYM in weak_alias.
13975         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
13976         "bp-asm.h".
13977         (strchr): Do not use BP_SYM.
13978         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
13979         "bp-asm.h".
13980         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
13981         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
13982         (_start): Do not use BP_SYM.
13983         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
13984         "bp-asm.h".
13985         (strcat): Do not use BP_SYM.
13986         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
13987         "bp-asm.h".
13988         (STRCMP): Do not use BP_SYM.
13989         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
13990         "bp-asm.h".
13991         (STRCPY): Do not use BP_SYM.
13992         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
13993         "bp-asm.h".
13994         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
13995         "bp-asm.h".
13996         (FUNCTION): Do not use BP_SYM.
13997         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
13998         weak_alias.
13999         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
14000
14001 2013-02-17  Andreas Jaeger  <aj@suse.de>
14002
14003         * time/Versions: Sort entries.
14004         * string/Versions: Likewise.
14005         * resolv/Versions: Likewise.
14006         * posix/Versions: Likewise.
14007         * iconv/Versions: Likewise.
14008         * elf/Versions: Likewise.
14009         * wcsmbs/Versions: Likewise.
14010
14011 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
14012
14013         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
14014         loop termination condition.
14015
14016         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
14017         variable to calculate EZ.
14018         (__sqr): Likewise.
14019
14020         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
14021         the lower precision input.
14022
14023 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
14024
14025         [BZ #13550]
14026         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
14027         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
14028         (run-via-rtld-prefix): Do not handle %-bp tests.
14029         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
14030         (all-object-suffixes): Remove .ob.
14031         (bppfx): Remove variable.
14032         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
14033         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
14034         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
14035         [$(build-bounded) = yes] (libtype.ob): Likewise.
14036         * Makerules (elide-routines.ob): Remove variable.
14037         (do-tests-clean): Do not handle *-bp.out.
14038         (common-mostlyclean): Do not handle *-bp and *-bp.out.
14039         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
14040         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
14041         (tests): Do not include $(tests-bp.out).
14042         (xtests): Do not include $(xtests-bp.out).
14043         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
14044         [$(build-bounded) = yes] ($(addprefix
14045         $(objpfx),$(binaries-bounded))): Remove rule.
14046         ($(objpfx)%-bp.out): Remove rule.
14047         * config.make.in (build-bounded): Remove variable.
14048         * crypt/Makefile [$(build-bounded) = yes]
14049         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
14050         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
14051         append to variable.
14052         [$(build-bounded) = yes] (install-lib): Likewise.
14053         [$(build-bounded) = yes] (generated): Likewise.
14054         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
14055         Remove rule.
14056         * intl/Makefile [$(build-bounded) = yes]
14057         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
14058         * math/Makefile [$(build-bounded) = yes]
14059         ($(tests:%=$(objpfx)%-bp): Likewise.
14060         * misc/Makefile [$(build-bounded) = yes]
14061         ($(objpfx)tst-tsearch-bp): Likewise.
14062         * nptl/Makeconfig (bounded-thread-library): Remove variable.
14063         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
14064         Remove dependency.
14065         * string/Makefile (o-objects.ob): Remove variable.
14066         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
14067         (CFLAGS-.ob): Remove variable.
14068         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
14069         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
14070         both definitions of variable.
14071         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
14072         (ASFLAGS-.ob): Remove variable.
14073
14074 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
14075
14076         [BZ #13550]
14077         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
14078         Remove __BOUNDED_POINTERS__ from condition.
14079         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
14080         * string/bits/string2.h [!__NO_STRING_INLINES &&
14081         !__BOUNDED_POINTERS__]: Likewise.
14082         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
14083         Likewise.
14084         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
14085         Remove conditional code.
14086         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
14087         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
14088         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
14089         condition.
14090
14091         [BZ #13550]
14092         * csu/libc-start.c: Do not include <bp-sym.h>.
14093         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
14094         * elf/dl-open.c: Do not include <bp-sym.h>.
14095         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
14096         * math/fegetenv.c: Do not include <bp-sym.h>.
14097         (fegetenv): Do not use BP_SYM in versioned symbols.
14098         * nptl/sysdeps/pthread/bits/libc-lockP.h
14099         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
14100         <bp-sym.h>.
14101         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14102         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
14103         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14104         (__pthread_mutex_destroy): Likewise.
14105         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14106         (__pthread_mutex_lock): Likewise.
14107         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14108         (__pthread_mutex_trylock): Likewise.
14109         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14110         (__pthread_mutex_unlock): Likewise.
14111         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14112         (__pthread_mutexattr_init): Likewise.
14113         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14114         (__pthread_mutexattr_destroy): Likewise.
14115         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14116         (__pthread_mutexattr_settype): Likewise.
14117         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14118         (__pthread_rwlock_init): Likewise.
14119         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14120         (__pthread_rwlock_destroy): Likewise.
14121         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14122         (__pthread_rwlock_rdlock): Likewise.
14123         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14124         (__pthread_rwlock_tryrdlock): Likewise.
14125         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14126         (__pthread_rwlock_wrlock): Likewise.
14127         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14128         (__pthread_rwlock_trywrlock): Likewise.
14129         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14130         (__pthread_rwlock_unlock): Likewise.
14131         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14132         (__pthread_key_create): Likewise.
14133         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14134         (__pthread_setspecific): Likewise.
14135         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14136         (__pthread_getspecific): Likewise.
14137         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
14138         Likewise.
14139         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14140         (_pthread_cleanup_push_defer): Likewise.
14141         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14142         (_pthread_cleanup_pop_restore): Likewise.
14143         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14144         (pthread_setcancelstate): Likewise.
14145         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
14146         <bp-sym.h>.
14147         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
14148         (memchr): Do not use BP_SYM in weak_alias.
14149         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
14150         (fegetenv): Do not use BP_SYM in versioned symbols.
14151         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
14152         (fesetenv): Do not use BP_SYM in versioned symbols.
14153         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
14154         (feupdateenv): Do not use BP_SYM in versioned symbols.
14155         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
14156         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
14157         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
14158         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
14159         (open64): Do not use BP_SYM in weak_alias.
14160         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
14161         (fegetenv): Do not use BP_SYM in versioned symbols.
14162         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
14163         (fesetenv): Do not use BP_SYM in versioned symbols.
14164         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
14165         (feupdateenv): Do not use BP_SYM in versioned symbols.
14166         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
14167         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
14168         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
14169         (feraiseexcept): Do not use BP_SYM in versioned symbols.
14170         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
14171         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
14172         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
14173         <bp-sym.h>.
14174         (__libc_start_main): Do not use BP_SYM.
14175
14176 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
14177
14178         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
14179         redundant return line.
14180         (norm): Likewise.
14181         (denorm): Likewise.
14182         (dbl_mp): Likewise.
14183         (sub_magnitudes): Likewise.
14184         (__add): Likewise.
14185         (__sub): Likewise.
14186         (__mul): Likewise.
14187         (__inv): Likewise.
14188         (__dvd): Likewise.
14189         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
14190         (norm): Likewise.
14191         (denorm): Likewise.
14192         (dbl_mp): Likewise.
14193         (sub_magnitudes): Likewise.
14194         (__add): Likewise.
14195         (__sub): Likewise.
14196         (__mul): Likewise.
14197         (__inv): Likewise.
14198         (__dvd): Likewise.
14199
14200         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
14201         instead of __mul.
14202         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
14203         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
14204         (cc32): Likewise.
14205
14206         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
14207         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
14208         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
14209         of __mul for squares.
14210         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
14211         function
14212         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
14213         Likewise.
14214         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
14215         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
14216
14217 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
14218
14219         [BZ #13550]
14220         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
14221         code.
14222         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
14223         prototype or function definition.  Rename ubp_* variables and
14224         parameters.  Remove argv definitions conditional on
14225         [__BOUNDED_POINTERS__].
14226         * debug/backtrace.c (__backtrace): Do not use __unbounded.
14227         * elf/dl-runtime.c (_dl_fixup): Likewise.
14228         * include/set-hooks.h (RUN_HOOK): Likewise.
14229         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
14230         definition.
14231         * string/strcpy.c (strcpy): Do not use __unbounded.
14232         * sysdeps/generic/frame.h (struct layout): Likewise.
14233         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
14234         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
14235         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
14236         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
14237         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
14238         (__backtrace): Likewise.
14239         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
14240         use __ptrvalue.
14241         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
14242         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
14243         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
14244         Likewise.
14245         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
14246         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
14247         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
14248         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
14249         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
14250         Do not use __unbounded.
14251         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
14252         Rename __unboundedrlimits parameter to rlimits in prototype.
14253         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
14254         Do not use __unbounded.
14255         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
14256         not use __ptrvalue.
14257         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
14258         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
14259         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
14260         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
14261         __ptrvalue or __unbounded.
14262         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
14263         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
14264         use __unbounded.
14265         (__new_msgctl): Do not use __ptrvalue.
14266         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
14267         __unbounded.
14268         (__libc_msgrcv): Do not use __ptrvalue.
14269         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
14270         startup_info): Do not use __unbounded.
14271         (__libc_start_main): Likewise.  Rename ubp_* variables and
14272         parameters.  Remove argv definitions conditional on
14273         [__BOUNDED_POINTERS__].
14274         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
14275         __ptrvalue.
14276         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
14277         use __unbounded.
14278         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
14279         or __ptrvalue.
14280         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
14281         use __unbounded.
14282         (__new_shmctl): Do not use __ptrvalue.
14283         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
14284         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
14285         Likewise.
14286         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
14287         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
14288         (__libc_sigaction): Likewise.
14289         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
14290         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
14291         Likewise.
14292         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
14293
14294 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
14295
14296         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
14297
14298         * string/mempcpy.c: Implement by calling memcpy.
14299
14300 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
14301
14302         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
14303
14304         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
14305         evaluation.
14306
14307         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
14308         values in the mantissa.
14309
14310         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
14311         minimize writes to Z.
14312         (sub_magnitudes): Simplify code a bit.
14313
14314 2013-02-12  Roland McGrath  <roland@hack.frob.com>
14315
14316         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
14317         from the message.  The linker prefixes all warnings with that already.
14318
14319 2013-02-12  Andreas Schwab  <schwab@suse.de>
14320
14321         [BZ #15078]
14322         * posix/regexec.c (extend_buffers): Add parameter min_len.
14323         (check_matching): Pass minimum needed length.
14324         (clean_state_log_if_needed): Likewise.
14325         (get_subexp): Likewise.
14326         * posix/Makefile (tests): Add bug-regex34.
14327         (bug-regex34-ENV): Define.
14328         * posix/bug-regex34.c: New file.
14329
14330         [BZ #11561]
14331         * posix/regcomp.c (parse_bracket_exp): When looking up collating
14332         elements compare against the byte sequence of it, not its name.
14333         * posix/Makefile (tests): Add bug-regex35.
14334         (bug-regex35-ENV): Define.
14335         * posix/bug-regex35.c: New file.
14336
14337 2013-02-11  Tom de Vries  <tom@codesourcery.com>
14338
14339         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
14340         comment.
14341         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
14342         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
14343         (CHECK_EOL): Add undef.
14344
14345 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
14346
14347         * bits/stdlib-bsearch.h: New file.
14348         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
14349         * stdlib/stdlib.h: Likewise.
14350
14351 2013-02-11  Roland McGrath  <roland@hack.frob.com>
14352
14353         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
14354         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
14355         declaration.
14356         * manual/search.texi (Array Search Function): Add missing const in
14357         lfind prototype.
14358         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
14359         declaration to use rlim_t.
14360         (Basic Scheduling Functions): Remove erroneous const from
14361         sched_getparam prototype.  Remove erroneous * from
14362         sched_get_priority_max and sched_get_priority_min prototypes.
14363         (Resource Usage): Fix summary @comment on vtimes to refer to
14364         sys/vtimes.h rather than vtimes.h.
14365         Add missing *s in vtimes prototype.
14366         (Limits on Resources): Fix ulimit prototype to return long int.
14367         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
14368         prototypes to use long int rather than double.
14369         (BSD Random): Fix initstate and setstate to use char *, not void *.
14370         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
14371         prototype to make second argument 'struct aiocb64 *const[]'.
14372         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
14373         (Status of AIO Operations): Remove erroneous const in aio_return and
14374         aio_return64 prototypes.
14375         (Synchronizing I/O): Fix sync prototype to return void.
14376         * manual/startup.texi (Suboptions): Remove an erroneous const in
14377         getsubopt prototype.
14378         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
14379         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
14380         use size_t rather than int.
14381         (Scanning All Users): Likewise for getpwent_r.
14382         (Setting Groups): Add missing const to setgroups prototype.
14383         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
14384         * manual/socket.texi (Host Names): Fix gethostbyaddr and
14385         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
14386         'const void *' rather than 'const char *'.
14387         (Host Address Functions): Likewise for inet_ntop.
14388         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
14389         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
14390         ssize_t for return value.
14391         (Sending Data): Likewise for send, sendto, sendmsg.
14392         (Socket Option Functions): Add a missing const in setsockopt prototype.
14393         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
14394         use wchar_t for the argument.
14395         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
14396         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
14397         take no arguments.
14398         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
14399         double/float/long double for second argument.
14400         Fix return types of significand, significandf, significandl.
14401         * manual/filesys.texi (Setting Permissions): Use mode_t for second
14402         argument in fchmod prototype.
14403         (File Owner): Use uid_t and gid_t in fchown prototype.
14404         (File Times): Add const to utimes, futimes, and lutimes prototypes.
14405         (Making Special Files): Use mode_t and dev_t in mknod prototype.
14406         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
14407         use 'const struct dirent **' as argument types to CMP function pointer
14408         argument.
14409         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
14410         (File Times): Fix summary magic @comment for struct utimbuf and utime
14411         to refer to utime.h, not time.h.
14412         * manual/string.texi (Argz Functions): Add missing const in
14413         argz_extract and argz_next prototypes.
14414         (Finding Tokens in a String): Likewise for basename.
14415         (String/Array Comparison): Fix typo in wcscasecmp prototype.
14416         (Copying and Concatenation): Fix typo in wmemmove prototype.
14417         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
14418         (Signal Stack): Remove erroneous const in sigstack prototype.
14419         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
14420         prototype.
14421         (Simple Calendar Time): Likewise for stime.
14422         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
14423         prototype.
14424         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
14425         say sys/sysctl.h instead.
14426         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
14427         and vsyslog prototypes.
14428
14429 2013-02-11  Tom de Vries  <tom@codesourcery.com>
14430
14431         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
14432         Remove.
14433
14434 2013-02-11  Roland McGrath  <roland@hack.frob.com>
14435
14436         * misc/sys/mman.h: Fix typo in mremap comment.
14437
14438 2013-02-08  Roland McGrath  <roland@hack.frob.com>
14439
14440         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
14441         the '\0' terminator.
14442
14443 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
14444
14445         [BZ #13550]
14446         * debug/segfault.c: Don't include <bp-checks.h>.
14447         * sysdeps/generic/bp-checks.h: Remove file.
14448         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
14449         (__GETDENTS): Don't use CHECK_N.
14450         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
14451         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
14452         (__getgroups): Don't use CHECK_N.
14453         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
14454         (setgroups): Don't use CHECK_N.
14455         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
14456         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
14457         (__libc_msgrcv): Don't use CHECK_N.
14458         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
14459         (__libc_msgsnd): Don't use CHECK_N.
14460         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
14461         <bp-checks.h>.
14462         (__libc_pread): Don't use CHECK_N.
14463         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
14464         include <bp-checks.h>.
14465         (__libc_pread64): Don't use CHECK_N.
14466         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
14467         include <bp-checks.h>.
14468         (__libc_pwrite): Don't use CHECK_N.
14469         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
14470         include <bp-checks.h>.
14471         (__libc_pwrite64): Don't use CHECK_N.
14472         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
14473         <bp-checks.h>.
14474         (__libc_pread): Don't use CHECK_N.
14475         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
14476         include <bp-checks.h>.
14477         (__libc_pread64): Don't use CHECK_N.
14478         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
14479         include <bp-checks.h>.
14480         (__libc_pwrite): Don't use CHECK_N.
14481         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
14482         include <bp-checks.h>.
14483         (__libc_pwrite64): Don't use CHECK_N.
14484         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
14485         (do_pread): Don't use CHECK_N.
14486         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
14487         (do_pread64): Don't use CHECK_N.
14488         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
14489         (do_pwrite): Don't use CHECK_N.
14490         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
14491         (do_pwrite64): Don't use CHECK_N.
14492         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
14493         (__libc_readv): Don't use CHECK_N.
14494         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
14495         (semop): Don't use CHECK_N.
14496         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
14497         <bp-checks.h>.
14498         (semtimedop): Don't use CHECK_N.
14499         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
14500         (__libc_pread): Don't use CHECK_N.
14501         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
14502         <bp-checks.h>.
14503         (__libc_pread64): Don't use CHECK_N.
14504         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
14505         <bp-checks.h>.
14506         (__libc_pwrite): Don't use CHECK_N.
14507         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
14508         <bp-checks.h>.
14509         (__libc_pwrite64): Don't use CHECK_N.
14510         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
14511         <bp-checks.h>.
14512         (__libc_msgrcv): Don't use CHECK_N.
14513         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
14514         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
14515         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
14516         (__libc_writev): Don't use CHECK_N.
14517
14518 2013-02-08  Roland McGrath  <roland@hack.frob.com>
14519
14520         * string/strcpy.c: Removed unused variable.
14521
14522         * Makeconfig (+sysdep-includes): Define with := rather than =.
14523         Use an existing include/ subdir of each sysdeps dir before it.
14524
14525 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
14526
14527         * nscd/connection.c (register_traced_file): Comment function.
14528         [HAVE_INOTIFY] (union __inev): Define.
14529         [HAVE_INOTIFY] (inotify_check_files): New function.
14530         [HAVE_INOTIFY] (clear_db_cache): Likewise.
14531         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
14532         clear_db_cache.
14533         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
14534
14535 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
14536
14537         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
14538         loaded if not already and that a failure is permanent.
14539
14540 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
14541
14542         [BZ #15006]
14543         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
14544         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
14545
14546 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
14547
14548         [BZ #13550]
14549         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
14550         (CHECK_1_NULL_OK): Likewise.
14551         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
14552         (__fxstat): Do not use CHECK_1.
14553         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
14554         <bp-checks.h>.
14555         (___fxstat64): Do not use CHECK_1.
14556         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
14557         <bp-checks.h>.
14558         (__fxstatat): Do not use CHECK_1.
14559         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
14560         <bp-checks.h>.
14561         (__fxstatat64): Do not use CHECK_1.
14562         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
14563         <bp-checks.h>.
14564         (__fxstat): Do not use CHECK_1.
14565         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
14566         <bp-checks.h>.
14567         (__fxstatat): Do not use CHECK_1.
14568         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
14569         <bp-checks.h>.
14570         (__getresgid): Do not use CHECK_1.
14571         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
14572         <bp-checks.h>.
14573         (__getresuid): Do not use CHECK_1.
14574         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
14575         <bp-checks.h>.
14576         (__lxstat): Do not use CHECK_1.
14577         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
14578         <bp-checks.h>.
14579         (__old_msgctl): Do not use CHECK_1.
14580         (__new_msgctl): Likewise.
14581         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
14582         <bp-checks.h>.
14583         (__new_setrlimit): Do not use CHECK_1.
14584         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
14585         <bp-checks.h>.
14586         (__old_shmctl): Do not use CHECK_1.
14587         (__new_shmctl): Likewise.
14588         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
14589         <bp-checks.h>.
14590         (__xstat): Do not use CHECK_1.
14591         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
14592         (__lxstat): Do not use CHECK_1.
14593         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
14594         <bp-checks.h>.
14595         (___lxstat64): Do not use CHECK_1.
14596         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
14597         (__old_msgctl): Do not use CHECK_1.
14598         (__new_msgctl): Likewise.
14599         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
14600         <bp-checks.h>.
14601         (__gettimeofday): Do not use CHECK_1.
14602         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
14603         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
14604         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
14605         <bp-checks.h>.
14606         (__gettimeofday): Do not use CHECK_1.
14607         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
14608         (__old_shmctl): Do not use CHECK_1_NULL_OK.
14609         (__new_shmctl): Do not use CHECK_1.
14610         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
14611         <bp-checks.h>.
14612         (do_sigtimedwait): Do not use CHECK_1.
14613         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
14614         <bp-checks.h>.
14615         (do_sigwaitinfo): Do not use CHECK_1.
14616         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
14617         <bp-checks.h>.
14618         (msgctl): Do not use CHECK_1.
14619         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
14620         <bp-checks.h>.
14621         (shmctl): Do not use CHECK_1.
14622         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
14623         (ustat): Do not use CHECK_1.
14624         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
14625         <bp-checks.h>.
14626         (__fxstat): Do not use CHECK_1.
14627         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
14628         <bp-checks.h>.
14629         (__fxstatat): Do not use CHECK_1.
14630         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
14631         <bp-checks.h>.
14632         (__lxstat): Do not use CHECK_1.
14633         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
14634         <bp-checks.h>.
14635         (__xstat): Do not use CHECK_1.
14636         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
14637         (__xstat): Do not use CHECK_1.
14638         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
14639         (___xstat64): Do not use CHECK_1.
14640
14641         [BZ #13550]
14642         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
14643         definitions.
14644         (CHECK_BOUNDS_HIGH): Likewise.
14645         * string/strcpy.c: Do not include <bp-checks.h>.
14646         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
14647
14648 2013-02-07  Roland McGrath  <roland@hack.frob.com>
14649
14650         * nscd/nscd-client.h (__nscd_drop_map_ref):
14651         Add __attribute__ ((unused)).
14652         * nis/nss-nisplus.h (niserr2nss): Likewise.
14653
14654         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
14655         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
14656
14657         * csu/libc-tls.c (init_static_tls, init_slotinfo):
14658         Remove inline keyword.
14659         * include/rounding-mode.h (round_away): Likewise.
14660         * libio/wfileops.c (adjust_wide_data): Likewise.
14661         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
14662         (__m128i_strloadu_tolower): Likewise.
14663         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
14664         (__m128i_strloadu_tolower): Likewise.
14665         * time/mktime.c (ydhms_diff): Likewise.
14666         * locale/elem-hash.h (elem_hash): Likewise.
14667         * locale/setlocale.c (setdata): Likewise.
14668         * posix/regex_internal.h (re_string_char_size_at): Likewise.
14669         (re_string_wchar_at): Likewise.
14670         (bitset_not, bitset_merge, bitset_mask): Likewise.
14671         [!(__GNUC__ > 3)] (inline): Remove macro.
14672         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
14673         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
14674         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
14675         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
14676         * string/memcmp.c (memcmp_bytes): Likewise.
14677         * locale/programs/locarchive.c (compute_hashval): Likewise.
14678         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
14679         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
14680         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
14681         * nss/getent.c (print_rpc, print_protocols): Likewise.
14682         (print_passwd, print_group, print_aliases): Likewise.
14683         * nis/nss-nisplus.h (niserr2nss): Likewise.
14684         * nscd/connections.c (restart_p): Likewise.
14685         Change return type to bool.
14686
14687 2013-02-05  Roland McGrath  <roland@hack.frob.com>
14688
14689         * Makeconfig (all-Depend-files): Add existing
14690         $(sorted-subdirs:=/Depend) files.
14691         (all-subdirs): Remove nss.
14692         * sysdeps/unix/inet/Subdirs: Add it here instead.
14693         * hesiod/Depend: New file.
14694
14695         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
14696         instead of calling alloca.
14697
14698         * io/lseek.c (__lseek): Rename to __libc_lseek.
14699         Define __lseek as an alias.
14700
14701         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
14702
14703 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
14704
14705         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
14706         else clause and remove check for non-standard endianness.
14707
14708 2013-02-04  David S. Miller  <davem@davemloft.net>
14709
14710         * sysdeps/sparc/fpu/libm-test-ulps: Update.
14711
14712 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
14713
14714         [BZ #13550]
14715         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
14716         (__ubp_memchr): Remove prototype.
14717         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
14718         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
14719         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
14720         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
14721         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
14722         Remove alias.
14723         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
14724         (__ubp_memchr): Likewise.
14725         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
14726         (__ubp_memchr): Likewise.
14727         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
14728         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
14729         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
14730         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
14731         CHECK_STRING.
14732         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
14733         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
14734         (__getcwd): Do not use CHECK_STRING.
14735         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
14736         <bp-checks.h>.
14737         (__real_chown): Do not use CHECK_STRING.
14738         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
14739         <bp-checks.h>.
14740         (fchownat): Do not use CHECK_STRING.
14741         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
14742         CHECK_STRING.
14743         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
14744         <bp-checks.h>.
14745         (__lchown): Do not use CHECK_STRING.
14746         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
14747         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
14748         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
14749         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
14750         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
14751         include <bp-checks.h>.
14752         (truncate64): Do not use CHECK_STRING.
14753         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
14754         <bp-checks.h>.
14755         (__real_chown): Do not use CHECK_STRING.
14756         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
14757         <bp-checks.h>.
14758         (__lchown): Do not use CHECK_STRING.
14759         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
14760         <bp-checks.h>.
14761         (__chown): Do not use CHECK_STRING.
14762         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
14763         <bp-checks.h>.
14764         (truncate64): Do not use CHECK_STRING.
14765         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
14766         Likewise.
14767         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
14768         (__xmknod): Do not use CHECK_STRING.
14769         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
14770         <bp-checks.h>.
14771         (__xmknodat): Do not use CHECK_STRING.
14772         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
14773         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
14774
14775 2013-02-04  Andreas Schwab  <schwab@suse.de>
14776
14777         [BZ #14142]
14778         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
14779         * include/netdb.h: Likewise for h_errno.
14780         * elf/tst-stackguard1.c: Include <tls.h>.
14781
14782 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
14783
14784         * elf/link.h (struct link_map): Extend the l_addr comment.
14785         * include/link.h (struct link_map): Likewise.
14786
14787 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
14788
14789         [BZ #13550]
14790         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
14791         (BOUNDED_1): Remove macro.
14792         * debug/backtrace.c: Don't include <bp-checks.h>.
14793         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
14794         (__backtrace): Likewise.
14795         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
14796         <bp-checks.h>.
14797         (__backtrace): Don't use BOUNDED_1.
14798         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
14799         <bp-checks.h>.
14800         (__backtrace): Don't use BOUNDED_1.
14801         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
14802         (__backtrace): Don't use BOUNDED_1.
14803         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
14804         (shmat): Don't use BOUNDED_N.
14805
14806 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
14807
14808         [BZ #13550]
14809         * sysdeps/generic/bp-start.h: Remove file.
14810         * csu/libc-start.c: Don't include <bp-start.h>.
14811         (LIBC_START_MAIN): Set up __environ directly instead of using
14812         INIT_ARGV_and_ENVIRON.
14813         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
14814         <bp-start.h>.
14815
14816         [BZ #13550]
14817         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
14818         definitions.
14819         (CHECK_FCNTL): Likewise.
14820         (CHECK_N_PAGES): Likewise.
14821
14822         [BZ #13550]
14823         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
14824         definitions.
14825         (CHECK_SIGSET_NULL_OK): Likewise.
14826         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
14827         <bp-checks.h>.
14828         (sigpending): Don't use CHECK_SIGSET.
14829         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
14830         <bp-checks.h>.
14831         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
14832         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
14833         <bp-checks.h>.
14834         (do_sigsuspend): Don't use CHECK_SIGSET.
14835         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
14836         use CHECK_SIGSET.
14837         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
14838         (do_sigwait): Don't use CHECK_SIGSET.
14839         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
14840         use CHECK_SIGSET.
14841         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
14842         include <bp-checks.h>.
14843         (sigpending): Don't use CHECK_SIGSET.
14844         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
14845         include <bp-checks.h>.
14846         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
14847         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
14848         <bp-checks.h>.
14849         (sigpending): Don't use CHECK_SIGSET.
14850         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
14851         <bp-checks.h>.
14852         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
14853
14854         [BZ #13550]
14855         * sysdeps/generic/bp-semctl.h: Remove file.
14856         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
14857         <bp-checks.h> and <bp-semctl.h>.
14858         (__old_semctl): Don't use CHECK_SEMCTL.
14859         (__new_semctl): Likewise.
14860         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
14861         and <bp-semctl.h>.
14862         (__old_semctl): Don't use CHECK_SEMCTL.
14863         (__new_semctl): Likewise.
14864         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
14865         <bp-checks.h> and <bp-semctl.h>.
14866         (__old_semctl): Don't use CHECK_SEMCTL.
14867         (__new_semctl): Likewise.
14868         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
14869         <bp-checks.h> and <bp-semctl.h>.
14870         (semctl): Don't use CHECK_SEMCTL.
14871
14872         [BZ #13550]
14873         * Makerules (elide-bp-thunks): Remove variable.
14874         (elide-routines.oS): Don't use $(elide-bp-thunks).
14875         (elide-routines.os): Likewise.
14876         (elide-routines.o): Likewise.
14877         (elide-routines.op): Likewise.
14878         (elide-routines.og): Likewise.
14879         (objects): Don't use $(bp-thunks).
14880         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
14881         include.
14882         (common-generated): Do not add s-proto-bp.d.
14883         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
14884         (int): Likewise.
14885         (typ): Likewise.
14886         Do not generate makefile rules for bounded-pointer thunks.
14887         * sysdeps/generic/bp-thunks.h: Remove file.
14888         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
14889         * sysdeps/unix/s-proto-bp.S: Likewise.
14890
14891         [BZ #15062]
14892         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
14893         parts of result separately when argument is not close to line from
14894         -i to i and one part of argument is small.
14895         * math/k_casinhf.c (__kernel_casinhf): Likewise.
14896         * math/k_casinhl.c (__kernel_casinhl): Likewise.
14897         * math/libm-test.inc (cacos_test): Add more tests.
14898         (casin_test): Likewise.
14899         (casinh_test): Likewise.
14900         * sysdeps/i386/fpu/libm-test-ulps: Update.
14901         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14902
14903 2013-01-31  David S. Miller  <davem@davemloft.net>
14904
14905         * po/de.po: Update from translation team.
14906
14907 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
14908
14909         * time/tzfile.c: Include stdint.h for SIZE_MAX.
14910
14911 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
14912
14913         * configure.in (_AC_PROG_CC_C89): New definition.
14914         * configure: Regenerate.
14915
14916         * configure.in (AC_PROG_CPP): New definition.
14917         * configure: Regenerate.
14918
14919 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
14920
14921         * debug/tst-backtrace.h: New file.
14922         * debug/tst-backtrace2.c: Include tst-backtrace.h.
14923         (ret): Remove variable.
14924         (x): Likewise.
14925         (FAIL): Remove macro.
14926         (NO_INLINE): Likewise.
14927         (fn1): Use match function instead of strstr.
14928         * debug/tst-backtrace3.c: Include tst-backtrace.h.
14929         (ret): Remove variable.
14930         (x): Likewise.
14931         (FAIL): Remove macro.
14932         (NO_INLINE): Likewise.
14933         (fn): Use match function instead of strstr.
14934         * debug/tst-backtrace4.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         * debug/tst-backtrace5.c: Include tst-backtrace.h.
14941         (ret): Remove variable.
14942         (x): Likewise.
14943         (FAIL): Remove macro.
14944         (NO_INLINE): Likewise.
14945         (handle_signal): Use match function instead of strstr.
14946
14947 2013-01-23  Roland McGrath  <roland@hack.frob.com>
14948
14949         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
14950
14951 2013-01-23  David S. Miller  <davem@davemloft.net>
14952
14953         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
14954         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
14955         argument of CAS if possible.
14956         * sysdeps/sparc/sparc64/bits/atomic.h
14957         (__arch_compare_and_exchange_val_32_acq): Likewise.
14958         (__arch_compare_and_exchange_val_64_acq): Likewise.
14959
14960 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
14961
14962         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
14963         * sysdeps/posix/ulimit.c: ... this.
14964         Include <limits.h>.
14965         * sysdeps/unix/bsd/ulimit.c: Remove file.
14966
14967 2013-01-23  Adam Conrad  <adconrad@0c3.net>
14968
14969         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
14970         (LDFLAGS-tst-array5): Likewise.
14971
14972 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
14973
14974         [BZ #15036]
14975         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
14976         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
14977         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
14978         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
14979
14980 2013-01-21  David S. Miller  <davem@davemloft.net>
14981
14982         * sysdeps/sparc/backtrace.c: New file.
14983         * sysdeps/sparc/sparc32/backtrace.h: New file.
14984         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
14985         * sysdeps/sparc/sparc64/backtrace.h: New file.
14986         * sysdeps/sparc/sparc64/backtrace.c: Delete.
14987         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
14988         -funwind-tables.
14989
14990 2013-01-21  Andreas Schwab  <schwab@suse.de>
14991
14992         [BZ #15020]
14993         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
14994         closed its stdout.
14995
14996 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
14997
14998         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
14999         "mpa2.h".
15000         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
15001
15002 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
15003             Mark Mitchell  <mark@codesourcery.com>
15004             Tom de Vries  <tom@codesourcery.com>
15005             Paul Pluzhnikov  <ppluzhnikov@google.com>
15006
15007         * debug/tst-backtrace2.c: New file.
15008         * debug/tst-backtrace3.c: Likewise.
15009         * debug/tst-backtrace4.c: Likewise.
15010         * debug/tst-backtrace5.c: Likewise.
15011         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
15012         (CFLAGS-tst-backtrace3.c): Likewise.
15013         (CFLAGS-tst-backtrace4.c): Likewise.
15014         (CFLAGS-tst-backtrace5.c): Likewise.
15015         (LDFLAGS-tst-backtrace2): Likewise.
15016         (LDFLAGS-tst-backtrace3): Likewise.
15017         (LDFLAGS-tst-backtrace4): Likewise.
15018         (LDFLAGS-tst-backtrace5): Likewise.
15019         (tests): Add new tests tst-backtrace2, tst-backtrace3,
15020         tst-backtrace4 and tst-backtrace5.
15021
15022 2013-01-18  Anton Blanchard  <anton@samba.org>
15023             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
15024
15025         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
15026         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
15027         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
15028         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
15029         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
15030         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
15031         "+r" and remove output regs list as redundant.  Add explicit inline
15032         asm to specify register of return val to work around compiler codegen
15033         bug.  Remove (int) cast on return value.  Add return type parameter to
15034         use in macro so that this macro does not truncate return value for
15035         64-bit values.
15036         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
15037         pass to INTERNAL_VSYSCALL_NCS.
15038         (INLINE_VSYSCALL): Add 'long int' as return type to
15039         INTERNAL_VSYSCALL_NCS macro invocation.
15040         (INTERNAL_VSYSCALL): Add 'long int' as return type to
15041         INTERNAL_VSYSCALL_NCS macro invocation.
15042         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
15043
15044 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
15045
15046         [BZ #14496]
15047         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
15048         Fix application of SIMD FP exception mask.
15049
15050         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
15051         mp_no from a power of two.
15052         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
15053         __mpexp_twomm1.  Use __pow_mp.
15054
15055         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
15056         multiplication.
15057
15058 2013-01-17  David S. Miller  <davem@davemloft.net>
15059
15060         * sysdeps/sparc/fpu/libm-test-ulps: Update.
15061
15062 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
15063
15064         [BZ #15023]
15065         * include/complex.h: Condition contents on [!_COMPLEX_H].
15066         (__kernel_casinhf): New prototype.
15067         (__kernel_casinh): Likewise.
15068         (__kernel_casinhl): Likewise.
15069         * math/Makefile (libm_calls): Add k_casinh.
15070         * math/k_casinh.c: New file.
15071         * math/k_casinhf.c: Likewise.
15072         * math/k_casinhl.c: Likewise.
15073         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
15074         finite nonzero arguments.
15075         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
15076         finite nonzero arguments.
15077         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
15078         finite nonzero arguments.
15079         * math/s_casinh.c: Do not include <float.h>.
15080         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
15081         * math/s_casinhf.c: Do not include <float.h>.
15082         (__casinhf): Move code for finite nonzero arguments to
15083         k_casinhf.c.
15084         * math/s_casinhl.c: Do not include <float.h>.
15085         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
15086         redefine.
15087         (__casinhl): Move code for finite nonzero arguments to
15088         k_casinhl.c.
15089         * math/libm-test.inc (cacos_test): Add more tests.
15090         * sysdeps/i386/fpu/libm-test-ulps: Update.
15091         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15092
15093 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
15094
15095         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
15096         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
15097         [!HAVE_MREMAP]: Remove [defined linux] case.
15098         * malloc/arena.c: Do not include <malloc-sysdep.h>.
15099
15100 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
15101
15102         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
15103
15104 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
15105
15106         * elf/elf.h (R_386_SIZE32): New relocation.
15107         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
15108         R_386_SIZE32.
15109         (elf_machine_rela): Likewise.
15110         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
15111         R_X86_64_SIZE64 and R_X86_64_SIZE32.
15112
15113 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
15114
15115         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
15116         (FP_FAST_FMA): Do not define.
15117         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
15118         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
15119         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
15120         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
15121         !_SOFT_FLOAT]: Likewise.
15122         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
15123         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
15124         value.
15125         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
15126         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
15127         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
15128         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
15129         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
15130         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
15131         file.
15132
15133 2013-01-16  Andreas Schwab  <schwab@suse.de>
15134
15135         [BZ #14327]
15136         * include/stdlib.h (__mktemp): Add declaration.
15137         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
15138         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
15139
15140 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
15141
15142         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
15143         definitions.
15144         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
15145         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
15146         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
15147         definitions here.
15148         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
15149         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
15150         definitions.
15151         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
15152         and ONE.
15153         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
15154         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
15155         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
15156         definitions.
15157         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
15158         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
15159         definitions.
15160         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
15161
15162         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
15163
15164 2013-01-15  David S. Miller  <davem@davemloft.net>
15165
15166         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
15167         trunc{,f} to libm-sysdep_routes.
15168         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
15169         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
15170         file.
15171         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
15172         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
15173         file.
15174         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
15175         file.
15176         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
15177         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
15178         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
15179         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
15180         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
15181         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
15182         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
15183         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
15184
15185         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
15186         nearbyint{,f} to libm-sysdep_routes.
15187         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
15188         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
15189         New file.
15190         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
15191         file.
15192         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
15193         New file.
15194         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
15195         file.
15196         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
15197         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
15198         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
15199         file.
15200         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
15201         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
15202         file.
15203         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
15204         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
15205         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
15206
15207         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
15208         libc_feholdexcept and libc_fesetenv.
15209
15210 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
15211
15212         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
15213
15214 2013-01-14  David S. Miller  <davem@davemloft.net>
15215
15216         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
15217         (SPARC_ASM_VIS2_IFUNC): Likewise.
15218         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
15219         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
15220         use of 'siam' instruction.
15221         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
15222         Likewise.
15223         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
15224         Likewise.
15225         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
15226         Likewise.
15227         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
15228         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
15229         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
15230         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
15231         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
15232         file.
15233         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
15234         file.
15235         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
15236         file.
15237         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
15238         file.
15239         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
15240         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
15241         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
15242         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
15243         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
15244         new VIS2 routines.
15245         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
15246         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
15247         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
15248         Likewise.
15249         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
15250         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
15251         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
15252         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
15253         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
15254         routines to libm-sysdep_routines.
15255         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
15256
15257         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
15258         fdim/fdimf to libm-sysdep_routines.
15259         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
15260         file.
15261         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
15262         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
15263         file.
15264         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
15265         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
15266         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
15267         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
15268         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
15269         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
15270         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
15271
15272 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
15273
15274         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
15275         to optimize copies.
15276
15277         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
15278         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
15279         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
15280
15281         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
15282         local variable MPTWO.
15283         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
15284         Likewise.
15285
15286 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
15287
15288         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
15289         GLOB_NOESCAPE.
15290
15291 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
15292
15293         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
15294
15295 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
15296
15297         * manual/pattern.texi (glob_t): Document gl_flags.
15298         (glob64_t): Likewise.
15299
15300 2013-01-11  David S. Miller  <davem@davemloft.net>
15301
15302         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
15303         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
15304         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
15305         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
15306         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
15307         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
15308         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
15309         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
15310         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
15311         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
15312         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
15313         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
15314         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
15315
15316         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
15317         sparc V9 rather than using V8 code.
15318         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
15319         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
15320
15321         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
15322         Move to...
15323         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
15324         Here.
15325
15326 2013-01-11  Roland McGrath  <roland@hack.frob.com>
15327
15328         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
15329         not in the main loop.
15330         * configure: Regenerated.
15331
15332 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
15333
15334         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
15335         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
15336         to just #else.
15337         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
15338         [!__GLIBC_HAVE_LONG_LONG] case.
15339         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
15340         condition to just #else.
15341         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
15342         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
15343         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
15344         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
15345         unconditional.
15346         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
15347         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
15348         #elif condition to just #else.
15349         * sysdeps/unix/sysv/linux/sys/sysmacros.h
15350         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
15351         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
15352         #elif condition to just #else.
15353
15354 2013-01-11  Steve Ellcey  <sellcey@mips.com>
15355
15356         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
15357         (EF_MIPS_ARCH_64): Fix value.
15358         (EF_MIPS_ARCH_32R2): New.
15359         (EF_MIPS_ARCH_64R2): New.
15360
15361 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
15362
15363         * Makeconfig (+link-pie-before-libc): New.
15364         (+link-pie-after-libc): Likewise.
15365         (+link-pie-tests): Likewise.
15366         (+link-pie): Rewritten.
15367         (link-before-libc): Remove $(config-LDFLAGS).
15368         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
15369         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
15370         (config-LDFLAGS): Renamed to ...
15371         (rtld-LDFLAGS): This.
15372         (rtld-tests-LDFLAGS): New macro.
15373         (link-libc-rpath-link): Likewise.
15374         (link-libc-tests-rpath-link): Likewise.
15375         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
15376         (link-libc): Prepand $(link-libc-rpath-link).
15377         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
15378         (test-program-prefix): New macro.
15379         (test-via-rtld-prefix): Likewise.
15380         (test-program-cmd): Likewise.
15381         (host-test-program-cmd): Likewise.
15382         * Makefile ($(common-objpfx)testrun.sh): Replace
15383         $(run-program-prefix) with $(test-program-prefix).
15384         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
15385         $(rtld-LDFLAGS).
15386         ($(common-objpfx)shlib.lds): Likewise.
15387         (build-module-helper): Likewise.
15388         ($(common-objpfx)format.lds): Likewise.
15389         * Rules (binaries-pie-tests): New.
15390         (binaries-pie-notests): Likewise.
15391         (binaries-pie): Rewritten.
15392         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
15393         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
15394         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
15395         (make-test-out): Replace $(host-built-program-cmd) with
15396         $(host-test-program-cmd).
15397         * config.make.in (build-hardcoded-path-in-tests): New variable.
15398         * configure.in (--enable-hardcoded-path-in-tests): New configure
15399         option.
15400         (hardcoded_path_in_tests): New AC_SUBST.
15401         * configure: Regenerated.
15402         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
15403         $(built-program-cmd) with $(test-program-cmd).
15404         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
15405         (test_program_cmd): This.
15406         * elf/Makefile ($(objpfx)order.out): Run test with
15407         $(test-program-prefix).
15408         ($(objpfx)order2.out): Likewise.
15409         ($(objpfx)tst-initorder.out): Likewise.
15410         ($(objpfx)tst-initorder2.out): Likewise.
15411         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
15412         $(test-program-cmd).
15413         ($(objpfx)tst-array1-static.out): Likewise.
15414         ($(objpfx)tst-array2.out): Likewise.
15415         ($(objpfx)tst-array3.out): Likewise.
15416         ($(objpfx)tst-array4.out): Likewise.
15417         ($(objpfx)tst-array5.out): Likewise.
15418         ($(objpfx)tst-array5-static.out): Likewise.
15419         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
15420         $(test-program-cmd).
15421         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
15422         $(run-program-prefix) with $(test-program-prefix).
15423         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
15424         (test_program_prefix): This.
15425         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
15426         $(run-program-prefix) with $(test-program-prefix).
15427         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
15428         (test_program_prefix): This.
15429         * iconvdata/tst-tables.sh: Likewise.
15430         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
15431         $(run-program-prefix) with $(test-program-prefix).
15432         ($(objpfx)tst-translit.out): Likewise.
15433         ($(objpfx)tst-gettext2.out): Likewise.
15434         ($(objpfx)tst-gettext4.out): Likewise.
15435         ($(objpfx)tst-gettext6.out): Likewise.
15436         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
15437         (test_program_prefix): This.
15438         * intl/tst-gettext2.sh: Likewise.
15439         * intl/tst-gettext4.sh  Likewise.
15440         * intl/tst-gettext6.sh: Likewise.
15441         * intl/tst-translit.sh: Likewise.
15442         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
15443         with $(test-program-cmd).
15444         * libio/Makefile ($(objpfx)test-freopen.out): Replace
15445         $(run-program-prefix) with $(test-program-prefix).
15446         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
15447         (test_program_prefix): This.
15448         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
15449         $(run-program-prefix) with $(test-program-prefix).
15450         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
15451         (test_program_prefix): This.
15452         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
15453         * posix/Makefile ($(objpfx)globtest.out): Replace
15454         $(run-via-rtld-prefix) and $(test-wrapper) with
15455         $(test-program-prefix) and $(test-via-rtld-prefix).
15456         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
15457         $(test-program-prefix).
15458         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
15459         $(host-test-program-cmd).
15460         (tst-spawn-ARGS): Likewise.
15461         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
15462         $(test-program-prefix).
15463         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
15464         (test_via_rtld_prefix): This.
15465         (test_wrapper): Renamed to ...
15466         (test_program_prefix): This.
15467         (run_program_prefix): Replaced by test_program_prefix.
15468         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
15469         (test_program_prefix): This.
15470         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
15471         with $(host-test-program-cmd).
15472         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
15473         $(run-program-prefix) with $(test-program-prefix).
15474         ($(objpfx)tst-printf.out): Likewise.
15475         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
15476         $(test-program-cmd).
15477         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
15478         (test_program_prefix): This.
15479         * stdio-common/tst-unbputc.sh: Likewise.
15480         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
15481         $(run-program-prefix) with $(test-program-prefix).
15482         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
15483         (test_program_prefix): This.
15484         * string/Makefile ($(objpfx)tst-svc.out):  Replace
15485         $(built-program-cmd) with $(test-program-cmd).
15486
15487 2013-01-11  Andreas Jaeger  <aj@suse.de>
15488
15489         [BZ #15003]
15490         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
15491         value. Sync with Linux 3.7.
15492
15493 2013-01-10  David S. Miller  <davem@davemloft.net>
15494
15495         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
15496         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
15497         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
15498
15499 2013-01-10  Roland McGrath  <roland@hack.frob.com>
15500
15501         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
15502         never set.
15503         * configure: Regenerated.
15504
15505 2013-01-10  David S. Miller  <davem@davemloft.net>
15506
15507         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
15508         sparc V9 rather than using V8 code.
15509         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
15510         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
15511
15512 2013-01-10  Roland McGrath  <roland@hack.frob.com>
15513
15514         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
15515         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
15516         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
15517         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
15518         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
15519         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
15520         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
15521         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
15522         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
15523         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
15524         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
15525         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
15526         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
15527         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
15528         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
15529         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
15530         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
15531         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
15532         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
15533         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
15534         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
15535         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
15536         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
15537         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
15538         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
15539         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
15540         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
15541
15542 2013-01-10  David S. Miller  <davem@davemloft.net>
15543
15544         * sysdeps/sparc/fpu/libm-test-ulps: Update.
15545
15546 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
15547
15548         * posix/Makefile (tests-static): New variable.
15549         (tests): Add $(tests-static).
15550         (tst-exec-static-ARGS): New variable.
15551         (tst-spawn-static-ARGS): Likewise.
15552         * posix/tst-exec-static.c: New file.
15553         * posix/tst-spawn-static.c: Likewise.
15554         * posix/tst-exec.c: Support run directly.
15555         * posix/tst-spawn.c: Likewise.
15556
15557 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
15558
15559         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
15560         long.
15561         * math/bits/mathcalls.h (llrint): Likewise.
15562         (llround): Likewise.
15563         * stdlib/stdlib.h (struct drand48_data): Likewise.
15564         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
15565         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
15566         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
15567         Likewise.
15568         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
15569         Likewise.
15570         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
15571         (elf_greg_t): Likewise.
15572         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
15573         (__jmp_buf): Likewise.
15574         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
15575         definitions.
15576         (llrint): Likewise, for all definitions.
15577         (llrintl): Likewise.
15578
15579         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
15580         Remove [__GNUC__] condition.
15581         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
15582         condition to just [__USE_ISOC99].
15583         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
15584
15585 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
15586
15587         [BZ #14200]
15588         * sysdeps/unix/sysv/linux/x86/bits/environments.h
15589         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
15590         defined.
15591         (_POSIX_V6_ILP32_OFF32): Likewise.
15592         (_XBS5_ILP32_OFF32): Likewise.
15593         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
15594         (__ILP32_OFFBIG_LDFLAGS): Likewise.
15595
15596 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
15597
15598         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
15599
15600         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
15601         doubles __mpexp_twomm1.  Adjust usage.
15602         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
15603         Remove.
15604
15605 2013-01-10  Andreas Schwab  <schwab@suse.de>
15606
15607         [BZ #14964]
15608         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
15609         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
15610
15611 2013-01-09  David S. Miller  <davem@davemloft.net>
15612
15613         [BZ #15003]
15614         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
15615         TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
15616         TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
15617         TCP_FASTOPEN): Define.
15618         (tcp_repair_opt): New structure.
15619         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
15620         enum values.
15621         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
15622         TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
15623         TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
15624         (tcp_cookie_transactions): New structure.
15625
15626 2013-01-09  Anton Blanchard  <anton@samba.org>
15627
15628         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
15629         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
15630         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
15631         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
15632
15633 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
15634
15635         * include/features.h (__USE_ANSI): Remove.
15636
15637 2013-01-09  Roland McGrath  <roland@hack.frob.com>
15638
15639         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
15640
15641         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
15642
15643 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
15644
15645         * sysdeps/s390/fpu/libm-test-ulps: Update.
15646
15647         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15648
15649         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
15650         (__acr): Likewise.
15651         (__cpy): Likewise.
15652         (norm): Likewise.
15653         (denorm): Likewise.
15654         (__mp_dbl): Likewise.
15655         (__dbl_mp): Likewise.
15656         (add_magnitudes): Likewise.
15657         (sub_magnitudes): Likewise.
15658         (__add): Likewise.
15659         (__sub): Likewise.
15660         (__mul): Likewise.
15661         (__inv): Likewise.
15662         (__dvd): Likewise.
15663         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
15664         (__acr): Likewise.
15665         (__cpy): Likewise.
15666         (norm): Likewise.
15667         (denorm): Likewise.
15668         (__mp_dbl): Likewise.
15669         (__dbl_mp): Likewise.
15670         (add_magnitudes): Likewise.
15671         (sub_magnitudes): Likewise.
15672         (__add): Likewise.
15673         (__sub): Likewise.
15674         (__mul): Likewise.
15675         (__inv): Likewise.
15676         (__dvd): Likewise.
15677         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
15678         (__acr): Likewise.
15679         (__cpy): Likewise.
15680         (norm): Likewise.
15681         (denorm): Likewise.
15682         (__mp_dbl): Likewise.
15683         (__dbl_mp): Likewise.
15684         (add_magnitudes): Likewise.
15685         (sub_magnitudes): Likewise.
15686         (__add): Likewise.
15687         (__sub): Likewise.
15688         (__mul): Likewise.
15689         (__inv): Likewise.
15690         (__dvd): Likewise.
15691
15692 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
15693
15694         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
15695         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
15696         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
15697         2 && __USE_EXTERN_INLINES]: Likewise.
15698
15699 2013-01-08  Andreas Jaeger  <aj@suse.de>
15700
15701         [BZ# 14985]
15702         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
15703         Remove.
15704         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
15705         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
15706
15707 2013-01-07  Anton Blanchard  <anton@samba.org>
15708
15709         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
15710         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
15711         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
15712         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
15713         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
15714         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
15715         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
15716         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
15717         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
15718         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
15719         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
15720         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
15721         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
15722         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
15723         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
15724         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
15725         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
15726         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
15727         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
15728         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
15729         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
15730         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
15731         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
15732         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
15733         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
15734         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
15735         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
15736         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
15737         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
15738         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
15739         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
15740         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
15741         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
15742         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
15743         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
15744         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
15745         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
15746         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
15747         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
15748         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
15749         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
15750         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
15751         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
15752
15753 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
15754
15755         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
15756         (__MALLOC_PMT): Likewise.
15757         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
15758         [__GNUC__], only on [_LIBC].
15759         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
15760         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
15761         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
15762         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
15763         forward declaration.
15764         (realloc_hook_ini): Likewise.
15765         (memalign_hook_ini): Likewise.
15766         (__libc_memalign): Do not use __MALLOC_PMT in variable
15767         declaration.
15768         (__libc_valloc): Likewise.
15769         (__libc_pvalloc): Likewise.
15770         (__libc_calloc): Likewise.
15771         (__posix_memalign): Likewise.
15772
15773         [BZ #14996]
15774         * math/s_casinh.c: Include <float.h>.
15775         (__casinh): Do not do computation with squaring and square root
15776         for large arguments.
15777         * math/s_casinhf.c: Include <float.h>.
15778         (__casinhf): Do not do computation with squaring and square root
15779         for large arguments.
15780         * math/s_casinhl.c: Include <float.h>.
15781         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
15782         (__casinhl): Do not do computation with squaring and square root
15783         for large arguments.
15784         * math/libm-test.inc (casin_test): Add more tests.
15785         (casinh_test): Likewise.
15786         * sysdeps/i386/fpu/libm-test-ulps: Update.
15787         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15788
15789 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
15790
15791         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
15792         (__x86_64_raw_data_cache_size): Likewise.
15793         (__x86_64_data_cache_size_half): Likewise.
15794         (__x86_64_raw_data_cache_size_half): Likewise.
15795         (__x86_64_shared_cache_size): Likewise.
15796         (__x86_64_raw_shared_cache_size): Likewise.
15797         (__x86_64_shared_cache_size_half): Likewise.
15798         (__x86_64_raw_shared_cache_size_half): Likewise.
15799         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
15800         to ...
15801         (__x86_data_cache_size): This.
15802         (__x86_64_raw_data_cache_size): Renamed to ...
15803         (__x86_raw_data_cache_size): This.
15804         (__x86_64_data_cache_size_half): Renamed to ...
15805         (__x86_data_cache_size_half): This.
15806         (__x86_64_raw_data_cache_size_half): Renamed to ...
15807         (__x86_raw_data_cache_size_half): This.
15808         (__x86_64_shared_cache_size): Renamed to ...
15809         (__x86_shared_cache_size): This.
15810         (__x86_64_raw_shared_cache_size): Renamed to ...
15811         (__x86_raw_shared_cache_size): This.
15812         (__x86_64_shared_cache_size_half): Renamed to ...
15813         (__x86_shared_cache_size_half): This.
15814         (__x86_64_raw_shared_cache_size_half): Renamed to ...
15815         (__x86_raw_shared_cache_size_half): This.
15816         * sysdeps/x86_64/memcpy.S: Updated.
15817         * sysdeps/x86_64/memset.S: Likewise.
15818         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
15819         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
15820         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
15821
15822 2013-01-04  David S. Miller  <davem@davemloft.net>
15823
15824         * sysdeps/sparc/fpu/libm-test-ulps: Update.
15825
15826 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
15827
15828         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
15829         1 to avoid redefinition warning.
15830         (__USE_GNU): Don't define.
15831         (init_signaling_nan): Protoize.
15832
15833         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15834
15835 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
15836
15837         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
15838         * sysdeps/powerpc/powerpc32/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         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
15845         (__cpymn): Likewise.
15846         (norm): Remove commented code.
15847         (denorm): Likewise.
15848         (__mp_dbl): Likewise.
15849         (__inv): Likewise.
15850
15851         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
15852         mp_no value for 1.0 and 2.0.
15853         (norm): Use RADIXI instead of radixi.d.
15854         (denorm): Likewise.
15855         (__mul): Use 0.0 instead of zero.d.
15856         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
15857         mp_no value for 1.0 and 2.0.
15858         (norm): Use RADIXI instead of radixi.d.
15859         (denorm): Likewise.
15860         (__mul): Use 0.0 instead of zero.d.
15861
15862 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
15863
15864         [BZ #14994]
15865         * math/s_casinh.c (__casinh): Reduce finite argument to first
15866         quadrant then set signs of results at the end.
15867         * math/s_casinhf.c (__casinhf): Likewise.
15868         * math/s_casinhl.c (__casinhl): Likewise.
15869         * math/libm-test.inc (casin_test): Add more tests.
15870         (casinh_test): Likewise.
15871         * sysdeps/i386/fpu/libm-test-ulps: Update.
15872         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15873
15874 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
15875
15876         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
15877
15878         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
15879
15880         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
15881         declarations.
15882         (denorm): Likewise.
15883         (__mp_dbl): Likewise.
15884         (__inv): Likewise.
15885
15886         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
15887         and adjust the header comment.
15888
15889         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
15890         variable name from declaration.
15891
15892 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
15893
15894         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
15895         Initialize COMMON_CPUID_INDEX_7 element.
15896         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
15897         (CPUID_RTM): Likewise.
15898         (HAS_RTM): Likewise.
15899         (COMMON_CPUID_INDEX_7): New enum.
15900
15901 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
15902
15903         [BZ #14981]
15904         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
15905         size is zero, record memory as freed.
15906
15907 2013-01-03  Andreas Jaeger  <aj@suse.de>
15908
15909         * po/ia.po: Add new Interlingua translation.
15910
15911 2012-01-03  Allan McRae  <allan@archlinux.org>
15912
15913         * locale/programs/localedef.c: Fix description of '--posix' flag.
15914
15915 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
15916
15917         * NEWS: Update dates in second copyright notice.
15918         * README: Update copyright dates in example.
15919         * manual/libc.texinfo: Update copyright dates.
15920         * scripts/test-installation.pl: Update copyright date in --version
15921         output.
15922
15923         * hurd/ctty-input.c: Fix copyright notice formatting.
15924         * hurd/ctty-output.c: Likewise.
15925         * hurd/dtable.c: Likewise.
15926         * hurd/hurd-raise.c: Likewise.
15927         * hurd/hurdprio.c: Likewise.
15928         * hurd/msgportdemux.c: Likewise.
15929         * misc/sys/file.h: Likewise.
15930         * misc/sys/ioctl.h: Likewise.
15931         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
15932         * sysdeps/mach/hurd/chdir.c: Likewise.
15933         * sysdeps/mach/hurd/fchdir.c: Likewise.
15934         * sysdeps/mach/hurd/rename.c: Likewise.
15935         * sysdeps/mach/hurd/rmdir.c: Likewise.
15936         * sysdeps/mach/hurd/seekdir.c: Likewise.
15937         * sysdeps/mach/hurd/setsid.c: Likewise.
15938         * sysdeps/posix/wait3.c: Likewise.
15939
15940         * All files with FSF copyright notices: Update copyright dates
15941         using scripts/update-copyrights.
15942         * intl/plural.c: Regenerated.
15943         * locale/programs/charmap-kw.h: Likewise.
15944         * locale/programs/locfile-kw.h: Likewise.
15945
15946 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
15947
15948         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
15949         four values.
15950
15951         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
15952         calculation loop and add branch prediction.
15953
15954         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
15955         check access beyond bounds of m1np.
15956
15957         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
15958         MPTWO.
15959         (__inv): Remove local variable MPTWO to use the global
15960         constant.
15961         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
15962         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
15963         variable MPTWO.
15964         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
15965         MP3HALFS static const.
15966
15967 2013-01-01  David S. Miller  <davem@davemloft.net>
15968
15969         * po/ca.po: Update from translation team.
15970
15971 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
15972
15973         * scripts/update-copyrights: New file.
15974         * Makeconfig: Reformat copyright notice.
15975         * ctype/ctype.h: Likewise.
15976         * debug/swprintf_chk.c: Likewise.
15977         * elf/dl-cache.c: Likewise.
15978         * elf/dl-debug.c: Likewise.
15979         * elf/dl-object.c: Likewise.
15980         * grp/initgroups.c: Likewise.
15981         * hurd/Makefile: Likewise.
15982         * hurd/hurd/signal.h: Likewise.
15983         * hurd/hurdfault.c: Likewise.
15984         * hurd/hurdioctl.c: Likewise.
15985         * hurd/hurdlookup.c: Likewise.
15986         * hurd/intr-msg.c: Likewise.
15987         * iconv/gconv_open.c: Likewise.
15988         * libio/swprintf.c: Likewise.
15989         * locale/lc-ctype.c: Likewise.
15990         * locale/nl_langinfo.c: Likewise.
15991         * mach/Machrules: Likewise.
15992         * mach/Makefile: Likewise.
15993         * malloc/obstack.h: Likewise.
15994         * manual/Makefile: Likewise.
15995         * manual/tsort.awk: Likewise.
15996         * misc/bits/stab.def: Likewise.
15997         * nis/nis_print_group_entry.c: Likewise.
15998         * nis/nis_table.c: Likewise.
15999         * nis/nss_compat/compat-pwd.c: Likewise.
16000         * nis/nss_compat/compat-spwd.c: Likewise.
16001         * po/Makefile: Likewise.
16002         * posix/fnmatch.c: Likewise.
16003         * posix/regex.h: Likewise.
16004         * resolv/Makefile: Likewise.
16005         * resolv/nss_dns/dns-network.c: Likewise.
16006         * resolv/res_hconf.c: Likewise.
16007         * scripts/gen-sorted.awk: Likewise.
16008         * soft-fp/soft-fp.h: Likewise.
16009         * stdio-common/printf.h: Likewise.
16010         * stdlib/monetary.h: Likewise.
16011         * stdlib/random.c: Likewise.
16012         * stdlib/random_r.c: Likewise.
16013         * sysdeps/generic/Makefile: Likewise.
16014         * sysdeps/gnu/Makefile: Likewise.
16015         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
16016         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
16017         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
16018         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
16019         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
16020         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
16021         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
16022         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
16023         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
16024         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
16025         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
16026         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
16027         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
16028         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
16029         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
16030         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
16031         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
16032         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
16033         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
16034         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
16035         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
16036         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
16037         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
16038         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
16039         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
16040         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
16041         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
16042         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
16043         * sysdeps/mach/hurd/errnos.awk: Likewise.
16044         * sysdeps/mach/hurd/fork.c: Likewise.
16045         * sysdeps/mach/hurd/getcwd.c: Likewise.
16046         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
16047         * sysdeps/mach/hurd/mmap.c: Likewise.
16048         * sysdeps/mach/hurd/utimes.c: Likewise.
16049         * sysdeps/mach/hurd/xmknod.c: Likewise.
16050         * sysdeps/posix/profil.c: Likewise.
16051         * sysdeps/posix/readdir_r.c: Likewise.
16052         * sysdeps/powerpc/bits/mathdef.h: Likewise.
16053         * sysdeps/powerpc/bits/setjmp.h: Likewise.
16054         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
16055         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
16056         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
16057         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
16058         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
16059         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
16060         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
16061         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
16062         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
16063         * sysdeps/pthread/lio_listio.c: Likewise.
16064         * sysdeps/sparc/dl-procinfo.h: Likewise.
16065         * sysdeps/unix/i386/sysdep.S: Likewise.
16066         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
16067         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
16068         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
16069         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
16070         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
16071         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
16072         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
16073         * sysdeps/unix/sysv/linux/speed.c: Likewise.
16074         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
16075         * sysdeps/wordsize-32/divdi3.c: Likewise.
16076         * time/sys/time.h: Likewise.
16077         * wcsmbs/Makefile: Likewise.
16078
16079 2013-01-01  David S. Miller  <davem@davemloft.net>
16080
16081         * po/fr.po: Update from translation team.
16082
16083         * catgets/gencat.c: Update copyright year.
16084         * csu/version.c: Likewise.
16085         * debug/catchsegv.sh: Likewise.
16086         * debug/pcprofiledump.c: Likewise.
16087         * debug/xtrace.sh: Likewise.
16088         * elf/ldconfig.c: Likewise.
16089         * elf/ldd.bash.in: Likewise.
16090         * elf/pldd.c: Likewise.
16091         * elf/sotruss.ksh: Likewise.
16092         * elf/sprof.c: Likewise.
16093         * iconv/iconv_prog.c: Likewise.
16094         * iconv/iconvconfig.c: Likewise.
16095         * locale/programs/locale.c: Likewise.
16096         * locale/programs/localedef.c: Likewise.
16097         * login/programs/pt_chown.c: Likewise.
16098         * malloc/memusage.sh: Likewise.
16099         * malloc/memusagestat.c: Likewise.
16100         * malloc/mtrace.pl: Likewise.
16101         * nscd/nscd.c: Likewise.
16102         * nss/getent.c: Likewise.
16103         * nss/makedb.c: Likewise.
16104         * posix/getconf.c: Likewise.
16105
16106 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
16107
16108         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
16109         numbers.
16110
16111 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
16112
16113         * math/bits/mathcalls.h (modf): Use __nonnull.
16114
16115 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
16116
16117         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
16118         (split): Use macro CN instead of the bare value.
16119         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
16120         could be used.
16121         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
16122         instead of the bare value.
16123         (power1): Likewise.
16124
16125 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
16126
16127         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
16128         __ATAN_TWOM.
16129         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
16130
16131         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
16132         their values.
16133         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
16134         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
16135         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
16136         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
16137
16138 2012-12-28  Andreas Jaeger  <aj@suse.de>
16139
16140         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
16141         values are from Linux 3.7.
16142
16143         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
16144         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
16145
16146 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
16147
16148         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
16149         TRUE case.
16150
16151         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
16152         (norm): Likewise.
16153         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
16154         variables with preprocessor constants.
16155         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
16156         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
16157         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
16158
16159 2012-12-27  Bruno Haible  <bruno@clisp.org>
16160
16161         [BZ #14317]
16162         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
16163         only if needed.
16164
16165 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
16166
16167         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
16168         and use variable directly.
16169         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
16170
16171         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
16172         MPONE.
16173         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
16174         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
16175         variable MPONE.
16176         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
16177         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
16178         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
16179         include directive.  Remove local variable MPONE.
16180         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
16181         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
16182         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
16183
16184 2012-12-25  David S. Miller  <davem@davemloft.net>
16185
16186         * version.h (RELEASE): Set to "development".
16187         (VERSION): Set to "2.17.90".
16188         * NEWS: Add 2.18 section.
16189
16190 2012-12-21  David S. Miller  <davem@davemloft.net>
16191
16192         * po/hr.po: Update from translation team.
16193
16194 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
16195
16196         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
16197
16198 2012-12-19  Steve Ellcey  <sellcey@mips.com>
16199
16200         * NEWS:  Mention new memcpy for MIPS.
16201
16202 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
16203
16204         * manual/contrib.texi (Contributors): Spelling correction.
16205
16206 2012-12-15  David S. Miller  <davem@davemloft.net>
16207
16208         * po/ru.po: Update from translation team.
16209
16210 2012-12-13  David S. Miller  <davem@davemloft.net>
16211
16212         * NEWS: Mention IFUNC testsuite enhancements.
16213
16214         * po/pl.po: Update from translation team.
16215         * po/bg.po: Likewise.
16216
16217         * manual/contrib.texi (Contributors): Update entries for Hongjiu
16218         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
16219
16220 2012-12-11  David S. Miller  <davem@davemloft.net>
16221
16222         * po/sv.po: Update from translation team.
16223
16224         * po/vi.po: Update from translation team.
16225
16226         * po/cs.po: Update from translation team.
16227
16228         * po/de.po: Update from translation team.
16229         * po/eo.po: Likewise.
16230         * po/nl.po: Likewise.
16231
16232 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
16233
16234         [BZ #14246]
16235         * manual/argp.texi (Argp Helper Functions): Move node to follow
16236         Argp Parsing State.
16237
16238         [BZ #14872]
16239         * manual/conf.texi (Limits on File System Capacity): Mention if
16240         terminating null is included in the max size.
16241
16242 2012-12-10  Andreas Jaeger  <aj@suse.de>
16243
16244         * po/cs.po: Update from translation team.
16245
16246 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
16247
16248         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
16249         void pointer and cast to uintptr_t.
16250         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
16251         path.
16252         * sysdeps/s390/s390-64/memcpy.S: Likewise.
16253         * sysdeps/s390/s390-64/memset.S: Likewise.
16254
16255 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
16256
16257         [BZ #14833]
16258         * menual/message.texi (Message Translation): Fix typos.
16259         (Helper programs for gettext): Likewise.
16260
16261 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
16262
16263         [BZ #14898]
16264         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
16265         Change to -1.
16266
16267 2012-12-07  David S. Miller  <davem@davemloft.net>
16268
16269         * po/libc.pot: Update.
16270
16271 2012-12-07  Richard Henderson  <rth@redhat.com>
16272
16273         [BZ #10114]
16274         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
16275         normal/normal case to before the switch.
16276         (_FP_DIV): Likewise.
16277
16278 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
16279             Mike Frysinger  <vapier@gentoo.org>
16280
16281         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
16282         check for __NR_fadvise64_64.
16283
16284 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
16285
16286         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
16287         0, not just to plain "0" as a statement.
16288         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
16289         with cw.
16290
16291 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
16292
16293         * NEWS: Use sourceware.org in Bugzilla URL.
16294
16295 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
16296
16297         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
16298         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
16299
16300         * stdio-common/tst-put-error.c (do_test): Add newline to the
16301         padded test to ensure flush.
16302
16303 2012-12-05  Jeff Law  <law@redhat.com>
16304
16305         * sunrpc/etc.rpc (fedfs_admin): Add entry.
16306
16307 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
16308
16309         * README: Don't refer to ports add-on as distributed separately.
16310         Mention AArch64 in list of systems supported in the ports add-on.
16311
16312         * LICENSES: Add more non-FSF copyright and license notices.
16313
16314         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
16315         ((unused)).
16316
16317         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
16318
16319         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
16320         10000 as width of padded output.
16321
16322 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
16323
16324         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
16325
16326         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
16327         variable LX with __attribute__ ((unused)).
16328         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
16329         Likewise.
16330         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
16331         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
16332         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
16333         with __attribute__ ((unused)).
16334
16335 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
16336
16337         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
16338
16339 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
16340
16341         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
16342         (CFLAGS-nldbl-acos.c): New variable.
16343         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
16344         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
16345         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
16346         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
16347         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
16348         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
16349         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
16350         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
16351         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
16352         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
16353         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
16354         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
16355         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
16356         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
16357         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
16358         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
16359         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
16360         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
16361         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
16362         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
16363         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
16364         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
16365         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
16366         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
16367         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
16368         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
16369         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
16370         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
16371         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
16372         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
16373         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
16374         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
16375         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
16376         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
16377         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
16378         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
16379         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
16380         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
16381         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
16382         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
16383         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
16384         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
16385         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
16386         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
16387         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
16388         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
16389         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
16390         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
16391         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
16392         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
16393         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
16394         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
16395         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
16396         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
16397         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
16398         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
16399         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
16400         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
16401         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
16402         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
16403         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
16404         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
16405         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
16406         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
16407         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
16408         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
16409         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
16410         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
16411         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
16412         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
16413         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
16414         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
16415         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
16416         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
16417         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
16418         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
16419         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
16420         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
16421         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
16422         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
16423         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
16424         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
16425         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
16426         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
16427         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
16428         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
16429         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
16430         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
16431         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
16432         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
16433         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
16434         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
16435         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
16436         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
16437         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
16438         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
16439         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
16440
16441         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
16442         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
16443
16444         [BZ #14914]
16445         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
16446         whole low double instead of just low 47 bits when splitting values
16447         into two parts.
16448
16449 2012-12-03  Allan McRae  <allan@archlinux.org>
16450
16451         * manual/stdio.texi (Predefined Printf Handlers): Remove
16452         @hsep and @vsep usage.
16453
16454 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
16455
16456         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
16457         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
16458
16459 2012-12-03  Jeff Law  <law@redhat.com>
16460
16461         * time/sys/time.h (settimeofday): Do not mark TV argument
16462         as __nonnull.
16463
16464 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
16465
16466         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
16467         when currently writing and seek to current position when not.
16468         * libio/Makefile (tests): Remove bug-fclose1.
16469         * libio/bug-fclose1.c: Delete.
16470
16471 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
16472
16473         * manual/arith.texi (feenableexcept): Fix typo.
16474         (fedisableexcept): Likewise.
16475
16476 2012-11-30  Roland McGrath  <roland@hack.frob.com>
16477
16478         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
16479         second, differently-typed declaration, rather than a cast.
16480
16481 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
16482
16483         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
16484         * include/rpc/svc.h: ... here.
16485
16486 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
16487
16488         [BZ #13013]
16489         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
16490         depending n and resplen2 to catch cases where answer
16491         equals answerp2.
16492
16493 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
16494
16495         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
16496         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
16497
16498 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
16499
16500         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
16501
16502 2012-11-29  Roland McGrath  <roland@hack.frob.com>
16503
16504         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
16505
16506 2012-11-28  Jeff Law  <law@redhat.com>
16507
16508         [BZ #13761]
16509         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
16510         dataset_temporary.  Track alloca usage into alloca_used.
16511         If dataset is large allocate and release it via malloc/free.
16512
16513 2012-06-04  Florian Weimer  <fweimer@redhat.com>
16514
16515         [BZ #14197]
16516         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
16517
16518 2012-11-28  David S. Miller  <davem@davemloft.net>
16519
16520         * sysdeps/sparc/fpu/libm-test-ulps: Update.
16521
16522 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
16523
16524         [BZ #14803]
16525         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
16526         of pi/2 rounded to nearest to 64 bits.
16527         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
16528         nearest to 64 bits.
16529         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
16530         bits.
16531
16532 2012-11-28  Jeff Law <law@redhat.com>
16533             Martin Osvald <mosvald@redhat.com>
16534
16535         [BZ #14889]
16536         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
16537         * sunrpc/svc.c: Include time.h.
16538         (__svc_accept_failed): New function.
16539         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
16540         any reason other than EINTR, call __svc_accept_failed.
16541         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
16542         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
16543
16544 2012-11-28  Andreas Schwab  <schwab@suse.de>
16545
16546         * scripts/abilist.awk: Also handle indirect functions in .opd
16547         section.
16548
16549 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
16550
16551         [BZ #13881]
16552         * sysdeps/x86/fpu/powl_helper.c: New file.
16553         * sysdeps/x86/fpu/Makefile: Likewise.
16554         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
16555         (p3): New object.
16556         (__ieee754_powl): Use __powl_helper for finite arguments except
16557         integer exponents below 8.
16558         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
16559         (p3): New object.
16560         (__ieee754_powl): Use __powl_helper for finite arguments except
16561         integer exponents below 8.
16562         * math/libm-test.inc (pow_test): Add more tests and enable some
16563         previously disabled tests.
16564         * sysdeps/i386/fpu/libm-test-ulps: Update.
16565         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16566
16567 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
16568             Carlos O'Donell  <carlos_odonell@mentor.com>
16569
16570         * nss/makedb.c (is_prime): Assert that input is odd and greater
16571         than 4.  Note that fact in a comment too.
16572         (next_prime): Add 4 to input.
16573
16574 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
16575
16576         [BZ #11741]
16577         * libio/Makefile (tests): Add test case tst-fwrite-error.
16578         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
16579         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
16580         * libio/tst-fwrite-error.c: New test case.
16581
16582 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
16583
16584         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
16585         before casting to void *.
16586         * include/libc-internal.h (__pointer_type): New macro.
16587         (__integer_if_pointer_type_sub): Likewise.
16588         (__integer_if_pointer_type): Likewise.
16589         (cast_to_integer): Likewise.
16590         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
16591         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
16592         before casting to atomic64_t.
16593         (atomic_exchange_acq): Likewise.
16594         (__arch_exchange_and_add_body): Likewise.
16595         (__arch_add_body): Likewise.
16596         (atomic_add_negative): Likewise.
16597         (atomic_add_zero): Likewise.
16598
16599 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
16600
16601         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
16602         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
16603         (add_fdes): Likewise.
16604         (linear_search_fdes): Likewise.
16605         (binary_search_unencoded_fdes): Likewise.
16606
16607 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
16608
16609         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
16610
16611 2012-11-24  Adam Conrad  <adconrad@0c3.net>
16612
16613         * configure.in: Autodetect C++ header directories.
16614         * configure: Regenerated.
16615
16616 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
16617
16618         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
16619
16620 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
16621
16622         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16623
16624 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
16625
16626         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
16627         LDBL_MANT_DIG == 106]: Disable some tests.
16628         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
16629         Likewise.
16630         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
16631         Likewise.
16632
16633         [BZ #14871]
16634         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
16635         input for small inputs.  Return +/- pi/2 for large inputs.
16636         * math/libm-test.inc (atan_test): Add more tests.
16637
16638         * sysdeps/generic/unwind-dw2-fde-glibc.c
16639         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
16640         __attribute__ ((unused)).
16641
16642         [BZ #14645]
16643         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
16644         x * y if x and y are nonzero and z is zero.
16645
16646         [BZ #14811]
16647         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
16648         nonzero exponents with absolute value below 0x1p-117 to +/-
16649         0x1p-117.
16650
16651         [BZ #14869]
16652         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
16653         up arguments below 2**-450, not just those below 2**-500.
16654         * math/libm-test.inc (hypot_test): Add another test.
16655
16656         [BZ #14868]
16657         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
16658         Return a+b for ratio over 2**120, not 2**60.
16659         * math/libm-test.inc (hypot_test): Add another test.
16660
16661         * math/libm-test.inc (clog_test): Use
16662         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
16663         (clog10_test): Likewise.
16664
16665         [BZ #6778]
16666         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
16667
16668 2012-11-22  Andreas Schwab  <schwab@suse.de>
16669
16670         * sysdeps/i386/fpu/libm-test-ulps: Update.
16671
16672 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
16673
16674         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
16675         printf output with newline.
16676
16677 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
16678
16679         [BZ #14865]
16680         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
16681         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
16682         -z nodlopen, -z initfirst and -z execstack support.
16683         * configure: Regenerated.
16684
16685         * elf/elf.h (DF_1_NODIRECT): New macro.
16686         (DF_1_IGNMULDEF): Likewise.
16687         (DF_1_NOKSYMS): Likewise.
16688         (DF_1_NOHDR): Likewise.
16689         (DF_1_EDITED): Likewise.
16690         (DF_1_NORELOC): Likewise.
16691         (DF_1_SYMINTPOSE): Likewise.
16692         (DF_1_GLOBAUDIT): Likewise.
16693         (DF_1_SINGLETON): Likewise.
16694         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
16695         DT_1_SUPPORTED_MASK bits.
16696         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
16697
16698 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
16699
16700         * sysdeps/unix/make-syscalls.sh: Document prefixes.
16701
16702 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
16703
16704         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
16705         macro.
16706
16707         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
16708         (sendmmsg): Move declarations...
16709         * socket/sys/socket.h: ... here.
16710         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
16711         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
16712         include it from...
16713         * socket/recvmmsg.c: ... this new file.
16714         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
16715         (sendmmsg): Rename to __sendmmsg, create weak alias and make
16716         definition of __sendmmsg hidden.
16717         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
16718         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
16719         Move ENOSYS stub into and include it from...
16720         * socket/sendmmsg.c: ... this new file.
16721         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
16722         (sysdep_routines): Move recvmmsg and sendmmsg...
16723         * socket/Makefile (routines): ... here.
16724         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
16725         (GLIBC_PRIVATE): Add __sendmmsg.
16726         * include/sys/socket.h (__sendmmsg): Add declarations.
16727         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
16728         sendmmsg.
16729
16730 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
16731
16732         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
16733         variable I1 with __attribute__ ((unused)).
16734         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
16735
16736 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
16737
16738         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
16739         DUMMY variables with __attribute__ ((unused)).
16740
16741         * bits/byteswap.h: Include <bits/types.h>.
16742         (__bswap_64): Use __uint64_t instead of unsigned long long int.
16743
16744 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
16745
16746         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
16747         string_t.  Do not manually set errno.
16748         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
16749         length with __strnlen.  Make sure to both set errno and return it on
16750         failure.
16751
16752 2012-11-19  David S. Miller  <davem@davemloft.net>
16753
16754         With help from Joseph Myers.
16755         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
16756         very large arguments properly.
16757         * math/libm-test.inc (atan_test): New tests.
16758         (atan2_test): New tests.
16759         * sysdeps/sparc/fpu/libm-test-ulps: Update.
16760         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16761
16762 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
16763
16764         [BZ #14856]
16765         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
16766         Define to 3.
16767
16768         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
16769         [POSIX] (EADDRNOTAVAIL): Likewise.
16770         [POSIX] (EAFNOSUPPORT): Likewise.
16771         [POSIX] (EALREADY): Likewise.
16772         [POSIX] (ECONNABORTED): Likewise.
16773         [POSIX] (ECONNREFUSED): Likewise.
16774         [POSIX] (ECONNRESET): Likewise.
16775         [POSIX] (EDESTADDRREQ): Likewise.
16776         [POSIX] (EDQUOT): Likewise.
16777         [POSIX] (EHOSTUNREACH): Likewise.
16778         [POSIX] (EIDRM): Likewise.
16779         [POSIX] (EISCONN): Likewise.
16780         [POSIX] (ELOOP): Likewise.
16781         [POSIX] (EMULTIHOP): Likewise.
16782         [POSIX] (ENETDOWN): Likewise.
16783         [POSIX] (ENETUNREACH): Likewise.
16784         [POSIX] (ENOBUFS): Likewise.
16785         [POSIX] (ENODATA): Likewise.
16786         [POSIX] (ENOLINK): Likewise.
16787         [POSIX] (ENOMSG): Likewise.
16788         [POSIX] (ENOPROTOOPT): Likewise.
16789         [POSIX] (ENOSR): Likewise.
16790         [POSIX] (ENOSTR): Likewise.
16791         [POSIX] (ENOTCONN): Likewise.
16792         [POSIX] (ENOTSOCK): Likewise.
16793         [POSIX] (EOPNOTSUPP): Likewise.
16794         [POSIX] (EOVERFLOW): Likewise.
16795         [POSIX] (EPROTO): Likewise.
16796         [POSIX] (EPROTONOSUPPORT): Likewise.
16797         [POSIX] (EPROTOTYPE): Likewise.
16798         [POSIX] (ESTALE): Likewise.
16799         [POSIX] (ETIME): Likewise.
16800         [POSIX] (ETXTBSY): Likewise.
16801         [POSIX] (EWOULDBLOCK): Likewise.
16802         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
16803         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
16804         [POSIX] (SEEK_CUR): Likewise.
16805         [POSIX] (SEEK_END): Likewise.
16806         [POSIX || UNIX98] (mode_t): Do not require.
16807         [POSIX] (off_t): Likewise.
16808         [POSIX] (pid_t): Likewise.
16809         [POSIX] (sys/stat.h): Do not allow header.
16810         [POSIX] (unistd.h): Likewise.
16811         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
16812         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
16813         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
16814         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
16815         require.
16816         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
16817         sigevent): Specify elements.
16818         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
16819         entry.
16820         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
16821         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
16822
16823         * conform/data/cpio.h-data [POSIX]: Disable whole file.
16824         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
16825         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
16826         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
16827         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
16828         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
16829         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
16830         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
16831         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
16832         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
16833         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
16834         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
16835         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
16836         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
16837         Likewise.
16838         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
16839         Likewise.
16840         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
16841         Likewise.
16842         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
16843         Likewise.
16844         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
16845         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
16846         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
16847         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
16848         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
16849         Specify lower bound on value.
16850         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
16851         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
16852         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
16853         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
16854         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
16855         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
16856         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
16857         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
16858         value.
16859         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
16860         as optional.
16861         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
16862         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
16863         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
16864         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
16865         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
16866         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
16867         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
16868         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
16869         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
16870         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
16871         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
16872         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
16873         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
16874         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
16875         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
16876         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
16877         entry.
16878         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
16879         optional.
16880         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
16881         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
16882         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
16883         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
16884         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
16885         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
16886         Likewise.
16887         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
16888         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
16889         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
16890         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
16891         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
16892         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
16893         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
16894         as optional.
16895         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
16896         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
16897         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
16898         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
16899         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
16900         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
16901         specify as optional.
16902         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
16903         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
16904         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
16905         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
16906         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
16907         [XPG3] (NL_LANGMAX): Likewise.
16908         [POSIX || XPG3] (NL_MSGMAX): Likewise.
16909         [POSIX || XPG3] (NL_NMAX): Likewise.
16910         [POSIX || XPG3] (NL_SETMAX): Likewise.
16911         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
16912         [XPG3] (NZERO): Likewise.
16913         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
16914         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
16915         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
16916         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
16917         (REG_ERANGE): Expect.
16918         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
16919         optional-constant.
16920         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
16921         Use (void) in prototype.
16922         [POSIX] (*_t): Allow.
16923         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
16924         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
16925         (WRDE_BADVAL): Expect.
16926
16927         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
16928         expect.
16929         [XPG3 || XPG4] (O_RSYNC): Likewise.
16930         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
16931         Likewise.
16932         [XPG3 || XPG4] (pthread_sigmask): Likewise.
16933         [XPG3 || XPG4] (sigqueue): Likewise.
16934         [XPG3 || XPG4] (sigtimedwait): Likewise.
16935         [XPG3 || XPG4] (sigwaitinfo): Likewise.
16936         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
16937         [XPG3 || XPG4] (vsnprintf): Likewise.
16938         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
16939         Likewise.
16940         [XPG3 || XPG4] (blksize_t): Likewise.
16941         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
16942         Likewise.
16943         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
16944         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
16945         [XPG3 || XPG4] (struct itimerspec): Likewise.
16946         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
16947         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
16948         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
16949         [XPG3 || XPG4] (clockid_t): Likewise.
16950         [XPG3 || XPG4] (timer_t): Likewise.
16951         [XPG3 || XPG4] (clock_getres): Likewise.
16952         [XPG3 || XPG4] (clock_gettime): Likewise.
16953         [XPG3 || XPG4] (clock_settime): Likewise.
16954         [XPG3 || XPG4] (nanosleep): Likewise.
16955         [XPG3 || XPG4] (timer_create): Likewise.
16956         [XPG3 || XPG4] (timer_delete): Likewise.
16957         [XPG3 || XPG4] (timer_gettime): Likewise.
16958         [XPG3 || XPG4] (timer_getoverrun): Likewise.
16959         [XPG3 || XPG4] (timer_settime): Likewise.
16960         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
16961         [XPG3 || XPG4] (getlogin_r): Likewise.
16962         [XPG3 || XPG4] (pread): Likewise.
16963         [XPG3 || XPG4] (pthread_atfork): Likewise.
16964         [XPG3 || XPG4] (pwrite): Likewise.
16965
16966         [BZ #14835]
16967         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
16968         <bits/siginfo.h>.
16969
16970 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
16971
16972         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
16973         finalizing MALLSTREAM.
16974
16975         * sysdeps/mach/hurd/syncfs.c: New file.
16976
16977 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
16978
16979         [BZ #14719]
16980         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
16981         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
16982         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
16983         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
16984         (_nss_dns_gethostbyname4_r): Likewise.
16985         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
16986         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
16987
16988 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
16989
16990         [BZ #13763]
16991         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
16992
16993 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
16994
16995         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
16996         * elf/cache.c (print_entry): Print ",AArch64" for
16997         FLAG_AARCH64_LIB64
16998
16999         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
17000         * elf/cache.c (print_entry): Print ",hard-float" for
17001         FLAG_ARM_LIBHF.
17002
17003 2012-11-18  David S. Miller  <davem@davemloft.net>
17004
17005         With help from Joseph Myers.
17006         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
17007         cutoff to 2**-13.
17008         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
17009         cutoff to 2**-25.
17010         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
17011         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
17012         small.
17013         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
17014         * math/libm-test.inc (y0_test): New tests.
17015         (y1_test): New tests.
17016         * sysdeps/i386/fpu/libm-test-ulps: Update.
17017         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17018         * sysdeps/sparc/fpu/libm-test-ulps: Update.
17019
17020 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
17021
17022         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
17023         64-bit targets.
17024         * configure: Regenerated.
17025
17026 2012-11-17  David S. Miller  <davem@davemloft.net>
17027
17028         [BZ #14811]
17029         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
17030         nonzero exponents with absolute value below 0x1p-128 to +/-
17031         0x1p-128.
17032
17033 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
17034
17035         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
17036
17037         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
17038
17039         * posix/getconf-speclist.c: New file.
17040         * posix/posix-envs.def: Likewise.
17041         * posix/confstr.c (START_ENV_GROUP): New macro.
17042         (END_ENV_GROUP): Likewise.
17043         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
17044         (KNOWN_PRESENT_ENV_STRING): Likewise.
17045         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
17046         (UNKNOWN_ENVIRONMENT): Likewise.
17047         (confstr): Include posix-envs.def instead of handling
17048         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
17049         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
17050         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
17051         (END_ENV_GROUP): Likewise.
17052         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
17053         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
17054         (UNKNOWN_ENVIRONMENT): Likewise.
17055         (__sysconf): Include posix-envs.def instead of handling associated
17056         cases directly here.
17057         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
17058         preprocessing getconf-speclist.c rather than running getconf or
17059         generating empty file.
17060
17061 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
17062
17063         * scripts/check-local-headers.sh: Ignore 'mach' headers.
17064
17065 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
17066
17067         [BZ #14672]
17068         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
17069
17070 2012-11-16  David S. Miller  <davem@davemloft.net>
17071
17072         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
17073         smaller than LDBL_EPSILON/2.0L, just return xm1.
17074
17075 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
17076
17077         * elf/tst-array1.c (init): Set constructor priority to 1000.
17078         (fini): Set destructor priority to 1000.
17079         * elf/tst-array2dep.c: Likewise.
17080
17081 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
17082
17083         [BZ #11741]
17084         * libio/fileops.c (_IO_new_file_write): Correctly return error.
17085         (_IO_new_file_xsputn): Also return EOF if none of the input
17086         data was written when overflow failed.
17087         * libio/iopadn.c (_IO_padn): Likewise.
17088         * libio/iowpadn.c (_IO_wpadn): Likewise.
17089         * stdio-common/tst-put-error.c: Add copyright notice.
17090         (do_test): Add case for printing padded string.
17091         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
17092         _IO_padn returned error.
17093         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
17094         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
17095         return EOF.
17096
17097 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
17098
17099         * libio/libioP.h: Add comment note that the references to C++
17100         bits are now obsolete.
17101
17102 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
17103
17104         * math/libm-test.inc (check_complex): Use asprintf.
17105
17106 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
17107
17108         * debug/pcprofiledump.c (print_version): Update copyright year.
17109         * malloc/memusagestat.c (print_version): Likewise.
17110
17111 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
17112
17113         [BZ #14831]
17114         * elf/Makefile (tests): Add tst-audit8.
17115         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
17116         ($(objpfx)tst-audit8.out): New target.
17117         (tst-audit8-ENV): New variable.
17118         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
17119         audit if l_reloc_result is NULL.
17120         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
17121         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
17122         * elf/tst-audit8.c: New file.
17123
17124 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
17125
17126         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
17127         * misc/Makefile (CFLAGS-select.c): Define.
17128         * posix/Makefile (CFLAGS-pause.c): Define.
17129
17130 2012-11-13  David S. Miller  <davem@davemloft.net>
17131
17132         * crypt/Makefile: Move test targets after toplevel Rules
17133         inclusion.  Grab any necessary sysdep routines when linking.
17134         * crypt/md5.c (md5_process_block): Remove define, we will always
17135         name it __md5_process_block.
17136         (md5_finish_ctx): Update md5_process_block call.
17137         (md5_stream): Likewise.
17138         (md5_process_bytes): Likewise.
17139         (md5_process_block): Rename to __md5_process_block and move to ...
17140         * crypt/md5-block.c: ... here.
17141         * crypt/sha256.c (sha256_process_block): Move to ...
17142         * crypt/sha256-block.c: ... here.
17143         * crypt/sha512.c (sha512_process_block): Move to ...
17144         * crypt/sha512-block.c: ... here.
17145         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
17146         path.
17147         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
17148         * sysdeps/sparc/sparc64/multiarch/Makefile
17149         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
17150         crypt subdir.
17151         (localedef-aux): Add md5 crypto assembler when in locale subdir.
17152         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
17153         multiarch changes.
17154         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
17155         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
17156         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
17157         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
17158         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
17159         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
17160         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
17161         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
17162         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
17163         file.
17164         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
17165         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
17166         file.
17167         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
17168
17169 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
17170
17171         * timezone/tzselect.ksh: Update from tzcode git revision
17172         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
17173         * timezone/zdump.c: Likewise.
17174         * timezone/zic.c: Likewise.
17175         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
17176         in TZVERSION setting, not $(PKGVERSION).
17177         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
17178         REPORT_BUGS_TO settings.
17179
17180         [BZ #14838]
17181         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
17182         macro.
17183
17184 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
17185
17186         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
17187         detection to immediately after _FP_ROUND().
17188         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
17189         bits are 0.
17190
17191 2012-11-11  David S. Miller  <davem@davemloft.net>
17192
17193         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
17194         inttypes.h
17195         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
17196         __close rather than their public counterparts.
17197
17198 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
17199
17200         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
17201         file.
17202         [UNIX98] (sem_timedwait): Do not expect.
17203         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
17204         [XPG4 || UNIX98] (sockatmark): Do not expect.
17205         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
17206         (clock_getcpuclockid): Do not expect.
17207         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
17208         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
17209         Do not expect.
17210         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
17211         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
17212         [UNIX98] (vwscanf): Likewise.
17213         [UNIX98] (vswscanf): Likewise.
17214
17215 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
17216
17217         * timezone/version.h: Remove file.
17218         * timezone/README: Do not refer to version.h.
17219         * timezone/Makefile ($(objpfx)zic.o): New dependency on
17220         $(objpfx)version.h.
17221         ($(objpfx)zdump.o): Likewise.
17222         ($(objpfx)version.h): New target.
17223
17224         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
17225         2012i.
17226         * timezone/README: Don't mention modification to tzselect.ksh.
17227         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
17228         work on unmodified tzselect.ksh.  Substitute version numbers in
17229         tzselect.ksh.
17230
17231         * Makefile (format-me): Remove.
17232         (INSTALL): Adjust indentation.  Use commands directly instead of
17233         using $(format-me).
17234
17235         * aclocal.m4 (ACX_PKGVERSION): New macro.
17236         (ACX_BUGURL): Likewise.
17237         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
17238         (PKGVERSION): New AC_DEFINE_UNQUOTED.
17239         (REPORT_BUGS_TO): Likewise.
17240         * configure: Regenerated.
17241         * config.h.in (PKGVERSION): New macro.
17242         (REPORT_BUGS_TO): Likewise.
17243         * config.make.in (PKGVERSION): New variable.
17244         (PKGVERSION_TEXI): Likewise.
17245         (REPORT_BUGS_TO): Likewise.
17246         (REPORT_BUGS_TEXI): Likewise.
17247         * Makefile (format-me): Use -I$(common-objpfx)manual.
17248         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
17249         ($(common-objpfx)manual/%): New target.
17250         (manual/%): Remove target.
17251         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
17252         (print_version): Use PKGVERSION.
17253         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
17254         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
17255         and REPORT_BUGS_TO.
17256         ($(objpfx)xtrace): Likewise.
17257         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
17258         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
17259         (print_version): Use PKGVERSION.
17260         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
17261         (do_version): Use PKGVERSION.
17262         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
17263         REPORT_BUGS_TO.
17264         (common-ldd-rewrite): Likewise.
17265         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
17266         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
17267         (print_version): Use PKGVERSION.
17268         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
17269         * elf/pldd.c (argp_program_bug_address): Remove variable.
17270         (more_help): New function.
17271         (argp): Use more_help.
17272         (print_version): Use PKGVERSION.
17273         * elf/sln.c (main): Use PKGVERSION.
17274         (usage): Use REPORT_BUGS_TO.
17275         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
17276         (top level): Use PKGVERSION.
17277         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
17278         (print_version): Use PKGVERSION.
17279         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
17280         (print_version): Use PKGVERSION.
17281         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
17282         (print_version): Use PKGVERSION.
17283         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
17284         (print_version): Use PKGVERSION.
17285         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
17286         (print_version): Use PKGVERSION.
17287         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
17288         (print_version): Use PKGVERSION.
17289         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
17290         and BUGURL.
17291         ($(objpfx)memusage): Likewise.
17292         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
17293         (do_version): Use PKGVERSION.
17294         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
17295         (print_version): Use PKGVERSION.
17296         * malloc/mtrace.pl ($PACKAGE): Remove variable.
17297         ($PKGVERSION): New variable.
17298         ($REPORT_BUGS_TO): Likewise.
17299         (usage): Use $REPORT_BUGS_TO.
17300         (top level): Use $PKGVERSION.
17301         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
17302         ($(objpfx)pkgvers.texi): New rule.
17303         ($(objpfx)stamp-pkgvers): Likewise.
17304         * manual/install.texi: Include pkgvers.texi.
17305         (--with-pkgversion): Document new configure option.
17306         (--with-bugurl): Likewise.
17307         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
17308         than necessarily for this particular distribution.  Use
17309         REPORT_BUGS_TO for where to report bugs.
17310         * INSTALL: Regenerated.
17311         * manual/libc.texinfo: Include pkgvers.texi.
17312         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
17313         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
17314         (print_version): Use PKGVERSION.
17315         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
17316         (print_version): Use PKGVERSION.
17317         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
17318         (print_version): Use PKGVERSION.
17319         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
17320         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
17321         macro.
17322         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
17323         (print_version): Use PKGVERSION.
17324         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
17325         (print_version): Use PKGVERSION.
17326         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
17327         and PKGVERSION.
17328
17329         * timezone/checktab.awk: Update from tzcode 2012i.
17330         * timezone/ialloc.c: Likewise.
17331         * timezone/private.h: Likewise.
17332         * timezone/scheck.c: Likewise.
17333         * timezone/tzfile.h: Likewise.
17334         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
17335         (TZVERSION): Hardcode tzcode version number.
17336         * timezone/zdump.c: Update from tzcode 2012i.
17337         * timezone/zic.c: Likewise.
17338         * timezone/version.h: New file.
17339         * timezone/README: Describe version.h.  Update upstream location.
17340
17341         [BZ #14824]
17342         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
17343         (mktemp): Enable declaration.
17344         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
17345         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
17346         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
17347         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
17348         Likewise.
17349         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
17350         Likewise.
17351         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
17352         Likewise.
17353         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
17354         Likewise.
17355         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
17356         Likewise.
17357         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
17358         Likewise.
17359
17360         [BZ #14821]
17361         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
17362         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
17363         for copies of such integer values.
17364         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
17365         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
17366
17367 2012-11-09  Andreas Jaeger  <aj@suse.de>
17368
17369         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
17370         definitions and declarations that are provided by
17371         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
17372
17373 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
17374
17375         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
17376         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
17377         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
17378         definition.
17379
17380 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
17381
17382         * elf/elf.h: Update comment before AArch64 relocations.
17383
17384 2012-11-07  David S. Miller  <davem@davemloft.net>
17385
17386         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
17387         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
17388         (__start_context): Declare.
17389         (__makecontext_ret): Delete.
17390         (__makecontext): Hook up __start_context instead of
17391         __makecontext_ret.
17392         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
17393         (sysdep_routines): Add __start_context when in stdlib.
17394
17395 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
17396
17397         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
17398         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
17399         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
17400         hardcoded "nm".
17401         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
17402         (READELF): New variable.  Use it instead of hardcoded "readelf".
17403
17404 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
17405
17406         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
17407         * sysdeps/x86/Makefile: Here.
17408         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
17409         * sysdeps/x86/tst-xmmymm.sh: This.
17410
17411 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
17412
17413         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
17414         expectations.
17415         [UNIX98] (pthread_barrier_t): Do not expect.
17416         [UNIX98] (pthread_barrierattr_t): Likewise.
17417         [UNIX98] (pthread_spinlock_t): Likewise.
17418         [UNIX98] (pthread_barrier_destroy): Likewise.
17419         [UNIX98] (pthread_barrier_init): Likewise.
17420         [UNIX98] (pthread_barrier_wait): Likewise.
17421         [UNIX98] (pthread_barrierattr_destroy): Likewise.
17422         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
17423         [UNIX98] (pthread_barrierattr_init): Likewise.
17424         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
17425         [UNIX98] (pthread_getcpuclockid): Likewise.
17426         [UNIX98] (pthread_mutex_timedlock): Likewise.
17427         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
17428         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
17429         [UNIX98] (pthread_sigmask): Likewise.
17430         [UNIX98] (pthread_spin_destroy): Likewise.
17431         [UNIX98] (pthread_spin_init): Likewise.
17432         [UNIX98] (pthread_spin_lock): Likewise.
17433         [UNIX98] (pthread_spin_trylock): Likewise.
17434         [UNIX98] (pthread_spin_unlock): Likewise.
17435         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
17436         Do not expect.
17437         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
17438         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
17439         [XPG3 || XPG4] (pthread_cond_t): Likewise.
17440         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
17441         [XPG3 || XPG4] (pthread_key_t): Likewise.
17442         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
17443         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
17444         [XPG3 || XPG4] (pthread_once_t): Likewise.
17445         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
17446         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
17447         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
17448         [XPG3 || XPG4] (pthread_t): Likewise.
17449
17450         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
17451         not expect.
17452         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
17453
17454         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
17455         Change function return type to int.
17456
17457         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
17458         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
17459         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
17460         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
17461         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
17462         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
17463         [!POSIX] (posix_madvise): Likewise.
17464         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
17465         && !UNIX98].
17466         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
17467         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
17468         (mode_t): Likewise.
17469         (posix_mem_offset): Likewise.
17470         (posix_typed_mem_get_info): Likewise.
17471         (posix_typed_mem_open): Likewise.
17472
17473         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
17474         Change condition to [XOPEN2K8].
17475
17476         * conform/conformtest.pl: Preprocess allow-header data with -x c
17477         instead of from stdin.
17478         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
17479         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
17480         [C99-based standards] (cerfc): Likewise.
17481         [C99-based standards] (cexp2): Likewise.
17482         [C99-based standards] (cexpm1): Likewise.
17483         [C99-based standards] (clog10): Likewise.
17484         [C99-based standards] (clog1p): Likewise.
17485         [C99-based standards] (clog2): Likewise.
17486         [C99-based standards] (clgamma): Likewise.
17487         [C99-based standards] (ctgamma): Likewise.
17488         [C99-based standards] (cerff): Likewise.
17489         [C99-based standards] (cerfcf): Likewise.
17490         [C99-based standards] (cexp2f): Likewise.
17491         [C99-based standards] (cexpm1f): Likewise.
17492         [C99-based standards] (clog10f): Likewise.
17493         [C99-based standards] (clog1pf): Likewise.
17494         [C99-based standards] (clog2f): Likewise.
17495         [C99-based standards] (clgammaf): Likewise.
17496         [C99-based standards] (ctgammaf): Likewise.
17497         [C99-based standards] (cerfl): Likewise.
17498         [C99-based standards] (cerfcl): Likewise.
17499         [C99-based standards] (cexp2l): Likewise.
17500         [C99-based standards] (cexpm1l): Likewise.
17501         [C99-based standards] (clog10l): Likewise.
17502         [C99-based standards] (clog1pl): Likewise.
17503         [C99-based standards] (clog2l): Likewise.
17504         [C99-based standards] (clgammal): Likewise.
17505         [C99-based standards] (ctgammal): Likewise.
17506         * conform/data/inttypes.h-data [C99-based standards]: Include
17507         stdint.h-data.  Remove all expectations for stdint.h contents.
17508         [C99-based standards] (PRI*): Do not allow.
17509         [C99-based standards] (SCN*): Likewise.
17510         [C99-based standards] (*_t): Likewise.
17511         [C99-based-standards] (PRId8): Expect macro.
17512         [C99-based-standards] (PRIi8): Likewise.
17513         [C99-based-standards] (PRIo8): Likewise.
17514         [C99-based-standards] (PRIu8): Likewise.
17515         [C99-based-standards] (PRIx8): Likewise.
17516         [C99-based-standards] (PRIX8): Likewise.
17517         [C99-based-standards] (SCNd8): Likewise.
17518         [C99-based-standards] (SCNi8): Likewise.
17519         [C99-based-standards] (SCNo8): Likewise.
17520         [C99-based-standards] (SCNu8): Likewise.
17521         [C99-based-standards] (SCNx8): Likewise.
17522         [C99-based-standards] (PRIdLEAST8): Likewise.
17523         [C99-based-standards] (PRIiLEAST8): Likewise.
17524         [C99-based-standards] (PRIoLEAST8): Likewise.
17525         [C99-based-standards] (PRIuLEAST8): Likewise.
17526         [C99-based-standards] (PRIxLEAST8): Likewise.
17527         [C99-based-standards] (PRIXLEAST8): Likewise.
17528         [C99-based-standards] (SCNdLEAST8): Likewise.
17529         [C99-based-standards] (SCNiLEAST8): Likewise.
17530         [C99-based-standards] (SCNoLEAST8): Likewise.
17531         [C99-based-standards] (SCNuLEAST8): Likewise.
17532         [C99-based-standards] (SCNxLEAST8): Likewise.
17533         [C99-based-standards] (PRIdFAST8): Likewise.
17534         [C99-based-standards] (PRIiFAST8): Likewise.
17535         [C99-based-standards] (PRIoFAST8): Likewise.
17536         [C99-based-standards] (PRIuFAST8): Likewise.
17537         [C99-based-standards] (PRIxFAST8): Likewise.
17538         [C99-based-standards] (PRIXFAST8): Likewise.
17539         [C99-based-standards] (SCNdFAST8): Likewise.
17540         [C99-based-standards] (SCNiFAST8): Likewise.
17541         [C99-based-standards] (SCNoFAST8): Likewise.
17542         [C99-based-standards] (SCNuFAST8): Likewise.
17543         [C99-based-standards] (SCNxFAST8): Likewise.
17544         [C99-based-standards] (PRId16): Likewise.
17545         [C99-based-standards] (PRIi16): Likewise.
17546         [C99-based-standards] (PRIo16): Likewise.
17547         [C99-based-standards] (PRIu16): Likewise.
17548         [C99-based-standards] (PRIx16): Likewise.
17549         [C99-based-standards] (PRIX16): Likewise.
17550         [C99-based-standards] (SCNd16): Likewise.
17551         [C99-based-standards] (SCNi16): Likewise.
17552         [C99-based-standards] (SCNo16): Likewise.
17553         [C99-based-standards] (SCNu16): Likewise.
17554         [C99-based-standards] (SCNx16): Likewise.
17555         [C99-based-standards] (PRIdLEAST16): Likewise.
17556         [C99-based-standards] (PRIiLEAST16): Likewise.
17557         [C99-based-standards] (PRIoLEAST16): Likewise.
17558         [C99-based-standards] (PRIuLEAST16): Likewise.
17559         [C99-based-standards] (PRIxLEAST16): Likewise.
17560         [C99-based-standards] (PRIXLEAST16): Likewise.
17561         [C99-based-standards] (SCNdLEAST16): Likewise.
17562         [C99-based-standards] (SCNiLEAST16): Likewise.
17563         [C99-based-standards] (SCNoLEAST16): Likewise.
17564         [C99-based-standards] (SCNuLEAST16): Likewise.
17565         [C99-based-standards] (SCNxLEAST16): Likewise.
17566         [C99-based-standards] (PRIdFAST16): Likewise.
17567         [C99-based-standards] (PRIiFAST16): Likewise.
17568         [C99-based-standards] (PRIoFAST16): Likewise.
17569         [C99-based-standards] (PRIuFAST16): Likewise.
17570         [C99-based-standards] (PRIxFAST16): Likewise.
17571         [C99-based-standards] (PRIXFAST16): Likewise.
17572         [C99-based-standards] (SCNdFAST16): Likewise.
17573         [C99-based-standards] (SCNiFAST16): Likewise.
17574         [C99-based-standards] (SCNoFAST16): Likewise.
17575         [C99-based-standards] (SCNuFAST16): Likewise.
17576         [C99-based-standards] (SCNxFAST16): Likewise.
17577         [C99-based-standards] (PRId32): Likewise.
17578         [C99-based-standards] (PRIi32): Likewise.
17579         [C99-based-standards] (PRIo32): Likewise.
17580         [C99-based-standards] (PRIu32): Likewise.
17581         [C99-based-standards] (PRIx32): Likewise.
17582         [C99-based-standards] (PRIX32): Likewise.
17583         [C99-based-standards] (SCNd32): Likewise.
17584         [C99-based-standards] (SCNi32): Likewise.
17585         [C99-based-standards] (SCNo32): Likewise.
17586         [C99-based-standards] (SCNu32): Likewise.
17587         [C99-based-standards] (SCNx32): Likewise.
17588         [C99-based-standards] (PRIdLEAST32): Likewise.
17589         [C99-based-standards] (PRIiLEAST32): Likewise.
17590         [C99-based-standards] (PRIoLEAST32): Likewise.
17591         [C99-based-standards] (PRIuLEAST32): Likewise.
17592         [C99-based-standards] (PRIxLEAST32): Likewise.
17593         [C99-based-standards] (PRIXLEAST32): Likewise.
17594         [C99-based-standards] (SCNdLEAST32): Likewise.
17595         [C99-based-standards] (SCNiLEAST32): Likewise.
17596         [C99-based-standards] (SCNoLEAST32): Likewise.
17597         [C99-based-standards] (SCNuLEAST32): Likewise.
17598         [C99-based-standards] (SCNxLEAST32): Likewise.
17599         [C99-based-standards] (PRIdFAST32): Likewise.
17600         [C99-based-standards] (PRIiFAST32): Likewise.
17601         [C99-based-standards] (PRIoFAST32): Likewise.
17602         [C99-based-standards] (PRIuFAST32): Likewise.
17603         [C99-based-standards] (PRIxFAST32): Likewise.
17604         [C99-based-standards] (PRIXFAST32): Likewise.
17605         [C99-based-standards] (SCNdFAST32): Likewise.
17606         [C99-based-standards] (SCNiFAST32): Likewise.
17607         [C99-based-standards] (SCNoFAST32): Likewise.
17608         [C99-based-standards] (SCNuFAST32): Likewise.
17609         [C99-based-standards] (SCNxFAST32): Likewise.
17610         [C99-based-standards] (PRId64): Likewise.
17611         [C99-based-standards] (PRIi64): Likewise.
17612         [C99-based-standards] (PRIo64): Likewise.
17613         [C99-based-standards] (PRIu64): Likewise.
17614         [C99-based-standards] (PRIx64): Likewise.
17615         [C99-based-standards] (PRIX64): Likewise.
17616         [C99-based-standards] (SCNd64): Likewise.
17617         [C99-based-standards] (SCNi64): Likewise.
17618         [C99-based-standards] (SCNo64): Likewise.
17619         [C99-based-standards] (SCNu64): Likewise.
17620         [C99-based-standards] (SCNx64): Likewise.
17621         [C99-based-standards] (PRIdLEAST64): Likewise.
17622         [C99-based-standards] (PRIiLEAST64): Likewise.
17623         [C99-based-standards] (PRIoLEAST64): Likewise.
17624         [C99-based-standards] (PRIuLEAST64): Likewise.
17625         [C99-based-standards] (PRIxLEAST64): Likewise.
17626         [C99-based-standards] (PRIXLEAST64): Likewise.
17627         [C99-based-standards] (SCNdLEAST64): Likewise.
17628         [C99-based-standards] (SCNiLEAST64): Likewise.
17629         [C99-based-standards] (SCNoLEAST64): Likewise.
17630         [C99-based-standards] (SCNuLEAST64): Likewise.
17631         [C99-based-standards] (SCNxLEAST64): Likewise.
17632         [C99-based-standards] (PRIdFAST64): Likewise.
17633         [C99-based-standards] (PRIiFAST64): Likewise.
17634         [C99-based-standards] (PRIoFAST64): Likewise.
17635         [C99-based-standards] (PRIuFAST64): Likewise.
17636         [C99-based-standards] (PRIxFAST64): Likewise.
17637         [C99-based-standards] (PRIXFAST64): Likewise.
17638         [C99-based-standards] (SCNdFAST64): Likewise.
17639         [C99-based-standards] (SCNiFAST64): Likewise.
17640         [C99-based-standards] (SCNoFAST64): Likewise.
17641         [C99-based-standards] (SCNuFAST64): Likewise.
17642         [C99-based-standards] (SCNxFAST64): Likewise.
17643         [C99-based-standards] (PRIdMAX): Likewise.
17644         [C99-based-standards] (PRIiMAX): Likewise.
17645         [C99-based-standards] (PRIoMAX): Likewise.
17646         [C99-based-standards] (PRIuMAX): Likewise.
17647         [C99-based-standards] (PRIxMAX): Likewise.
17648         [C99-based-standards] (PRIXMAX): Likewise.
17649         [C99-based-standards] (SCNdMAX): Likewise.
17650         [C99-based-standards] (SCNiMAX): Likewise.
17651         [C99-based-standards] (SCNoMAX): Likewise.
17652         [C99-based-standards] (SCNuMAX): Likewise.
17653         [C99-based-standards] (SCNxMAX): Likewise.
17654         [C99-based-standards] (PRIdPTR): Likewise.
17655         [C99-based-standards] (PRIiPTR): Likewise.
17656         [C99-based-standards] (PRIoPTR): Likewise.
17657         [C99-based-standards] (PRIuPTR): Likewise.
17658         [C99-based-standards] (PRIxPTR): Likewise.
17659         [C99-based-standards] (PRIXPTR): Likewise.
17660         [C99-based-standards] (SCNdPTR): Likewise.
17661         [C99-based-standards] (SCNiPTR): Likewise.
17662         [C99-based-standards] (SCNoPTR): Likewise.
17663         [C99-based-standards] (SCNuPTR): Likewise.
17664         [C99-based-standards] (SCNxPTR): Likewise.
17665         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
17666         allow.
17667         * conform/data/stdint.h-data: Update comments to clarify
17668         requirements.
17669         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
17670         type.
17671         [C99-based standards] (INT8_MAX): Likewise.
17672         [C99-based standards] (INT16_MIN): Likewise.
17673         [C99-based standards] (INT16_MAX): Likewise.
17674         [C99-based standards] (INT32_MIN): Likewise.
17675         [C99-based standards] (INT32_MAX): Likewise.
17676         [C99-based standards] (INT64_MIN): Likewise.
17677         [C99-based standards] (INT64_MAX): Likewise.
17678         [C99-based standards] (UINT8_MAX): Likewise.
17679         [C99-based standards] (UINT16_MAX): Likewise.
17680         [C99-based standards] (UINT32_MAX): Likewise.
17681         [C99-based standards] (UINT64_MAX): Likewise.
17682         [C99-based standards] (INT_LEAST8_MIN): Likewise.
17683         [C99-based standards] (INT_LEAST8_MAX): Likewise.
17684         [C99-based standards] (INT_LEAST16_MIN): Likewise.
17685         [C99-based standards] (INT_LEAST16_MAX): Likewise.
17686         [C99-based standards] (INT_LEAST32_MIN): Likewise.
17687         [C99-based standards] (INT_LEAST32_MAX): Likewise.
17688         [C99-based standards] (INT_LEAST64_MIN): Likewise.
17689         [C99-based standards] (INT_LEAST64_MAX): Likewise.
17690         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
17691         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
17692         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
17693         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
17694         [C99-based standards] (INT_FAST8_MIN): Likewise.
17695         [C99-based standards] (INT_FAST8_MAX): Likewise.
17696         [C99-based standards] (INT_FAST16_MIN): Likewise.
17697         [C99-based standards] (INT_FAST16_MAX): Likewise.
17698         [C99-based standards] (INT_FAST32_MIN): Likewise.
17699         [C99-based standards] (INT_FAST32_MAX): Likewise.
17700         [C99-based standards] (INT_FAST64_MIN): Likewise.
17701         [C99-based standards] (INT_FAST64_MAX): Likewise.
17702         [C99-based standards] (UINT_FAST8_MAX): Likewise.
17703         [C99-based standards] (UINT_FAST16_MAX): Likewise.
17704         [C99-based standards] (UINT_FAST32_MAX): Likewise.
17705         [C99-based standards] (UINT_FAST64_MAX): Likewise.
17706         [C99-based standards] (INTPTR_MIN): Likewise.
17707         [C99-based standards] (INTPTR_MAX): Likewise.
17708         [C99-based standards] (UINTPTR_MAX): Likewise.
17709         [C99-based standards] (INTMAX_MIN): Likewise.
17710         [C99-based standards] (INTMAX_MAX): Likewise.
17711         [C99-based standards] (UINTMAX_MAX): Likewise.
17712         [C99-based standards] (PTRDIFF_MIN): Likewise.
17713         [C99-based standards] (PTRDIFF_MAX): Likewise.
17714         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
17715         [C99-based standards] (SIZE_MAX): Likewise.
17716         [C99-based standards] (WCHAR_MAX): Likewise.
17717         [C99-based standards] (WINT_MAX): Likewise.
17718         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
17719         constraint on value.
17720         [C99-based standards] (WCHAR_MIN): Likewise.
17721         [C99-based standards] (WINT_MIN): Likewise.
17722         [C99-based standards] (*_t): Allow.
17723         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
17724         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
17725         Include math.h-data and complex.h-data.  Remove all expectations
17726         of math.h and complex.h contents.
17727         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
17728         at end of line.
17729         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
17730         (struct tm): Expect tag.
17731         [C99-based-standards] (wcstof): Expect function.
17732         [C99-based-standards] (wcstold): Likewise.
17733         [C99-based-standards] (wcstoll): Likewise.
17734         [C99-based-standards] (wcstoull): Likewise.
17735         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
17736         macro-int-constant.  Specify type.
17737         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
17738         constraint on value.
17739         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
17740         Specify type.
17741         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
17742         Specify value.
17743         [ISO C standards]: Do not allow headers.
17744         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
17745         wcs[abcdefghijklmnopqrstuvwxyz]*.
17746         [ISO C standards] (*_t): Do not allow.
17747         * conform/data/wctype.h-data [C99-based standards] (iswblank):
17748         Expect function.
17749         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
17750         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
17751         Specify type.
17752         [ISO C standards]: Do not allow headers.
17753         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
17754         is[abcdefghijklmnopqrstuvwxyz]*.
17755         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
17756         to[abcdefghijklmnopqrstuvwxyz]*.
17757         [ISO C standards] (*_t): Do not allow.
17758         * conform/data/stdalign.h-data: New file.
17759         * conform/data/stdbool.h-data: Likewise.
17760         * conform/data/stdnoreturn.h-data: Likewise.
17761
17762 2012-11-07  Roland McGrath  <roland@hack.frob.com>
17763
17764         [BZ #14815]
17765         * manual/filesys.texi (Directory Entries): Typo fix.
17766         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
17767
17768 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
17769
17770         * elf/elf.h (EM_AARCH64): New macro.
17771         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
17772         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
17773         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
17774         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
17775         (R_AARCH64_TLSDESC): Likewise.
17776         (NT_ARM_TLS): Likewise.
17777         (NT_ARM_HW_BREAK): Likewise.
17778         (NT_ARM_HW_WATCH): Likewise.
17779
17780 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
17781
17782         [BZ #14811]
17783         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
17784         (__ieee754_powl): Saturate nonzero exponents with absolute value
17785         below 0x1p-79 to +/- 0x1p-79.
17786         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
17787         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
17788         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
17789         nonzero exponents with absolute value below 0x1p-32 to +/-
17790         0x1p-32.
17791         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
17792         (__ieee754_powl): Saturate nonzero exponents with absolute value
17793         below 0x1p-79 to +/- 0x1p-79.
17794         * math/libm-test.inc (pow_test): Add more tests.
17795
17796 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
17797
17798         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
17799         _dl_s390_cap_flags with kernel. Increase string length.
17800         (_dl_s390_platforms): Add z196 and zEC12.
17801
17802 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
17803
17804         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
17805         Change XOPEN21K to XOPEN2K.
17806
17807 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
17808
17809         * string/memmove.c: Use memcpy when possible.
17810
17811 2012-11-06  Andreas Jaeger  <aj@suse.de>
17812
17813         * po/eo.po: Update from translation team.
17814
17815 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
17816
17817         [BZ #14793]
17818         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
17819         exponent and small x and y exponents, scale x or y up.  Increase
17820         by 2 the exponent used in scaling up.
17821         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
17822         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
17823         * math/libm-test.inc (fma_test): Add more tests.
17824         (fma_test_towardzero): Likewise.
17825         (fma_test_downward): Likewise.
17826         (fma_test_upward): Likewise.
17827
17828 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
17829
17830         [BZ #14805]
17831         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
17832         fenv_t *.
17833
17834         [BZ #14801]
17835         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
17836         namespace for names of struct fields.
17837         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
17838         fenv_t fields.
17839         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
17840         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
17841
17842 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
17843
17844         [BZ #3665]
17845         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
17846
17847 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
17848
17849         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
17850         PTR_DEMANGLE.
17851
17852         [BZ #5246]
17853         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
17854         PTR_DEMANGLE.
17855
17856 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
17857
17858         [BZ #14797]
17859         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
17860         definitely overflow as x * y not x * y + z.
17861         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
17862         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
17863         * math/libm-test.inc (fma_test): Add more tests.
17864         (fma_test_towardzero): Likewise.
17865         (fma_test_downward): Likewise.
17866         (fma_test_upward): Likewise.
17867
17868 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
17869
17870         [BZ #157]
17871
17872         * include/stub-tag.h: Remove file.
17873         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
17874         '#include' of it.
17875         * manual/maint.texi (Porting): Don't reference it.
17876         * Makerules ($(objpfx)stubs): Likewise.
17877         * dirent/closedir.c: Don't include <stub-tag.h>.
17878         * dirent/dirfd.c: Likewise.
17879         * dirent/fdopendir.c: Likewise.
17880         * dirent/getdents.c: Likewise.
17881         * dirent/getdents64.c: Likewise.
17882         * dirent/opendir.c: Likewise.
17883         * dirent/readdir.c: Likewise.
17884         * dirent/readdir64.c: Likewise.
17885         * dirent/readdir64_r.c: Likewise.
17886         * dirent/readdir_r.c: Likewise.
17887         * dirent/rewinddir.c: Likewise.
17888         * dirent/seekdir.c: Likewise.
17889         * dirent/telldir.c: Likewise.
17890         * gmon/profil.c: Likewise.
17891         * grp/setgroups.c: Likewise.
17892         * inet/if_index.c: Likewise.
17893         * io/access.c: Likewise.
17894         * io/chdir.c: Likewise.
17895         * io/chmod.c: Likewise.
17896         * io/chown.c: Likewise.
17897         * io/close.c: Likewise.
17898         * io/dup.c: Likewise.
17899         * io/dup2.c: Likewise.
17900         * io/dup3.c: Likewise.
17901         * io/euidaccess.c: Likewise.
17902         * io/faccessat.c: Likewise.
17903         * io/fchdir.c: Likewise.
17904         * io/fchmod.c: Likewise.
17905         * io/fchmodat.c: Likewise.
17906         * io/fchown.c: Likewise.
17907         * io/fchownat.c: Likewise.
17908         * io/fcntl.c: Likewise.
17909         * io/flock.c: Likewise.
17910         * io/fstatfs.c: Likewise.
17911         * io/fstatfs64.c: Likewise.
17912         * io/fstatvfs.c: Likewise.
17913         * io/fstatvfs64.c: Likewise.
17914         * io/futimens.c: Likewise.
17915         * io/fxstat.c: Likewise.
17916         * io/fxstat64.c: Likewise.
17917         * io/fxstatat.c: Likewise.
17918         * io/fxstatat64.c: Likewise.
17919         * io/getcwd.c: Likewise.
17920         * io/isatty.c: Likewise.
17921         * io/lchmod.c: Likewise.
17922         * io/lchown.c: Likewise.
17923         * io/link.c: Likewise.
17924         * io/linkat.c: Likewise.
17925         * io/lseek.c: Likewise.
17926         * io/lseek64.c: Likewise.
17927         * io/lxstat64.c: Likewise.
17928         * io/mkdir.c: Likewise.
17929         * io/mkdirat.c: Likewise.
17930         * io/mkfifo.c: Likewise.
17931         * io/mkfifoat.c: Likewise.
17932         * io/open.c: Likewise.
17933         * io/open64.c: Likewise.
17934         * io/openat.c: Likewise.
17935         * io/openat64.c: Likewise.
17936         * io/pipe.c: Likewise.
17937         * io/pipe2.c: Likewise.
17938         * io/poll.c: Likewise.
17939         * io/posix_fadvise.c: Likewise.
17940         * io/posix_fadvise64.c: Likewise.
17941         * io/posix_fallocate.c: Likewise.
17942         * io/posix_fallocate64.c: Likewise.
17943         * io/read.c: Likewise.
17944         * io/readlink.c: Likewise.
17945         * io/readlinkat.c: Likewise.
17946         * io/rmdir.c: Likewise.
17947         * io/sendfile.c: Likewise.
17948         * io/sendfile64.c: Likewise.
17949         * io/statfs.c: Likewise.
17950         * io/statfs64.c: Likewise.
17951         * io/statvfs.c: Likewise.
17952         * io/statvfs64.c: Likewise.
17953         * io/symlink.c: Likewise.
17954         * io/symlinkat.c: Likewise.
17955         * io/ttyname.c: Likewise.
17956         * io/ttyname_r.c: Likewise.
17957         * io/umask.c: Likewise.
17958         * io/unlink.c: Likewise.
17959         * io/unlinkat.c: Likewise.
17960         * io/utime.c: Likewise.
17961         * io/utimensat.c: Likewise.
17962         * io/write.c: Likewise.
17963         * io/xmknod.c: Likewise.
17964         * io/xmknodat.c: Likewise.
17965         * io/xstat.c: Likewise.
17966         * io/xstat64.c: Likewise.
17967         * login/getpt.c: Likewise.
17968         * login/grantpt.c: Likewise.
17969         * login/unlockpt.c: Likewise.
17970         * math/e_acoshl.c: Likewise.
17971         * math/e_acosl.c: Likewise.
17972         * math/e_asinl.c: Likewise.
17973         * math/e_atan2l.c: Likewise.
17974         * math/e_atanhl.c: Likewise.
17975         * math/e_coshl.c: Likewise.
17976         * math/e_expl.c: Likewise.
17977         * math/e_fmodl.c: Likewise.
17978         * math/e_gammal_r.c: Likewise.
17979         * math/e_hypotl.c: Likewise.
17980         * math/e_j0l.c: Likewise.
17981         * math/e_j1l.c: Likewise.
17982         * math/e_jnl.c: Likewise.
17983         * math/e_lgammal_r.c: Likewise.
17984         * math/e_log10l.c: Likewise.
17985         * math/e_log2l.c: Likewise.
17986         * math/e_logl.c: Likewise.
17987         * math/e_powl.c: Likewise.
17988         * math/e_rem_pio2l.c: Likewise.
17989         * math/e_sinhl.c: Likewise.
17990         * math/e_sqrtl.c: Likewise.
17991         * math/fclrexcpt.c: Likewise.
17992         * math/fedisblxcpt.c: Likewise.
17993         * math/feenablxcpt.c: Likewise.
17994         * math/fegetenv.c: Likewise.
17995         * math/fegetexcept.c: Likewise.
17996         * math/fegetround.c: Likewise.
17997         * math/feholdexcpt.c: Likewise.
17998         * math/fesetenv.c: Likewise.
17999         * math/fesetround.c: Likewise.
18000         * math/feupdateenv.c: Likewise.
18001         * math/fgetexcptflg.c: Likewise.
18002         * math/fraiseexcpt.c: Likewise.
18003         * math/fsetexcptflg.c: Likewise.
18004         * math/ftestexcept.c: Likewise.
18005         * math/k_cosl.c: Likewise.
18006         * math/k_rem_pio2l.c: Likewise.
18007         * math/k_sinl.c: Likewise.
18008         * math/k_tanl.c: Likewise.
18009         * math/s_asinhl.c: Likewise.
18010         * math/s_atanl.c: Likewise.
18011         * math/s_cbrtl.c: Likewise.
18012         * math/s_erfl.c: Likewise.
18013         * math/s_expm1l.c: Likewise.
18014         * math/s_log1pl.c: Likewise.
18015         * math/s_tanhl.c: Likewise.
18016         * misc/acct.c: Likewise.
18017         * misc/brk.c: Likewise.
18018         * misc/chflags.c: Likewise.
18019         * misc/chroot.c: Likewise.
18020         * misc/fchflags.c: Likewise.
18021         * misc/fgetxattr.c: Likewise.
18022         * misc/flistxattr.c: Likewise.
18023         * misc/fremovexattr.c: Likewise.
18024         * misc/fsetxattr.c: Likewise.
18025         * misc/fsync.c: Likewise.
18026         * misc/ftruncate.c: Likewise.
18027         * misc/futimes.c: Likewise.
18028         * misc/futimesat.c: Likewise.
18029         * misc/getdomain.c: Likewise.
18030         * misc/getdtsz.c: Likewise.
18031         * misc/gethostid.c: Likewise.
18032         * misc/gethostname.c: Likewise.
18033         * misc/getloadavg.c: Likewise.
18034         * misc/getpagesize.c: Likewise.
18035         * misc/getsysstats.c: Likewise.
18036         * misc/getxattr.c: Likewise.
18037         * misc/gtty.c: Likewise.
18038         * misc/ioctl.c: Likewise.
18039         * misc/lgetxattr.c: Likewise.
18040         * misc/listxattr.c: Likewise.
18041         * misc/llistxattr.c: Likewise.
18042         * misc/lremovexattr.c: Likewise.
18043         * misc/lsetxattr.c: Likewise.
18044         * misc/lutimes.c: Likewise.
18045         * misc/madvise.c: Likewise.
18046         * misc/mincore.c: Likewise.
18047         * misc/mlock.c: Likewise.
18048         * misc/mlockall.c: Likewise.
18049         * misc/mmap.c: Likewise.
18050         * misc/mprotect.c: Likewise.
18051         * misc/msync.c: Likewise.
18052         * misc/munlock.c: Likewise.
18053         * misc/munlockall.c: Likewise.
18054         * misc/munmap.c: Likewise.
18055         * misc/preadv.c: Likewise.
18056         * misc/preadv64.c: Likewise.
18057         * misc/ptrace.c: Likewise.
18058         * misc/pwritev.c: Likewise.
18059         * misc/pwritev64.c: Likewise.
18060         * misc/readv.c: Likewise.
18061         * misc/reboot.c: Likewise.
18062         * misc/remap_file_pages.c: Likewise.
18063         * misc/removexattr.c: Likewise.
18064         * misc/revoke.c: Likewise.
18065         * misc/select.c: Likewise.
18066         * misc/setdomain.c: Likewise.
18067         * misc/setegid.c: Likewise.
18068         * misc/seteuid.c: Likewise.
18069         * misc/sethostid.c: Likewise.
18070         * misc/sethostname.c: Likewise.
18071         * misc/setregid.c: Likewise.
18072         * misc/setreuid.c: Likewise.
18073         * misc/setxattr.c: Likewise.
18074         * misc/sstk.c: Likewise.
18075         * misc/stty.c: Likewise.
18076         * misc/swapoff.c: Likewise.
18077         * misc/swapon.c: Likewise.
18078         * misc/sync.c: Likewise.
18079         * misc/syncfs.c: Likewise.
18080         * misc/syscall.c: Likewise.
18081         * misc/truncate.c: Likewise.
18082         * misc/ualarm.c: Likewise.
18083         * misc/usleep.c: Likewise.
18084         * misc/ustat.c: Likewise.
18085         * misc/utimes.c: Likewise.
18086         * misc/vhangup.c: Likewise.
18087         * misc/writev.c: Likewise.
18088         * posix/_exit.c: Likewise.
18089         * posix/alarm.c: Likewise.
18090         * posix/execve.c: Likewise.
18091         * posix/fexecve.c: Likewise.
18092         * posix/fork.c: Likewise.
18093         * posix/fpathconf.c: Likewise.
18094         * posix/getaddrinfo.c: Likewise.
18095         * posix/getegid.c: Likewise.
18096         * posix/geteuid.c: Likewise.
18097         * posix/getgid.c: Likewise.
18098         * posix/getgroups.c: Likewise.
18099         * posix/getlogin.c: Likewise.
18100         * posix/getlogin_r.c: Likewise.
18101         * posix/getpgid.c: Likewise.
18102         * posix/getpid.c: Likewise.
18103         * posix/getppid.c: Likewise.
18104         * posix/getresgid.c: Likewise.
18105         * posix/getresuid.c: Likewise.
18106         * posix/getsid.c: Likewise.
18107         * posix/getuid.c: Likewise.
18108         * posix/glob64.c: Likewise.
18109         * posix/nanosleep.c: Likewise.
18110         * posix/pathconf.c: Likewise.
18111         * posix/pause.c: Likewise.
18112         * posix/posix_madvise.c: Likewise.
18113         * posix/pread.c: Likewise.
18114         * posix/pread64.c: Likewise.
18115         * posix/pwrite.c: Likewise.
18116         * posix/pwrite64.c: Likewise.
18117         * posix/sched_getaffinity.c: Likewise.
18118         * posix/sched_getp.c: Likewise.
18119         * posix/sched_gets.c: Likewise.
18120         * posix/sched_primax.c: Likewise.
18121         * posix/sched_primin.c: Likewise.
18122         * posix/sched_rr_gi.c: Likewise.
18123         * posix/sched_setaffinity.c: Likewise.
18124         * posix/sched_setp.c: Likewise.
18125         * posix/sched_sets.c: Likewise.
18126         * posix/sched_yield.c: Likewise.
18127         * posix/setgid.c: Likewise.
18128         * posix/setlogin.c: Likewise.
18129         * posix/setpgid.c: Likewise.
18130         * posix/setresgid.c: Likewise.
18131         * posix/setresuid.c: Likewise.
18132         * posix/setsid.c: Likewise.
18133         * posix/setuid.c: Likewise.
18134         * posix/sleep.c: Likewise.
18135         * posix/spawni.c: Likewise.
18136         * posix/sysconf.c: Likewise.
18137         * posix/times.c: Likewise.
18138         * posix/wait.c: Likewise.
18139         * posix/wait3.c: Likewise.
18140         * posix/wait4.c: Likewise.
18141         * posix/waitpid.c: Likewise.
18142         * resolv/gai_sigqueue.c: Likewise.
18143         * resource/getpriority.c: Likewise.
18144         * resource/getrlimit.c: Likewise.
18145         * resource/getrusage.c: Likewise.
18146         * resource/nice.c: Likewise.
18147         * resource/setpriority.c: Likewise.
18148         * resource/setrlimit.c: Likewise.
18149         * resource/ulimit.c: Likewise.
18150         * rt/aio_cancel.c: Likewise.
18151         * rt/aio_fsync.c: Likewise.
18152         * rt/aio_read.c: Likewise.
18153         * rt/aio_sigqueue.c: Likewise.
18154         * rt/aio_suspend.c: Likewise.
18155         * rt/aio_write.c: Likewise.
18156         * rt/clock_getres.c: Likewise.
18157         * rt/clock_gettime.c: Likewise.
18158         * rt/clock_nanosleep.c: Likewise.
18159         * rt/clock_settime.c: Likewise.
18160         * rt/lio_listio.c: Likewise.
18161         * rt/mq_close.c: Likewise.
18162         * rt/mq_getattr.c: Likewise.
18163         * rt/mq_notify.c: Likewise.
18164         * rt/mq_open.c: Likewise.
18165         * rt/mq_receive.c: Likewise.
18166         * rt/mq_send.c: Likewise.
18167         * rt/mq_setattr.c: Likewise.
18168         * rt/mq_timedreceive.c: Likewise.
18169         * rt/mq_timedsend.c: Likewise.
18170         * rt/mq_unlink.c: Likewise.
18171         * rt/shm_open.c: Likewise.
18172         * rt/shm_unlink.c: Likewise.
18173         * rt/timer_create.c: Likewise.
18174         * rt/timer_delete.c: Likewise.
18175         * rt/timer_getoverr.c: Likewise.
18176         * rt/timer_gettime.c: Likewise.
18177         * rt/timer_settime.c: Likewise.
18178         * setjmp/__longjmp.c: Likewise.
18179         * setjmp/setjmp.c: Likewise.
18180         * signal/kill.c: Likewise.
18181         * signal/killpg.c: Likewise.
18182         * signal/raise.c: Likewise.
18183         * signal/sigaction.c: Likewise.
18184         * signal/sigaltstack.c: Likewise.
18185         * signal/sigblock.c: Likewise.
18186         * signal/sigignore.c: Likewise.
18187         * signal/sigintr.c: Likewise.
18188         * signal/signal.c: Likewise.
18189         * signal/sigpause.c: Likewise.
18190         * signal/sigpending.c: Likewise.
18191         * signal/sigqueue.c: Likewise.
18192         * signal/sigreturn.c: Likewise.
18193         * signal/sigset.c: Likewise.
18194         * signal/sigsetmask.c: Likewise.
18195         * signal/sigstack.c: Likewise.
18196         * signal/sigsuspend.c: Likewise.
18197         * signal/sigtimedwait.c: Likewise.
18198         * signal/sigvec.c: Likewise.
18199         * signal/sigwait.c: Likewise.
18200         * signal/sigwaitinfo.c: Likewise.
18201         * signal/sysv_signal.c: Likewise.
18202         * socket/accept.c: Likewise.
18203         * socket/accept4.c: Likewise.
18204         * socket/bind.c: Likewise.
18205         * socket/connect.c: Likewise.
18206         * socket/getpeername.c: Likewise.
18207         * socket/getsockname.c: Likewise.
18208         * socket/getsockopt.c: Likewise.
18209         * socket/isfdtype.c: Likewise.
18210         * socket/listen.c: Likewise.
18211         * socket/recv.c: Likewise.
18212         * socket/recvfrom.c: Likewise.
18213         * socket/recvmsg.c: Likewise.
18214         * socket/send.c: Likewise.
18215         * socket/sendmsg.c: Likewise.
18216         * socket/sendto.c: Likewise.
18217         * socket/setsockopt.c: Likewise.
18218         * socket/shutdown.c: Likewise.
18219         * socket/sockatmark.c: Likewise.
18220         * socket/socket.c: Likewise.
18221         * socket/socketpair.c: Likewise.
18222         * stdio-common/ctermid.c: Likewise.
18223         * stdio-common/cuserid.c: Likewise.
18224         * stdio-common/remove.c: Likewise.
18225         * stdio-common/rename.c: Likewise.
18226         * stdio-common/renameat.c: Likewise.
18227         * stdio-common/tempname.c: Likewise.
18228         * stdlib/getcontext.c: Likewise.
18229         * stdlib/makecontext.c: Likewise.
18230         * stdlib/setcontext.c: Likewise.
18231         * stdlib/swapcontext.c: Likewise.
18232         * stdlib/system.c: Likewise.
18233         * streams/fattach.c: Likewise.
18234         * streams/fdetach.c: Likewise.
18235         * streams/getmsg.c: Likewise.
18236         * streams/getpmsg.c: Likewise.
18237         * streams/putmsg.c: Likewise.
18238         * streams/putpmsg.c: Likewise.
18239         * sysdeps/unix/bsd/getpt.c: Likewise.
18240         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
18241         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
18242         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
18243         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
18244         Likewise.
18245         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
18246         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
18247         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
18248         * sysvipc/msgctl.c: Likewise.
18249         * sysvipc/msgget.c: Likewise.
18250         * sysvipc/msgrcv.c: Likewise.
18251         * sysvipc/msgsnd.c: Likewise.
18252         * sysvipc/semctl.c: Likewise.
18253         * sysvipc/semget.c: Likewise.
18254         * sysvipc/semop.c: Likewise.
18255         * sysvipc/semtimedop.c: Likewise.
18256         * sysvipc/shmat.c: Likewise.
18257         * sysvipc/shmctl.c: Likewise.
18258         * sysvipc/shmdt.c: Likewise.
18259         * sysvipc/shmget.c: Likewise.
18260         * termios/tcdrain.c: Likewise.
18261         * termios/tcflow.c: Likewise.
18262         * termios/tcflush.c: Likewise.
18263         * termios/tcgetattr.c: Likewise.
18264         * termios/tcgetpgrp.c: Likewise.
18265         * termios/tcsendbrk.c: Likewise.
18266         * termios/tcsetattr.c: Likewise.
18267         * termios/tcsetpgrp.c: Likewise.
18268         * time/adjtime.c: Likewise.
18269         * time/clock.c: Likewise.
18270         * time/getitimer.c: Likewise.
18271         * time/gettimeofday.c: Likewise.
18272         * time/setitimer.c: Likewise.
18273         * time/settimeofday.c: Likewise.
18274         * time/stime.c: Likewise.
18275         * time/time.c: Likewise.
18276
18277 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
18278
18279         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
18280         /usr/old/bin.
18281
18282         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
18283         instead of spaces.
18284         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
18285
18286 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
18287
18288         [BZ #14796]
18289         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
18290         FE_TONEAREST before applying Dekker multiplication and Knuth
18291         addition.  Clear inexact exceptions and check for exact zero
18292         results afterwards.
18293         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
18294         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
18295         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
18296         * math/libm-test.inc (fma_test): Add more tests.
18297         (fma_test_towardzero): Likewise.
18298         (fma_test_downward): Likewise.
18299         (fma_test_upward): Likewise.
18300         * sysdeps/generic/math_private.h (default_libc_fesetround): New
18301         function.
18302         (libc_fesetround): New macro.
18303         (libc_fesetroundf): Likewise.
18304         (libc_fesetroundl): Likewise.
18305         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
18306         function.
18307         (libc_fesetround_387): Likewise.
18308         (libc_fesetroundf): New macro.
18309         (libc_fesetround): Likewise.
18310         (libc_fesetroundl): Likewise.
18311         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
18312         function.
18313         (libc_fesetroundf): New macro.
18314         (libc_fesetround): Likewise.
18315         (libc_fesetroundl): Likewise.
18316         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
18317         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
18318         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
18319         libm_hidden_ver.
18320         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
18321         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
18322         libm_hidden_def.
18323         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
18324         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
18325         libm_hidden_ver.
18326         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
18327         libm_hidden_def.
18328
18329         [BZ #3439]
18330         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
18331         integer constant usable in #if and use that to give value to enum
18332         constant.
18333         (FE_DIVBYZERO): Likewise.
18334         (FE_UNDERFLOW): Likewise.
18335         (FE_OVERFLOW): Likewise.
18336         (FE_INVALID): Likewise.
18337         (FE_INVALID_SNAN): Likewise.
18338         (FE_INVALID_ISI): Likewise.
18339         (FE_INVALID_IDI): Likewise.
18340         (FE_INVALID_ZDZ): Likewise.
18341         (FE_INVALID_IMZ): Likewise.
18342         (FE_INVALID_COMPARE): Likewise.
18343         (FE_INVALID_SOFTWARE): Likewise.
18344         (FE_INVALID_SQRT): Likewise.
18345         (FE_INVALID_INTEGER_CONVERSION): Likewise.
18346         (FE_TONEAREST): Likewise.
18347         (FE_TOWARDZERO): Likewise.
18348         (FE_UPWARD): Likewise.
18349         (FE_DOWNWARD): Likewise.
18350         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
18351         (FE_DIVBYZERO): Likewise.
18352         (FE_OVERFLOW): Likewise.
18353         (FE_UNDERFLOW): Likewise.
18354         (FE_INEXACT): Likewise.
18355         (FE_TONEAREST): Likewise.
18356         (FE_DOWNWARD): Likewise.
18357         (FE_UPWARD): Likewise.
18358         (FE_TOWARDZERO): Likewise.
18359         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
18360         (FE_UNDERFLOW): Likewise.
18361         (FE_OVERFLOW): Likewise.
18362         (FE_DIVBYZERO): Likewise.
18363         (FE_INVALID): Likewise.
18364         (FE_TONEAREST): Likewise.
18365         (FE_TOWARDZERO): Likewise.
18366         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
18367         (FE_OVERFLOW): Likewise.
18368         (FE_UNDERFLOW): Likewise.
18369         (FE_DIVBYZERO): Likewise.
18370         (FE_INEXACT): Likewise.
18371         (FE_TONEAREST): Likewise.
18372         (FE_TOWARDZERO): Likewise.
18373         (FE_UPWARD): Likewise.
18374         (FE_DOWNWARD): Likewise.
18375         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
18376         (FE_DIVBYZERO): Likewise.
18377         (FE_OVERFLOW): Likewise.
18378         (FE_UNDERFLOW): Likewise.
18379         (FE_INEXACT): Likewise.
18380         (FE_TONEAREST): Likewise.
18381         (FE_DOWNWARD): Likewise.
18382         (FE_UPWARD): Likewise.
18383         (FE_TOWARDZERO): Likewise.
18384
18385 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
18386
18387         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
18388
18389 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
18390
18391         * scripts/cross-test-ssh.sh (command): Use newlines to separate
18392         commands.  Quote $PWD.
18393         (blacklist_exports): Don't use remove_newlines.  Replace "declare
18394         -x" by "export".
18395         (remove_newlines): Remove.
18396
18397 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
18398
18399         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
18400         * stdlib/stdlib.h (atof): Moved to ...
18401         * include/bits/stdlib-float.h: Here.  New file.
18402         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
18403         * stdlib/bits/stdlib-float.h: New file.
18404         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
18405         -mno-sse -mno-mmx.
18406         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
18407         <xmmintrin.h>.
18408
18409 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
18410
18411         * conform/conformtest.pl (@headers): Add fenv.h.
18412         * conform/data/fenv.h-data: New file.
18413         * include/fenv.h [_ISOMAC]: Disable all contents of file except
18414         include of <math/fenv.h>.
18415
18416         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
18417         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
18418         && !UNIX98].  Enables tests for XOPEN2K8.
18419         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
18420         POSIX2008]: Likewise.
18421
18422         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
18423         (struct rusage): Do not expect type or its members.
18424
18425         [BZ #3439]
18426         * math/math.h (FP_NAN): Define macro to integer constant usable in
18427         #if and use that to give value to enum constant.
18428         (FP_INFINITE): Likewise.
18429         (FP_ZERO): Likewise.
18430         (FP_SUBNORMAL): Likewise.
18431         (FP_NORMAL): Likewise.
18432
18433 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
18434
18435         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
18436         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
18437         arguments.
18438
18439 2012-11-02  Roland McGrath  <roland@hack.frob.com>
18440
18441         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
18442         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
18443         autoconf-time if not.
18444         * configure.in: Remove AC_PREREQ.
18445
18446 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
18447
18448         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
18449         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
18450         of the internal implementation.
18451
18452 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
18453
18454         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
18455         except include of <misc/sys/syslog.h>.
18456
18457 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
18458
18459         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
18460         function returns with a NULL context exit with zero.
18461
18462 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
18463
18464         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
18465
18466 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
18467
18468         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
18469         (run_program_cmd): This.
18470         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
18471         (tst_langinfo): New variable.  Use it.
18472
18473 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
18474
18475         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
18476         floating point opcodes.
18477
18478 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
18479
18480         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
18481         variable.
18482
18483         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
18484
18485         * sysdeps/mach/hurd/powerpc: Remove directory.
18486         * sysdeps/mach/powerpc: Likewise.
18487
18488 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
18489
18490         * scripts/check-local-headers.sh: Ignore c++ headers.
18491
18492 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
18493
18494         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
18495         __libc_cleanup_region_start argument.
18496
18497 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
18498
18499         [BZ #14784]
18500         [BZ #14785]
18501         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
18502         x * y using scaling, not as x * y + z.
18503         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
18504         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
18505         * math/libm-test.inc (fma_test): Add more tests.
18506         (fma_test_towardzero): Likewise.
18507         (fma_test_downward): Likewise.
18508         (fma_test_upward): Likewise.
18509
18510 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
18511
18512         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
18513
18514 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
18515
18516         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
18517         New variable.
18518
18519 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
18520
18521         * rt/tst-shm.c (worker): Correct checking for mmap failure.
18522
18523 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
18524
18525         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
18526         Fix sort order.
18527         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
18528         Likewise.
18529
18530 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
18531
18532         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
18533         Fix the order of the list for glibc 2.17.
18534         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
18535         Likewise.
18536
18537 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
18538
18539         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18540
18541 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
18542
18543         [BZ #14610]
18544         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
18545         for low part of x being zero before using __atanl (y).
18546         * math/libm-test.inc (atan2_test): Add another test.
18547
18548         * manual/install.texi (Configuring and compiling): Document
18549         general use of test-wrapper and test-wrapper-env.
18550         * INSTALL: Regenerated.
18551
18552         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
18553         (__fma): Do not extract and scale down low bits on after-rounding
18554         systems when result rounded to normal precision would have normal
18555         exponent.
18556         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
18557         (__fmal): Do not extract and scale down low bits on after-rounding
18558         systems when result rounded to normal precision would have normal
18559         exponent.
18560         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
18561         (__fmal): Do not extract and scale down low bits on after-rounding
18562         systems when result rounded to normal precision would have normal
18563         exponent.
18564         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
18565         macro.
18566         (fma_test): Add more tests.
18567         (fma_test_towardzero): Likewise.
18568         (fma_test_downward): Likewise.
18569         (fma_test_upward): Likewise.
18570
18571 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
18572
18573         * sysdeps/i386/tininess.h: Renamed to ...
18574         * sysdeps/x86/tininess.h: This.
18575         * sysdeps/x86_64/tininess.h: Removed.
18576
18577 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
18578
18579         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
18580         input.  Use $(build-program-cmd).
18581         ($(objpfx)tst-array1-static.out): Likewise.
18582         ($(objpfx)tst-array2.out): Likewise.
18583         ($(objpfx)tst-array3.out): Likewise.
18584         ($(objpfx)tst-array4.out): Likewise.
18585         ($(objpfx)tst-array5.out): Likewise.
18586         ($(objpfx)tst-array5-static.out): Likewise.
18587
18588 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
18589
18590         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
18591         if defined.
18592
18593         * nss/nsswitch.h (nss_interface_function): Provide new
18594         macro for use with NSS functions.
18595         * grp/initgroups.c: Use new macro.
18596         * nss/getXXbyYY.c: Likewise.
18597         * nss/getXXbyYY_r.c: Likewise.
18598         * nss/getXXent.c: Likewise.
18599         * nss/getXXent_r.c: Likewise.
18600         * sysdeps/posix/getaddrinfo.c: Likewise.
18601
18602 2012-10-30  Andreas Jaeger  <aj@suse.de>
18603
18604         * po/ru.po: Update Russion translation from translation project.
18605
18606 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
18607
18608         [BZ #14152]
18609         [BZ #14783]
18610         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
18611         result and shift together with sticky bit instead of replicating
18612         round-to-nearest rounding.
18613         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
18614         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
18615         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
18616         missing underflow exceptions.
18617         (fma_test_towardzero): Add more tests.
18618         (fma_test_downward): Likewise.
18619         (fma_test_upward): Likewise.
18620
18621         [BZ #14047]
18622         * sysdeps/generic/tininess.h: New file.
18623         * sysdeps/i386/tininess.h: Likewise.
18624         * sysdeps/sh/tininess.h: Likewise.
18625         * sysdeps/x86_64/tininess.h: Likewise.
18626         * stdlib/tst-strtod-underflow.c: Likewise.
18627         * stdlib/tst-tininess.c: Likewise.
18628         * stdlib/strtod_l.c: Include <tininess.h>.
18629         (round_and_return): Do not set errno for exact underflow cases.
18630         Force an underflow exception when setting errno for underflow.
18631         Determine underflow based on rounding to normal precision if
18632         TININESS_AFTER_ROUNDING.
18633         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
18634         ERANGE for exact underflow cases.
18635         * stdlib/Makefile (tests): Add tst-tininess and
18636         tst-strtod-underflow.
18637         ($(objpfx)tst-tininess): Use $(link-libm).
18638         ($(objpfx)tst-strtod-underflow): Likewise.
18639
18640 2012-10-30  Andreas Jaeger  <aj@suse.de>
18641
18642         [BZ#14767]
18643         * elf/Makefile (tests): Remove conditional for have-initfini-array
18644         since this is now always required and the variable does not exist
18645         anymore.
18646         (tests-static): Likewise.
18647         (modules-names): Likewise.
18648
18649         * po/eo.po: Add Esperanto translation from translation project.
18650
18651         * elf/tst-array1.c (fini_array): Make writeable so that it can be
18652         merged with constructor/destructor.
18653         (init_array): Likewise.
18654         * elf/tst-array2dep.c (fini_array): Likewise.
18655         (init_array): Likewise.
18656
18657 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
18658
18659         * manual/message.texi: Delete @cartouche tags.
18660
18661 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
18662
18663         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
18664         EOPNOTSUPP.
18665         * sysdeps/mach/hurd/fsync.c: Likewise.
18666
18667         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
18668         [_POSIX_REALTIME_SIGNALS]: Change condition to
18669         [_POSIX_REALTIME_SIGNALS > 0].
18670
18671 2012-10-27  Andreas Jaeger  <aj@suse.de>
18672
18673         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
18674         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
18675         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
18676         [__WORDSIZE != 64]: Likewise.
18677
18678 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
18679
18680         *  iconvdata/tst-table.sh: Remove ${SHELL}.
18681         *  iconvdata/tst-tables.sh: Likewise.
18682
18683 2012-10-25  David S. Miller  <davem@davemloft.net>
18684
18685         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
18686         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
18687         of strtoull.
18688
18689         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
18690         ifunc-impl-list.c
18691         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
18692         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
18693         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
18694         file.
18695
18696 2012-10-25  Roland McGrath  <roland@hack.frob.com>
18697
18698         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
18699         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
18700         __getdirentries.
18701
18702 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
18703             Jim Blandy  <jimb@codesourcery.com>
18704
18705         * scripts/cross-test-ssh.sh: New file.
18706         * manual/install.texi (Configuring and compiling): Document use of
18707         cross-test-ssh.sh.
18708         * INSTALL: Regenerated.
18709
18710 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
18711
18712         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
18713         EOPNOTSUPP.
18714
18715 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
18716
18717         * Makeconfig (run-program-prefix): Fix comment.
18718
18719 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
18720             Jim Blandy  <jimb@codesourcery.com>
18721
18722         * Makeconfig (test-wrapper): New variable,
18723         (test-wrapper-env): Likewise.
18724         [$(cross-compiling) = yes && $(test-wrapper) != ""]
18725         (run-built-tests): Define to yes.
18726         (run-program-prefix): Use $(test-wrapper).
18727         (built-program-cmd): Likewise.
18728         * Rules (make-test-out): Use $(test-wrapper-env) and
18729         $(host-built-program-cmd).
18730         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
18731         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
18732         tst-pathopt.sh.
18733         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
18734         $(test-wrapper-env) to tst-rtld-load-self.sh.
18735         ($(objpfx)order2.out): Use $(test-wrapper).
18736         ($(objpfx)tst-initorder.out): Likewise.
18737         ($(objpfx)tst-initorder2.out): Likewise.
18738         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
18739         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
18740         (test_wrapper_env): New variable.  Use it to run ld.so.
18741         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
18742         Use it to run ld.so.
18743         (test_wrapper_env): Likewise.
18744         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
18745         $(test-wrapper) to run-iconv-test.sh.
18746         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
18747         (ICONV): Use $test_wrapper.
18748         * posix/Makefile ($(objpfx)globtest.out): Pass
18749         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
18750         globtest.sh, not $(run-program-prefix).
18751         * posix/globtest.sh (run_via_rtld_prefix): New variable.
18752         (test_wrapper): Likewise.
18753         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
18754         set together with run_via_rtld_prefix.
18755         (run_program_prefix): Define in terms of test_wrapper and
18756         run_via_rtld_prefix.
18757
18758 2012-10-24  Roland McGrath  <roland@hack.frob.com>
18759
18760         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
18761         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
18762         Targets removed.
18763
18764         [BZ #14743]
18765         * include/time.h: Remove librt_hidden_proto (clock_gettime).
18766         Declare __clock_getres, __clock_gettime, __clock_settime,
18767         __clock_nanosleep, and __clock_getcpuclockid.
18768         * rt/clock_gettime.c: Define __clock_gettime as an alias.
18769         Remove librt_hidden_def (clock_gettime).
18770         * sysdeps/unix/clock_gettime.c: Likewise.
18771         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
18772         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
18773         * rt/clock_getres.c: Define __clock_getres as an alias.
18774         * sysdeps/posix/clock_getres.c: Likewise.
18775         * rt/clock_settime.c: Define __clock_settime as an alias.
18776         * sysdeps/unix/clock_settime.c: Likewise.
18777         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
18778         * sysdeps/unix/clock_nanosleep.c: Likewise.
18779         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
18780         * rt/clock-compat.c: New file.
18781         * rt/Makefile (librt-routines): Add clock-compat and move
18782         $(clock-routines) to ...
18783         (routines): ... here, new variable.
18784         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
18785         Don't add get_clockfreq here.
18786         * rt/Versions (libc: GLIBC_2.17): New version set.
18787         Add clock_* symbols here.
18788         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
18789         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
18790         (GLIBC_2.17): Add clock_* symbols.
18791         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
18792         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
18793         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
18794         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
18795         Likewise.
18796         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
18797         Likewise.
18798         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
18799         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
18800         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
18801         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
18802         * NEWS: Mention the move.
18803
18804         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
18805         Use __open, __read, __close rather than their public counterparts.
18806         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
18807         (__get_clockfreq_via_cpuinfo): Likewise.
18808         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
18809         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
18810
18811         * config.h.in (HAVE_IFUNC): New #undef.
18812         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
18813         was successful.
18814         * configure: Regenerated.
18815
18816 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
18817
18818         * configure.in: Move READELF check to start of file.
18819         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
18820         libc_cv_asm_gnu_indirect_function in the process.
18821         * configure: Regenerated.
18822
18823 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
18824
18825         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
18826         send the output to /dev/null.
18827         (libc_cv_cc_with_libunwind): Likewise.
18828         (libc_cv_as_noexecstack): Likewise.
18829         * configure: Regenerate.
18830
18831 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
18832
18833         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
18834
18835         * posix/globtest.sh (TMPDIR): Do not set.
18836         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
18837         (testout): Likewise.
18838
18839 2012-10-24  Andreas Jaeger  <aj@suse.de>
18840
18841         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
18842         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
18843         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
18844         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
18845         posix_fadvise64, posix_fallocate64.
18846
18847         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
18848         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
18849         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
18850         Likewise.
18851         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
18852         Likewise.
18853         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
18854
18855         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
18856         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
18857         <bits/fcntl-linux.h>.
18858         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
18859
18860         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
18861         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
18862         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
18863         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
18864         [__WORDSIZE != 64]: Likewise.
18865
18866 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
18867
18868         * Makeconfig (run-built-tests): New variable.
18869         * Rules [$(cross-compiling) = yes]: Change condition to
18870         [$(run-built-tests) = no].
18871         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
18872         to [$(run-built-tests) = yes].
18873         * elf/Makefile [$(cross-compiling) = no]: Likewise
18874         * grp/Makefile [$(cross-compiling) = no]: Likewise.
18875         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
18876         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
18877         * intl/Makefile [$(cross-compiling) = no]: Likewise.
18878         * io/Makefile [$(cross-compiling) = no]: Likewise.
18879         * libio/Makefile [$(cross-compiling) = no]: Likewise.
18880         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
18881         * misc/Makefile [$(cross-compiling) = no]: Likewise.
18882         * posix/Makefile [$(cross-compiling) = no]: Likewise.
18883         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
18884         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
18885         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
18886         * string/Makefile [$(cross-compiling) = no]: Likewise.
18887
18888         * posix/Makefile ($(objpfx)globtest.out): Pass
18889         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
18890         $(rtld-installed-name).
18891         * posix/globtest.sh (elf_objpfx): Remove variable.
18892         (rtld_installed_name): Likewise.
18893         (library_path): Likewise.
18894         (run_program_prefix): New variable.  Use for running globtest
18895         binary.
18896
18897 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
18898             Joseph Myers  <joseph@codesourcery.com>
18899
18900         * Makeconfig (host-built-program-cmd): New variable.
18901         * elf/Makefile (tst-stackguard1-ARGS): Use
18902         $(host-built-program-cmd).
18903         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
18904         (tst-spawn-ARGS): Likewise.
18905         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
18906
18907 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
18908             Jim Blandy  <jimb@codesourcery.com>
18909
18910         * Makeconfig (run-via-rtld-prefix): New variable.
18911         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
18912         (built-program-cmd): Likewise.
18913
18914 2012-10-22  Andreas Jaeger  <aj@suse.de>
18915
18916         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
18917         __O_RSYNC if it exists, otherwise to O_SYNC.
18918
18919 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
18920             Joseph Myers  <joseph@codesourcery.com>
18921
18922         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
18923         /dev/null.
18924         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
18925         from /dev/null
18926         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
18927         /dev/null.
18928
18929 2012-10-22  Andreas Jaeger  <aj@suse.de>
18930
18931         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
18932         Define always.
18933         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
18934
18935         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
18936         bits/fcntl-linux.h.
18937
18938         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
18939         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
18940
18941         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
18942         to __O_LARGEFILE.
18943         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
18944         to __O_LARGEFILE.
18945
18946 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
18947             Joseph Myers  <joseph@codesourcery.com>
18948
18949         * config.make.in (NM): New variable.
18950
18951 2012-10-21  Andreas Jaeger  <aj@suse.de>
18952
18953         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
18954         definitions and declarations that are provided by
18955         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
18956
18957 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
18958
18959         [BZ #14683]
18960         * elf/Makefile (tests-static): Add tst-leaks1-static.
18961         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
18962         ($(objpfx)tst-leaks1-static): New rule.
18963         ($(objpfx)tst-leaks1-static-mem): Likewise.
18964         (tst-leaks1-static-ENV): New macro.
18965         * elf/dl-open.c (dl_open_worker): Check the main application
18966         only if SHARED is defined.
18967         * elf/tst-leaks1-static.c: New file.
18968
18969 2012-10-20  Andreas Jaeger  <aj@suse.de>
18970
18971         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
18972         generic values for Linux.
18973         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
18974         and declarations that are provided by <bits/fcntl-linux.h> and
18975         include <bits/fcntl-linux.h>.
18976         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
18977         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
18978
18979 2012-10-20  Roland McGrath  <roland@hack.frob.com>
18980
18981         * io/fcntl.h: Move include of <bits/types.h> to the top and
18982         include it unconditionally.
18983
18984 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
18985
18986         * wcsmbs/Makefile (tests-ifunc): New variable.
18987         (tests): Add $(tests-ifunc).
18988         * wcsmbs/test-wcschr-ifunc.c: New file.
18989         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
18990         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
18991         * wcsmbs/test-wcslen-ifunc.c: Likewise.
18992         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
18993         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
18994
18995         * string/Makefile (tests-ifunc): New variable.
18996         (tests): Add $(tests-ifunc).
18997         * string/test-memccpy.c (TEST_NAME): New macro.
18998         * string/test-memchr.c (TEST_NAME): Likewise.
18999         * string/test-memcmp.c (TEST_NAME): Likewise.
19000         * string/test-memcpy.c (TEST_NAME): Likewise.
19001         * string/test-memmem.c (TEST_NAME): Likewise.
19002         * string/test-memmove.c (TEST_NAME): Likewise.
19003         * string/test-memset.c (TEST_NAME): Likewise.
19004         * string/test-rawmemchr.c (TEST_NAME): Likewise.
19005         * string/test-stpcpy.c (TEST_NAME): Likewise.
19006         * string/test-stpncpy.c (TEST_NAME): Likewise.
19007         * string/test-strcasecmp.c (TEST_NAME): Likewise.
19008         * string/test-strcasestr.c (TEST_NAME): Likewise.
19009         * string/test-strcat.c (TEST_NAME): Likewise.
19010         * string/test-strchr.c (TEST_NAME): Likewise.
19011         * string/test-strcmp.c(TEST_NAME): Likewise.
19012         * string/test-strcpy.c (TEST_NAME): Likewise.
19013         * string/test-strcspn.c (TEST_NAME): Likewise.
19014         * string/test-strlen.c (TEST_NAME): Likewise.
19015         * string/test-strncasecmp.c (TEST_NAME): Likewise.
19016         * string/test-strncmp.c (TEST_NAME): Likewise.
19017         * string/test-strncpy.c (TEST_NAME): Likewise.
19018         * string/test-strnlen.c (TEST_NAME): Likewise.
19019         * string/test-strpbrk.c (TEST_NAME): Likewise.
19020         * string/test-strrchr.c (TEST_NAME): Likewise.
19021         * string/test-strspn.c (TEST_NAME): Likewise.
19022         * string/test-strstr.c (TEST_NAME): Likewise.
19023         * string/test-bcopy-ifunc.c: New file.
19024         * string/test-bzero-ifunc.c: Likewise.
19025         * string/test-memccpy-ifunc.c: Likewise.
19026         * string/test-memchr-ifunc.c: Likewise.
19027         * string/test-memcmp-ifunc.c: Likewise.
19028         * string/test-memcpy-ifunc.c: Likewise.
19029         * string/test-memmem-ifunc.c: Likewise.
19030         * string/test-memmove-ifunc.c: Likewise.
19031         * string/test-mempcpy-ifunc.c: Likewise.
19032         * string/test-memset-ifunc.c: Likewise.
19033         * string/test-rawmemchr-ifunc.c: Likewise.
19034         * string/test-stpcpy-ifunc.c: Likewise.
19035         * string/test-stpncpy-ifunc.c: Likewise.
19036         * string/test-strcasecmp-ifunc.c: Likewise.
19037         * string/test-strcasestr-ifunc.c: Likewise.
19038         * string/test-strcat-ifunc.c: Likewise.
19039         * string/test-strchr-ifunc.c: Likewise.
19040         * string/test-strchrnul-ifunc.c: Likewise.
19041         * string/test-strcmp-ifunc.c: Likewise.
19042         * string/test-strcpy-ifunc.c: Likewise.
19043         * string/test-strcspn-ifunc.c: Likewise.
19044         * string/test-strlen-ifunc.c: Likewise.
19045         * string/test-strncasecmp-ifunc.c: Likewise.
19046         * string/test-strncat-ifunc.c: Likewise.
19047         * string/test-strncmp-ifunc.c: Likewise.
19048         * string/test-strncpy-ifunc.c: Likewise.
19049         * string/test-strnlen-ifunc.c: Likewise.
19050         * string/test-strpbrk-ifunc.c: Likewise.
19051         * string/test-strrchr-ifunc.c: Likewise.
19052         * string/test-strspn-ifunc.c: Likewise.
19053         * string/test-strstr-ifunc.c: Likewise.
19054
19055         * debug/Makefile (tests-ifunc): New variable.
19056         (tests): Add $(tests-ifunc).
19057         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
19058         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
19059         * debug/test-stpcpy_chk-ifunc.c: New file.
19060         * debug/test-strcpy_chk-ifunc.c: Likewise.
19061
19062 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
19063
19064         [BZ #13601]
19065         * elf/dl-load.c (open_verify): Retry read if the entire ELF
19066         header is not read in.
19067
19068 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
19069
19070         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
19071         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
19072         directly.  Pass built executable to script as
19073         $(built-program-cmd).
19074         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
19075         $testprogram without using LD_LIBRARY_PATH and $ldso.
19076
19077         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
19078         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
19079         $(rtld-installed-name).
19080         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
19081         (rtld_installed_name): Likewise.
19082         (library_path): Likewise.
19083         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
19084         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
19085         $(run-program-prefix) to tst-tables.sh.
19086         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
19087         it to run tst-table-from and tst-table-to.
19088         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
19089         Pass it to tst-table.sh.
19090         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
19091         $(run-program-prefix) to tst-gettext.sh.
19092         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
19093         tst-translit.sh.
19094         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
19095         tst-gettext2.sh.
19096         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
19097         to run tst-gettext.
19098         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
19099         to run tst-gettext2.
19100         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
19101         to run tst-translit.
19102         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
19103         $(run-program-prefix) to tst-mtrace.sh.
19104         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
19105         to run tst-mtrace.
19106         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
19107         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
19108         $(rtld-installed-name).
19109         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
19110         (rtld_installed_name): Likewise.
19111         (run_program_prefix): New variable.  Use it to run wordexp-test.
19112
19113         * Makeconfig (ARCH): Remove all definitions.
19114         (machine): Likewise.
19115         [ARCH]: Remove conditional code.
19116         [!objdir]: Give error.
19117         [!objdir] (objpfx): Remove.
19118         [!objdir] (common-objpfx): Likewise.
19119         [!objdir] (common-objdir): Likewise.
19120         * configure.in (config_makefile): Remove.  Hardcode Makefile in
19121         AC_CONFIG_FILES call.
19122         * configure: Regenerated.
19123
19124         [BZ #13888]
19125         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
19126         or TMPDIR.
19127         (testout): Likewise.
19128
19129         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
19130         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
19131         $(rtld-installed-name).
19132         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
19133         (rtld_installed_name): Likwise.
19134         (runit): Remove function.
19135         (run_getconf): New variable,  Use it for running getconf binary.
19136
19137 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
19138
19139         [BZ #14716]
19140         * string/test-memmem.c (check_result): New function.
19141         (do_one_test): Use it.
19142         (check1): New function.
19143         (test_main): Use it.
19144
19145 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
19146
19147         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
19148
19149 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
19150
19151         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
19152         (_G_LSEEK64): Likewise.
19153         (_G_MMAP64): Likewise.
19154         (_G_FSTAT64): Likewise.
19155         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
19156         (_G_LSEEK64): Likewise.
19157         (_G_MMAP64): Likewise.
19158         (_G_FSTAT64): Likewise.
19159         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
19160         unconditional.  Call __mmap64 directly.
19161         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
19162         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
19163         __lseek64 directly.
19164         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
19165         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
19166         __mmap64 directly.
19167         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
19168         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
19169         __lseek64 directly.
19170         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
19171         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
19172         __lseek64 directly.
19173         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
19174         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
19175         __lseek64 directly.
19176         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
19177         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
19178         __fxstat64 directly.
19179         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
19180         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
19181         unconditional.
19182         (freopen64) [!_G_OPEN64]: Remove conditional code.
19183         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
19184         unconditional.
19185         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
19186         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
19187         unconditional.
19188         (ftello64) [!_G_LSEEK64]: Remove conditional code.
19189         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
19190         unconditional.
19191         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
19192         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
19193         unconditional.
19194         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
19195         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
19196         unconditional.
19197         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
19198         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
19199         unconditional.
19200         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
19201         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
19202         unconditional.
19203         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
19204
19205 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
19206
19207         [BZ #12140]
19208         * manual/memory.texi (Malloc Tunable Parameters): Add note
19209         about free list pointers overwriting some perturb bytes.
19210         Wording suggested by Roland McGrath.
19211
19212 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
19213
19214         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
19215         (lgamma_test): Likewise.
19216         (tgamma_test): Likewise.
19217
19218 2012-10-16  Florian Weimer  <fweimer@redhat.com>
19219
19220         [BZ #14700]
19221         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
19222         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
19223
19224 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
19225
19226         * NEWS: Mention BZ #14716.
19227         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
19228         when removing AVAILABLE1_USES_J macro.
19229
19230 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
19231
19232         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
19233         (__bswap_64): __uint64_t for unsigned 64-bit int.
19234
19235 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
19236
19237         * include/string.h (memmem): Declare libc hidden alias.
19238         * string/memmem.c (memmem): Define libc hidden alias.
19239         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
19240         __read, __close instead of open, read, close.
19241
19242 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
19243
19244         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
19245         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
19246         global and hidden.
19247         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
19248         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
19249         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
19250         Likewise.
19251         (__rawmemchr_sse2): Likewise.
19252         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
19253         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
19254         (__strchr_sse2): Likewise.
19255         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
19256         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
19257         (__strcasecmp_sse2): Likewise.
19258         (__strncasecmp_sse2): Likewise.
19259         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
19260         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
19261         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
19262         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
19263         (__strrchr_sse2): Likewise.
19264         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
19265         ifunc-impl-list.c.
19266         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
19267         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
19268         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
19269         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
19270         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
19271         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
19272         * sysdeps/x86_64/multiarch/memset.S: Likewise.
19273         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
19274         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
19275         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
19276         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
19277         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
19278         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
19279         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
19280         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
19281         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
19282         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
19283         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
19284         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
19285         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
19286         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
19287         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
19288         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
19289         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
19290         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
19291         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
19292         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
19293         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
19294         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
19295         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
19296
19297         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
19298         global and hidden.
19299         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
19300         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
19301         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
19302         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
19303         Likewise.
19304         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
19305         Likewise.
19306         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
19307         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
19308         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
19309         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
19310         ifunc-impl-list.c.
19311         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
19312         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
19313         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
19314         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
19315         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
19316         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
19317         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
19318         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
19319         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
19320         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
19321         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
19322         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
19323         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
19324         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
19325         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
19326         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
19327         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
19328         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
19329         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
19330         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
19331         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
19332         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
19333         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
19334         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
19335         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
19336         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
19337         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
19338         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
19339         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
19340         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
19341         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
19342         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
19343         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
19344         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
19345         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
19346         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
19347         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
19348         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
19349         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
19350         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
19351         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
19352
19353         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
19354         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
19355         * include/ifunc-impl-list.h: New file.
19356         * misc/ifunc-impl-list.c: Likewise.
19357         * misc/Makefile (routines): Add ifunc-impl-list.
19358         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
19359         * string/test-string.h: Include <ifunc-impl-list.h>.
19360         [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
19361         impl_array): New variables.
19362         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
19363         are defined.
19364         (test_init): Call __libc_ifunc_impl_list to initialize
19365         func_list if TEST_IFUNC and TEST_NAME are defined.
19366
19367         * string/Makefile (strop-tests): Add bcopy and bzero.
19368         * string/test-bcopy.c: New file.
19369         * string/test-bzero.c: Likewise.
19370         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
19371         defined.
19372         * string/test-memset.c: Support bzero test if TEST_BZERO is
19373         defined.
19374         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
19375         __libc_memmove.
19376         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
19377         __libc_memset.
19378         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
19379         of memset.
19380
19381 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
19382
19383         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
19384         * configure: Regenerated.
19385
19386         * Makeconfig (+link-static-before-libc): Don't include
19387         $(link-static-libc).
19388
19389         * libio/libio.h (_IO_pos_t): Remove.
19390
19391 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
19392
19393         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
19394         McGrath.
19395
19396 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
19397
19398         * crypt/crypt-entry.c: Include fips-private.h.
19399         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
19400         * crypt/md5c-test.c (main): Tolerate disabled MD5.
19401         * sysdeps/unix/sysv/linux/fips-private.h: New file.
19402         * sysdeps/generic/fips-private.h: New file, dummy fallback.
19403
19404 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
19405
19406         * crypt/crypt-private.h: Include stdbool.h.
19407         (_ufc_setup_salt_r): Return bool.
19408         * crypt/crypt-entry.c: Include errno.h.
19409         (__crypt_r): Return NULL with EINVAL for bad salt.
19410         * crypt/crypt_util.c (bad_for_salt): New.
19411         (_ufc_setup_salt_r): Check that salt is long enough and within
19412         the specified alphabet.
19413         * crypt/badsalttest.c: New file.
19414         * crypt/Makefile (tests): Add it.
19415         ($(objpfx)badsalttest): New.
19416
19417 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
19418
19419         * NEWS: Add entry for BZ #14602.
19420
19421 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
19422
19423         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
19424         type-generic.
19425         * math/libm-test.inc: Update comment listing what functions and
19426         macros are tested.
19427         (isgreater_test): New function.
19428         (isgreaterequal_test): Likewise.
19429         (isless_test): Likewise.
19430         (islessequal_test): Likewise.
19431         (islessgreater_test): Likewise.
19432         (isunordered_test): Likewise.
19433         (main): Call the new functions.
19434
19435 2012-10-09  Roland McGrath  <roland@hack.frob.com>
19436
19437         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
19438         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
19439         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
19440         * sysdeps/i386/configure: Regenerated.
19441         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
19442         * sysdeps/mach/configure: Regenerated.
19443         * sysdeps/mach/hurd/configure: Regenerated.
19444         * sysdeps/powerpc/configure: Regenerated.
19445         * sysdeps/powerpc/powerpc32/configure: Regenerated.
19446         * sysdeps/powerpc/powerpc64/configure: Regenerated.
19447         * sysdeps/s390/s390-32/configure: Regenerated.
19448         * sysdeps/s390/s390-64/configure: Regenerated.
19449         * sysdeps/sh/configure: Regenerated.
19450         * sysdeps/sparc/configure: Regenerated.
19451         * sysdeps/unix/sysv/linux/configure: Regenerated.
19452         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
19453         * sysdeps/x86_64/configure: Regenerated.
19454
19455         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
19456         defined.  Don't check if MAP is NULL.
19457
19458 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
19459
19460         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
19461         (_G_stat64): Likewise.
19462         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
19463         (_G_stat64): Likewise.
19464         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
19465         instead of struct _G_stat64.
19466         * libio/fileops.c (mmap_remap_check): Likewise.
19467         (decide_maybe_mmap): Likewise.
19468         (_IO_new_file_seekoff): Likewise.
19469         (_IO_file_stat): Likewise.
19470         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
19471         _G_off64_t.
19472         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
19473         instead of struct _G_stat64.
19474         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
19475
19476 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
19477
19478         [BZ #14602]
19479         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
19480         Replace with ...
19481         (CHECK_EOL): New macro.
19482         (two_way_short_needle): Check beginning of haystack for EOL.  Use
19483         CHECK_EOL.
19484         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
19485         Replace with CHECK_EOL.
19486         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
19487         Replace with CHECK_EOL.
19488
19489 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
19490
19491         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
19492         type-generic.
19493         * math/libm-test.inc: Update comment listing what functions and
19494         macros are tested.
19495         (finite_test): New function.
19496         (isinf_test): Likewise.
19497         (isnan_test): Likewise.
19498         (fpclassify_test): Test subnormal input.
19499         (isfinite_test): Likewise.
19500         (isnormal_test): Likewise.
19501         (main): Call the new functions.
19502
19503 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
19504
19505         [BZ #14660]
19506         * Makerules (%.dynsym): Force C locale when running
19507         $(OBJDUMP) --dynamic-syms.
19508
19509 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
19510
19511         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
19512         <stdint.h>.
19513
19514 2012-10-06  David S. Miller  <davem@davemloft.net>
19515
19516         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
19517         upper 32-bits of the length value in %o2 since we use branch-on-register
19518         tests which consider the entire 64-bit register.
19519
19520 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
19521
19522         * string/test-strstr.c (check2): Add a test for page boundary.
19523
19524 2012-10-05  David S. Miller  <davem@davemloft.net>
19525
19526         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
19527         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
19528         file.
19529         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
19530         sysdep_routines.
19531         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
19532         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
19533         and bzero when HWCAP_SPARC_CRYPTO is present.
19534
19535 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
19536
19537         [BZ #14602]
19538         * string/test-strstr.c (check2): New function.
19539         (test_main): Call check2.
19540
19541         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
19542         and bug-strchr1.
19543         * string/bug-strcasestr1.c (do_test): Moved to ...
19544         * string/test-strcasestr.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-strchr1.c (do_test): Moved to ...
19550         * string/test-strchr.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-strstr1.c (main): Moved to ...
19556         * string/test-strstr.c (check1): Here.  New function.
19557         (do_one_test): Break out result checking code into ...
19558         (check_result): This.  New function.
19559         (do_one_test): Call check_result.
19560         (test_main): Call check1.
19561         * string/bug-strcasestr1.c: Removed.
19562         * string/bug-strchr1.c: Likewise.
19563         * string/bug-strstr1.c: Likewise.
19564
19565         * elf/Makefile (dl-routines): Add hwcaps.
19566         * elf/dl-support.c (_dl_important_hwcaps): Removed.
19567         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
19568         (_dl_important_hwcaps): Moved to ...
19569         * elf/dl-hwcaps.c: Here.  New file.
19570         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
19571
19572         [BZ #14557]
19573         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
19574         if IS_IN_rtld isn't defined.
19575
19576         * elf/dl-support.c (_dl_sysinfo_map): New.
19577         Include "get-dynamic-info.h" and "setup-vdso.h".
19578         (_dl_non_dynamic_init): Call setup_vdso.
19579         * elf/dynamic-link.h: Don't include <assert.h>.
19580         (elf_get_dynamic_info): Moved to ...
19581         * elf/get-dynamic-info.h: Here.  New file.
19582         * elf/dynamic-link.h: Include "get-dynamic-info.h".
19583         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
19584         * elf/setup-vdso.h: Here.  New file.
19585         * elf/rtld.c: Include "setup-vdso.h".
19586         (dl_main): Call setup_vdso.
19587
19588 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
19589
19590         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
19591         creal in comment listing functions tested.  List finite, isinf,
19592         isnan, isless, islessequal, isgreater, isgreaterequal,
19593         islessgreater, isunordered, lgamma_r and pow10 as functions and
19594         macros not tested.  Mention which functions not tested are aliases
19595         for other functions.  Fix typo.  Note that signs of NaNs are not
19596         tested.
19597
19598         * scripts/config.guess: Update from config.git.
19599         * scripts/config.sub: Likewise.
19600
19601 2012-10-04  Roland McGrath  <roland@hack.frob.com>
19602
19603         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
19604         * misc/madvise.c (madvise): Renamed to __madvise.
19605         Make madvise a weak alias.
19606         * include/sys/mman.h: Declare __madvise.
19607         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
19608         * sysdeps/unix/syscalls.list
19609         (madvise): Make __madvise the strong name, and madvise a weak alias.
19610         * sysdeps/unix/sysv/linux/syscalls.list
19611         (madvise, mmap): Remove redundant entries.
19612         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
19613         * malloc/malloc.c (mtrim): Likewise.
19614         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
19615
19616 2012-10-03  Roland McGrath  <roland@hack.frob.com>
19617
19618         * sysdeps/mach/hurd/dl-cache.c: File removed.
19619         * config.h.in (USE_LDCONFIG): New #undef.
19620         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
19621         * configure: Regenerated.
19622         * elf/Makefile (dl-routines): Add dl-cache only under
19623         [$(use-ldconfig) = yes].
19624         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
19625         cache on [USE_LDCONFIG].
19626         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
19627         [USE_LDCONFIG].
19628         * elf/rtld.c (dl_main): Likewise.
19629
19630 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
19631
19632         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
19633         _SC_LEVEL4_CACHE_LINESIZE.
19634
19635 2012-10-03  Roland McGrath  <roland@hack.frob.com>
19636
19637         * sysdeps/unix/bsd/confstr.h: File removed.
19638
19639 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
19640
19641         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
19642         sys/sdt-config.h.
19643
19644 2012-10-02  Roland McGrath  <roland@hack.frob.com>
19645
19646         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
19647         Make 'mapoff' field ElfW(Off) rather than off_t.
19648
19649 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
19650
19651         * nscd/Makefile: Remove nscd-cflags and all its users.
19652         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
19653         (CFLAGS-nonlib): Add compiler flags for nscd modules.
19654
19655         [BZ #10631]
19656         * malloc.c (malloc_printerr): Clarify error message.
19657
19658 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
19659
19660         [BZ #14648]
19661         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
19662         Set bit_FMA_Usable if FMA is supported.
19663         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
19664         macro.
19665         (bit_FMA4_Usable): Updated.
19666         (index_FMA_Usable): New macro.
19667         (CPUID_FMA): Likewise
19668         (HAS_FMA): Defined with bit_FMA_Usable.
19669
19670 2012-10-01  Roland McGrath  <roland@hack.frob.com>
19671
19672         * bits/types.h (__swblk_t): Type removed.
19673         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
19674         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
19675         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
19676         (__SWBLK_T_TYPE): Likewise.
19677         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
19678         (__SWBLK_T_TYPE): Likewise.
19679         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
19680         (__SWBLK_T_TYPE): Likewise.
19681         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
19682         (__SWBLK_T_TYPE): Likewise.
19683
19684 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
19685             Honza Horak <hhorak@redhat.com>
19686
19687         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
19688         (xdr_mapname): Use YPMAXMAP as maxsize.
19689         (xdr_peername): Use YPMAXPEER as maxsize.
19690         (xdr_keydat): Use YPAXRECORD as maxsize.
19691         (xdr_valdat): Use YPMAXRECORD as maxsize.
19692
19693 2012-10-01  Roland McGrath  <roland@hack.frob.com>
19694
19695         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
19696
19697         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
19698         * csu/init-first.c: ... here.
19699         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
19700         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
19701         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
19702         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
19703         * sysdeps/i386/init-first.c: File removed.
19704         * sysdeps/sh/init-first.c: File removed.
19705
19706 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
19707
19708         [BZ #14645]
19709         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
19710         if x * y might underflow to zero and z is zero.
19711         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
19712         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
19713         * math/libm-test.inc (min_subnorm_value): New variable.
19714         (fma_test): Add more tests.
19715         (fma_test_towardzero): Likewise.
19716         (fma_test_downward): Likewise
19717         (fma_test_upward): Likewise.
19718         (initialize): Set min_subnorm_value.
19719
19720 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
19721
19722         [BZ #14638]
19723         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
19724         0 + 0.
19725         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
19726         mode for addition resulting in exact zero.
19727         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
19728         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
19729         exact 0 + 0.
19730         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
19731         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
19732         * math/libm-test.inc (fma_test): Add more tests.
19733         (fma_test_towardzero): New function.
19734         (fma_test_downward): Likewise.
19735         (fma_test_upward): Likewise.
19736         (main): Call the new functions.
19737
19738 2012-09-28  David S. Miller  <davem@davemloft.net>
19739
19740         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
19741
19742 2012-09-28  Roland McGrath  <roland@hack.frob.com>
19743
19744         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
19745         instead of SIGALRM.
19746
19747         * sysdeps/gnu/_G_config.h: Moved to ...
19748         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
19749         * sysdeps/mach/hurd/_G_config.h: Moved to ...
19750         * sysdeps/generic/_G_config.h: ... here.
19751
19752         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
19753
19754         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
19755
19756         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
19757         Conditionalize target on [libnss_test1.so-version].
19758
19759         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
19760
19761         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
19762         (elfobjdir): Move out of conditionals.
19763
19764         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
19765         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
19766         (__nss_lookup_function): Conditionalize label remove_from_tree on
19767         [!DO_STATIC_NSS || SHARED], matching its only use.
19768
19769 2012-09-28  David S. Miller  <davem@davemloft.net>
19770
19771         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
19772         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
19773         file.
19774         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
19775         sysdep_routines.
19776         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
19777         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
19778         when HWCAP_SPARC_CRYPTO is present.
19779
19780 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
19781
19782         * io/tst-mknodat.c: Create a FIFO instead of a socket.
19783
19784 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
19785
19786         [BZ #6530]
19787         * stdio-common/vfprintf.c (process_string_arg): Revert
19788         2000-07-22 change.
19789
19790 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
19791
19792         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
19793         for testcase.
19794         * stdio-common/tst-sprintf.c: Include <locale.h>
19795         (main): Test sprintf's handling of incomplete multibyte
19796         characters.
19797
19798 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
19799
19800         * elf/dl-runtime.c (VERSYMIDX): Removed.
19801         * elf/dl-version.c (VERSYMIDX): Likewise.
19802         * elf/do-rel.h (VERSYMIDX): Likewise.
19803         (VALIDX): Likewise.
19804         * elf/dynamic-link.h (VERSYMIDX): Likewise.
19805         * elf/rtld.c (VALIDX): Likewise.
19806         (ADDRIDX): Likewise.
19807         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
19808         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
19809         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
19810         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
19811         (VALIDX): Likewise.
19812         (ADDRIDX): Likewise.
19813
19814 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
19815
19816         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
19817
19818 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
19819
19820         [BZ #11438]
19821         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
19822         to global scope.
19823         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
19824         addresses are in the same scope as 192.0.2/24.
19825         * posix/gai.conf: Document new scope table defaults.
19826
19827 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
19828
19829         [BZ #5298]
19830         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
19831         for ftell.  Compute offsets from write pointers instead.
19832         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
19833
19834 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
19835
19836         [BZ #14543]
19837         * libio/Makefile (tests): New test case tst-fseek.
19838         * libio/tst-fseek.c: New test case to verify that fseek/ftell
19839         combination works in wide mode.
19840         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
19841         state when the external buffer state changes.
19842
19843 2012-09-27  David S. Miller  <davem@davemloft.net>
19844
19845         [BZ #14376]
19846         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
19847         pass reloc->r_addend in as the 'high' argument to
19848         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
19849
19850         * sysdeps/sparc/fpu/libm-test-ulps: Update.
19851
19852 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
19853
19854         * rt/tst-aio2.c: Include <pthread.h>.
19855         * rt/tst-aio3.c: Likewise.
19856
19857 2012-09-27  Steve Ellcey  <sellcey@mips.com>
19858
19859         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
19860
19861 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
19862
19863         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
19864         contents on [SHARED].
19865
19866 2012-09-26  Marek Polacek  <polacek@redhat.com>
19867
19868         [BZ #14530]
19869         [BZ #13741]
19870         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
19871         for C++ and GCC <4.3 as well as for non GCC compilers.
19872
19873 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
19874
19875         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19876
19877 2012-09-25  Roland McGrath  <roland@hack.frob.com>
19878
19879         * Makefile.in (all, install): Declare with .PHONY.
19880         Reported by Michael Hope <michael.hope@linaro.org>.
19881
19882 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
19883
19884         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
19885         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
19886         system header.
19887         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
19888         Likewise.
19889         (sydep_routines): Add the new and the internal functions.
19890         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
19891         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
19892         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
19893         (GLIBC_2.17): Add the new function.
19894         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
19895         (GLIBC_2.17): Likewise.
19896         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
19897         (GLIBC_2.17): Likewise.
19898         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
19899         (GLIBC_2.17): Likewise.
19900         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
19901
19902 2012-09-25  Alan Modra  <amodra@gmail.com>
19903
19904         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
19905         Add release barrier before setting once_control to say
19906         initialisation is done.  Add hints on lwarx.  Use macro in
19907         place of isync.
19908         (clear_once_control): Add release barrier.
19909
19910 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
19911
19912         [BZ #13629]
19913         * math/s_clog.c (__clog): Handle more values close to |z| = 1
19914         specially.
19915         * math/s_clog10.c (__clog10): Likewise.
19916         * math/s_clog10f.c (__clog10f): Likewise.
19917         * math/s_clog10l.c (__clog10l): Likewise.
19918         * math/s_clogf.c (__clogf): Likewise.
19919         * math/s_clogl.c (__clogl): Likewise.
19920         * math/Makefile (libm-calls): Add x2y2m1.
19921         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
19922         (__x2y2m1): Likewise.
19923         (__x2y2m1l): Likewise.
19924         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
19925         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
19926         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
19927         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
19928         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
19929         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
19930         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
19931         * sysdeps/i386/fpu/libm-test-ulps: Update.
19932         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19933
19934         [BZ #14621]
19935         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
19936         int as type of variable DEPTH.
19937         (glob): Use size_t instead of int as type of variables NEWCOUNT
19938         and OLD_PATHC.
19939
19940 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
19941
19942         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
19943         Add s_sincosf-sse2.
19944         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
19945         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
19946         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
19947         macros for using routine as __sincosf_ia32.
19948         Use macro for function declaration and weak_alias.
19949         * sysdeps/i386/fpu/libm-test-ulps: Update.
19950
19951         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
19952         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19953
19954         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
19955         subnormal argument.
19956         * math/s_cexpf.c (__cexpf): Likewise.
19957         * math/s_csinf.c (__csinf): Likewise.
19958         * math/s_csinhf.c (__csinhf): Likewise.
19959         * math/s_ctanf.c (__ctanf): Likewise.
19960         * math/s_ctanhf.c (__ctanhf): Likewise.
19961         * math/s_ccosh.c (__ccoshf): Likewise.
19962         * math/s_cexp.c (__cexpl): Likewise.
19963         * math/s_csin.c (__csin): Likewise.
19964         * math/s_csinh.c (__csinh): Likewise.
19965         * math/s_ctan.c (__ctan): Likewise.
19966         * math/s_ctanh.c (ctanh): Likewise.
19967         * math/s_ccoshl.c (__ccoshl): Likewise.
19968         * math/s_cexpl.c (__cexpl): Likewise.
19969         * math/s_csinl.c (__csinl): Likewise.
19970         * math/s_csinhl.c (__csinhl): Likewise.
19971         * math/s_ctanl.c (__ctanl): Likewise.
19972         * math/s_ctanhl.c (__ctanhl): Likewise.
19973
19974 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
19975
19976         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
19977         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
19978         (_IO_off_t): Define to __off_t, not _G_off_t.
19979         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
19980         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
19981         (_IO_wint_t): Define to wint_t, not _G_wint_t.
19982         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
19983         type of __dummy and __dummy2 fields.
19984         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
19985         (_G_ssize_t): Likewise.
19986         (_G_off_t): Likewise.
19987         (_G_pid_t): Likewise.
19988         (_G_uid_t): Likewise.
19989         (_G_wchar_t): Likewise.
19990         (_G_wint_t): Likewise.
19991         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
19992         (_G_ssize_t): Likewise.
19993         (_G_off_t): Likewise.
19994         (_G_pid_t): Likewise.
19995         (_G_uid_t): Likewise.
19996         (_G_wchar_t): Likewise.
19997         (_G_wint_t): Likewise.
19998         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
19999         (_G_ssize_t): Likewise.
20000         (_G_off_t): Likewise.
20001         (_G_pid_t): Likewise.
20002         (_G_uid_t): Likewise.
20003         (_G_wchar_t): Likewise.
20004         (_G_wint_t): Likewise.
20005
20006 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
20007
20008         * malloc/arena.c: Include malloc-sysdep.h.
20009         (shrink_heap): Use check_may_shrink_heap to decide if madvise
20010         is sufficient to shrink the heap or an unmap is needed.
20011         * sysdeps/generic/malloc-sysdep.h: New file.  Define
20012         new function check_may_shrink_heap.
20013         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
20014         new function check_may_shrink_heap.
20015
20016 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
20017
20018         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
20019         comments.
20020
20021 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
20022
20023         * catgets/test-gencat.sh: Add "set -e".
20024         * elf/tst-pathopt.sh: Likewise.
20025         * grp/tst_fgetgrent.sh: Likewise.
20026         * iconvdata/run-iconv-test.sh: Likewise.
20027         * intl/tst-gettext.sh: Likewise.
20028         * intl/tst-gettext2.sh: Likewise.
20029         * intl/tst-gettext4.sh: Likewise.
20030         * intl/tst-gettext6.sh: Likewise.
20031         * intl/tst-translit.sh: Likewise.
20032         * io/ftwtest-sh: Likewise.
20033         * libio/test-freopen.sh: Likewise.
20034         * malloc/tst-mtrace.sh: Likewise.
20035         * posix/globtest.sh: Likewise.
20036         * posix/tst-getconf.sh: Likewise.
20037         * posix/wordexp-tst.sh: Likewise.
20038         * stdio-common/tst-printf.sh: Likewise.
20039         * stdio-common/tst-unbputc.sh: Likewise.
20040         * stdlib/tst-fmtmsg.sh: Likewise.
20041         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
20042         * catgets/Makefile: Do not specify -e option when running
20043         testsuite shell scripts.
20044         * elf/Makefile: Likewise.
20045         * grp/Makefile: Likewise.
20046         * iconvdata/Makefile: Likewise.
20047         * intl/Makefile: Likewise.
20048         * io/Makefile: Likewise.
20049         * libio/Makefile: Likewise.
20050         * malloc/Makefile: Likewise.
20051         * posix/Makefile: Likewise.
20052         * stdio-common/Makefile: Likewise.
20053         * stdlib/Makefile: Likewise.
20054         * sysdeps/x86_64/Makefile: Likewise.
20055
20056         * io/ftwtest-sh: Add copyright header.
20057         * posix/globtest.sh: Likewise.
20058         * posix/tst-getconf.sh: Likewise.
20059         * posix/wordexp-tst.sh: Likewise.
20060         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
20061
20062 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
20063
20064         [BZ #13679]
20065         * Makeconfig (+link): Defined as $(+link-static) if
20066         $(build-shared) isn't yes.
20067         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
20068         isn't yes.
20069         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
20070
20071         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
20072
20073         [BZ #14562]
20074         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
20075         new chunk size with MALLOC_ALIGN_MASK.
20076
20077 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
20078
20079         [BZ #5044]
20080         * stdio-common/printf_fphex.c: Include <stdbool.h> and
20081         <rounding-mode.h>.
20082         (__printf_fphex): Determine rounding using get_rounding_mode and
20083         round_away.
20084         * stdio-common/tst-printf-round.c (struct hex_test): New
20085         structure.
20086         (hex_tests): New variable.
20087         (test_hex_in_one_mode): New function.
20088         (do_test): Also run tests for hex float output.
20089
20090 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
20091
20092         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
20093         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
20094         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
20095         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
20096         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
20097         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
20098         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
20099         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
20100
20101 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
20102
20103         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
20104         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
20105         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
20106         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
20107
20108 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
20109
20110         [BZ #14579]
20111         * elf/rtld.c (dl_main): Limit the check for self loading to normal
20112         mode only.
20113         * elf/tst-rtld-load-self.sh: New test.
20114         * elf/Makefile: Run it.
20115
20116 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
20117
20118         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
20119         (tst-writev-ENV): Remove.
20120         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
20121
20122 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
20123
20124         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
20125
20126 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
20127
20128         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
20129         unconditional.
20130         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
20131         Likewise.
20132         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
20133         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
20134         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
20135         Likewise.
20136
20137 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
20138
20139         [BZ #14587]
20140         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
20141         * config.make.in (have-cpp-asm-debuginfo): Removed.
20142         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
20143         * configure: Regenerated.
20144
20145 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
20146
20147         [BZ #5044]
20148         * stdio-common/printf_fp.c: Include <stdbool.h> and
20149         <rounding-mode.h>.
20150         (___printf_fp): Determine rounding using get_rounding_mode and
20151         round_away.
20152         * stdio-common/tst-printf-round.c: New file.
20153         * stdio-common/Makefile (tests): Add tst-printf-round.
20154         (link-libm): New variable.
20155         ($(objpfx)tst-printf-round): Depend in $(link-libm).
20156
20157 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
20158
20159         [BZ #14576]
20160         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
20161         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
20162         Likewise.
20163         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
20164         Likewise.
20165
20166 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
20167
20168         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
20169         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
20170         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
20171         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
20172
20173 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
20174
20175         [BZ #14518]
20176         * include/rounding-mode.h: New file.
20177         * sysdeps/generic/get-rounding-mode.h: Likewise.
20178         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
20179         * stdlib/strtod_l.c: Include <rounding-mode.h>.
20180         (MAX_VALUE): New macro.
20181         (MIN_VALUE): Likewise.
20182         (overflow_value): New function.
20183         (underflow_value): Likewise.
20184         (round_and_return): Use overflow_value and underflow_value to
20185         determine return values in overflow and underflow cases.  Use
20186         round_away to determine rounding depending on rounding mode.
20187         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
20188         determine return values in overflow and underflow cases.
20189         * stdlib/tst-strtod-round.c: Include <fenv.h>.
20190         (struct test_results): New structure.
20191         (struct test): Use struct test_results to store expected results
20192         for all rounding modes.
20193         (TEST): Include expected results for all rounding modes.
20194         (test_in_one_mode): New function.
20195         (do_test): Use test_in_one_mode to compute and check results.
20196         Check results for all rounding modes.
20197         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
20198         $(link-libm).
20199
20200 2012-12-09  Allan McRae  <allan@archlinux.org>
20201
20202         * sysdeps/i386/fpu/libm-test-ulps: Update
20203
20204 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
20205
20206         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
20207         (_G_int32_t): Likewise.
20208         (_G_uint16_t): Likewise.
20209         (_G_uint32_t): Likewise.
20210         (_G_HAVE_BOOL): Likewise.
20211         (_G_HAVE_ATEXIT): Likewise.
20212         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
20213         (_G_HAVE_IO_FILE_OPEN): Likewise.
20214         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
20215         (_G_int32_t): Likewise.
20216         (_G_uint16_t): Likewise.
20217         (_G_uint32_t): Likewise.
20218         (_G_HAVE_BOOL): Likewise.
20219         (_G_HAVE_ATEXIT): Likewise.
20220         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
20221         (_G_HAVE_IO_FILE_OPEN): Likewise.
20222         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
20223         (_G_int32_t): Likewise.
20224         (_G_uint16_t): Likewise.
20225         (_G_uint32_t): Likewise.
20226         (_G_HAVE_BOOL): Likewise.
20227         (_G_HAVE_ATEXIT): Likewise.
20228         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
20229         (_G_HAVE_IO_FILE_OPEN): Likewise.
20230
20231 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
20232
20233         * csu/libc-tls.c: Update copyright years.
20234
20235 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
20236
20237         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
20238         [!_G_USING_THUNKS]: Remove conditional code.
20239         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
20240         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
20241
20242         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
20243         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
20244         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
20245         (_G_VTABLE_LABEL_PREFIX): Likewise.
20246         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
20247         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
20248         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
20249         (_G_VTABLE_LABEL_PREFIX): Likewise.
20250         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
20251         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
20252         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
20253         (_G_VTABLE_LABEL_PREFIX): Likewise.
20254         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
20255
20256 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
20257
20258         * libio/Makefile: Include ../Makeconfig before tests.
20259         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
20260         only if $(build-shared) is yes.
20261
20262         * iconv/gconv_db.c: Update copyright years.
20263
20264 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
20265
20266         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
20267         unwind info if defined PIC. Fix special cases description.
20268         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
20269
20270         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
20271         DP_HI_MASK entry.
20272         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
20273
20274 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
20275
20276         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
20277
20278         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
20279         is NULL.
20280
20281         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
20282         (LDLIBS-tst-chk4): This.
20283         (LDFLAGS-tst-chk5): Renamed to ...
20284         (LDLIBS-tst-chk5): This.
20285         (LDFLAGS-tst-chk6): Renamed to ...
20286         (LDLIBS-tst-chk6): This.
20287         (LDFLAGS-tst-lfschk4): Renamed to ...
20288         (LDLIBS-tst-lfschk4): This.
20289         (LDFLAGS-tst-lfschk5): Renamed to ...
20290         (LDLIBS-tst-lfschk5): This.
20291         (LDFLAGS-tst-lfschk6): Renamed to ...
20292         (LDLIBS-tst-lfschk6): This.
20293
20294         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
20295         on $(common-objpfx)soversions.mk.
20296
20297 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
20298
20299         [BZ #10014]
20300         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
20301         example host name.
20302
20303 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
20304
20305         * malloc/arena.c (arena_get_retry): New function that gets
20306         another arena for the caller to try its request on.
20307         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
20308         current arena cannot fulfill the request.
20309         (__libc_memalign): Likewise.
20310         (__libc_memalign): Likewise.
20311         (__libc_pvalloc): Likewise.
20312         (__libc_calloc): Likewise.
20313
20314 2012-09-05  John Tobey  <john.tobey@gmail.com>
20315
20316         [BZ #13542]
20317         * manual/arith.texi (Operations on Complex): Fix description
20318         of carg branch cut.
20319
20320 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
20321
20322         [BZ #10014]
20323         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
20324         host name.
20325
20326         [BZ #10038]
20327         * manual/memory.texi (Memory): Make order of menu items match
20328         order of sections.
20329
20330 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
20331
20332         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
20333         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
20334         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
20335
20336 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
20337
20338         * csu/libc-tls.c (static_dtv): Renamed to ...
20339         (_dl_static_dtv): This.  Make it global.
20340         (_dl_initial_dtv): Removed.
20341         (__libc_setup_tls): Updated.
20342         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
20343         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
20344         DL_INITIAL_DTV.
20345
20346 2012-09-06  Petr Machata  <pmachata@redhat.com>
20347
20348         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
20349         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
20350         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
20351         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
20352
20353 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
20354
20355         [BZ #14545]
20356         * csu/libc-tls.c (_dl_initial_dtv): New variable.
20357         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
20358         freeing dtv[-1].
20359
20360 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
20361
20362         [BZ #14544]
20363         * Makeconfig (link-static-before-libc): Replace $(+prector)
20364         with $(+prectorT).
20365         (link-static-after-libc): Replace $(+postctor) with
20366         $(+postctorT).
20367         (link-bounded): Replace $(+prector)/$(+postctor) with
20368         $(+prectorT)/$(+postctorT).
20369         (+prectorT): New macro.
20370         (+postctorT): Likewise.
20371
20372 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
20373
20374         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
20375         (round_str): Handle values above the maximum for IBM long double
20376         as inexact.
20377         * stdlib/tst-strtod-round.c (tests): Regenerated.
20378
20379 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
20380
20381         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
20382         assembler flag.
20383         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
20384         zarch_nohighgprs around the zarch optimized routines.
20385         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
20386         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
20387         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
20388         for zarch.
20389
20390 2012-09-05  David S. Miller  <davem@davemloft.net>
20391
20392         * sysdeps/sparc/fpu/libm-test-ulps: Update.
20393
20394         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
20395         HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
20396         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
20397         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
20398         entries.
20399
20400 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
20401
20402         * malloc/arena.c: Fold copyright years.
20403         * malloc/mcheck.c, malloc/memusage.c: Likewise.
20404
20405 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
20406
20407         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
20408
20409 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
20410
20411         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
20412
20413 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
20414
20415         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
20416         change internal state upon failure.
20417
20418 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
20419
20420         * malloc/mcheck.c (mcheck_check_all): Fix typo.
20421         * malloc/memusage.c (mmap): Likewise.
20422         (mmap64, mremap): Likewise.  Adjust name in comment.
20423
20424 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
20425
20426         * libio/fileops.c: Fix typos in comments.
20427         * libio/oldfileops.c: Likewise.
20428         * libio/wfileops.c: Likewise.
20429
20430 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
20431
20432         [BZ #1349]
20433         * malloc/Makefile (tests): Add tst-malloc-usable test case.
20434         (tst-malloc-usable-ENV): Set environment for test case.
20435         * malloc/hooks.c (malloc_check_get_size): New function to get
20436         requested size.
20437         * malloc/malloc.c (musable): Use malloc_check_get_size.
20438         * malloc/tst-malloc-usable.c: New test case.
20439
20440 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
20441
20442         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
20443
20444 2012-09-05  Allan McRae  <allan@archlinux.org>
20445
20446         [BZ #13966]
20447         * configure.in (CXX_SYSINCLUDES): Use compiler output to
20448         determine header location.
20449         * configure: Regenerated.
20450
20451 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
20452
20453         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
20454         float format.
20455         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
20456         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
20457         format.
20458         (test): Regenerate.
20459
20460 2012-09-04  David S. Miller  <davem@davemloft.net>
20461
20462         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
20463         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
20464         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
20465
20466 2012-09-04  Florian Weimer  <fweimer@redhat.com>
20467
20468         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
20469         failures.
20470
20471         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
20472
20473 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
20474
20475         [BZ #9914]
20476         * libio/iogetdelim.c: Include <limits.h>.
20477         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
20478         + len + 1 would overflow.
20479
20480 2012-09-03  Andreas Jaeger  <aj@suse.de>
20481
20482         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20483         * sysdeps/i386/fpu/libm-test-ulps: Update.
20484
20485 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
20486
20487         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
20488         Add s_sinf-sse2, s_conf-sse2.
20489
20490         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
20491         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
20492         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
20493         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
20494
20495         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
20496         for using routine as __sinf_ia32.
20497         Use macro for function declaration and weak_alias.
20498         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
20499         for using routine as __cosf_ia32.
20500         Use macro for function declaration and weak_alias.
20501
20502         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
20503         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
20504
20505         * sysdeps/x86_64/fpu/s_sinf.S: New file.
20506         * sysdeps/x86_64/fpu/s_cosf.S: New file.
20507         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20508
20509         * math/libm-test.inc (cos_test): Add more test cases.
20510         (sin_test): Likewise.
20511         (sincos_test): Likewise.
20512
20513 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
20514
20515         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
20516         (IFUNC_RESOLVE): Make pointers to the specialized implementations
20517         hidden.
20518         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
20519
20520 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
20521
20522         [BZ #14538]
20523         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
20524         first element of the GOT.
20525         (elf_machine_load_address): Return the difference between
20526         the runtime address of _DYNAMIC and elf_machine_dynamic ().
20527
20528 2012-09-01  Allan McRae  <allan@archlinux.org>
20529
20530         [BZ #13412]
20531         * configure.in (AWK): Require gawk version 3.0 or later.
20532         * configure: Regenerated.
20533
20534 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
20535
20536         * sysdeps/unix/sysv/linux/kernel-features.h
20537         (__ASSUME_POSIX_CPU_TIMERS): Remove.
20538         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
20539         [__NR_clock_getres]: Make code unconditional.
20540         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
20541         (clock_getcpuclockid): Remove code left unreachable by removal of
20542         conditionals.
20543         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
20544         code unconditional.
20545         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
20546         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
20547         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
20548         Make code unconditional.
20549         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
20550         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
20551         * sysdeps/unix/sysv/linux/clock_settime.c
20552         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
20553         conditional code.
20554         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
20555         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
20556
20557 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
20558
20559         [BZ #14476]
20560         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
20561         scripts/test-installation.pl.
20562
20563         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
20564         and $ld_so_version if it is set.
20565
20566 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
20567
20568         [BZ #14516]
20569         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
20570         failure if reading from procfs failed.
20571         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
20572
20573 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
20574
20575         * sysdeps/unix/sysv/linux/kernel-features.h
20576         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
20577         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
20578         Remove conditional code.
20579         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
20580         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
20581         Remove conditional code.
20582         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
20583         * sysdeps/unix/sysv/linux/i386/fxstat.c
20584         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
20585         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
20586         * sysdeps/unix/sysv/linux/i386/fxstatat.c
20587         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
20588         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
20589         * sysdeps/unix/sysv/linux/i386/lxstat.c
20590         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
20591         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
20592         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
20593         Remove conditional code.
20594         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
20595         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
20596         Remove conditional code.
20597         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
20598         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
20599         <kernel-features.h>.
20600         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
20601         Remove.
20602         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
20603         Remove conditional code.
20604         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
20605         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
20606         Remove conditional.
20607
20608 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
20609
20610         [BZ #5400]
20611         * NEWS: Add fixed bug number.
20612
20613 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
20614
20615         [BZ #14519]
20616         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
20617         underflowing exponent in case of negative sign.
20618         * stdlib/tst-strtod-round-data: Add more tests.
20619         * stdlib/tst-strtod-round.c (tests): Regenerated.
20620
20621         [BZ #3479]
20622         * stdlib/strtod_l.c (NDIG): Remove.
20623         (HEXNDIG): Likewise.
20624         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
20625         smallest representable value.
20626         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
20627         lie within an exact representation of 1/2 ulp of the result.
20628         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
20629         unconditionally.
20630         (TENS_P9_IDX): Define unconditionally.
20631         (TENS_P9_SIZE): Likewise.
20632         (TENS_P10_IDX): Likewise.
20633         (TENS_P10_SIZE): Likewise.
20634         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
20635         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
20636         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
20637         entries for 10^2^13 and 10^2^14.
20638         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
20639         (TENS_P13_IDX): Define.
20640         (TENS_P13_SIZE): Likewise.
20641         (TENS_P14_IDX): Likewise.
20642         (TENS_P14_SIZE): Likewise.
20643         (_fpioconst_pow10): Change array size to
20644         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
20645         unconditional.
20646         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
20647         1024]: Add entries for 10^2^13 and 10^2^14.
20648         [LAST_POW10 > _LAST_POW10]: Remove #error.
20649         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
20650         (_fpioconst_pow10): Change array size to
20651         FPIOCONST_POW10_ARRAY_SIZE.
20652         * stdlib/gen-fpioconst.c: New file.
20653         * stdlib/gen-tst-strtod-round.c: Likewise.
20654         * stdlib/tst-strtod-round-data: Likewise.
20655         * stdlib/tst-strtod-round.c: Likewise.
20656         * stdlib/Makefile (tests): Add tst-strtod-round.
20657
20658         [BZ #14459]
20659         * stdlib/strtod_l.c: Include <stdint.h>.
20660         (NDEBUG): Do not define.
20661         (round_and_return): Change EXPONENT parameter to type intmax_t.
20662         Rearrange calculations to avoid internal overflow possibilities.
20663         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
20664         Rearrange calculations to avoid internal overflow possibilities.
20665         Assert that number fits inside MPNSIZE limbs.
20666         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
20667         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
20668         calculations and add assertions to avoid internal overflow
20669         possibilities.  Add casts to avoid signed/unsigned operations.
20670         * stdlib/tst-strtod-overflow.c: New file.
20671         * stdlib/Makefile (tests): Add tst-strtod-overflow.
20672
20673 2012-08-25  Marek Polacek  <polacek@redhat.com>
20674
20675         * time/time.h: Fix some typos in comments.
20676
20677 2012-08-23  Roland McGrath  <roland@hack.frob.com>
20678
20679         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
20680         * posix/tst-rfc3484-2.c: Likewise.
20681         * posix/tst-rfc3484-3.c: Likewise.
20682
20683 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
20684
20685         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
20686         (EF_ARM_ABI_FLOAT_HARD): Likewise.
20687
20688 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
20689
20690         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
20691         #include of fxstatat64.c.
20692
20693 2012-08-22  Roland McGrath  <roland@hack.frob.com>
20694
20695         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
20696         * shadow/getspent_r.c: Likewise.
20697         * shadow/getspnam.c: Likewise.
20698         * shadow/getspnam_r.c: Likewise.
20699         * gshadow/getsgent.c: Likewise.
20700         * gshadow/getsgent_r.c: Likewise.
20701         * gshadow/getsgnam.c: Likewise.
20702         * gshadow/getsgnam_r.c: Likewise.
20703         * inet/getnetbyad.c: Likewise.
20704         * inet/getnetbyad_r.c: Likewise.
20705         * inet/getnetbynm.c: Likewise.
20706         * inet/getnetbynm_r.c: Likewise.
20707         * inet/getnetent.c: Likewise.
20708         * inet/getnetent_r.c: Likewise.
20709         * inet/getproto.c: Likewise.
20710         * inet/getproto_r.c: Likewise.
20711         * inet/getprtent.c: Likewise.
20712         * inet/getprtent_r.c: Likewise.
20713         * inet/getprtname.c: Likewise.
20714         * inet/getprtname_r.c: Likewise.
20715         * inet/getrpcbyname.c: Likewise.
20716         * inet/getrpcbyname_r.c: Likewise.
20717         * inet/getrpcbynumber.c: Likewise.
20718         * inet/getrpcbynumber_r.c: Likewise.
20719         * inet/getrpcent.c: Likewise.
20720         * inet/getrpcent_r.c: Likewise.
20721         * inet/getaliasent.c: Likewise.
20722         * inet/getaliasent_r.c: Likewise.
20723         * inet/getaliasname.c: Likewise.
20724         * inet/getaliasname_r.c: Likewise.
20725         * nscd/getgrgid_r.c: Likewise.
20726         * nscd/getgrnam_r.c: Likewise.
20727         * nscd/gethstbyad_r.c: Likewise.
20728         * nscd/gethstbynm3_r.c: Likewise.
20729         * nscd/getpwnam_r.c: Likewise.
20730         * nscd/getpwuid_r.c: Likewise.
20731         * nscd/getsrvbynm_r.c: Likewise.
20732         * nscd/getsrvbypt_r.c: Likewise.
20733         * nscd/gai.c: Likewise.
20734
20735         * configure.in (build_nscd): New substituted variable, set
20736         by --disable-build-nscd and defaults to $use_nscd.
20737         * configure: Regenerated.
20738         * config.make.in (build-nscd): New substituted variable.
20739         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
20740         Change conditional to require [$(build-nscd) = yes] as well.
20741         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
20742
20743         [BZ# 13696]
20744         * configure.in (use_nscd): New substituted variable, set by
20745         --disable-nscd.  If enabled, define USE_NSCD.
20746         * configure: Regenerated.
20747         * config.h.in: Add USE_NSCD.
20748         * config.make.in (use-nscd): New substituted variable.
20749         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
20750         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
20751         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
20752         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
20753         (CFLAGS-getgrnam_r.c): Likewise.
20754         (CFLAGS-initgroups.c): Likewise.
20755         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
20756         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
20757         Variables removed.
20758         * inet/getnetgrent_r.c
20759         (nscd_setnetgrent): New function, broken out of ...
20760         (setnetgrent): ... here.  Call it.
20761         (innetgr): Conditionalize nscd bits on [USE_NSCD].
20762         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
20763         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
20764         * nscd/Makefile (routines, aux): Move definitions after include of
20765         Makeconfig.  Conditionalize on [$(use-nscd) != no].
20766         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
20767         Conditionalize on [USE_NSCD].
20768         (is_nscd, nscd_init_cb): Likewise.
20769         (nss_load_library): Conditionalize init callback on [USE_NSCD].
20770         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
20771         * nss/nss_db/db-init.c: Likewise.
20772         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
20773         [USE_NSCD].
20774         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
20775         (make_request): Use it.
20776         (cache_valid_p): New function.
20777         (__check_pf): Use it.
20778         * NEWS: Add item for --disable-nscd.
20779
20780 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
20781
20782         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
20783         to support sed >= 4.2.1-20-ga9bf076.
20784         * configure: Regenerated.
20785
20786 2012-08-22  Roland McGrath  <roland@hack.frob.com>
20787
20788         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
20789         Conditionalize whole body on [IREL].
20790
20791 2012-08-22  Jeff Law <law@redhat.com>
20792
20793         [BZ #14505]
20794         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
20795         if the family is PF_UNSPEC.
20796
20797 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
20798
20799         * Makerules (lib-version): Rename from V.
20800         (install-lib-nosubdir): Change V to lib-version.
20801
20802 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
20803
20804         [BZ #14252]
20805         * powerpc32/power6/wcschr.c: New file.
20806         * powerpc32/power6/wcscpy.c: New file.
20807         * powerpc32/power6/wcsrchr.c: New file.
20808         * powerpc64/power6/wcschr.c: New file.
20809         * powerpc64/power6/wcscpy.c: New file.
20810         * powerpc64/power6/wcsrchr.c: New file.
20811
20812 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
20813
20814         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
20815         (two_way_short_needle): Use it.
20816         * string/strstr.c (AVAILABLE1_USES_J): Define.
20817         * string/strcasestr.c: Likewise.
20818
20819         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
20820         array references.
20821         * string/strcasestr.c (TOLOWER): Make side-effect safe.
20822
20823         [BZ #11607]
20824         * NEWS: Add an entry.
20825         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
20826         define their defaults.
20827         (two_way_short_needle): Detect end-of-string on-the-fly.
20828         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
20829         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
20830         * string/bug-strcasestr1.c: New test.
20831         * string/Makefile: Run it.
20832
20833 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
20834
20835         [BZ #11607]
20836         * string/str-two-way.h (two_way_short_needle): Optimize matching of
20837         the first character.
20838
20839 2012-08-21  Roland McGrath  <roland@hack.frob.com>
20840
20841         * csu/elf-init.c (__libc_csu_irel): Function removed.
20842         * csu/libc-start.c (apply_irel): New function.
20843         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
20844
20845 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
20846
20847         * sysdeps/unix/sysv/linux/kernel-features.h
20848         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
20849         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
20850         <kernel-features.h>.
20851         [__NR_fadvise64_64]: Make code unconditional.
20852         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
20853         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
20854         !__NR_fadvise64_64)]: Likewise.
20855         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
20856         !__NR_fadvise64_64))]: Likewise.
20857         [__NR_fadvise64]: Make code unconditional.
20858         [!__NR_fadvise64]: Remove conditional code.
20859         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
20860         <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/powerpc/powerpc32/posix_fadvise64.c: Do
20866         not 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         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
20872         include <kernel-features.h>.
20873         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
20874         unconditional.
20875         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
20876         conditional code.
20877
20878 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
20879
20880         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
20881         slight instruction rearrangements per scrollpipe analysis.
20882         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
20883
20884 2012-08-20  Roland McGrath  <roland@hack.frob.com>
20885
20886         * manual/syslog.texi (syslog; vsyslog, closelog):
20887         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
20888         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
20889
20890         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
20891         DSOCAPS to match condition on defining it.
20892
20893 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
20894
20895         * sysdeps/unix/sysv/linux/kernel-features.h
20896         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
20897         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
20898         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
20899         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
20900         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
20901         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
20902         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
20903         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
20904         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
20905         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
20906
20907         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
20908         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
20909
20910         * sysdeps/unix/sysv/linux/kernel-features.h
20911         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
20912         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
20913         unconditional.
20914         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
20915         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
20916         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
20917         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
20918         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
20919         Make code unconditional.
20920         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
20921         (__mmap64) [!__NR_mmap2]: Likewise.
20922         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
20923         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
20924         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
20925         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
20926         [__NR_mmap2]: Make code unconditional.
20927         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
20928         (__mmap64) [!__NR_mmap2]: Likewise.
20929
20930 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
20931
20932         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
20933
20934 2012-08-18  Andreas Jaeger  <aj@suse.de>
20935
20936         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
20937
20938 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
20939
20940         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
20941         * include/unistd.h (__have_sock_cloexec): Likewise.
20942         (__have_pipe2): Likewise.
20943         (__have_dup3): Likewise.
20944
20945 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
20946
20947         [BZ #9685]
20948         * include/unistd.h (__have_pipe2): Change define into an extern int.
20949         (__have_dup3): Likewise.
20950         * socket/have_sock_cloexec.c: Include fcntl.h.
20951         (__have_pipe2): New variable.
20952         (__have_dup3): Likewise.
20953
20954 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
20955
20956         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
20957
20958 2012-08-17  Marek Polacek  <polacek@redhat.com>
20959
20960         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
20961         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
20962
20963 2012-08-17  Roland McGrath  <roland@hack.frob.com>
20964
20965         * configure.in: Add AC_SUBST for sysheaders.
20966         * configure: Regenerated.
20967         * config.make.in (sysheaders): New substituted variable.
20968
20969         * sysdeps/unix/mkfifo.c: Moved ...
20970         * sysdeps/posix/mkfifo.c: ... here.
20971         * sysdeps/unix/mkfifoat.c: Moved ...
20972         * sysdeps/posix/mkfifoat.c: ... here.
20973
20974         * sysdeps/unix/utime.c: Moved ...
20975         * sysdeps/posix/utime.c: ... here.
20976
20977         * sysdeps/unix/time.c: Moved ...
20978         * sysdeps/posix/time.c: ... here.
20979         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
20980         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
20981
20982         * sysdeps/unix/nice.c: Moved ...
20983         * sysdeps/posix/nice.c: ... here.
20984
20985         * sysdeps/unix/alarm.c: Moved ...
20986         * sysdeps/posix/alarm.c: ... here.
20987
20988         * intl/Makefile ($(codeset_mo)): Depend on the input file.
20989
20990 2012-08-17  Jeff Law <law@redhat.com>
20991
20992         * intl/Makefile (codeset_mo): New variable.
20993         ($(codeset_mo)): New target.
20994         (tst-codeset.out): Depend on that.  Remove explicit rule.
20995         (tst-gettext3.out, tst-gettext5.out): Likewise.
20996         (LOCPATH-ENV, tst-codeset-ENV): New variables.
20997         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
20998         * intl/tst-codeset.sh: Remove.
20999         * intl/tst-gettext3.sh: Likewise.
21000         * intl/tst-gettext5.sh: Likewise.
21001
21002 2012-08-17  Roland McGrath  <roland@hack.frob.com>
21003
21004         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
21005         * sysdeps/unix/syscalls.list: ... here.
21006
21007         * sysdeps/posix/getaddrinfo.c
21008         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
21009         (gaiconf_init, gaiconf_reload): Use them.
21010         [!_STATBUF_ST_NSEC]
21011         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
21012         Define using time_t rather than struct timespec.
21013
21014         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
21015         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
21016         Macros removed.
21017         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
21018         [!NO_THREADS].
21019         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
21020         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
21021         Likewise.
21022
21023         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
21024         __libc_cleanup_push argument.
21025
21026         * bits/param.h: New file.
21027         * misc/sys/param.h: New file.
21028         * include/sys/param.h: New file.
21029         * misc/Makefile (headers): Add bits/param.h.
21030         * sysdeps/generic/sys/param.h: File removed.
21031         * sysdeps/unix/sysv/linux/bits/param.h: New file.
21032         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
21033         * sysdeps/mach/hurd/bits/param.h: New file.
21034         * sysdeps/mach/hurd/sys/param.h: File removed.
21035
21036         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
21037         last change.
21038
21039         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
21040         [_IO_MTSAFE_IO].
21041         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
21042         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
21043         New macros.
21044
21045         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
21046         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
21047         rather than -D_IO_MTSAFE_IO conditionally.
21048         * stdio-common/Makefile (CPPFLAGS): Likewise.
21049         * wcsmbs/Makefile (CPPFLAGS): Likewise.
21050         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
21051         Use $(libio-mtsafe).
21052         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
21053         of -D_IO_MTSAFE_IO.
21054         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
21055         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
21056         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
21057         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
21058         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
21059         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
21060         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
21061         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
21062         (CFLAGS-fread_u_chk.c): Likewise.
21063         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
21064         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
21065         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
21066         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
21067         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
21068         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
21069         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
21070         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
21071         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
21072
21073         * libio/Makefile: Test [$(libc-reentrant) = yes]
21074         instead of [$(filter %REENTRANT, $(defines)) nonempty].
21075
21076         * Makeconfig
21077         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
21078         * sysdeps/pthread/configure: File removed.
21079         * sysdeps/pthread/Makeconfig: New file.
21080         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
21081         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
21082
21083 2012-08-16  Gary Benson  <gbenson@redhat.com>
21084
21085         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
21086         unmapping the first object in a namespace.
21087
21088 2012-08-16  Roland McGrath  <roland@hack.frob.com>
21089
21090         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
21091         (__internal_setnetgrent): ... this.  Add internal_function to
21092         definition.  Add libc_hidden_def.
21093         (setnetgrent): Update caller.
21094         (internal_endnetgrent): Renamed to ...
21095         (__internal_endnetgrent): ... this.  Add internal_function to
21096         definition.  Add libc_hidden_def.
21097         (endnetgrent): Update caller.
21098         (internal_getnetgrent_r): Renamed to ...
21099         (__internal_getnetgrent_r): ... this.  Add internal_function to
21100         definition.  Add libc_hidden_def.
21101         (__getnetgrent_r): Update caller.
21102         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
21103
21104 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
21105
21106         * stdlib/longlong.h: Update from GCC.
21107
21108 2012-08-16  Roland McGrath  <roland@hack.frob.com>
21109
21110         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
21111         on _QL, which is set by umul_ppmm but never used.
21112         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
21113         variables, which are set by GMP macros but never used.
21114         * stdio-common/_itowa.c (_itowa): Likewise.
21115         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
21116         * stdlib/mod_1.c (mpn_mod_1): Likewise.
21117
21118 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
21119
21120         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
21121         struct La_sh_regs is not constant.
21122         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
21123         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
21124         and struct La_sparc64_regs are not constant.
21125
21126 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
21127
21128         * sysdeps/unix/sysv/linux/kernel-features.h
21129         (__ASSUME_POSIX_TIMERS): Remove.
21130         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
21131         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
21132         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
21133         Make code unconditional.
21134         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
21135         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
21136         Make code unconditional.
21137         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
21138         * sysdeps/unix/sysv/linux/clock_nanosleep.c
21139         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
21140         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
21141         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
21142         Make code unconditional.
21143         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
21144         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
21145         (__libc_missing_posix_timers): Remove.
21146
21147 2012-08-15  Roland McGrath  <roland@hack.frob.com>
21148
21149         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
21150         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
21151
21152         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
21153
21154         * elf/dl-sym.c: Include <stdlib.h>.
21155
21156         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
21157         constants, which avoids warnings in 32-bit builds.
21158
21159         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
21160         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
21161
21162         * misc/lseek.c: File moved to ...
21163         * io/lseek.c: ... here.
21164
21165         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
21166
21167         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
21168         shifting LEN more than 31 bits at once.
21169
21170 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
21171
21172         [BZ #14195]
21173         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
21174         segmentation fault for a case of two empty input strings.
21175         * string/test-strncasecmp.c (check1): Renamed to...
21176         (bz12205): ...this.
21177         (bz14195): Add new testcase for two empty input strings and N > 0.
21178         (test_main): Call new testcase, adapt for renamed function.
21179
21180 2012-08-15  Andreas Jaeger  <aj@suse.de>
21181
21182         [BZ #14090]
21183         * crypt/md5test2.c: New test, based on test supplied by Serge
21184         Belyshev <belyshev@depni.sinp.msu.ru>.
21185         * crypt/Makefile (xtests): Add md5test-giant..
21186         * crypt/Makefile ($(objpfx)md5test-giant): Add.
21187
21188 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
21189
21190         [BZ #14090]
21191         * crypt/md5.c (md5_process_block): Don't assume the buffer
21192         length is less than 2**32.
21193         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
21194         length is less than 2**64.
21195
21196 2012-08-15  Roland McGrath  <roland@hack.frob.com>
21197
21198         * string/str-two-way.h: Include <sys/param.h>.
21199         (MAX): Macro removed.
21200
21201         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
21202         Move #define and #undef of memmove to just before and after
21203         including <string.h>.
21204
21205         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
21206         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
21207         and after including <string.h>.  Move declarations of
21208         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
21209         to before #include "string/memmove.c".
21210
21211         * include/dirent.h: Declare __getdirentries.
21212
21213         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
21214         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
21215
21216 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
21217
21218         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
21219         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
21220         * sysdeps/i386/configure: Regenerated.
21221         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
21222         STABS_CURRENT_FILE, and STABS_FUN.
21223         (END): Remove call to STABS_FUN_END.
21224         (STABS_CURRENT_FILE1): Delete.
21225         (STABS_CURRENT_FILE): Likewise.
21226         (STABS_FUN): Likewise.
21227         (STABS_FUN_END): Likewise.
21228         (STABS_FUN2): Likewise.
21229         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
21230         * sysdeps/x86_64/configure: Regenerated.
21231
21232 2012-08-14  Roland McGrath  <roland@hack.frob.com>
21233
21234         * elf/dl-open.c: Include <atomic.h>.
21235         * elf/dl-lookup.c: Likewise.
21236
21237 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
21238
21239         * sysdeps/unix/sysv/linux/kernel-features.h
21240         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
21241         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
21242         unconditionally.
21243         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
21244         unconditionally.
21245         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
21246         condition on __ASSUME_CLONE_THREAD_FLAGS.
21247
21248 2012-08-14  Andreas Jaeger  <aj@suse.de>
21249
21250         * sysdeps/i386/fpu/libm-test-ulps: Update.
21251
21252 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
21253
21254         * include/atomic.h (atomic_exchange_and_add): Split into ...
21255         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
21256         New atomic macros.
21257
21258 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
21259
21260         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21261
21262 2012-08-13  Jeff Law <law@redhat.com>
21263
21264         * manual/stdio.texi (snprintf): Clarify handling of the trailing
21265         null byte in the output string.
21266
21267 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
21268
21269         * sysdeps/unix/sysv/linux/kernel-features.h
21270         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
21271         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
21272         (__ASSUME_ARG_MAX_STACK_BASED): Define.
21273         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
21274         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
21275         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
21276         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
21277
21278 2012-08-09  Jeff Law <law@redhat.com>
21279
21280         [BZ #13939]
21281         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
21282         When avoid_arena is set, don't retry in the that arena.  Pick the
21283         next one, whatever it might be.
21284         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
21285         (arena_lock): Pass in new parameter to arena_get2.
21286         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
21287         arena_get2.
21288         (__libc_malloc): Unify retrying after main arena failure with
21289         __libc_memalign version.
21290         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
21291
21292 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
21293
21294         [BZ #14166]
21295         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
21296         to __redirect_strstr.
21297         (__strstr_sse42): Use typeof __redirect_strstr.
21298         (__strstr_ia32): Likewise.
21299         (__libc_strstr): New prototype.
21300         (strstr): Renamed to ...
21301         (__libc_strstr): This.
21302         (strstr): New strong alias of __libc_strstr.
21303         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
21304         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
21305         __redirect_time.
21306         Include <time.h>.
21307         (__libc_time): New prototype.
21308         (time_ifunc): Replace time with __libc_time.
21309         (time): New strong alias and hidden definition of __libc_time.
21310         (__GI_time): Remove strong alias.
21311         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
21312         Include <stddef.h>.
21313         (memmove): Redefined to __redirect_memmove.
21314         (__memmove_sse2): Use typeof __redirect_memmove.
21315         (__memmove_ssse3): Likewise.
21316         (__memmove_ssse3_back): Likewise.
21317         (__libc_memmove): New prototype.
21318         (memmove): Renamed to ...
21319         (__libc_memmove): This.
21320         (memmove): New strong alias of __libc_memmove.
21321
21322 2012-08-08  Mark Salter  <msalter@redhat.com>
21323
21324         * elf/elf.h
21325         (R_MN10300_TLS_GD): Define.
21326         (R_MN10300_TLS_LD): Likewise.
21327         (R_MN10300_TLS_LDO): Likewise.
21328         (R_MN10300_TLS_GOTIE): Likewise.
21329         (R_MN10300_TLS_IE): Likewise.
21330         (R_MN10300_TLS_LE): Likewise.
21331         (R_MN10300_TLS_DTPMOD): Likewise.
21332         (R_MN10300_TLS_DTPOFF): Likewise.
21333         (R_MN10300_TLS_TPOFF): Likewise.
21334         (R_MN10300_SYM_DIFF): Likewise.
21335         (R_MN10300_ALIGN): Likewise.
21336         (R_MN10300_NUM): Update.
21337
21338 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
21339
21340         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
21341         Remove.
21342
21343 2012-08-08  Roland McGrath  <roland@hack.frob.com>
21344
21345         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
21346
21347         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
21348         sysdeps/unix -> sysdeps/posix move.
21349         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
21350
21351 2012-08-07      Allan McRae     <allan@archlinux.org>
21352
21353         [BZ #14303]
21354         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
21355         (SUNOS_CPP): Likewise.
21356         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
21357         not found.
21358         (open_input): Call CPP using execvp.
21359
21360 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
21361
21362         * sysdeps/unix/sysv/linux/kernel-features.h
21363         (__ASSUME_PROT_GROWSUPDOWN): Remove.
21364         (__ASSUME_NO_CLONE_DETACHED): Likewise.
21365         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
21366         (__ASSUME_WAITID_SYSCALL): Likewise.
21367         * sysdeps/unix/sysv/linux/dl-execstack.c
21368         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
21369         code unconditional.
21370         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
21371         conditional code.
21372         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
21373         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
21374         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
21375         code.
21376         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
21377         unconditional.
21378         [__ASSUME_WAITID_SYSCALL]: Likewise.
21379         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
21380
21381 2012-08-07  Roland McGrath  <roland@hack.frob.com>
21382
21383         * sysdeps/unix/closedir.c: Renamed to ...
21384         * sysdeps/posix/closedir.c: ... here.
21385         * sysdeps/unix/dirfd.c: Renamed to ...
21386         * sysdeps/posix/dirfd.c: ... here.
21387         * sysdeps/unix/dirstream.h: Renamed to ...
21388         * sysdeps/posix/dirstream.h: ... here.
21389         * sysdeps/unix/fdopendir.c: Renamed to ...
21390         * sysdeps/posix/fdopendir.c: ... here.
21391         * sysdeps/unix/opendir.c: Renamed to ...
21392         * sysdeps/posix/opendir.c: ... here.
21393         * sysdeps/unix/readdir.c: Renamed to ...
21394         * sysdeps/posix/readdir.c: ... here.
21395         * sysdeps/unix/readdir_r.c: Renamed to ...
21396         * sysdeps/posix/readdir_r.c: ... here.
21397         * sysdeps/unix/rewinddir.c: Renamed to ...
21398         * sysdeps/posix/rewinddir.c: ... here.
21399         * sysdeps/unix/seekdir.c: Renamed to ...
21400         * sysdeps/posix/seekdir.c: ... here.
21401         * sysdeps/unix/telldir.c: Renamed to ...
21402         * sysdeps/posix/telldir.c: ... here.
21403         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
21404         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
21405         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
21406         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
21407
21408         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
21409         * bits/fcntl.h: ... here.
21410
21411         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
21412         not 0.
21413         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
21414         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
21415         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
21416         (struct flock): Move l_start, l_len to the beginning.
21417         Use __pid_t for l_pid.
21418         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
21419         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
21420         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
21421         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
21422         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
21423         [__USE_LARGEFILE64] (struct flock64): New type.
21424         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
21425
21426         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
21427         * bits/dirent.h: ... here.
21428
21429         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
21430         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
21431
21432 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
21433
21434         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
21435         Change from 2.6.0 to 2.6.16.
21436         * sysdeps/unix/sysv/linux/configure: Regenerated.
21437         * sysdeps/unix/sysv/linux/kernel-features.h
21438         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
21439         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
21440         version.
21441         (__ASSUME_UTIMES): Likewise.
21442         (__ASSUME_CLONE_STOPPED): Remove.
21443         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
21444         architectures, not kernel version.
21445         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
21446         (__ASSUME_NO_CLONE_DETACHED): Likewise.
21447         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
21448         (__ASSUME_WAITID_SYSCALL): Likewise.
21449         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
21450         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
21451         * README: State 2.6.16 as minimum Linux kernel version.  Do not
21452         refer to older versions.
21453
21454 2012-08-06  Roland McGrath  <roland@hack.frob.com>
21455
21456         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
21457         Define alphasort64 as an alias.
21458         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
21459         Define versionsort64 as an alias.
21460         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
21461         Define scandir64 as an alias.
21462         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
21463         Define scandirat64 as an alias.
21464         * dirent/alphasort64.c (alphasort64):
21465         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
21466         * dirent/versionsort64.c: Likewise.
21467         * dirent/scandir64.c: Likewise.
21468         * dirent/scandirat64.c: Likewise.
21469         * sysdeps/wordsize-64/alphasort.c: File removed.
21470         * sysdeps/wordsize-64/alphasort64.c: File removed.
21471         * sysdeps/wordsize-64/scandir.c: File removed.
21472         * sysdeps/wordsize-64/scandir64.c: File removed.
21473         * sysdeps/wordsize-64/scandirat.c: File removed.
21474         * sysdeps/wordsize-64/scandirat64.c: File removed.
21475         * sysdeps/wordsize-64/versionsort.c: File removed.
21476         * sysdeps/wordsize-64/versionsort64.c: File removed.
21477         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
21478         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
21479         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
21480         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
21481         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
21482         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
21483         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
21484         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
21485
21486         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
21487         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
21488         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
21489         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
21490         [defined __arch64__ || defined __sparcv9]
21491         (__INO_T_MATCHES_INO64_T): New macro.
21492         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
21493         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
21494         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
21495         * sysdeps/unix/sysv/linux/bits/dirent.h
21496         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
21497         (_DIRENT_MATCHES_DIRENT64): New macro.
21498
21499         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
21500         Define lockf64 as an alias.
21501         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
21502         Define fseeko64 as an alias.
21503         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
21504         Define ftello64 as an alias.
21505         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
21506         Define _IO_fgetpos64 and fgetpos64 as aliases.
21507         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
21508         Define _IO_fsetpos64 and fsetpos64 as aliases.
21509         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
21510         Conditionalize body on this.
21511         * libio/fseeko64.c: Likewise.
21512         * libio/ftello64.c: Likewise.
21513         * libio/iofgetpos64.c: Likewise.
21514         * libio/iofsetpos64.c: Likewise.
21515         * sysdeps/wordsize-64/lockf.c: File removed.
21516         * sysdeps/wordsize-64/lockf64.c: File removed.
21517         * sysdeps/wordsize-64/fseeko.c: File removed.
21518         * sysdeps/wordsize-64/fseeko64.c: File removed.
21519         * sysdeps/wordsize-64/ftello.c: File removed.
21520         * sysdeps/wordsize-64/ftello64.c: File removed.
21521         * sysdeps/wordsize-64/iofgetpos.c: File removed.
21522         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
21523         * sysdeps/wordsize-64/iofsetpos.c: File removed.
21524         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
21525         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
21526         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
21527         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
21528         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
21529         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
21530         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
21531         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
21532         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
21533         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
21534         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
21535
21536         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
21537         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
21538         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
21539         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
21540         [defined __arch64__ || defined __sparcv9]
21541         (__OFF_T_MATCHES_OFF64_T): New macro.
21542         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
21543         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
21544         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
21545         (__OFF_T_MATCHES_OFF64_T): New macro.
21546
21547 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
21548
21549         * stdlib/secure-getenv.c (__secure_getenv): Replace
21550         GLIBC_2_16 with GLIBC_2_17.
21551
21552 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
21553
21554         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
21555         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
21556
21557 2012-08-03  David S. Miller  <davem@davemloft.net>
21558
21559         * sysdeps/sparc/fpu/libm-test-ulps: Update.
21560
21561 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
21562
21563         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
21564         Remove.
21565         (__ASSUME_CORRECT_SI_PID): Likewise.
21566         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
21567         (__ASSUME_TMPFS_NAME): Likewise.
21568         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
21569         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
21570         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
21571         (HAVE_AUX_SECURE): Make definition unconditional.
21572         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
21573         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
21574
21575 2012-08-03  Roland McGrath  <roland@hack.frob.com>
21576
21577         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
21578         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
21579         * sysdeps/mach/hurd/eloop-threshold.h: New file.
21580         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
21581         __eloop_threshold instead of SYMLOOP_MAX.
21582
21583         * sysdeps/generic/eloop-threshold.h: New file.
21584         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
21585         of MAXSYMLINKS.
21586         * elf/chroot_canon.c (chroot_canon): Likewise.
21587
21588 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
21589
21590         [BZ #13717]
21591         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
21592         Change to 2.6.0 everywhere.
21593         * sysdeps/unix/sysv/linux/configure: Regenerated.
21594         * sysdeps/unix/sysv/linux/kernel-features.h
21595         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
21596         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
21597         kernel versions.
21598         (__ASSUME_POSIX_TIMERS): Define unconditionally.
21599         (__ASSUME_FUTEX_REQUEUE): Remove.
21600         (__ASSUME_STATFS64): Define unconditionally.
21601         (__ASSUME_AT_SECURE): Likewise.
21602         (__ASSUME_CORRECT_SI_PID): Likewise.
21603         (__ASSUME_TGKILL): Define without depending on kernel version for
21604         i386.
21605         (__ASSUME_UTIMES): Likewise.
21606         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
21607         kernel version.
21608         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
21609         (__ASSUME_TMPFS_NAME): Likewise.
21610         * README: Update reference to Linux kernel versions.
21611
21612 2012-08-02  Marek Polacek  <polacek@redhat.com>
21613
21614         [BZ# 14150]
21615         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
21616         libc_cv_asm_type_prefix with %.
21617         * configure: Regenerated.
21618         * include/libc-symbols.h: Remove comment about
21619         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
21620         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
21621         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
21622         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
21623         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
21624         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
21625         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
21626         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
21627         * elf/tst-unique2mod1.c: Likewise.
21628         * elf/tst-unique1mod2.c: Likewise.
21629         * elf/tst-unique1mod1.c: Likewise.
21630         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
21631         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
21632         Replace ASM_TYPE_DIRECTIVE with .type.
21633         * sysdeps/s390/s390-64/sysdep.h: Likewise.
21634         * sysdeps/i386/sysdep.h: Likewise.
21635         * sysdeps/x86_64/sysdep.h: Likewise.
21636         * sysdeps/sh/sysdep.h: Likewise.
21637         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
21638         Do not define ASM_TYPE_DIRECTIVE.
21639         * sysdeps/powerpc/sysdep.h: Likewise.
21640         * sysdeps/powerpc/powerpc32/sysdep.h:
21641         Replace ASM_TYPE_DIRECTIVE with .type.
21642         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
21643         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
21644         * sysdeps/i386/fpu/e_powf.S: Likewise.
21645         * sysdeps/i386/fpu/e_expl.S: Likewise.
21646         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
21647         * sysdeps/i386/fpu/e_acosh.S: Likewise.
21648         * sysdeps/i386/fpu/e_pow.S: Likewise.
21649         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
21650         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
21651         * sysdeps/i386/fpu/s_expm1.S: Likewise.
21652         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
21653         * sysdeps/i386/fpu/e_log2.S: Likewise.
21654         * sysdeps/i386/fpu/e_log2l.S: Likewise.
21655         * sysdeps/i386/fpu/e_scalb.S: Likewise.
21656         * sysdeps/i386/fpu/e_powl.S: Likewise.
21657         * sysdeps/i386/fpu/e_log10f.S: Likewise.
21658         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
21659         * sysdeps/i386/fpu/e_logl.S: Likewise.
21660         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
21661         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
21662         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
21663         * sysdeps/i386/fpu/e_log2f.S: Likewise.
21664         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
21665         * sysdeps/i386/fpu/e_log.S: Likewise.
21666         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
21667         * sysdeps/i386/fpu/e_logf.S: Likewise.
21668         * sysdeps/i386/fpu/e_log10l.S: Likewise.
21669         * sysdeps/i386/fpu/e_atanh.S: Likewise.
21670         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
21671         * sysdeps/i386/fpu/e_log10.S: Likewise.
21672         * sysdeps/i386/fpu/s_frexp.S: Likewise.
21673         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
21674         * sysdeps/i386/fpu/s_asinh.S: Likewise.
21675         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
21676         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
21677         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
21678         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
21679         * sysdeps/i386/i686/strtok.S: Likewise.
21680         * sysdeps/i386/i386-mcount.S: Likewise.
21681         * sysdeps/i386/strtok.S: Likewise.
21682         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
21683         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
21684         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
21685         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
21686         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
21687         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
21688         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
21689         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
21690         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
21691         * sysdeps/x86_64/_mcount.S: Likewise.
21692         * sysdeps/x86_64/strtok.S: Likewise.
21693         * sysdeps/sh/_mcount.S: Likewise.
21694
21695 2012-08-01  Roland McGrath  <roland@hack.frob.com>
21696
21697         * libio/iofopen.c: Include <fcntl.h>.
21698         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
21699         (_IO_fopen64, fopen64): Define as aliases.
21700         * libio/iofopen64.c: Include <fcntl.h>.
21701         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
21702         Conditionalize body on this.
21703         * sysdeps/wordsize-64/iofopen.c: File removed.
21704         * sysdeps/wordsize-64/iofopen64.c: File removed.
21705
21706 2012-08-01  Marek Polacek  <polacek@redhat.com>
21707
21708         * libc/Makeconfig: Use elf in place of binfmt-subdir.
21709         Use dlfcn directly instead of a variable.
21710         (binfmt-subdir): Do not define.
21711         (dlfcn): Likewise.
21712
21713 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
21714
21715         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
21716         Remove all definitions.
21717         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
21718         <kernel-features.h>.
21719         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
21720         (miss_F_GETOWN_EX): Remove all definitions.
21721         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
21722         macro definition.
21723         [!__ASSUME_FCNTL64]: Remove conditional code.
21724         [__ASSUME_FCNTL64]: Make code unconditional.
21725         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
21726         <kernel-features.h>.
21727         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
21728         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
21729         (lockf64) [__NR_fcntl64]: Make code unconditional.
21730         (lockf64) [__ASSUME_FCNTL64]: Likewise.
21731
21732         * sysdeps/unix/sysv/linux/kernel-features.h
21733         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
21734         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
21735         Make code unconditional.
21736         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
21737         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
21738         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
21739         [__NR_vfork]: Make code unconditional.
21740         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
21741         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
21742         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
21743         [__NR_vfork]: Make code unconditional.
21744         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
21745         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
21746
21747 2012-08-01  Roland McGrath  <roland@hack.frob.com>
21748
21749         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
21750         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
21751
21752         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
21753         Define mkstemp64 as an alias.
21754         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
21755         Define mkstemps64 as an alias.
21756         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
21757         Define mkostemp64 as an alias.
21758         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
21759         Define mkostemps64 as an alias.
21760         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
21761         Conditionalize body on this.
21762         * misc/mkostemp64.c: Likewise.
21763         * misc/mkostemps64.c: Likewise.
21764         * misc/mkstemps64.c: Likewise.
21765         * sysdeps/wordsize-64/mkstemp64.c: File removed.
21766         * sysdeps/wordsize-64/mkostemp64.c: File removed.
21767         * sysdeps/wordsize-64/mkostemp.c: File removed.
21768         * sysdeps/wordsize-64/mkstemp.c: File removed.
21769         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
21770         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
21771         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
21772         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
21773
21774         [BZ #14138]
21775         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
21776         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
21777         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
21778         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
21779
21780         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
21781         compat_symbol macros from <shlib-compat.h> rather than the underlying
21782         default_symbol_version and symbol_version macros, so that DEFAULT
21783         lines in shlib-versions are respected.
21784         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
21785
21786 2012-08-01  Florian Weimer  <fweimer@redhat.com>
21787
21788         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
21789         Declare with warn_unused_result.
21790         (setgid, setregid, setegid, setresgid): Likewise.
21791         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
21792         Likewise.
21793         * WUR-REPORT: Remove set*id functions.
21794
21795 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
21796
21797         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
21798
21799 2012-07-31  Roland McGrath  <roland@hack.frob.com>
21800
21801         [BZ #10191]
21802         * include/sys/socket.h (__libc_accept, __libc_accept4):
21803         Add attribute_hidden.
21804         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
21805
21806         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
21807         use of PTR_MANGLE.
21808         * inet/getnetgrent_r.c (setup): Likewise.
21809
21810         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
21811
21812 2012-07-31  David S. Miller  <davem@davemloft.net>
21813
21814         * sysdeps/sparc/fpu/libm-test-ulps: Update.
21815
21816 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
21817
21818         [BZ #13629]
21819         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
21820         value between 1.0 and 2.0 and smaller part has absolute value less
21821         than 1.0.
21822         * math/s_clog10.c (__clog10): Likewise.
21823         * math/s_clog10f.c (__clog10f): Likewise.
21824         * math/s_clog10l.c (__clog10l): Likewise.
21825         * math/s_clogf.c (__clogf): Likewise.
21826         * math/s_clogl.c (__clogl): Likewise.
21827         * math/libm-test.inc (clog_test): Add more tests.
21828         (clog10_test): Likewise.
21829         * sysdeps/i386/fpu/libm-test-ulps: Update.
21830         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21831
21832 2012-07-31  Florian Weimer  <fweimer@redhat.com>
21833
21834         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
21835         Exit with zero in case no suitable GID is found, and write a
21836         message to standard error.
21837
21838 2012-07-30  Roland McGrath  <roland@hack.frob.com>
21839
21840         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
21841         rather than to 1.
21842         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
21843         (MAXPATHLEN): Removed.
21844         (NOGROUP, NODEV): New macros.
21845         (setbit, clrbit, isset, isclr): New macros.
21846         (howmany, roundup, powerof2): New macros.
21847         (DEV_BSIZE): New macro.
21848
21849         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
21850         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
21851
21852         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
21853         definition on [!__NO_LONG_DOUBLE_MATH].
21854
21855         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
21856         PTR_MANGLE and PTR_DEMANGLE.
21857
21858         * socket/accept4.c (accept4): Rename to __libc_accept4.
21859         Define accept4 as a weak alias.
21860
21861         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
21862         on [_DIRENT_HAVE_D_TYPE].
21863         * io/ftw.c (ftw_dir): Likewise.
21864
21865         * io/xmknod.c (__xmknod): Don't check PATH for being null.
21866
21867         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
21868
21869         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
21870         Use the BSD numbers rather than the arbitrary ones we had.
21871         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
21872         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
21873         (SIGXCPU, SIGXFSZ): New macros.
21874         (_NSIG): Now 32.
21875
21876         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
21877         initializer on [_LIBC_REENTRANT].
21878
21879         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
21880         definitions inside [_POSIX_MAPPED_FILES].
21881
21882         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
21883
21884         * dirent/opendir.c: Include <fcntl.h>.
21885
21886         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
21887         (__libc_getspecific): Likewise.
21888         (__libc_key_create): Likewise.
21889
21890         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
21891         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
21892         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
21893         (tmpfile64): Define as alias.
21894         * sysdeps/wordsize-64/tmpfile.c: File removed.
21895         * sysdeps/wordsize-64/tmpfile64.c: File removed.
21896         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
21897         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
21898
21899         * stdio-common/vfscanf.c: Include <stdbool.h>.
21900         * nss/makedb.c: Likewise.
21901         * stdio-common/_i18n_number.h: Likewise.
21902         * argp/argp-help.c: Likewise.
21903         * posix/wordexp.c: Likewise.
21904         * sysdeps/posix/spawni.c: Likewise.
21905         * nss/nss_files/files-initgroups.c: Likewise.
21906         * stdio-common/reg-modifier.c: Include <stdlib.h>.
21907         * nss/nss_files/files-initgroups.c: Likewise.
21908         * nss/nss_db/db-netgrp.c: Likewise.
21909         * nss/nss_db/db-initgroups.c: Likewise.
21910         * io/fchmodat.c: Include <sys/stat.h>.
21911
21912         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
21913         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
21914
21915         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
21916         [HAVE_MMAP].
21917
21918         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
21919         Add multiple inclusion protection.
21920
21921 2012-07-27  David S. Miller  <davem@davemloft.net>
21922
21923         * sysdeps/sparc/fpu/libm-test-ulps: Update.
21924
21925 2012-07-27  Gary Benson  <gbenson@redhat.com>
21926
21927         [BZ #14298]
21928         * elf/rtld.c: Include <stap-probe.h>.
21929         (dl_main): Added static probes "init_start" and "init_complete".
21930         * elf/dl-load.c: Include <stap-probe.h>.
21931         (lose): Take new parameter "nsid".
21932         Added static probe "map_failed".
21933         (_dl_map_object_from_fd): Pass namespace id to lose.
21934         Added static probe "map_start".
21935         (open_verify): Pass namespace id to lose.
21936         * elf/dl-open.c: Include <stap-probe.h>.
21937         (dl_open_worker) Added static probes "map_complete", "reloc_start"
21938         and "reloc_complete".
21939         * elf/dl-close.c: Include <stap-probe.h>.
21940         (_dl_close_worker): Added static probes "unmap_start" and
21941         "unmap_complete".
21942         * elf/rtld-debugger-interface.txt: New file documenting the above.
21943
21944 2012-07-26  Roland McGrath  <roland@hack.frob.com>
21945
21946         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
21947         rather than a string variable.
21948         * sunrpc/rpc_main.c (h_output): Likewise.
21949         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
21950
21951 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
21952
21953         * inet/check_native.c: New file.
21954
21955 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
21956
21957         [BZ #13629]
21958         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
21959         if larger part has absolute value 1.0.
21960         * math/s_clog10.c (__clog10): Likewise.
21961         * math/s_clog10f.c (__clog10f): Likewise.
21962         * math/s_clog10l.c (__clog10l): Likewise.
21963         * math/s_clogf.c (__clogf): Likewise.
21964         * math/s_clogl.c (__clogl): Likewise.
21965         * math/libm-test.inc (clog_test): Add more tests.
21966         (clog10_test): Likewise.
21967         * sysdeps/i386/fpu/libm-test-ulps: Update.
21968         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21969
21970         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
21971         (pltexit): Likewise.
21972         (La_regs): Likewise.
21973         (La_retval): Likewise.
21974         (int_retval): Likewise.
21975         Update #error for removed macros to refer only to definitions in
21976         tst-audit.h.
21977         * elf/tst-auditmod3b.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-auditmod4b.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-auditmod5b.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-auditmod6b.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-auditmod6c.c (pltenter): Remove all definitions of
22002         macro.
22003         (pltexit): Likewise.
22004         (La_regs): Likewise.
22005         (La_retval): Likewise.
22006         (int_retval): Likewise.
22007         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
22008         macro.
22009         (pltexit): Likewise.
22010         (La_regs): Likewise.
22011         (La_retval): Likewise.
22012         (int_retval): Likewise.
22013         * sysdeps/generic/tst-audit.h: Update comment to refer only to
22014         macro definitions in tst-audit.h.
22015         * sysdeps/i386/tst-audit.h: New file.
22016         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
22017         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
22018         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
22019         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
22020         * sysdeps/sh/tst-audit.h: Likewise.
22021         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
22022         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
22023         * sysdeps/x86_64/tst-audit.h: Likewise.
22024
22025 2012-07-26  Andreas Jaeger  <aj@suse.de>
22026
22027         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
22028         ptrace.
22029
22030         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
22031         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
22032         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
22033         PTRACE_O_MASK.
22034         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
22035         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
22036         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
22037
22038         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
22039         value.
22040
22041         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
22042         _sigsys.
22043         (si_call_addr, si_syscall, si_arch): Define new macro.
22044         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
22045         _sigsys.
22046         (si_call_addr, si_syscall, si_arch): Define new marcro.
22047         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
22048         _sigsys.
22049         (si_call_addr, si_syscall, si_arch): Define new macro.
22050         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
22051         _sigsys.
22052         (si_call_addr, si_syscall, si_arch): Define new macro.
22053
22054 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
22055
22056         [BZ #13717]
22057         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
22058         Change to 2.4.21 where previously 2.4.1.
22059         * sysdeps/unix/sysv/linux/configure: Regenerated.
22060         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
22061         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
22062         Linux kernel version.
22063         (__ASSUME_STD_AUXV): Remove.
22064         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
22065         kernel version.
22066         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
22067         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
22068         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
22069         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
22070         (__ASSUME_NETLINK_SUPPORT): Likewise.
22071         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
22072         (__no_netlink_support): Remove conditional definition.
22073         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
22074         Remove.
22075         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
22076         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
22077         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
22078         (if_nameindex_ioctl): Remove.
22079         (if_nameindex_netlink): Do not handle __no_netlink_support.
22080         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
22081         code.
22082         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
22083         Remove conditional code.
22084         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
22085         code.
22086         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
22087         unconditional.
22088         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
22089         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
22090         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
22091         Remove.
22092         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
22093         [!__ASSUME_STD_AUXV]: Remove conditional code.
22094         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
22095         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
22096         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
22097         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
22098         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
22099         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
22100         code.
22101         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
22102         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
22103         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
22104         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
22105         conditional code.
22106         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
22107         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
22108         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
22109         code.
22110         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
22111         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
22112         conditional code.
22113         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
22114         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
22115         code unconditional.
22116         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
22117         conditional code.
22118         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
22119         unconditional.
22120         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
22121         conditional code.
22122         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
22123         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
22124         unconditional.
22125         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
22126         conditional code.
22127         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
22128         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
22129         code unconditional.
22130         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
22131         conditional code.
22132         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
22133         unconditional.
22134         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
22135         conditional code.
22136         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
22137         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
22138         code unconditional.
22139         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
22140         conditional code.
22141         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
22142         unconditional.
22143         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
22144         conditional code.
22145
22146 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
22147
22148         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
22149         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
22150         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
22151         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
22152         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
22153         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
22154         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
22155         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
22156         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
22157         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
22158         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
22159         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
22160         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
22161         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
22162         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
22163         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
22164         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
22165         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
22166         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
22167         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
22168         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
22169         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
22170         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
22171
22172 2012-07-25  Florian Weimer  <fweimer@redhat.com>
22173
22174         * Versions.def: Add GLIBC_2.17.
22175         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
22176         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
22177         Introduce __libc_secure_getenv.
22178         * stdlib/Versions (2.17): Add secure_getenv
22179         (GLIBC_PRIVATE): Add __libc_secure_getenv.
22180         * stdlib/secure-getenv.c: Rename __secure_getenv to
22181         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
22182         symbol __secure_getenv for GLIBC_2.0.
22183         * stdlib/tst-secure-getenv.c: New.
22184         * stdlib/Makefile (tests): Add testcase.
22185         * manual/startup.texi (Environment Access): Document
22186         secure_getenv.
22187         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
22188         __libc_secure_getenv.
22189         * inet/ruserpass.c (ruserpass): Likewise.
22190         * malloc/mtrace.c (mtrace): Likewise.
22191         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
22192         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
22193         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
22194         * sysdeps/posix/tempname.c: Likewise.  Evaluate
22195         HAVE_SECURE_GETENV.
22196         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
22197         __secure_getenv to __libc_secure_getenv.
22198         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
22199         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
22200         Likewise.
22201         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
22202         Likewise.
22203         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
22204         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
22205         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
22206         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
22207         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
22208         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
22209         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
22210
22211 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
22212
22213         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
22214         (struct La_i86_retval): Likewise.
22215         (struct La_x86_64_regs): Likewise.
22216         (struct La_x86_64_retval): Likewise.
22217         (struct La_x32_regs): Likewise.
22218         (struct La_x32_retval): Likewise.
22219         (struct La_ppc32_regs): Likewise.
22220         (struct La_ppc32_retval): Likewise.
22221         (struct La_ppc64_regs): Likewise.
22222         (struct La_ppc64_retval): Likewise.
22223         (struct La_sh_regs): Likewise.
22224         (struct La_sh_retval): Likewise.
22225         (struct La_s390_32_regs): Likewise.
22226         (struct La_s390_32_retval): Likewise.
22227         (struct La_s390_64_regs): Likewise.
22228         (struct La_s390_64_retval): Likewise.
22229         (struct La_sparc32_regs): Likewise.
22230         (struct La_sparc32_retval): Likewise.
22231         (struct La_sparc64_regs): Likewise.
22232         (struct La_sparc64_retval): Likewise.
22233         (struct audit_ifaces): Remove architecture-specific pltenter and
22234         pltexit members.
22235         * sysdeps/i386/ldsodefs.h: New file.
22236         * sysdeps/powerpc/ldsodefs.h: Likewise.
22237         * sysdeps/s390/ldsodefs.h: Likewise.
22238         * sysdeps/sh/ldsodefs.h: Likewise.
22239         * sysdeps/sparc/ldsodefs.h: Likewise.
22240         * sysdeps/x86_64/ldsodefs.h: Likewise.
22241
22242 2012-07-25  Marek Polacek  <polacek@redhat.com>
22243
22244         [BZ #6808]
22245         * math/libm-test.inc (yn_test): Add another test.
22246         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
22247         to ERANGE when the result is +-Inf.
22248         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
22249         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
22250         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
22251         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
22252
22253 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
22254
22255         * conform/data/time.h-data (NULL): Use macro-constant.  Require
22256         equal to 0.
22257         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
22258         clock_t.
22259         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
22260
22261 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
22262
22263         * configure.in <sysdeps resolving>: Correct printing
22264         Implies_before.
22265         * configure: Regenerate.
22266
22267 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
22268
22269         * math/w_ilogb.c: Include <limits.h>.
22270         * math/w_ilogbl.c: Likewise.
22271
22272 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
22273
22274         * manual/lang.texi (__va_copy): Document primarily as ISO C99
22275         va_copy.  Document allowing for unavailable va_copy only as
22276         pre-C99 compatibility.
22277         * manual/string.texi (Copying and Concatenation): Use va_copy
22278         instead of __va_copy in concat example.
22279
22280 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
22281
22282         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
22283         (__sendto): Use create_address_port.  Initialize APORT and deallocate
22284         it if not null.
22285
22286         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
22287         with O_NOLINK passed to __file_name_lookup.
22288
22289         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
22290         with O_NOLINK passed to __file_name_lookup.
22291
22292         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
22293         negative N or less than NGIDS.
22294
22295         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
22296         type to string_t.  Set ERANGE as errno and return it if NAME is not big
22297         enough.  Use memcpy instead of strncpy.
22298
22299 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
22300
22301         * elf/Makefile (check-data): Remove.
22302         (localplt.data): New vpath directive.
22303         ($(objpfx)check-localplt.out): Use localplt.data from vpath
22304         instead of $(check-data).
22305         * scripts/data/localplt-generic.data: Move to ...
22306         * sysdeps/generic/localplt.data: ... here.
22307         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
22308         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
22309         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
22310         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
22311         ... here.
22312         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
22313         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
22314         ... here.
22315         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
22316         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
22317         ... here.
22318         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
22319         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
22320         ... here.
22321         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
22322         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
22323         ... here.
22324         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
22325         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
22326         ... here.
22327
22328 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22329
22330         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
22331         PPC32 and PPC64 files.
22332         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
22333         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
22334
22335 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
22336
22337         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
22338         __makecontext_ret to ...
22339         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
22340         ... here and call exit if uc_link is NULL.  New file.
22341         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
22342         __makecontext_ret.S.
22343         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
22344         __makecontext_ret to ...
22345         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
22346         ... here and call exit if uc_link is NULL.  New file.
22347         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
22348         __makecontext_ret.S.
22349
22350 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
22351
22352         * elf/elf.h (R_390_IRELATIVE): New definition.
22353         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
22354         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
22355         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
22356         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
22357         (elf_machine_lazy_rel): Likewise.
22358         * sysdeps/s390/dl-irel.h: New file.
22359         * sysdeps/s390/s390-64/memcpy.S: New asm code.
22360         * sysdeps/s390/s390-64/memset.S: New asm code.
22361         * sysdeps/s390/s390-64/memcmp.S: New asm code.
22362         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
22363         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
22364         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
22365         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
22366         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
22367         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
22368         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
22369         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
22370         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
22371         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
22372         * sysdeps/s390/s390-32/memcpy.S: New asm code.
22373         * sysdeps/s390/s390-32/memset.S: New asm code.
22374         * sysdeps/s390/s390-32/memcmp.S: New asm code.
22375
22376 2012-07-17  Marek Polacek  <polacek@redhat.com>
22377
22378         [BZ #14349]
22379         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
22380         * sysdeps/s390/s390-64/configure.in: Likewise.
22381         * sysdeps/sparc/configure.in: Likewise.
22382         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
22383         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
22384         * sysdeps/i386/configure.in: Likewise.
22385         * sysdeps/x86_64/configure.in: Likewise.
22386         * sysdeps/sh/configure.in: Likewise.
22387         * sysdeps/s390/s390-32/configure: Regenerated.
22388         * sysdeps/s390/s390-64/configure: Likewise.
22389         * sysdeps/x86_64/configure: Likewise.
22390         * sysdeps/sh/configure: Likewise.
22391         * sysdeps/powerpc/powerpc64/configure: Likewise.
22392         * sysdeps/powerpc/powerpc32/configure: Likewise.
22393         * sysdeps/sparc/configure: Likwise.
22394         * sysdeps/i386/configure: Likewise.
22395
22396         * elf/dl-open.c: Comment fixes.
22397
22398 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
22399
22400         * Makefile [CXX] (check-data): Remove.
22401         [CXX] (c++-types.data): New vpath directive.
22402         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
22403         vpath.  Do not allow for C++ type data being missing.
22404         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
22405         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
22406         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
22407         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
22408         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
22409         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
22410         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
22411         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
22412         ... here.
22413         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
22414         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
22415         ... here.
22416         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
22417         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
22418         ... here.
22419         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
22420         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
22421         ... here.
22422         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
22423         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
22424         ... here.
22425         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
22426         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
22427         ... here.
22428         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
22429         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
22430         ... here.
22431         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
22432         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
22433
22434         * elf/tls-macros.h (TLS_LE): Move architecture-specific
22435         definitions to architecture-specific files.
22436         (TLS_IE): Likewise.
22437         (TLS_LD): Likewise.
22438         (TLS_GD): Likewise.
22439         * sysdeps/i386/tls-macros.h: New file.
22440         * sysdeps/powerpc/tls-macros.h: Likewise.
22441         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
22442         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
22443         * sysdeps/sh/tls-macros.h: Likewise.
22444         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
22445         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
22446         * sysdeps/x86_64/tls-macros.h: Likewise.
22447
22448 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
22449
22450         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
22451         zero value for regular exit case.
22452
22453         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
22454         (__start_context): Preserve zero value for regular exit case.
22455
22456 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
22457             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
22458
22459         * manual/setjmp.texi (setcontext): Clarify normal process
22460         termination when uc_link is the null pointer.
22461         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
22462         exit call.
22463
22464 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
22465
22466         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
22467         preprocessor.  Test for each exception mask separately.
22468
22469 2012-07-16  Andreas Jaeger  <aj@suse.de>
22470
22471         * po/ru.po: Update from translation team.
22472
22473 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
22474
22475         * conform/data/string.h-data (NULL): Use macro-constant.  Require
22476         equal to 0.
22477         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
22478         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
22479         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
22480         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
22481         [ISO || ISO99 || ISO11] (*_t): Do not allow.
22482
22483 2012-07-13  Andreas Jaeger  <aj@suse.de>
22484
22485         * po/fr.po: Update from translation team.
22486
22487 2012-07-12  Marek Polacek  <polacek@redhat.com>
22488
22489         [BZ #14173]
22490         * math/libm-test.inc (yn_test): Add test for BZ #14173.
22491         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
22492         loop condition.
22493
22494 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
22495
22496         [BZ #13717]
22497         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
22498         Change to 2.4.1 where previously 2.4.0.
22499         * sysdeps/unix/sysv/linux/configure: Regenerated.
22500         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
22501         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
22502         version.
22503         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
22504         (__ASSUME_AT_CLKTCK): Remove.
22505         (__ASSUME_AT_PAGESIZE): Likewise.
22506         (__ASSUME_AT_XID): Likewise.
22507         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
22508         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
22509         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
22510         unconditionally.
22511         (HAVE_AUX_PAGESIZE): Likewise.
22512         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
22513         [__ASSUME_AT_CLKTCK]: Make code unconditional.
22514         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
22515
22516 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
22517
22518         [BZ #14307]
22519         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
22520         the temporary buffer used to invoke __gethostbyname2_r,
22521         __gethostbyaddr_r and gethostbyname4_r to make room for struct
22522         host_data / struct gaih_addrtuple.
22523         * resolv/nss_dns/dns-host.c (global scope): Move definition of
22524         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
22525         header file nss/nsswitch.h.
22526         * nss/nsswitch.h (global scope): Add definition of implementation
22527         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
22528         resolv/nss_dns/dns-host.c).
22529
22530 2012-07-11  Andreas Jaeger  <aj@suse.de>
22531
22532         * po/fr.po: Update from translation team.
22533
22534         * po/sv.po: Update from translation team
22535         * po/fr.po: Another update from translation team.
22536
22537 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22538
22539         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
22540         for subnormals or multiply small sinh result by itself.
22541         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
22542         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22543
22544 2012-07-11  David S. Miller  <davem@davemloft.net>
22545
22546         * sysdeps/sparc/fpu/libm-test-ulps: Update.
22547
22548 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
22549
22550         [BZ #14347]
22551         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
22552         (INTERNAL_MARK): Shift it here.
22553
22554 2012-07-10  Marek Polacek  <polacek@redhat.com>
22555
22556         [BZ #14151]
22557         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
22558         libc_cv_asm_global_directive with .globl.
22559         * configure: Regenerated.
22560         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
22561         with .globl.
22562         * sysdeps/i386/configure: Regenerated.
22563         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
22564         with .globl.
22565         * sysdeps/x86_64/configure: Regenerated.
22566         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
22567         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
22568         * elf/tst-unique2mod2.c: Likewise.
22569         * elf/tst-unique2mod1.c: Likewise.
22570         * elf/tst-unique1mod2.c: Likewise.
22571         * elf/tst-unique1mod1.c: Likewise.
22572         * sysdeps/s390/s390-32/sysdep.h: Likewise.
22573         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
22574         * sysdeps/s390/s390-64/sysdep.h: Likewise.
22575         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
22576         * sysdeps/mach/sysdep.h: Likewise.
22577         * sysdeps/i386/sysdep.h: Likewise.
22578         * sysdeps/i386/i386-mcount.S: Likewise.
22579         * sysdeps/x86_64/_mcount.S: Likewise.
22580         * sysdeps/x86_64/sysdep.h: Likewise.
22581         * sysdeps/sh/_mcount.S: Likewise.
22582         * sysdeps/sh/sysdep.h: Likewise.
22583         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
22584         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
22585         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
22586         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
22587         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
22588         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
22589         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
22590         * locale/localeinfo.h: Likewise.
22591         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
22592         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
22593
22594 2012-07-09  Roland McGrath  <roland@hack.frob.com>
22595
22596         [BZ #14336]
22597         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
22598         system".
22599         * manual/message.texi (The Uniforum approach): Likewise.
22600         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
22601         (glibc iconv Implementation): Likewise.
22602
22603 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
22604
22605         [BZ #14337]
22606         * math/s_clog.c (__clog): Avoid scaling a value down where that
22607         could result in underflow.
22608         * math/s_clog10.c (__clog10): Likewise.
22609         * math/s_clog10f.c (__clog10f): Likewise.
22610         * math/s_clog10l.c (__clog10l): Likewise.
22611         * math/s_clogf.c (__clogf): Likewise.
22612         * math/s_clogl.c (__clogl): Likewise.
22613         * math/libm-test.inc (clog_test): Add more tests.
22614         (clog10_test): Likewise.
22615         * sysdeps/i386/fpu/libm-test-ulps: Update.
22616         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22617
22618 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
22619
22620         [BZ #14283]
22621         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
22622         by 7 not 8 to examine high bit of fractional part.
22623
22624         [BZ #14042]
22625         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
22626         for call to __mcount_internal.
22627         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
22628         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
22629         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
22630
22631 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
22632
22633         [BZ #14154]
22634         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
22635         approximation for values within 0x1p-13f of an odd multiple of
22636         pi/4.
22637         * math/libm-test.inc (tan_test): Do not allow spurious underflow
22638         exception.  Add more tests.
22639         * sysdeps/i386/fpu/libm-test-ulps: Update.
22640
22641         [BZ #6778]
22642         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
22643         inputs and return -1 for them.  Do not check for +Inf in case not
22644         reachable for +Inf.
22645         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
22646         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
22647         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
22648         and return -1 for them.  Do not check for +Inf in case not
22649         reachable for +Inf.
22650         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
22651         define.
22652         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
22653         and return -1 for them.  Do not check for +Inf in case not
22654         reachable for +Inf.
22655         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
22656         spurious underflow.
22657         * sysdeps/i386/fpu/libm-test-ulps: Update.
22658         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22659
22660 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
22661
22662         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
22663
22664 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
22665
22666         [BZ #14157]
22667         [BZ #14331]
22668         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
22669         could result in spurious underflow.  Scale down values above
22670         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
22671         * math/s_csqrtf.c (__csqrtf): Likewise.
22672         * math/s_csqrtl.c (__csqrtl): Likewise.
22673         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
22674         spurious underflow.
22675         * sysdeps/i386/fpu/libm-test-ulps: Update.
22676         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22677
22678 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
22679
22680         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
22681         xopen-msg.sed.
22682         * catgets/xopen-msg.awk: New file.
22683         * catgets/xopen-msg.sed: Removed.
22684
22685         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
22686         po2text.sed.
22687         * intl/po2test.awk: New file.
22688         * intl/po2test.sed: Removed.
22689
22690 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
22691
22692         [BZ #14328]
22693         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
22694         or multiply small sinh result by itself.
22695         * math/s_ctanf.c (__ctanf): Likewise.
22696         * math/s_ctanh.c (__ctanh): Likewise.
22697         * math/s_ctanhf.c (__ctanhf): Likewise.
22698         * math/s_ctanhl.c (__ctanhl): Likewise.
22699         * math/s_ctanl.c (__ctanl): Likewise.
22700         * math/libm-test.inc (ctan_test_tonearest): New function.
22701         (ctan_test_towardzero): Likewise.
22702         (ctan_test_downward): Likewise.
22703         (ctan_test_upward): Likewise.
22704         (ctanh_test_tonearest): Likewise.
22705         (ctanh_test_towardzero): Likewise.
22706         (ctanh_test_downward): Likewise.
22707         (ctanh_test_upward): Likewise.
22708         (main): Call these new functions.
22709         * sysdeps/i386/fpu/libm-test-ulps: Update.
22710         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22711
22712 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
22713
22714         * .gitignore: Delete /ports entry.
22715
22716 2012-07-03  Andreas Jaeger  <aj@suse.de>
22717
22718         * po/bg.po: Update from translation team.
22719         * po/cs.po: Likewise.
22720         * po/de.po: Likewise.
22721         * po/hr.po: Likewise.
22722         * po/nl.pl: Likewise.
22723         * po/pl.po: Likewise.
22724         * po/vi.po: Likewise.
22725
22726 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
22727
22728         * Makeconfig [!+link] (+link-before-libc): New variable.
22729         [!+link] (+link-after-libc): Likewise.
22730         [!+link] (+link-tests): Likewise.
22731         [!+link] (+link): Define in terms of $(+link-before-libc) and
22732         $(+link-after-libc).
22733         [!+link-static] (+link-static-before-libc): New variable.
22734         [!+link-static] (+link-static-after-libc): Likewise.
22735         [!+link-static] (+link-static-tests): Likewise.
22736         [!+link-static] (+link-static): Define in terms of
22737         $(+link-static-before-libc) and $(+link-static-after-libc).
22738         [build-shared] (link-libc-before-gnulib): New variable.
22739         [build-shared] (link-libc-tests): Likewise.
22740         [build-shared] (link-libc): Define in terms of
22741         $(link-libc-before-gnulib).
22742         [!build-shared] (link-libc-tests): New variable.
22743         (link-libc-static-tests): New variable.
22744         [!gnulib] (gnulib-arch): New variable.
22745         [!gnulib] (gnulib-tests): Likewise.
22746         [!gnulib] (static-gnulib-arch): Likewise.
22747         [!gnulib] (static-gnulib-tests): Likewise.
22748         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
22749         Define with "=" instead of ":=".
22750         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
22751         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
22752         * Rules (binaries-all-notests): New variable.
22753         (binaries-all-tests): Likewise.
22754         (binaries-static-notests): Likewise.
22755         (binaries-static-tests): Likewise.
22756         (binaries-all): Define using $(binaries-all-notests) and
22757         $(binaries-all-tests).
22758         (binaries-static): Define using $(binaries-static-notests) and
22759         $(binaries-static-tests).
22760         (binaries-shared-tests): New variable.
22761         (binaries-shared-notests): Likewise.
22762         (binaries-shared): Remove variable.
22763         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
22764         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
22765         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
22766         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
22767         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
22768         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
22769         * elf/Makefile (sln-modules): New variable.
22770         (extra-objs): Add $(sln-modules:=.o).
22771         (ldconfig-modules): Add static-stubs.
22772         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
22773         * elf/static-stubs.c: New file.
22774
22775         [BZ #14283]
22776         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
22777         by 7 not 8 to examine high bit of fractional part.  Use volatile
22778         variables when splitting into final array of floats if
22779         __FLT_EVAL_METHOD__ != 0.
22780         * math/libm-test.inc (cos_test): Add another test.
22781         (sin_test): Likewise.
22782         * sysdeps/i386/fpu/libm-test-ulps: Update.
22783
22784         [BZ #14273]
22785         * math/libm-test.inc (cosh_test): Add more tests.
22786
22787         * version.h (RELEASE): Set to "development".
22788         (VERSION): Set to "2.16.90".
22789
22790 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
22791
22792         * NEWS: Update copyright. Remove last-updated date.
22793         Mention math library bug fixes and timezone data changes.
22794         * README: Mention GNU/Hurd, x32, and HPPA support status.
22795
22796 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
22797
22798         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
22799
22800 2012-06-27  Andreas Jaeger  <aj@suse.de>
22801
22802         * manual/contrib.texi (Contributors): Add Samuel Thibault.
22803
22804 2012-06-25  Andreas Jaeger  <aj@suse.de>
22805
22806         * sysdeps/s390/fpu/libm-test-ulps: Update.
22807
22808 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
22809             Thomas Schwinge  <thomas@codesourcery.com>
22810
22811         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
22812         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
22813         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
22814         fanotify_mark.
22815
22816 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
22817
22818         * sysdeps/mach/start.c: Remove file.
22819         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
22820         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
22821         * sysdeps/sh/init-first.c: Likewise.
22822
22823         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
22824         registers for frame unwinding purposes, add CFI directives.
22825         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
22826         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
22827         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
22828         Likewise.
22829
22830         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
22831         __fortify_fail returning.
22832         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
22833
22834         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
22835         sysdeps/sh/____longjmp_chk.S.
22836         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
22837         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
22838         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
22839         (gen-as-const-headers): Append sigaltstack-offsets.sym.
22840
22841         * sysdeps/sh/abort-instr.h: New file.
22842         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
22843         process in case exit returns.
22844
22845         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
22846         initialize the GOT register before use.
22847
22848         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
22849         calculation of ARGC > 4.
22850
22851         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
22852         meaningful names to some local labels.
22853
22854 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
22855             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
22856
22857         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
22858         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
22859         (__arch_compare_and_exchange_val_16_acq): Likewise.
22860         (__arch_compare_and_exchange_val_32_acq): Likewise.
22861         (atomic_exchange_and_add): Fix gUSA sequence.
22862         (atomic_add): Likewise.
22863         (atomic_add_negative): Likewise.
22864         (atomic_add_zero): Likewise.
22865         (atomic_bit_test_set): Likewise.
22866
22867 2012-06-22  Andreas Schwab  <schwab@redhat.com>
22868
22869         [BZ #13579]
22870         * include/link.h (struct link_map): Add l_free_initfini.
22871         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
22872         l_initfini.
22873         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
22874         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
22875         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
22876         set.
22877
22878 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
22879
22880         * configure.in: Use AC_LANG_SOURCE.
22881         * configure: Regenerate.
22882
22883 2012-06-22  Roland McGrath  <roland@hack.frob.com>
22884
22885         * configure.in (libc_cv_localstatedir): New substituted variable.
22886         * configure: Regenerated.
22887         * config.make.in (localstatedir): New variable, substituted from
22888         libc_cv_localstatedir.
22889         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
22890         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
22891         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
22892         * sysdeps/gnu/configure: Regenerated.
22893
22894 2012-06-21  Jeff Law  <law@redhat.com>
22895
22896         [BZ #14277]
22897         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
22898         free.  Simplify list management for _LIBC case.
22899
22900 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
22901
22902         [BZ #14273]
22903         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
22904         Clear sign bit of 64-bit integer value before comparing against
22905         overflow value.
22906
22907         * sysdeps/mach/configure: Regenerated.
22908
22909 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
22910
22911         [BZ #14278]
22912         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
22913
22914 2012-06-21  Jeff Law  <law@redhat.com>
22915
22916         [BZ #13882]
22917         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
22918         uint16_t for elements in the "seen" array to avoid char overflows.
22919         * elf/dl-fini.c (_dl_sort_fini): Likewise.
22920         * elf/dl-open.c (dl_open_worker): Likewise.
22921
22922 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
22923
22924         * scripts/list-sources.sh: Scan PORTS for translations.
22925         * po/libc.pot: Regenerated.
22926
22927 2012-06-21  Andreas Jaeger  <aj@suse.de>
22928
22929         [BZ #12194]
22930         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
22931         warning.
22932         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
22933         * bits/byteswap-16.h (__bswap_16): Likewise.
22934         * bits/byteswap.h (__bswap_constant_16): Likewise.
22935
22936 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
22937
22938         [BZ #14117]
22939         * sysdeps/i386/fpu_control.h: Removed.
22940         * sysdeps/x86_64/fpu_control.h: Moved to ...
22941         * sysdeps/x86/fpu_control.h: Here.
22942
22943         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
22944         (_FPU_SETCW): Likewise.
22945
22946 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
22947
22948         [BZ #14117]
22949         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
22950         * sysdeps/x86/fpu/bits/mathinline.h: This.
22951         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
22952
22953         [BZ #14050]
22954         [BZ #14117]
22955         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
22956         functions if __x86_64__ is defined.
22957
22958 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
22959
22960         * string/endian.h: Add !__ASSEMBLER__ condition for including
22961         conversion interfaces.
22962
22963 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
22964
22965         [BZ #14241]
22966         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
22967         of ABS(x) in calculating zero to negative powers other than odd
22968         integers.
22969         * math/libm-test.inc (pow_test): Add more tests.
22970
22971 2012-06-15  Andreas Jaeger  <aj@suse.de>
22972
22973         * manual/contrib.texi (Contributors): Update entry of Liubov
22974         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
22975         Machado Filho.
22976
22977 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
22978
22979         * string/string.h: Add __wur to GNU version of strerror_r.
22980
22981 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
22982
22983         [BZ #14229]
22984         * string/Makefile (tests): Add tst-strtok_r.
22985         * string/tst-strtok_r.c: New file.
22986         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
22987         RAX_LP/RDX_LP on SAVE_PTR.
22988
22989 2012-06-14  Roland McGrath  <roland@hack.frob.com>
22990
22991         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
22992
22993 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
22994
22995         * libm_test.inc (csqrt_test): Allow more spurious underflow
22996         exceptions.
22997         (j0_test): Likewise.
22998         (j1_test): Likewise.
22999         (y0_test): Likewise.
23000         (y1_test): Likewise.
23001
23002 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
23003
23004         * po/Makefile (libc.pot): Use UTF-8 charset.
23005
23006 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
23007
23008         [BZ #14210]
23009         Suppress sign-conversion warning from FD_SET.
23010         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
23011         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
23012         not unsigned long int.
23013         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
23014
23015 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
23016
23017         [BZ #14050]
23018         [BZ #14117]
23019         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
23020         __extern_always_inline instead of __extern_inline.
23021         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
23022         (__signbit): Likewise.
23023         (__signbitl): Support C++ namespace.
23024         (lrintf): New inline function.
23025         (lrint): Likewise.
23026         (llrintf): Likewise.
23027         (llrint): Likewise.
23028         (fmaxf): Likewise.
23029         (fmax): Likewise.
23030         (fminf): Likewise.
23031         (fmin): Likewise.
23032         (rint): Likewise.
23033         (rintf): Likewise.
23034         (ceil): Likewise.
23035         (ceilf): Likewise.
23036         (floor): Likewise.
23037         (floorf): Likewise.
23038         (nearbyint): Likewise.
23039         (nearbyintf): Likewise.
23040
23041 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
23042
23043         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
23044         non-default versions.
23045
23046 2012-06-11  Roland McGrath  <roland@hack.frob.com>
23047
23048         [BZ #14218]
23049         * manual/argp.texi (Argp): Reword argp_parse description slightly.
23050
23051 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
23052
23053         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
23054         (FE_UPWARD, FE_DOWNWARD): Don't define.
23055         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
23056         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
23057
23058         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
23059         reading it.
23060         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
23061         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
23062
23063 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
23064
23065         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
23066         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
23067         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
23068         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
23069
23070 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
23071
23072         [BZ #14117]
23073         * sysdeps/i386/fpu/bits/fenv.h: Removed.
23074         * sysdeps/i386/fpu/Implies: New file.
23075         * sysdeps/x86_64/fpu/Implies: Likewise.
23076         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
23077         * sysdeps/x86/fpu/bits/fenv.h: This.
23078
23079         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
23080         __SSE_MATH__.
23081
23082 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
23083
23084         [BZ #14134]
23085         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
23086         character 0xffff that matches the last element of the
23087         conversion table.
23088
23089 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23090
23091         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
23092         fmodl commit.
23093
23094 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23095
23096         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
23097         values higher than 25.6283.
23098
23099 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23100
23101         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
23102         subnormal exponent extraction and add some __builtin_expect.
23103         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
23104         Fix for subnormal mantissa calculation.
23105
23106 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
23107
23108         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
23109         cpu2 is -1 and errno is not ENOSYS.
23110
23111 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
23112
23113         [BZ #14117]
23114         * sysdeps/i386/i486/bits/string.h: Renamed to ...
23115         * sysdeps/x86/bits/string.h: This.
23116         * sysdeps/x86_64/bits/string.h: Removed.
23117
23118         * sysdeps/i386/i486/bits/string.h: Define inline functions only
23119         if not compiling for x86-64, but compiling for >= i486.
23120
23121         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
23122         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
23123
23124         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
23125         New macro from Linux kernel 3.4.0.
23126         (FP_XSTATE_MAGIC2): Likewise.
23127         (FP_XSTATE_MAGIC2_SIZE): Likewise.
23128         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
23129         (struct _fpx_sw_bytes): New struct.
23130         (struct _xsave_hdr): Likewise.
23131         (struct _ymmh_state): Likewise.
23132         (struct _xstate): Likewise.
23133
23134         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
23135         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
23136         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
23137         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
23138         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
23139         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
23140
23141         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
23142         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
23143         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
23144         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
23145         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
23146         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
23147
23148 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
23149
23150         [BZ #13743]
23151         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
23152         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
23153         (sysdep_headers): Include sys/platform/ppc.h.
23154         * sysdeps/powerpc/test-gettimebase.c: Test for
23155         __ppc_get_timebase() to catch future ISA opcode/insn changes.
23156         * manual/Makefile (appendices): Include platform.texi.
23157         * manual/contrib.texi (Contributors): Update @node pointers.
23158         * manual/maint.texi (Maintenance): Likewise.
23159         (Platform): New node.
23160         * manual/platform.texi: New file.  Document the new features.
23161
23162 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
23163             Jakub Jelinek  <jakub@redhat.com>
23164
23165         [BZ #14188]
23166         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
23167         where __builtin_expect is unavailable.
23168
23169 2012-06-03  David S. Miller  <davem@davemloft.net>
23170
23171         * stdlib/longlong.h: Updated from GCC.
23172
23173 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
23174
23175         [BZ #14042]
23176         * sysdeps/powerpc/powerpc32/mcount.c: New file.
23177         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
23178         __mcount_internal.
23179         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
23180         (GLIBC_2.16): Likewise.
23181
23182 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
23183
23184         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
23185
23186 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
23187
23188         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
23189         (default-abi): New variable.
23190         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
23191         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
23192         variable.
23193         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
23194         Likewise.
23195         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
23196         Likewise.
23197         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
23198         Likewise.
23199
23200         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
23201         definition.  Document in comment.
23202
23203 2012-06-01  David S. Miller  <davem@davemloft.net>
23204
23205         * stdlib/longlong.h: Updated from GCC.
23206
23207 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
23208
23209         [BZ #14117]
23210         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
23211         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
23212         sys/debugreg.h sys/io.h here.
23213         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
23214         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
23215         sys/io.h.
23216         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
23217         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
23218         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
23219         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
23220         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
23221         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
23222
23223         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
23224         Define only if __x86_64__ is defined.
23225
23226 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
23227
23228         [BZ #14048]
23229         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
23230         Use int64_t for variable i.
23231         * math/libm-test.inc (fmod_test): Add more tests.
23232
23233         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
23234         z computation is not scheduled after fetestexcept.
23235         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
23236         Use math_force_eval instead of asm to ensure calculation scheduled
23237         before exception test.
23238         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
23239         Ensure a1 + u.d computation is not scheduled after fetestexcept.
23240
23241 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
23242
23243         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
23244         computation is not scheduled after fetestexcept.
23245
23246 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
23247
23248         [BZ #14117]
23249         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
23250         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
23251
23252 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23253
23254         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
23255         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
23256
23257 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
23258
23259         [BZ #14117]
23260         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
23261         <bits/wordsize.h>.
23262         (__WCHAR_MIN): Support __WORDSIZE == 64.
23263         (__WCHAR_MAX): Likewise.
23264
23265         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
23266         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
23267
23268         [BZ #14183]
23269         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
23270         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
23271
23272         [BZ #14117]
23273         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
23274         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
23275
23276         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
23277         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
23278
23279         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
23280         Defined to 1 if __x86_64__ isn't defined.
23281         (_STAT_VER_LINUX_OLD): New.
23282         (st_atime): Remove duplicate.
23283         (st_mtime): Likewise.
23284         (st_ctime): Likewise.
23285
23286 2012-05-31  David S. Miller  <davem@davemloft.net>
23287
23288         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
23289         entries.
23290
23291 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
23292
23293         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
23294         gen-libm-test.pl.
23295
23296         [BZ #14132]
23297         * elf/dl-reloc.c: Include <_itoa.h>.
23298         (_dl_reloc_bad_type): Remove use of INTUSE.
23299         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
23300         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
23301         * stdio-common/psiginfo.c (psiginfo): Likewise.
23302         * stdio-common/psignal.c (psignal): Likewise.
23303         * string/strsignal.c (strsignal): Likewise.
23304         * include/signal.h (_sys_siglist): Declare hidden proto.
23305         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
23306         INTVARDEF with libc_hidden_data_def.
23307         * stdio-common/itoa-udigits.c: Likewise.
23308         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
23309         (_itoa_lower_digits_internal): Remove declaration.
23310         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
23311         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
23312         (_sys_sigabbrev_internal): Remove aliases.
23313         (_sys_siglist): Define hidden alias.
23314
23315 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
23316
23317         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
23318         bits/sysctl.h.
23319
23320 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
23321
23322         [BZ #14117]
23323         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
23324         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
23325
23326         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
23327         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
23328         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
23329         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
23330         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
23331         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
23332
23333         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
23334         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
23335         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
23336
23337         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
23338         with __addr.
23339         (insw): Likewise.
23340         (insl): Likewise.
23341         (outsb): Likewise.
23342         (outsw): Likewise.
23343         (outsl): Likewise.
23344
23345         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
23346         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
23347         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
23348
23349         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
23350         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
23351         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
23352         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
23353         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
23354         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
23355
23356         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
23357         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
23358
23359         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
23360         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
23361
23362         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
23363         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
23364         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
23365
23366         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
23367         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
23368         to ...
23369         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
23370
23371         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
23372         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
23373         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
23374
23375         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
23376         for x86-64.
23377         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
23378
23379 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
23380
23381         * math/math.h (M_El): Use two more decimal places.
23382         (M_LOG2El): Likewise.
23383         (M_LOG10El): Likewise.
23384         (M_LN2l): Likewise.
23385         (M_LN10l): Likewise.
23386         (M_PIl): Likewise.
23387         (M_PI_2l): Likewise.
23388         (M_PI_4l): Likewise.
23389         (M_1_PIl): Likewise.
23390         (M_2_PIl): Likewise.
23391         (M_2_SQRTPIl): Likewise.
23392         (M_SQRT2l): Likewise.
23393         (M_SQRT1_2l): Likewise.
23394
23395 2012-05-31  David S. Miller  <davem@davemloft.net>
23396
23397         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
23398         values between float registers.
23399         * sysdeps/sparc/sparc64/memset.S: Likewise.
23400         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
23401
23402 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
23403
23404         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
23405         -D_FORTIFY_SOURCE=1.
23406         (CPPFLAGS-tst-longjmp_chk.c): Define.
23407         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
23408         (CPPFLAGS-tst-longjmp_chk2.c): Define.
23409         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
23410         CFLAGS-tst-wchar-h.c.
23411
23412 2012-05-31  Marek Polacek  <polacek@redhat.com>
23413
23414         [BZ #14132]
23415         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
23416         __endmntent_internal): Remove declaration.
23417         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
23418         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
23419         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
23420
23421 2012-05-30  David S. Miller  <davem@davemloft.net>
23422
23423         * sysdeps/sparc/sparc32/soft-fp/q_util.c
23424         (___Q_simulate_exceptions): Use real FP ops rather than writing
23425         into the %fsr.
23426         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
23427         Likewise.
23428
23429 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
23430
23431         [BZ #14117]
23432         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
23433         * sysdeps/x86/bits/xtitypes.h: This.
23434
23435         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
23436         * sysdeps/x86/bits/wordsize.h: This.
23437
23438         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
23439         * sysdeps/x86/bits/huge_vall.h: This.
23440
23441         * sysdeps/i386/bits/select.h: Removed.
23442         * sysdeps/x86_64/bits/select.h: Renamed to ...
23443         * sysdeps/x86/bits/select.h: This.
23444
23445         * sysdeps/i386/bits/setjmp.h: Removed.
23446         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
23447         * sysdeps/x86/bits/setjmp.h: This.
23448
23449         * sysdeps/i386/bits/mathdef.h: Removed.
23450         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
23451         * sysdeps/x86/bits/mathdef.h: This.
23452
23453 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
23454
23455         [BZ #14132]
23456         * include/sys/socket.h (__connect_internal)
23457         (__libc_sa_len_internal): Remove declaration.
23458         (__connect, __libc_sa_len): Declare hidden_proto.
23459         (SA_LEN): Remove use of INTUSE.
23460         * socket/connect.c: Add libc_hidden_def.
23461         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
23462         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
23463         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
23464         alias.
23465         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
23466         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
23467         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
23468         of adding _internal alias.
23469
23470 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
23471
23472         [BZ #14117]
23473         * sysdeps/i386/bits/link.h: Removed.
23474         * sysdeps/i386/bits/linkmap.h: Likewise.
23475         * sysdeps/x86_64/bits/link.h: Renamed to ...
23476         * sysdeps/x86/bits/link.h: This.
23477         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
23478         * sysdeps/x86/bits/linkmap.h: This.
23479
23480         * sysdeps/i386/bits/endian.h: Removed.
23481         * sysdeps/x86_64/bits/endian.h: Renamed to ...
23482         * sysdeps/x86/bits/endian.h: This.
23483
23484         * sysdeps/i386/bits/byteswap.h: Removed.
23485         * sysdeps/i386/bits/byteswap-16.h: Likewise.
23486         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
23487         * sysdeps/x86/bits/byteswap.h: This.
23488         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
23489         * sysdeps/x86/bits/byteswap-16.h: This.
23490         * sysdeps/i386/Implies: Add x86.
23491         * sysdeps/x86_64/Implies: Likewise.
23492
23493 2012-05-30  David S. Miller  <davem@davemloft.net>
23494
23495         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
23496         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
23497         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
23498         (FP_TRAPPING_EXCEPTIONS): Define.
23499         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
23500         (FP_TRAPPING_EXCEPTIONS): Define.
23501         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
23502         subnormals only when inexact has been signalled or underflow
23503         exceptions are enabled.
23504         (_FP_PACK_CANONICAL): Likewise.
23505
23506 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
23507
23508         [BZ #14183]
23509         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
23510         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
23511
23512 2012-05-30  Richard Henderson  <rth@twiddle.net>
23513
23514         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
23515         with #ifndef NOT_IN_libc.
23516
23517         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
23518         marked to avoid plt entry.
23519
23520 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
23521
23522         [BZ #14112]
23523         * Makeconfig (default-abi): New macro.
23524         (abi-includes): Likewise.
23525         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
23526         $(abi-$(default-abi)-lib-soname) for soname if defined.
23527         ($(common-objpfx)gnu/lib-names.stmp): Generate from
23528         abi-variants.
23529         * Makefile (installed-stubs): Likewise.
23530         * include/stubs-biarch.h: Removed.
23531         * scripts/lib-names.awk: Only handle one library at a time.
23532         * scripts/soversions.awk: Remove WORDSIZE support.
23533         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
23534         entries.
23535         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
23536         Removed.
23537         (syscall-list-default-condition): Likewise.
23538         (syscall-list-default-condition): Likewise.
23539         (syscall-list-includes): Likewise.
23540         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
23541         syscall-list-* with abi-*.  Handle undefined abi-variants.
23542         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
23543         * sysdeps/unix/sysv/linux/i386/Implies: New file.
23544         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
23545         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
23546         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
23547         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
23548         Removed.
23549         (syscall-list-32-options): Likewise.
23550         (syscall-list-32-condition): Likewise.
23551         (syscall-list-64-options): Likewise.
23552         (syscall-list-64-condition): Likewise.
23553         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
23554         macro.
23555         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
23556         Renamed to ...
23557         (abi-*): This.
23558         (abi-64-ld-soname): New macro.
23559         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
23560         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
23561         Renamed to ...
23562         (abi-*): This.
23563         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
23564         * sysdeps/x86_64/x32/shlib-versions: Likewise.
23565
23566 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
23567
23568         * sysdeps/unix/sysv/linux/kernel-features.h
23569         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
23570         * sysdeps/unix/sysv/linux/ftruncate64.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/truncate64.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/ftruncate64.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         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
23589         include <kernel-features.h>.
23590         [!__NR_ftruncate64]: Remove conditional code.
23591         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
23592         [__NR_ftruncate64]: Make code unconditional.
23593         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
23594
23595         * configure.in (libc_cv_fpie): Weaken to a compile test using
23596         LIBC_TRY_CC_OPTION.
23597         * configure: Regenerated.
23598
23599 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
23600
23601         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
23602         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
23603         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
23604         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
23605         Refreshed.
23606         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
23607         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
23608         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
23609         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
23610         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
23611         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
23612         Refreshed.
23613
23614 2012-05-27  David S. Miller  <davem@davemloft.net>
23615
23616         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
23617         (___Q_zero): New.
23618         (__Q_simulate_exceptions): Return void.  Change to simulate
23619         exceptions by writing into the %fsr.
23620         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
23621         (__Qp_handle_exceptions): Likewise.
23622         (numbers): Delete.
23623         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
23624         __Qp_handle_exceptions.
23625         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
23626         __Qp_handle_exceptions.
23627         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
23628         as unused and give dummy FP_RND_NEAREST initializer.
23629         (FP_INHIBIT_RESULTS): Define.
23630         (___Q_simulate_exceptions): Update declaration.
23631         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
23632         formatting.
23633         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
23634         as unused and give dummy FP_RND_NEAREST initializer.
23635         (__Qp_handle_exceptions): Update declaration.
23636         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
23637         formatting.
23638
23639 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
23640
23641         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
23642         the temporary FPU control word.
23643         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
23644         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
23645         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
23646         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
23647         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
23648         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
23649         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
23650         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
23651         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
23652         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
23653         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
23654
23655 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
23656
23657         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
23658         fields.
23659
23660 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
23661
23662         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
23663         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
23664         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
23665         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
23666         Likewise.
23667         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
23668         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
23669         Likewise.
23670
23671 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
23672
23673         * po/h.po: Update from translation team.
23674
23675 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
23676
23677         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
23678
23679         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
23680         handling of denormals.
23681         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
23682         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
23683         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
23684         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
23685         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
23686         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
23687         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
23688         Likewise.
23689
23690 2012-05-26  Marek Polacek  <polacek@redhat.com>
23691
23692         [BZ #14152]
23693         * math/libm-test.inc (fma_test): Don't always expect underflow
23694         exception.
23695
23696 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
23697
23698         [BZ #12416]
23699         * elf/tst-execstack.c: Include stackinfo.h.
23700         (do_test): Adjust test case to ensure that pthread_getattr_np
23701         behaviour remains the same after marking stack executable.
23702
23703 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
23704
23705         * sysdeps/unix/sysv/linux/kernel-features.h
23706         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
23707         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
23708         kernel-features.h.
23709         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
23710         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
23711         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
23712         kernel-features.h.
23713         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
23714         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
23715
23716 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
23717
23718         * configure.in: Define the default includes to being none.
23719         * configure: Regenerated.
23720
23721 2012-05-25  Roland McGrath  <roland@hack.frob.com>
23722
23723         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
23724         * sysdeps/x86_64/setjmp.S: Likewise.
23725         * sysdeps/i386/bsd-setjmp.S: Likewise.
23726         * sysdeps/i386/bsd-_setjmp.S: Likewise.
23727         * sysdeps/i386/setjmp.S: Likewise.
23728         * sysdeps/i386/__longjmp.S: Likewise.
23729         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
23730         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
23731
23732         * include/stap-probe.h: New file.
23733         * configure.in: Handle --enable-systemtap.
23734         * configure: Regenerated.
23735         * config.h.in (USE_STAP_PROBE): New #undef.
23736         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
23737         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
23738         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
23739
23740 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
23741
23742         [BZ #13717]
23743         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
23744         to 2.4.0 where earlier.
23745         * sysdeps/unix/sysv/linux/configure: Regenerated.
23746         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
23747         <kernel-features.h>.
23748         [__ASSUME_32BITUIDS]: Make code unconditional.
23749         [!__ASSUME_32BITUIDS]: Remove conditional code.
23750         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
23751         <kernel-features.h>.
23752         [__ASSUME_32BITUIDS]: Make code unconditional.
23753         [!__ASSUME_32BITUIDS]: Remove conditional code.
23754         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
23755         [__ASSUME_32BITUIDS]: Make code unconditional.
23756         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
23757         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
23758         <kernel-features.h>.
23759         [__ASSUME_32BITUIDS]: Make code unconditional.
23760         [!__ASSUME_32BITUIDS]: Remove conditional code.
23761         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
23762         <kernel-features.h>.
23763         [__ASSUME_32BITUIDS]: Make code unconditional.
23764         [!__ASSUME_32BITUIDS]: Remove conditional code.
23765         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
23766         <kernel-features.h>.
23767         [__ASSUME_32BITUIDS]: Make code unconditional.
23768         [!__ASSUME_32BITUIDS]: Remove conditional code.
23769         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
23770         <kernel-features.h>.
23771         [__ASSUME_32BITUIDS]: Make code unconditional.
23772         [!__ASSUME_32BITUIDS]: Remove conditional code.
23773         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
23774         <kernel-features.h>.
23775         [__ASSUME_32BITUIDS]: Make code unconditional.
23776         [!__ASSUME_32BITUIDS]: Remove conditional code.
23777         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
23778         <kernel-features.h>.
23779         [__ASSUME_32BITUIDS]: Make code unconditional.
23780         [!__ASSUME_32BITUIDS]: Remove conditional code.
23781         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
23782         <kernel-features.h>.
23783         [__ASSUME_32BITUIDS]: Make code unconditional.
23784         [!__ASSUME_32BITUIDS]: Remove conditional code.
23785         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
23786         <kernel-features.h>.
23787         [__ASSUME_32BITUIDS]: Make code unconditional.
23788         [!__ASSUME_32BITUIDS]: Remove conditional code.
23789         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
23790         <kernel-features.h>.
23791         [__ASSUME_32BITUIDS]: Make code unconditional.
23792         [!__ASSUME_32BITUIDS]: Remove conditional code.
23793         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
23794         <kernel-features.h>.
23795         [__ASSUME_32BITUIDS]: Make code unconditional.
23796         [!__ASSUME_32BITUIDS]: Remove conditional code.
23797         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
23798         <kernel-features.h>.
23799         [__NR_setresgid] (__setresgid): Do not declare.
23800         [__ASSUME_32BITUIDS]: Make code unconditional.
23801         [!__ASSUME_32BITUIDS]: Remove conditional code.
23802         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
23803         <kernel-features.h>.
23804         [__NR_setresuid] (__setresuid): Do not declare.
23805         [__ASSUME_32BITUIDS]: Make code unconditional.
23806         [!__ASSUME_32BITUIDS]: Remove conditional code.
23807         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
23808         <kernel-features.h>.
23809         [__ASSUME_32BITUIDS]: Make code unconditional.
23810         [!__ASSUME_32BITUIDS]: Remove conditional code.
23811         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
23812         <kernel-features.h>.
23813         [__ASSUME_32BITUIDS]: Make code unconditional.
23814         [!__ASSUME_32BITUIDS]: Remove conditional code.
23815         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
23816         <kernel-features.h>.
23817         [__ASSUME_32BITUIDS]: Make code unconditional.
23818         [!__ASSUME_32BITUIDS]: Remove conditional code.
23819         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
23820         <kernel-features.h>.
23821         [__ASSUME_32BITUIDS]: Make code unconditional.
23822         [!__ASSUME_32BITUIDS]: Remove conditional code.
23823         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
23824         <kernel-features.h>.
23825         [__ASSUME_32BITUIDS]: Make code unconditional.
23826         [!__ASSUME_32BITUIDS]: Remove conditional code.
23827         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
23828         <kernel-features.h>.
23829         [__ASSUME_32BITUIDS]: Make code unconditional.
23830         [!__ASSUME_32BITUIDS]: Remove conditional code.
23831         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
23832         <kernel-features.h>.
23833         [__ASSUME_32BITUIDS]: Make code unconditional.
23834         [!__ASSUME_32BITUIDS]: Remove conditional code.
23835         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
23836         <kernel-features.h>.
23837         [__ASSUME_32BITUIDS]: Make code unconditional.
23838         [!__ASSUME_32BITUIDS]: Remove conditional code.
23839         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
23840         <kernel-features.h>.
23841         [__ASSUME_32BITUIDS]: Make code unconditional.
23842         [!__ASSUME_32BITUIDS]: Remove conditional code.
23843         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
23844         <kernel-features.h>.
23845         [__ASSUME_32BITUIDS]: Make code unconditional.
23846         [!__ASSUME_32BITUIDS]: Remove conditional code.
23847         * sysdeps/unix/sysv/linux/kernel-features.h
23848         (__ASSUME_SETRESUID_SYSCALL): Remove.
23849         (__ASSUME_SETRESGID_SYSCALL): Likewise.
23850         (__ASSUME_32BITUIDS): Likewise.
23851         (__ASSUME_LDT_WORKS): Likewise.
23852         (__ASSUME_O_DIRECTORY): Likewise.
23853         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
23854         architecture but not kernel version.
23855         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
23856         (__ASSUME_MMAP2_SYSCALL): Likewise.
23857         (__ASSUME_STAT64_SYSCALL): Likewise.
23858         (__ASSUME_IPC64): Likewise.
23859         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
23860         <kernel-features.h>.
23861         [__ASSUME_32BITUIDS]: Make code unconditional.
23862         [!__ASSUME_32BITUIDS]: Remove conditional code.
23863         * sysdeps/unix/sysv/linux/opendir.c: Do not include
23864         <kernel-features.h>.
23865         [__ASSUME_O_DIRECTORY]: Make code unconditional.
23866         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
23867         132096]: Remove conditional code.
23868         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
23869         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
23870         <kernel-features.h>.
23871         [__ASSUME_32BITUIDS]: Make code unconditional.
23872         [!__ASSUME_32BITUIDS]: Remove conditional code.
23873         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
23874         <kernel-features.h>.
23875         [__ASSUME_32BITUIDS]: Make code unconditional.
23876         [!__ASSUME_32BITUIDS]: Remove conditional code.
23877         * sysdeps/unix/sysv/linux/setegid.c: Do not include
23878         <kernel-features.h>.
23879         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
23880         unconditional.
23881         (__setresgid): Do not declare.
23882         [__ASSUME_32BITUIDS]: Make code unconditional.
23883         [!__ASSUME_32BITUIDS]: Remove conditional code.
23884         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
23885         <kernel-features.h>.
23886         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
23887         unconditional.
23888         (__setresuid): Do not declare.
23889         [__ASSUME_32BITUIDS]: Make code unconditional.
23890         [!__ASSUME_32BITUIDS]: Remove conditional code.
23891         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
23892         <kernel-features.h>.
23893         [__ASSUME_32BITUIDS]: Make code unconditional.
23894         [!__ASSUME_32BITUIDS]: Remove conditional code.
23895         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
23896         <kernel-features.h>.
23897         [__ASSUME_32BITUIDS]: Make code unconditional.
23898         [!__ASSUME_32BITUIDS]: Remove conditional code.
23899
23900 2012-05-25  Richard Henderson  <rth@twiddle.net>
23901
23902         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
23903         dl_hwcap to ifunc resolver.
23904         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
23905         elf_ifunc_invoke.
23906         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
23907         dl_hwcap to ifunc resolver.
23908         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
23909
23910 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
23911
23912         [BZ #14153]
23913         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
23914         for |x| <= 2**-26, not 2**-57.
23915         * math/libm-test.inc (acos_test): Do not allow spurious underflow
23916         exception.
23917
23918 2012-05-24  Jeff Law  <law@redhat.com>
23919
23920         * stdio-common/Makefile (tests): Add bug25.
23921         * stdio-common/bug25.c: New test.
23922
23923 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
23924
23925         [BZ #13576]
23926         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
23927         multiple of MALLOC_ALIGNMENT in size.
23928         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
23929
23930 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
23931
23932         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
23933         Require >= 256.
23934         (FILENAME_MAX): Use macro-int-constant.
23935         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
23936         (_IOFBF): Use macro-int-constant.
23937         (_IOLBF): Likewise.
23938         (_IONBF): Likewise.
23939         (SEEK_CUR): Likewise.
23940         (SEEK_END): Likewise.
23941         (SEEK_SET): Likewise.
23942         (TMP_MAX): Likewise.
23943         (EOF): Use macro-int-constant.  Require < 0.
23944         (NULL): Use macro-constant.  Require == 0.
23945         (stdin): Require type to be FILE *.
23946         (stdout): Likewise.
23947         (stderr): Likewise.
23948         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
23949         macro-int-constant.
23950         (EXIT_SUCCESS): Likewise.
23951         (NULL): Use macro-constant.  Require == 0.
23952         (RAND_MAX): Use macro-int-constant.
23953         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
23954         [C99-based standards] (strtof): Require function.
23955         [C99-based standards] (strtold): Likewise.
23956         [C99-based standards] (strtoll): Likewise.
23957         [C99-based standards] (strtoull): Likewise.
23958         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
23959         [ISO || ISO99 || ISO11] (limits.h): Likewise.
23960         [ISO || ISO99 || ISO11] (math.h): Likewise.
23961         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
23962         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
23963         [ISO || ISO99 || ISO11] (*_t): Do not allow.
23964
23965 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
23966
23967         [BZ #14132]
23968         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
23969         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
23970         * intl/dgettext.c (DCGETTEXT): Likewise.
23971         * intl/gettext.c (DCGETTEXT): Likewise.
23972         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
23973         * posix/regex_internal.h (gettext): Likewise.
23974         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
23975         Remove declaration.
23976         * include/argz.h (__argz_count_internal)
23977         (__argz_stringify_internal): Remove declaration.
23978         (__argz_count, __argz_stringify): Declare hidden proto.
23979         * intl/dcgettext.c: Remove use of INTDEF.
23980         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
23981         * string/argz-stringify.c: Likewise.
23982         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
23983         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
23984         Declare hidden proto.
23985         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
23986         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
23987         Declare hidden proto.
23988         * include/stdio.h (__asprintf_internal): Don't declare.
23989         (__asprintf): Don't define as macro.  Declare hidden proto.
23990         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
23991         (__fsetlocking): Declare hidden proto.
23992         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
23993         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
23994         hidden proto.
23995         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
23996         (_IO_setlinebuf): Remove use of INTUSE.
23997         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
23998         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
23999         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
24000         Remove declaration.
24001         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
24002         (_IO_do_flush): Remove use of INTUSE.
24003         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
24004         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
24005         (_IO_adjust_column, _IO_least_wmarker)
24006         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
24007         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
24008         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
24009         (_IO_default_doallocate, _IO_wdefault_doallocate)
24010         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
24011         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
24012         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
24013         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
24014         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
24015         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
24016         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
24017         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
24018         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
24019         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
24020         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
24021         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
24022         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
24023         proto.
24024         (_IO_flush_all_internal, _IO_adjust_column_internal)
24025         (_IO_default_uflow_internal, _IO_default_finish_internal)
24026         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
24027         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
24028         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
24029         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
24030         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
24031         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
24032         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
24033         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
24034         (_IO_file_close_internal, _IO_file_close_it_internal)
24035         (_IO_file_underflow_internal, _IO_file_overflow_internal)
24036         (_IO_file_init_internal, _IO_file_attach_internal)
24037         (_IO_file_fopen_internal, _IO_file_read_internal)
24038         (_IO_file_sync_internal, _IO_file_seek_internal)
24039         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
24040         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
24041         (_IO_str_underflow_internal, _IO_str_overflow_internal)
24042         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
24043         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
24044         (_IO_list_all_internal, _IO_link_in_internal)
24045         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
24046         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
24047         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
24048         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
24049         (_IO_do_write_internal, _IO_padn_internal)
24050         (_IO_getline_info_internal, _IO_getline_internal)
24051         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
24052         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
24053         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
24054         (_IO_vfscanf_internal, _IO_vfprintf_internal)
24055         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
24056         (_IO_init_internal, _IO_un_link_internal): Don't declare.
24057         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
24058         with libc_hidden_ver, remove use of INTUSE.
24059         * libio/genops.c: Likewise.
24060         * libio/freopen.c: Likewise.
24061         * libio/freopen64.c: Likewise.
24062         * libio/iofclose.c: Likewise.
24063         * libio/iofdopen.c: Likewise.
24064         * libio/iofflush.c: Likewise.
24065         * libio/iofflush_u.c: Likewise.
24066         * libio/iofgets.c: Likewise.
24067         * libio/iofgets_u.c: Likewise.
24068         * libio/iofopen.c: Likewise.
24069         * libio/iofopncook.c: Likewise.
24070         * libio/iofread.c: Likewise.
24071         * libio/iofread_u.c: Likewise.
24072         * libio/ioftell.c: Likewise.
24073         * libio/iofwrite.c: Likewise.
24074         * libio/iogetline.c: Likewise.
24075         * libio/iogets.c: Likewise.
24076         * libio/iogetwline.c: Likewise.
24077         * libio/iopadn.c: Likewise.
24078         * libio/iopopen.c: Likewise.
24079         * libio/ioseekoff.c: Likewise.
24080         * libio/ioseekpos.c: Likewise.
24081         * libio/iosetbuffer.c: Likewise.
24082         * libio/iosetvbuf.c: Likewise.
24083         * libio/ioungetc.c: Likewise.
24084         * libio/ioungetwc.c: Likewise.
24085         * libio/iovdprintf.c: Likewise.
24086         * libio/iovsprintf.c: Likewise.
24087         * libio/iovsscanf.c: Likewise.
24088         * libio/memstream.c: Likewise.
24089         * libio/obprintf.c: Likewise.
24090         * libio/oldfileops.c: Likewise.
24091         * libio/oldiofclose.c: Likewise.
24092         * libio/oldiofdopen.c: Likewise.
24093         * libio/oldiofopen.c: Likewise.
24094         * libio/oldiopopen.c: Likewise.
24095         * libio/oldstdfiles.c: Likewise.
24096         * libio/putc.c: Likewise.
24097         * libio/setbuf.c: Likewise.
24098         * libio/setlinebuf.c: Likewise.
24099         * libio/stdfiles.c: Likewise.
24100         * libio/strops.c: Likewise.
24101         * libio/vasprintf.c: Likewise.
24102         * libio/vscanf.c: Likewise.
24103         * libio/vsnprintf.c: Likewise.
24104         * libio/vswprintf.c: Likewise.
24105         * libio/wfiledoalloc.c: Likewise.
24106         * libio/wfileops.c: Likewise.
24107         * libio/wgenops.c: Likewise.
24108         * libio/wmemstream.c: Likewise.
24109         * libio/wstrops.c: Likewise.
24110         * libio/__fpurge.c: Likewise.
24111         * libio/__fsetlocking.c: Likewise.
24112         * assert/assert.c: Likewise.
24113         * debug/fgets_chk.c: Likewise.
24114         * debug/fgets_u_chk.c: Likewise.
24115         * debug/fread_chk.c: Likewise.
24116         * debug/fread_u_chk.c: Likewise.
24117         * debug/gets_chk.c: Likewise.
24118         * debug/obprintf_chk.c: Likewise.
24119         * debug/vasprintf_chk.c: Likewise.
24120         * debug/vdprintf_chk.c: Likewise.
24121         * debug/vsnprintf_chk.c: Likewise.
24122         * debug/vsprintf_chk.c: Likewise.
24123         * malloc/mtrace.c: Likewise.
24124         * misc/error.c: Likewise.
24125         * misc/syslog.c: Likewise.
24126         * stdio-common/asprintf.c: Likewise.
24127         * stdio-common/fxprintf.c: Likewise.
24128         * stdio-common/getw.c: Likewise.
24129         * stdio-common/isoc99_fscanf.c: Likewise.
24130         * stdio-common/isoc99_scanf.c: Likewise.
24131         * stdio-common/isoc99_vfscanf.c: Likewise.
24132         * stdio-common/isoc99_vscanf.c: Likewise.
24133         * stdio-common/isoc99_vsscanf.c: Likewise.
24134         * stdio-common/printf-prs.c: Likewise.
24135         * stdio-common/printf_fp.c: Likewise.
24136         * stdio-common/printf_fphex.c: Likewise.
24137         * stdio-common/printf_size.c: Likewise.
24138         * stdio-common/putw.c: Likewise.
24139         * stdio-common/scanf.c: Likewise.
24140         * stdio-common/sprintf.c: Likewise.
24141         * stdio-common/tmpfile.c: Likewise.
24142         * stdio-common/vfprintf.c: Likewise.
24143         * stdio-common/vfscanf.c: Likewise.
24144         * stdlib/strfmon_l.c: Likewise.
24145         * sunrpc/openchild.c: Likewise.
24146         * sunrpc/xdr_stdio.c: Likewise.
24147         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
24148         * sysdeps/mach/hurd/tmpfile.c: Likewise.
24149
24150 2012-05-24  Roland McGrath  <roland@hack.frob.com>
24151
24152         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
24153
24154         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
24155         in the third column, to generate for the shared library an IFUNC
24156         that uses _dl_vdso_vsym.
24157         * Makerules (COMPILE.c, compile-stdin.c): New variables.
24158         * Makeconfig (object-suffixes-noshared): New variable.
24159
24160         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
24161         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
24162         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
24163         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
24164
24165         [BZ #14132]
24166         * include/sys/time.h (__gettimeofday): Remove macro.
24167         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
24168         * time/gettimeofday.c (__gettimeofday): Remove #undef.
24169         Remove INTDEF.
24170         (__gettimeofday): Add libc_hidden_def.
24171         (gettimeofday): Add libc_hidden_weak.
24172         * sysdeps/mach/gettimeofday.c: Likewise.
24173         * sysdeps/posix/gettimeofday.c: Likewise.
24174         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
24175         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
24176         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
24177         (__gettimeofday_internal): Remove strong_alias.
24178         (__gettimeofday): Add libc_hidden_def.
24179         (gettimeofday): Add libc_hidden_weak.
24180         * sysdeps/unix/syscalls.list (gettimeofday):
24181         Remove __gettimeofday_internal alias.
24182
24183 2012-05-24  Daniel Jacobowitz  <drow@false.org>
24184             H.J. Lu  <hongjiu.lu@intel.com>
24185
24186         [BZ #12495]
24187         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
24188         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
24189         (largebin_index_32_big): New.
24190         (largebin_index): Use it for 16-byte alignment.
24191         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
24192         correction with front_misalign.
24193
24194 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
24195
24196         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
24197         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
24198         Likewise.
24199         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
24200         Likewise.
24201         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
24202         Likewise.
24203         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
24204         Likewise.
24205         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
24206         Likewise.
24207         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
24208         Likewise.
24209         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
24210         Likewise.
24211         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
24212         Likewise.
24213         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
24214         Likewise.
24215         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
24216         Likewise.
24217         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
24218         Likewise.
24219         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
24220         Likewise.
24221
24222         * scripts/data/c++-types-x32-linux-gnu.data: New file.
24223         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
24224
24225 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
24226
24227         [BZ #10846]
24228         [BZ #14036]
24229         * math/libm-test.inc (exp_test): Add test from bug 14036.
24230         (pow_test): Add test from bug 10846.
24231
24232         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
24233         and other flags.
24234         (special_function): Do not include flags in test name.
24235         (parse_args): Likewise.
24236         * sysdeps/i386/fpu/libm-test-ulps: Update.
24237         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
24238         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
24239         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
24240         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24241
24242         * math/gen-libm-test.pl (%beautify): Add entries for underflow
24243         exceptions.
24244         * math/libm-test.inc ("Philosophy"): Update comment about
24245         exception testing.
24246         (UNDERFLOW_EXCEPTION): New macro.
24247         (UNDERFLOW_EXCEPTION_OK): Likewise.
24248         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
24249         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
24250         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
24251         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
24252         (INVALID_EXCEPTION_OK): Update value.
24253         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
24254         (OVERFLOW_EXCEPTION_OK): Likewise.
24255         (IGNORE_ZERO_INF_SIGN): Likewise.
24256         (test_exceptions): Handle underflow exceptions.
24257         (acos_test): Update for underflow exception expectations.
24258         (cexp_test): Likewise.
24259         (clog_test): Likewise.
24260         (clog10_test): Likewise.
24261         (csqrt_test): Likewise.
24262         (ctan_test): Likewise.
24263         (ctanh_test): Likewise.
24264         (exp_test): Likewise.
24265         (exp10_test): Likewise.
24266         (exp2_test): Likewise.
24267         (expm1_test): Likewise.
24268         (fma_test): Likewise.
24269         (j0_test): Likewise.
24270         (jn_test): Likewise.
24271         (nexttoward_test): Likewise.
24272         (pow_test): Likewise.
24273         (scalbn_test): Likewise.
24274         (scalbln_test): Likewise.
24275         (tan_test): Likewise.
24276         (y1_test): Likewise.
24277         * sysdeps/i386/fpu/libm-test-ulps: Update.
24278         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24279
24280 2012-05-23  David S. Miller  <davem@davemloft.net>
24281
24282         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
24283         (__libc_sigaction): Remove unused local variables.
24284
24285 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
24286
24287         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
24288
24289 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
24290
24291         mktime: avoid signed integer overflow
24292         * time/mktime.c (__mktime_internal): Do not mishandle the case
24293         where diff == INT_MIN.
24294
24295         mktime: simplify computation of average
24296         * time/mktime.c (ranged_convert): Use new time_t_avg function
24297         instead of rolling our own (probably-slower) code.
24298
24299         mktime: do not assume signed right shift propagates sign bit
24300         * time/mktime.c (isdst_differ): New static function.
24301         (__mktime_internal): No need to normalize tm_isdst now.
24302         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
24303         tm_isdst values.
24304
24305         mktime: merge another wrapv change from gnulib
24306         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
24307         from some compilers.
24308
24309         mktime: remove incorrect attempt at unusual arithmetics
24310         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
24311         The code didn't really work on such machines anyway.
24312         (TYPE_MINIMUM): Assume two's complement.
24313         (twos_complement_arithmetic): Verify that long_int and time_t
24314         are two's complement (or unsigned, in the latter case).
24315
24316         mktime: check signed shifts on long_int and time_t, too
24317         * time/mktime.c (SHR): Check that shifts work as desired
24318         on the types long_int and time_t too, as SHR is used on
24319         such types.
24320
24321         mktime: do not assume 'long' is wide enough
24322         * time/mktime.c (verify): Move decl up.
24323         (long_int): New type.
24324         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
24325         to remove assumption in the code that 'long' is wide enough to
24326         store year values.  This assumption is not true on x32 and on
24327         some non-glibc platforms.
24328
24329         mktime: merge wrapv change from gnulib
24330         * time/mktime.c (WRAPV): New macro.
24331         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
24332         (guess_time_tm, __mktime_internal): Do not assume that signed
24333         integer overflow wraps around; modern compilers generate code
24334         where this assumption is no longer valid.
24335
24336 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
24337
24338         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
24339         Replace "jmp L(pseudo_end)" with "ret".
24340         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
24341         Likewise.
24342
24343 2012-05-23  Andreas Jaeger  <aj@suse.de>
24344
24345         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
24346         * sysdeps/unix/sysv/linux/poll.c: Remove file.
24347
24348 2012-05-23  Andreas Jaeger  <aj@suse.de>
24349             Maximilian Attems  <max@stro.at>
24350
24351         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
24352         New macros.
24353
24354 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
24355
24356         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
24357         code so that pseudo_end is just ret and the stack pointer is
24358         correct also for static library in error case.
24359
24360 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
24361
24362         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
24363         move to syscalls.list.
24364         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
24365         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
24366         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
24367         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
24368
24369         * manual/install.texi (Running make install): Do not mention Linux
24370         kernel version for which pt_chown is not needed.
24371         (Linux): Do not mention problems with nscd with 2.0 kernels.
24372         * INSTALL: Regenerated.
24373
24374 2012-05-23  Andreas Jaeger  <aj@suse.de>
24375
24376         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
24377         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
24378         macro.
24379         * sysdeps/unix/sysv/linux/s390/bits/mman.h
24380         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
24381         * sysdeps/unix/sysv/linux/sh/bits/mman.h
24382         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
24383         * sysdeps/unix/sysv/linux/i386/bits/mman.h
24384         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
24385         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
24386         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
24387         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
24388         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
24389         * sysdeps/unix/sysv/linux/bits/in.h
24390         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
24391
24392 2012-05-22  Roland McGrath  <roland@hack.frob.com>
24393
24394         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
24395         (PREPARE_VERSION): Just use assert instead, it will be elided
24396         under [NDEBUG] anyway.
24397
24398 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
24399
24400         * sysdeps/unix/sysv/linux/Makefile: Include
24401         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
24402         (sysdep_routines): Remove sysctl.
24403         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
24404         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
24405         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
24406         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
24407         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
24408
24409 2012-05-22  Andreas Jaeger  <aj@suse.de>
24410
24411         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
24412         that pseudo_end is just ret and the stack pointer is correct also
24413         for static library in error case.
24414
24415 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
24416
24417         [BZ #14122]
24418         * nss/nsswitch.c (defconfig_entries): New variable.
24419         (__nss_database_lookup): Don't leak defconfig entries.
24420         (nss_parse_service_list): Don't leak on error paths.
24421         (free_database_entries): New function.
24422         (free_defconfig): New function.
24423         (free_mem): Move common code to free_database_entries.
24424
24425 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
24426
24427         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
24428         Add arch_prctl.
24429         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
24430
24431         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
24432         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
24433         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
24434         New macro.
24435         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
24436         (INTERNAL_SYSCALL_TYPES): Likewise.
24437         (LOAD_ARGS_TYPES_[1-6]): Likewise.
24438         (LOAD_REGS_TYPES_[1-6]): Likewise.
24439         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
24440         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
24441
24442 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24443
24444         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
24445         copysignl for GLIBC_2_0.
24446         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
24447         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
24448         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
24449         logbl for GLIBC_2_0.
24450         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
24451         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
24452
24453 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
24454
24455         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
24456         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
24457
24458         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
24459         Use "neg %eax".
24460
24461         * time/mktime.c: Update copyright years.
24462
24463 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
24464
24465         mktime: merge comment-quoting-style change from gnulib
24466         * time/mktime.c: Quote 'like this' in comments.
24467         The GNU coding standards suggest that we no longer quote `like this',
24468         as "`" and "'" are typically rendered asymmetrically nowadays.
24469         The typical gnulib style is to quote 'like this' when quoting
24470         code, and "like this" when quoting English.
24471
24472         * time/mktime.c (compile-command): Add "-I.".
24473
24474         mktime: merge mktime-internal.h change from gnulib
24475         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
24476
24477         mktime: merge time_r change from gnulib
24478         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
24479
24480         mktime: merge DEBUG change from gnulib
24481         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
24482         case system <time.h> has a #define.
24483
24484         mktime: merge <sys/types.h> change from gnulib
24485         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
24486         since <time.t> is now guaranteed to define time_t.
24487
24488         mktime: merge HAVE_CONFIG_H change from gnulib
24489         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
24490
24491 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
24492
24493         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
24494         Use "neg %eax".
24495
24496         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
24497         __rlim_t cast.
24498         (struct rusage): Use anonymous union to pad each field to
24499         __syscall_slong_t.
24500
24501 2012-05-21  David S. Miller  <davem@davemloft.net>
24502
24503         * Makefules (o-iterator): Remove .s cases.
24504         (compile-command.s): Delete.
24505         (COMPILE.s): Delete.
24506         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
24507
24508 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
24509
24510         * configure.in (libc_cv_predef_stack_protector): Only consider
24511         "foobar" and "__stack_chk_fail" lines in libc_undefs.
24512         * configure: Regenerated.
24513
24514 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
24515
24516         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
24517         New macro.  Use R*LP on int and pointer.
24518         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
24519         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
24520         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
24521         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
24522
24523         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
24524         [__WORDSIZE_TIME64_COMPAT32] instead of
24525         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
24526         (struct utmp): Likewise.
24527         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
24528         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
24529         Renamed to ...
24530         (__WORDSIZE_TIME64_COMPAT32): This.
24531         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
24532         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
24533         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
24534         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
24535         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
24536         (__WORDSIZE_TIME64_COMPAT32): New macro.
24537
24538 2012-05-21  Andreas Jaeger  <aj@suse.de>
24539
24540         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
24541         only if [SHARED]. Add prototype for __wcschr_ia32.
24542
24543 2012-05-21  Roland McGrath  <roland@hack.frob.com>
24544
24545         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
24546         of %rbp unmolested in the jmp_buf while mangling the low bits.
24547         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
24548         unmolested high bits of %rbp while demangling the low bits.
24549         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
24550
24551 2012-05-21  Andreas Jaeger  <aj@suse.de>
24552
24553         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
24554         * sunrpc/svc_simple.c: Use it for registerrpc.
24555         * sunrpc/xcrypt.c: Use it for passwd2des.
24556
24557         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
24558
24559 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
24560
24561         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
24562         Don't define if [__SYSCALL_WORDSIZE != 32].
24563         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
24564         New macro.
24565
24566 2012-05-21  Bruno Haible  <bruno@clisp.org>
24567             Andreas Jaeger  <aj@suse.de>
24568
24569         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
24570         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
24571         inptr and inend for must_buffer_ch.
24572         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
24573         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
24574         * stdio-common/Makefile (tests): Remove bug15.
24575         (bug15-ENV): Remove macro.
24576         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
24577         anymore.
24578
24579 2012-05-19  Andreas Jaeger  <aj@suse.de>
24580             Roland McGrath  <roland@hack.frob.com>
24581
24582         * manual/contrib.texi: Completely rewritten. It contains now an
24583         alphabetical list of contributors and their contributions.
24584
24585 2012-05-21  Richard Henderson  <rth@twiddle.net>
24586
24587         * misc/getauxval.c (__getauxval): Use unsigned long int.
24588         * misc/sys/auxv.h: Include <sys/cdefs.h>.
24589         (getauxval): Use unsigned long int.
24590
24591 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
24592
24593         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
24594
24595 2012-05-21  Roland McGrath  <roland@hack.frob.com>
24596
24597         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
24598         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
24599         __alignof__ (long double).
24600
24601 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24602
24603         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24604
24605 2012-05-20  Richard Henderson  <rth@twiddle.net>
24606
24607         * misc/getauxval.c: New file.
24608         * misc/sys/auxv.h: New file.
24609         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
24610         (routines): Add getauxval.
24611         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
24612         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
24613         * elf/dl-sysdep.c (_dl_auxv): Remove.
24614         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
24615         * elf/dl-support.c (_dl_auxv): New variable.
24616         (_dl_aux_init): Initialize it.
24617         * manual/startup.texi (Auxiliary Vector): New node.
24618         * sysdeps/generic/bits/hwcap.h: New file.
24619         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
24620         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
24621         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
24622         * sysdeps/sparc/sysdep.h: ... here.  Include it.
24623         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
24624         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
24625         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
24626         Update.
24627         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
24628         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
24629         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
24630         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
24631         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
24632         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
24633         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
24634         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
24635
24636 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24637
24638         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24639
24640 2012-05-19  David S. Miller  <davem@davemloft.net>
24641
24642         * sysdeps/sparc/fpu/libm-test-ulps: Update.
24643
24644 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
24645
24646         [BZ #14123]
24647         * math/s_ccosh.c: Include <float.h>
24648         (__ccosh): Avoid internal overflow calculating sinh and cosh
24649         values before multiplying by sin and cos values.
24650         * math/s_ccoshf.c: Likewise.
24651         * math/s_ccoshl.c: Likewise.
24652         * math/s_csin.c: Likewise.
24653         * math/s_csinf.c: Likewise.
24654         * math/s_csinl.c: Likewise.
24655         * math/s_csinh.c: Likewise.
24656         * math/s_csinhf.c: Likewise.
24657         * math/s_csinhl.c: Likewise.
24658         * math/libm-test.inc (ccos_test): Add more tests.
24659         (ccosh_test): Likewise.
24660         (csin_test): Likewise.
24661         (csinh_test): Likewise.
24662         * sysdeps/i386/fpu/libm-test-ulps: Update.
24663         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24664
24665 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
24666
24667         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
24668         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
24669
24670         * sysdeps/x86_64/x32/_itoa.h: Add comment.
24671
24672 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
24673
24674         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
24675         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
24676         * sysdeps/powerpc/soft-fp/Versions: Likewise.
24677         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
24678         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
24679         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
24680         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
24681         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
24682         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
24683         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
24684         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
24685         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
24686         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
24687         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
24688         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
24689         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
24690         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
24691         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
24692         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
24693         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
24694         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
24695         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
24696         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
24697         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
24698         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
24699         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
24700         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
24701         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
24702         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
24703         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
24704         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
24705
24706 2012-05-18  Andreas Jaeger  <aj@suse.de>
24707
24708         * csu/.gitignore: Delete.
24709
24710 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
24711
24712         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
24713         (timex): Use __syscall_slong_t.
24714
24715 2012-05-18  Andreas Jaeger  <aj@suse.de>
24716             Carlos O'Donell  <carlos_odonell@mentor.com>
24717
24718         * manual/install.texi (Configuring and compiling): Update
24719         description about files modified in the source directory.
24720         * INSTALL: Regenerated.
24721
24722 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
24723
24724         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
24725         value.  Use "or" to set return value to -1.
24726         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
24727         negate return value.
24728
24729 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
24730
24731         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
24732         CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
24733         failure if the compiler has Graphite support disabled.
24734         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
24735         Likewise.
24736         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
24737         CFLAGS-memmove.c): Likewise.
24738         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
24739         Likewise.
24740
24741 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
24742
24743         * sysdeps/x86_64/x32/_itoa.h: New file.
24744
24745         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
24746         getdents system call only if kernel and user dirents have the
24747         same d_ino and d_off.
24748
24749         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
24750         LLONG_MAX != LONG_MAX.
24751         (_itoa_word): Use _ITOA_WORD_TYPE on value.
24752         (_fitoa_word): Likewise.
24753
24754         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
24755         years.
24756         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
24757         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
24758         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
24759
24760         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
24761         include <bits/wordsize.h>.  Check __x86_64__ instead of
24762         __WORDSIZE.
24763         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
24764         if __x86_64__ is defined.  Use anonymous union on fpstate.
24765
24766         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
24767         anonymous union.
24768
24769 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
24770
24771         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
24772         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
24773         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
24774         Refer to _rtld_local_ro instead of _rtld_global_ro.
24775         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
24776         Likewise.
24777         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
24778         Likewise.
24779         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
24780         Likewise.
24781         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
24782         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
24783         of _rtld_global, and rtld_progname instead of _dl_argv[0].
24784
24785         * sysdeps/powerpc/powerpc32/dl-machine.c
24786         (__elf_machine_runtime_setup) [PROF]: Don't reference
24787         _dl_prof_resolve.
24788
24789 2012-05-18  Andreas Jaeger  <aj@suse.de>
24790
24791         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
24792         function only available for GCCs before 3.4 since GCC 3.4
24793         introduced a builtin.
24794         (lrint): Likewise.
24795         (llrintf): Likewise.
24796         (llrint): Likewise.
24797         (fmaxf): Likewise.
24798         (fmax): Likewise.
24799         (fminf): Likewise.
24800         (fmin): Likewise.
24801         (rint): Likewise.
24802         (rintf): Likewise.
24803         (nearbyint): Likewise.
24804         (nearbyintf): Likewise.
24805         (ceil): Likewise.
24806         (ceilf): Likewise.
24807         (floor): Likewise.
24808         (floorf): Likewise.
24809
24810 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
24811
24812         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
24813         on both fields and cast pointer to __syscall_ulong_t.
24814
24815         * bits/types.h (__fsword_t): New type.
24816         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
24817         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
24818         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
24819         (__FSWORD_T_TYPE): Likewise.
24820         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
24821         (__FSWORD_T_TYPE): Likewise.
24822         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
24823         (__FSWORD_T_TYPE): Likewise.
24824         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
24825         (__FSWORD_T_TYPE): Likewise.
24826         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
24827         __SWORD_TYPE with __fsword_t.
24828         (statfs64): Likewise.
24829
24830 2012-05-17  David S. Miller  <davem@davemloft.net>
24831
24832         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
24833
24834 2012-05-17  Andreas Jaeger  <aj@suse.de>
24835
24836         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
24837         warning.
24838
24839 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
24840
24841         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
24842
24843 2012-05-17  Andreas Jaeger  <aj@suse.de>
24844
24845         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
24846         when it is used.
24847
24848 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
24849
24850         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
24851
24852 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
24853
24854         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
24855         * sysdeps/x86_64/tst-mallocalign1.c: New file.
24856
24857 2012-05-17  Andreas Jaeger  <aj@suse.de>
24858             Carlos O'Donell  <carlos_odonell@mentor.com>
24859
24860         [BZ #14059]
24861         * sysdeps/x86_64/multiarch/init-arch.h
24862         (bit_YMM_Usable): Rename to...
24863         (bit_AVX_Usable): ... this.
24864         (bit_FMA4_Usable): New macro.
24865         (bit_XMM_state): New macro.
24866         (bit_YMM_state): New macro.
24867         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
24868         [__ASSEMBLER__] (index_AVX_Usable): ... this.
24869         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
24870         (CPUID_OSXSAVE): New macro.
24871         (CPUID_AVX): New macro.
24872         (CPUID_FMA4): New macro.
24873         (index_YMM_Usable): Rename to...
24874         (index_AVX_Usable): ... this.
24875         (HAS_AVX): Use HAS_ARCH_FEATURE.
24876         (HAS_FMA4): Likewise.
24877         (HAS_YMM_USABLE): Remove.
24878         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
24879         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
24880         are present.
24881         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
24882         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
24883         * sysdeps/x86_64/multiarch/Makefile: Likewise.
24884         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
24885         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
24886
24887 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
24888
24889         * math/libm-test.c: Support platforms without multiple rounding modes.
24890         * math/bug-nextafter.c: Support platforms without FP exceptions.
24891         * math/bug-nexttoward.c: Likewise.
24892         * math/test-fenv.c: Likewise.
24893         * math/test-misc.c: Likewise.
24894         * stdlib/bug-getcontext.c: Likewise.
24895
24896 2012-05-17  Andreas Jaeger  <aj@suse.de>
24897
24898         * manual/examples/search.c (critter_cmp): Change signature to
24899         avoid warnings.
24900         * manual/string.texi (Collation Functions): Likewise.
24901
24902 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
24903
24904         * bits/types.h: Fold copyright years.
24905         * bits/typesizes.h: Likewise.
24906         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
24907         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
24908         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
24909         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
24910         * time/time.h: Likewise.
24911
24912 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
24913
24914         [BZ #208]
24915         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
24916         in instead of returning them.  Return void.
24917         (__libc_mallinfo): Accumulate over all arenas.
24918         (__malloc_stats): Adjust for change in int_mallinfo interface.
24919
24920 2012-05-16  Roland McGrath  <roland@hack.frob.com>
24921
24922         [BZ #10375]
24923         * configure.in (NM): Add AC_CHECK_TOOL for it.
24924         (libc_extra_cflags): New substituted variable.
24925         Check for -fstack-protector being used implicitly.
24926         * configure: Regenerated.
24927         * config.make.in (config-extra-cflags): New variable,
24928         gets @libc_extra_cflags@.
24929         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
24930
24931         [BZ #10375]
24932         * configure.in: Check for _FORTIFY_SOURCE being predefined.
24933         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
24934         * configure: Regenerated.
24935         * config.make.in (CPPUNDEFS): New substituted variable.
24936         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
24937         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
24938         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
24939
24940 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
24941
24942         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
24943         (mq_attr): Use __syscall_slong_t.
24944
24945 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
24946
24947         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
24948         Check __x86_64__ instead of __WORDSIZE.
24949         (_STAT_VER_LINUX): Likewise.
24950         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
24951         __syscall_ulong_t and __syscall_slong_t.
24952         (stat64): Likewise.
24953
24954 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
24955
24956         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
24957
24958 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
24959
24960         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
24961
24962 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
24963
24964         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
24965         __syscall_ulong_t.
24966
24967         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
24968         include <bits/wordsize.h>.  Check __x86_64__ instead of
24969         __WORDSIZE.
24970         (greg_t): Use "__extension__ long long int" if __x86_64__ is
24971         defined.
24972         (mcontext_t): Replace "unsigned long" with "unsigned long long".
24973
24974         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
24975         include <bits/wordsize.h>.  Check __x86_64__ instead of
24976         __WORDSIZE.
24977         (user_regs_struct): Use "__extension__ unsigned long long"
24978         instead of "unsigned long" if __x86_64__ is defined.
24979         (user): Likewise.  Pad after pointer field if __ILP32__ is
24980         defined.
24981
24982 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
24983
24984         * configure.in (makeinfo): Require version 4.5 or later.  Allow
24985         versions 5 to 9.
24986         * configure: Regenerated.
24987         * manual/install.texi (texinfo): Increase version requirement to
24988         4.5 or later.
24989         * INSTALL: Regenerated.
24990
24991         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
24992
24993 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
24994
24995         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
24996
24997         * sysdeps/x86_64/x32/ffs.c: New file.
24998
24999         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
25000         __syscall_ulong_t.
25001         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
25002         defined.  Use __syscall_ulong_t.
25003         (shminfo): Use __syscall_ulong_t.
25004         (shm_info): Likewise.
25005
25006         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
25007         __syscall_ulong_t.
25008
25009         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
25010         <bits/wordsize.h>.
25011         (msgqnum_t): Use __syscall_ulong_t.
25012         (msglen_t): Likewise.
25013         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
25014         __syscall_ulong_t.
25015
25016         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
25017         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
25018
25019         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
25020
25021         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
25022         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
25023
25024         * sysvipc/sys/msg.h (msgbuf): Replace long int with
25025         __syscall_slong_t.
25026
25027         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
25028         include <bits/wordsize.h>.  Check __x86_64__ instead of
25029         __WORDSIZE.
25030
25031         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
25032         "unsigned long long int" if __x86_64__ is defined.
25033         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
25034
25035         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
25036         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
25037         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
25038
25039         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
25040         <stdint.h>.
25041         (GET_PC): Cast to uintptr_t first.
25042         (GET_FRAME): Likewise.
25043         (GET_STACK): Likewise.
25044
25045         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
25046         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
25047         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
25048         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
25049         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
25050         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
25051         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
25052         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
25053         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
25054         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
25055         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
25056         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
25057         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
25058         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
25059         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
25060         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
25061         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
25062         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
25063         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
25064         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
25065         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
25066         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
25067         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
25068         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
25069         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
25070         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
25071         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
25072         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
25073         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
25074
25075 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
25076
25077         * Makerules (+depfiles): Also collect depfiles from .oS in
25078         $(extra-objs).
25079         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
25080         .oS, $(libnldbl-routines)).
25081
25082         * Makerules (native-compile-mkdep-flags): Define.
25083         * sunrpc/Makefile (extra-objs): Add $(addprefix
25084         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
25085         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
25086         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
25087         calling $(make-target-directory).
25088
25089 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
25090
25091         * bits/types.h (__snseconds_t): Removed.
25092         * time/time.h (struct timespec): Replace __snseconds_t with
25093         __syscall_slong_t.
25094         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
25095         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
25096         Likewise.
25097         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
25098         (__SNSECONDS_T_TYPE): Likewise.
25099         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
25100         (__SNSECONDS_T_TYPE): Likewise.
25101         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
25102         (__SNSECONDS_T_TYPE): Likewise.
25103
25104 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
25105
25106         * sysdeps/mach/hurd/bits/typesizes.h
25107         (__SYSCALL_SLONG_TYPE): New macro.
25108         (__SYSCALL_ULONG_TYPE): Likewise.
25109
25110 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
25111
25112         * bits/types.h (__syscall_slong_t): New type.
25113         (__syscall_ulong_t): Likewise.
25114
25115         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
25116         (__SYSCALL_ULONG_TYPE): Likewise.
25117         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
25118         (__SYSCALL_SLONG_TYPE): Likewise.
25119         (__SYSCALL_ULONG_TYPE): Likewise.
25120         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
25121         (__SYSCALL_SLONG_TYPE): Likewise.
25122         (__SYSCALL_ULONG_TYPE): Likewise.
25123         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
25124         (__SYSCALL_SLONG_TYPE): Likewise.
25125         (__SYSCALL_ULONG_TYPE): Likewise.
25126
25127 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
25128
25129         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
25130         Add sigaltstack-offsets.sym.
25131         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
25132         <sigaltstack-offsets.h>.
25133         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
25134         longjmp_msg pointer.
25135         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
25136         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
25137         signal stack.
25138         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
25139
25140 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
25141
25142         * elf/stackguard-macros.h: Remove file.
25143         * sysdeps/generic/stackguard-macros.h: New file.
25144         * sysdeps/i386/stackguard-macros.h: Likewise.
25145         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
25146         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
25147         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
25148         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
25149         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
25150         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
25151         * sysdeps/x86_64/stackguard-macros.h: Likewise.
25152         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
25153         <elf/stackguard-macros.h>.
25154
25155         [BZ #14109]
25156         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
25157         __aligned__ in attribute.
25158         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
25159         (gregset_t): Likewise.
25160
25161 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
25162
25163         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
25164         * sysdeps/x86_64/64/Implies-after: Here.  New file.
25165         * sysdeps/x86_64/x32/Implies-after: New file.
25166
25167 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
25168
25169         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
25170         and access return value for _dl_profile_fixup.  Use R10_LP to
25171         load frame size.
25172
25173 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
25174
25175         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
25176
25177 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
25178
25179         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
25180         * sysdeps/x86_64/x32/sysdep.h: New file.
25181
25182 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
25183
25184         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
25185         * sysdeps/x86_64/setjmp.S: Likewise.
25186
25187 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25188
25189         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
25190         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
25191         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
25192         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
25193         remove unused global constant.
25194
25195 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
25196
25197         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
25198         include of <not-cancel.h>.
25199
25200 2012-05-15  Roland McGrath  <roland@hack.frob.com>
25201
25202         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
25203
25204 2012-05-15  Jeff Law  <law@redhat.com>
25205             Andreas Jaeger  <aj@suse.de>
25206
25207         [BZ #13594]
25208         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
25209         out from...
25210         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
25211         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
25212         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
25213         code changing __hst_map_handle.map.
25214
25215 2012-05-15  Roland McGrath  <roland@hack.frob.com>
25216
25217         * configure.in (sysnames): Look for Implies-before and Implies-after
25218         files.
25219         * configure: Regenerated.
25220
25221 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
25222
25223         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
25224         8-byte data alignment with LP_SIZE alignment.
25225
25226 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
25227
25228         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
25229         into R10_LP.
25230
25231 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
25232
25233         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
25234
25235 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
25236
25237         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
25238         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
25239         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
25240         Likewise.
25241         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
25242
25243 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
25244
25245         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
25246         (stackinfo_sub_sp): Likewise.
25247
25248 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
25249
25250         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
25251         RAX_LP.
25252
25253 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
25254
25255         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
25256         into R*_LP.
25257
25258 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
25259
25260         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
25261         sizes into R*_LP.
25262
25263 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
25264
25265         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
25266
25267 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
25268
25269         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
25270         into R11_LP and load __x86_64_shared_cache_size_half into
25271         R8_LP.
25272
25273 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
25274
25275         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
25276         R8_LP.
25277
25278 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25279
25280         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
25281         logb for POWER7.
25282         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
25283         logbf for POWER7.
25284         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
25285         logbl for POWER7.
25286         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
25287         powerpc32/power7/fpu/s_logb.c via #include.
25288         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
25289         powerpc32/power7/fpu/s_logbf.c via #include.
25290         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
25291         powerpc32/power7/fpu/s_logbl.c via #include.
25292
25293 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
25294
25295         * README.libm: Remove file.
25296
25297 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
25298
25299         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
25300         count for x32.  Use R*_LP and omit operand-size suffix.
25301
25302 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
25303
25304         * shlib-versions: Move x86_64-.*-linux.* entries to ...
25305         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
25306         * sysdeps/x86_64/x32/shlib-versions: New file.
25307
25308 2012-05-14  Roland McGrath  <roland@hack.frob.com>
25309
25310         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
25311         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
25312         Use _dl_fatal_printf instead.
25313
25314 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
25315
25316         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
25317         set if not set by the user.  Do not allow for being unset.
25318         * sysdeps/unix/sysv/linux/configure: Regenerated.
25319
25320 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
25321
25322         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
25323         the `q' suffix from lea and replace .quad with ASM_ADDR.
25324
25325 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
25326
25327         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
25328         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
25329         instead of $17.
25330         (PTR_DEMANGLE): Likewise.
25331
25332 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
25333
25334         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
25335         (LP_OP): Likewise.
25336         (ASM_ADDR): Likewise.
25337         (RAX_LP): Likewise.
25338         (RBP_LP): Likewise.
25339         (RBX_LP): Likewise.
25340         (RCX_LP): Likewise.
25341         (RDI_LP): Likewise.
25342         (RSI_LP): Likewise.
25343         (RSP_LP): Likewise.
25344         (R8_LP): Likewise.
25345         (R9_LP): Likewise.
25346         (R10_LP): Likewise.
25347         (R10_LP): Likewise.
25348         (R11_LP): Likewise.
25349         (R12_LP): Likewise.
25350         (R13_LP): Likewise.
25351         (R14_LP): Likewise.
25352         (R15_LP): Likewise.
25353
25354 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
25355
25356         * sysdeps/x86_64/x32/dl-machine.h: New file.
25357
25358 2012-05-14  Andreas Jaeger  <aj@suse.de>
25359
25360         * manual/Makefile (subdir): Remove export of subdir.
25361         (all): Remove target.
25362         (.PHONY): Remove all from list.
25363         (mkinstalldirs): Remove.
25364         (.PHONY): Remove installdirs from list.
25365         ($(inst_infodir)/libc.info): Use make-target-directory.
25366         (installdirs): Remove.
25367         (subdir_%): Remove.
25368         (glibc-targets): Remove.
25369         (lib): Remove.
25370         (stubs): Remove.
25371         ($(objpfx)stubs ../po/manual.pot): Remove.
25372         ($(objpfx)stamp%): Remove.
25373         (make-target-directory): Remove.
25374         (subdir_install): Remove.
25375         (routines): Remove.
25376         (aux): Remove.
25377         (sources): Remove.
25378         (objects): Remove.
25379         (headers): Remove.
25380
25381         [BZ #13750]
25382         * manual/.gitignore: Remove, it's not needed anymore.
25383         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
25384         all files in it.
25385         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
25386         directory.
25387         (texis): Renamed to $(objpfx)texis.
25388         (texis-path): New, contains path to generated files.
25389         (chapters.%): Use texis-path for complete path, add extra argument
25390         libc-texinfo.sh.
25391         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
25392         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
25393         (summary,texi, stamp-summary): Use complete path of
25394         files. Generate files in build dir.
25395         (dir-add.texi): Build in build dir.
25396         (libm-err.texi,stamp-libm-err): Likewise.
25397         (version.texi, stamp-version): Likewise.
25398         (.%c.texi): Likewise.
25399         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
25400         (mostlyclean): Remove target.
25401         (realclean): Remove target.
25402         (generated): Add new variable with contents from mostlyclean and
25403         realclean, remove entries duplicated in common-mostlyclean, add
25404         stamp-libm-err and stamp-version.
25405         (generated-dirs): Add libc directory.
25406         ($(inst_infodir)/libc.info): Install files from build dir.
25407
25408         * manual/install.texi (Configuring and compiling): Adjust since
25409         the info files are not part of the tar ball anymore.
25410
25411 2012-05-14  Andreas Jaeger  <aj@suse.de>
25412
25413         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
25414         variable.
25415
25416 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
25417
25418         [BZ #13717]
25419         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
25420         to 2.2.0 where earlier.
25421         * sysdeps/unix/sysv/linux/configure: Regenerated.
25422         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
25423         Remove conditional code.
25424         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
25425         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
25426         Remove conditional code.
25427         [!__NR_lchown]: Likewise.
25428         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
25429         [__NR_lchown]: Likewise.
25430         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
25431         comment referencing __ASSUME_LCHOWN_SYSCALL.
25432         * sysdeps/unix/sysv/linux/i386/sigaction.c
25433         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
25434         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
25435         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
25436         Remove conditional code.
25437         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
25438         (__protocol_available): Remove #if 0 code.
25439         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
25440         conditional code.
25441         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
25442         * sysdeps/unix/sysv/linux/kernel-features.h
25443         (__ASSUME_GETCWD_SYSCALL): Don't define.
25444         (__ASSUME_REALTIME_SIGNALS): Likewise.
25445         (__ASSUME_PREAD_SYSCALL): Likewise.
25446         (__ASSUME_PWRITE_SYSCALL): Likewise.
25447         (__ASSUME_POLL_SYSCALL): Likewise.
25448         (__ASSUME_LCHOWN_SYSCALL): Likewise.
25449         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
25450         non-SPARC.
25451         (__ASSUME_SIOCGIFNAME): Don't define.
25452         (__ASSUME_MSG_NOSIGNAL): Likewise.
25453         (__ASSUME_SENDFILE): Define unconditionally.
25454         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
25455         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
25456         conditional code.
25457         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
25458         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
25459         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
25460         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
25461         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
25462         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
25463         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
25464         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
25465         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
25466         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
25467         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
25468         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
25469         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
25470         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
25471         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
25472         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
25473         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
25474         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
25475         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
25476         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
25477         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
25478         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
25479         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
25480         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
25481         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
25482         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
25483         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
25484         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
25485         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
25486         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
25487         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
25488         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
25489         Remove conditional code.
25490         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
25491         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
25492         Remove conditional code.
25493         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
25494         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
25495         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
25496         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
25497         Remove conditional code.
25498         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
25499         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
25500         Remove conditional code.
25501         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
25502         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
25503         Remove conditional code.
25504         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
25505         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
25506         Remove conditional code.
25507         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
25508         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
25509         Remove conditional code.
25510         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
25511         * sysdeps/unix/sysv/linux/sh/pwrite64.c
25512         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
25513         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
25514         * sysdeps/unix/sysv/linux/sigaction.c
25515         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
25516         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
25517         * sysdeps/unix/sysv/linux/sigpending.c
25518         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
25519         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
25520         * sysdeps/unix/sysv/linux/sigprocmask.c
25521         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
25522         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
25523         * sysdeps/unix/sysv/linux/sigsuspend.c
25524         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
25525         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
25526         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
25527         (__libc_missing_rt_sigs): Remove.
25528         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
25529         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
25530         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
25531         Remove conditional code.
25532         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
25533         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
25534         return 1.
25535         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
25536         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
25537         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
25538         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
25539
25540 2012-05-14  Andreas Jaeger  <aj@suse.de>
25541
25542         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
25543         it's not used in glibc.
25544         (__coshm1): Likewise.
25545         (__acosh1p): Likewise.
25546         (__sgn): Likewise.
25547
25548         * manual/string.texi (Copying and Concatenation): Add missing
25549         variable in concat example.
25550         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
25551
25552 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
25553
25554         [BZ #14103]
25555         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
25556         __builtin_clzl with __builtin_clzll.
25557
25558 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
25559
25560         [BZ #14104]
25561         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
25562         libc_freeres_ptr.
25563
25564 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
25565
25566         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
25567         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
25568         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
25569         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
25570
25571 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
25572
25573         * NEWS: Update ia64 info.
25574
25575 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
25576
25577         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
25578         used as bcopy.
25579
25580 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
25581
25582         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
25583         * sysdeps/unix/syscalls.list (dup3): Likewise.
25584         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
25585         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
25586
25587 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
25588
25589         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
25590         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
25591
25592 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
25593
25594         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
25595         thread pointer.
25596         (TLS_IE): Use mov/add instead of movq/addq to load thread
25597         pointer.
25598         (TLS_GD_PREFIX): New.
25599         (TLS_GD): Use it.
25600
25601 2012-05-11  David S. Miller  <davem@davemloft.net>
25602
25603         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
25604         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
25605         (_FPU_SETCW): Likewise.
25606
25607 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
25608
25609         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
25610         is 32-byte aligned.
25611
25612 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
25613
25614         [BZ #11837]
25615         * iconvdata/gb18030.c: Update tables.
25616         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
25617         characters specially.
25618         (BODY for TO_LOOP): Add encoding of missing ranges.
25619
25620 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
25621
25622         [BZ #13673]
25623         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
25624         * sysdeps/mach/hurd/dup3.c: Likewise.
25625         * sysdeps/mach/hurd/readlinkat.c: Likewise.
25626         * sysdeps/powerpc/memmove.c:: Likewise.
25627
25628 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
25629
25630         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
25631         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
25632
25633 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
25634
25635         * elf/elf.h (R_X86_64_RELATIVE64): New.
25636         (R_X86_64_NUM): Updated.
25637         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
25638         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
25639         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
25640         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
25641         tst-quad1pie tst-quad2pie
25642         (modules-names): Add tst-quadmod1 tst-quadmod2.
25643         ($(objpfx)tst-quad1): New dependency.
25644         ($(objpfx)tst-quad2): Likewise.
25645         ($(objpfx)tst-quad1pie): Likewise.
25646         ($(objpfx)tst-quad2pie): Likewise.
25647         * sysdeps/x86_64/tst-quad1.c: New file.
25648         * sysdeps/x86_64/tst-quad1pie.c: New file.
25649         * sysdeps/x86_64/tst-quad2.c: Likewise.
25650         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
25651         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
25652         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
25653         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
25654         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
25655
25656 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
25657
25658         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
25659         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
25660         * streams/stropts.h (t_scalar_t): Define type.
25661
25662         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
25663         (_PATH_PRESERVE): Set to "/var/lib".
25664         (_PATH_RWHODIR): Set to "/var/spool/rwho".
25665
25666         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
25667         instead of int.
25668
25669         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
25670         if __dir_mkfile succeeded.
25671
25672         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
25673         checking for _hurd_dtablesize.  Unlock it right after having
25674         finished _hurd_dtable allocation.
25675
25676 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
25677
25678         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
25679         * sysdeps/mach/hurd/configure: Regenerated.
25680         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
25681         special-casing to...
25682         * sysdeps/gnu/configure.in: ... this new file.
25683         * sysdeps/unix/sysv/linux/configure: Regenerated.
25684         * sysdeps/gnu/configure: New generated file.
25685
25686         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
25687         for Linux: use nsec instead of usec, as well as:
25688         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
25689         members of type struct timespec.
25690         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
25691         New macros.
25692         (struct stat64): Likewise.
25693         (_STATBUF_ST_NSEC): New macro.
25694         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
25695
25696         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
25697         __strtoul_internal rather than strtoul.
25698
25699 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
25700
25701         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
25702         and reject them.
25703
25704 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
25705
25706         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
25707         which preserves existing values.
25708         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
25709
25710 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
25711
25712         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
25713         TIMEOUT values.  Return EINVAL for NFDS values either negative or
25714         greater than FD_SETSIZE.
25715
25716 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
25717
25718         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
25719         allocated, call __vm_protect to finish enabling the existing space, and
25720         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
25721         allocate the remainder.
25722
25723 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
25724
25725         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
25726         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
25727
25728 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
25729
25730         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
25731         sysdeps/mach/hurd/readlink.c.
25732
25733         * posix/tst-sysconf.c (posix_options): Only use
25734         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
25735         _POSIX_SYNCHRONIZED_IO when they are defined
25736         * sysdeps/mach/hurd/bits/posix_opt.h:
25737         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
25738         (_XOPEN_REALTIME): Undefine macro.
25739         (_XOPEN_REALTIME_THREADS): Undefine macro.
25740         (_XOPEN_SHM): Undefine macro.
25741         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
25742         macro to -1.
25743         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
25744         macro to -1.
25745         (_POSIX_ASYNC_IO): Undefine macro.
25746         (_POSIX_PRIORITIZED_IO): Undefine macro.
25747         (_POSIX_SPIN_LOCKS): Define macro to -1.
25748
25749         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
25750         SA_NODEFER, SA_RESETHAND.
25751         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
25752         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
25753         F_DUPFD_CLOEXEC.
25754
25755 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
25756
25757         * elf/Makefile (pldd-modules): Define unconditionally.
25758
25759 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
25760
25761         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
25762
25763 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
25764
25765         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
25766         Return ENOENT when name is empty.
25767         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
25768
25769 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
25770
25771         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
25772
25773         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
25774
25775 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
25776
25777         Fix mlock in all cases except non-readable pages.
25778         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
25779         instead of VM_PROT_ALL as parameter to __vm_wire function.
25780
25781         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
25782         (__mkdir): When path is `/', just fail with EEXIST.
25783         * sysdeps/mach/hurd/mkdirat.c: Likewise.
25784
25785 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
25786
25787         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
25788         <sys/uio.h> (for writev).
25789         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
25790         and <sys/param.h> (for MIN).
25791
25792 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
25793
25794         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
25795         REQUESTED_TIME.  Properly set the remaining time and return EINTR
25796         if interrupted.
25797
25798 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
25799
25800         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
25801         Depend on against $(link-rpcuserlibs).
25802
25803 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
25804
25805         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
25806         (__libc_stack_end): Do not use attribute_relro.
25807         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
25808         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
25809         to libthread-provided value.
25810         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
25811         attribute_relro.
25812
25813 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
25814
25815         [BZ #3748]
25816         * bits/libc-lock.h (__libc_once_get): New macro.
25817         * sysdeps/mach/bits/libc-lock.h: Likewise.
25818         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
25819         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
25820         instead of using implementation details.
25821
25822         * libio/fileops.c: Unconditionally include <kernel-features.h>.
25823         * libio/freopen.c: Likewise.
25824         * libio/freopen64.c: Likewise.
25825         * misc/syslog.c: Likewise.
25826         * nscd/connections.c: Likewise.
25827         * nscd/netgroupcache.c: Likewise.
25828         * sysdeps/posix/getcwd.c: Likewise.
25829
25830 2012-05-10  Roland McGrath  <roland@hack.frob.com>
25831
25832         * math/w_ilogbf.c: Add #include <limits.h>.
25833
25834 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
25835
25836         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
25837         path instead of returning without unlocking.
25838
25839         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
25840         immediate-write ioctls.
25841         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
25842
25843 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
25844
25845         * sysdeps/mach/hurd/i386/init-first.c (init): Use
25846         __builtin_frame_address instead of making assumptions about the
25847         location of the return address relative to DATA.  Force early load of
25848         the return address.
25849         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
25850         __builtin_frame_address.
25851
25852         dup3 for GNU Hurd.
25853         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
25854         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
25855         implement dup3 and do some further code clean-ups.
25856         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
25857         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
25858
25859 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
25860
25861         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
25862
25863         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
25864         HURD_CRITICAL_END around holding _hurd_dtable_lock.
25865         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
25866         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
25867         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
25868         d->port.lock.
25869
25870         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
25871         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
25872         when handler == SIG_ERR, not when handler != SIG_ERR.
25873
25874 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
25875
25876         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
25877         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
25878         definitions.
25879
25880         accept4 for GNU Hurd.
25881         * include/sys/socket.h (__libc_accept4): New prototype.
25882         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
25883         to implement __libc_accept4.
25884         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
25885         __libc_accept4.
25886         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
25887
25888         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
25889         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
25890         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
25891         signal-defines.sym.
25892
25893 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
25894
25895         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
25896
25897 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
25898
25899         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
25900         assertion on O_CLOEXEC flag.
25901         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
25902         * hurd/intern-fd.c: Likewise.
25903         * hurd/port2fd.c: Likewise.
25904
25905 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
25906
25907         [BZ #3906]
25908         * bits/in.h (IPV6_PKTINFO): Define new macro.
25909         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
25910
25911 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25912
25913         [BZ #13954]
25914         [BZ #13955]
25915         [BZ #13956]
25916         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
25917         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
25918         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
25919         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
25920         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
25921         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
25922         * math/libm-test.inc (logb_test) : Additional logb tests.
25923
25924 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
25925             Andreas Jaeger  <aj@suse.de>
25926
25927         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
25928         * configure: Regenerated.
25929         * config.h.in (LINK_OBSOLETE_RPC): New macro.
25930         * config.make.in (link-obsolete-rpc): New substituted variable.
25931         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
25932         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
25933         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
25934         (shared-only-routines): Don't set it under [link-obsolete-rpc],
25935         so that libc.a contains the symbols.
25936         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
25937         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
25938         * sunrpc/auth_none.c: Likewise.
25939         * sunrpc/auth_unix.c: Likewise.
25940         * sunrpc/authdes_prot.c: Likewise.
25941         * sunrpc/authuxprot.c: Likewise.
25942         * sunrpc/clnt_gen.c: Likewise.
25943         * sunrpc/clnt_perr.c: Likewise.
25944         * sunrpc/clnt_raw.c: Likewise.
25945         * sunrpc/clnt_simp.c: Likewise.
25946         * sunrpc/clnt_tcp.c: Likewise.
25947         * sunrpc/clnt_udp.c: Likewise.
25948         * sunrpc/clnt_unix.c: Likewise.
25949         * sunrpc/des_crypt.c: Likewise.
25950         * sunrpc/des_soft.c: Likewise.
25951         * sunrpc/get_myaddr.c: Likewise.
25952         * sunrpc/key_call.c: Likewise.
25953         * sunrpc/key_prot.c: Likewise.
25954         * sunrpc/netname.c: Likewise.
25955         * sunrpc/pm_getmaps.c: Likewise.
25956         * sunrpc/pm_getport.c: Likewise.
25957         * sunrpc/pmap_clnt.c: Likewise.
25958         * sunrpc/pmap_prot.c: Likewise.
25959         * sunrpc/pmap_prot2.c: Likewise.
25960         * sunrpc/pmap_rmt.c: Likewise.
25961         * sunrpc/publickey.c: Likewise.
25962         * sunrpc/rpc_cmsg.c: Likewise.
25963         * sunrpc/rpc_common.c: Likewise.
25964         * sunrpc/rpc_dtable.c: Likewise.
25965         * sunrpc/rpc_prot.c: Likewise.
25966         * sunrpc/rpc_thread.c: Likewise.
25967         * sunrpc/rtime.c: Likewise.
25968         * sunrpc/svc.c: Likewise.
25969         * sunrpc/svc_auth.c: Likewise.
25970         * sunrpc/svc_raw.c: Likewise.
25971         * sunrpc/svc_run.c: Likewise.
25972         * sunrpc/svc_tcp.c: Likewise.
25973         * sunrpc/svc_udp.c: Likewise.
25974         * sunrpc/svc_unix.c: Likewise.
25975         * sunrpc/svcauth_des.c: Likewise.
25976         * sunrpc/xcrypt.c: Likewise.
25977         * sunrpc/xdr.c: Likewise.
25978         * sunrpc/xdr_array.c: Likewise.
25979         * sunrpc/xdr_float.c: Likewise.
25980         * sunrpc/xdr_intXX_t.c: Likewise.
25981         * sunrpc/xdr_mem.c: Likewise.
25982         * sunrpc/xdr_rec.c: Likewise.
25983         * sunrpc/xdr_ref.c: Likewise.
25984         * sunrpc/xdr_sizeof.c: Likewise.
25985         * sunrpc/xdr_stdio.c: Likewise.
25986
25987 2012-05-10  Roland McGrath  <roland@hack.frob.com>
25988
25989         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
25990         change.  Update copyright years.
25991
25992 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
25993
25994         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
25995
25996 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
25997             Joseph Myers  <joseph@codesourcery.com>
25998             Paul Pluzhnikov  <ppluzhnikov@google.com>
25999
26000         [BZ #14012]
26001         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
26002         requiring rpcgen.
26003         [cross-compiling] (extra-libs): Likewise.
26004         [cross-compiling] (extra-libs-others): Likewise.
26005         [cross-compiling] (librpcsvc-routines): Likewise.
26006         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
26007         [cross-compiling] (omit-deps): Likewise.
26008         (sunrpc-CPPFLAGS): New variable.
26009         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
26010         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
26011         (cross-rpcgen-objs): New variable.
26012         (extra-objs): Append $(cross-rpcgen-objs).
26013         ($(cross-rpcgen-objs)): New rule.
26014         ($(objpfx)cross-rpcgen): Likewise.
26015         (rpcgen-cmd): Define to use $(built-program-file).  Expand
26016         comment.
26017         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
26018         ($(objpfx)x%.stmp): Likewise.
26019         * sunrpc/proto.h [IS_IN_build] (_): Define.
26020         [IS_IN_build] (_libc_intl_domainname): Likewise.
26021
26022 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
26023
26024         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
26025         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
26026         and R_X86_64_TPOFF64.
26027
26028 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
26029
26030         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
26031         sysdeps/unix/sysv/syscalls.list.
26032         (stime): Likewise.
26033         (utime): Likewise.
26034         * sysdeps/unix/sysv/syscalls.list: Remove file.
26035
26036 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
26037
26038         [BZ #3440]
26039         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
26040         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
26041         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
26042         (__LC_IDENTIFICATION): Make these macros useful in #if
26043         expressions, as required by C99.
26044
26045 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
26046
26047         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
26048         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
26049         after this.
26050
26051 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
26052
26053         * stdlib/longlong.h: Updated from GCC.
26054
26055 2012-05-09  Andreas Jaeger  <aj@suse.de>
26056
26057         * nscd/nscd.c (run_modes): Make named enum, reorder so that
26058         default is first entry.
26059         (run_mode): Set type.
26060         (main): Remove informal message about syslog.
26061         (options): Fix typo.
26062
26063         [BZ #14053]
26064         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
26065         to asm.
26066         (lrint): Likewise.
26067         (llrintf): Likewise.
26068         (llrint): Likewise.
26069         (rint): Likewise.
26070         (rintf): Likewise.
26071         (nearbyint): Likewise.
26072         (nearbyintf): Likewise.
26073
26074 2012-05-09  Andreas Jaeger  <aj@suse.de>
26075             Pedro Alves  <palves@redhat.com>
26076
26077         * nscd/nscd.c (run_mode): Use enum.
26078         (main): Cleanup coding style issue.
26079
26080 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
26081             Andreas Jaeger  <aj@suse.de>
26082
26083         * nscd/nscd.c (go_background): Replaced with...
26084         (run_mode): ... this.
26085         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
26086         (options): Add -F --foreground.
26087         (main): Implement it.
26088         (parse_opt): Parse it.
26089
26090 2012-05-09  Andreas Jaeger  <aj@suse.de>
26091
26092         [BZ #14083]
26093         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
26094         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
26095         -Wconversion warning.
26096         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
26097         Likewise.
26098
26099 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
26100
26101         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
26102         == 0.
26103         (LC_ALL): Use macro-int-constant.
26104         (LC_COLLATE): Likewise.
26105         (LC_CTYPE): Likewise.
26106         (LC_MESSAGES): Likewise.
26107         (LC_MONETARY): Likewise.
26108         (LC_NUMERIC): Likewise.
26109         (LC_TIME): Likewise.
26110         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
26111         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
26112         [ISO || ISO99 || ISO11] (*_t): Do not allow.
26113         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
26114         Specify type.
26115         [C99-based standards] (float_t): Expect type.
26116         [C99-based standards] (double_t): Expect type.
26117         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
26118         type.
26119         [C99-based standards] (HUGE_VALL): Likewise.
26120         [C99-based standards] (INFINITY): Likewise.
26121         [C99-based standards] (NAN): Likewise.
26122         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
26123         [C99-based standards] (FP_NAN): Likewise.
26124         [C99-based standards] (FP_NORMAL): Likewise.
26125         [C99-based standards] (FP_SUBNORMAL): Likewise.
26126         [C99-based standards] (FP_ZERO): Likewise.
26127         [C99-based standards] (FP_FAST_FMA): Use
26128         optional-macro-int-constant.  Specify type.  Require == 1.
26129         [C99-based standards] (FP_FAST_FMAF): Likewise.
26130         [C99-based standards] (FP_FAST_FMAL): Likewise.
26131         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
26132         [C99-based standards] (FP_ILOGBNAN): Likewise.
26133         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
26134         Specify type.
26135         [C99-based standards] (MATH_ERREXCEPT): Likewise.
26136         [C99-based standards] (math_errhandling): Specify type.
26137         [ISO99 || ISO11] (signgam): Do not allow.
26138         [non-C99-based standards] (copysignf): Do not allow.
26139         [non-C99-based standards] (exp2f): Likewise.
26140         [non-C99-based standards] (log2f): Likewise.
26141         [non-C99-based standards] (modff): Allow.
26142         [non-C99-based standards] (erff): Do not allow.
26143         [non-C99-based standards] (erfcf): Likewise.
26144         [non-C99-based standards] (gammaf): Likewise.
26145         [non-C99-based standards] (hypotf): Likewise.
26146         [non-C99-based standards] (j0f): Likewise.
26147         [non-C99-based standards] (j1f): Likewise.
26148         [non-C99-based standards] (jnf): Likewise.
26149         [non-C99-based standards] (lgammaf): Likewise.
26150         [non-C99-based standards] (tgammaf): Likewise.
26151         [non-C99-based standards] (y0f): Likewise.
26152         [non-C99-based standards] (y1f): Likewise.
26153         [non-C99-based standards] (ynf): Likewise.
26154         [non-C99-based standards] (isnanf): Likewise.
26155         [non-C99-based standards] (acoshf): Likewise.
26156         [non-C99-based standards] (asinhf): Likewise.
26157         [non-C99-based standards] (atanhf): Likewise.
26158         [non-C99-based standards] (cbrtf): Likewise.
26159         [non-C99-based standards] (expm1f): Likewise.
26160         [non-C99-based standards] (ilogbf): Likewise.
26161         [non-C99-based standards] (log1pf): Likewise.
26162         [non-C99-based standards] (logbf): Likewise.
26163         [non-C99-based standards] (nextafterf): Likewise.
26164         [non-C99-based standards] (remainderf): Likewise.
26165         [non-C99-based standards] (rintf): Likewise.
26166         [non-C99-based standards] (scalbf): Likewise.
26167         [non-C99-based standards] (copysignl): Likewise.
26168         [non-C99-based standards] (exp2l): Likewise.
26169         [non-C99-based standards] (log2l): Likewise.
26170         [non-C99-based standards] (modfl): Allow.
26171         [non-C99-based standards] (erfl): Do not allow.
26172         [non-C99-based standards] (erfcl): Likewise.
26173         [non-C99-based standards] (gammal): Likewise.
26174         [non-C99-based standards] (hypotl): Likewise.
26175         [non-C99-based standards] (j0l): Likewise.
26176         [non-C99-based standards] (j1l): Likewise.
26177         [non-C99-based standards] (jnl): Likewise.
26178         [non-C99-based standards] (lgammal): Likewise.
26179         [non-C99-based standards] (tgammal): Likewise.
26180         [non-C99-based standards] (y0l): Likewise.
26181         [non-C99-based standards] (y1l): Likewise.
26182         [non-C99-based standards] (ynl): Likewise.
26183         [non-C99-based standards] (isnanl): Likewise.
26184         [non-C99-based standards] (acoshl): Likewise.
26185         [non-C99-based standards] (asinhl): Likewise.
26186         [non-C99-based standards] (atanhl): Likewise.
26187         [non-C99-based standards] (cbrtl): Likewise.
26188         [non-C99-based standards] (expm1l): Likewise.
26189         [non-C99-based standards] (ilogbl): Likewise.
26190         [non-C99-based standards] (log1pl): Likewise.
26191         [non-C99-based standards] (logbl): Likewise.
26192         [non-C99-based standards] (nextafterl): Likewise.
26193         [non-C99-based standards] (remainderl): Likewise.
26194         [non-C99-based standards] (rintl): Likewise.
26195         [non-C99-based standards] (scalbl): Likewise.
26196         [ISO || ISO99 || ISO11] (*_t): Do not allow.
26197         [non-C99-based standards] (FP_*): Do not allow.
26198         [C99-based standards] (FP_*): Change to
26199         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
26200         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
26201         allow.
26202         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
26203         (SIG_ERR): Likewise.
26204         [X/Open-based standards] (SIG_HOLD): Likewise.
26205         (SIG_IGN): Likewise.
26206         (SIGABRT): Use macro-int-constant.  Specify type.  Require
26207         positive value.
26208         (SIGFPE): Likewise.
26209         (SIGILL): Likewise.
26210         (SIGINT): Likewise.
26211         (SIGSEGV): Likewise.
26212         (SIGTER): Likewise.
26213         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
26214         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
26215         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
26216         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
26217         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
26218         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
26219         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
26220         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
26221         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
26222         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
26223         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
26224         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
26225         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
26226         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
26227         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
26228         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
26229         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
26230         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
26231         [X/Open-based standards] (SIGTRAP): Likewise.
26232         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
26233         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
26234         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
26235         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
26236         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
26237         allow.
26238
26239 2012-05-08  Ian Wienand  <ianw@vmware.com>
26240
26241         [BZ #14080]
26242         * time/tzset.c (__tzset_parse_tz): Update default rules for
26243         daylight time changes in the Energy Policy Act of 2005.
26244
26245 2012-05-09  Andreas Jaeger  <aj@suse.de>
26246
26247         [BZ #13983]
26248         * elf/ldconfig.c (parse_conf): Change string to make clear that
26249         ldconfig only issued a warning if ld.so.conf does not exist.
26250
26251 2012-05-08  David S. Miller  <davem@davemloft.net>
26252
26253         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
26254         movxtod instead of popping the value on the stack.
26255
26256         * sysdeps/sparc/fpu/libm-test-ulps: Update.
26257
26258 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
26259
26260         * config.h.in: Add HAVE_ARM_PCS_VFP.
26261
26262 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
26263
26264         [BZ #13979]
26265         * include/features.h: Warn if user requests __FORTIFY_SOURCE
26266         checking but the checks are disabled for any reason.
26267
26268 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
26269
26270         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
26271         and ELF64_R_TYPE with ELFW(R_TYPE).
26272
26273 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
26274
26275         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
26276         (ulimit): Likewise.
26277
26278         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
26279         (settimeofday): Likewise.
26280
26281 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
26282
26283         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
26284         a struct th_u2 inside the union, and move tu_block/tu_code into
26285         a new th_u3 union of tu_block/tu_code inside of that.  Move
26286         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
26287         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
26288         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
26289         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
26290         (th_stuff): Change to th_u1.tu_stuff.
26291         (th_data): Define.
26292         (th_msg): Change to th_u1.th_u2.tu_data.
26293
26294 2012-05-07  David S. Miller  <davem@davemloft.net>
26295
26296         * sysdeps/sparc/fpu/libm-test-ulps: Update.
26297
26298         [BZ #14074]
26299         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
26300         (SETUP_PIC_REG): Use it.
26301         (SETUP_PIC_REG_LEAF): Use it.
26302
26303 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
26304
26305         [BZ #13885]
26306         [BZ #13923]
26307         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
26308         USE_AS_EXPM1L.
26309         (EXPL_FINITE): Likewise.
26310         (FLDLOG): Likewise.
26311         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
26312         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
26313         e_expl.S.
26314         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
26315         USE_AS_EXPM1L.
26316         (EXPL_FINITE): Likewise.
26317         (FLDLOG): Likewise.
26318         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
26319         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
26320         e_expl.S.
26321         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
26322         test of -max_value argument for long double.
26323         * sysdeps/i386/fpu/libm-test-ulps: Update.
26324         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26325
26326 2012-05-06  David S. Miller  <davem@davemloft.net>
26327
26328         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
26329         quad soft-float symbols whose references which are compiler
26330         generated.
26331         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
26332
26333 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
26334
26335         [BZ #13884]
26336         [BZ #13914]
26337         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
26338         USE_AS_EXP10L.
26339         (EXPL_FINITE): Likewise.
26340         (FLDLOG): Likewise.
26341         (c0): Likewise.
26342         (c1): Likewise.
26343         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
26344         Adjust comments for base varying.
26345         (__expl_finite): Change alias to EXPL_FINITE.
26346         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
26347         e_expl.S.
26348         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
26349         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
26350         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
26351         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
26352         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
26353         USE_AS_EXP10L.
26354         (EXPL_FINITE): Likewise.
26355         (FLDLOG): Likewise.
26356         (c0): Likewise.
26357         (c1): Likewise.
26358         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
26359         Adjust comments for base varying.
26360         (__expl_finite): Change alias to EXPL_FINITE.
26361         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
26362         tests for bugs.
26363         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26364
26365         [BZ #14064]
26366         * math/libm-test.inc (check_float_internal): Correct ulp
26367         calculation for subnormal expected results.
26368
26369 2012-05-06  Andreas Jaeger  <aj@suse.de>
26370
26371         * Makeconfig (+math-flags): New, set to -frounding-math.
26372         (+cflags): Add +math-flags so that all of glibc gets compiled with
26373         it.
26374
26375         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
26376
26377 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
26378
26379         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
26380         Disable one test.
26381
26382         [BZ #13787]
26383         [BZ #13922]
26384         [BZ #14036]
26385         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
26386         (__ieee754_expl): Allow for and saturate large arguments.
26387         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
26388         (u_threshold): Likewise.
26389         (__exp): Call __ieee754_exp before checking for overflow and
26390         underflow.
26391         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
26392         (u_threshold): Likewise.
26393         (__expf): Call __ieee754_expf before checking for overflow and
26394         underflow.
26395         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
26396         (u_threshold): Likewise.
26397         (__expl): Call __ieee754_expl before checking for overflow and
26398         underflow.
26399         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
26400         (__ieee754_expl): Allow for and saturate large arguments.
26401         * math/libm-test.inc (exp_test): Add another test.  Do not allow
26402         missing overflow exception on overflow.
26403         (expm1_test): Do not allow missing overflow exception on overflow.
26404
26405         * sysdeps/i386/fpu/e_expl.c: Move to ...
26406         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
26407         rather than using inline asm.
26408         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
26409         * sysdeps/x86_64/fpu/e_expl.S: Copy from
26410         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
26411
26412         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
26413         (nice): Likewise.
26414         (poll): Likewise.
26415         (signal): Likewise.
26416         (time): Likewise.
26417         (times): Likewise.
26418
26419 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
26420
26421         * sysdeps/unix/syscalls.list (adjtime): Add entry from
26422         sysdeps/unix/common/syscalls.list.
26423         (fchmod): Likewise.
26424         (fchown): Likewise.
26425         (ftruncate): Likewise.
26426         (getrusage): Likewise.
26427         (gettimeofday): Likewise.
26428         (setpgid): Likewise.
26429         (setregid): Likewise.
26430         (setreuid): Likewise.
26431         (sigaction): Likewise.
26432         (truncate): Likewise.
26433         (vhangup): Likewise.
26434         * sysdeps/unix/common/syscalls.list: Remove file.
26435         * sysdeps/unix/bsd/Implies: Don't include unix/common.
26436         * sysdeps/unix/sysv/linux/Implies: Likewise.
26437
26438 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
26439
26440         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
26441         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
26442         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
26443         Moved to ...
26444         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
26445         Here.
26446         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
26447         to ...
26448         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
26449         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
26450         to ...
26451         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
26452         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
26453         to ...
26454         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
26455         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
26456         to ...
26457         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
26458         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
26459         to ...
26460         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
26461         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
26462         to ...
26463         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
26464         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
26465         to ...
26466         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
26467         Here.
26468         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
26469         to ...
26470         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
26471         Here.
26472         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
26473         to ...
26474         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
26475         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
26476         Moved to ...
26477         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
26478         Here.
26479         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
26480         to ...
26481         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
26482
26483 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
26484
26485         * sysdeps/unix/common/bits/dirent.h: Remove file.
26486         * sysdeps/unix/common/bits/fcntl.h: Likewise.
26487
26488         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
26489         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
26490         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
26491         * sysdeps/unix/bsd/isatty.c: Likewise.
26492         * sysdeps/unix/bsd/tcdrain.c: Likewise.
26493         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
26494         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
26495
26496 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26497
26498         [BZ #13563]
26499         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
26500         long double comparison inaccuracies.
26501         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
26502         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26503
26504 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
26505
26506         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
26507         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
26508
26509 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
26510
26511         [BZ #14049]
26512         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
26513         nonzero digits before rounding a hex value.
26514         * stdlib/tst-strtod.c (tests): Add another test.
26515
26516 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
26517
26518         * sysdeps/s390/fpu/libm-test-ulps: Update.
26519
26520 2012-05-03  Andreas Jaeger  <aj@suse.de>
26521
26522         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
26523         does not get optimized out.
26524         (malloc_opt_barrier): New.
26525
26526 2012-05-03  Andreas Jaeger  <aj@suse.de>
26527             Roland McGrath  <roland@hack.frob.com>
26528
26529         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
26530         intermediate file deletion.
26531         (generated): Add .symlist files.
26532
26533 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
26534
26535         [BZ #13775]
26536         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
26537         Redirect under this condition.
26538         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
26539         [__USE_GNU] (__dprintf_chk): Not under this condition.
26540         [__USE_GNU] (__vdprintf_chk): Likewise.
26541         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
26542         under this condition.
26543         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
26544         [__USE_XOPEN2K8] (dprintf): Define under this condition.
26545         [__USE_XOPEN2K8] (vdprintf): Likewise.
26546         [__USE_GNU] (__dprintf_chk): Not under this condition.
26547         [__USE_GNU] (__vdprintf_chk): Likewise.
26548         [__USE_GNU] (dprintf): Likewise.
26549         [__USE_GNU] (vdprintf): Likewise.
26550
26551 2012-05-03  Roland McGrath  <roland@hack.frob.com>
26552
26553         * elf/Makefile (common-generated): Set this instead of generated for
26554         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
26555         $(all-built-dso)-derived lists.
26556
26557 2012-05-03  Andreas Jaeger  <aj@suse.de>
26558
26559         * sysdeps/i386/fpu/libm-test-ulps: Update.
26560
26561         * FAQ: Removed.
26562         * FAQ.in: Likewise.
26563         * scripts/gen-FAQ.pl: Likewise.
26564         * manual/install.texi (Installation): Point to online location of
26565         FAQ.
26566         * Makefile (files-for-dist): Remove FAQ.
26567         (FAQ): Remove.
26568
26569 2012-05-02  Allan McRae  <allan@archlinux.org>
26570
26571         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
26572         (LDFLAGS-reldepmod5.so): Likewise.
26573         (LDFLAGS-reldep6mod1.so): Likewise.
26574         (LDFLAGS-reldep6mod4.so): Likewise.
26575         (LDFLAGS-reldep8mod3.so): Likewise.
26576         (LDFLAGS-unload4mod1.so): Likewise.
26577         (LDFLAGS-unload4mod2.so): Likewise.
26578         (LDFLAGS-tst-initorder): Likewise.
26579         (LDFLAGS-tst-initordera2.so): Likewise.
26580         (LDFLAGS-tst-initordera3.so): Likewise.
26581         (LDFLAGS-tst-initordera4.so): Likewise.
26582         (LDFLAGS-tst-initorderb2.so): Likewise.
26583         (LDFLAGS-noload): Likewise.
26584         (LDFLAGS-next): Likewise.
26585         (LDFLAGS-order2mod1.so): Likewise.
26586         (LDFLAGS-order2mod2.so): Likewise.
26587         (LDFLAGS-tst-initorder2): Likewise.
26588         (LDFLAGS-tst-initorder2a.so): Likewise.
26589         (LDFLAGS-tst-initorder2b.so): Likewise.
26590         (LDFLAGS-tst-initorder2c.so): Likewise.
26591         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
26592
26593 2012-05-02  David S. Miller  <davem@davemloft.net>
26594
26595         * sysdeps/sparc/fpu/libm-test-ulps: Update.
26596
26597 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
26598
26599         [BZ #14055]
26600         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
26601
26602 2012-05-02  Andreas Jaeger  <aj@suse.de>
26603
26604         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
26605         since we manipulate rounding mode.
26606         (CPPFLAGS-test-idouble.c): Likewise.
26607         (CPPFLAGS-test-ifloat.c): Likewise.
26608         (CFLAGS-test-ldouble.c): Likewise.
26609         (CFLAGS-test-double.c): Likewise.
26610         (CFLAGS-test-float.c): Likewise.
26611         (CFLAGS-test-misc.c): Likewise.
26612         (CFLAGS-test-test-fenv.c): Likewise.
26613
26614 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26615
26616         [BZ #2550]
26617         [BZ #2570]
26618         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
26619         comparisons to determine direction to adjust input.
26620
26621 2012-05-01  Roland McGrath  <roland@hack.frob.com>
26622
26623         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
26624         output to the target.
26625
26626         * scripts/localplt.awk: New file.
26627         * elf/Makefile ($(objpfx)check-localplt): Target removed.
26628         (check-localplt-CFLAGS): Variable removed.
26629         ($(all-built-dso:=.jmprel)): New static pattern rule.
26630         (generated): Add those targets.
26631         (localplt-built-dso): New variable.
26632         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
26633
26634         * elf/check-localplt.c: File removed.
26635
26636         * scripts/check-execstack.awk: New file.
26637         * elf/Makefile ($(objpfx)check-execstack): Target removed.
26638         (check-execstack-CFLAGS): Variable removed.
26639         ($(objpfx)check-execstack.h): Target removed.
26640         ($(objpfx)execstack-default): New target.
26641         (generated): Add that instead of check-execstack.h.
26642         ($(all-built-dso:=.phdr)): New static pattern rule.
26643         (generated): Add those targets.
26644         * elf/check-execstack.c: File removed.
26645
26646         * scripts/check-textrel.awk: New file.
26647         * elf/Makefile ($(objpfx)check-textrel): Target removed.
26648         (check-textrel-CFLAGS): Variable removed.
26649         (all-built-dso): Use := to define.o
26650         ($(all-built-dso:=.dyn)): New static pattern rule.
26651         (generated): Add those targets.
26652         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
26653         * config.make.in (READELF): New substituted variable.
26654         * elf/check-textrel.c: File removed.
26655
26656 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
26657
26658         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
26659         allow.
26660         * conform/data/ctype.h-data [C99-based standards] (isblank):
26661         Expect function.
26662         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
26663         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
26664         [ISO || ISO99 || ISO11] (*_t): Do not allow.
26665         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
26666         Specify type.  Require positive value.
26667         (EILSEQ): Likewise.
26668         (ERANGE): Likewise.
26669         [ISO || POSIX] (EILSEQ): Do not expect.
26670         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
26671         Specify type.  Require positive value.
26672         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
26673         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
26674         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
26675         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
26676         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
26677         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
26678         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
26679         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
26680         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
26681         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
26682         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
26683         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
26684         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
26685         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
26686         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
26687         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
26688         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
26689         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
26690         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
26691         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
26692         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
26693         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
26694         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
26695         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
26696         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
26697         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
26698         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
26699         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
26700         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
26701         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
26702         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
26703         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
26704         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
26705         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
26706         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
26707         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
26708         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
26709         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
26710         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
26711         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
26712         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
26713         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
26714         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
26715         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
26716         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
26717         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
26718         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
26719         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
26720         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
26721         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
26722         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
26723         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
26724         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
26725         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
26726         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
26727         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
26728         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
26729         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
26730         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
26731         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
26732         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
26733         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
26734         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
26735         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
26736         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
26737         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
26738         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
26739         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
26740         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
26741         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
26742         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
26743         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
26744         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
26745         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
26746         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
26747         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
26748         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
26749         Require >= 2.
26750         (FLT_ROUNDS): Expect as macro, not constant.
26751         (FLT_MANT_DIG): Use macro-int-constant.
26752         (DBL_MANT_DIG): Likewise.
26753         (LDBL_MANT_DIG): Likewise.
26754         (FLT_DIG): Likewise.
26755         (DBL_DIG): Likewise.
26756         (LDBL_DIG): Likewise.
26757         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
26758         (DBL_MIN_EXP): Likewise.
26759         (LDBL_MIN_EXP): Likewise.
26760         (FLT_MAX_EXP): Use macro-int-constant.
26761         (DBL_MAX_EXP): Likewise.
26762         (LDBL_MAX_EXP): Likewise.
26763         (FLT_MAX_10_EXP): Likewise.
26764         (DBL_MAX_10_EXP): Likewise.
26765         (LDBL_MAX_10_EXP): Likewise.
26766         (FLT_MAX): Use macro-constant.
26767         (DBL_MAX): Likewise.
26768         (LDBL_MAX): Likewise.
26769         (FLT_EPSILON): Use macro-constant.  Give upper bound.
26770         (DBL_EPSILON): Likewise.
26771         (LDBL_EPSILON): Likewise.
26772         (FLT_MIN): Likewise.
26773         (DBL_MIN): Likewise.
26774         (LDBL_MIN): Likewise.
26775         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
26776         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
26777         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
26778         [ISO11] (FLT_HAS_SUBNORM): Likewise.
26779         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
26780         [ISO11] (DBL_DECIMAL_DIG): Likewise.
26781         [ISO11] (FLT_DECIMAL_DIG): Likewise.
26782         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
26783         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
26784         [ISO11] (FLT_TRUE_MIN): Likewise.
26785         [ISO11] (LDBL_TRUE_MIN): Likewise.
26786         [ISO || ISO99 || ISO11] (*_t): Do not allow.
26787         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
26788         (SCHAR_MIN): Use macro-int-constant.  Specify type.
26789         (SCHAR_MAX): Likewise.
26790         (UCHAR_MAX): Likewise.
26791         (CHAR_MIN): Likewise.
26792         (CHAR_MAX): Likewise.
26793         (MB_LEN_MAX): Use macro-int-constant.
26794         (SHRT_MIN): Use macro-int-constant.  Specify type.
26795         (SHRT_MAX): Likewise.
26796         (USHRT_MAX): Likewise.
26797         (INT_MAX): Likewise.
26798         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
26799         bound negative.
26800         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
26801         bound with "U".
26802         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
26803         bound with "L".
26804         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
26805         bound negative.  Suffix upper bound with "L".
26806         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
26807         bound with "UL".
26808         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
26809         Specify type.
26810         [C99-based standards] (LLONG_MAX): Likewise.
26811         [C99-based standards] (ULLONG_MAX): Likewise.
26812         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
26813         == 0.
26814         [ISO11] (max_align_t): Require type.
26815         [ISO || ISO99 || ISO11] (*_t): Do not allow.
26816
26817         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
26818         from $CFLAGS, without defining away __attribute__ calls.
26819         (checknamespace): Use $CFLAGS_namespace.
26820
26821         * conform/conformtest.pl (@keywords): Only include C99 keywords
26822         for standards based on C99 or C11.
26823
26824         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
26825         Disable tests.
26826         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
26827         UNIX98]: Likewise.
26828
26829         * conform/conformtest.pl: Handle "macro-int-constant" and test for
26830         usability of symbols in #if.
26831
26832         * conform/conformtest.pl: If macro or constant types start
26833         "promoted:", expect the symbol to be of the following type
26834         promoted by the integer promotions.
26835
26836         * conform/conformtest.pl: Parse all "constant" and "macro" lines
26837         in one place.  Also handle "macro-constant".
26838
26839         * conform/conformtest.pl: Only accept expected macro values with
26840         "==".  Parse all "macro" lines in one place.
26841         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
26842
26843         * conform/conformtest.pl: Handle braced types on "constant" lines
26844         instead of handling "typed-constant".
26845         * conform/data/signal.h-data: Use "constant" instead of
26846         "typed-constant".
26847
26848         * conform/conformtest.pl: Handle "optional-" at start of lines in
26849         one place rather than duplicating several cases.  Handle each
26850         format of "macro" line with initial "optional-".
26851
26852         * conform/conformtest.pl: Only accept expected constant or
26853         optional-constant values with "==".  Parse all "constant" lines in
26854         one place.  Parse all "optional-constant" lines in one place.
26855         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
26856         * conform/data/fmtmsg.h-data: Likewise.
26857         * conform/data/netinet/in.h-data: Likewise.
26858         * conform/data/tar.h-data: Likewise.
26859         * conform/data/limits.h-data: Use "==" form on "constant" and
26860         "optional-constant" lines.
26861
26862         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
26863         Use -std=c99 for XOPEN2K.
26864         (@knownproblems): Remove.
26865         (newtoken): Don't check %isknown.
26866
26867         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
26868         Do not expect macro.
26869         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
26870         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
26871         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
26872         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
26873         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
26874         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
26875         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
26876         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
26877         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
26878         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
26879         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
26880         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
26881         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
26882         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
26883         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
26884         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
26885         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
26886         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
26887         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
26888         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
26889         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
26890         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
26891         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
26892         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
26893         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
26894         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
26895         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
26896         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
26897         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
26898         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
26899         [XPG3] (acosh): Likewise.
26900         [XPG3] (asinh): Likewise.
26901         [XPG3] (atanh): Likewise.
26902         [XPG3] (cbrt): Likewise.
26903         [XPG3] (expm1): Likewise.
26904         [XPG3] (ilogb): Likewise.
26905         [XPG3] (log1p): Likewise.
26906         [XPG3] (logb): Likewise.
26907         [XPG3] (nextafter): Likewise.
26908         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
26909         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
26910         [XPG3] (remainder): Likewise.
26911         [XPG3] (rint): Likewise.
26912         [XPG3 || XPG4 || UNIX98] (round): Likewise.
26913         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
26914         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
26915         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
26916         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
26917         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
26918         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
26919         [UNIX98 || XOPEN2K] (scalb): Expect.
26920         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
26921         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
26922         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
26923         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
26924         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
26925         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
26926         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
26927         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
26928         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
26929         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
26930         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
26931         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
26932         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
26933         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
26934         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
26935         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
26936         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
26937         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
26938         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
26939         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
26940         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
26941         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
26942         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
26943         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
26944         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
26945         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
26946         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
26947         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
26948         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
26949         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
26950         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
26951         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
26952         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
26953         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
26954         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
26955         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
26956         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
26957         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
26958         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
26959         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
26960         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
26961         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
26962         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
26963         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
26964         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
26965         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
26966         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
26967         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
26968         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
26969         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
26970         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
26971         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
26972         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
26973         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
26974         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
26975         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
26976         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
26977         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
26978         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
26979         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
26980         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
26981         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
26982         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
26983         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
26984         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
26985         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
26986         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
26987         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
26988         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
26989         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
26990         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
26991         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
26992         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
26993         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
26994         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
26995         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
26996         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
26997         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
26998         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
26999         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
27000         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
27001         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
27002         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
27003         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
27004         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
27005         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
27006         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
27007         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
27008         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
27009         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
27010         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
27011         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
27012         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
27013         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
27014         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
27015         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
27016         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
27017         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
27018         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
27019         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
27020         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
27021         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
27022         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
27023         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
27024         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
27025         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
27026         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
27027         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
27028         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
27029         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
27030         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
27031         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
27032         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
27033         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
27034         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
27035         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
27036         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
27037         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
27038         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
27039         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
27040         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
27041         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
27042         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
27043         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
27044         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
27045         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
27046         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
27047         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
27048         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
27049         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
27050         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
27051         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
27052         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
27053         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
27054         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
27055         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
27056         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
27057
27058         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
27059         _XOPEN_SOURCE_EXTENDED for XPG4.
27060
27061         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
27062
27063         * Makeconfig (localtime): Remove variable.
27064         (inst_localtime-file): Likewise.
27065
27066 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
27067
27068         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
27069         Update.
27070         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
27071         Update.
27072         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
27073         Update.
27074         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
27075         Update.
27076         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
27077         Update.
27078         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
27079         Update.
27080         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
27081         Update.
27082         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
27083         Update.
27084         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
27085         Update.
27086
27087 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
27088
27089         [BZ #2550]
27090         [BZ #2570]
27091         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
27092         comparisons to determine direction to adjust input.
27093         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
27094         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
27095         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
27096         Likewise.
27097         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
27098         Likewise.
27099         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
27100         Likewise.
27101         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
27102         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
27103         Likewise.
27104         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
27105         Likewise.
27106         * math/libm-test.inc (nexttoward_test): Add more tests.
27107
27108 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
27109
27110         [BZ #14040]
27111         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
27112         in version GLIBC_2.1, not GLIBC_2.0.
27113         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
27114         Likewise.
27115
27116 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
27117
27118         [BZ #13942]
27119         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
27120         (1 - x) * (1 + x).
27121         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
27122         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
27123         * math/libm-test.inc (acos_test): Add more tests.
27124         (asin_test): Likewise.
27125         * sysdeps/i386/fpu/libm-test-ulps: Update.
27126         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27127
27128         [BZ #14034]
27129         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
27130         of square root.
27131         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
27132         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
27133         * math/libm-test.inc (acos_test_tonearest): New function.
27134         (acos_test_towardzero): Likewise.
27135         (acos_test_downward): Likewise.
27136         (acos_test_upward): Likewise.
27137         (asin_test_tonearest): Likewise.
27138         (asin_test_towardzero): Likewise.
27139         (asin_test_downward): Likewise.
27140         (asin_test_upward): Likewise.
27141         (main): Call the new functions.
27142         * sysdeps/i386/fpu/libm-test-ulps: Update.
27143         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27144
27145         [BZ #13884]
27146         [BZ #13924]
27147         * math/e_exp10.c: Include <float.h>.
27148         (__ieee754_exp10): Handle underflow here rather than multiplying
27149         large negative argument by M_LN10.
27150         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
27151         of __ieee754_expf.
27152         * math/e_exp10l.c: Include <float.h>.
27153         (__ieee754_exp10l): Handle underflow here rather than multiplying
27154         large negative argument by M_LN10l.
27155         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
27156         spurious overflow exception on underflow.
27157
27158 2012-04-29  Marek Polacek  <polacek@redhat.com>
27159
27160         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
27161         (__fortify_function): New macro.
27162         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
27163         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
27164         __extern_always_inline.
27165         * libio/bits/stdio2.h: Likewise.
27166         * libio/bits/stdio.h: Likewise.
27167         * string/string.h: Likewise.
27168         * string/bits/string3.h: Likewise.
27169         * include/stdio.h: Likewise.
27170         * stdlib/bits/stdlib.h: Likewise.
27171         * stdlib/stdlib.h: Likewise.
27172         * rt/bits/mqueue2.h: Likewise.
27173         * rt/mqueue.h: Likewise.
27174         * posix/bits/unistd.h: Likewise.
27175         * posix/unistd.h: Likewise.
27176         * io/bits/poll2.h: Likewise.
27177         * io/bits/fcntl2.h: Likewise.
27178         * io/fcntl.h: Likewise.
27179         * io/sys/poll.h: Likewise.
27180         * misc/bits/syslog.h: Likewise.
27181         * misc/bits/syslog-ldbl.h: Likewise.
27182         * misc/sys/syslog.h: Likewise.
27183         * socket/bits/socket2.h: Likewise.
27184         * socket/sys/socket.h: Likewise.
27185         * debug/tst-chk1.c: Likewise.
27186         * wcsmbs/bits/wchar2.h: Likewise.
27187         * wcsmbs/bits/wchar-ldbl.h: Likewise.
27188         * wcsmbs/wchar.h: Likewise.
27189
27190 2012-04-29  Andreas Jaeger  <aj@suse.de>
27191
27192         * Makerules (tests): Remove enable-check-abi protection.
27193         (check-abi-warn): Remove.
27194         (check-abi-%): Remove check-abi-warn usage.
27195
27196         * configure.in: Remove check-abi configure option.
27197         * configure: Regenerated.
27198         * config.make.in (enable-check-abi): Remove.
27199
27200 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
27201
27202         [BZ #14033]
27203         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
27204         double functions to double *_finite functions.
27205
27206         [BZ #13941]
27207         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
27208         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
27209         LDBL_MIN_EXP.
27210         * stdio-common/Makefile (tests): Add tst-sprintf3.
27211         * stdio-common/tst-sprintf3.c: New file.
27212
27213         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
27214         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
27215
27216 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
27217
27218         * conform/conformtest.pl: Remove duplicate typed-constant
27219         handling.
27220
27221 2012-04-28  David S. Miller  <davem@davemloft.net>
27222
27223         * Makerules (%.abilist): Add vpath on sysdep_dirs.
27224         (check-abi-%): Remove AWK script prerequisite and explicit
27225         abilist directory.
27226         (check-abi): Rewrite to just diff the symlist with the abilist.
27227         (config-tls, config-abi-config): Delete, no longer used.
27228         (update-abi-%): Remove AWK script and explicit abilist directory.
27229         (update-abi): Rewrite to simply compare and conditionally copy the
27230         symlist and the sysdep abilist file.  Remove update-abi-config
27231         checks.
27232         * abilist/ld.abilist: Remove.
27233         * abilist/libBrokenLocale.abilist: Remove.
27234         * abilist/libanl.abilist: Remove.
27235         * abilist/libcrypt.abilist: Remove.
27236         * abilist/libdl.abilist: Remove.
27237         * abilist/librt.abilist: Remove.
27238         * abilist/libthread_db.abilist: Remove.
27239         * abilist/libutil.abilist: Remove.
27240         * scripts/extract-abilist.awk: Remove.
27241         * scripts/merge-abilist.awk: Remove.
27242         * sysdeps/generic/libcidn.abilist: New file.
27243         * sysdeps/generic/libnss_compat.abilist: New file.
27244         * sysdeps/generic/libnss_db.abilist: New file.
27245         * sysdeps/generic/libnss_dns.abilist: New file.
27246         * sysdeps/generic/libnss_files.abilist: New file.
27247         * sysdeps/generic/libnss_hesiod.abilist: New file.
27248         * sysdeps/generic/libnss_nis.abilist: New file.
27249         * sysdeps/generic/libnss_nisplus.abilist: New file.
27250         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
27251         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
27252         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
27253         file.
27254         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
27255         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
27256         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
27257         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
27258         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
27259         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
27260         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
27261         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
27262         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
27263         file.
27264         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
27265         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
27266         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
27267         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
27268         file.
27269         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
27270         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
27271         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
27272         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
27273         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
27274         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
27275         file.
27276         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
27277         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
27278         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
27279         file.
27280         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
27281         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
27282         New file.
27283         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
27284         New file.
27285         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
27286         New file.
27287         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
27288         New file.
27289         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
27290         New file.
27291         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
27292         New file.
27293         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
27294         New file.
27295         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
27296         New file.
27297         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
27298         New file.
27299         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
27300         New file.
27301         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
27302         New file.
27303         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
27304         New file.
27305         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
27306         New file.
27307         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
27308         file.
27309         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
27310         New file.
27311         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
27312         New file.
27313         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
27314         file.
27315         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
27316         New file.
27317         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
27318         New file.
27319         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
27320         file.
27321         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
27322         New file.
27323         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
27324         New file.
27325         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
27326         New file.
27327         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
27328         New file.
27329         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
27330         New file.
27331         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
27332         New file.
27333         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
27334         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
27335         file.
27336         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
27337         New file.
27338         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
27339         file.
27340         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
27341         file.
27342         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
27343         file.
27344         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
27345         file.
27346         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
27347         file.
27348         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
27349         New file.
27350         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
27351         file.
27352         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
27353         file.
27354         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
27355         New file.
27356         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
27357         file.
27358         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
27359         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
27360         file.
27361         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
27362         New file.
27363         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
27364         file.
27365         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
27366         file.
27367         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
27368         file.
27369         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
27370         file.
27371         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
27372         file.
27373         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
27374         New file.
27375         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
27376         file.
27377         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
27378         file.
27379         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
27380         New file.
27381         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
27382         file.
27383         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
27384         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
27385         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
27386         file.
27387         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
27388         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
27389         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
27390         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
27391         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
27392         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
27393         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
27394         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
27395         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
27396         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
27397         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
27398         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
27399         file.
27400         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
27401         New file.
27402         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
27403         file.
27404         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
27405         file.
27406         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
27407         file.
27408         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
27409         file.
27410         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
27411         file.
27412         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
27413         New file.
27414         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
27415         New file.
27416         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
27417         file.
27418         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
27419         New file.
27420         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
27421         file.
27422         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
27423         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
27424         file.
27425         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
27426         New file.
27427         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
27428         file.
27429         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
27430         file.
27431         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
27432         file.
27433         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
27434         file.
27435         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
27436         file.
27437         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
27438         New file.
27439         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
27440         New file.
27441         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
27442         file.
27443         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
27444         New file.
27445         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
27446         file.
27447
27448 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
27449
27450         * conform/conformtest.pl: Fix typo in handling typed-constant from
27451         allow-header.
27452
27453 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
27454
27455         * README: Cut down references to pre-2.6 Linux kernels and
27456         Linuxthreads.  Update lists of configurations in libc and ports
27457         and sort alphabetically.  Say "or newer" with Linux kernel version
27458         requirements.
27459
27460         * config.h.in [IS_IN_build]: Allow compiling without optimization.
27461
27462 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
27463
27464         [BZ #887]
27465         * math/libm-test.inc (logb_test_downward): New test to expose
27466         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
27467         rounding mode.
27468
27469 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
27470
27471         [BZ #14027]
27472         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
27473         to be done.
27474         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
27475         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
27476
27477 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
27478
27479         * sysdeps/unix/i386/brk.S: Remove file.
27480         * sysdeps/unix/i386/dl-brk.S: Likewise.
27481         * sysdeps/unix/i386/pipe.S: Likewise.
27482         * sysdeps/unix/i386/sigreturn.S: Likewise.
27483         * sysdeps/unix/i386/syscall.S: Likewise.
27484         * sysdeps/unix/i386/vfork.S: Likewise.
27485         * sysdeps/unix/i386/wait.S: Likewise.
27486
27487         * sysdeps/unix/common/tcsendbrk.c: Move to ...
27488         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
27489
27490         * configure.in (arm*-none*): Do not allow without
27491         --enable-hacker-mode.
27492         (netbsd*): Remove case setting base_os.
27493         (386bsd*): Likewise.
27494         (freebsd*): Likewise.
27495         (bsdi*): Likewise.
27496         (osf*): Likewise.
27497         (sunos*): Likewise.
27498         (ultrix*): Likewise.
27499         (newsos*): Likewise.
27500         (dynix*): Likewise.
27501         (*bsd*): Likewise.
27502         (sysv*): Likewise.
27503         (isc*): Likewise.
27504         (esix*): Likewise.
27505         (sco*): Likewise.
27506         (minix*): Likewise.
27507         (irix4*): Likewise.
27508         (irix6*): Likewise.
27509         (solaris[2-9]*): Likewise.
27510         (none): Likewise.
27511         * configure: Regenerated.
27512
27513 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27514
27515         [BZ #11521]
27516         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
27517         overflow or cancellation in calculating denominator.
27518         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
27519         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
27520         down expression to avoid unexpected rounding in newer GCCs.
27521         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
27522
27523 2012-04-26  David S. Miller  <davem@davemloft.net>
27524
27525         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
27526         long-double compat symbols.
27527         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
27528         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
27529         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
27530         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
27531         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
27532         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
27533         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
27534         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
27535         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
27536         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
27537         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
27538         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
27539         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
27540
27541 2012-04-25  David S. Miller  <davem@davemloft.net>
27542
27543         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
27544         HWCAP_* values only after the memory barriers have been defined.
27545         (atomic_full_barrier): Define.
27546         (atomic_read_barrier): Define.
27547         (atomic_write_barrier): Define.
27548
27549 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
27550
27551         * shlib-versions: Add libgcc_s version information.
27552         * sysdeps/generic/libgcc_s.h: Remove.
27553         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
27554         libgcc_s.h.
27555         * sysdeps/gnu/unwind-resume.c: Likewise.
27556         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
27557
27558 2012-04-25  David S. Miller  <davem@davemloft.net>
27559
27560         * sysdeps/unix/sparc/brk.S: Delete.
27561         * sysdeps/unix/sparc/dl-brk.S: Delete.
27562         * sysdeps/unix/sparc/pipe.S: Delete.
27563         * sysdeps/unix/sparc/sysdep.S: Delete.
27564         * sysdeps/unix/sparc/sysdep.h: Delete.
27565         * sysdeps/unix/sparc/vfork.S: Delete.
27566         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
27567         SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
27568         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
27569         ret_ERRVAL, r0, r1, MOVE): Define.
27570         (JUMPTARGET): Remove.
27571         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
27572         sysdeps/unix/sparc/sysdep.h
27573         (ENTRY, END): Remove.
27574         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
27575
27576 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
27577
27578         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
27579         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
27580         -DIS_IN_build.
27581
27582         * timezone/README: Update upstream location and email address for
27583         tzcode and tzdata.
27584         * timezone/zdump.c: Update from tzcode 2012b.
27585         * timezone/zic.c: Likewise.
27586
27587         * configure.in (libc_cv_as_needed): Remove test.
27588         * configure: Regenerated.
27589         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
27590         conditional definition.
27591         [$(have-as-needed) != yes] (no-as-needed): Likewise.
27592         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
27593         * config.make.in (have-as-needed): Remove variable.
27594
27595 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
27596             Paul Pluzhnikov  <ppluzhnikov@google.com>
27597
27598         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
27599         strings correctly.
27600
27601 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
27602
27603         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
27604         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
27605         * sysdeps/sh/strlen.S: Likewise.
27606
27607 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
27608
27609         * sysdeps/unix/fork.S: Remove file.
27610         * sysdeps/unix/i386/fork.S: Likewise.
27611         * sysdeps/unix/sparc/fork.S: Likewise.
27612
27613         * sysdeps/unix/system.c: Remove file.
27614         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
27615
27616         * sysdeps/unix/getegid.S: Remove file.
27617         * sysdeps/unix/geteuid.S: Likewise.
27618
27619 2012-04-24  Roland McGrath  <roland@hack.frob.com>
27620
27621         * scripts/check-localplt.awk: New file.
27622         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
27623         of diff.
27624         * scripts/data/localplt-generic.data: Add a comment.
27625
27626         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
27627         NODE when __dir_mkfile failed.
27628         * sysdeps/mach/hurd/symlinkat.c: Likewise.
27629         Reported by Ludovic Courtès <ludo@gnu.org>.
27630
27631 2012-04-24  Andreas Jaeger  <aj@suse.de>
27632
27633         * Makerules (common-clean): Also remove gen-as-const-headers
27634         files.
27635
27636 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
27637
27638         * Makerules (native-compile): Do not change working directory for
27639         build.  Use $(OUTPUT_OPTION) in command.
27640         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
27641
27642 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27643
27644         [BZ #13886]
27645         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
27646         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
27647         * math/libm-test.inc (floor_test): Add more tests.
27648         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
27649
27650 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
27651
27652         * sysdeps/unix/getdents.c: Remove file.
27653         * sysdeps/unix/sysv/getdents.c: Likewise.
27654         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
27655
27656         * sysdeps/unix/syscalls.list (madvise): Add syscall from
27657         sysdeps/unix/mman/syscalls.list.
27658         (mmap): Likewise.
27659         (mprotect): Likewise.
27660         (msync): Likewise.
27661         (munmap): Likewise.
27662         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
27663         * sysdeps/unix/mman/syscalls.list: Remove.
27664         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
27665
27666         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
27667         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
27668         * configure: Regenerated.
27669         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
27670         $(libgcc_s_suffix).
27671         * config.make.in (libgcc_s_suffix): Remove variable.
27672
27673 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
27674
27675         * sysdeps/unix/sysv/gethostname.c: Move to ...
27676         * sysdeps/posix/gethostname.c: ... here.
27677
27678         * sysdeps/unix/execve.S: Remove file.
27679
27680         * sysdeps/unix/_exit.S: Remove file.
27681
27682 2012-04-23  Andreas Jaeger  <aj@suse.de>
27683
27684         [BZ #13739]
27685         * manual/Makefile: Remove make dist support, there's no
27686         need for a stand-alone documentation tar ball.
27687         (TEXI2DVI): Define always, it's not in Makeconfig.
27688         (dist): Removed.
27689         (tar-it): Removed.
27690         (edition): Removed.
27691         (glibc-doc-$(edition).tar): Removed
27692         (%.Z): Removed.
27693         (%.gz): Removed.
27694         (%.uu): Removed.
27695         (ETAGS): Remove, it's in Makeconfig.
27696         (move-if-change): Remove, it's in Makeconfig.
27697
27698 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
27699
27700         [BZ #13970]
27701         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
27702         (strtod, strtof, strtold, strtol, strtoul, strtoq)
27703         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
27704         (strtod_l, strtof_l, strtold_l): Remove __wur.
27705         It is not necessarily an error to ignore strtol's return value.
27706         One can reliably look at the stored endptr to decide whether
27707         the number had valid syntax.
27708
27709 2012-04-21  Andreas Jaeger  <aj@suse.de>
27710
27711         [BZ #13739]
27712         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
27713
27714 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
27715
27716         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
27717         * sysdeps/unix/sysv/Versions: Remove file.
27718
27719 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
27720
27721         [BZ #13927]
27722         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27723
27724 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
27725
27726         [BZ #7064]
27727         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
27728         version from __vm86.
27729
27730 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
27731
27732         * sysdeps/unix/common/lxstat.c: Remove file.
27733         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
27734
27735         * sysdeps/unix/sysv/Makefile: Remove file.
27736
27737         * sysdeps/unix/sysv/direct.h: Remove file.
27738
27739         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
27740         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
27741         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
27742         * sysdeps/unix/sysv/bits/signum.h: Likewise.
27743         * sysdeps/unix/sysv/bits/stat.h: Likewise.
27744         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
27745         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
27746
27747         * sysdeps/unix/sysv/setrlimit.c: Remove file.
27748
27749         * sysdeps/unix/xmknod.c: Remove file.
27750         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
27751
27752         * sysdeps/unix/sysv/settimeofday.c: Remove file.
27753
27754         * sysdeps/unix/sysv/i386/time.S: Remove file.
27755
27756         * sysdeps/unix/fxstat.c: Remove file.
27757         * sysdeps/unix/xstat.c: Likewise.
27758         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
27759
27760         * sysdeps/unix/sysv/sigaction.c: Remove file.
27761
27762         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
27763         (sysdep_headers): Remove variable.
27764         [termio.h not in sysdep_headers] (generated): Likewise.
27765         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
27766         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
27767         * sysdeps/unix/sysv/tcdrain.c: Likewise.
27768         * sysdeps/unix/sysv/tcflow.c: Likewise.
27769         * sysdeps/unix/sysv/tcflush.c: Likewise.
27770         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
27771         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
27772         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
27773         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
27774         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
27775
27776         * sysdeps/unix/siglist.c: Remove file.
27777
27778         * sysdeps/unix/getppid.S: Remove file.
27779
27780         * sysdeps/unix/mkdir.c: Remove file.
27781         * sysdeps/unix/rmdir.c: Likewise.
27782
27783 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
27784
27785         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
27786         ERR_MAX value.
27787         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
27788         errlist-compat value.
27789
27790 2012-04-18  David S. Miller  <davem@davemloft.net>
27791
27792         * sysdeps/generic/memcopy.h (reg_char): Delete.
27793         * debug/strcat_chk.c: Use char, not reg_char.
27794         * debug/strcpy_chk.c: Likewise.
27795         * debug/strncat_chk.c: Likewise.
27796         * debug/strncpy_chk.c: Likewise.
27797         * string/memchr.c: Likewise.
27798         * string/memrchr.c: Likewise.
27799         * string/rawmemchr.c: Likewise.
27800         * string/strcat.c: Likewise.
27801         * string/strchr.c: Likewise.
27802         * string/strchrnul.c: Likewise.
27803         * string/strcmp.c: Likewise.
27804         * string/strcpy.c: Likewise.
27805         * string/strncat.c: Likewise.
27806         * string/strncmp.c: Likewise.
27807         * string/strncpy.c: Likewise.
27808
27809 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
27810
27811         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
27812         __builtin_memcopy is called when src and dest ranges are known to not
27813         overlap.
27814
27815 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
27816
27817         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
27818         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
27819         fwd_align_merge macro call.
27820         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
27821         bwd_align_merge macro call.
27822         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
27823
27824 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
27825
27826         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
27827         bwd_align_merge macros.
27828         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
27829         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
27830         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
27831
27832 2012-04-18  David S. Miller  <davem@davemloft.net>
27833
27834         * sysdeps/sparc/sparc64/memcopy.h: Delete.
27835
27836 2012-04-18  Andreas Jaeger  <aj@suse.de>
27837
27838         [BZ# 6794]
27839         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
27840         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
27841         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
27842
27843         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
27844         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
27845         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
27846
27847         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
27848         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
27849         Adjust for changed ldbl-128 files.
27850
27851         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
27852         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
27853         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
27854
27855 2012-04-17  David S. Miller  <davem@davemloft.net>
27856
27857         * sysdeps/sparc/sparc32/memcopy.h: Delete.
27858
27859 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
27860
27861         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
27862         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
27863         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
27864         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
27865         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
27866         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
27867
27868 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27869
27870         [BZ #6794]
27871         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
27872         * math/libm-test.inc: Add ilogb errno and exception tests.
27873         * math/w_ilogb.c: New file: ilogb wrapper.
27874         * math/w_ilogbf.c: New file: ilogbf wrapper.
27875         * math/w_ilogbl.c: New file: ilogbl wrapper.
27876         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
27877         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
27878         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
27879         exception being thrown with 0.0 as argument.
27880         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
27881         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
27882         exception being thrown with 0.0 as argument.
27883         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
27884         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
27885         exception being thrown with 0.0 as argument.
27886         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
27887         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
27888         exception being thrown with 0.0 as argument.
27889         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
27890         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
27891         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
27892         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
27893         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
27894         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
27895         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
27896         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
27897         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
27898
27899 2012-04-17  Petr Baudis  <pasky@ucw.cz>
27900
27901         * include/sys/uio.h: Change __vector to __iovec to avoid clash
27902         with altivec.
27903
27904 2012-04-16  Marek Polacek  <polacek@redhat.com>
27905
27906         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
27907
27908 2012-04-16  Marek Polacek  <polacek@redhat.com>
27909
27910         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
27911         operands of fdivp instruction.
27912
27913 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
27914
27915         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
27916         * elf/tst-auditmod3b.c: Likewise.
27917         * elf/tst-auditmod4b.c: Likewise.
27918         * elf/tst-auditmod5b.c: Likewise.
27919         * elf/tst-auditmod6b.c: Likewise.
27920         * elf/tst-auditmod6c.c: Likewise.
27921         * elf/tst-auditmod7b.c: Likewise.
27922         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
27923         * sysdeps/x86_64/preconfigure.in: Likewise.
27924         * sysdeps/x86_64/preconfigure: Regenerated.
27925
27926 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
27927
27928         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
27929         __ILP32__.
27930
27931 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
27932
27933         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
27934         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
27935
27936 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
27937
27938         [BZ #13973]
27939         * locale/iso-639.def: Fix gl language name. Spotted by
27940         Yaron Shahrabani.
27941
27942 2012-04-12  Roland McGrath  <roland@hack.frob.com>
27943
27944         [BZ #2074]
27945         * libio/libio.h (__io_write_fn): Update comment.
27946
27947 2012-04-12  Petr Baudis  <pasky@ucw.cz>
27948
27949         [BZ #2074]
27950         * stdio.texi (Hook Functions): The user provided writer function
27951         is not allowed to return -1.
27952
27953 2012-04-11  David S. Miller  <davem@davemloft.net>
27954
27955         * sysdeps/sparc/fpu/libm-test-ulps: Update.
27956
27957 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
27958
27959         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
27960         Add a leading slash to rtkaio.
27961
27962 2012-04-11  Jim Meyering  <meyering@redhat.com>
27963
27964         [BZ #11959]
27965         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
27966         It is not necessarily an error to ignore fwrite's return
27967         value.  One can reliably use ferror to test for errors after
27968         the fact.
27969
27970 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
27971
27972         * bits/types.h (__snseconds_t): New type.
27973         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
27974
27975         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
27976         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
27977         (__SNSECONDS_T_TYPE): Likewise.
27978         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
27979         (__SNSECONDS_T_TYPE): Likewise.
27980         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
27981         (__SNSECONDS_T_TYPE): Likewise.
27982
27983 2012-04-10  Andreas Jaeger  <aj@suse.de>
27984
27985         [BZ #2636]
27986         * manual/time.texi (Processor Time): Return type of times is
27987         elapsed real time since an arbitrary point in the past.
27988         (CPU Time): Move CLK_TCK from here...
27989         (Processor Time): ...to here.  Correct description.
27990         * manual/conf.texi (Constants for Sysconf): Correct description of
27991         _SC_CLK_TCK.
27992
27993 2012-04-10  David S. Miller  <davem@davemloft.net>
27994
27995         [BZ #13967]
27996         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
27997         where the is a gap between DT_REL(A) and DT_JMPREL.
27998
27999 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
28000
28001         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
28002         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
28003         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
28004
28005 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
28006
28007         * elf/dl-support.c (_dl_inhibit_cache): New variable.
28008         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
28009         (dl_main): Handle --inhibit-cache.
28010         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
28011         _dl_inhibit_cache.
28012         * elf/dl-load.c (_dl_map_object): Use it.
28013         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
28014
28015 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
28016
28017         [BZ #13872]
28018         * sysdeps/i386/fpu/e_powl.S (p78): New object.
28019         (__ieee754_powl): Saturate large exponents rather than testing for
28020         overflow of y*log2(x).
28021         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
28022         * math/libm-test.inc (pow_test): Do not permit spurious overflow
28023         exceptions.
28024
28025         [BZ #11521]
28026         * math/s_ctan.c: Include <float.h>.
28027         (__ctan): Avoid internal overflow or cancellation in calculating
28028         denominator.
28029         * math/s_ctanf.c: Likewise.
28030         * math/s_ctanl.c: Likewise.
28031         * math/s_ctanh.c: Likewise.
28032         * math/s_ctanhf.c: Likewise.
28033         * math/s_ctanhl.c: Likewise.
28034         * math/libm-test.inc (ctan_test): Add more tests.
28035         (ctanh_test): Likewise.
28036         * sysdeps/i386/fpu/libm-test-ulps: Update.
28037         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28038
28039 2012-04-09  Andreas Jaeger  <aj@suse.de>
28040
28041         [BZ #6894]
28042         * manual/filesys.texi (Directory Entries): Mention that d_namlen
28043         is an optional BSD extension.
28044
28045         [BZ #10254]
28046         * manual/stdio.texi (Opening Streams): Document additional fopen
28047         parameters.
28048
28049 2012-04-09  Roland McGrath  <roland@hack.frob.com>
28050
28051         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
28052         %eax without telling the compiler.
28053
28054 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
28055
28056         [BZ # 13963]
28057         * manual/install.texi: Use sourceware.org.
28058
28059 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
28060
28061         [BZ #13873]
28062         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
28063         (__ieee754_pow): Generate overflow and underflow using huge*huge
28064         and tiny*tiny rather than just returning constant infinity or zero
28065         for large exponents.
28066         * math/libm-test.inc (pow_test): Require overflow exceptions for
28067         applicable cases of large exponents.
28068
28069         [BZ #706]
28070         * sysdeps/i386/fpu/e_pow.S (p10): New object.
28071         (__ieee754_pow): Use iterative multiplication algorithm only for
28072         integer exponents with absolute value below 1024.  Check for odd
28073         integer exponents when using algorithm for real exponents.
28074         * math/libm-test.inc (pow_test): Add more tests.
28075         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
28076
28077 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
28078
28079         [BZ #13705]
28080         * math/libm-test.inc (exp_test): Do not allow overflow exception
28081         on underflow test.
28082
28083 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
28084
28085         [BZ #13705]
28086         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
28087         instead of __kernel_standard_f.
28088
28089 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
28090
28091         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
28092         * sysdeps/x86_64/memset_chk.S: Likewise.
28093
28094 2012-04-08  Andreas Jaeger  <aj@suse.de>
28095
28096         [BZ #10153]
28097         * manual/startup.texi (Environment Access): Describe return value
28098         for putenv and setenv.
28099
28100         [BZ #6895]
28101         * manual/filesys.texi (Directory Entries): Add description for
28102         DT_LNK.
28103
28104         [BZ #6890]
28105         * manual/filesys.texi (Directory Entries): Clarify that it's file
28106         system not operating system in the description of DT_UNKNOWN.
28107
28108         [BZ #6578]
28109         * manual/syslog.texi (closelog): Fix reference, it's openlog.
28110
28111 2012-04-08  Stephen Compall  <s11@member.fsf.org>
28112
28113         [BZ #6649]
28114         * manual/llio.texi (Opening and Closing Files): Add cross
28115         reference to explain mode argument.
28116
28117 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
28118
28119         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
28120         * sysdeps/x86_64/memset_chk.S: Likewise.
28121
28122 2012-04-07  David S. Miller  <davem@davemloft.net>
28123
28124         * elf/elf.h (R_SPARC_WDISP10): Define.
28125         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
28126         R_SPARC_SIZE32.
28127         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
28128         R_SPARC_SIZE64 and R_SPARC_H34.
28129
28130 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
28131
28132         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
28133         conditions and remove no longer applicable assertion.
28134
28135 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
28136
28137         * bits/byteswap.h: Include <features.h>.
28138         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
28139         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
28140
28141 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
28142
28143         * bits/byteswap.h (__bswap_16): Removed.
28144         Include <bits/byteswap-16.h> to get __bswap_16.
28145         * sysdeps/i386/bits/byteswap.h: Likewise.
28146         * sysdeps/s390/bits/byteswap.h: Likewise.
28147         * sysdeps/x86_64/bits/byteswap.h: Likewise.
28148         * bits/byteswap-16.h: New file.
28149         * sysdeps/i386/bits/byteswap-16.h: Likewise.
28150         * sysdeps/s390/bits/byteswap-16.h: Likewise.
28151         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
28152         * string/Makefile (headers): Add bits/byteswap-16.h.
28153
28154 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
28155
28156         [BZ #13895]
28157         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
28158         extra indirection.
28159         * nss/Makefile (tests-static, tests): Add tst-nss-static.
28160         * nss/tst-nss-static.c: New.
28161
28162 2012-04-06  Robert Millan  <rmh@gnu.org>
28163
28164         [BZ #6486]
28165         * manual/llio.texi (File Position Primitive): lseek
28166         refers to WHENCE when it really means OFFSET.
28167
28168 2012-04-06  Andreas Jaeger  <aj@suse.de>
28169
28170         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
28171         strncmp declarations.
28172
28173         * abilist/libc.abilist: Add __poll and __ppoll.
28174
28175 2012-04-05  David S. Miller  <davem@davemloft.net>
28176
28177         * scripts/check-local-headers.sh: Accept a host triplet in the
28178         path matched by the exclude regexp.
28179
28180         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
28181         definition.
28182         * sysdeps/powerpc/powerpc32/dl-machine.h
28183         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
28184         * sysdeps/s390/s390-32/dl-machine.h
28185         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
28186         * sysdeps/sparc/sparc32/dl-machine.h
28187         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
28188         * sysdeps/sparc/sparc64/dl-machine.h
28189         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
28190
28191         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
28192         lazy binding.
28193         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
28194         undefined symbol errors.
28195
28196         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
28197         DT_NEEDED entries.
28198
28199 2012-04-05  Michael Matz  <matz@suse.de>
28200
28201         [BZ #13592]
28202         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
28203
28204 2012-04-05  Andreas Jaeger  <aj@suse.de>
28205
28206         [BZ #13908]
28207         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
28208         comment.
28209
28210 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
28211
28212         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
28213         which ROUND is no valid rounding mode.
28214
28215 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
28216
28217         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
28218         read again.
28219         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
28220
28221 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
28222
28223         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
28224         an exception using FPU order intentionally.
28225
28226 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
28227
28228         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
28229         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
28230         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
28231         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
28232
28233 2012-04-05  Simon Josefsson  <simon@josefsson.org>
28234
28235         [BZ #12340]
28236         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
28237         EINVAL when BUFLEN is too smal.
28238
28239 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
28240
28241         [BZ #13553]
28242         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
28243         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
28244
28245 2012-04-03  Andreas Jaeger  <aj@suse.de>
28246
28247         [BZ #13938]
28248         * manual/setjmp.texi (System V contexts): Fix sentence.
28249
28250         [BZ #13926]
28251         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
28252         New macro for this case.
28253         [!__GNUC__] (__bswap_64): New inline function for this case.
28254         * sysdeps/x86_64/bits/byteswap.h: Likewise.
28255         * bits/byteswap.h: Likewise.
28256         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
28257         ull, guard with __GLIBC_HAVE_LONG_LONG.
28258
28259         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
28260         __GLIBC_HAVE_LONG_LONG.
28261
28262         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
28263         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
28264
28265 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
28266
28267         [BZ #13691]
28268         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
28269         inptr and inend, rather than using last_ch.
28270
28271 2012-04-02  David S. Miller  <davem@davemloft.net>
28272
28273         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
28274         * stdio-common/printf-parse.h (read_int): Change return type to
28275         'int', return -1 on INT_MAX overflow.
28276         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
28277         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
28278         overflows INT_MAX.  Check for overflow of in-format-string precision
28279         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
28280         SIZE_MAX not INT_MAX for integer overflow test.
28281         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
28282         skip the construct in the format string but do not record anything.
28283         * stdio-common/bug22.c: Adjust to test both width/prevision
28284         INT_MAX overflow as well as total length INT_MAX overflow.  Check
28285         explicitly for proper errno values.
28286
28287 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
28288
28289         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
28290         CHAR_MAX.
28291         * string/test-strcmp.c [! WIDE]: Likewise.
28292         * time/tst-mktime2.c: Likewise for INT_MAX.
28293         * string/test-string.h: #include <sys/param.h> for MIN.
28294
28295         * csu/init-first.c (__libc_init_first): Call __ctype_init.
28296         * sysdeps/i386/init-first.c (init): Likewise.
28297         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
28298         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
28299         * sysdeps/sh/init-first.c (init): Likewise.
28300
28301 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
28302
28303         * po/ru.po: Update from translation team.
28304         * po/vi.po: Likewise.
28305
28306 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
28307
28308         * resolv/nss_dns/dns-host.c: Merge copyright years.
28309
28310 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
28311
28312         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
28313         Optimize memcpy with prefetch if
28314         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
28315         src, dst pointers have unequal 16 byte alignments.
28316
28317 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
28318
28319         [BZ #13928]
28320         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
28321         from a CNAME entry and return the minimum ttl for the query.
28322         (gaih_getanswer_slice): Likewise.
28323
28324 2012-03-30  Jeff Law  <law@redhat.com>
28325
28326         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
28327         due to long keys.
28328         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
28329         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
28330
28331         * resolv/nss_dns/dns-host.c: Update copyright year.
28332
28333 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
28334
28335         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
28336         requests to save a system call.  Fix check that all bytes are sent.
28337
28338         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
28339         comments for sendmmsg.
28340
28341 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
28342
28343         [BZ #13691]
28344         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
28345         with only 1 character between 0x0041 and 0x01b0.
28346         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
28347         * wcsmbs/tst-mbsnrtowcs.c: New file.
28348
28349 2012-03-29  David S. Miller  <davem@davemloft.net>
28350
28351         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
28352         small copies by hand.
28353
28354 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
28355
28356         [BZ #13761]
28357         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
28358         _nss_compat_initgroups_dyn): Fall back to malloc/free
28359         for large group memberships.
28360
28361 2012-03-28  David S. Miller  <davem@davemloft.net>
28362
28363         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
28364         that branches into memcpy.
28365         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
28366         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
28367         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
28368         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
28369         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
28370         bits.
28371         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
28372         implementation too.
28373         * sysdeps/sparc/mempcpy.S: New file.
28374
28375         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
28376         the IFUNC routine in the libc case.
28377         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
28378
28379         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
28380         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
28381         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
28382         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
28383         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
28384         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
28385         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
28386         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
28387
28388         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
28389         loop to 256 bytes instead of 64 bytes and fix test signedness.
28390
28391         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
28392         * sysdeps/sparc/sparc32/Makefile: rather than here...
28393         * sysdeps/sparc/sparc64/Makefile: and here.
28394
28395 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
28396
28397         * malloc/mallocbug.c: Avoid warnings about unused variables.
28398
28399 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
28400
28401         [BZ #13760]
28402         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
28403         in the right place. Discard and retry query if response is
28404         larger than input buffer size.
28405
28406 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
28407
28408         [BZ #369]
28409         [BZ #2678]
28410         [BZ #3866]
28411         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
28412         x for large integer exponent.
28413         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
28414         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
28415         sign of result as needed afterwards.
28416         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
28417         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
28418         result for underflowing pow the same as for overflow.
28419         (__kernel_standard_l): Handle powl overflow and underflow here
28420         rather than calling __kernel_standard.
28421         * math/libm-test.inc (pow_test): Add more tests.
28422
28423         [BZ #3868]
28424         [BZ #13879]
28425         [BZ #13910]
28426         [BZ #13911]
28427         [BZ #13912]
28428         [BZ #13913]
28429         [BZ #13915]
28430         [BZ #13916]
28431         [BZ #13917]
28432         [BZ #13918]
28433         [BZ #13919]
28434         [BZ #13920]
28435         [BZ #13921]
28436         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
28437         * sysdeps/ieee754/k_standard.c: Include <float.h>.
28438         (__kernel_standard_l): New function.
28439         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
28440         __kernel_standard.
28441         * math/w_acosl.c (__acosl): Likewise.
28442         * math/w_asinl.c (__asinl): Likewise.
28443         * math/w_atan2l.c (__atan2l): Likewise.
28444         * math/w_atanhl.c (__atanhl): Likewise.
28445         * math/w_coshl.c (__coshl): Likewise.
28446         * math/w_exp10l.c (__exp10l): Likewise.
28447         * math/w_exp2l.c (__exp2l): Likewise.
28448         * math/w_fmodl.c (__fmodl): Likewise.
28449         * math/w_hypotl.c (__hypotl): Likewise.
28450         * math/w_j0l.c (__j0l, __y0l): Likewise.
28451         * math/w_j1l.c (__j1l, __y1l): Likewise.
28452         * math/w_jnl.c (__jnl, __ynl): Likewise.
28453         * math/w_lgammal.c (__lgammal): Likewise.
28454         * math/w_log10l.c (__log10l): Likewise.
28455         * math/w_log2l.c (__log2l): Likewise.
28456         * math/w_logl.c (__logl): Likewise.
28457         * math/w_powl.c (__powl): Likewise.
28458         * math/w_remainderl.c (__remainderl): Likewise.
28459         * math/w_scalbl.c (sysv_scalbl): Likewise.
28460         * math/w_sinhl.c (__sinhl): Likewise.
28461         * math/w_sqrtl.c (__sqrtl): Likewise.
28462         * math/w_tgammal.c (__tgammal): Likewise.
28463         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
28464         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
28465         * math/libm-test.inc (acos_test): Add more tests.
28466         (acosh_test): Likewise.
28467         (asin_test): Likewise.
28468         (atanh_test): Likewise.
28469         (exp_test): Likewise.
28470         (exp10_test): Likewise.
28471         (exp2_test): Likewise.
28472         (expm1_test): Likewise.
28473         (lgamma_test): Likewise.
28474         (log_test): Likewise.
28475         (log10_test): Likewise.
28476         (log1p_test): Likewise.
28477         (log2_test): Likewise.
28478         (pow_test): Do not allow some spurious overflow exceptions.
28479         (sqrt_test): Add more tests.
28480         (tgamma_test): Likewise.
28481         (y0_test): Likewise.
28482         (y1_test): Likewise.
28483         (yn_test): Likewise.
28484
28485 2012-03-27  Anton Blanchard  <anton@samba.org>
28486
28487         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
28488         MAP_HUGETLB.
28489         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
28490         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
28491         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
28492
28493 2012-03-27  David S. Miller  <davem@davemloft.net>
28494
28495         * conform/Makefile: Run run-conformtest.sh using $(BASH).
28496
28497         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
28498         have-as-vis3 check.
28499
28500 2012-03-27  Andreas Jaeger  <aj@suse.de>
28501
28502         * sysdeps/x86_64/elf/configure.in: Moved to ...
28503         * sysdeps/x86_64/configure.in: ... here.
28504         * sysdeps/x86_64/elf/start.S: Moved to ...
28505         * sysdeps/x86_64/start.S: ... here.
28506         * sysdeps/x86_64/elf/configure: Delete.
28507
28508         * sysdeps/x86_64/configure.in: Merge contents from
28509         sysdeps/i386/configure.in (without i686 check).
28510
28511         * sysdeps/i386/elf/Versions: Merge into ...
28512         * sysdeps/i386/Versions: ... this.
28513         * sysdeps/i386/elf/Versions: Delete file.
28514         * sysdeps/i386/elf/start.S: Moved to ...
28515         * sysdeps/i386/start.S: ...here.
28516         * sysdeps/i386/elf/configure.in: Merge into...
28517         * sysdeps/i386/configure.in: ...here.
28518         * sysdeps/i386/elf/configure.in: Delete file.
28519         * sysdeps/i386/elf/configure: Delete file.
28520
28521         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
28522         * debug/backtracesyms.c: ... here.
28523         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
28524         * debug/backtracesymsfd.c: ... here.
28525         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
28526         * sysdeps/generic/ifunc-sel.h: ... here.
28527
28528         * sysdeps/unix/i386/start.c: Delete file.
28529         * sysdeps/unix/sparc/start.c: Delete file.
28530         * sysdeps/unix/start.c: Delete file.
28531
28532         * sysdeps/sh/elf/configure.in: Moved to ...
28533         * sysdeps/sh/configure.in: ... here.
28534         * sysdeps/sh/elf/start.S: Moved to ...
28535         * sysdeps/sh/start.S: ... here.
28536         * sysdeps/sh/elf/configure: Delete file.
28537
28538         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
28539         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
28540         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
28541         * sysdeps/powerpc/powerpc64/entry.h: ... here.
28542         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
28543         * sysdeps/powerpc/powerpc64/start.S: here.
28544         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
28545         * sysdeps/powerpc/powerpc64/Makefile: ... this.
28546         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
28547         * sysdeps/powerpc/powerpc64/configure.in: ... this.
28548         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
28549
28550         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
28551         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
28552         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
28553         * sysdeps/powerpc/powerpc32/start.S: ... here.
28554         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
28555         * sysdeps/powerpc/powerpc32/configure.in: ... this.
28556         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
28557
28558         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
28559         * sysdeps/powerpc/ifunc-sel.h: ... here.
28560         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
28561         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
28562
28563         * sysdeps/sparc/elf/configure.in: Moved to ...
28564         * sysdeps/sparc/configure.in: ... here.
28565         * sysdeps/sparc/elf/configure: Delete file.
28566         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
28567         * sysdeps/sparc/sparc32/start.S: ... here.
28568         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
28569         * sysdeps/sparc/sparc64/start.S: ... here.
28570         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
28571         * sysdeps/sparc/sparc32/Makefile: ... this.
28572         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
28573         * sysdeps/sparc/sparc64/Makefile: ... this.
28574
28575         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
28576         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
28577         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
28578         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
28579         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
28580         * sysdeps/s390/s390-32/setjmp.S: ... here.
28581         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
28582         * sysdeps/s390/s390-32/configure.in: ... here.
28583         * sysdeps/s390/s390-32/elf/configure: Delete file.
28584         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
28585         * sysdeps/s390/s390-32/start.S: ... here.
28586
28587         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
28588         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
28589         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
28590         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
28591         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
28592         * sysdeps/s390/s390-64/setjmp.S: ... here.
28593         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
28594         * sysdeps/s390/s390-64/configure.in: ... here
28595         * sysdeps/s390/s390-64/elf/configure: Delete file.
28596         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
28597         * sysdeps/s390/s390-64/start.S: ... here.
28598         * sysdeps/s390/s390-64/elf/configure: Delete.
28599
28600         * configure.in: Remove support for elf directories in sysdeps.
28601
28602         * configure: Regenerated.
28603         * sysdeps/i386/configure: Regenerated.
28604         * sysdeps/powerpc/powerpc32/configure: Regenerated.
28605         * sysdeps/powerpc/powerpc64/configure: Regenerated.
28606         * sysdeps/s390/s390-32/configure: Regenerated.
28607         * sysdeps/s390/s390-64/configure: Regenerated.
28608         * sysdeps/sh/configure: Regenerated.
28609         * sysdeps/sparc/configure: Regenerated.
28610         * sysdeps/x86_64/configure: Regenerated.
28611
28612 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
28613
28614         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28615
28616         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
28617         denormal result into account.
28618
28619 2012-03-25  Roland McGrath  <roland@hack.frob.com>
28620
28621         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
28622         Reported by Allan McRae <allan@archlinux.org>.
28623
28624 2012-03-23  Jeff Law  <law@redhat.com>
28625
28626         * nss/getnssent.c (__nss_getent): Fix typo.
28627
28628 2012-03-23  David S. Miller  <davem@davemloft.net>
28629
28630         * sysdeps/sparc/fpu/libm-test-ulps: Update.
28631
28632 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
28633
28634         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
28635         to pad to uint64_t for each field.
28636         (dl_tls_index): Replace unsigned long with uint64_t.
28637
28638 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
28639         Paul Pluzhnikov  <ppluzhnikov@google.com>
28640
28641         [BZ #6528]
28642         * grp/Makefile (otherlibs): Don't set it.
28643         * inet/Makefile (otherlibs): Likewise.
28644         * login/Makefile (otherlibs): Likewise.
28645         * nscd/Makefile (otherlibs): Likewise.
28646         * posix/Makefile (otherlibs): Likewise.
28647         * pwd/Makefile (otherlibs): Likewise.
28648         * rt/Makefile (otherlibs): Likewise.
28649         * sunrpc/Makefile (otherlibs): Likewise.
28650         * nss/Makefile (otherlibs): Likewise.
28651         Add libnss_files to routines and static-only-routines.
28652         ($(objpfx)getent): Remove rule.
28653         * resolv/Makefile: Add libnss_dns and libresolv to routines and
28654         static-only-routines.
28655
28656 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
28657
28658         [BZ #13892]
28659         * math/s_cexp.c: Include <float.h>.
28660         (__cexp): Handle exp result overflowing not necessarily
28661         overflowing both real and imaginary parts of result.
28662         * math/s_cexpf.c: Likewise.
28663         * math/s_cexpl.c: Likewise.
28664         * math/libm-test.inc (cexp_test): Add more tests.
28665         * sysdeps/i386/fpu/libm-test-ulps: Update.
28666         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28667
28668 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
28669
28670         * include/link.h (ELFW): New macro.
28671         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
28672         Replace ELF64_R_TYPE with ELFW(R_TYPE).
28673
28674 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
28675
28676         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
28677         with uint64_t.
28678
28679 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
28680
28681         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
28682         declaration.
28683         (struct La_x32_retval): Likewise.
28684
28685 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
28686
28687         * sysdeps/x86_64/preconfigure.in: New file.
28688         * sysdeps/x86_64/preconfigure: New generated file.
28689
28690 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
28691
28692         [BZ #13824]
28693         * math/e_exp2l.c: Include <float.h>.
28694         (__ieee754_exp2l): Handle overflow and underflow cases
28695         separately.  Only pass fractional part of argument to
28696         __ieee754_expl.
28697         * math/libm-test.inc (exp2_test): Add more tests.
28698
28699         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
28700         negating x to take absolute value.
28701         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
28702         Likewise.
28703         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
28704         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
28705         Likewise.
28706         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
28707         computing low part if x was negated.
28708         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
28709
28710 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
28711
28712         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
28713         la_x32_gnu_pltexit.
28714         (pltexit): Cast int_retval to ptrdiff_t.
28715         * elf/tst-auditmod3b.c: Likewise.
28716         * elf/tst-auditmod4b.c: Likewise.
28717         * elf/tst-auditmod5b.c: Likewise.
28718         * elf/tst-auditmod6b.c: Likewise.
28719         * elf/tst-auditmod6c.c: Likewise.
28720         * elf/tst-auditmod7b.c: Likewise.
28721
28722         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
28723         and x32_gnu_pltexit.
28724
28725         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
28726         __ELF_NATIVE_CLASS.
28727         (La_x32_regs): New macro.
28728         (La_x32_retval): Likewise.
28729         (la_x32_gnu_pltenter): New function prototype.
28730         (la_x32_gnu_pltexit): Likewise.
28731
28732 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
28733
28734         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
28735         exponent.
28736
28737         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28738
28739         * configure.in (libc_cv_cc_nofma): Check for option to disable
28740         generation of FMA instructions.
28741         * configure: Regenerate.
28742         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
28743         * sysdeps/ieee754/dbl-64/Makefile: New file.
28744         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
28745         Remove brandred-fma4.
28746         (CFLAGS-brandred-fma4.c): Remove.
28747         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
28748         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
28749         define.
28750         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
28751         define.
28752
28753 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
28754
28755         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
28756         LLONG_MAX != LONG_MAX.
28757         (_itoa_word): Use _ITOA_WORD_TYPE on value.
28758         (_fitoa_word): Likewise.
28759         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
28760         LLONG_MAX != LONG_MAX.
28761         * stdio-common/_itowa.h: Include <_itoa.h>.
28762         (_itowa_word): Use _ITOA_WORD_TYPE on value.
28763         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
28764         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
28765         only if not defined.
28766         (_ITOA_WORD_TYPE): Likewise.
28767         (_itoa_word): Use _ITOA_WORD_TYPE on value.
28768         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
28769
28770 2012-03-21  David S. Miller  <davem@davemloft.net>
28771
28772         * sysdeps/sparc/fpu/libm-test-ulps: Update.
28773
28774 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
28775
28776         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
28777         of x86_64 when setting libc_cv_slibdir, libdir and
28778         libc_cv_localedir.
28779         * sysdeps/unix/sysv/linux/configure: Regenerated.
28780
28781 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
28782
28783         * manual/lang.texi (Old Varargs): Remove section.
28784         (How Variadic): Update menu.
28785         (va_start): Do not mention varargs.h.
28786
28787 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
28788             Joseph Myers  <joseph@codesourcery.com>
28789
28790         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
28791         link test.
28792         * configure: Regenerated.
28793
28794 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
28795
28796         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
28797         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
28798         conformtest.pl
28799
28800 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
28801
28802         * NOTES: Remove.
28803         * Makefile (files-for-dist): Remove NOTES.
28804         (NOTES): Remove rule.
28805         * README: Don't refer to NOTES.
28806         * manual/creature.texi: Don't include macros.texi.
28807         * manual/intro.texi (creature.texi): Remove comment referring to
28808         NOTES.
28809
28810         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
28811         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
28812         * configure: Regenerated.
28813         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
28814         LIBC_TRY_CC_OPTION.
28815         (libc_cv_as_i686): Likewise.
28816         (libc_cv_cc_avx): Likewise.
28817         (libc_cv_cc_sse2avx): Likewise.
28818         (libc_cv_cc_fma4): Likewise.
28819         (libc_cv_cc_novzeroupper): Likewise.
28820         * sysdeps/i386/configure: Regenerated.
28821
28822         [BZ #13883]
28823         * sysdeps/i386/fpu/s_cexp.S: Remove.
28824         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
28825         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
28826         * math/libm-test.inc (cexp_test): Add more tests.
28827         * sysdeps/i386/fpu/libm-test-ulps: Update.
28828         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28829
28830 2012-03-21  Allan McRae  <allan@archlinux.org>
28831
28832         * timezone/Makefile: Do not install iso3166.tab and zone.tab
28833
28834 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
28835
28836         [BZ #13871]
28837         * math/w_exp2.c: Do not include <float.h>.
28838         (o_threshold, u_threshold): Remove.
28839         (__exp2): Calculate result before checking finiteness and calling
28840         __kernel_standard.
28841         * math/w_exp2f.c: Likewise.
28842         * math/w_exp2l.c: Likewise.
28843         * math/libm-test.inc (exp2_test): Require overflow exception for
28844         1e6 input.
28845
28846         [BZ #3866]
28847         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
28848         range of signed 64-bit integers before using fistpll.  Remove
28849         checks for whether integers fit in mantissa bits.
28850         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
28851         the range of signed 32-bit integers before using fistpl.  Remove
28852         checks for whether integers fit in mantissa bits.
28853         * sysdeps/i386/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         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
28858         divide-by-zero is raised for zero to large negative powers.
28859         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
28860         (__ieee754_powl): Test for y outside the range of signed 64-bit
28861         integers before using fistpll.  Reduce 64-bit values to 63-bit
28862         ones as needed.
28863         * math/libm-test.inc (pow_test): Add more tests.
28864
28865 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
28866
28867         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
28868         <stdio-common/_itoa.h>.
28869         * debug/segfault.c: Likewise.
28870         * elf/dl-cache.c: Likewise.
28871         * elf/dl-minimal.c: Likewise.
28872         * elf/dl-misc.c: Likewise.
28873         * elf/dl-sysdep.c: Likewise.
28874         * elf/dl-version.c: Likewise.
28875         * elf/rtld.c: Likewise.
28876         * hurd/hurdsock.c: Likewise.
28877         * hurd/lookup-retry.c: Likewise.
28878         * malloc/malloc.c: Likewise.
28879         * malloc/mtrace.c: Likewise.
28880         * nscd/nscd_getgr_r.c: Likewise.
28881         * nscd/nscd_getpw_r.c: Likewise.
28882         * nscd/nscd_getserv_r.c: Likewise.
28883         * posix/getopt_init.c: Likewise.
28884         * posix/wordexp.c: Likewise.
28885         * stdio-common/_itoa.c: Likewise.
28886         * stdio-common/printf_fphex.c: Likewise.
28887         * stdio-common/vfprintf.c: Likewise.
28888         * string/_strerror.c: Likewise.
28889         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
28890         * sysdeps/i386/i686/hp-timing.h: Likewise.
28891         * sysdeps/mach/_strerror.c: Likewise.
28892         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
28893         * sysdeps/mach/hurd/sethostid.c: Likewise.
28894         * sysdeps/mach/hurd/xmknodat.c: Likewise.
28895         * sysdeps/mach/xpg-strerror.c: Likewise.
28896         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
28897         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
28898         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
28899         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
28900         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
28901         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
28902         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
28903         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
28904         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
28905         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
28906         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
28907         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
28908         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
28909         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
28910         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
28911         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
28912         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
28913         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
28914         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
28915         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
28916         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
28917
28918         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
28919
28920         * stdio-common/_itoa.h: Moved to ...
28921         * sysdeps/generic/_itoa.h: Here.
28922
28923         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
28924
28925         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
28926         instead of "_itoa.h" and "_itowa.h".
28927         * stdio-common/vfprintf.: Likewise.
28928
28929 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
28930
28931         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
28932         <bits/wordsize.h>.
28933         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
28934         (__signbit): Likwise.
28935         (llrintf): Likwise.
28936         (llrint): Likwise.
28937
28938 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
28939
28940         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
28941         __WORDSIZE != 64.
28942
28943 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
28944
28945         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
28946         OVERFLOW_EXCEPTION_OK.
28947         * math/libm-test.inc ("Philosophy"): Update comment about
28948         exception testing.
28949         (OVERFLOW_EXCEPTION): Define.
28950         (OVERFLOW_EXCEPTION_OK): Likewise.
28951         (INVALID_EXCEPTION_OK): Renumber.
28952         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
28953         (IGNORE_ZERO_INF_SIGN): Likewise.
28954         (test_exceptions): Handle FE_OVERFLOW.
28955         (exp10_test): Expect overflow exceptions.
28956         (exp2_test): Likewise.
28957         (expm1_test): Likewise.
28958         (nextafter_test): Likewise.
28959         (pow_test): Likewise.
28960         (scalbn_test): Likewise.
28961         (scalbln_test): Likewise.
28962
28963 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
28964
28965         * sysdeps/x86_64/bits/atomic.h
28966         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
28967         64bit integer.
28968         (atomic_exchange_acq): Likewise.
28969         (__arch_exchange_and_add_body): Likewise.
28970         (__arch_add_body): Likewise.
28971         (atomic_add_negative): Likewise.
28972         (atomic_add_zero): Likewise.
28973
28974 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
28975
28976         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
28977         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
28978
28979 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
28980
28981         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
28982         Check __x86_64__ instead of __WORDSIZE.
28983
28984 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
28985
28986         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
28987
28988 2012-03-19  David S. Miller  <davem@davemloft.net>
28989
28990         * sysdeps/sparc/fpu/libm-test-ulps: Update.
28991
28992         * sysdeps/sparc/fpu/fenv_private.h: New file.
28993         * sysdeps/sparc/fpu/math_private.h: Use it.
28994         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
28995         Remove.
28996         (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
28997         (libc_feholdexcept_setroundl): Remove.
28998         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
28999         Remove.
29000         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
29001         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
29002
29003 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
29004
29005         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
29006         int64_t instead of long int.
29007         (INSERT_WORDS64): Likwise.
29008
29009 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
29010
29011         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
29012         _Unwind_GetCFA return to _Unwind_Ptr first.
29013
29014 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
29015
29016         [BZ #13629]
29017         * math/s_clog.c: Include <float.h>.
29018         (__clog): Scale large or subnormal inputs.
29019         * math/s_clogf.c: Likewise.
29020         * math/s_clogl.c: Likewise.
29021         * math/s_clog10.c: Include <float.h>.
29022         (M_LOG10_2): Define.
29023         (__clog10): Scale large or subnormal inputs.
29024         * math/s_clog10f.c: Likewise.
29025         * math/s_clog10l.c: Likewise.
29026         * math/libm-test.inc (clog_test): Add more tests.
29027         (clog10_test): Likewise.
29028         * sysdeps/i386/fpu/libm-test-ulps: Update.
29029         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29030
29031         [BZ #11451]
29032         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
29033         x and y.
29034         * math/libm-test.inc (atan2_test): Add another test.
29035
29036         * Makerules (common-objdir-compile): Remove.
29037         * sysdeps/unix/Makefile (config-generated): Do not add
29038         $(unix-generated) to variable.
29039         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
29040         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
29041         Remove rule.
29042         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
29043         Likewise.
29044         [generic bits/local_lim.h] (before-compile): Do not append to
29045         variable.
29046         [generic bits/local_lim.h] (common-generated): Likewise.
29047         [generic sys/param.h] (before-compile): Do not append to variable.
29048         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
29049         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
29050         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
29051         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
29052         include.
29053         [generic sys/param.h] (sys/param.h-includes): Remove variable.
29054         [generic sys/param.h] (sys/param.h-includes): Remove rule.
29055         [generic sys/param.h] ($(addprefix
29056         $(common-objpfx),$(sys/param.h-includes))): Likewise.
29057         [generic sys/param.h] (common-generated): Do not append to
29058         variable.
29059         [generic sys/param.h] (sysdep_headers): Likewise.
29060         [generic bits/errno.h] (before-compile): Do not append to
29061         variable.
29062         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
29063         rule.
29064         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
29065         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
29066         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
29067         [generic bits/errno.h] (common-generated): Do not append to
29068         variable.
29069         [generic bits/ioctls.h] (before-compile): Do not append to
29070         variable.
29071         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
29072         rule.
29073         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
29074         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
29075         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
29076         rule.
29077         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
29078         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
29079         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
29080         [generic bits/ioctls.h] (common-generated): Do not append to
29081         variable.
29082         [generic sys/syscall.h] (syscall.h): Remove variable.
29083         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
29084         rule.
29085         [generic sys/syscall.h] (before-compile): Do not append to
29086         variable.
29087         [generic sys/syscall.h] (common-generated): Likewise.
29088         * sysdeps/unix/errnos-tmpl.c: Remove file.
29089         * sysdeps/unix/errnos.awk: Likewise.
29090         * sysdeps/unix/ioctls-tmpl.c: Likewise.
29091         * sysdeps/unix/ioctls.awk: Likewise.
29092         * sysdeps/unix/mk-local_lim.c: Likewise.
29093         * sysdeps/unix/snarf-ioctls: Likewise.
29094
29095 2012-03-19  Richard Henderson  <rth@twiddle.net>
29096
29097         * sysdeps/i386/fpu/fenv_private.h: New file.
29098         * sysdeps/i386/fpu/math_private.h: Use it.
29099         (math_opt_barrier, math_force_eval): Remove.
29100         (libc_feholdexcept_setround_53bit): Remove.
29101         (libc_feupdateenv_53bit): Remove.
29102         * sysdeps/x86_64/fpu/math_private.h: Likewise.
29103         (math_opt_barrier, math_force_eval): Remove.
29104         (libc_feholdexcept): Remove.
29105         (libc_feholdexcept_setround): Remove.
29106         (libc_fetestexcept, libc_fesetenv): Remove.
29107         (libc_feupdateenv_test): Remove.
29108         (libc_feupdateenv, libc_feholdsetround): Remove.
29109         (libc_feresetround): Remove.
29110
29111         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
29112         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
29113
29114         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
29115         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
29116         (libc_feupdateenv_testl): New.
29117         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
29118         (libc_feupdateenv_testf): New.
29119         (libc_feupdateenv): Use libc_feupdateenv_test.
29120         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
29121         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
29122
29123         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
29124         (libc_feholdsetroundf, libc_feholdsetroundl): New.
29125         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
29126         (libc_feresetround_noex): New.
29127         (libc_feresetround_noexf): New.
29128         (libc_feresetround_noexl): New.
29129         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
29130         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
29131         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
29132         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
29133         SET_RESTORE_ROUND.
29134         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
29135         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
29136         (__cos): Likewise.
29137         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
29138         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
29139         SET_RESTORE_ROUND_NOEX.
29140         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
29141         SET_RESTORE_ROUND_NOEXF.
29142         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
29143         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
29144         (libc_feholdsetroundf): New.
29145         (libc_feresetround, libc_feresetroundf): New.
29146
29147         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
29148         (libc_feholdexcept_setround_53bit): Convert from macro to function.
29149         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
29150
29151         * sysdeps/generic/math_private.h: Include <fenv.h>.
29152         (default_libc_feholdexcept): New.
29153         (default_libc_feholdexcept_setround): New.
29154         (default_libc_fesetenv, default_libc_feupdateenv): New.
29155         (libc_feholdexcept): Only define if undefined.
29156         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
29157         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
29158         (libc_feholdexcept_setroundl): Likewise.
29159         (libc_feholdexcept_setround_53bit): Likewise.
29160         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
29161         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
29162         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
29163         (libc_feupdateenv_53bit): Likewise.
29164         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
29165         (libc_feholdexcept): Convert from macro to inline function.
29166         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
29167         (libc_fesetenv, libc_feupdateenv): Likewise.
29168
29169         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
29170         not previously defined.
29171         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
29172         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
29173         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
29174         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
29175         * sysdeps/ieee754/flt-32/math_private.h: New file.
29176         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
29177         math_private.h below SET_FLOAT_WORD.
29178         (__isnan, __isinf_ns, __finite): Remove.
29179         (__isnanf, __isinf_nsf, __finitef): Remove.
29180
29181 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
29182
29183         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29184
29185 2012-03-17  David S. Miller  <davem@davemloft.net>
29186
29187         [BZ #6471]
29188         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
29189         for 2.16.
29190
29191 2012-03-16  David S. Miller  <davem@davemloft.net>
29192
29193         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
29194         warnings.
29195
29196         [BZ #6471]
29197         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
29198         properly.
29199         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
29200         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
29201         sysdep_routines when subdir is sysvipc.
29202         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
29203         __getshmlba helper.
29204
29205         * sysdeps/sparc/fpu/libm-test/ulps: Update.
29206
29207 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
29208
29209         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
29210         [__LP64__].
29211
29212 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
29213
29214         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
29215         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
29216         (__lround): Renamed to ...
29217         (__llround): This.  Replace long int with long long int.
29218         Define lround functions as aliases of llround functions.
29219         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
29220
29221 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
29222
29223         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
29224         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
29225         adresses to uintptr_t.  Replace "long int" and "unsigned long
29226         int" with "greg_t" on va_arg.
29227
29228 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
29229
29230         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
29231         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
29232
29233         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
29234         Move e_machine check before EI_CLASS check.  Handle x32
29235         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
29236         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
29237         SKIP_EM_IA_64 and include
29238         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
29239
29240         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
29241         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
29242         (add_system_dir): New macro.
29243
29244         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
29245         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
29246
29247 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
29248
29249         [BZ #2551]
29250         [BZ #2552]
29251         [BZ #2553]
29252         [BZ #2554]
29253         [BZ #2562]
29254         [BZ #2563]
29255         [BZ #2565]
29256         [BZ #2566]
29257         [BZ #2576]
29258         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
29259         (y0): Likewise.
29260         * math/w_j0f.c (j0f): Likewise.
29261         (y0f): Likewise.
29262         * math/w_j0l.c (__j0l): Likewise.
29263         (__y0l): Likewise.
29264         * math/w_j1.c (j1): Likewise.
29265         (y1): Likewise.
29266         * math/w_j1f.c (j1f): Likewise.
29267         (y1f): Likewise.
29268         * math/w_j1l.c (__j1l): Likewise.
29269         (__y1l): Likewise.
29270         * math/w_jn.c (jn): Likewise.
29271         (yn): Likewise.
29272         * math/w_jnf.c (jnf): Likewise.
29273         (ynf): Likewise.
29274         * math/w_jnl.c (__jnl): Likewise.
29275         (__ynl): Likewise.
29276         * math/libm-test.inc (j0_test): Add more tests.
29277         (j1_test): Likewise.
29278         (jn_test): Likewise.  Add trailing semicolon to existing test.
29279         (y0_test): Likewise.
29280         (y1_test): Likewise.
29281         * sysdeps/i386/fpu/libm-test-ulps: Update.
29282         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29283
29284         [BZ #13851]
29285         [BZ #13854]
29286         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
29287         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
29288         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
29289         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
29290         (__tanl): Set errno for infinite argument.
29291         * sysdeps/i386/fpu/mptan.c: Remove.
29292         * sysdeps/i386/fpu/s_tan.S: Likewise.
29293         * sysdeps/i386/fpu/s_tanl.S: Likewise.
29294         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
29295         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
29296         * math/libm-test.inc (tan_test): Add more tests and enable more
29297         tests for double and long double.
29298         * sysdeps/i386/fpu/libm-test-ulps: Update.
29299         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29300
29301 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
29302
29303         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
29304         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
29305
29306 2012-03-16  Roland McGrath  <roland@hack.frob.com>
29307
29308         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
29309         * configure.in: Use it for both main tree and add-ons.
29310         * configure: Regenerated.
29311
29312 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
29313
29314         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
29315
29316 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
29317
29318         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
29319         in comment.
29320
29321         [BZ #13851]
29322         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
29323         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
29324         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
29325         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
29326         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
29327         infinite argument.
29328         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
29329         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
29330         != 0 for prec == 2.
29331         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
29332         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
29333         * sysdeps/i386/fpu/s_cosl.S: Likewise.
29334         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
29335         * sysdeps/i386/fpu/s_sinl.S: Likewise.
29336         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
29337         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
29338         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
29339         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
29340         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
29341         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
29342         * math/libm-test.inc (cos_test): Add more tests and enable more
29343         tests for long double.
29344         (sin_test): Likewise.
29345         (sincos_test): Likewise.
29346         * sysdeps/i386/fpu/libm-test-ulps: Update.
29347         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29348
29349 2012-03-16  David S. Miller  <davem@davemloft.net>
29350
29351         * sysdeps/sparc/fpu/math_private.h: New file.
29352
29353 2012-03-15  David S. Miller  <davem@davemloft.net>
29354
29355         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
29356         file.
29357         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
29358         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
29359         file.
29360         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
29361         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
29362         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
29363         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
29364         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
29365         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
29366         sysdep routines.
29367         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
29368
29369         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
29370         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
29371
29372         * sysdeps/sparc/sparc-ifunc.h: New file.
29373         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
29374         sparc-ifunc.h
29375         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
29376         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
29377         Likewise.
29378         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
29379         Likewise.
29380         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
29381         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
29382         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
29383         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
29384         Likewise.
29385         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
29386         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
29387         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
29388         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
29389         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
29390         Likewise.
29391         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
29392         Likewise.
29393         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
29394         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
29395         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
29396         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
29397         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
29398         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
29399         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
29400         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
29401         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
29402         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
29403         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
29404         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
29405         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
29406         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
29407         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
29408         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
29409         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
29410         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
29411         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
29412         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
29413         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
29414         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
29415         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
29416         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
29417
29418 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
29419
29420         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
29421         scaling.
29422         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29423
29424 2012-03-15  Andreas Jaeger  <aj@suse.de>
29425
29426         [BZ #13852]
29427         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
29428         ieee754/flt-32 implementation for sin, cos and sincos.
29429         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
29430         * sysdeps/i386/fpu/s_cosf.S: Likewise.
29431         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
29432         * sysdeps/i386/fpu/s_sinf.S: Likewise.
29433         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
29434         ieee754/flt-32 implementation for tan.
29435
29436         * math/libm-test.inc (cos_test): Enable some large input tests for
29437         float as well
29438         (sin_test): Likewise.
29439         (sincos_test): Likewise.
29440         (tan_test): Add tests for large input.
29441
29442         * sysdeps/i386/fpu/libm-test-ulps: Update.
29443
29444 2012-03-15  Andreas Jaeger  <aj@suse.de>
29445
29446         [BZ #13658]
29447         * math/libm-test.inc (cos_test): Add more test cases.
29448         (sin_test): Likewise.
29449         (sincos_test): Likewise.
29450
29451 2012-03-15  Andreas Jaeger  <aj@suse.de>
29452
29453         [BZ #13837]
29454         * math/libm-test.inc (cos_test): Add a test case for large input
29455         value.
29456         (sin_test): Likewise.
29457         (sincos_test): Likewise.
29458
29459 2012-03-15  Andreas Jaeger  <aj@suse.de>,
29460         Joseph Myers  <joseph@codesourcery.com>
29461
29462         [BZ #13658]
29463         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
29464         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
29465         * sysdeps/i386/fpu/branred.c: Likewise.
29466         * sysdeps/i386/fpu/dosincos.c: Likewise.
29467         * sysdeps/i386/fpu/mpa.c: Likewise.
29468         * sysdeps/i386/fpu/s_cos.S: Likewise.
29469         * sysdeps/i386/fpu/s_sin.S: Likewise.
29470         * sysdeps/i386/fpu/s_sincos.S: Likewise.
29471         * sysdeps/i386/fpu/sincos32.c: Likewise.
29472
29473         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
29474         Define.
29475         (libc_feupdateenv_53bit): Define.
29476         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
29477         Define.
29478         (libc_feupdateenv_53bit): Define.
29479
29480         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
29481         53 bit (without extend i386 double precision).
29482
29483         * math/libm-test.inc (sincos_test): Add tests for large input.
29484         (sin): Likewise.
29485         (cos): Likewise.
29486
29487         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
29488
29489 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
29490
29491         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29492
29493 2012-03-15  David S. Miller  <davem@davemloft.net>
29494
29495         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
29496         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
29497         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
29498         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
29499         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
29500         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
29501         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
29502         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
29503         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
29504         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
29505         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
29506         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
29507         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
29508         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
29509         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
29510         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
29511         file.
29512         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
29513         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
29514         file.
29515         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
29516         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
29517         file.
29518         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
29519         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
29520         file.
29521         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
29522         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
29523         fmin/fmax sysdep routines.
29524         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
29525
29526 2012-03-14  David S. Miller  <davem@davemloft.net>
29527
29528         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
29529         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
29530         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
29531         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
29532         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
29533         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
29534         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
29535         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
29536         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
29537         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
29538         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
29539         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
29540         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
29541         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
29542         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
29543         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
29544         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
29545         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
29546         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
29547         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
29548         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
29549         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
29550         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
29551         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
29552         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
29553         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
29554         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
29555         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
29556         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
29557         routines.
29558         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
29559         file.
29560         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
29561         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
29562         file.
29563         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
29564         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
29565         file.
29566         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
29567         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
29568         file.
29569         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
29570         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
29571         file.
29572         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
29573         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
29574         file.
29575         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
29576         file.
29577         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
29578         file.
29579         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
29580         file.
29581         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
29582         New file.
29583         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
29584         file.
29585         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
29586         file.
29587         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
29588         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
29589         file.
29590         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
29591         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
29592         file.
29593         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
29594         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
29595         file.
29596         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
29597         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
29598         VIS3 routines.
29599
29600         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
29601         New file.
29602
29603         * sysdeps/sparc/fpu/libm-test-ulps: Update.
29604
29605         * sysdeps/sparc/configure.in: New file.
29606         * sysdeps/sparc/configure: Generate.
29607         * configure.in (libc_cv_sparc_as_vis3): Substitute.
29608         * configure: Regenerate.
29609         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
29610         * config.make.in (have-as-vis3): New.
29611         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
29612         available use -Av9d instead of -Av9a.
29613         * sysdeps/sparc/sparc64/Makefile: Likewise.
29614         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
29615         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
29616         New file.
29617         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
29618         file.
29619         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
29620         New file.
29621         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
29622         file.
29623         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
29624         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
29625         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
29626         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
29627         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
29628
29629         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
29630         fzeros/fnegs to load 0x80000000 into a float register instead of
29631         using the stack.
29632         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
29633
29634 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
29635
29636         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
29637         bits/syscall.h.
29638         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
29639         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
29640         ($(inst_includedir)/bits/syscall.h): Remove rule.
29641         ($(objpfx)bits/syscall.d): Include instead of
29642         $(objpfx)syscall-list.d.
29643         (generated): Change syscall-list.h and syscall-list.d to
29644         bits/syscall.h and bits/syscall.d.
29645
29646 2012-03-14  Roland McGrath  <roland@hack.frob.com>
29647
29648         [BZ #13846]
29649         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
29650
29651 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
29652
29653         [BZ #13841]
29654         * math/s_csqrt.c: Include <float.h>.
29655         (__csqrt): Scale large or subnormal inputs.
29656         * math/s_csqrtf.c: Likewise.
29657         * math/s_csqrtl.c: Likewise.
29658         * math/libm-test.inc (csqrt_test): Add more tests.
29659         * sysdeps/i386/fpu/libm-test-ulps: Update.
29660         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29661
29662         [BZ #13840]
29663         * math/libm-test.inc (hypot_test): Add more tests.
29664
29665 2012-03-13  David S. Miller  <davem@davemloft.net>
29666
29667         [BZ #13840]
29668         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
29669         double-precision for the calculation instead of scaling.
29670
29671 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
29672
29673         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
29674         manipulate bits before adding and subtracting TWO52[sx].
29675         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
29676         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
29677         Likewise.
29678         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
29679
29680 2012-03-13  David S. Miller  <davem@davemloft.net>
29681
29682         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
29683         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
29684         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
29685         rtld-global-offsets.h
29686         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
29687
29688         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
29689         large parameters.
29690
29691         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
29692
29693         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
29694         'err' in the ifdef scope in which it is actually used.
29695
29696         * nss/nss_db/db-init.c: Include string.h
29697
29698 2012-03-12  David S. Miller  <davem@davemloft.net>
29699
29700         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
29701         masking out of the most significant byte of random value used.
29702         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
29703         Fix coding style in previous change.
29704
29705         * sysdeps/unix/sysv/linux/kernel-features.h
29706         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
29707         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
29708         expression.
29709         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
29710         later.
29711
29712 2012-03-11  David S. Miller  <davem@davemloft.net>
29713
29714         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
29715         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
29716         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
29717         for 'resultvar' otherwise things get truncated on 64-bit.
29718
29719         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
29720         Fix masking out of the most significant byte of random value used.
29721
29722         * sysdeps/sparc/fpu/libm-test-ulps: Update.
29723
29724 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
29725
29726         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29727
29728 2012-03-09  David S. Miller  <davem@davemloft.net>
29729
29730         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
29731         variables with appropriate CPP guards.
29732         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
29733         frame pointer, not the stack pointer.  Correct layout comments.  Fix test
29734         on resulting framesize and the management of the outregs buffer for pltexit.
29735         Preserve floating point return values across _dl_call_pltexit call.
29736         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
29737         framesize and the management of the outregs buffer for pltexit.
29738         Preserve floating point return values across _dl_call_pltexit
29739         call.
29740         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
29741         la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
29742         (print_exit): Fix format string for return register value.
29743
29744 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
29745
29746         * sunrpc/Makefile (others): Add rpcgen.
29747         ($(objpfx)rpcgen): Remove special build rule and dependency on
29748         libc.
29749         * sunrpc/rpcgen.c: New file.
29750
29751 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
29752
29753         [BZ #13673]
29754         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
29755         * stdio-common/bug-vfprintf-nargs.c: Likewise.
29756         * sysdeps/i386/crti.S: Likewise.
29757         * sysdeps/i386/crtn.S: Likewise.
29758         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
29759         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
29760         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
29761         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
29762         * sysdeps/sh/crti.S: Likewise.
29763         * sysdeps/sh/crtn.S: Likewise.
29764         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
29765
29766         [BZ #13673]
29767         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
29768         with URL.
29769         * locale/programs/locfile-kw.gperf: Likewise.
29770         * locale/programs/charmap-kw.h: Regenerated.
29771         * locale/programs/locfile-kw.h: Likewise.
29772
29773         [BZ #13673]
29774         * intl/plural.y: Replace FSF snail mail address with URL.
29775         * intl/plural.c: Regenerated.
29776
29777 2012-03-09  Richard Henderson  <rth@twiddle.net>
29778
29779         * include/math_private.h: Remove file.
29780         * math/math_private.h: Move file ...
29781         * sysdeps/generic/math_private.h: ... here.
29782
29783         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
29784         * sysdeps/powerpc/fpu/math_private.h: Likewise.
29785         * sysdeps/x86_64/fpu/math_private.h: Likewise.
29786
29787         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
29788         and <math_private.h>.
29789         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
29790         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
29791         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
29792         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
29793         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
29794         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
29795         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
29796         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
29797         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
29798         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
29799         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
29800         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
29801         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
29802         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
29803         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
29804         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
29805         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
29806         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
29807         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
29808         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
29809         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
29810         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
29811         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
29812         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
29813         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
29814         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
29815         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
29816         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
29817         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
29818         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
29819         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
29820         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
29821         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
29822         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
29823         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
29824         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
29825         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
29826         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
29827         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
29828         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
29829         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
29830         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
29831         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
29832         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
29833         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
29834         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
29835         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
29836         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
29837         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
29838         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
29839         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
29840         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
29841         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
29842         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
29843         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
29844         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
29845         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
29846         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
29847         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
29848         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
29849         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
29850         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
29851         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
29852         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
29853         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
29854         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
29855         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
29856         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
29857         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
29858         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
29859         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
29860         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
29861         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
29862         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
29863         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
29864         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
29865         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
29866         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
29867         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
29868         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
29869         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
29870         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
29871         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
29872         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
29873         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
29874         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
29875         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
29876         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
29877         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
29878         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
29879         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
29880         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
29881         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
29882         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
29883         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
29884         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
29885         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
29886         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
29887         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
29888         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
29889         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
29890         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
29891         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
29892         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
29893         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
29894         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
29895         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
29896         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
29897         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
29898         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
29899         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
29900         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
29901         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
29902         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
29903         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
29904         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
29905         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
29906         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
29907         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
29908         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
29909         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
29910         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
29911         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
29912         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
29913         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
29914         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
29915         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
29916         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
29917         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
29918         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
29919         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
29920         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
29921         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
29922         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
29923         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
29924         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
29925         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
29926         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
29927         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
29928         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
29929         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
29930         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
29931         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
29932         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
29933         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
29934         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
29935         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
29936         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
29937         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
29938         * sysdeps/ieee754/k_standard.c: Likewise.
29939         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
29940         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
29941         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
29942         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
29943         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
29944         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
29945         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
29946         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
29947         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
29948         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
29949         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
29950         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
29951         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
29952         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
29953         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
29954         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
29955         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
29956         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
29957         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
29958         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
29959         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
29960         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
29961         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
29962         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
29963         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
29964         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
29965         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
29966         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
29967         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
29968         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
29969         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
29970         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
29971         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
29972         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
29973         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
29974         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
29975         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
29976         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
29977         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
29978         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
29979         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
29980         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
29981         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
29982         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
29983         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
29984         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
29985         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
29986         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
29987         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
29988         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
29989         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
29990         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
29991         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
29992         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
29993         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
29994         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
29995         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
29996         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
29997         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
29998         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
29999         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
30000         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
30001         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
30002         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
30003         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
30004         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
30005         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
30006         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
30007         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
30008         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
30009         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
30010         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
30011         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
30012         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
30013         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
30014         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
30015         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
30016         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
30017         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
30018         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
30019         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
30020         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
30021         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
30022         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
30023         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
30024         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
30025         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
30026         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
30027         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
30028         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
30029         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
30030         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
30031         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
30032         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
30033         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
30034         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
30035         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
30036         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
30037         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
30038         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
30039         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
30040         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
30041         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
30042         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
30043         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
30044         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
30045         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
30046         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
30047         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
30048         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
30049         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
30050         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
30051         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
30052         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
30053         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
30054         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
30055         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
30056         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
30057         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
30058         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
30059         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
30060         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
30061         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
30062         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
30063         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
30064         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
30065         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
30066         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
30067         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
30068         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
30069         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
30070         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
30071         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
30072         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
30073         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
30074         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
30075         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
30076         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
30077         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
30078         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
30079         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
30080         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
30081         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
30082         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
30083         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
30084         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
30085         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
30086         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
30087         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
30088         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
30089         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
30090         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
30091         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
30092         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
30093         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
30094         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
30095         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
30096         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
30097         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
30098         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
30099         * sysdeps/ieee754/s_lib_version.c: Likewise.
30100         * sysdeps/ieee754/s_matherr.c: Likewise.
30101         * sysdeps/ieee754/s_signgam.c: Likewise.
30102         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
30103         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
30104         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
30105         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
30106         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
30107         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
30108         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
30109         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
30110         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
30111         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
30112         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
30113         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
30114         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
30115         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
30116         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
30117         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
30118         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
30119         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
30120         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
30121         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
30122         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
30123
30124 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
30125
30126         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
30127         * sunrpc/rpc_main.c: Likewise.
30128         * sunrpc/rpc_svcout.c: Likewise.
30129
30130 2012-03-09  David S. Miller  <davem@davemloft.net>
30131
30132         * include/math_private.h: New file.
30133
30134 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
30135
30136         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
30137         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
30138         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
30139         from <bits/socket_type.h>.
30140         (enum __socket_type): Don't define here.
30141         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
30142         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
30143         bits/socket_type.h.
30144
30145         [BZ #13566]
30146         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
30147         checking __USE_GNU.
30148
30149         * Makerules ($(inst_includedir)/%.h): New rule.
30150         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
30151         (install-others): Remove variable setting.
30152         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
30153
30154 2012-03-08  Richard Henderson  <rth@twiddle.net>
30155
30156         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
30157         from macro to inline function; merge with the
30158         !__LIBC_INTERNAL_MATH_INLINES version.
30159         (__ieee754_sqrtf): Likewise.
30160
30161         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
30162         to inline function.
30163         (__rintf, __floor, __floorf): Likewise.
30164
30165         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
30166         macro to inline function.
30167         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
30168
30169         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
30170         not <math/math_private.h>.
30171
30172 2012-03-08  David S. Miller  <davem@davemloft.net>
30173
30174         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
30175         copyright year.
30176         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
30177
30178 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
30179
30180         * resolv/gai_misc.c (handle_requests): Fix struct timespec
30181         normalization.
30182         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
30183         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
30184
30185 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
30186
30187         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
30188         be defined individually, they must be defined as a block.  Define
30189         S for printing a string instead of hidint the different by using a
30190         macro for adding the 'l'.
30191         * stdio-common/tst-fphex-wide.c: Adjust.
30192
30193 2012-03-07  Marek Polacek  <polacek@redhat.com>
30194
30195         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
30196
30197 2012-03-08  Marek Polacek  <polacek@redhat.com>
30198
30199         [BZ #13806]
30200         * stdio-common/Makefile (tests): Add tst-fphex-wide.
30201         * stdio-common/tst-fphex.c: Define a few macros to make the
30202         test reusable.  Use them.
30203         * stdio-common/tst-fphex-wide.c: New file.
30204
30205 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
30206
30207         [BZ #6911]
30208         * manual/macros.texi (gnusystems): New macro.
30209         (nongnusystems): Likewise.
30210         (gnulinuxhurdsystems): Likewise.
30211         (gnuhurdsystems): Likewise..
30212         (gnulinuxsystems): Likewise.
30213         * manual/charset.texi: Use new macros or @theglibc{} to refer to
30214         variants of the GNU system, not "GNU system".
30215         * manual/conf.texi: Likewise.
30216         * manual/errno.texi: Likewise.  Update example of errno macro
30217         expansion.
30218         * manual/filesys.texi: Likewise.
30219         (getumask): Document as specific to GNU/Hurd.
30220         * manual/install.texi: Likewise.  Reword some references to
30221         GNU/Linux.
30222         * manual/intro.texi: Likewise.
30223         * manual/io.texi: Likewise.
30224         (File Name Portability): Detail which constraints are inapplicable
30225         to all GNU systems and which are only inapplicable to GNU/Hurd.
30226         * manual/job.texi: Likewise.
30227         * manual/llio.texi: Likewise.
30228         (O_NOCTTY): Document as present on GNU/Linux.
30229         * manual/maint.texi: Likewise.
30230         * manual/memory.texi: Likewise.
30231         * manual/pattern.texi: Likewise.
30232         * manual/pipe.texi: Likewise.
30233         * manual/process.texi: Likewise.
30234         * manual/resource.texi: Likewise.
30235         (RUSAGE_CHILDREN): Remove statement about specifying a particular
30236         child on GNU/Hurd.
30237         * manual/setjmp.texi: Likewise.
30238         * manual/signal.texi: Likewise.
30239         * manual/startup.texi: Likewise.
30240         * manual/stdio.texi: Likewise.
30241         * manual/terminal.texi: Likewise.
30242         (ONLCR): Document as POSIX.
30243         (OXTABS): Document availability on GNU/Linux as XTABS.
30244         (ONOEOT): Document availability separately from other bits.
30245         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
30246         * manual/time.texi: Likewise.
30247         * manual/users.texi: Likewise.
30248         * INSTALL: Regenerated.
30249         * sysdeps/gnu/errlist.c: Regenerated.
30250
30251         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
30252         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
30253         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
30254         puts.
30255         * configure: Regenerated.
30256
30257 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
30258
30259         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
30260         default includes instead of AC_HEADER_CHECK.
30261         * sysdeps/i386/configure: Regenerated.
30262
30263         [BZ #10716]
30264         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
30265         * math/s_cacoshf.c (__cacoshf): Likewise.
30266         * math/s_cacoshl.c (__cacoshl): Likewise.
30267         * math/s_casinh.c (__casinh): Set signs of result from argument.
30268         * math/s_casinhf.c (__casinhf): Likewise.
30269         * math/s_casinhl.c (__casinhl): Likewise.
30270         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
30271         (casinh_test): Add more tests.
30272         * sysdeps/i386/fpu/libm-test-ulps: Update.
30273         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30274
30275 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
30276
30277         * po/zh_TW.po: Update from translation team.
30278
30279         * login/Makefile (distribute): Remove variable.
30280         * catgets/Makefile: Likewise.
30281         * mach/Makefile: Likewise.
30282         * malloc/Makefile: Likewise.
30283         * misc/Makefile: Likewise.
30284         * iconv/Makefile: Likewise.
30285         * nscd/Makefile: Likewise.
30286         * hurd/Makefile: Likewise.
30287         * manual/Makefile: Likewise.
30288         * locale/Makefile: Likewise.
30289         * intl/Makefile: Likewise.
30290         * conform/Makefile: Likewise.
30291         * nss/Makefile: Likewise.
30292         * time/Makefile: Likewise.
30293         * soft-fp/Makefile: Likewise.
30294         * dirent/Makefile: Likewise.
30295         * gmon/Makefile: Likewise.
30296         * po/Makefile: Likewise.
30297         * rt/Makefile: Likewise.
30298         * socket/Makefile: Likewise.
30299         * math/Makefile: Likewise.
30300         * signal/Makefile: Likewise.
30301         * debug/Makefile: Likewise.
30302         * elf/Makefile: Likewise.
30303         * timezone/Makefile: Likewise.
30304         * stdlib/Makefile: Likewise.
30305         * iconvdata/Makefile: Likewise.
30306         * sunrpc/Makefile: Likewise.
30307         * io/Makefile: Likewise.
30308         * argp/Makefile: Likewise.
30309         * inet/Makefile: Likewise.
30310         * hesiod/Makefile: Likewise.
30311         * grp/Makefile: Likewise.
30312         * csu/Makefile: Likewise.
30313         * wctype/Makefile: Likewise.
30314         * crypt/Makefile: Likewise.
30315         * libio/Makefile: Likewise.
30316         * string/Makefile: Likewise.
30317         * nis/Makefile: Likewise.
30318         * resolv/Makefile: Likewise.
30319         * stdio-common/Makefile: Likewise.
30320         * wcsmbs/Makefile: Likewise.
30321         * dlfcn/Makefile: Likewise.
30322         * posix/Makefile: Likewise.
30323
30324         [BZ #6959]
30325         * timezone/Makefile: Don't install timezone files, just the programs
30326         and scripts.
30327
30328 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
30329
30330         * nss/databases.def: Add missing gshadow entry.
30331
30332         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
30333
30334 2012-03-06  Marek Polacek  <polacek@redhat.com>
30335
30336         [BZ #13726]
30337         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
30338         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
30339         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
30340         * stdio-common/tst-long-dbl-fphex.c: New file.
30341
30342 2012-03-06  David S. Miller  <davem@davemloft.net>
30343
30344         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
30345         (set_obp_int): New function.
30346         (get_obp_int): New function.
30347         (__get_clockfreq_via_dev_openprom): Likewise.
30348         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
30349         Avoid unused variable warnings on 'val' and use builtin_expect.
30350         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
30351         __builtin_expect.
30352         (INLINE_CLONE_SYSCALL): Likewise.
30353
30354 2012-03-05  David S. Miller  <davem@davemloft.net>
30355
30356         * sysdeps/sparc/fpu/libm-test-ulps: Update.
30357
30358 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
30359
30360         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30361
30362         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
30363         only for |x| >= 40.
30364         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
30365
30366 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
30367
30368         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
30369         Replace gettimeofday with __vdso_gettimeofday.
30370
30371         * sysdeps/unix/sysv/linux/x86_64/init-first.c
30372         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
30373         __vdso_clock_gettime and __vdso_getcpu.
30374
30375         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
30376         time with __vdso_time.
30377
30378 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
30379
30380         * manual/lang.texi (size_t): Note types to which size_t may be
30381         equivalent with the GNU C Library, but do not describe when
30382         differences between them are significant.
30383
30384 2012-03-05  Andreas Jaeger  <aj@suse.de>
30385
30386         * sysdeps/i386/fpu/libm-test-ulps: Update.
30387
30388 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
30389
30390         [BZ #3976]
30391         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
30392         (__ieee754_pow): Save and restore rounding mode and use
30393         round-to-nearest for main computations.
30394         * math/libm-test.inc (pow_test_tonearest): New function.
30395         (pow_test_towardzero): Likewise.
30396         (pow_test_downward): Likewise.
30397         (pow_test_upward): Likewise.
30398         (main): Call the new functions.
30399         * sysdeps/i386/fpu/libm-test-ulps: Update.
30400         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30401
30402         [BZ #3976]
30403         * math/libm-test.inc (cosh_test_tonearest): New function.
30404         (cosh_test_towardzero): Likewise.
30405         (cosh_test_downward): Likewise.
30406         (cosh_test_upward): Likewise.
30407         (sinh_test_tonearest): Likewise.
30408         (sinh_test_towardzero): Likewise.
30409         (sinh_test_downward): Likewise.
30410         (sinh_test_upward): Likewise.
30411         (main): Call the new functions.
30412         * sysdeps/i386/fpu/libm-test-ulps: Update.
30413         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30414
30415 2012-03-05  Tom de Vries  <tom@codesourcery.com>
30416
30417         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
30418         default stack guard is set in last bytes.
30419         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
30420
30421 2012-03-05  Kees Cook  <keescook@chromium.org>
30422
30423         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
30424
30425         [BZ #13656]
30426         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
30427         possibly allocate from heap instead of stack.
30428         * stdio-common/bug-vfprintf-nargs.c: New file.
30429         * stdio-common/Makefile (tests): Add nargs overflow test.
30430
30431 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
30432
30433         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30434
30435 2012-03-03  Marek Polacek  <polacek@redhat.com>
30436
30437         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
30438         * math/math_private.h: Likewise.
30439         * stdlib/tst-strtod.c: Likewise.
30440         * sysdeps/i386/i486/bits/atomic.h: Likewise.
30441         * sysdeps/x86_64/bits/atomic.h: Likewise.
30442
30443 2012-03-02  David S. Miller  <davem@davemloft.net>
30444
30445         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
30446         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
30447         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
30448         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
30449         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
30450         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
30451         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
30452         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
30453
30454 2012-03-02  Roland McGrath  <roland@hack.frob.com>
30455
30456         [BZ #13792]
30457         * manual/examples/README: New file, says the example source files
30458         can be used under GPL>=2.
30459         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
30460         line containing just "*/".
30461         * manual/examples/add.c: Add copyright header (GPL>=2).
30462         * manual/examples/argp-ex1.c: Likewise.
30463         * manual/examples/argp-ex2.c: Likewise.
30464         * manual/examples/argp-ex3.c: Likewise.
30465         * manual/examples/argp-ex4.c: Likewise.
30466         * manual/examples/atexit.c: Likewise.
30467         * manual/examples/db.c: Likewise.
30468         * manual/examples/dir.c: Likewise.
30469         * manual/examples/dir2.c: Likewise.
30470         * manual/examples/execinfo.c: Likewise.
30471         * manual/examples/filecli.c: Likewise.
30472         * manual/examples/filesrv.c: Likewise.
30473         * manual/examples/fmtmsgexpl.c: Likewise.
30474         * manual/examples/genpass.c: Likewise.
30475         * manual/examples/inetcli.c: Likewise.
30476         * manual/examples/inetsrv.c: Likewise.
30477         * manual/examples/isockad.c: Likewise.
30478         * manual/examples/longopt.c: Likewise.
30479         * manual/examples/memopen.c: Likewise.
30480         * manual/examples/memstrm.c: Likewise.
30481         * manual/examples/mkfsock.c: Likewise.
30482         * manual/examples/mkisock.c: Likewise.
30483         * manual/examples/mygetpass.c: Likewise.
30484         * manual/examples/pipe.c: Likewise.
30485         * manual/examples/popen.c: Likewise.
30486         * manual/examples/rprintf.c: Likewise.
30487         * manual/examples/search.c: Likewise.
30488         * manual/examples/select.c: Likewise.
30489         * manual/examples/setjmp.c: Likewise.
30490         * manual/examples/sigh1.c: Likewise.
30491         * manual/examples/sigusr.c: Likewise.
30492         * manual/examples/stpcpy.c: Likewise.
30493         * manual/examples/strdupa.c: Likewise.
30494         * manual/examples/strftim.c: Likewise.
30495         * manual/examples/strncat.c: Likewise.
30496         * manual/examples/subopt.c: Likewise.
30497         * manual/examples/swapcontext.c: Likewise.
30498         * manual/examples/termios.c: Likewise.
30499         * manual/examples/testopt.c: Likewise.
30500         * manual/examples/testpass.c: Likewise.
30501         * manual/examples/timeval_subtract.c: Likewise.
30502
30503         [BZ #13792]
30504         * manual/time.texi (Elapsed Time): Move timeval_subtract example
30505         function to ...
30506         * manual/timeval_subtract.c.texi: ... here, new file.
30507
30508 2012-03-02  David S. Miller  <davem@davemloft.net>
30509
30510         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
30511
30512 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
30513
30514         [BZ #3976]
30515         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
30516         (__sin): Save and restore rounding mode and use round-to-nearest
30517         for all computations.
30518         (__cos): Save and restore rounding mode and use round-to-nearest
30519         for all computations.
30520         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
30521         <fenv.h>.
30522         (tan): Save and restore rounding mode and use round-to-nearest for
30523         all computations.
30524         * math/libm-test.inc (cos_test_tonearest): New function.
30525         (cos_test_towardzero): Likewise.
30526         (cos_test_downward): Likewise.
30527         (cos_test_upward): Likewise.
30528         (sin_test_tonearest): Likewise.
30529         (sin_test_towardzero): Likewise.
30530         (sin_test_downward): Likewise.
30531         (sin_test_upward): Likewise.
30532         (tan_test_tonearest): Likewise.
30533         (tan_test_towardzero): Likewise.
30534         (tan_test_downward): Likewise.
30535         (tan_test_upward): Likewise.
30536         (main): Call the new functions.
30537         * sysdeps/i386/fpu/libm-test-ulps: Update.
30538         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30539
30540         [BZ #10135]
30541         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
30542         small n, then large n, before computing and testing k+n.
30543         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
30544         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
30545         Likewise.
30546         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
30547         Likewise.
30548         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
30549         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
30550         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
30551         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
30552         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
30553         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
30554         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
30555         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
30556         * math/libm-test.inc (scalbn_test): Add more tests.
30557         (scalbln_test): Likewise.
30558
30559         * manual/filesys.texi (mode_t): Describe constraints on size and
30560         signedness, not exact equivalence to a particular type.
30561         (ino_t): Likewise.
30562         (ino64_t): Likewise.
30563         (dev_t): Likewise.
30564         (nlink_t): Likewise.
30565         (blkcnt_t): Likewise.
30566         (blkcnt64_t): Likewise.
30567         * manual/llio.texi (off_t): Likewise.
30568
30569         [BZ #3976]
30570         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
30571         (__ieee754_exp): Save and restore rounding mode and use
30572         round-to-nearest for all computations.
30573         * math/libm-test.inc (exp_test_tonearest): New function.
30574         (exp_test_towardzero): Likewise.
30575         (exp_test_downward): Likewise.
30576         (exp_test_upward): Likewise.
30577         (main): Call the new functions.
30578         * sysdeps/i386/fpu/libm-test-ulps: Update.
30579         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30580
30581 2012-03-01  Chris Demetriou  <cgd@google.com>
30582
30583         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
30584         have predictable order.
30585
30586 2012-03-01  David S. Miller  <davem@davemloft.net>
30587
30588         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
30589
30590         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
30591         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
30592         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
30593         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
30594
30595         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
30596         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
30597         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
30598         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
30599         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
30600         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
30601         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
30602         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
30603         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
30604
30605         * sysdeps/sparc/fpu/libm-test-ulps: Update.
30606
30607         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
30608         * sysdeps/sparc/fpu/libm-test-ulps: to here.
30609         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
30610
30611         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
30612         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
30613         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
30614         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
30615         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
30616         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
30617         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
30618         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
30619         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
30620         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
30621         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
30622         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
30623         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
30624         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
30625         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
30626         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
30627         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
30628         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
30629         * sysdeps/sparc/elf/configure: Regenerated.
30630
30631 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
30632
30633         * configure.in (AS, LD): Require binutils 2.20 or later.
30634         * configure: Regenerated.
30635         * manual/install.texi (Tools for Compilation): Give binutils 2.20
30636         as required minimum version.
30637         * INSTALL: Regenerated.
30638
30639         [BZ #2541]
30640         [BZ #4108]
30641         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
30642         before squaring exponent.
30643         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
30644         bottom long double and 27 bits of top long double before squaring
30645         exponent.
30646         * math/libm-test.inc (erfc_test): Add more tests.
30647         * sysdeps/i386/fpu/libm-test-ulps: Update.
30648         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
30649         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30650
30651 2012-03-01  Kai Tietz  <ktietz@redhat.com>
30652
30653         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
30654         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
30655         containing bit-fields.
30656         * soft-fp/extended.h (_FP_UNION_E): Likewise.
30657         * soft-fp/single.h (_FP_UNION_S): Likewise.
30658         * soft-fp/double.h (_FP_UNION_D): Likewise.
30659
30660 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
30661
30662         [BZ #13786]
30663         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
30664         not include ../strcmp.S.
30665         [USE_AS_STRNCASECMP_L]: Likewise.
30666         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
30667         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
30668         * sysdeps/i386/i686/multiarch/strncase_l-c.c
30669         (__strncasecmp_l_ia32): Define as alias to
30670         __strncasecmp_l_nonascii.
30671
30672         [BZ #5794]
30673         * math/libm-test.inc (expm1_test): Add test for bug 5794.
30674         * sysdeps/i386/fpu/libm-test-ulps: Update.
30675         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30676
30677         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
30678         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30679
30680 2012-02-29  Jeff Law  <law@redhat.com>
30681
30682         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
30683         out of bounds read.
30684
30685 2012-02-29  Marek Polacek  <polacek@redhat.com>
30686
30687         [BZ #13706]
30688         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
30689         * elf/Makefile: Add rules to run tst-unused-dep.out.
30690
30691 2012-02-28  David S. Miller  <davem@davemloft.net>
30692
30693         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
30694         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
30695         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
30696         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
30697         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
30698         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
30699
30700 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
30701
30702         * math/libm-test.inc (llround_test): Move one test from
30703         lround_test.  Use TEST_f_L in moved test.
30704         (lround_test): Move misplaced test to llround_test.  Add testcase
30705         from bug 2561.
30706
30707 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
30708
30709         * sysdeps/x86_64/fpu/e_expf.S: New file.
30710         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
30711
30712 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
30713
30714         [BZ #13637]
30715         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
30716         of remain_len that may cause incomplete multi-byte character and
30717         false match.
30718         * posix/bug-regex33.c: New file.
30719         * posix/Makefile (tests): Add bug-regex33.
30720
30721 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
30722
30723         * manual/macros.texi: New file.
30724         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
30725         * manual/libc.texinfo: Include macros.texi.
30726         * manual/creatute.texi: Likewise.
30727         * manual/install.texi: Likewise.
30728         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
30729         @glibcadj{} in references to the GNU C Library.
30730         * manual/charset.texi: Likewise.
30731         * manual/conf.texi: Likewise.
30732         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
30733         when not using those macros.
30734         * manual/creature.texi: Likewise.
30735         * manual/crypt.texi: Likewise.
30736         * manual/errno.texi: Likewise.
30737         * manual/filesys.texi: Likewise.
30738         * manual/header.texi: Likewise.
30739         * manual/install.texi: Likewise.
30740         * manual/intro.texi: Likewise.
30741         * manual/io.texi: Likewise.
30742         * manual/job.texi: Likewise.
30743         * manual/lang.texi: Likewise.
30744         * manual/libc.texiinfo: Likewise.
30745         * manual/llio.texi: Likewise.
30746         * manual/locale.texi: Likewise.
30747         * manual/maint.texi: Likewise.
30748         * manual/math.texi: Likewise.
30749         * manual/memory.texi: Likewise.
30750         * manual/message.texi: Likewise.
30751         * manual/nss.texi: Likewise.
30752         * manual/pattern.texi: Likewise.
30753         * manual/process.texi: Likewise.
30754         * manual/resource.texi: Likewise.
30755         * manual/search.texi: Likewise.
30756         * manual/setjmp.texi: Likewise.
30757         * manual/signal.texi: Likewise.
30758         * manual/socket.texi: Likewise.
30759         * manual/startup.texi: Likewise.
30760         * manual/stdio.texi: Likewise.
30761         * manual/string.texi: Likewise.
30762         * manual/sysinfo.texi: Likewise.
30763         * manual/syslog.texi: Likewise.
30764         * manual/terminal.texi: Likewise.
30765         * manual/time.texi: Likewise.
30766         * manual/users.texi: Likewise.
30767         * INSTALL: Regenerated.
30768         * NOTES: Regenerated.
30769         * sysdeps/gnu/errlist.c: Regenerated.
30770
30771 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
30772
30773         * include/dirent.h: Include <dirstream.h> before
30774         <dirent/dirent.h>.
30775
30776 2012-02-28  David S. Miller  <davem@davemloft.net>
30777
30778         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
30779         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
30780         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
30781         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
30782
30783 2012-02-27  David S. Miller  <davem@davemloft.net>
30784
30785         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
30786         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
30787         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
30788         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
30789
30790         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
30791         frame pointer instead of stack pointer relative arg slot.
30792         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
30793         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
30794         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
30795
30796 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
30797
30798         [BZ #3992]
30799         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
30800
30801 2012-02-27  David S. Miller  <davem@davemloft.net>
30802
30803         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
30804         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
30805         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
30806         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
30807         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
30808         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
30809         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
30810         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
30811
30812 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
30813
30814         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
30815         later.  Allow versions 5-9.
30816         * configure: Regenerated.
30817         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
30818         required minimum version and 4.6 as recommended version.  Do not
30819         mention bugs in GCC 2.7 and 2.8.
30820         * INSTALL: Regenerated.
30821
30822 2012-02-27  David S. Miller  <davem@davemloft.net>
30823
30824         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
30825         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
30826         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
30827         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
30828         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
30829         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
30830         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
30831         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
30832
30833         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
30834         manipulate bits before adding and subtracting TWO112[sx].
30835         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
30836
30837 2012-02-27  Roland McGrath  <roland@hack.frob.com>
30838
30839         [BZ #13775]
30840         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
30841         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
30842         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
30843         being in POSIX, because they are in 1003.1-2008.
30844
30845         * rt/tst-aio.c: Include <fcntl.h>.
30846         * rt/tst-aio7.c: Likewise.
30847         * rt/tst-aio64.c: Likewise.
30848
30849         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
30850
30851 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
30852
30853         * manual/install.texi (--with-headers): Describe headers as
30854         interface headers, not private headers.
30855         (Specific advice for GNU/Linux systems): Describe use of headers
30856         from "make headers_install", not private headers from older
30857         kernels.
30858         * INSTALL: Regenerated.
30859         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
30860         Change to 2.6.19.
30861         * sysdeps/unix/sysv/linux/configure: Regenerated.
30862
30863         * manual/llio.texi (fclean): Remove documentation.
30864
30865         * manual/Makefile (libc-texi-generated): New variable.  Include
30866         version.texi.
30867         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
30868         $(libc-texi-generated), not duplicated list of files.
30869         (version.texi, stamp-version): New rules.
30870         (realclean): Remove $(libc-texi-generated), not individual files
30871         from that list.  Do not remove dir-add.texinfo.
30872         * manual/libc.texinfo: Comment out uses of edition numbers and
30873         references to printed manual.  Remove last-updated dates.
30874         (EDITION): Comment out.
30875         (ISBN): Likewise.
30876         (VERSION, UPDATED): Remove.
30877         (version.texi): Include.
30878
30879 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
30880
30881         * sysdeps/posix/spawni.c: Include <signal.h>.
30882         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
30883         * sysdeps/pthread/aio_fsync.c: Likewise.
30884
30885 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
30886
30887         * conform/Makefile (tests): Run only when not cross-compiling and
30888         when fast-check is not defined.
30889
30890         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
30891         * conform/data/limits.h-data: Fixes for POSIX2008.
30892         * conform/run-conformtest.sh: Run all tests.
30893         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
30894         headers.
30895         * include/bits/dlfcn.h: Likewise.
30896         * include/langinfo.h: Likewise.
30897         * include/monetary.h: Likewise.
30898         * include/sys/poll.h: Likewise.
30899
30900         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
30901         for __USE_GNU.
30902         * posix/spawn.h: Define __need_sigset_t.
30903         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
30904         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
30905         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
30906         to get sigevent_t only.
30907         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
30908         only for __USE_GNU.
30909         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
30910         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
30911         process_vm_writev only for __USE_GNU.
30912         * termios/termios.h: Declare tcgetsid also for POSIX2008.
30913
30914         * conform/Makefile: For now ignore errors from run-conformtest.
30915         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
30916         POSIX to avoid namespace pollution.  Don't prepend headers.
30917         * conform/data/aio.h-data: Fixes for POSIX testing.
30918         * conform/data/fcntl.h-data: Likewise.
30919         * conform/data/glob.h-data: Likewise.
30920         * conform/data/grp.h-data: Likewise.
30921         * conform/data/pthread.h-data: Likewise.
30922         * conform/data/pwd.h-data: Likewise.
30923         * conform/data/signal.h-data: Likewise.
30924         * conform/data/spawn.h-data: Likewise.
30925         * conform/data/stdio.h-data: Likewise.
30926         * conform/data/stdlib.h-data: Likewise.
30927         * conform/data/stropts.h-data: Likewise.
30928         * conform/data/sys/mman.h-data: Likewise.
30929         * conform/data/sys/stat.h-data: Likewise.
30930         * conform/data/sys/types.h-data: Likewise.
30931         * conform/data/sys/wait.h-data: Likewise.
30932         * conform/data/time.h-data: Likewise.
30933         * conform/data/unistd.h-data: Likewise.
30934         * conform/data/utime.h-data: Likewise.
30935
30936         * io/sys/stat.h: fchmod was always in POSIX.
30937         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
30938         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
30939         * rt/aio.h: Define __need_timespec before including <time.h>.
30940         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
30941         struct.  Add forward declaration of pthread_attr_t and use it in
30942         sigevent.
30943         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
30944         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
30945         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
30946         always remove CLK_TCK definition.
30947
30948 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
30949
30950         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
30951
30952 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
30953
30954         * conform/run-conformtest.sh: New file.
30955         * conform/Makefile: Run run-conformtest for tests.
30956         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
30957         support.
30958
30959         * conform/data/uchar.h-data: New file.
30960         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
30961         * conform/data/arpa/inet.h-data: Likewise.
30962         * conform/data/assert.h-data: Likewise.
30963         * conform/data/complex.h-data: Likewise.
30964         * conform/data/cpio.h-data: Likewise.
30965         * conform/data/ctype.h-data: Likewise.
30966         * conform/data/dirent.h-data: Likewise.
30967         * conform/data/dlfcn.h-data: Likewise.
30968         * conform/data/errno.h-data: Likewise.
30969         * conform/data/fcntl.h-data: Likewise.
30970         * conform/data/float.h-data: Likewise.
30971         * conform/data/fmtmsg.h-data: Likewise.
30972         * conform/data/fnmatch.h-data: Likewise.
30973         * conform/data/ftw.h-data: Likewise.
30974         * conform/data/glob.h-data: Likewise.
30975         * conform/data/grp.h-data: Likewise.
30976         * conform/data/iconv.h-data: Likewise.
30977         * conform/data/inttypes.h-data: Likewise.
30978         * conform/data/langinfo.h-data: Likewise.
30979         * conform/data/libgen.h-data: Likewise.
30980         * conform/data/limits.h-data: Likewise.
30981         * conform/data/locale.h-data: Likewise.
30982         * conform/data/math.h-data: Likewise.
30983         * conform/data/monetary.h-data: Likewise.
30984         * conform/data/mqueue.h-data: Likewise.
30985         * conform/data/ndbm.h-data: Likewise.
30986         * conform/data/net/if.h-data: Likewise.
30987         * conform/data/netdb.h-data: Likewise.
30988         * conform/data/netinet/in.h-data: Likewise.
30989         * conform/data/nl_types.h-data: Likewise.
30990         * conform/data/poll.h-data: Likewise.
30991         * conform/data/pthread.h-data: Likewise.
30992         * conform/data/pwd.h-data: Likewise.
30993         * conform/data/regex.h-data: Likewise.
30994         * conform/data/sched.h-data: Likewise.
30995         * conform/data/search.h-data: Likewise.
30996         * conform/data/semaphore.h-data: Likewise.
30997         * conform/data/setjmp.h-data: Likewise.
30998         * conform/data/signal.h-data: Likewise.
30999         * conform/data/spawn.h-data: Likewise.
31000         * conform/data/stdarg.h-data: Likewise.
31001         * conform/data/stdio.h-data: Likewise.
31002         * conform/data/stdlib.h-data: Likewise.
31003         * conform/data/string.h-data: Likewise.
31004         * conform/data/strings.h-data: Likewise.
31005         * conform/data/stropts.h-data: Likewise.
31006         * conform/data/sys/ipc.h-data: Likewise.
31007         * conform/data/sys/mman.h-data: Likewise.
31008         * conform/data/sys/msg.h-data: Likewise.
31009         * conform/data/sys/resource.h-data: Likewise.
31010         * conform/data/sys/select.h-data: Likewise.
31011         * conform/data/sys/sem.h-data: Likewise.
31012         * conform/data/sys/shm.h-data: Likewise.
31013         * conform/data/sys/socket.h-data: Likewise.
31014         * conform/data/sys/stat.h-data: Likewise.
31015         * conform/data/sys/statvfs.h-data: Likewise.
31016         * conform/data/sys/time.h-data: Likewise.
31017         * conform/data/sys/timeb.h-data: Likewise.
31018         * conform/data/sys/times.h-data: Likewise.
31019         * conform/data/sys/types.h-data: Likewise.
31020         * conform/data/sys/uio.h-data: Likewise.
31021         * conform/data/sys/un.h-data: Likewise.
31022         * conform/data/sys/utsname.h-data: Likewise.
31023         * conform/data/sys/wait.h-data: Likewise.
31024         * conform/data/syslog.h-data: Likewise.
31025         * conform/data/tar.h-data: Likewise.
31026         * conform/data/termios.h-data: Likewise.
31027         * conform/data/utime.h-data: Likewise.
31028         * conform/data/utmpx.h-data: Likewise.
31029         * conform/data/varargs.h-data: Likewise.
31030         * conform/data/wchar.h-data: Likewise.
31031         * conform/data/wctype.h-data: Likewise.
31032         * conform/data/wordexp.h-data: Likewise.
31033
31034         * include/stropts.h: New file.
31035         * include/uchar.h: New file.
31036         * include/aio.h: Changes to allow conformtest.pl to use the headers.
31037         * include/assert.h: Likewise.
31038         * include/ctype.h: Likewise.
31039         * include/dirent.h: Likewise.
31040         * include/dlfcn.h: Likewise.
31041         * include/fcntl.h: Likewise.
31042         * include/fnmatch.h: Likewise.
31043         * include/glob.h: Likewise.
31044         * include/grp.h: Likewise.
31045         * include/libio.h: Likewise.
31046         * include/locale.h: Likewise.
31047         * include/math.h: Likewise.
31048         * include/net/if.h: Likewise.
31049         * include/netdb.h: Likewise.
31050         * include/netinet/in.h: Likewise.
31051         * include/pthread.h: Likewise.
31052         * include/pwd.h: Likewise.
31053         * include/regex.h: Likewise.
31054         * include/sched.h: Likewise.
31055         * include/search.h: Likewise.
31056         * include/setjmp.h: Likewise.
31057         * include/signal.h: Likewise.
31058         * include/stdio.h: Likewise.
31059         * include/stdlib.h: Likewise.
31060         * include/string.h: Likewise.
31061         * include/sys/cdefs.h: Likewise.
31062         * include/sys/mman.h: Likewise.
31063         * include/sys/msg.h: Likewise.
31064         * include/sys/resource.h: Likewise.
31065         * include/sys/select.h: Likewise.
31066         * include/sys/socket.h: Likewise.
31067         * include/sys/stat.h: Likewise.
31068         * include/sys/statvfs.h: Likewise.
31069         * include/sys/time.h: Likewise.
31070         * include/sys/times.h: Likewise.
31071         * include/sys/uio.h: Likewise.
31072         * include/sys/utsname.h: Likewise.
31073         * include/sys/wait.h: Likewise.
31074         * include/termios.h: Likewise.
31075         * include/time.h: Likewise.
31076         * include/ulimit.h: Likewise.
31077         * include/unistd.h: Likewise.
31078         * include/utime.h: Likewise.
31079         * include/wchar.h: Likewise.
31080         * include/wctype.h: Likewise.
31081         * include/wordexp.h: Likewise.
31082
31083         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
31084
31085         * time/time.h: TIME_UTC must be a macro.
31086         Make timespec_get available for ISO C11 only as well.
31087
31088 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
31089
31090         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
31091         Reported by Peng Haitao <penght@cn.fujitsu.com>.
31092
31093 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
31094
31095         * configure.in: Use -o not -a in test for unsupported multi-arch.
31096
31097 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
31098
31099         * manual/texinfo.tex: Update to version 2012-01-19.16.
31100
31101 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
31102
31103         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
31104
31105 2012-02-24  Roland McGrath  <roland@hack.frob.com>
31106
31107         [BZ #13738]
31108         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
31109         * manual/fdl-1.3.texi: New file.
31110         * manual/fdl-1.1.texi: File removed.
31111
31112         [BZ #13738]
31113         * manual/libc.texinfo (FDL_VERSION): New @set.
31114         Use it for mention of FDL in cover text.
31115         (Documentation License): Use it in @include file name.
31116
31117 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
31118             Roland McGrath  <roland@hack.frob.com>
31119
31120         [BZ #5461]
31121         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
31122         not LONG_LONG_MAX and LONG_LONG_MIN.
31123         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
31124         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
31125         name.
31126         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
31127
31128 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
31129
31130         [BZ #2547]
31131         [BZ #11365]
31132         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
31133         manipulate bits before adding and subtracting TWO23[sx].
31134         * math/libm-test.inc (nearbyint_test): Add more tests.
31135
31136 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
31137
31138         [BZ #2548]
31139         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
31140         bits before adding and subtracting TWO23[sx].
31141         * math/libm-test.inc (rint_test): Add more tests.
31142         (rint_test_tonearest): Likewise.
31143         (rint_test_towardzero): Likewise.
31144         (rint_test_downward): Likewise.
31145         (rint_test_upward: Likewise.
31146
31147 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
31148
31149         [BZ #10110]
31150         * include/stdc-predef.h: New file.  Extracted from features.h.
31151         * include/features.h: Include stdc-predef.h.
31152         * Makefile (headers): Add stdc-predef.h.
31153         * CONFORMANCE (Compiler limitations): Update.
31154
31155 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
31156
31157         * manual/libc.texinfo (VERSION, UPDATED): Revert.
31158
31159 2012-02-21  David S. Miller  <davem@davemloft.net>
31160
31161         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
31162         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
31163
31164 2012-02-20  David S. Miller  <davem@davemloft.net>
31165
31166         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
31167         using a normal save/restore sequence, rather than allocating a
31168         dummy stack frame just to store a frame pointer and restore.
31169         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
31170
31171 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
31172
31173         * manual/install.texi: Fix stray word in line-wrapped comment.
31174
31175 2012-02-20  David S. Miller  <davem@davemloft.net>
31176
31177         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
31178         both binutils and gcc support GOTDATA.
31179
31180         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
31181         "rd %pc" in the PIC register setup sequences.
31182
31183         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
31184         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
31185         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
31186         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
31187         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
31188         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
31189         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
31190         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
31191         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
31192         (SYSCALL_ERROR_HANDLER): Likewise.
31193         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
31194         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
31195         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
31196         (SYSCALL_ERROR_HANDLER): Likewise.
31197
31198         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
31199         (HAVE_GCC_GOTDATA): New.
31200         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
31201         relocation support in both binutils and gcc.
31202         * sysdeps/sparc/elf/configure: Regenerate.
31203
31204         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
31205         * sysdeps/sparc/sparc32/elf/configure: Delete.
31206         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
31207         * sysdeps/sparc/sparc64/elf/configure: Delete.
31208         * sysdeps/sparc/elf/configure.in: New file.
31209         * sysdeps/sparc/elf/configure: Generate.
31210
31211         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
31212         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
31213         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
31214         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
31215         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
31216
31217 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
31218
31219         * manual/install.texi: Do not mention specific glibc version
31220         numbers.
31221         * manual/libc.texinfo (VERSION, UPDATED): Update.
31222         (@copying): Use @copyright{} and range of years.
31223
31224 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
31225
31226         [BZ #13695]
31227         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
31228         [crti.S not in sysdirs] (generated): Do not append.
31229         [crti.S not in sysdirs] (omit-deps): Likewise.
31230         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
31231         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
31232         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
31233         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
31234         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
31235         Likewise.
31236         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
31237         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
31238         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
31239         * csu/defs.awk: Remove file.
31240         * sysdeps/generic/initfini.c: Likewise.
31241         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
31242         variable.
31243         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
31244         Likewise.
31245
31246 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
31247
31248         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
31249         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
31250         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
31251         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
31252         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
31253         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
31254         <bits/epoll.h>.
31255         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
31256         (__EPOLL_PACKED): Define to empty if not defined by
31257         <bits/epoll.h>.
31258         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
31259         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
31260         bits/epoll.h.
31261
31262 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
31263
31264         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
31265         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
31266         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
31267         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
31268         <bits/timerfd.h>.
31269         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
31270         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
31271         bits/timerfd.h.
31272
31273 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
31274
31275         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
31276         in C locale.
31277         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
31278         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
31279         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
31280         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31281
31282 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
31283
31284         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
31285         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
31286
31287 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
31288
31289         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
31290         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
31291         defined.
31292         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
31293         Likewise.
31294         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
31295         entry for 2.16.
31296
31297 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
31298
31299         * math/w_acos.c: Use non-signaling floating-point comparisons.
31300         * math/w_acosf.c: Likewise.
31301         * math/w_acosh.c: Likewise.
31302         * math/w_acoshf.c: Likewise.
31303         * math/w_acoshl.c: Likewise.
31304         * math/w_acosl.c: Likewise.
31305         * math/w_asin.c: Likewise.
31306         * math/w_asinf.c: Likewise.
31307         * math/w_asinl.c: Likewise.
31308         * math/w_atanh.c: Likewise.
31309         * math/w_atanhf.c: Likewise.
31310         * math/w_atanhl.c: Likewise.
31311         * math/w_exp2.c: Likewise.
31312         * math/w_exp2f.c: Likewise.
31313         * math/w_exp2l.c: Likewise.
31314         * math/w_j0.c: Likewise.
31315         * math/w_j0f.c: Likewise.
31316         * math/w_j0l.c: Likewise.
31317         * math/w_j1.c: Likewise.
31318         * math/w_j1f.c: Likewise.
31319         * math/w_j1l.c: Likewise.
31320         * math/w_jn.c: Likewise.
31321         * math/w_jnf.c: Likewise.
31322         * math/w_log.c: Likewise.
31323         * math/w_log10.c: Likewise.
31324         * math/w_log10f.c: Likewise.
31325         * math/w_log10l.c: Likewise.
31326         * math/w_log2.c: Likewise.
31327         * math/w_log2f.c: Likewise.
31328         * math/w_log2l.c: Likewise.
31329         * math/w_logf.c: Likewise.
31330         * math/w_logl.c: Likewise.
31331         * math/w_sqrt.c: Likewise.
31332         * math/w_sqrtf.c: Likewise.
31333         * math/w_sqrtl.c: Likewise.
31334         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
31335         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
31336         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
31337         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
31338         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
31339
31340 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
31341
31342         [BZ #9739]
31343         * manual/string.texi (strnlen): Use correct parameter name in
31344         equivalent expression.
31345
31346 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
31347
31348         [BZ #11174]
31349         * manual/users.texi (seteuid): Consistently use neweuid for
31350         argument name.
31351
31352 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
31353
31354         [BZ #13704]
31355         * manual/nss.texi (Services in the NSS configuration): Correct
31356         list of services in example configuration file.
31357
31358 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
31359
31360         [BZ #11322]
31361         * manual/arith.texi: Remove statements about negative zero
31362         behaving identically to zero.
31363
31364 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
31365
31366         [BZ #5993]
31367         * manual/install.texi: Do not document upgrading from libc5.
31368
31369 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
31370
31371         [BZ #4596]
31372         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
31373
31374 2012-02-18  David S. Miller  <davem@davemloft.net>
31375
31376         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
31377         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
31378         %o7 across the call.
31379         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
31380         instead.
31381         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
31382         SETUP_PIC_REG_LEAF.
31383         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
31384         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
31385         * sysdeps/sparc/crtn.S: Likewise.
31386
31387 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
31388
31389         * aout/Makefile: Remove.
31390
31391 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
31392
31393         [BZ #13058]
31394         * manual/examples/argp-ex1.c (main): Format definition in GNU
31395         style.
31396         * manual/examples/argp-ex2.c (main): Likewise.
31397         * manual/examples/argp-ex3.c (main): Likewise.
31398         * manual/examples/argp-ex4.c (main): Likewise.
31399         * manual/examples/longopt.c (main): Use new-style prototype
31400         definition.
31401         * manual/examples/strncat.c (main): Specify return type and use
31402         (void) for arguments.
31403         * manual/examples/subopt.c (main): Use char **argv argument.
31404
31405 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
31406
31407         [BZ #5077]
31408         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
31409         rounding modes.
31410
31411 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
31412
31413         [BZ #6907]
31414         * manual/string.texi (strchr): Change when strchrnul is
31415         recommended.
31416
31417 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
31418
31419         [BZ #174]
31420         * manual/locale.texi (setlocale): Document LOCPATH.
31421
31422 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
31423
31424         [BZ #10210]
31425         * manual/process.texi (execle): Move @dots{} before last argument.
31426
31427 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
31428
31429         [BZ #12047]
31430         * manual/charset.texi (Generic Charset Conversion): Fix typo
31431         (LC_TYPE -> LC_CTYPE).
31432
31433 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
31434
31435         [BZ #5805]
31436         * manual/arith.texi (scalbn): Use @var{} on parameter names.
31437         (scalbnf): Likewise.
31438         (scalbnl): Likewise.
31439         (scalbln): Likewise.
31440         (scalblnf): Likewise.
31441         (scalblnl): Likewise.
31442         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
31443         (vwarnx): Likewise.
31444         (verr): Likewise.
31445         (verrx): Likewise.
31446         * manual/filesys.texi (telldir): Use braces around return type.
31447         * manual/llio.texi (mmap): Add space after comma.
31448         (mmap64): Likewise.
31449         * manual/math.texi (jn): Use @var{} on parameter names.
31450         (jnf): Likewise.
31451         (jnl): Likewise.
31452         (yn): Likewise.
31453         (ynf): Likewise.
31454         (ynl): Likewise.
31455         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
31456         line.
31457         * manual/resource.texi (ulimit): Use @dots{} instead of literal
31458         "...".
31459         (sched_get_priority_min): Remove semicolon on @deftypefun line.
31460         (sched_get_priority_max): Likewise.
31461         * manual/signal.texi (sigvec): Add space after comma.
31462         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
31463         names.
31464         (if_indextoname): Likewise.
31465         (if_freenameindex): Likewise.
31466         (sendto): Use ',' instead of '.' in prototype.
31467         * manual/startup.texi (syscall): Use @dots{} instead of literal
31468         "...".
31469         * manual/stdio.texi (__fpending): Separate initial words of
31470         paragraph from @deftypefun line.
31471         * manual/syslog.texi (syslog): Use @dots{} instead of literal
31472         "...".
31473         (vsyslog): Use @var{} on parameter names.
31474         * manual/terminal.texi (stty): Use @var{} on parameter names.
31475         * manual/users.texi (getutmp): Use @var{} on parameter names.
31476         (getutmpx): Likewise.
31477
31478 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
31479
31480         [BZ #6884]
31481         * manual/stdio.texi (fopen): Fix typos in description of
31482         ",ccs=STRING".
31483
31484 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
31485
31486         [BZ #4026]
31487         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
31488         get clock_id definition.
31489
31490 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
31491
31492         [BZ #4822]
31493         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
31494         (madvise): Cast every argument to void on its own.
31495
31496 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
31497
31498         [BZ #9902]
31499         * manual/startup.texi (Exit Status): Fix typo.
31500
31501 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
31502
31503         [BZ #10140]
31504         * manual/examples/argp-ex1.c: Include <stdlib.h>.
31505         * manual/examples/argp-ex2.c: Likewise.
31506         * manual/examples/argp-ex3.c: Likewise.
31507
31508 2012-02-16  Richard Henderson  <rth@redhat.com>
31509
31510         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
31511         * sysdeps/s390/s390-32/initfini.c: Remove.
31512         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
31513         * sysdeps/s390/s390-64/initfini.c: Remove.
31514
31515 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
31516
31517         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
31518         compiler output for sysdeps/generic/initfini.c.
31519         * sysdeps/sh/elf/initfini.c: Remove file.
31520
31521 2012-02-16  David S. Miller  <davem@davemloft.net>
31522
31523         [BZ #11494]
31524         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
31525
31526         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
31527         * sysdeps/sparc/crti.S: New file.
31528         * sysdeps/sparc/crtn.S: New file.
31529         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
31530         * sysdeps/sparc/sparc64/Makefile: Likewise.
31531
31532 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
31533
31534         [BZ #3335]
31535         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
31536
31537 2012-02-15  Roland McGrath  <roland@hack.frob.com>
31538
31539         [BZ #4822]
31540         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
31541
31542         * mach/devstream.c (cookie_io_functions_t): Macro removed.
31543         (write, read, close): Likewise.
31544         Patch by Aurelien Jarno <aurelien@aurel32.net>.
31545
31546 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
31547
31548         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
31549         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
31550         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
31551         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
31552         <bits/signalfd.h>.
31553         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
31554         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
31555         bits/signalfd.h.
31556
31557 2012-02-14  Marek Polacek  <polacek@redhat.com>
31558
31559         * sysdeps/x86_64/crti.S: New file.
31560         * sysdeps/x86_64/crtn.S: New file.
31561         * sysdeps/x86_64/elf/initfini.c: Remove file.
31562
31563 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
31564
31565         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
31566         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
31567         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
31568         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
31569         <bits/inotify.h>.
31570         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
31571         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
31572         bits/inotify.h.
31573
31574 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
31575
31576         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
31577         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
31578         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
31579         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
31580         <bits/eventfd.h>.
31581         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
31582         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
31583         bits/eventfd.h.
31584
31585 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
31586
31587         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
31588         __feraiseexcept instead of feraiseexcept.
31589
31590         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
31591         nanosleep invocations.
31592         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
31593         strings, and add error checking for a nanosleep invocations.
31594
31595 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
31596
31597         Replace FSF snail mail address with URLs, as per GNU coding standards.
31598         Most of the snail mail addresses were wrong anyway, and omitting
31599         them makes the source code easier to maintain.  Almost all of the
31600         changes are to license notices and to locale LC_IDENTIFICATION
31601         addresses, except for this one:
31602         * manual/libc.texinfo: In "Published by", give the FSF's URL,
31603         not its snail mail address.
31604
31605 2012-02-09  Richard Henderson  <rth@twiddle.net>
31606
31607         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
31608         of kernel-features.h.
31609
31610         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
31611
31612 2012-02-08  Marek Polacek  <polacek@redhat.com>
31613
31614         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
31615         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
31616         * sysdeps/gnu/_G_config.h: Likewise.
31617         * sysdeps/generic/_G_config.h: Likewise.
31618
31619 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
31620
31621         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
31622         tests.
31623         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31624
31625         * sysdeps/powerpc/powerpc32/crti.S: New file.
31626         * sysdeps/powerpc/powerpc32/crtn.S: New file.
31627         * sysdeps/powerpc/powerpc64/crti.S: New file.
31628         * sysdeps/powerpc/powerpc64/crtn.S: New file.
31629
31630         * Makeconfig (have-initfini): Don't set.
31631         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
31632         * configure.in (nopic_initfini): Don't substitute.
31633         * config.h.in (HAVE_INITFINI): Don't #undef.
31634         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
31635         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
31636
31637 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
31638
31639         Support crti.S and crtn.S provided directly by architectures.
31640         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
31641         [crti.S in sysdirs] (omit-deps): Likewise.
31642         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
31643         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
31644         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
31645         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
31646         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
31647         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
31648         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
31649         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
31650         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
31651         compiler output for sysdeps/generic/initfini.c.
31652         * sysdeps/i386/elf/Makefile: Remove file.
31653         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
31654
31655 2012-02-07  Marek Polacek  <polacek@redhat.com>
31656
31657         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
31658         * sysdeps/gnu/_G_config.h: Likewise.
31659         * sysdeps/mach/hurd/_G_config.h: Likewise.
31660
31661 2012-02-07  Marek Polacek  <polacek@redhat.com>
31662
31663         * math/Makefile (tests): Add tst-CMPLX2.
31664         * math/tst-CMPLX2.c: New file.
31665
31666 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
31667
31668         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
31669
31670         * math/libm-test.inc (jn_test): Add missing L suffix.
31671
31672 2012-02-06  Marek Polacek  <polacek@redhat.com>
31673
31674         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
31675         * sysdeps/i386/fpu/e_powf.S: Likewise.
31676         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
31677         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
31678         * sysdeps/i386/fpu/e_acosh.S: Likewise.
31679         * sysdeps/i386/fpu/e_pow.S: Likewise.
31680         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
31681         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
31682         * sysdeps/i386/fpu/s_expm1.S: Likewise.
31683         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
31684         * sysdeps/i386/fpu/e_log2.S: Likewise.
31685         * sysdeps/i386/fpu/e_log2l.S: Likewise.
31686         * sysdeps/i386/fpu/e_scalb.S: Likewise.
31687         * sysdeps/i386/fpu/e_powl.S: Likewise.
31688         * sysdeps/i386/fpu/s_log1p.S: Likewise.
31689         * sysdeps/i386/fpu/e_log10f.S: Likewise.
31690         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
31691         * sysdeps/i386/fpu/e_logl.S: Likewise.
31692         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
31693         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
31694         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
31695         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
31696         * sysdeps/i386/fpu/e_log2f.S: Likewise.
31697         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
31698         * sysdeps/i386/fpu/e_log.S: Likewise.
31699         * sysdeps/i386/fpu/s_cexp.S: Likewise.
31700         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
31701         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
31702         * sysdeps/i386/fpu/e_logf.S: Likewise.
31703         * sysdeps/i386/fpu/e_log10l.S: Likewise.
31704         * sysdeps/i386/fpu/e_atanh.S: Likewise.
31705         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
31706         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
31707         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
31708         * sysdeps/i386/fpu/e_log10.S: Likewise.
31709         * sysdeps/i386/fpu/s_frexp.S: Likewise.
31710         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
31711         * sysdeps/i386/fpu/s_asinh.S: Likewise.
31712         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
31713         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
31714         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
31715         * sysdeps/i386/asm-syntax.h: Likewise.
31716         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
31717         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
31718         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
31719         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
31720         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
31721         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
31722         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
31723         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
31724         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
31725         * sysdeps/powerpc/sysdep.h: Likewise.
31726         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
31727         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
31728
31729 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
31730
31731         [BZ #411]
31732         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
31733
31734 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
31735
31736         * sysdeps/i386/sysdep.h: Include <features.h>.
31737         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
31738         version.
31739
31740 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
31741
31742         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
31743         Define.
31744         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
31745         LOAD_PIC_REG_STR.
31746
31747 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
31748
31749         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
31750         (SETUP_PIC_REG): Use GET_PC_THUNK.
31751         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
31752         macro.
31753
31754 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
31755
31756         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
31757         for non-PIC compilation.
31758         (SETUP_PIC_REG): Add .p2align directive.
31759         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
31760         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
31761         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
31762         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
31763         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
31764         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
31765         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
31766         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
31767         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
31768         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
31769         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
31770         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
31771         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
31772         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
31773         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
31774         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
31775         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
31776         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
31777         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
31778         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
31779         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
31780         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
31781         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
31782         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
31783         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
31784         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
31785         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
31786         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
31787         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
31788         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
31789         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
31790         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
31791         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
31792         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
31793         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
31794         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
31795         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
31796         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
31797         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
31798         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
31799         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
31800
31801 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
31802
31803         * math/tst-CMPLX.c: Include <stdio.h>.
31804
31805 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
31806
31807         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
31808         float.
31809         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
31810         * sysdeps/sparc/bits/mathdef.h: Likewise.
31811
31812 2012-01-31  Marek Polacek  <polacek@redhat.com>
31813
31814         * libio/libio.h: Don't define _PARAMS.
31815         * locale/programs/config.h: Don't define PARAMS.
31816         * stdlib/strtol_l.c: Likewise.
31817         (__strtol_l): Remove PARAMS from the prototype.
31818
31819 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
31820
31821         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
31822         names.  Just use the correct names.  Remove unnecessary wrapper
31823         functions.
31824         * malloc/arena.c: Likewise.
31825         * malloc/hooks.c: Likewise.
31826
31827         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
31828         ARENA_TEST says not to.  Simplify test for creation of a new arena.
31829         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
31830
31831 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
31832
31833         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
31834         into tail calls.
31835         (update_get_addr): New function.
31836         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
31837         GET_ADDR_MODULE parameter.
31838
31839 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
31840
31841         * crypt/cert.c: Remove __STDC__ conditionals.
31842         * crypt/crypt-entry.c: Likewise.
31843         * crypt/crypt_util.c: Likewise.
31844         * libio/filedoalloc.c: Likewise.
31845         * libio/fileops.c: Likewise.
31846         * libio/genops.c: Likewise.
31847         * libio/iofclose.c: Likewise.
31848         * libio/iofdopen.c: Likewise.
31849         * libio/iofopen.c: Likewise.
31850         * libio/iofopen64.c: Likewise.
31851         * libio/iogetdelim.c: Likewise.
31852         * libio/iopopen.c: Likewise.
31853         * libio/obprintf.c: Likewise.
31854         * libio/oldfileops.c: Likewise.
31855         * libio/oldiofclose.c: Likewise.
31856         * libio/oldiofdopen.c: Likewise.
31857         * libio/oldiofopen.c: Likewise.
31858         * libio/oldiopopen.c: Likewise.
31859         * libio/wfiledoalloc.c: Likewise.
31860         * libio/wgenops.c: Likewise.
31861         * locale/programs/xmalloc.c: Likewise.
31862         * misc/syslog.c: Likewise.
31863         * stdio-common/xbug.c: Likewise.
31864         * string/memchr.c: Likewise.
31865         * string/memcmp.c: Likewise.
31866         * string/memrchr.c: Likewise.
31867         * string/rawmemchr.c: Likewise.
31868         * sysdeps/posix/getcwd.c: Likewise.
31869         * time/strftime_l.c: Likewise.
31870
31871 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
31872
31873         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
31874         * config.make.in (config-cflags-sse2avx): Define.
31875         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
31876         Fix typo.
31877
31878 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
31879
31880         * scripts/config.guess: Update from upstream config git repository.
31881         * scripts/config.sub: Likewise.
31882
31883 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
31884
31885         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
31886         (EM_NUM): Update.
31887         (R_TILEPRO_*, R_TILEGX_*): New macros.
31888
31889         * scripts/firstversions.awk: Fix bug in version range handling.
31890
31891         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
31892
31893         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
31894
31895         * include/sys/epoll.h: New file.
31896         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
31897         libc_hidden_def.
31898
31899 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
31900
31901         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
31902         Avoid unnecessary __WORDSIZE == 64 test.
31903         (fmaxf): Use VEX format if possible.
31904         (fmax): Likewise.
31905         (fminf): Likewise.
31906         (fmin): Likewise.
31907
31908         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
31909         * math/math_private.h: Remove libc_fegetround* and
31910         libc_fesetround*.
31911         * sysdeps/i386/configure.in: Check for -msse2avx.
31912         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
31913         also if SSE2AVX is defined.
31914         Remove libc_fegetround* and libc_fesetround*.
31915         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
31916         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
31917         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
31918         of HAS_YMM_USABLE.
31919         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
31920         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
31921         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
31922         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
31923         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
31924
31925         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
31926
31927 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31928
31929         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
31930         size is not set.
31931         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
31932
31933 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
31934
31935         [BZ #13618]
31936         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
31937         relocation.
31938         * Makeconfig (libm): Define.
31939         * elf/Makefile: Add rules to build and run tst-relsort1.
31940         * elf/tst-relsort1.c: New file.
31941         * elf/tst-relsort1mod1.c: New file.
31942         * elf/tst-relsort1mod2.c: New file.
31943
31944 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
31945
31946         * math/s_ldexp.c: Remove __STDC__ conditionals.
31947         * math/s_ldexpf.c: Likewise.
31948         * math/s_ldexpl.c: Likewise.
31949         * math/s_nextafter.c: Likewise.
31950         * math/s_nexttowardf.c: Likewise.
31951         * math/s_significand.c: Likewise.
31952         * math/s_significandf.c: Likewise.
31953         * math/s_significandl.c: Likewise.
31954         * math/w_jnl.c: Likewise.
31955         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
31956         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
31957         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
31958         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
31959         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
31960         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
31961         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
31962         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
31963         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
31964         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
31965         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
31966         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
31967         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
31968         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
31969         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
31970         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
31971         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
31972         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
31973         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
31974         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
31975         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
31976         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
31977         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
31978         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
31979         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
31980         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
31981         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
31982         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
31983         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
31984         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
31985         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
31986         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
31987         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
31988         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
31989         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
31990         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
31991         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
31992         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
31993         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
31994         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
31995         * sysdeps/ieee754/k_standard.c: Likewise.
31996         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
31997         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
31998         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
31999         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
32000         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
32001         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
32002         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
32003         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
32004         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
32005         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
32006         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
32007         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
32008         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
32009         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
32010         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
32011         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
32012         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
32013         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
32014         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
32015         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
32016         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
32017         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
32018         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
32019         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
32020         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
32021         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
32022         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
32023         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
32024         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
32025         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
32026         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
32027         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
32028         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
32029         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
32030         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
32031         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
32032         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
32033         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
32034         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
32035         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
32036         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
32037         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
32038         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
32039         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
32040         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
32041         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
32042         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
32043         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
32044         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
32045         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
32046         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
32047         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
32048         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
32049         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
32050         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
32051         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
32052         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
32053         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
32054         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
32055         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
32056         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
32057         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
32058         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
32059         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
32060         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
32061         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
32062         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
32063         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
32064         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
32065         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
32066         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
32067         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
32068         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
32069         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
32070         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
32071         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
32072         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
32073         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
32074         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
32075         * sysdeps/ieee754/s_matherr.c: Likewise.
32076         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
32077         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
32078         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
32079         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
32080
32081 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
32082
32083         * crypt/md5.h: Remove __STDC__ conditionals.
32084         * libio/libioP.h: Likewise.
32085         * locale/programs/config.h: Likewise.
32086         * sysdeps/generic/sysdep.h: Likewise.
32087         * sysdeps/i386/asm-syntax.h: Likewise.
32088         * sysdeps/s390/asm-syntax.h: Likewise.
32089         * sysdeps/unix/sysdep.h: Likewise.
32090         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
32091         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
32092
32093 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
32094
32095         * libio/libio.h: Remove __STDC__ conditionals.
32096         * malloc/obstack.h: Likewise.
32097         * math/complex.h: Likewise.
32098         * math/math.h: Likewise.
32099         * sysdeps/generic/_G_config.h: Likewise.
32100         * sysdeps/gnu/_G_config.h: Likewise.
32101         * sysdeps/mach/hurd/_G_config.h: Likewise.
32102         * sysdeps/powerpc/bits/mathdef.h: Likewise.
32103         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
32104         * sysdeps/sparc/bits/mathdef.h: Likewise.
32105
32106 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
32107
32108         [BZ #13583]
32109         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
32110         Clean up HAS_* macros.
32111         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
32112         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
32113         possible.
32114         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
32115         HAS_AVX.
32116         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
32117         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
32118         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
32119         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
32120         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
32121
32122 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
32123
32124         * elf/tst-unique3.cc (gets): Remove declaration.
32125         * elf/tst-unique3lib.cc (gets): Likewise.
32126         * elf/tst-unique3lib2.cc (gets): Likewise.
32127         * elf/tst-unique4.cc (gets): Likewise.
32128
32129 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
32130
32131         * include/stdio.h: Add C++ protection.  Add gets declarations and
32132         definitions.
32133         * debug/tst-chk1.c: Don't declare gets here.
32134         * stdio-common/tst-gets.c: Likewise.
32135
32136 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
32137
32138         * posix/glob: Remove directory.
32139
32140 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
32141
32142         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
32143
32144 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
32145
32146         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
32147         of the non-standard EPFNOSUPPORT.
32148
32149 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
32150
32151         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
32152         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
32153         ANYWHERE set to 1 only on KERN_NO_SPACE error.
32154
32155 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
32156
32157         * wcsmbs/uchar.h: Test __STDC_VERSION__.
32158
32159 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
32160
32161         * nscd/aicache.c (addhstaiX): Do not cache negative results of
32162         transient errors.
32163         * nscd/grpcache.c (cache_addgr): Likewise.
32164         * nscd/hstcache.c (cache_addhst): Likewise.
32165         * nscd/initgrcache.c (addinitgroupsX): Likewise.
32166         * nscd/pwdcache.c (cache_addpw): Likewise.
32167         * nscd/servicescache.c (cache_addserv): Likewise.
32168
32169 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
32170
32171         * malloc/malloc.c: Various cleanups.
32172         * malloc/hooks.c: Likewise.
32173
32174         * stdlib/Makefile (tests): Add bug-fmtmsg1.
32175         * stdlib/bug-fmtmsg1.c: New file.
32176
32177         * stdlib/fmtmsg.c (init): Add missing unlock.
32178         Patch by Peng Haitao <penght@cn.fujitsu.com>.
32179
32180 2012-01-12  Marek Polacek  <polacek@redhat.com>
32181
32182         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
32183         and _GNU_SOURCE.
32184
32185 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
32186
32187         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
32188         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
32189         macro to ensure uniqueness of label name.
32190         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
32191         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
32192
32193 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
32194
32195         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
32196
32197         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
32198         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
32199         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
32200         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
32201
32202 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
32203
32204         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
32205
32206         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
32207         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
32208         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
32209
32210         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
32211
32212         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
32213         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
32214         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
32215         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
32216
32217         * math/bits/math-finite.h: Add ldexp support.
32218
32219 2012-01-10  Marek Polacek  <polacek@redhat.com>
32220
32221         * locale/programs/localedef.h (show_archive_content): Add noreturn
32222         attribute.
32223
32224 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
32225
32226         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
32227
32228 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
32229
32230         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
32231
32232         * io/Makefile (headers): Add bits/poll2.h.
32233
32234 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
32235
32236         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
32237         typo #include statement.
32238
32239 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
32240
32241         * include/sys/cdefs.h: Define __attribute_alloc_size.
32242         * catgets/gencat.c: Add alloc_size attribute and apply consistently
32243         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
32244         * elf/pldd.c: Likewise.
32245         * iconv/iconv_charmap.c: Likewise.
32246         * iconv/iconvconfig.c: Likewise.
32247         * iconv/strtab.c: Likewise.
32248         * locale/programs/locale.c: Likewise.
32249         * locale/programs/localedef.h: Likewise.
32250         * locale/programs/simple-hash.c: Likewise.
32251         * nscd/nscd.h: Likewise.
32252         * nss/makedb.c: Likewise.
32253         * sysdeps/generic/ldconfig.h: Likewise.
32254         * locale/programs/localedef.c: Remove xmalloc prototype.
32255         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
32256
32257 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
32258
32259         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
32260         appropriate.
32261
32262 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
32263
32264         * math/Makefile (tests): Add tst-CMPLX.
32265         * math/tst-CMPLX.c: New file.
32266
32267         * math/complex.h (CMPLXL): Fix typo.
32268
32269         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
32270         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
32271         GLIBC_2.16.
32272         * debug/tst-chk1.c: Add poll and ppoll tests.
32273         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
32274         * include/sys/poll.h: Add hidden proto for ppoll.
32275         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
32276         * sysdeps/mach/hurd/ppoll.c: Likewise.
32277         * io/ppoll.c: Likewise.
32278         * debug/poll_chk.c: New file.
32279         * debug/ppoll_chk.c: New file.
32280         * include/bits/poll2.h: New file.
32281         * io/bits/poll2.h: New file.
32282
32283         [BZ #1350]
32284         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
32285
32286         * configure.in: static is always set to yes.  Remove.
32287         * config.make.in: Don't set build-static.
32288         * Makeconfig: Remove use of build-static.
32289         * dlfcn/Makefile: Likewise.
32290         * elf/Makefile: Likewise.
32291         * math/Makefile: Likewise.
32292         * misc/Makefile: Likewise.
32293         * nptl/Makefile: Likewise.
32294         * sysdeps/mach/hurd/Makefile: Likewise.
32295
32296         * configure.in: PWD_P is not used anymore.
32297         * config.make.in: Remove PWD_P entry.
32298
32299         * configure.in: Remove last remnants of RANLIB.
32300         No need to check for signed size_t anymore.
32301         Don't set libc_commonpagesize and libc_relro_required here for Alpha
32302         and IA-64.
32303         Remove __builtin_expect test because we require at least gcc 3.4.
32304         * aclocal.m4: Likewise.
32305
32306         * wcsmbs/mbrtoc16.c: Implement using towc function.
32307         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
32308         * wcsmbs/wcsmbsload.c: Likewise.
32309         * iconv/gconv_simple.c: Likewise.
32310         * iconv/gconv_int.h: Likewise.
32311         * iconv/gconv_builtin.h: Likewise.
32312         * iconv/iconv_prog.c: Remove CHAR16 handling.
32313
32314         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
32315
32316         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
32317
32318         * configure.in: Remove --with-elf and --enable-bounded options.
32319         Dont set base_machine for ia64.  More non-ELF conditions removed.
32320         Remove testing and setting of leading underscore information.
32321         * config.make.in (build-bounded): Set to no.
32322         * config.h.in: Remove NO_UNDERSCORES entry.
32323         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
32324         them.
32325         * csu/start.c: Remove !NO_UNDERSCORE code.
32326         * locale/localeinfo.h: Likewise.
32327         * sysdeps/generic/machine-gmon.h: Likewise.
32328         * sysdeps/generic/sysdep.h: Likewise.
32329         * sysdeps/i386/sysdep.h: Likewise.
32330         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
32331         * sysdeps/mach/sysdep.h: Likewise.
32332         * sysdeps/s390/s390-32/sysdep.h: Likewise.
32333         * sysdeps/s390/s390-64/sysdep.h: Likewise.
32334         * sysdeps/sh/sysdep.h: Likewise.
32335         * sysdeps/sparc/sparc32/alloca.S: Likewise.
32336         * sysdeps/unix/i386/sysdep.S: Likewise.
32337         * sysdeps/unix/sparc/start.c: Likewise.
32338         * sysdeps/unix/sparc/sysdep.S: Likewise.
32339         * sysdeps/unix/sparc/sysdep.h: Likewise.
32340         * sysdeps/unix/start.c: Likewise.
32341         * sysdeps/unix/x86_64/sysdep.S: Likewise.
32342         * sysdeps/x86_64/sysdep.h: Likewise.
32343
32344 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
32345
32346         [BZ #13553]
32347         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
32348         for non-gcc.
32349         * argp/argp-fmtstream.h: Use const instead __const.
32350         * argp/argp.h: Likewise.
32351         * assert/assert.h: Likewise.
32352         * bits/fenv.h: Likewise.
32353         * bits/sched.h: Likewise.
32354         * bits/sigset.h: Likewise.
32355         * bits/sigthread.h: Likewise.
32356         * catgets/nl_types.h: Likewise.
32357         * conform/data/pthread.h-data: Likewise.
32358         * crypt/crypt-private.h: Likewise.
32359         * crypt/crypt.h: Likewise.
32360         * crypt/crypt_util.c: Likewise.
32361         * ctype/ctype.h: Likewise.
32362         * debug/execinfo.h: Likewise.
32363         * debug/mbsnrtowcs_chk.c: Likewise.
32364         * debug/mbsrtowcs_chk.c: Likewise.
32365         * debug/wcsnrtombs_chk.c: Likewise.
32366         * debug/wcsrtombs_chk.c: Likewise.
32367         * debug/wcstombs_chk.c: Likewise.
32368         * dirent/dirent.h: Likewise.
32369         * dlfcn/dlfcn.h: Likewise.
32370         * elf/neededtest4.c: Likewise.
32371         * grp/grp.h: Likewise.
32372         * gshadow/gshadow.h: Likewise.
32373         * iconv/gconv.h: Likewise.
32374         * iconv/gconv_int.h: Likewise.
32375         * iconv/gconv_simple.c: Likewise.
32376         * iconv/iconv.h: Likewise.
32377         * iconv/loop.c: Likewise.
32378         * iconv/skeleton.c: Likewise.
32379         * include/aio.h: Likewise.
32380         * include/aliases.h: Likewise.
32381         * include/argz.h: Likewise.
32382         * include/arpa/inet.h: Likewise.
32383         * include/assert.h: Likewise.
32384         * include/dirent.h: Likewise.
32385         * include/dlfcn.h: Likewise.
32386         * include/execinfo.h: Likewise.
32387         * include/fcntl.h: Likewise.
32388         * include/fenv.h: Likewise.
32389         * include/glob.h: Likewise.
32390         * include/grp.h: Likewise.
32391         * include/libintl.h: Likewise.
32392         * include/mntent.h: Likewise.
32393         * include/netdb.h: Likewise.
32394         * include/pwd.h: Likewise.
32395         * include/rpc/netdb.h: Likewise.
32396         * include/sched.h: Likewise.
32397         * include/search.h: Likewise.
32398         * include/shadow.h: Likewise.
32399         * include/signal.h: Likewise.
32400         * include/stdio.h: Likewise.
32401         * include/stdlib.h: Likewise.
32402         * include/string.h: Likewise.
32403         * include/sys/socket.h: Likewise.
32404         * include/sys/stat.h: Likewise.
32405         * include/sys/statfs.h: Likewise.
32406         * include/sys/statvfs.h: Likewise.
32407         * include/sys/syslog.h: Likewise.
32408         * include/sys/time.h: Likewise.
32409         * include/sys/uio.h: Likewise.
32410         * include/time.h: Likewise.
32411         * include/unistd.h: Likewise.
32412         * include/utmp.h: Likewise.
32413         * include/wchar.h: Likewise.
32414         * include/wctype.h: Likewise.
32415         * inet/aliases.h: Likewise.
32416         * inet/arpa/inet.h: Likewise.
32417         * inet/netinet/ether.h: Likewise.
32418         * inet/netinet/in.h: Likewise.
32419         * intl/libintl.h: Likewise.
32420         * io/bits/fcntl2.h: Likewise.
32421         * io/fcntl.h: Likewise.
32422         * io/ftw.h: Likewise.
32423         * io/sys/poll.h: Likewise.
32424         * io/sys/stat.h: Likewise.
32425         * io/sys/statfs.h: Likewise.
32426         * io/sys/statvfs.h: Likewise.
32427         * io/utime.h: Likewise.
32428         * libio/bits/stdio.h: Likewise.
32429         * libio/bits/stdio2.h: Likewise.
32430         * libio/libio.h: Likewise.
32431         * libio/libioP.h: Likewise.
32432         * libio/stdio.h: Likewise.
32433         * locale/lc-ctype.c: Likewise.
32434         * locale/locale.h: Likewise.
32435         * login/utmp.h: Likewise.
32436         * malloc/arena.c: Likewise.
32437         * malloc/malloc.c: Likewise.
32438         * malloc/malloc.h: Likewise.
32439         * malloc/mcheck.c: Likewise.
32440         * malloc/mtrace.c: Likewise.
32441         * math/bits/mathcalls.h: Likewise.
32442         * math/fenv.h: Likewise.
32443         * math/math_private.h: Likewise.
32444         * misc/bits/error.h: Likewise.
32445         * misc/bits/syslog.h: Likewise.
32446         * misc/err.h: Likewise.
32447         * misc/error.h: Likewise.
32448         * misc/fstab.h: Likewise.
32449         * misc/mntent.h: Likewise.
32450         * misc/regexp.h: Likewise.
32451         * misc/search.h: Likewise.
32452         * misc/sgtty.h: Likewise.
32453         * misc/sys/mman.h: Likewise.
32454         * misc/sys/syslog.h: Likewise.
32455         * misc/sys/uio.h: Likewise.
32456         * misc/sys/xattr.h: Likewise.
32457         * misc/ttyent.h: Likewise.
32458         * nis/rpcsvc/ypclnt.h: Likewise.
32459         * nss/nss.h: Likewise.
32460         * posix/bits/unistd.h: Likewise.
32461         * posix/fnmatch.h: Likewise.
32462         * posix/glob.h: Likewise.
32463         * posix/sched.h: Likewise.
32464         * posix/spawn.h: Likewise.
32465         * posix/sys/wait.h: Likewise.
32466         * posix/unistd.h: Likewise.
32467         * posix/wordexp.h: Likewise.
32468         * pwd/pwd.h: Likewise.
32469         * resolv/netdb.h: Likewise.
32470         * resource/sys/resource.h: Likewise.
32471         * rt/aio.h: Likewise.
32472         * rt/bits/mqueue2.h: Likewise.
32473         * rt/mqueue.h: Likewise.
32474         * shadow/shadow.h: Likewise.
32475         * signal/signal.h: Likewise.
32476         * socket/send.c: Likewise.
32477         * socket/sendto.c: Likewise.
32478         * socket/sys/socket.h: Likewise.
32479         * stdio-common/printf.h: Likewise.
32480         * stdlib/bits/stdlib.h: Likewise.
32481         * stdlib/fmtmsg.h: Likewise.
32482         * stdlib/monetary.h: Likewise.
32483         * stdlib/stdlib.h: Likewise.
32484         * stdlib/ucontext.h: Likewise.
32485         * streams/stropts.h: Likewise.
32486         * string/argz.h: Likewise.
32487         * string/bits/string2.h: Likewise.
32488         * string/string.h: Likewise.
32489         * string/strings.h: Likewise.
32490         * sunrpc/rpc/auth.h: Likewise.
32491         * sunrpc/rpc/auth_des.h: Likewise.
32492         * sunrpc/rpc/clnt.h: Likewise.
32493         * sunrpc/rpc/netdb.h: Likewise.
32494         * sunrpc/rpc/pmap_clnt.h: Likewise.
32495         * sunrpc/rpc/xdr.h: Likewise.
32496         * sysdeps/generic/inttypes.h: Likewise.
32497         * sysdeps/generic/net/if.h: Likewise.
32498         * sysdeps/generic/sys/swap.h: Likewise.
32499         * sysdeps/gnu/net/if.h: Likewise.
32500         * sysdeps/gnu/utmpx.h: Likewise.
32501         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
32502         * sysdeps/i386/i486/bits/string.h: Likewise.
32503         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
32504         * sysdeps/s390/bits/string.h: Likewise.
32505         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
32506         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
32507         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
32508         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
32509         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
32510         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
32511         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
32512         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
32513         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
32514         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
32515         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
32516         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
32517         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
32518         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
32519         * sysdeps/unix/sysv/linux/readv.c: Likewise.
32520         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
32521         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
32522         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
32523         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
32524         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
32525         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
32526         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
32527         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
32528         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
32529         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
32530         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
32531         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
32532         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
32533         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
32534         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
32535         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
32536         * sysvipc/sys/ipc.h: Likewise.
32537         * sysvipc/sys/msg.h: Likewise.
32538         * sysvipc/sys/sem.h: Likewise.
32539         * sysvipc/sys/shm.h: Likewise.
32540         * termios/termios.h: Likewise.
32541         * time/sys/time.h: Likewise.
32542         * time/time.h: Likewise.
32543         * wcsmbs/bits/wchar2.h: Likewise.
32544         * wcsmbs/uchar.h: Likewise.
32545         * wcsmbs/wchar.h: Likewise.
32546         * wctype/wctype.h: Likewise.
32547
32548         [BZ #13551]
32549         * Makeconfig: Remove all but ELF support including AIX support.
32550         * Makerules: Likewise.
32551         * config.h.in: Likewise.
32552         * config.make.in: Likewise.
32553         * configure: Likewise.
32554         * configure.in: Likewise.
32555         * csu/Makefile: Likewise.
32556         * csu/version.c: Likewise.
32557         * debug/Makefile: Likewise.
32558         * dlfcn/Makefile: Likewise.
32559         * elf/Makefile: Likewise.
32560         * extra-lib.mk: Likewise.
32561         * iconv/Makefile: Likewise.
32562         * include/libc-symbols.h: Likewise.
32563         * include/shlib-compat.h: Likewise.
32564         * resolv/Makefile: Likewise.
32565         * resolv/res_libc.c: Likewise.
32566         * rt/Makefile: Likewise.
32567         * sysdeps/i386/asm-syntax.h: Likewise.
32568         * sysdeps/i386/sysdep.h: Likewise.
32569         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
32570         * sysdeps/mach/sysdep.h: Likewise.
32571         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
32572         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
32573         * sysdeps/s390/asm-syntax.h: Likewise.
32574         * sysdeps/s390/s390-32/sysdep.h: Likewise.
32575         * sysdeps/s390/s390-64/sysdep.h: Likewise.
32576         * sysdeps/sh/sysdep.h: Likewise.
32577         * sysdeps/unix/sparc/sysdep.h: Likewise.
32578         * sysdeps/wordsize-32/divdi3.c: Likewise.
32579         * sysdeps/x86_64/sysdep.h: Likewise.
32580
32581         * argp/Versions: Remove _argp_unlock_xxx.
32582
32583         [BZ #13559]
32584         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
32585         * abilist/libBrokenLocale.abilist: Likewise.
32586         * abilist/libanl.abilist: Likewise.
32587         * abilist/libc.abilist: Likewise.
32588         * abilist/libcrypt.abilist: Likewise.
32589         * abilist/libdl.abilist: Likewise.
32590         * abilist/libm.abilist: Likewise.
32591         * abilist/libnsl.abilist: Likewise.
32592         * abilist/libpthread.abilist: Likewise.
32593         * abilist/libresolv.abilist: Likewise.
32594         * abilist/librt.abilist: Likewise.
32595         * abilist/libthread_db.abilist: Likewise.
32596         * abilist/libutil.abilist: Likewise.
32597         * abilist/libnss_db.abilist: New file.
32598
32599         * scripts/abilist.awk: Add support for indirect functions.
32600
32601         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
32602
32603         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
32604
32605         * shlib-versions: Remove entries for ports architectures.
32606
32607         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
32608         files in ports.
32609         * elf/stackguard-macros.h: Remove support for IA-64.
32610         * elf/tst-auditmod1.c: Likewise.
32611         * sysdeps/generic/ldsodefs.h: Likewise.
32612
32613         * sysdeps/unix/sysv/linux/configure.in: Ports should define
32614         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
32615         configure files.
32616
32617         [BZ #13552]
32618         * configure.in: Remove --enable-omitfp support.
32619         * FAQ.in: Adjust.
32620         * config.make.in: Likewise.
32621         * Makeconfig: Likewise.
32622         * manual/install.texi: Likewise.
32623
32624         In case anyone cares, the IA-64 architecture could move to ports.
32625         * sysdeps/ia64/*: Removed.
32626         * sysdeps/unix/sysv/linux/ia64/*: Removed.
32627         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
32628
32629         [BZ #13555]
32630         * configure.in: Remove entries for unsupported architectures.
32631
32632         [BZ #13533]
32633         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
32634         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
32635         routines.
32636         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
32637         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
32638         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
32639         fall back to using wcrtomb.
32640         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
32641         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
32642         renaming.
32643         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
32644         * wcsmbs/tst-c16c32-1.c: New file.
32645
32646         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
32647         local variable.
32648
32649         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
32650
32651         * elf/tst-unique3.cc: Add explicit declaration of gets.
32652         * elf/tst-unique3lib.cc: Likewise.
32653         * elf/tst-unique3lib2.cc: Likewise.
32654         * elf/tst-unique4.cc: Likewise.
32655
32656         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
32657
32658 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
32659
32660         [BZ #13566]
32661         * assert/assert.h (static_assert): Don't define for C++.
32662         * libio/stdio.h (gets): Do declare for C++ <= C++11.
32663         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
32664
32665 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
32666
32667         * iconv/loop.c (single loop): Fix assertion in storing of
32668         remaining bytes.
32669
32670         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
32671
32672 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
32673
32674         * posix/getconf.c: Update copyright year.
32675         * nss/getent.c: Likewise.
32676         * nss/makedb.c: Likewise.
32677         * iconv/iconvconfig.c: Likewise.
32678         * iconv/iconv_prog.c: Likewise.
32679         * elf/ldconfig.c: Likewise.
32680         * elf/pldd.c: Likewise.
32681         * elf/sotruss.ksh: Likewise.
32682         * catgets/gencat.c: Likewise.
32683         * csu/version.c: Likewise.
32684         * elf/ldd.bash.in: Likewise.
32685         * elf/sprof.c (print_version): Likewise.
32686         * locale/programs/locale.c: Likewise.
32687         * locale/programs/localedef.c: Likewise.
32688         * login/programs/pt_chown.c: Likewise.
32689         * nscd/nscd.c (print_version): Likewise.
32690         * debug/xtrace.sh: Likewise.
32691         * malloc/memusage.sh: Likewise.
32692         * malloc/mtrace.pl: Likewise.
32693         * debug/catchsegv.sh: Likewise.
32694
32695 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
32696
32697         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
32698         pure attribute.
32699
32700 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
32701
32702         [BZ #13533]
32703         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
32704         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
32705         transformations.
32706         * iconv/gconv_int.h: Likewise.
32707         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
32708         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
32709         from libc for GLIBC_2.16.
32710         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
32711         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
32712         * wcsmbs/uchar.h: Really define mbstate_t.
32713         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
32714         * wcsmbs/c16rtomb.c: New file.
32715         * wcsmbs/mbrtoc16.c: New file.
32716         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
32717         for C/POSIX locale.
32718         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
32719         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
32720
32721         * wcsmbs/wchar.h: Add missing __restrict.
32722
32723 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
32724
32725         [BZ #13532]
32726         * time/Makefile (routines): Add timespec_get.
32727         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
32728         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
32729         timespec for ISO C11.
32730         * time/timespec_get.c: New file.
32731         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
32732         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
32733
32734         [BZ #13531]
32735         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
32736         * stdlib/stdlib.h: Declare aligned_alloc.
32737         * Versions.def: Add GLIBC_2.16 for libc.
32738         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
32739
32740         [BZ 13527]
32741         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
32742         ISO C11.
32743
32744         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
32745         code.
32746
32747         [BZ #13528]
32748         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
32749
32750         [BZ #13529]
32751         * assert/assert.h (static_assert): Define.
32752
32753         * version.h: Update for 2.16 development version.
32754
32755         [BZ #13526]
32756         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
32757         _ISOC11_SOURCE.
32758
32759         * version.h (RELEASE): Bump for 2.15 release.
32760         * include/features.h (__GLIBC_MINOR__): Bump to 15.
32761
32762         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
32763         Patch by Marek Polacek <mpolacek@redhat.com>.
32764
32765         * bits/byteswap.h: Protect long long constants with __extension__.
32766         * sysdeps/i386/bits/byteswap.h: Likewise.
32767         * sysdeps/ia64/bits/byteswap.h: Likewise.
32768         * sysdeps/s390/bits/byteswap.h: Likewise.
32769         * sysdeps/x86_64/bits/byteswap.h: Likewise.
32770
32771 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
32772
32773         [BZ #13540]
32774         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
32775         destination buffer.
32776         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
32777
32778 2011-12-23  Marek Polacek  <polacek@redhat.com>
32779
32780         * elf/dl-addr.c (determine_info): Add inline keyword.
32781         * elf/tst-auditmod4b.c (check_avx): Likewise.
32782         * elf/tst-auditmod6b.c (check_avx): Likewise.
32783         * elf/tst-auditmod6c.c (check_avx): Likewise.
32784         * elf/tst-auditmod7b.c (check_avx): Likewise.
32785
32786 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
32787
32788         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
32789         !__SSE_MATH__.
32790
32791 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
32792
32793         [BZ #13540]
32794         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
32795         processing for last bytes.
32796
32797 2011-08-06  Bruno Haible  <bruno@clisp.org>
32798
32799         [BZ #13061]
32800         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
32801         U+0385, not to U+1FEE.
32802
32803         [BZ #13062]
32804         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
32805         entry for U+00A5 U+0301.
32806
32807 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
32808
32809         [BZ #13166]
32810         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
32811         buffer for the output is too small.
32812
32813         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
32814         optimization.
32815
32816         [BZ #13185]
32817         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
32818         SSE flags if possible.
32819
32820 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
32821
32822         [BZ #13540]
32823         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
32824         processing for last bytes.
32825
32826 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
32827
32828         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
32829         (syscall-list-default-options, syscall-list-default-condition)
32830         (syscall-list-includes): Define.
32831         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
32832         list of ABIs and options and #if conditions for each ABI.  Do not
32833         handle common syscalls between ABIs specially.
32834         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
32835         Remove.
32836         (syscall-list-variants, syscall-list-32bit-options)
32837         (syscall-list-32bit-condition, syscall-list-64bit-options)
32838         (syscall-list-64bit-condition): Define.
32839         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
32840         (syscall-list-variants, syscall-list-32bit-options)
32841         (syscall-list-32bit-condition, syscall-list-64bit-options)
32842         (syscall-list-64bit-condition): Define.
32843         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
32844         Remove.
32845         (syscall-list-variants, syscall-list-32bit-options)
32846         (syscall-list-32bit-condition, syscall-list-64bit-options)
32847         (syscall-list-64bit-condition): Define.
32848         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
32849         Remove.
32850         (syscall-list-variants, syscall-list-32bit-options)
32851         (syscall-list-32bit-condition, syscall-list-64bit-options)
32852         (syscall-list-64bit-condition): Define.
32853
32854 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
32855
32856         * locale/iso-639.def: Add brx entry.
32857
32858         [BZ #13328]
32859         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
32860         Proposed by Mariusz_Cukr <marcukr@op.pl>.
32861
32862         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
32863         __feraiseexcept_renamed.
32864
32865 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
32866
32867         [BZ #13538]
32868         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
32869         EPOLLET with unsigned values.
32870         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
32871         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
32872
32873         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
32874         to large cancellation.
32875         * math/s_cacoshf.c: Likewise.
32876         * math/s_cacoshl.c: Likewise.
32877
32878 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
32879
32880         [BZ #13305]
32881         [BZ #12786]
32882         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
32883         * math/s_cacoshf.c: Likewise.
32884         * math/s_cacoshl.c: Likewise.
32885
32886 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
32887
32888         [BZ #13439]
32889         * iconv/gconv.h: Define __GCONV_SWAP.
32890         * iconvdata/unicode.c: The swap bit must be stored in __flags.
32891         * iconvdata/utf-16.c: Likewise.
32892         * iconvdata/utf-32.c: Likewise.
32893
32894 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
32895
32896         [BZ #13524]
32897         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
32898         numerator after shifting it by one limb.
32899
32900 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
32901
32902         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
32903         under [__USE_EXTERN_INLINES].
32904
32905 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
32906
32907         [BZ #13446]
32908         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
32909
32910 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32911
32912         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
32913         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
32914         optimized code.
32915         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
32916         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
32917         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
32918         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
32919         for strncasecmp/strncasecmp_l compilation.
32920         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
32921         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
32922
32923 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
32924
32925         [BZ #13484]
32926         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
32927         of __asm__.
32928
32929 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
32930
32931         [BZ #13506]
32932         * time/tzfile.c (__tzfile_read): Check values from file header.
32933
32934 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
32935
32936         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
32937         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
32938         * powerpc/powerpc32/dl-start.S: Likewise.
32939         * powerpc/powerpc32/elf/start.S: Likewise.
32940         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
32941         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
32942         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
32943         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
32944         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
32945         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
32946         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
32947         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
32948         * powerpc/powerpc32/fpu/s_round.S: Likewise.
32949         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
32950         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
32951         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
32952         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
32953         * powerpc/powerpc32/memset.S: Likewise.
32954         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
32955         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
32956         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
32957         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
32958         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
32959         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
32960         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
32961         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
32962         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
32963         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
32964         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
32965         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
32966         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
32967
32968 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32969
32970         * math/libm-test.inc: Added more nearbyint tests.
32971         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
32972         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
32973         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
32974         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
32975
32976 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
32977
32978         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
32979         FD_CLOEXEC.
32980
32981 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
32982
32983         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
32984         Add wcscpy-ssse3 wcscpy-c.
32985         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
32986         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
32987         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
32988         * sysdeps/x86_64/wcschr.S: New file.
32989         * sysdeps/x86_64/wcsrchr.S: New file.
32990         * string/test-strcmp.c: Remove checking of wcscmp function for
32991         wrong alignments.
32992         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
32993         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
32994         wcsrchr-sse2 wcsrchr-c.
32995         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
32996         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
32997         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
32998         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
32999         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
33000         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
33001         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
33002         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
33003         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
33004         * wcsmbc/wcschr.c (WCSCHR): New macro.
33005
33006 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
33007
33008         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
33009         * wcsmbs/test-wcsrchr.c: New file.
33010         * string/test-strrchr.c: Add wcsrchr support.
33011         (WIDE): New macro.
33012         * wcsmbs/test-wcscpy.c: New file.
33013         * string/test-strcpy.c: Add wcscpy support.
33014         (WIDE): New macro.
33015
33016 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
33017
33018         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
33019         the inner loop.
33020
33021 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
33022
33023         [BZ #13472]
33024         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
33025
33026 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
33027
33028         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
33029         Minor optimizations.
33030
33031         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
33032         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
33033         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
33034
33035 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
33036
33037         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
33038         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
33039         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
33040         for gcc to avoid warnings.
33041         * inet/Makefile (tests): Add tst-checks.
33042         * inet/tst-checks.c: New file.
33043
33044         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
33045         warning.
33046
33047         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
33048         __wmemcmp_sse2.
33049
33050         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
33051         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
33052
33053         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
33054
33055 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
33056
33057         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
33058         problem.
33059
33060         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
33061
33062 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
33063
33064         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
33065         conditional on GCC version.
33066         (__arch_compare_and_exchange_val_8_acq)
33067         (__arch_compare_and_exchange_val_16_acq)
33068         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
33069         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
33070         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
33071
33072 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
33073
33074         * sysdeps/sh/backtrace.c: New file.
33075
33076 2011-12-02  Andreas Schwab  <schwab@redhat.com>
33077
33078         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
33079         parenthesis.
33080
33081 2011-12-01  Andreas Schwab  <schwab@redhat.com>
33082
33083         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
33084         falling back to utime.
33085
33086 2011-11-30  Andreas Schwab  <schwab@redhat.com>
33087
33088         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
33089         expectations for float.
33090
33091 2011-11-29  Andreas Schwab  <schwab@redhat.com>
33092
33093         * locale/weight.h (findidx): Add parameter len.
33094         * locale/weightwc.h (findidx): Likewise.
33095         * posix/fnmatch_loop.c (FCT): Adjust caller.
33096         * posix/regcomp.c (build_equiv_class): Likewise.
33097         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
33098         * posix/regexec.c (check_node_accept_bytes): Likewise.
33099         * string/strcoll_l.c (STRCOLL): Likewise.
33100         * string/strxfrm_l.c (STRXFRM): Likewise.
33101
33102 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
33103
33104         * Makefile.in: Remove CVSOPT handling.
33105         * configure.in: Remove use of AC_REVISION.
33106         * iconvdata/Makefile (distribute): No need to filter out CVS.
33107         * scripts/list-sources.sh: Remove CVS, subversion and monotone
33108         handling.
33109
33110 2011-11-16  Andreas Schwab  <schwab@redhat.com>
33111
33112         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
33113         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
33114         [USE_AS_STRNCASECMP_L]: Likewise.
33115         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
33116         NO_TLS_DIRECT_SEG_REFS.
33117         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
33118         Fix argument offsets for non-PIC.
33119         [USE_AS_STRNCASECMP_L]: Likewise.
33120         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
33121         NO_TLS_DIRECT_SEG_REFS.
33122
33123 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
33124
33125         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
33126         O_CLOEXEC.
33127         * locale/loadlocale.c (_nl_load_locale): Likewise.
33128
33129 2011-11-15  Andreas Schwab  <schwab@redhat.com>
33130
33131         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
33132         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
33133         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
33134         (SYSCALL_GETTIME): Set errno on error.
33135
33136         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
33137         count references to noai6ai_cached.
33138
33139 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
33140
33141         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
33142
33143         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
33144         FD_CLOEXEC for /proc/self/maps.
33145
33146         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
33147         FD_CLOEXEC for /proc/meminfo.
33148
33149         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
33150         gai.conf.
33151
33152         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
33153         FD_CLOEXEC for given file.
33154
33155         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
33156
33157         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
33158         FD_CLOEXEC for /etc/hosts.
33159         (_gethtent): Likewise.
33160
33161         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
33162
33163         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
33164         cancellation and set FD_CLOEXEC for /etc/netgroup.
33165
33166         * nss/nss_files/files-key.c (search): Don't allow cancellation when
33167         reading /etc/publickey.
33168
33169         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
33170         allow cancellation when reading /etc/group.
33171
33172         * nss/nss_files/files-alias.c (internal_setent): Don't allow
33173         cancellation.
33174         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
33175
33176         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
33177         when using data file.
33178
33179         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
33180
33181         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
33182         (write_nis_obj): Use "c" and "e" in fopen.
33183
33184         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
33185
33186         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
33187
33188         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
33189
33190         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
33191
33192         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
33193         locale.alias.
33194
33195         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
33196
33197         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
33198
33199         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
33200
33201         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
33202         file parsing and set FD_CLOEXEC.
33203
33204 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
33205
33206         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
33207
33208 2011-11-14  Andreas Schwab  <schwab@redhat.com>
33209
33210         * malloc/arena.c (arena_get2): Don't call reused_arena when
33211         _int_new_arena failed.
33212
33213 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
33214
33215         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
33216         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
33217         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
33218         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
33219         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
33220         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
33221         to compile strcasecmp and strncasecmp.
33222         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
33223         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
33224
33225         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
33226
33227 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
33228
33229         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
33230         locale-defines.sym to gen-as-const-headers.
33231         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
33232         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
33233         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
33234         to compile strcasecmp and strncasecmp.
33235         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
33236         strcasecmp_l and strncasecmp_l.
33237         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
33238         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
33239         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
33240         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
33241         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
33242         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
33243         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
33244         * sysdeps/i386/i686/multiarch/strncase.S: New file.
33245         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
33246         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
33247         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
33248
33249 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
33250
33251         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
33252         result of SYSDEP_GETTIME_CPU to retval.
33253         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
33254         parameter list to macro.  Remove trailing semicolon.  Adjust users.
33255
33256         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
33257         variable.
33258
33259         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
33260         mantissa words.
33261         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
33262
33263         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
33264         from unused variable.
33265
33266         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
33267         DWARF definitions.
33268         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
33269         for assembling.
33270
33271         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
33272         over namespaces.
33273
33274         * sunrpc/rpc_prot.c (rejected): Fix case value.
33275
33276         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
33277         unsigned long long int to avoid warnings in shift.
33278
33279         * posix/regex_internal.c (re_string_reconstruct): Actually use result
33280         of use of trans.
33281         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
33282         variable tmp.
33283
33284         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
33285         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
33286         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
33287
33288         * nis/nis_table.c (nis_list): Use variable of correct type for
33289         result of __follow_path call.
33290
33291 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33292
33293         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
33294         of math functions ceil, trunc, floor, round, and sqrt, when
33295         avaliable on the platform.
33296         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
33297         name clash.
33298         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
33299         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
33300         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
33301
33302 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
33303
33304         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
33305         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
33306
33307 2011-11-11  Roland McGrath  <roland@hack.frob.com>
33308
33309         * include/unistd.h: Fix __readlink return type.
33310         Reported by Chris Metcalf <cmetcalf@tilera.com>.
33311
33312 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
33313
33314         * stdlib/ucontext.h: Undo last change for makecontext.
33315
33316 2011-11-11  Andreas Schwab  <schwab@redhat.com>
33317
33318         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
33319
33320         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
33321         * setjmp/setjmp.h: Mark functions as non-leaf.
33322         * setjmp/bits/setjmp2.h: Likewise.
33323         * stdlib/ucontext.h: Likewise.
33324
33325 2011-11-10  Andreas Schwab  <schwab@redhat.com>
33326
33327         * malloc/arena.c (_int_new_arena): Don't increment narenas.
33328         (reused_arena): Don't check arena limit.
33329         (arena_get2): Atomically check arena limit.
33330
33331 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
33332
33333         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
33334         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
33335
33336         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
33337         instructions.
33338
33339 2011-11-07  Andreas Schwab  <schwab@redhat.com>
33340
33341         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
33342         handler when locking.
33343
33344         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
33345         Fix size of allocated buffer.
33346
33347 2011-11-04  Andreas Schwab  <schwab@redhat.com>
33348
33349         [BZ #10103]
33350         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
33351         declarations for long double functions.
33352         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
33353
33354         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
33355
33356 2011-11-03  Andreas Schwab  <schwab@redhat.com>
33357
33358         * nscd/nscd.c (main): Don't start AVC thread until credentials are
33359         installed.
33360
33361         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
33362         is disabled.
33363
33364 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
33365
33366         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
33367
33368 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
33369
33370         * include/alloca.h (stackinfo_alloca_round): Define.
33371         (extend_alloca): Use it.
33372         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
33373         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
33374         here.
33375
33376         * scripts/check-local-headers.sh: Ignore libaudit.h.
33377
33378         * nscd/Makefile (extra-objs): Make recursively expanded.
33379
33380 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
33381
33382         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
33383         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
33384
33385         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
33386         * posix/tst-rfc3484-2.c: Likewise.
33387         * posix/tst-rfc3484-3.c: Likewise.
33388
33389         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
33390         process_vm_writev.
33391         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
33392         process_vm_writev.
33393         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
33394         process_vm_writev from libc using GLIBC_2.15 version.
33395
33396         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
33397
33398 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
33399
33400         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
33401         stack usage.
33402
33403 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
33404
33405         [BZ #13367]
33406         * nss/getent.c (initgroups_keys): Show error message in case no group
33407         names are given.
33408
33409         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
33410         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
33411         __bump_nl_timestamp.
33412         * nscd/connections (nscd_init): When host database is served open
33413         netlink socket and request notification about configuration changes.
33414         (main_loop_poll): Track netlink file descriptor and bump timestamp
33415         in case data becomes available.
33416         (main_loop_epoll): Likewise.
33417         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
33418         (database_pers_head): Add extra_data fileds.
33419         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
33420         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
33421         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
33422         Adjust caller.
33423         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
33424         in6ai data, call __free_in6ai.
33425         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
33426         Add -DHAVE_NETLINK.
33427         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
33428         interface information.  Reuse previous data if netlink timestamp
33429         is not changed.
33430         (__bump_nl_timestamp): New function.
33431         (__free_in6ai): New function.
33432
33433 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
33434
33435         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
33436         close_not_cancel_no_status here.
33437         (__check_pf): Reorganize code a bit to not call close twice if OOM.
33438
33439 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
33440
33441         [BZ #13276]
33442         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
33443         return value.
33444
33445         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
33446         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
33447         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
33448
33449 2011-07-03  Andreas Jaeger  <aj@suse.de>
33450
33451         [BZ #10709]
33452         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
33453         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
33454         * math/libm-test.inc (sin_test): Add test case.
33455
33456 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
33457
33458         [BZ #13337]
33459         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
33460         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
33461
33462         * elf/chroot_canon.c (chroot_canon): Cleanups.
33463
33464         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
33465
33466         [BZ #13335]
33467         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
33468         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
33469
33470         * string/test-strchr.c: Make usable for strchrnul testing.
33471         * string/test-strchrnul.c: New file.
33472         * string/Makefile (strop-tests): Add strchrnul.
33473
33474         * po/it.po: Update from translation team.
33475         * po/es.po: Likewise.
33476
33477 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
33478
33479         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
33480         the three constants needed as parameters.  Drop the others.
33481         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
33482         __m128i_strloadu_tolower.
33483         Create and initialize variable zero and use it in all the places
33484         where _mm_setzero_si128 was used.
33485
33486         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
33487         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
33488         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
33489         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
33490         anymore.
33491         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
33492         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
33493         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
33494         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
33495         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
33496         __mpranred, __mptan.
33497         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
33498         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
33499         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
33500         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
33501         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
33502         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
33503         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
33504         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
33505         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
33506
33507 2011-10-28  Andreas Schwab  <schwab@redhat.com>
33508
33509         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
33510         redefine if SHARED.
33511         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
33512
33513         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
33514         wide char related routines to wcsmbs subdir.
33515
33516 2011-10-27  Andreas Schwab  <schwab@redhat.com>
33517
33518         [BZ #13344]
33519         * misc/sys/cdefs.h (__THROWNL): Define.
33520         * posix/unistd.h: Use __THREADNL instead of __THREAD
33521         for memory synchronization functions.
33522
33523 2011-10-26  Roland McGrath  <roland@hack.frob.com>
33524
33525         [BZ #13349]
33526         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
33527         doesn't exist.
33528         * manual/stdio.texi (Obstack Streams): Node removed.
33529
33530 2011-10-26  Andreas Schwab  <schwab@redhat.com>
33531
33532         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
33533         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
33534         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
33535
33536         * math/math_private.h (math_force_eval): Allow non-addressable
33537         arguments.
33538         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
33539
33540 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
33541
33542         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
33543         file is not needed.
33544
33545         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
33546         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
33547         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
33548         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
33549         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
33550         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
33551         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
33552         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
33553         Add AVX variants.
33554         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
33555         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
33556         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
33557         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
33558         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
33559         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
33560         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
33561         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
33562         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
33563         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
33564         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
33565         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
33566         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
33567         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
33568         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
33569         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
33570         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
33571         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
33572         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
33573
33574         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
33575         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
33576
33577         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
33578         place.  Use VEX encoding when compiling for AVX.
33579
33580 2011-10-25  Andreas Schwab  <schwab@redhat.com>
33581
33582         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
33583         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
33584
33585         * string/test-strchr.c (do_test): Don't generate NUL bytes.
33586
33587 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
33588
33589         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
33590         useless if() expression.
33591         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
33592         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
33593         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
33594         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
33595         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
33596         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
33597         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
33598         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
33599         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
33600         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
33601         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
33602         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
33603         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
33604         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
33605         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
33606         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
33607         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
33608         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
33609         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
33610
33611         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
33612
33613 2011-10-25  Andreas Schwab  <schwab@redhat.com>
33614
33615         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
33616         condition.
33617         * elf/dl-fini.c (_dl_sort_fini): Likewise.
33618
33619 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
33620
33621         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
33622         .text section.  Avoid duplicate constants.
33623         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
33624         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
33625         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
33626         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
33627         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
33628         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
33629         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
33630         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
33631         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
33632         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
33633         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
33634         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
33635         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
33636         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
33637         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
33638         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
33639         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
33640         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
33641         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
33642         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
33643         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
33644         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
33645         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
33646         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
33647         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
33648         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
33649         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
33650         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
33651         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
33652         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
33653         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
33654         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
33655         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
33656         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
33657         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
33658         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
33659         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
33660         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
33661         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
33662         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
33663         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
33664         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
33665         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
33666         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
33667         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
33668
33669 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
33670
33671         * sysdeps/x86_64/dla.h: Move to ...
33672         * sysdeps/x86_64/fpu/dla.h: ...here.
33673         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
33674         situations.  Use __builtin_fma only for gcc 4.6 and up.
33675
33676         * config.make.in: Add have-mfma4 entry.
33677         * configure.in: Substitute libc_cv_cc_fma4.
33678         * math/Makefile (dbl-only-routines): Add sincostab.
33679         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
33680         Use __sincostab not sincos.
33681         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
33682         name is a macro.
33683         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
33684         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
33685         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
33686         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
33687         using __copysign.
33688         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
33689         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
33690         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
33691         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
33692         and __inv.
33693         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
33694         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
33695         __copysign.
33696         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
33697         define aliases when function name is a macro.
33698         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
33699         sysdeps/ieee754/dbl-64/sincos.tbl.
33700         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
33701         fma4-enabled routines.
33702         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
33703         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
33704         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
33705         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
33706         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
33707         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
33708         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
33709         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
33710         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
33711         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
33712         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
33713         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
33714         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
33715         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
33716         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
33717         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
33718         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
33719         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
33720         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
33721         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
33722         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
33723         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
33724         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
33725         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
33726         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
33727         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
33728         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
33729         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
33730         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
33731         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
33732
33733         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
33734         rename.
33735         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
33736         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
33737         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
33738         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
33739         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
33740         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
33741         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
33742         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
33743
33744 2011-10-24  Andreas Schwab  <schwab@redhat.com>
33745
33746         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
33747
33748 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
33749
33750         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
33751
33752         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
33753         prediction.
33754         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
33755
33756         * string/strnlen.c: Don't define STRNLEN, reverse logic.
33757         Remove unused variable magic_bits.
33758         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
33759
33760         * string/strnlen.c: Define and use STRNLEN macro.
33761         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
33762         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
33763         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
33764         * wcsmbs/wcslen.c: Define and use WCSLEN.
33765         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
33766         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
33767         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
33768         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
33769         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
33770         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
33771         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
33772
33773 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
33774
33775         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
33776         strnlen-sse2-no-bsf.
33777         Rename strlen-no-bsf to strlen-sse2-no-bsf.
33778         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
33779         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
33780         Add strnlen support.
33781         (USE_AS_STRNLEN): New macro.
33782         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
33783         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
33784         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
33785         * sysdeps/x86_64/wcslen.S: New file.
33786
33787 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
33788
33789         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
33790         XMM-moves are used for copying on small sizes.
33791
33792 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
33793
33794         * wcsmbs/Makefile (strop-tests): Add wcschr.
33795         * wcsmbs/test-wcschr.c: New file.
33796         * string/test-strchr.c: Update.
33797         Add wcschr support.
33798         (WIDE): New macro.
33799
33800 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
33801
33802         * wcsmbs/Makefile (strop-tests): Add wcslen.
33803         * wcsmbs/test-wcslen.c: New file.
33804         * string/test-strlen.c: Update.
33805         Add wcslen support.
33806         (WIDE): New macro.
33807
33808 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
33809
33810         * po/it.po: Update from translation team.
33811
33812 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
33813
33814         * sysdeps/x86_64/wcscmp.S: Update.
33815         Fix wrong comparison semantics.
33816         wcscmp shall use signed comparison not unsigned.
33817         Don't use substraction to avoid overflow bug.
33818         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
33819         * wcsmbc/wcscmp.c: Likewise.
33820         * string/test-strcmp.c: Likewise.
33821         Add new tests to check cases with negative values.
33822
33823 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
33824
33825         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
33826         * sysdeps/x86_64/dla.h: ...here.  New file.
33827         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
33828         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
33829         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
33830         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
33831         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
33832         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
33833         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
33834         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
33835         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
33836
33837 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
33838
33839         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
33840         __ynl_finite aliases.
33841
33842 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
33843
33844         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
33845
33846         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
33847         define DLA_FMA.
33848         [DLA_FMA] (EMULV): Use DLA_FMA.
33849         [DLA_FMA] (MUL12): Use EMULV.
33850         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
33851         that are not needed.
33852         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
33853         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
33854         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
33855         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
33856         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
33857         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
33858         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
33859
33860 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
33861
33862         * math/s_nan.c: Undef __nan.
33863         * math/s_nanf.c: Undef __nanf.
33864         * math/s_nanl.c: Undef __nanl.
33865         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
33866         "math_private.h".
33867
33868 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
33869
33870         * math/s_catan.c: Add branch predictions.
33871         * math/s_catanf.c: Likewise.
33872         * math/s_catanh.c: Likewise.
33873         * math/s_catanhf.c: Likewise.
33874         * math/s_catanhl.c: Likewise.
33875         * math/s_catanl.c: Likewise.
33876         * math/s_cexp.c: Likewise.
33877         * math/s_cexpf.c: Likewise.
33878         * math/s_cexpl.c: Likewise.
33879         * math/s_clog.c: Likewise.
33880         * math/s_clog10.c: Likewise.
33881         * math/s_clog10f.c: Likewise.
33882         * math/s_clog10l.c: Likewise.
33883         * math/s_clogf.c: Likewise.
33884         * math/s_clogl.c: Likewise.
33885         * math/s_csqrt.c: Likewise.
33886         * math/s_csqrtf.c: Likewise.
33887         * math/s_csqrtl.c: Likewise.
33888         * math/s_ctanf.c: Likewise.
33889         * math/s_ctanh.c: Likewise.
33890         * math/s_ctanhf.c: Likewise.
33891         * math/s_ctanhl.c: Likewise.
33892         * math/s_ctanl.c: Likewise.
33893
33894         * math/math_private.h: Define __nan, __nanf, __nanl.
33895         * math/s_cacosh.c: Include <math_private.h>.
33896         * math/s_cacoshl.c: Likewise.
33897         * math/s_casinh.c: Likewise.
33898         * math/s_casinhf.c: Likewise.
33899         * math/s_casinhl.c: Likewise.
33900         * math/s_ccos.c: Rely entire on ccosh.
33901         * math/s_ccosf.c: Rely entire on ccoshf.
33902         * math/s_ccosl.c: Rely entirely on ccoshl.
33903         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
33904         Remove tests for FE_INVALID.
33905         * math/s_ccoshf.c: Likewise.
33906         * math/s_ccoshl.c: Likewise.
33907         * math/s_csin.c: Likewise.
33908         * math/s_csinf.c: Likewise.
33909         * math/s_csinh.c Likewise.
33910         * math/s_csinhf.c: Likewise.
33911         * math/s_csinhl.c: Likewise.
33912         * math/s_csinl.c: Likewise.
33913         * math/s_ctan.c: Likewise.
33914         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
33915         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
33916         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
33917
33918 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
33919
33920         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
33921         compilation problems.
33922
33923         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
33924         __builtin_expect.
33925
33926 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
33927
33928         * sysdeps/i386/configure.in: Test for -mfma4 option.
33929         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
33930         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
33931         COMMON_CPUID_INDEX_80000001.
33932         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
33933         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
33934         use it if FMA3 is not supported.
33935         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
33936
33937         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
33938         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
33939
33940 2011-10-20  Andreas Schwab  <schwab@redhat.com>
33941
33942         [BZ #12892]
33943         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
33944         it would create a cycle with a link time dependency.
33945
33946 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
33947
33948         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
33949         instruction.
33950         * string/Makefile (strop-tests): Add rawmemchr.
33951         * string/test-rawmemchr.c: New file.
33952
33953         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
33954         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
33955         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
33956         when compiling str{,n}casecmp and when AVX is available.  Hook up
33957         new optimized code in initializers.
33958
33959 2011-10-19  Andreas Schwab  <schwab@redhat.com>
33960
33961         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
33962         __feraiseexcept instead of feraiseexcept.
33963
33964 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
33965
33966         * math/math_private.h: Define defaults for libc_fetestexcept and
33967         libc_feupdateenv.
33968         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
33969         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
33970         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
33971         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
33972         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
33973         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
33974         libc_fetestexcept and libc_feupdateenv.
33975
33976         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
33977         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
33978         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
33979         * sysdeps/x86_64/fpu/math_private.h: Define special version of
33980         libc_feholdexcept_setround.
33981
33982         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
33983         Add s_nearbyint-c and s_nearbyintf-c.
33984         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
33985         nearbyintf inlines.
33986         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
33987         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
33988         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
33989         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
33990
33991         * math/math_private.h: Define defaults for libc_fegetround,
33992         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
33993         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
33994         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
33995         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
33996         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
33997         standard functions.
33998         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
33999         Remove comments and hacks for old compiler versions.
34000         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
34001         libc_fegetround, libc_fesetround, libc_feholdexcept, and
34002         libc_feholdexceptl.
34003
34004 2011-10-18  Andreas Schwab  <schwab@redhat.com>
34005
34006         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
34007         (__feraiseexcept_renamed): Add __NTH.
34008         (feraiseexcept): Add __NTH.  Rename local variables to fix
34009         namespace violations.
34010
34011 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
34012
34013         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
34014
34015         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
34016
34017         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
34018         recently added interfaces.
34019         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
34020
34021         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
34022         about macro parameter expansion.
34023
34024         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
34025         __NO_MATH_INLINES is defined.  Cleanups.
34026
34027         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
34028         and __floorf is target has SSE4.1.
34029         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
34030         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
34031         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
34032         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
34033
34034         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
34035         name.
34036         (floorf): Likewise.
34037
34038         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
34039
34040 2011-10-17  Andreas Schwab  <schwab@redhat.com>
34041
34042         * misc/sys/cdefs.h: Fix last change.
34043
34044         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
34045         database lookup.
34046
34047 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
34048
34049         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
34050
34051         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
34052         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
34053         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
34054         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
34055         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
34056         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
34057         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
34058         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
34059         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
34060         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
34061         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
34062         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
34063         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
34064         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
34065         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
34066         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
34067         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
34068         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
34069         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
34070         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
34071         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
34072         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
34073
34074         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
34075         ceil, ceilf, floor, floorf.
34076
34077         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
34078         Perform IRELATIVE relocations last.
34079
34080         * elf/do-rel.h: Add another parameter nrelative, replacing the
34081         local variable with the same name.  Change name of the function
34082         to end in Rel or Rela (uppercase).
34083         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
34084         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
34085         elf_dynamic_do_##reloc function.
34086
34087 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
34088
34089         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
34090         is sufficient, at least on modern CPUs.
34091
34092         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
34093
34094         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
34095         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
34096
34097         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
34098         __expl_finite.
34099         * math/bits/math-finite.h: Add entries for exp.
34100         * math/e_expl.c: Add __*_finite alias.
34101         * sysdeps/i386/fpu/e_exp.S: Likewise.
34102         * sysdeps/i386/fpu/e_expf.S: Likewise.
34103         * sysdeps/i386/fpu/e_expl.c: Likewise.
34104         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
34105         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
34106         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
34107         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
34108         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
34109         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
34110         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
34111
34112         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
34113         is sufficient, at least on modern CPUs.
34114
34115         * ctype/ctype-info.c (__ctype_init): Define.
34116         * include/ctype.h (__ctype_init): Declare.
34117         (__ctype_b_loc): The variable is always initialized.
34118         (__ctype_toupper_loc): Likewise.
34119         (__ctype_tolower_loc): Likewise.
34120         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
34121         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
34122
34123 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
34124
34125         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
34126
34127         * configure.in: Also look in $cxxmachine/include for C++ system
34128         headers.
34129
34130 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
34131
34132         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
34133         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
34134         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
34135         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
34136         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
34137         (USE_AS_WMEMCMP): New macro.
34138         Fixing indents.
34139         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
34140         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
34141         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
34142         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
34143         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
34144         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
34145         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
34146         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
34147         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
34148         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
34149         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
34150         (USE_AS_WMEMCMP): New macro.
34151         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
34152         * sysdeps/string/test-memcmp.c: Update.
34153         Fix simple_wmemcmp.
34154         Add new tests.
34155         * wcsmbs/wmemcmp.c: Update.
34156         (WMEMCMP): New macro.
34157         Fix overflow bug.
34158
34159 2011-10-12  Andreas Jaeger  <aj@suse.de>
34160
34161         [BZ #13268]
34162         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
34163
34164 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
34165
34166         * libio/iofwide.c (do_length): Avoid warning.
34167
34168         * ctype/ctype.h (__isctype_f): Add missing __THROW.
34169
34170 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
34171
34172         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
34173
34174         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
34175         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
34176         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
34177         * sysdeps/i386/i686/fpu/e_log.S: New file.
34178         * sysdeps/i386/i686/fpu/e_logf.S: New file.
34179         * sysdeps/i386/i686/fpu/e_logl.S: New file.
34180
34181         * ctype/ctype.h: Add support for inlined isXXX functions when
34182         compiling C++ code.
34183
34184 2011-10-14  Andreas Schwab  <schwab@redhat.com>
34185
34186         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
34187
34188         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
34189
34190 2011-10-13  Roland McGrath  <roland@hack.frob.com>
34191
34192         [BZ #13291]
34193         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
34194
34195 2011-10-13  Andreas Schwab  <schwab@redhat.com>
34196
34197         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
34198         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
34199         feraiseexcept.
34200
34201         * sysdeps/x86_64/memrchr.S: Check for zero size.
34202
34203         * string/stratcliff.c: Add memrchr tests.
34204
34205 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
34206
34207         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
34208         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
34209         rawmemchr-sse2 rawmemchr-sse2-bsf.
34210         * sysdeps/i386/i686/multiarch/memchr.S: New file.
34211         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
34212         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
34213         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
34214         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
34215         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
34216         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
34217         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
34218         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
34219         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
34220         * string/memrchr.c (MEMRCHR): New macro.
34221
34222 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
34223
34224         Add integration with gcc's -ffinite-math-only and optimize wrapper
34225         functions in libm.
34226         * Versions.def: Define GLIBC_2.15 version for libm.
34227         * math/Makefile (headers): Add bits/math-finite.h.
34228         * math/bits/math-finite.h: New file.
34229         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
34230         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
34231         * math/e_acoshl.c: Add __*_finite alias.
34232         * math/e_acosl.c: Likewise.
34233         * math/e_asinl.c: Likewise.
34234         * math/e_atan2l.c: Likewise.
34235         * math/e_atanhl.c: Likewise.
34236         * math/e_coshl.c: Likewise.
34237         * math/e_exp10.c: Likewise.
34238         * math/e_exp10f.c: Likewise.
34239         * math/e_exp10l.c: Likewise.
34240         * math/e_exp2l.c: Likewise.
34241         * math/e_fmodl.c: Likewise.
34242         * math/e_gammal_r.c: Likewise.
34243         * math/e_hypotl.c: Likewise.
34244         * math/e_j0l.c: Likewise.
34245         * math/e_j1l.c: Likewise.
34246         * math/e_jnl.c: Likewise.
34247         * math/e_lgammal_r.c: Likewise.
34248         * math/e_log10l.c: Likewise.
34249         * math/e_log2l.c: Likewise.
34250         * math/e_logl.c: Likewise.
34251         * math/e_powl.c: Likewise.
34252         * math/e_sinhl.c: Likewise.
34253         * math/e_sqrtl.c: Likewise.
34254         * math/e_scalb.c: Completely rewritten and optimized.
34255         * math/e_scalbf.c: Likewise.
34256         * math/e_scalbl.c: Likewise.
34257         * math/w_acos.c: Likewise.
34258         * math/w_acosf.c: Likewise.
34259         * math/w_acosl.c: Likewise.
34260         * math/w_acosh.c: Likewise.
34261         * math/w_acoshf.c: Likewise.
34262         * math/w_acoshl.c: Likewise.
34263         * math/w_asin.c: Likewise.
34264         * math/w_asinf.c: Likewise.
34265         * math/w_asinl.c: Likewise.
34266         * math/w_atan2.c: Likewise.
34267         * math/w_atan2f.c: Likewise.
34268         * math/w_atan2l.c: Likewise.
34269         * math/w_atanh.c: Likewise.
34270         * math/w_atanhf.c: Likewise.
34271         * math/w_atanhl.c: Likewise.
34272         * math/w_exp10.c: Likewise.
34273         * math/w_exp10f.c: Likewise.
34274         * math/w_exp10l.c: Likewise.
34275         * math/w_fmod.c: Likewise.
34276         * math/w_fmodf.c: Likewise.
34277         * math/w_fmodl.c: Likewise.
34278         * math/w_j0.c: Likewise.
34279         * math/w_j0f.c: Likewise.
34280         * math/w_j0l.c: Likewise.
34281         * math/w_j1.c: Likewise.
34282         * math/w_j1f.c: Likewise.
34283         * math/w_j1l.c: Likewise.
34284         * math/w_jn.c: Likewise.
34285         * math/w_jnf.c: Likewise.
34286         * math/w_log.c: Likewise.
34287         * math/w_logf.c: Likewise.
34288         * math/w_logl.c: Likewise.
34289         * math/w_log10.c: Likewise.
34290         * math/w_log10f.c: Likewise.
34291         * math/w_log10l.c: Likewise.
34292         * math/w_log2.c: Likewise.
34293         * math/w_log2f.c: Likewise.
34294         * math/w_log2l.c: Likewise.
34295         * math/w_pow.c: Likewise.
34296         * math/w_powf.c: Likewise.
34297         * math/w_powl.c: Likewise.
34298         * math/w_remainder.c: Likewise.
34299         * math/w_remainderf.c: Likewise.
34300         * math/w_remainderl.c: Likewise.
34301         * math/w_scalb.c: Likewise.
34302         * math/w_scalbf.c: Likewise.
34303         * math/w_scalbl.c: Likewise.
34304         * math/w_sqrt.c: Likewise.
34305         * math/w_sqrtf.c: Likewise.
34306         * math/w_sqrtl.c: Likewise.
34307         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
34308         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
34309         used.
34310         * math/math_private.h: Declare __kernel_standard_f.
34311         * math/w_cosh.c: Remove cruft and optimize a bit.
34312         * math/w_coshf.c: Likewise.
34313         * math/w_coshl.c: Likewise.
34314         * math/w_exp2.c: Likewise.
34315         * math/w_exp2f.c: Likewise.
34316         * math/w_exp2l.c: Likewise.
34317         * math/w_hypot.c: Likewise.
34318         * math/w_hypotf.c: Likewise.
34319         * math/w_hypotl.c: Likewise.
34320         * math/w_lgamma.c: Likewise.
34321         * math/w_lgamma_r.c: Likewise.
34322         * math/w_lgammaf.c: Likewise.
34323         * math/w_lgammaf_r.c: Likewise.
34324         * math/w_lgammal.c: Likewise.
34325         * math/w_lgammal_r.c: Likewise.
34326         * math/w_sinh.c: Likewise.
34327         * math/w_sinhf.c: Likewise.
34328         * math/w_sinhl.c: Likewise.
34329         * math/w_tgamma.c: Likewise.
34330         * math/w_tgammaf.c: Likewise.
34331         * math/w_tgammal.c: Likewise.
34332         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
34333         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
34334         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
34335         Minor optimizations.  Pretty printing.  Remove cruft.
34336         * sysdeps/i386/fpu/e_acosf.S: Likewise.
34337         * sysdeps/i386/fpu/e_acosh.S: Likewise.
34338         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
34339         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
34340         * sysdeps/i386/fpu/e_acosl.c: Likewise.
34341         * sysdeps/i386/fpu/e_asin.S: Likewise.
34342         * sysdeps/i386/fpu/e_asinf.S: Likewise.
34343         * sysdeps/i386/fpu/e_atan2.S: Likewise.
34344         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
34345         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
34346         * sysdeps/i386/fpu/e_atanh.S: Likewise.
34347         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
34348         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
34349         * sysdeps/i386/fpu/e_exp10.S: Likewise.
34350         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
34351         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
34352         * sysdeps/i386/fpu/e_exp2.S: Likewise.
34353         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
34354         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
34355         * sysdeps/i386/fpu/e_fmod.S: Likewise.
34356         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
34357         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
34358         * sysdeps/i386/fpu/e_hypot.S: Likewise.
34359         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
34360         * sysdeps/i386/fpu/e_log.S: Likewise.
34361         * sysdeps/i386/fpu/e_log10.S: Likewise.
34362         * sysdeps/i386/fpu/e_log10f.S: Likewise.
34363         * sysdeps/i386/fpu/e_log10l.S: Likewise.
34364         * sysdeps/i386/fpu/e_log2.S: Likewise.
34365         * sysdeps/i386/fpu/e_log2f.S: Likewise.
34366         * sysdeps/i386/fpu/e_log2l.S: Likewise.
34367         * sysdeps/i386/fpu/e_logf.S: Likewise.
34368         * sysdeps/i386/fpu/e_logl.S: Likewise.
34369         * sysdeps/i386/fpu/e_pow.S: Likewise.
34370         * sysdeps/i386/fpu/e_powf.S: Likewise.
34371         * sysdeps/i386/fpu/e_powl.S: Likewise.
34372         * sysdeps/i386/fpu/e_remainder.S: Likewise.
34373         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
34374         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
34375         * sysdeps/i386/fpu/e_scalb.S: Likewise.
34376         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
34377         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
34378         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
34379         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
34380         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
34381         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
34382         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
34383         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
34384         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
34385         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
34386         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
34387         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
34388         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
34389         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
34390         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
34391         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
34392         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
34393         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
34394         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
34395         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
34396         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
34397         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
34398         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
34399         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
34400         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
34401         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
34402         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
34403         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
34404         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
34405         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
34406         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
34407         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
34408         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
34409         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
34410         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
34411         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
34412         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
34413         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
34414         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
34415         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
34416         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
34417         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
34418         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
34419         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
34420         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
34421         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
34422         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
34423         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
34424         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
34425         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
34426         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
34427         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
34428         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
34429         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
34430         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
34431         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
34432         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
34433         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
34434         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
34435         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
34436         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
34437         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
34438         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
34439         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
34440         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
34441         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
34442         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
34443         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
34444         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
34445         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
34446         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
34447         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
34448         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
34449         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
34450         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
34451         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
34452         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
34453         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
34454         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
34455         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
34456         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
34457         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
34458         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
34459         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
34460         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
34461         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
34462         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
34463         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
34464         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
34465         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
34466         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
34467         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
34468         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
34469         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
34470         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
34471         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
34472         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
34473         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
34474         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
34475         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
34476         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
34477         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
34478         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
34479         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
34480         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
34481         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
34482         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
34483         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
34484         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
34485         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
34486         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
34487         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
34488         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
34489         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
34490         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
34491         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
34492         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
34493         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
34494         (__isnanf): Likewise.
34495         (__isinf_ns): Likewise.
34496         (__isinf_nsf): Likewise.
34497         (__finite): Likewise.
34498         (__finitef): Likewise.
34499         (__ieee754_sqrt): Define as macro.
34500         (__ieee754_sqrtf): Define as macro.
34501         (__ieee754_sqrtl): Define as macro.
34502         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
34503         inlined copy.
34504         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
34505         __FINITE_MATH_ONLY__ consistent.
34506         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
34507
34508 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
34509
34510         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
34511         of rawmemchr.
34512
34513         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
34514
34515 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
34516
34517         * po/ja.po: Update from translation team.
34518
34519 2011-10-08  Roland McGrath  <roland@hack.frob.com>
34520
34521         * locale/programs/locarchive.c (prepare_address_space): New function.
34522         (create_archive, enlarge_archive, open_archive): Use it.
34523
34524         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
34525         inside [SHARED], where it is used.
34526
34527         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
34528
34529         * nss/getent.c (netgroup_keys): Remove unused variable.
34530         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
34531
34532 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
34533
34534         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
34535         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
34536         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
34537         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
34538         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
34539         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
34540         * math/Makefile (libm-calls): Add s_isinf_ns.
34541         * math/divtc3.c: Use __isinf_nsl instead of isinf.
34542         * math/multc3.c: Likewise.
34543         * math/s_casin.c: Likewise.
34544         * math/s_casinf.c: Likewise.
34545         * math/s_casinl.c: Likewise.
34546         * math/s_ccos.c: Likewise.
34547         * math/s_ccosf.c: Likewise.
34548         * math/s_ccosl.c: Likewise.
34549         * math/s_ctan.c: Likewise.
34550         * math/s_ctanf.c: Likewise.
34551         * math/s_ctanh.c: Likewise.
34552         * math/s_ctanhf.c: Likewise.
34553         * math/s_ctanhl.c: Likewise.
34554         * math/s_ctanl.c: Likewise.
34555         * math/w_fmod.c: Likewise.
34556         * math/w_fmodf.c: Likewise.
34557         * math/w_fmodl.c: Likewise.
34558         * math/w_remainder.c: Likewise.
34559         * math/w_remainderf.c: Likewise.
34560         * math/w_remainderl.c: Likewise.
34561         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
34562         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
34563         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
34564         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
34565         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
34566         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
34567         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
34568         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
34569
34570         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
34571         of the number.
34572         * stdio-common/printf_fphex.c: Likewise.
34573         * stdio-common/printf_size.c: Likewise.
34574
34575         * math/e_exp10.c: Include math_private.h using <...> not "...".
34576         * math/e_exp10f.c: Likewise.
34577         * math/e_exp10l.c: Likewise.
34578         * math/e_exp2l.c: Likewise.
34579         * math/e_j0l.c: Likewise.
34580         * math/e_j1l.c: Likewise.
34581         * math/e_jnl.c: Likewise.
34582         * math/e_lgammal_r.c: Likewise.
34583         * math/e_rem_pio2l.c: Likewise.
34584         * math/e_scalb.c: Likewise.
34585         * math/e_scalbf.c: Likewise.
34586         * math/e_scalbl.c: Likewise.
34587         * math/k_cosl.c: Likewise.
34588         * math/k_sinl.c: Likewise.
34589         * math/k_tanl.c: Likewise.
34590         * math/s_cacoshf.c: Likewise.
34591         * math/s_catan.c: Likewise.
34592         * math/s_catanf.c: Likewise.
34593         * math/s_catanh.c: Likewise.
34594         * math/s_catanhf.c: Likewise.
34595         * math/s_catanhl.c: Likewise.
34596         * math/s_catanl.c: Likewise.
34597         * math/s_ccosh.c: Likewise.
34598         * math/s_ccoshf.c: Likewise.
34599         * math/s_ccoshl.c: Likewise.
34600         * math/s_cexp.c: Likewise.
34601         * math/s_cexpf.c: Likewise.
34602         * math/s_cexpl.c: Likewise.
34603         * math/s_clog.c: Likewise.
34604         * math/s_clog10.c: Likewise.
34605         * math/s_clog10f.c: Likewise.
34606         * math/s_clog10l.c: Likewise.
34607         * math/s_clogf.c: Likewise.
34608         * math/s_clogl.c: Likewise.
34609         * math/s_csin.c: Likewise.
34610         * math/s_csinf.c: Likewise.
34611         * math/s_csinh.c: Likewise.
34612         * math/s_csinhf.c: Likewise.
34613         * math/s_csinhl.c: Likewise.
34614         * math/s_csinl.c: Likewise.
34615         * math/s_csqrt.c: Likewise.
34616         * math/s_csqrtf.c: Likewise.
34617         * math/s_csqrtl.c: Likewise.
34618         * math/s_ctan.c: Likewise.
34619         * math/s_ctanf.c: Likewise.
34620         * math/s_ctanh.c: Likewise.
34621         * math/s_ctanhf.c: Likewise.
34622         * math/s_ctanhl.c: Likewise.
34623         * math/s_ctanl.c: Likewise.
34624         * math/s_ldexp.c: Likewise.
34625         * math/s_ldexpf.c: Likewise.
34626         * math/s_ldexpl.c: Likewise.
34627         * math/s_significand.c: Likewise.
34628         * math/s_significandf.c: Likewise.
34629         * math/s_significandl.c: Likewise.
34630         * math/w_acos.c: Likewise.
34631         * math/w_acosf.c: Likewise.
34632         * math/w_acosh.c: Likewise.
34633         * math/w_acoshf.c: Likewise.
34634         * math/w_acoshl.c: Likewise.
34635         * math/w_acosl.c: Likewise.
34636         * math/w_asin.c: Likewise.
34637         * math/w_asinf.c: Likewise.
34638         * math/w_asinl.c: Likewise.
34639         * math/w_atan2.c: Likewise.
34640         * math/w_atan2f.c: Likewise.
34641         * math/w_atan2l.c: Likewise.
34642         * math/w_atanh.c: Likewise.
34643         * math/w_atanhf.c: Likewise.
34644         * math/w_atanhl.c: Likewise.
34645         * math/w_cosh.c: Likewise.
34646         * math/w_coshf.c: Likewise.
34647         * math/w_coshl.c: Likewise.
34648         * math/w_dremf.c: Likewise.
34649         * math/w_exp10.c: Likewise.
34650         * math/w_exp10f.c: Likewise.
34651         * math/w_exp10l.c: Likewise.
34652         * math/w_exp2.c: Likewise.
34653         * math/w_exp2f.c: Likewise.
34654         * math/w_fmod.c: Likewise.
34655         * math/w_fmodf.c: Likewise.
34656         * math/w_fmodl.c: Likewise.
34657         * math/w_hypot.c: Likewise.
34658         * math/w_hypotf.c: Likewise.
34659         * math/w_hypotl.c: Likewise.
34660         * math/w_j0.c: Likewise.
34661         * math/w_j0f.c: Likewise.
34662         * math/w_j0l.c: Likewise.
34663         * math/w_j1.c: Likewise.
34664         * math/w_j1f.c: Likewise.
34665         * math/w_j1l.c: Likewise.
34666         * math/w_jn.c: Likewise.
34667         * math/w_jnf.c: Likewise.
34668         * math/w_jnl.c: Likewise.
34669         * math/w_lgamma.c: Likewise.
34670         * math/w_lgamma_r.c: Likewise.
34671         * math/w_lgammaf.c: Likewise.
34672         * math/w_lgammaf_r.c: Likewise.
34673         * math/w_lgammal.c: Likewise.
34674         * math/w_lgammal_r.c: Likewise.
34675         * math/w_log.c: Likewise.
34676         * math/w_log10.c: Likewise.
34677         * math/w_log10f.c: Likewise.
34678         * math/w_log10l.c: Likewise.
34679         * math/w_log2.c: Likewise.
34680         * math/w_log2f.c: Likewise.
34681         * math/w_log2l.c: Likewise.
34682         * math/w_logf.c: Likewise.
34683         * math/w_logl.c: Likewise.
34684         * math/w_pow.c: Likewise.
34685         * math/w_powf.c: Likewise.
34686         * math/w_powl.c: Likewise.
34687         * math/w_remainder.c: Likewise.
34688         * math/w_remainderf.c: Likewise.
34689         * math/w_remainderl.c: Likewise.
34690         * math/w_scalb.c: Likewise.
34691         * math/w_scalbf.c: Likewise.
34692         * math/w_scalbl.c: Likewise.
34693         * math/w_sinh.c: Likewise.
34694         * math/w_sinhf.c: Likewise.
34695         * math/w_sinhl.c: Likewise.
34696         * math/w_sqrt.c: Likewise.
34697         * math/w_sqrtf.c: Likewise.
34698         * math/w_sqrtl.c: Likewise.
34699         * math/w_tgamma.c: Likewise.
34700         * math/w_tgammaf.c: Likewise.
34701         * math/w_tgammal.c: Likewise.
34702
34703         * po/ja.po: Update from translation team.
34704
34705 2011-09-29  Andreas Jaeger  <aj@suse.de>
34706
34707         [BZ #13179]
34708         * sunrpc/netname.c (netname2host): Fix logic.
34709
34710         [BZ #6779]
34711         [BZ #6783]
34712         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
34713         correctly.
34714         * math/w_remainder.c (__remainder): Likewise.
34715         * math/w_remainderf.c (__remainderf): Likewise.
34716         * math/libm-test.inc (remainder_test): Add test cases.
34717
34718 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
34719
34720         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
34721         sdiv_qrnnd.
34722
34723 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
34724
34725         * string/test-memcmp.c: Avoid unncessary #defines.
34726         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
34727
34728 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
34729
34730         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
34731         Use new sse2 version for core i3 - i7 as it's faster
34732         than sse42 version.
34733         (bit_Prefer_PMINUB_for_stringop): New.
34734         * sysdeps/x86_64/rawmemchr.S: Update.
34735         Replace with faster SSE2 version.
34736         * sysdeps/x86_64/memrchr.S: New file.
34737         * sysdeps/x86_64/memchr.S: Update.
34738         Replace with faster SSE2 version.
34739
34740 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
34741
34742         * elf/dl-load.c (lose): Add cast to avoid warning.
34743
34744 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
34745
34746         * po/ca.po: Update from translation team.
34747
34748         * inet/getnetgrent_r.c: Hook up nscd.
34749         * nscd/Makefile (routines): Add nscd_netgroup.
34750         (nscd-modules): Add netgroupcache.
34751         (CFLAGS-netgroupcache.c): Define.
34752         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
34753         (cache_search): Add const to second parameter.
34754         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
34755         INNETGR.
34756         (dbs): Add netgrdb entry.
34757         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
34758         (verify_persistent_db): Handle netgrdb.
34759         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
34760         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
34761         GETFDNETGR.
34762         (netgroup_response_header): Define.
34763         (innetgroup_response_header): Define.
34764         (datahead): Add netgroup_response_header and innetgroup_response_header
34765         elements.
34766         * nscd/nscd.conf: Add entries for netgroup cache.
34767         * nscd/nscd.h (dbtype): Add netgrdb.
34768         (_PATH_NSCD_NETGROUP_DB): Define.
34769         (netgroup_iov_disabled): Declare.
34770         (xmalloc, xcalloc, xrealloc): Move declarations here.
34771         (cache_search): Adjust prototype.
34772         Add netgroup-related prototypes.
34773         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
34774         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
34775         (__nscd_innetgr): Declare.
34776         * nscd/selinux.c (perms): Use access_vector_t as element type and
34777         add netgroup-related initializers.
34778         * nscd/netgroupcache.c: New file.
34779         * nscd/nscd_netgroup.c: New file.
34780         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
34781         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
34782         For four parameters use innetgr.
34783         * nss/nss_files/files-init.c: Add definition and callback for netgr.
34784         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
34785         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
34786         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
34787
34788         * nscd/connections.c (register_traced_file): Don't register file
34789         for disabled databases.
34790
34791 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
34792
34793         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
34794
34795         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
34796         from tree and freeing node.
34797
34798 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
34799
34800         * nss/nsswitch.c (__nss_database_lookup): Handle
34801         nss_parse_service_list out of memory case.
34802
34803 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
34804
34805         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
34806         out of memory case.
34807
34808 2011-10-04  Andreas Schwab  <schwab@redhat.com>
34809
34810         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
34811         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
34812         pass it down.
34813         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
34814         elf_machine_rela, elf_machine_lazy_rel.
34815         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
34816         (ELF_DYNAMIC_DO_REL): Likewise.
34817         (ELF_DYNAMIC_DO_RELA): Likewise.
34818         (ELF_DYNAMIC_RELOCATE): Likewise.
34819         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
34820         to ELF_DYNAMIC_DO_REL.
34821         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
34822         (dl_main): In trace mode always set __RTLD_NOIFUNC.
34823         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
34824         elf_machine_rela.
34825         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
34826         skip_ifunc, don't call ifunc function if non-zero.
34827         (elf_machine_rela): Likewise.
34828         (elf_machine_lazy_rel): Likewise.
34829         (elf_machine_lazy_rela): Likewise.
34830         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
34831         (elf_machine_lazy_rel): Likewise.
34832         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
34833         Likewise.
34834         (elf_machine_lazy_rel): Likewise.
34835         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
34836         Likewise.
34837         (elf_machine_lazy_rel): Likewise.
34838         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
34839         (elf_machine_lazy_rel): Likewise.
34840         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
34841         (elf_machine_lazy_rel): Likewise.
34842         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
34843         (elf_machine_lazy_rel): Likewise.
34844         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
34845         (elf_machine_lazy_rel): Likewise.
34846         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
34847         (elf_machine_lazy_rel): Likewise.
34848         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
34849         (elf_machine_lazy_rel): Likewise.
34850
34851 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
34852
34853         * nss/nss_files/files-init.c (_nss_files_init): Use static
34854         initialization for all the *_traced_file variables.
34855
34856 2011-09-28  Andreas Schwab  <schwab@redhat.com>
34857
34858         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
34859
34860 2011-09-27  Roland McGrath  <roland@hack.frob.com>
34861
34862         [BZ #13226]
34863         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
34864
34865 2011-09-27  Andreas Schwab  <schwab@redhat.com>
34866
34867         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
34868         Reread the line before reparsing it.
34869
34870 2011-09-26  Andreas Schwab  <schwab@redhat.com>
34871
34872         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
34873
34874 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
34875             Maxim Kuvyrkov  <maxim@codesourcery.com>
34876             Joseph Myers  <joseph@codesourcery.com>
34877
34878         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
34879         if needed for __stack_chk_guard.
34880
34881 2011-09-19  Roland McGrath  <roland@hack.frob.com>
34882
34883         * sysdeps/posix/spawni.c (script_execute): Always define it.
34884         It will be optimized away if unused.
34885         (maybe_script_execute): New function.
34886         (__spawni): Call it.
34887
34888         * Makerules: Don't include tls.make.
34889         (config-tls): Always set to thread.
34890         * tls.make.c: File removed.
34891
34892 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
34893
34894         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
34895         * config.make.in (CPPFLAGS-config): New substituted variable.
34896
34897 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
34898
34899         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
34900
34901         [BZ #13192]
34902         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
34903         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
34904
34905 2011-09-15  Roland McGrath  <roland@hack.frob.com>
34906
34907         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
34908         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
34909         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
34910         (CALL_FAIL): Likewise.
34911         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
34912         (CALL_FAIL): Macro removed.
34913         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
34914
34915 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
34916
34917         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
34918         for __FINITE_MATH_ONLY__ == 1.
34919
34920 2011-09-15  Andreas Schwab  <schwab@redhat.com>
34921
34922         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
34923         __ieee754_sqrt instead of sqrt.
34924         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
34925         __ieee754_sqrtf instead of sqrtf.
34926         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
34927         __floorf instead of floorf.
34928         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
34929         __floorf, __truncf instead of floorf, truncf.
34930
34931 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
34932
34933         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
34934
34935         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
34936         __extern_always_inline.
34937         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
34938         32-bit.
34939
34940 2011-09-14  Andreas Schwab  <schwab@redhat.com>
34941
34942         * elf/rtld.c (dl_main): Also relocate in dependency order when
34943         doing symbol dependency testing.
34944
34945 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
34946
34947         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
34948         Always define `refsym'.
34949
34950 2011-09-13  Andreas Schwab  <schwab@redhat.com>
34951
34952         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
34953         (__FD_ELT): Renamed from __FDELT.
34954         * misc/bits/select2.h (__FD_ELT): Likewise.
34955         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
34956         __FD_MASK instead of __FDELT, __FDMASK.
34957         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
34958         Likewise.
34959         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
34960         Likewise.
34961
34962         * elf/Makefile (gen-ldd): Fix pattern.
34963
34964         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
34965         (init_tls): Likewise.
34966
34967 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
34968
34969         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
34970
34971 2011-09-12  Andreas Schwab  <schwab@redhat.com>
34972
34973         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
34974         `struct cmsghdr *' instead of `void *'.
34975         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
34976         Likewise.
34977
34978 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
34979
34980         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
34981         if non-absolute.
34982         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
34983         ldd_rewrite_script.
34984
34985 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
34986
34987         * configure.in: Remove --with-tls option.
34988         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
34989         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
34990         out in case it is missing.
34991         * sysdeps/ia64/elf/configure.in: Likewise.
34992         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
34993         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
34994         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
34995         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
34996         * sysdeps/sh/elf/configure.in: Likewise.
34997         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
34998         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
34999         * sysdeps/x86_64/elf/configure.in: Likewise.
35000         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
35001         * sysdeps/mach/hurd/tls.h: Likewise.
35002
35003         [BZ #13067]
35004         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
35005
35006         [BZ #13090]
35007         * configure.in: Fix use of AC_INIT.
35008
35009         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
35010
35011 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
35012
35013         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
35014         __set_errno.
35015         * malloc/hooks.c: Likewise.
35016
35017         [BZ #11929]
35018         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
35019         variables statically.
35020         (narenas): Initialize.
35021         (list_lock): Initialize.
35022         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
35023         initializtion of main_arena and list_lock.  Small cleanups.
35024         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
35025         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
35026         Add initializers to main_arena and mp_.
35027         (malloc_state): Remove pagesize member.  Change all users to use
35028         GLRO(dl_pagesize).
35029
35030         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
35031         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
35032         is always initialized.
35033
35034         * malloc/malloc.c: Removed unused configurations and dead code.
35035         * malloc/arena.c: Likewise.
35036         * malloc/hooks.c: Likewise.
35037         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
35038
35039         * include/tls.h: Removed.  USE___THREAD must always be defined.
35040         * bits/libc-tsd.h: Don't handle !USE___THREAD.
35041         * elf/dl-libc.c: Likewise.
35042         * elf/dl-tsd.c: Likewise.
35043         * include/errno.h: Likewise.
35044         * include/netdb.h: Likewise.
35045         * include/resolv.h: Likewise.
35046         * inet/herrno-loc.c: Likewise.
35047         * inet/herrno.c: Likewise.
35048         * malloc/arena.c: Likewise.
35049         * malloc/hooks.c: Likewise.
35050         * malloc/malloc.c: Likewise.
35051         * resolv/res-state.c: Likewise.
35052         * resolv/res_libc.c: Likewise.
35053         * sysdeps/i386/dl-machine.h: Likewise.
35054         * sysdeps/ia64/dl-machine.h: Likewise.
35055         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
35056         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
35057         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
35058         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
35059         * sysdeps/sh/dl-machine.h: Likewise.
35060         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
35061         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
35062         * sysdeps/unix/i386/sysdep.S: Likewise.
35063         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
35064         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
35065         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
35066         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
35067         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
35068         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
35069         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
35070         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
35071         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
35072         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
35073         * sysdeps/unix/x86_64/sysdep.S: Likewise.
35074         * sysdeps/x86_64/dl-machine.h: Likewise.
35075         * tls.make.c: Likewise.
35076
35077         * configure.in: Remove --with-__thread option.  Make tests for
35078         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
35079         tls_model attribute fail if no support is available.  Remove
35080         USE_IN_LIBIO.
35081         * Makeconfig: Adjust for dropped configure option.  All features are
35082         now mandatory.
35083         * Makerules: Likewise.
35084         * Versions.def: Likewise.
35085         * argp/argp-fmtstream.c: Likewise.
35086         * argp/argp-fmtstream.h: Likewise.
35087         * argp/argp-help.c: Likewise.
35088         * assert/assert.c: Likewise.
35089         * config.h.in: Likewise.
35090         * config.make.in: Likewise.
35091         * configure: Likewise.
35092         * configure.in: Likewise.
35093         * csu/Versions: Likewise.
35094         * csu/init.c: Likewise.
35095         * elf/tst-audit2.c: Likewise.
35096         * elf/tst-tls10.c: Likewise.
35097         * elf/tst-tls10.h: Likewise.
35098         * elf/tst-tls11.c: Likewise.
35099         * elf/tst-tls12.c: Likewise.
35100         * elf/tst-tls14.c: Likewise.
35101         * elf/tst-tlsmod11.c: Likewise.
35102         * elf/tst-tlsmod12.c: Likewise.
35103         * elf/tst-tlsmod13.c: Likewise.
35104         * elf/tst-tlsmod13a.c: Likewise.
35105         * elf/tst-tlsmod14a.c: Likewise.
35106         * elf/tst-tlsmod15b.c: Likewise.
35107         * elf/tst-tlsmod16a.c: Likewise.
35108         * elf/tst-tlsmod16b.c: Likewise.
35109         * elf/tst-tlsmod7.c: Likewise.
35110         * elf/tst-tlsmod8.c: Likewise.
35111         * elf/tst-tlsmod9.c: Likewise.
35112         * gmon/gmon.c: Likewise.
35113         * grp/fgetgrent_r.c: Likewise.
35114         * grp/putgrent.c: Likewise.
35115         * hurd/fopenport.c: Likewise.
35116         * include/libc-symbols.h: Likewise.
35117         * include/tls.h: Likewise.
35118         * intl/gettextP.h: Likewise.
35119         * intl/loadinfo.h: Likewise.
35120         * locale/global-locale.c: Likewise.
35121         * locale/localeinfo.h: Likewise.
35122         * mach/devstream.c: Likewise.
35123         * malloc/arena.c: Likewise.
35124         * malloc/set-freeres.c: Likewise.
35125         * misc/err.c: Likewise.
35126         * misc/getttyent.c: Likewise.
35127         * misc/mntent_r.c: Likewise.
35128         * posix/getopt.c: Likewise.
35129         * posix/wordexp.c: Likewise.
35130         * pwd/fgetpwent_r.c: Likewise.
35131         * resolv/Versions: Likewise.
35132         * resolv/res_hconf.c: Likewise.
35133         * shadow/fgetspent_r.c: Likewise.
35134         * shadow/putspent.c: Likewise.
35135         * stdio-common/printf_fphex.c: Likewise.
35136         * stdio-common/tmpfile.c: Likewise.
35137         * stdlib/abort.c: Likewise.
35138         * stdlib/fmtmsg.c: Likewise.
35139         * sunrpc/auth_unix.c: Likewise.
35140         * sunrpc/clnt_perr.c: Likewise.
35141         * sunrpc/clnt_tcp.c: Likewise.
35142         * sunrpc/clnt_udp.c: Likewise.
35143         * sunrpc/clnt_unix.c: Likewise.
35144         * sunrpc/openchild.c: Likewise.
35145         * sunrpc/svc_simple.c: Likewise.
35146         * sunrpc/svc_tcp.c: Likewise.
35147         * sunrpc/svc_udp.c: Likewise.
35148         * sunrpc/svc_unix.c: Likewise.
35149         * sunrpc/xdr.c: Likewise.
35150         * sunrpc/xdr_array.c: Likewise.
35151         * sunrpc/xdr_rec.c: Likewise.
35152         * sunrpc/xdr_ref.c: Likewise.
35153         * sunrpc/xdr_stdio.c: Likewise.
35154
35155 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
35156
35157         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
35158
35159 2011-07-03  Andreas Jaeger  <aj@suse.de>
35160
35161         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
35162         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
35163         regenerate with gen-libm-tests.pl.
35164
35165 2010-05-12  Petr Baudis  <pasky@suse.cz>
35166
35167         [BZ #11589]
35168         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
35169         around j0() zero points by switching to j1().
35170         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
35171         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
35172         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
35173         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
35174
35175 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
35176
35177         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
35178         instead of 0.
35179         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
35180         instead of 0.
35181         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
35182         Patch in part by Pavel Roskin <proski@gnu.org>.
35183
35184         [BZ #13138]
35185         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
35186         realloc.
35187         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
35188         Free memory block if necessary.
35189
35190         [BZ #12847]
35191         * libio/genops.c (INTDEF): For string streams the _lock pointer can
35192         be NULL.  Don't lock in this case.
35193
35194 2011-09-09  Roland McGrath  <roland@hack.frob.com>
35195
35196         * elf/elf.h (ELFOSABI_GNU): New macro.
35197         (ELFOSABI_LINUX): Define to that.
35198
35199 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
35200
35201         * string/strncat.c (strncat): Undef the symbol in case it has been
35202         defined in bits/string.h.
35203
35204 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
35205
35206         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
35207
35208         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
35209         link map.
35210
35211 2011-08-17  Andreas Jaeger  <aj@suse.de>
35212
35213         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
35214
35215 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
35216             Ian Lance Taylor  <iant@google.com>
35217
35218         * math/libm-test.inc (lround_test): New testcase.
35219         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
35220
35221 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
35222
35223         * Makefile: Remove support for automatic cvs check-ins.
35224         * Makerules: Likewise.
35225         * config.make.in: Likewise.
35226         * configure.in: Likewise.
35227         * intl/Makefile: Likewise.
35228         * locale/Makefile: Likewise.
35229         * po/Makefile: Likewise.
35230         * posix/Makefile: Likewise.
35231         * sysdeps/gnu/Makefile: Likewise.
35232         * sysdeps/mach/hurd/Makefile: Likewise.
35233         * sysdeps/sparc/sparc32/Makefile: Likewise.
35234
35235         [BZ #13118]
35236         * posix/Makefile (bug-regex32-ENV): Define.
35237         Patch by John Stanley <jpsinthemix@verizon.net>.
35238
35239         * misc/Makefile (headers): Add bits/select2.h.
35240         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
35241         * misc/bits/select2.h: New file.
35242         * include/bits/select2.h: New file.
35243         * debug/Makefile (routines): Add fdelt_chk.
35244         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
35245         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
35246         FD_ISSET.
35247         * debug/fdelt_chk.c: New file.
35248
35249         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
35250         * wcsmbs/test-wmemcmp.c: Likewise.
35251         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
35252         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
35253
35254 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
35255
35256         * string/Makefile (strop-tests): Add memcmp.
35257         * string/test-wmemcmp.c: New file.
35258         * string/test-memcmp.c: Add wmemcmp support.
35259
35260 2011-09-08  Roland McGrath  <roland@hack.frob.com>
35261
35262         [BZ #13153]
35263         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
35264         2011-07-19 change.
35265
35266         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
35267         garbage value in a __mach_port_mod_refs call in the cases of the
35268         task-self and thread-self ports.
35269
35270 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
35271
35272         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
35273
35274 2011-09-08  Andreas Schwab  <schwab@redhat.com>
35275
35276         * elf/dl-load.c (lose): Check for non-null L.
35277
35278 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
35279
35280         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
35281
35282         * elf/dl-libc.c (dlerror_run): Pass back error code from
35283         dl_catch_error.
35284
35285         [BZ #13123]
35286         * elf/dl-load.c (lose): Free l_origin if it is valid.
35287
35288         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
35289         names.
35290         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
35291         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
35292         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
35293         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
35294         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
35295         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
35296
35297 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35298
35299         * sysdeps/powerpc/fpu/e_hypot.c: New file.
35300         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
35301         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
35302         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
35303         * sysdeps/powerpc/fpu/k_cosf.c: New file.
35304         * sysdeps/powerpc/fpu/k_sinf.c: New file.
35305         * sysdeps/powerpc/fpu/s_cosf.c: New file.
35306         * sysdeps/powerpc/fpu/s_sinf.c: New file.
35307         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
35308         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
35309
35310 2011-08-15  Alan Modra  <amodra@gmail.com>
35311
35312         [BZ #13092]
35313         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
35314         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
35315         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
35316         ppc_mcount to static-only-routines.
35317         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
35318         __mcount_internal.
35319         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
35320         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
35321
35322 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
35323
35324         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
35325         for finite and infinity parameters.
35326
35327 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
35328
35329         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
35330         and add nop instructions for throughput optimization.
35331         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
35332
35333 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
35334
35335         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
35336         aligned copy for power7 with vector-scalar instructions.
35337         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
35338
35339 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
35340
35341         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
35342         AVX check.
35343
35344 2011-09-07  Andreas Schwab  <schwab@redhat.com>
35345
35346         [BZ #13144]
35347         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
35348         last change.
35349
35350 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
35351
35352         * sysdeps/unix/sysv/linux/x86_64/init-first.c
35353         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
35354         syscall wrapper around clock_gettime in __vdso_clock_gettime.
35355         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
35356         clock_gettime.
35357
35358 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
35359
35360         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
35361         Forgot to demangle the pointer.
35362
35363         * sysdeps/i386/sysdep.h: Define atom_text_section.
35364         * sysdeps/x86_64/sysdep.h: Likewise.
35365         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
35366         section with atom_text_section.
35367         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
35368         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
35369         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
35370         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
35371         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
35372
35373         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
35374         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
35375         already be defined.  Change to take two parameters and don't assign
35376         result to variable.  Adjust all users.
35377         Define INTERNAL_GETTIME if not already defined.
35378         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
35379         call.
35380         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
35381         HAVE_CLOCK_GETTIME_VSYSCALL.
35382         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
35383
35384         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
35385         gettimeofday vsyscall, just use time.
35386
35387 2011-09-06  Andreas Schwab  <schwab@redhat.com>
35388
35389         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
35390         <errno.h>.
35391
35392 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
35393
35394         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
35395         syscall on x86-64.
35396         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
35397         syscall.
35398         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
35399         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
35400         syscall if possible.
35401
35402 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
35403
35404         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
35405         e_ident.  Don't pass to find_mapsXX.
35406         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
35407
35408 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
35409
35410         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
35411         strchr-sse2-no-bsf strrchr-sse2-no-bsf
35412         * sysdeps/x86_64/multiarch/strchr.S: Update.
35413         Check bit_slow_BSF bit.
35414         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
35415         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
35416         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
35417
35418 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
35419
35420         [BZ #13134]
35421         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
35422         before glibc 2.15.
35423         (tryshell): Define.
35424         (__spawni): Change last parameter to be flag.  Test
35425         SPAWN_XFLAGS_USE_PATH flag to use path or not.
35426         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
35427         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
35428         * posix/spawni.c: Likewise.
35429         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
35430         * posix/spawnp.c: Likewise.  Change normal version to use
35431         SPAWN_XFLAGS_USE_PATH.
35432         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
35433         SPAWN_XFLAGS_TRY_SHELL.
35434
35435         [BZ #13150]
35436         * posix/glob.h: Remove gcc 1.x support.
35437
35438         [BZ #13068]
35439         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
35440
35441 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
35442
35443         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
35444         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
35445         strrchr-sse2-bsf
35446         * sysdeps/i386/i686/multiarch/strchr.S: New file.
35447         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
35448         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
35449         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
35450         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
35451         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
35452
35453 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
35454
35455         * sysdeps/x86_64/wcscmp.S: New file.
35456
35457         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
35458         wcscmp-c wcscmp-sse2
35459         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
35460         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
35461         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
35462         * wcsmbs/wcscmp.c: Allow renaming.
35463
35464 2011-09-05  David S. Miller  <davem@davemloft.net>
35465
35466         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
35467         stack slot, rather than the struct return pointer slot.
35468         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
35469         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
35470         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
35471         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
35472
35473 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
35474
35475         * po/ja.po: Update from translation team.
35476
35477         [BZ #13144]
35478         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
35479         kernel in 64-bit binaries.
35480
35481 2011-09-01  David S. Miller  <davem@davemloft.net>
35482
35483         * elf/elf.h (HWCAP_SPARC_*): Move to..
35484         * sysdeps/sparc/sysdep.h: this new file and add new values.
35485         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
35486         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
35487         _DL_HWCAP_COUNT to 24.
35488         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
35489         entries.
35490         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
35491         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
35492         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
35493         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
35494         instead of magic constants.
35495         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
35496
35497 2011-08-31  David S. Miller  <davem@davemloft.net>
35498
35499         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
35500         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
35501         Reimplement to do errno handling inline.
35502         (SYSCALL_ERROR_HANDLER): New macro.
35503         (__SYSCALL_STRING): Do not do errno handling in asm.
35504         (__CLONE_SYSCALL_STRING): Delete.
35505         (__INTERNAL_SYSCALL_STRING): Delete.
35506         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
35507         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
35508         (PSEUDO): Reimplement to do errno handling inline.
35509         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
35510         (SYSCALL_ERROR_HANDLER): New macro.
35511         (__SYSCALL_STRING): Do not do errno handling in asm.
35512         (__CLONE_SYSCALL_STRING): Delete.
35513         (__INTERNAL_SYSCALL_STRING): Delete.
35514         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
35515         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
35516         i386.
35517         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
35518         (inline_syscall*): Add 'err' argument.
35519         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
35520         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
35521         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
35522         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
35523
35524         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
35525         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
35526
35527 2011-08-30  Andreas Schwab  <schwab@redhat.com>
35528
35529         * elf/rtld.c (dl_main): Relocate objects in dependency order.
35530
35531 2011-08-29  Jiri Olsa <jolsa@redhat.com>
35532
35533         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
35534         directive.
35535
35536 2011-08-24  David S. Miller  <davem@davemloft.net>
35537
35538         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
35539
35540 2011-08-24  Andreas Schwab  <schwab@redhat.com>
35541
35542         * elf/Makefile: Add rules to build and run unload8 test.
35543         * elf/unload8.c: New file.
35544         * elf/unload8mod1.c: New file.
35545         * elf/unload8mod1x.c: New file.
35546         * elf/unload8mod2.c: New file.
35547         * elf/unload8mod3.c: New file.
35548
35549         * elf/dl-close.c (_dl_close_worker): Reset private search list if
35550         it wasn't used.
35551
35552 2011-08-23  David S. Miller  <davem@davemloft.net>
35553
35554         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
35555         subtract stack bias.
35556         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
35557         %sp not %fp in calculations.
35558         (_JMPBUF_UNWINDS_ADJ): Likewise.
35559
35560         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
35561         (aio_suspend): Call it to force an exception region around the
35562         AIO_MISC_WAIT() invocation.
35563
35564 2011-08-23  Andreas Schwab  <schwab@redhat.com>
35565
35566         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
35567         backslash.
35568
35569 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
35570
35571         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
35572         protection macro.
35573         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
35574         and <dl-machine.h>.
35575         (Elf64_FuncDesc): Remove.
35576
35577 2011-08-22  David S. Miller  <davem@davemloft.net>
35578
35579         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
35580         sigaltstack check, add missing cfi directives.
35581         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
35582         missing cfi directives, and sigaltstack handling.
35583
35584 2011-08-16  Andreas Schwab  <schwab@redhat.com>
35585
35586         [BZ #11724]
35587         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
35588         object is seen twice.
35589         * elf/dl-fini.c (_dl_sort_fini): Likewise.
35590
35591         * elf/Makefile (distribute): Add tst-initorder2.c.
35592         (tests): Add tst-initorder2.
35593         (modules-names): Add tst-initorder2a tst-initorder2b
35594         tst-initorder2c tst-initorder2d.  Add rules to build them.
35595         ($(objpfx)tst-initorder2.out): New rule.
35596         * elf/tst-initorder2.c: New file.
35597         * elf/tst-initorder2.exp: New file.
35598
35599 2011-08-22  Andreas Schwab  <schwab@redhat.com>
35600
35601         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
35602
35603         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
35604         dependencies back to end of function.
35605
35606         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
35607         $(elfobjdir)/ld.so.
35608
35609 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
35610
35611         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
35612         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
35613         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
35614         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
35615         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
35616         of __vdso_gettimeofday.
35617         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
35618         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
35619         attribute_hidden.
35620         (_libc_vdso_platform_setup): Remove initialization of
35621         __vdso_gettimeofday and __vdso_time.
35622
35623 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
35624
35625         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
35626         and fgetc_unlocked.
35627         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
35628         getc_unlocked.
35629
35630         * elf/dl-open.c (add_to_global): Report additions to the global scope
35631         for LD_DEBUG=scopes.
35632         (dl_open_worker): Also print scope of newly loaded dependencies.
35633         (_dl_show_scope): Indicate if there is no scope.
35634
35635         [BZ #13114]
35636         * stdio-common/Makefile (tests): Add bug24.
35637         * stdio-common/bug24.c: New file.
35638
35639 2011-08-19  Andreas Jaeger  <aj@suse.de>
35640
35641         [BZ #13114]
35642         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
35643         non-existant file when using close-on-exec mode.
35644
35645 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
35646
35647         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
35648         the very first instruction.
35649
35650         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
35651         the CFI state in the end.
35652         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
35653         inclusion of dl-trampoline.h.
35654         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
35655
35656 2011-08-19  Andreas Schwab  <schwab@redhat.com>
35657
35658         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
35659         expectations for long double.
35660
35661         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
35662         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
35663
35664 2011-08-14  David S. Miller  <davem@davemloft.net>
35665
35666         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
35667         artificual limit depends upon the system page size.
35668
35669 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
35670
35671         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
35672         * resolv/Makefile: Define CFLAGS-libresolv.
35673
35674 2011-08-17  Andreas Schwab  <schwab@redhat.com>
35675
35676         * nss/makedb.c (compute_tables): Make variables used in nested
35677         function static.
35678
35679 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
35680
35681         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
35682         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
35683         if buffer was too small.
35684
35685         * elf/pldd.c (main): Attach to all threads in the process.
35686         Rewrite /proc handling to use *at functions.
35687
35688 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
35689
35690         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
35691         specifies first scope to show.
35692         (dl_open_worker): Update callers.  Move printing scope of new
35693         object to before the relocation.
35694         * elf/rtld.c (dl_main): Update _dl_show_scope call.
35695         * sysdeps/generic/ldsodefs.h: Update declaration.
35696
35697         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
35698         string for the scope number.
35699
35700 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
35701
35702         * nscd/servicescache.c (cache_addserv): Make sure written is always
35703         initialized.
35704
35705 2011-08-14  Roland McGrath  <roland@hack.frob.com>
35706
35707         * sysdeps/i386/i486/bits/atomic.h
35708         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
35709         statement expression, so as to suppress "set but not used" warning.
35710         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
35711
35712         * string/strncat.c (STRNCAT): Use prototype definition.
35713
35714         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
35715         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
35716         -Iprograms here.
35717         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
35718         (localedef-modules): Add localedef.
35719         (locale-modules): Add locale.
35720
35721         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
35722         * elf/rtld.c (dl_main): Invert order of assignment in last change,
35723         to avoid a warning.
35724
35725 2011-08-14  David S. Miller  <davem@davemloft.net>
35726
35727         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
35728         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
35729
35730 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
35731
35732         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
35733         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
35734         * elf/rtld.c (dl_main): Set l_name of vDSO.
35735         Call _dl_show_scope when DL_DEBUG_SCOPES.
35736         (process_dl_debug): Recognize scopes flag and also set it for all.
35737         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
35738         Declare _dl_show_scope.
35739
35740         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
35741         (do_dlopen): Pass caller_dlopen to dl_open.
35742         (__libc_dlopen_mode): Initialize caller_dlopen.
35743
35744         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
35745         of libc.  Make tolower call locale-independent.  Optimize a bit by
35746         using isdigit instead of isalnum.
35747         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
35748
35749 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
35750
35751         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
35752         was a dependency or dynamically loaded.
35753
35754 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
35755
35756         * intl/l10nflist.c: Allow architecture-specific pop function.
35757         * sysdeps/x86_64/l10nflist.c: New file.
35758
35759         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
35760         classification.
35761
35762 2011-08-10  Andreas Schwab  <schwab@redhat.com>
35763
35764         * include/dirent.h: Add libc_hidden_proto for scandirat and
35765         scandirat64.  Don't declare __scandirat64.
35766         * dirent/scandirat.c: Add libc_hidden_def.
35767         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
35768         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
35769
35770 2011-08-10  David S. Miller  <davem@davemloft.net>
35771
35772         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
35773         enum.
35774         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
35775         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
35776         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
35777
35778 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
35779
35780         * Versions.def [libc]: Add GLIBC_2.15.
35781         * dirent/Makefile (routines): Add scandirat and scandirat64.
35782         * dirent/Versions [libc]: Export scandirat and scandirat64 for
35783         GLIBC_2.15.
35784         * dirent/dirent.h: Declare scandirat and scandirat64.
35785         * dirent/scandirat.c: New file.
35786         * dirent/scandirat64.c: New file.
35787         * sysdeps/wordsize-64/scandirat.c: New file.
35788         * sysdeps/wordsize-64/scandirat64.c: New file.
35789         * dirent/opendir.c: Define opendirat.
35790         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
35791         using scandirat.
35792         * dirent/scandir64.c: Adjust for scandir.c change.
35793         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
35794         __scandirat64, and __scandir_cancel_handler.
35795         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
35796         additional parameter and use openat instead of open (outside of ld.so).
35797         Add new __opendir as wrapper around __opendirat.
35798         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
35799         here without requiring old scandirat implementation.
35800
35801 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
35802
35803         * dirent/scandir.c (cancel_handler): Renamed to
35804         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
35805         defined.  Adjust users.
35806         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
35807         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
35808
35809 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
35810
35811         * string/test-string.h (IMPL): Use __STRING to expand name and then
35812         stringify it.
35813
35814         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
35815         of cleanups.
35816
35817 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
35818
35819         * string/Makefile: Update.
35820         (strop-tests): Append strncat.
35821         * string/test-wcscmp.c: New file.
35822         New comprehensive test for wcscmp.
35823         * string/test-strcmp.c: Update.
35824         (WIDE): New define.
35825
35826 2011-07-22  Andreas Schwab  <schwab@redhat.com>
35827
35828         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
35829         line.
35830
35831 2011-07-26  Andreas Schwab  <schwab@redhat.com>
35832
35833         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
35834         encoding to ACE if AI_IDN.
35835
35836 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
35837
35838         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
35839         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
35840
35841 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
35842
35843         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
35844         Fix overflow bug in strncat.
35845         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
35846
35847         * string/test-strncat.c: Update.
35848         Add new tests for checking overflow bugs.
35849
35850 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
35851
35852         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
35853         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
35854         * sysdeps/i386/i686/multiarch/strcat.S: New file.
35855         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
35856         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
35857         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
35858         * sysdeps/i386/i686/multiarch/strncat.S: New file.
35859         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
35860         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
35861
35862         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
35863         (USE_AS_STRCAT): Define.
35864         Add strcat and strncat support.
35865         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
35866
35867 2011-07-25  Andreas Schwab  <schwab@redhat.com>
35868
35869         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
35870         __n bigger than INT_MAX+1.
35871         (__strncmp_g): Likewise.
35872
35873 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
35874
35875         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
35876         * libio/stido.h: Likewise.
35877
35878         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
35879         (AF_NFC): Define.
35880         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
35881         (AF_NFC): Define.
35882
35883         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
35884         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
35885         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
35886         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
35887         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
35888
35889         [BZ #13021]
35890         * scripts/test-installation.pl: Don't expect libnss_test1 to be
35891         installed.
35892
35893         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
35894         typo.
35895         (_dl_x86_64_save_sse): Likewise.
35896
35897 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
35898
35899         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
35900         OSXSAVE.
35901         (_dl_x86_64_save_sse): Likewise.
35902
35903         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
35904
35905         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
35906
35907 2011-07-21  Andreas Schwab  <schwab@redhat.com>
35908
35909         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
35910         change.
35911         (_dl_x86_64_save_sse): Use correct AVX check.
35912
35913 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
35914
35915         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
35916         bug in strncpy/strncat.
35917         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
35918
35919 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
35920
35921         * string/tester.c (test_strcat): Add tests for different alignments
35922         of source and destination.
35923         (test_strncat): Likewise.
35924
35925 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
35926
35927         [BZ #12852]
35928         * posix/glob.c (glob): Check passed in values before using them in
35929         expressions to avoid some overflows.
35930         (glob_in_dir): Likewise.
35931
35932         [BZ #13007]
35933         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
35934         check for AVX enablement so that we don't crash with old kernels and
35935         new hardware.
35936         * elf/tst-audit4.c: Add same checks here.
35937         * elf/tst-audit6.c: Likewise.
35938
35939         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
35940
35941 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
35942
35943         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
35944
35945 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
35946
35947         * po/cs.po: Update from translation team.
35948         * po/bg.po: Likewise.
35949
35950 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
35951
35952         * misc/sys/cdefs.h: Add support for const attribute.
35953         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
35954         to gnu_dev_{major,minor,makedev} functions.
35955
35956 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
35957
35958         * intl/dcigettext.c (get_output_charset): Add missing bracket.
35959
35960 2011-07-20  Andreas Schwab  <schwab@redhat.com>
35961
35962         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
35963         strlen results.
35964
35965 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
35966
35967         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
35968         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
35969         register in order to avoid conflicts with the soft frame pointer
35970         being held in r11 when necessary.
35971         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
35972         (INTERNAL_VSYSCALL_NCS): Likewise.
35973
35974 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
35975
35976         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
35977         * elf/dl-fini.c (_dl_fini): Adjust caller.
35978         * elf/dl-close.c (_dl_close_worker): Likewise.
35979         * sysdeps/generic/ldsodefs.h: Adjust declaration.
35980
35981 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
35982
35983         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
35984         "aux_cache->nlibs < 0".
35985
35986         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
35987         in the reload-count case.
35988
35989 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
35990
35991         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
35992         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
35993         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
35994         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
35995         * sysdeps/x86_64/multiarch/strcat.S: New file.
35996         * sysdeps/x86_64/multiarch/strncat.S: New file.
35997         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
35998         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
35999         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
36000         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
36001         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
36002         (USE_AS_STRCAT): Define.
36003         Add strcat and strncat support.
36004         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
36005         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
36006         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
36007         * string/strncat.c: Update.
36008         (USE_AS_STRNCAT): Define.
36009         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
36010         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
36011         and i7.
36012         * sysdeps/x86_64/multiarch/init-arch.h
36013         (bit_Prefer_PMINUB_for_stringop): New.
36014         (index_Prefer_PMINUB_for_stringop): Likewise.
36015         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
36016         bit_Prefer_PMINUB_for_stringop.
36017
36018 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
36019
36020         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
36021         buffer64.
36022         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
36023         of casting of buffer.
36024         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
36025         buffer32 and buffer64.
36026         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
36027         writes instead of casting of buffer.
36028         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
36029         buffer32.
36030         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
36031         casting of buffer.
36032
36033 2011-07-19  Andreas Schwab  <schwab@redhat.com>
36034
36035         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
36036
36037 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
36038
36039         * nscd/nscd.c (termination_handler): Don't do anything for a database
36040         if it has not yet been initialized.
36041
36042 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
36043
36044         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
36045
36046 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
36047
36048         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
36049
36050 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
36051
36052         * po/nl.po: Update from translation team.
36053         * po/sv.po: Likewise.
36054
36055 2011-07-16  Roland McGrath  <roland@hack.frob.com>
36056
36057         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
36058         now disallowed by GCC.
36059
36060         * configure.in (use-default-link): Default to yes if a test -shared
36061         link meets our qualifications.
36062         * configure: Regenerated.
36063
36064         * config.make.in (output-format): New variable.
36065         * configure.in: Check for ld --print-output-format support.
36066         * configure: Regenerated.
36067         * Makerules ($(common-objpfx)format.lds)
36068         [$(output-format) != unknown]: Just use $(output-format),
36069         instead of the linker-script munging.
36070
36071 2011-07-14  Roland McGrath  <roland@hack.frob.com>
36072
36073         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
36074         of $(common-objpfx)shlib.lds.
36075         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
36076
36077         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
36078         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
36079
36080         * configure.in (-z relro check): Adjust test code to add a large
36081         writable data section after it.
36082         * configure: Regenerated.
36083
36084 2011-07-11  Roland McGrath  <roland@hack.frob.com>
36085
36086         * configure.in (-z relro check): Fix test code to make the variable
36087         truly const.
36088         * configure: Regenerated.
36089
36090 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
36091
36092         * nscd/nscd.h (struct traced_file): Define.
36093         (struct database_dyn): Remove inotify_descr, reset_res, and filename
36094         elements.  Add traced_files.
36095         (inotify_fd): Declare.
36096         (register_traced_file): Declare.
36097         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
36098         (inotify_fd): Export.
36099         (resolv_conf_descr): Remove.
36100         (nscd_init): Move inotify descriptor creation to main.
36101         Don't register files for notification here.
36102         (register_traced_file): New function.
36103         (invalidate_cache): Don't use reset_res to determine whether to call
36104         res_init, go through the list of registered files.
36105         (main_loop_poll): The inotify descriptors are now stored in the
36106         structures for the traced files.
36107         (main_loop_epoll): Likewise
36108         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
36109         to __nss_disable_nscd.
36110         * nscd/cache.c (prune_cache): There is no single inotify descriptor
36111         for a database anymore.  Check the records for all the registered
36112         files instead.
36113         * nss/Makefile (libnss_files-routines): Add files-init.
36114         (libnss_db-routines): Add db-init.
36115         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
36116         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
36117         * nss/nss_db/db-init.c: New file.
36118         * nss/nss_files/files-init.c: New file.
36119         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
36120         __nss_lookup_function.
36121         (__nss_lookup_function): Call nss_load_library.
36122         (nss_load_all_libraries): New function.
36123         (__nss_disable_nscd): Take parameter with callback function for files
36124         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
36125         used for the cached services.
36126         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
36127         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
36128         options for features to all the files in nscd.
36129
36130         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
36131
36132 2011-07-10  Roland McGrath  <roland@hack.frob.com>
36133
36134         * csu/elf-init.c (__libc_csu_init): Comment typo.
36135
36136 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
36137
36138         * po/pl.po: Update from translation team.
36139         * po/ja.po: Likewise.
36140         * po/ru.po: Likewise.
36141         * po/ko.po: Likewise.
36142         * po/fr.po: Likewise.
36143
36144 2011-07-09  Roland McGrath  <roland@hack.frob.com>
36145
36146         * configure.in (.ctors/.dtors header and trailer check):
36147         Use an empirical test on a built program.
36148         * configure: Regenerated.
36149
36150         * configure.in (-z relro check): Use an empirical test on a built DSO.
36151         Detect, but do not require, on ia64.
36152         * configure: Regenerated.
36153
36154         * configure.in (READELF): Find it with AC_CHECK_TOOL.
36155         Update tests that use readelf to use $READELF instead.
36156         * configure: Regenerated.
36157
36158 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
36159
36160         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
36161         if the result is not used.
36162
36163 2011-07-05  Andreas Jaeger  <aj@suse.de>
36164
36165         [BZ#9696]
36166         * stdlib/tst-strtod.c: Add testcase.
36167
36168 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
36169
36170         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
36171         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
36172         The latter has a higher limit.  Take additional parameter to pass to
36173         the new function.
36174         (__pathconf): Pass file to __statfs_link_max.
36175         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
36176         __statfs_link_max.
36177         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
36178         __statfs_link_max.
36179
36180         [BZ #12868]
36181         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
36182         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
36183         Handle Lustre.
36184         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
36185         (__statfs_filesize_max): Likewise.
36186         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
36187
36188 2011-07-05  Andreas Jaeger  <aj@suse.de>
36189
36190         * resolv/res_comp.c (dn_skipname): Remove unused variable.
36191
36192 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
36193
36194         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
36195         `status' variable.
36196         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
36197         Likewise.
36198
36199 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
36200
36201         * Makefile (strop-tests): Add strncat.
36202         * string/test-strncat.c: New file.
36203
36204 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
36205
36206         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
36207
36208 2011-06-21  Andreas Jaeger  <aj@suse.de>
36209
36210         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
36211         Copy rule from iconvdata/Makefile.
36212
36213 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
36214
36215         [BZ #12922]
36216         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
36217         but no long options are defined, just return 'W'.
36218
36219 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
36220
36221         [BZ #9696]
36222         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
36223
36224 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
36225
36226         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
36227         netgroups to read.
36228         (innetgr): Likewise.
36229
36230 2011-07-05  Roland McGrath  <roland@hack.frob.com>
36231
36232         * config.make.in (install_root): Default to $(DESTDIR).
36233
36234 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
36235
36236         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
36237
36238 2011-07-02  Roland McGrath  <roland@hack.frob.com>
36239
36240         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
36241
36242         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
36243         containing directory rather than embedding absolute directory names.
36244
36245         * scripts/check-local-headers.sh: Rewritten using awk.
36246         Match by word, not by line.  Print error messages for matches.
36247         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
36248
36249         * Makerules [shlib-lds-flags empty]:
36250         ($(common-objpfx)libc_pic.opts): New target.
36251         ($(common-objpfx)libc_pic.os.clean): New target.
36252         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
36253
36254         * config.make.in (OBJCOPY): New variable.
36255         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
36256         * configure: Regenerated.
36257
36258         * config.make.in (use-default-link): New variable.
36259         * configure.in (use_default_link): Grok --with-default-link to set it.
36260         * configure: Regenerated.
36261         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
36262         (shlib-lds, shlib-lds-flags): Define to empty.
36263
36264         * Makerules (shlib-lds): New variable.
36265         (shlib-lds-flags): New variable.
36266         (build-shlib, build-moduile, build-module-asneeded): Use it.
36267         ($(common-objpfx)libc.so): Use $(shlib-lds).
36268         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
36269         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
36270
36271         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
36272         DT_FLAGS/DT_FLAGS_1 with zero flags.
36273
36274         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
36275         linker script munging.
36276
36277 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
36278
36279         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
36280         as 128-bit value.
36281         * crypt/sha512.c (sha512_process_block): Perform total addition using
36282         128-bit if possible.
36283         (__sha512_finish_ctx): Likewise.
36284         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
36285         as 64-bit value.
36286         * crypt/sha256.c (SWAP64): Define.
36287         (sha256_process_block): Perform total addition using 64-bit if
36288         possible.
36289         (__sha256_finish_ctx): Likewise.
36290
36291 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
36292
36293         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
36294         * nscd/initgrcache.c (addinitgroupsX): Likewise.
36295         * nscd/hstcache.c (cache_addhst): Likewise.
36296         * nscd/grpcache.c (cache_addgr): Likewise.
36297         * nscd/aicache.c (addhstaiX): Likewise
36298         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
36299
36300 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
36301
36302         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
36303         * nscd/initgrcache.c (addinitgroupsX): Likewise.
36304         * nscd/hstcache.c (cache_addhst): Likewise.
36305         * nscd/grpcache.c (cache_addgr): Likewise.
36306         * nscd/aicache.c (addhstaiX): Likewise
36307
36308 2011-07-01  Andreas Schwab  <schwab@redhat.com>
36309
36310         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
36311         domain only when needed.
36312
36313 2011-06-30  Andreas Schwab  <schwab@redhat.com>
36314
36315         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
36316         is always restored.
36317
36318 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
36319
36320         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
36321         are re-adding the entry.
36322         * nscd/servicescache.c (cache_addserv): Likewise.
36323
36324 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
36325
36326         * sysdeps/generic/dl-irel.h: fix protection against multiple
36327         inclusions.
36328         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
36329
36330 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
36331
36332         [BZ #12935]
36333         * malloc/memusage.sh: Fix quoting in message.
36334         * debug/xtrace.sh: Likewise.
36335
36336         * configure.in: Remove support for --experimental-malloc option, make
36337         it the default.
36338         * config.make.in: Likewise.
36339         * malloc/Makefile: Likewise.
36340
36341 2011-06-27  Andreas Schwab  <schwab@redhat.com>
36342
36343         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
36344         two-byte characters.
36345
36346 2011-06-27  Roland McGrath  <roland@hack.frob.com>
36347
36348         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
36349         AC_CACHE_CHECK invocation.
36350         * configure: Regenerated.
36351
36352         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
36353
36354 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
36355
36356         [BZ #12350]
36357         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
36358         bit from old_res_options.
36359
36360         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
36361
36362         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
36363         value type for setfct.
36364
36365 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
36366
36367         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
36368         __gettimeofday instead of gettimeofday.
36369
36370 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
36371
36372         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
36373
36374 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
36375
36376         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
36377
36378         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
36379         info.
36380
36381 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
36382
36383         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
36384         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
36385         strcpy-sse2-unaligned strncpy-sse2-unaligned
36386         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
36387         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
36388         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
36389         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
36390         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
36391         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
36392         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
36393         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
36394         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
36395         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
36396         (STRCPY): Support SSE2 and SSSE3 versions.
36397
36398 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
36399
36400         [BZ #12874]
36401         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
36402         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
36403         kernels which artificially limit size of requests.
36404
36405 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
36406
36407         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
36408         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
36409         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
36410         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
36411         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
36412         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
36413         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
36414         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
36415         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
36416         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
36417         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
36418         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
36419         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
36420         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
36421         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
36422         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
36423         Enable unaligned load optimization for Intel Core i3, i5 and i7
36424         processors.
36425         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
36426         Define.
36427         (index_Fast_Unaligned_Load): Define.
36428         (HAS_FAST_UNALIGNED_LOAD): Define.
36429
36430 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
36431
36432         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
36433
36434 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
36435
36436         [BZ #12907]
36437         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
36438         until it is clear that the information is realy needed.
36439         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
36440
36441 2011-06-22  Andreas Schwab  <schwab@redhat.com>
36442
36443         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
36444
36445 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
36446
36447         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
36448         /sys/devices/system/cpu/online if it is usable.
36449
36450         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
36451         reading the information from the /proc filesystem to once a second.
36452
36453 2011-06-21  Andreas Jaeger  <aj@suse.de>
36454
36455         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
36456         NULL after inclusion of kernel headers.
36457
36458 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
36459
36460         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
36461         calls to internal_setent.
36462
36463         [BZ #12885]
36464         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
36465         addresses using gethostbyname4_r ignore IPv4 addresses.
36466
36467         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
36468         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
36469
36470         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
36471
36472 2011-06-20  David S. Miller  <davem@davemloft.net>
36473
36474         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
36475         inclusions.
36476         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
36477
36478         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
36479         (elf_irel): Use it.
36480         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
36481         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
36482         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
36483         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
36484         * sysdeps/x86_64/dl-irel.h: Likewise.
36485
36486         * elf/dl-runtime.c: Use elf_ifunc_invoke.
36487         * elf/dl-sym.c: Likewise.
36488
36489 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
36490
36491         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
36492         need to dereference resplen2.
36493
36494 2011-06-14  Andreas Schwab  <schwab@redhat.com>
36495
36496         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
36497
36498 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
36499
36500         * Makeconfig: Define vardbdir and inst_vardbdir.
36501         * nss/Makefile: Add rules to install db-Makefile.
36502
36503         * nss/nss_db/db-XXX.c: Cleanup.
36504
36505         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
36506         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
36507         GLIBC_PRIVATE.
36508         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
36509         * nss/makedb.c: Implement -g option to specify that value strings
36510         are generated and should not be added to table iterated over for
36511         get*ent calls.
36512         * nss/nss_db/db-initgroups.c: New file.
36513
36514         * nss/getent.c: Add support for initgroups lookups through getgrouplist
36515         interface.
36516
36517         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
36518         (internal_getgrouplist): Adjust to name change.
36519         Update use_initgroups_entry if this is not the first call.
36520         * nss/databases.def: Add initgroups entry.
36521
36522         * nss/makedb.c (compute_tables): Check result of multiple hash table
36523         sizes to minimize maximum chain length.
36524
36525 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
36526
36527         * Versions.def: Add entry for libnss_db.
36528         * shlib-versions: Likewise.
36529         * nss/Makefile: Add rules to build libnss_db.
36530         * nss/Versions: Add libnss_db information.  Organize libnss_files
36531         entries better.
36532         * nss/db-Makefile: Add gshadow support.  Change rules for the new
36533         makedb progra.  Some minor improvements to generate smaller files.
36534         * nss/nss_db/nss_db.h: Move NSS database header data structures to
36535         here from...
36536         * nss/makedb.c: ...here.
36537         Improve database format to be smaller and require less memory at
36538         runtime.
36539         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
36540         db anymore.
36541         * nss/nss_db/db-netgrp.c: Likewise.
36542         * nss/nss_db/db-open.c: Likewise.
36543         * nss/nss_files/flies-XXX.x: Adjust comments.
36544         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
36545         * nss/nss_files/files-grp.c: Likewise.
36546         * nss/nss_files/files-hosts.c: Likewise.
36547         * nss/nss_files/files-network.c: Likewise.
36548         * nss/nss_files/files-proto.c: Likewise.
36549         * nss/nss_files/files-pwd.c: Likewise.
36550         * nss/nss_files/files-rpc.c: Likewise.
36551         * nss/nss_files/files-service.c: Likewise.
36552         * nss/nss_files/files-sgrp.c: Likewise.
36553         * nss/nss_files/files-spwd.c: Likewise.
36554         * nss/nss_db/db-alias.c: Removed.
36555         * nss/nss_db/dummy-db.h: Removed.
36556
36557 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
36558
36559         * nss/makedb.c: Rewritten to not use database library.
36560         * nss/Makefile: Update to build new makedb program.
36561
36562 2011-06-14  Andreas Jaeger  <aj@suse.de>
36563
36564         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
36565         memset declaration.
36566
36567 2011-06-10  Andreas Schwab  <schwab@redhat.com>
36568
36569         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
36570         tmpbuf.
36571
36572 2011-06-10  Roland McGrath  <roland@hack.frob.com>
36573
36574         * Makerules (shlib.lds): Fail if the linker script comes out empty.
36575         * elf/Makefile ($(objpfx)ld.so): Likewise.
36576
36577         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
36578         Don't list ld.so twice in dependencies.
36579
36580         * posix/bug-regex31.c: Include <stdlib.h>.
36581
36582         * nscd/hstcache.c (cache_addhst): Remove unused variable.
36583
36584         * nis/nss_compat/compat-spwd.c
36585         (getspent_next_nss_netgr): Remove unused variable.
36586         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
36587
36588         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
36589         nonmembers" output to use the right array.
36590
36591         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
36592
36593         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
36594
36595         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
36596         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
36597         * catgets/gencat.c (read_input_file): Likewise.
36598         * locale/programs/locarchive.c (enlarge_archive): Likewise.
36599
36600         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
36601         variable definition inside #if's controlling its use.
36602
36603         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
36604
36605         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
36606
36607         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
36608
36609         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
36610         unreachable code.
36611
36612         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
36613
36614         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
36615         * configure: Regenerated.
36616
36617         * Makerules: Revert last change.
36618         * elf/Makefile: Likewise.
36619
36620 2011-06-09  Roland McGrath  <roland@hack.frob.com>
36621
36622         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
36623         * elf/Makefile ($(objpfx)librtld.os): Likewise.
36624         (reloc-link): Likewise.
36625
36626 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
36627
36628         * elf/Makefile: Add rules to build pldd.
36629         * elf/pldd.c: New file.
36630         * elf/pldd-xx.c: New file.
36631
36632 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
36633
36634         * version.h: Update for 2.15 development version.
36635
36636 2011-06-07  David S. Miller  <davem@davemloft.net>
36637
36638         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
36639         ifuncs.
36640         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
36641         elf_machine_lazy_rel): Likewise.
36642         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
36643         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
36644         elf_machine_lazy_rel): Likewise.
36645         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
36646         dl_hwcap via passed in argument.
36647         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
36648         Likewise.
36649
36650 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
36651
36652         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
36653
36654 2011-06-06  Roland McGrath  <roland@hack.frob.com>
36655
36656         [BZ #12849]
36657         * manual/fdl-1.1.texi: New file, verbatim from:
36658         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
36659         * manual/lgpl-2.1.texi: New file, verbatim from:
36660         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
36661         * manual/Makefile (licenses): New variable, list those new file names.
36662         (texis): Use it.
36663         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
36664
36665         * manual/fdl.texi: File removed.
36666         * manual/lesser.texi: File removed.
36667         * manual/libc.texinfo (Copying, Documentation License):
36668         Use new @include file names, put @appendix directive before @include.
36669
36670 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
36671
36672         [BZ #12841]
36673         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
36674         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
36675         (mq_open): Add __NTH.
36676
36677 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
36678
36679         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
36680         Assume Intel Core i3/i5/i7 processor if AVX is available.
36681
36682 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
36683
36684         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
36685         typo.
36686
36687 2011-05-31  Andreas Schwab  <schwab@redhat.com>
36688
36689         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
36690         memory.  Use alloca_account.  Fix memory leak when retrying.
36691
36692 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
36693
36694         * version.h (RELEASE): Bump for 2.14 release.
36695         * include/features.h (__GLIBC_MINOR__): Bump to 14.
36696
36697         * config.make.in (RANLIB): Remove entry.
36698
36699 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
36700
36701         * po/Makefile (po-sed-cmd): Add ksh to extensions.
36702         (libc.pot): Work around missing support for .ksh extension in xgettext.
36703
36704         [BZ #12684]
36705         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
36706         if both request failed.
36707         (send_dg): In case of server errors clear resplen or *resplen2.
36708
36709         [BZ #12454]
36710         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
36711         when there are multiple maps.
36712         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
36713         (_dl_fini): Remove test here.
36714
36715         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
36716
36717 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
36718
36719         [BZ #12350]
36720         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
36721         bit from old_res_options.
36722         (gaih_inet): Likewise.
36723
36724         [BZ #11099]
36725         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
36726         as signed.
36727
36728         * resolv/res_init.c (res_setoptions): Make the code more compact.
36729
36730         [BZ #11558]
36731         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
36732         set RES_USEVC.
36733
36734         [BZ #11634]
36735         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
36736
36737         * malloc/malloc.h: Mark malloc hook variables as deprecated.
36738
36739         [BZ #11781]
36740         * malloc/malloc.h: Declare malloc hook variables as volatile.
36741
36742         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
36743         in last patch.
36744
36745         [BZ #11799]
36746         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
36747         raise in the comment.
36748         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
36749         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
36750         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
36751
36752 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
36753
36754         [BZ #12811]
36755         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
36756         grow the buffers more if it already has to be sufficient.
36757         (build_wcs_upper_buffer): Likewise.
36758         * posix/regexec.c (check_matching): Likewise.
36759         (clean_state_log_if_needed): Likewise.
36760         (extend_buffers): Don't enlarge buffers beyond size of the input
36761         buffer.
36762         Patches mostly by Emil Wojak <emil@wojak.eu>.
36763         * posix/bug-regex32.c: New file.
36764         * posix/Makefile (tests): Add bug-regex32.
36765
36766         * locale/findlocale.c (_nl_find_locale): Return right away if
36767         _nl_explode_name failed.
36768         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
36769
36770         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
36771
36772         * debug/xtrace.sh: Unify messages.
36773         * malloc/memusage.sh: Likewise.
36774
36775         [BZ #12813]
36776         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
36777         time symbol from vDSO.  Substitute with vsyscall if not available.
36778         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
36779         __vdso_time.
36780
36781         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
36782         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
36783         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
36784         Add sendmmsg and internal_sendmmsg.
36785         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
36786         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
36787         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
36788
36789         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
36790         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
36791         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
36792
36793 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
36794
36795         [BZ #12813]
36796         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
36797         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
36798         available.
36799         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
36800         __vdso_getcpu.
36801
36802         [BZ #12814]
36803         * iconvdata/Makefile (tests): Add bug-iconv9.
36804         * iconvdata/bug-iconv9.c: New file.
36805
36806 2011-05-27  Andreas Schwab  <schwab@redhat.com>
36807
36808         [BZ #12814]
36809         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
36810
36811 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
36812
36813         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
36814         (struct user_regs_struct): Change intcs field back to cs.
36815
36816 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
36817
36818         * po/ja.po: Update from translation team.
36819
36820 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
36821
36822         [BZ #12795]
36823         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
36824         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
36825
36826 2011-05-20  Andreas Schwab  <schwab@redhat.com>
36827
36828         * stdlib/longlong.h: Update from GCC.
36829
36830 2011-05-23  Andreas Schwab  <schwab@redhat.com>
36831
36832         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
36833         parameter name.
36834         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
36835         Add parameter name.
36836         (__sysconf): Pass it down.
36837
36838 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
36839
36840         [BZ #12671]
36841         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
36842         some situations.
36843         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
36844         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
36845         add in in __libc_use_alloca calls.  Adjust callers.
36846         (glob): Use malloc in some situations.
36847
36848         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
36849         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
36850         pltexit.
36851
36852 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
36853
36854         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
36855         and CLOCK_BOOTTIME_ALARM.
36856
36857         [BZ #12782]
36858         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
36859         is returned.
36860
36861         * string/_strerror.c (__strerror_r): Print negative errors as signed
36862         numbers.
36863
36864         [BZ #12777]
36865         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
36866         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
36867         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
36868
36869         * configure.in: Fix typo in redirection and correct removal of test
36870         files in two cases.
36871
36872         [BZ #12788]
36873         * locale/setlocale.c (new_composite_name): Fix test to check for
36874         identical name of all categories.
36875
36876         [BZ #12792]
36877         * libio/filedoalloc.c (local_isatty): New function.
36878         (_IO_file_doallocate): Use local_isatty.
36879         * stdio-common/perror.c (perror): In case a new stream is used
36880         forward the stream error.
36881         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
36882         error flag.
36883
36884 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
36885
36886         [BZ #11869]
36887         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
36888         alloca.
36889         * include/alloca.h (extend_alloca_account): Define.
36890
36891         [BZ #11857]
36892         * posix/regex.h: Fix comments with documentation of user-accessible
36893         fields after compilation and describe correct free'ing of pattern
36894         after re_compile_pattern.
36895         Patch by Reuben Thomas <rrt@sc3d.org>.
36896
36897 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
36898
36899         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
36900         and -mno-altivec to prevent the compiler from using Altivec and/or
36901         VSX instructions when the corresponding registers are not available.
36902
36903 2011-05-19  Andreas Schwab  <schwab@redhat.com>
36904
36905         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
36906
36907 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
36908
36909         * libio/freopen.c (freopen): Use __dup2, not dup2.
36910         * libio/freopen64.c (freopen64): Likewise.
36911
36912 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
36913
36914         [BZ #12775]
36915         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
36916         * math/Makefile (tests): Add test-powl.
36917         (CFLAGS-test-powl.c): Define.
36918         * math/test-powl.c: New file.
36919
36920 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
36921
36922         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
36923
36924 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
36925
36926         [BZ #11837]
36927         * iconvdata/gb18030.c: Update to GB18020-2005.
36928
36929 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
36930
36931         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
36932         RE_SYNTAX_POSIX_AWK): Update to match recent development.
36933         Patch by Aharon Robbins <arnold@skeeve.com>.
36934
36935         [BZ #11892]
36936         * stdlib/putenv.c (putenv): Don't always create copy of the variable
36937         on the stack.
36938
36939         [BZ #11895]
36940         * misc/pselect.c (__pselect): Handle timeout value errors hidden
36941         through underflows.
36942
36943         [BZ #12766]
36944         * misc/error.c (error_at_line): Ensure file_name and old_file_name
36945         point to strings before performing equality test for error_one_per_line
36946         mode.
36947
36948         [BZ #11697]
36949         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
36950
36951         [BZ #11820]
36952         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
36953         (struct user_fpregs_struct): Avoid __uint*_t types.
36954
36955         [BZ #6420]
36956         * malloc/mtrace.c (tr_where): Add additional parameter to point to
36957         symbol info.  Use it instead of calling _dl_addr locally.
36958         (lock_and_info): New function.
36959         (tr_freehook): Call lock_and_info and pass symbol info as additional
36960         parameter to tr_where.
36961         (tr_mallochook): Likewise.
36962         (tr_reallochook): Likewise.
36963         (tr_memalignhook): Likewise.
36964
36965         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
36966         used and couldn't be at all thread-safe.
36967
36968 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
36969
36970         * libio/freopen.c (freopen): Don't close old file descriptor
36971         before the new one is opened.  Instead dup the new file descriptor
36972         to the old one after the new stream is created.
36973         * libio/freopen64.c (freopen64): Likewise.
36974         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
36975         * libio/fileops.c (_IO_new_file_close_it): Handle new
36976         _IO_FLAGS2_NOCLOSE flag.
36977         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
36978         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
36979         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
36980         _IO_FLAGS2_NOCLOSE flag.
36981         * include/unistd.h: Add hidden_proto for dup3.
36982         Define __have_dup3.
36983         * io/dup3.c: Define hidden symbol.
36984         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
36985
36986         [BZ #7101]
36987         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
36988         when an incomplete long option is used.
36989         * posix/tst-getopt_long1.c: New file.
36990         * posix/Makefile (tests): Add tst-getopt_long1.
36991
36992         [BZ #10138]
36993         * scripts/config.guess: Update from autoconf-2.68.
36994         * scripts/config.sub: Likewise.
36995
36996         [BZ #10157]
36997         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
36998         tests into ...
36999         (has_cpuclock): ...this.  New function.
37000         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
37001         macro here based on has_cpuclock code.
37002
37003         [BZ #10149]
37004         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
37005         First byte (not low byte) is now always NUL.
37006         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
37007
37008         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
37009         Use non-cancelable interfaces.
37010
37011         [BZ #9809]
37012         * locale/iso-639.def: Add entry for Sorani.
37013
37014         [BZ #11901]
37015         * include/stdlib.h: Move include protection to the right place.
37016         Define abort_msg_s.  Declare __abort_msg with it.
37017         * stdlib/abort.c (__abort_msg): Adjust type.
37018         * assert/assert.c (__assert_fail_base): New function.  Majority
37019         of code from __assert_fail.  Allocate memory for __abort_msg with
37020         mmap.
37021         (__assert_fail): Now call __assert_fail_base.
37022         * assert/assert-perr.c: Remove bulk of implementation.  Use
37023         __assert_fail_base.
37024         * include/assert.hL Declare __assert_fail_base.
37025         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
37026         mmap.
37027         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
37028
37029 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
37030
37031         [BZ #11952]
37032         [BZ #12453]
37033         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
37034         until all modules are registered in the DTV.
37035         * elf/Makefile: Add rules to build and run tst-tls19.
37036         * elf/tst-tls19.c: New file.
37037         * elf/tst-tls19mod1.c: New file.
37038         * elf/tst-tls19mod2.c: New file.
37039         * elf/tst-tls19mod3.c: New file.
37040         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
37041
37042         [BZ #12083]
37043         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
37044         correctly.
37045
37046         [BZ #12601]
37047         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
37048         two-byte sequence errors.
37049         * iconvdata/Makefile (tests): Add bug-iconv8.
37050         * iconvdata/bug-iconv8.c: New file.
37051
37052         [BZ #12626]
37053         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
37054         buf2 definition.
37055
37056         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
37057
37058         [BZ #12432]
37059         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
37060         (dummy_getcfa): New function.
37061         (init): Get _Unwind_GetCFA address, use dummy if not found.
37062         (backtrace_helper): In recursion check, also check whether CFA changes.
37063         (__backtrace): Completely initialize arg.
37064
37065         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
37066         storing incomplete byte sequence in state object.  Avoid testing for
37067         guaranteed too small input if we know there is enough data available.
37068
37069 2011-05-11  Andreas Schwab  <schwab@redhat.com>
37070
37071         * Makeconfig (+link-pie): Indent.
37072         * Rules (binaries-pie): Define if $(have-fpie) and
37073         $(build-shared).
37074         (binaries-shared): Also filter out $(binaries-pie).
37075         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
37076         * nscd/Makefile (others-pie): Add nscd.
37077         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
37078         ($(objpfx)nscd): Remove command override.
37079         * login/Makefile (others-pie): Add pt_chown.
37080         ($(objpfx)pt_chown): Remove command override.
37081         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
37082         remove command overrides.
37083
37084 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
37085
37086         * libio/tst_putwc.c: Fix error messages.
37087
37088         [BZ #12724]
37089         * libio/fileops.c (_IO_new_file_close_it): Always flush when
37090         currently writing and seek to current position when not.
37091         * libio/Makefile (tests): Add bug-fclose1.
37092         * libio/bug-fclose1.c: New file.
37093
37094 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
37095
37096         [BZ #12511]
37097         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
37098         don't set DF_1_NODELETE here.
37099         (do_lookup_x): When entering new entry test for copy relocation
37100         and if necessary set DF_1_NODELETE flag.
37101         * elf/tst-unique4.cc: New file.
37102         * elf/tst-unique4.h: New file.
37103         * elf/tst-unique4lib.cc: New file.
37104         * elf/Makefile: Add rules to build and run tst-unique4.
37105         Patch by Piotr Bury <pbury@goahead.com>.
37106
37107 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
37108
37109         [BZ #12052]
37110         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
37111
37112         [BZ #12625]
37113         * misc/mntent_r.c (addmntent): Flush the stream after the output
37114
37115         [BZ #12393]
37116         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
37117         (is_trusted_path_normalize): Skip initial colon.  Append slash
37118         to empty buffer.  Duplicate is_trusted_path code but allow
37119         constructed patch to be prefix.
37120         (is_dst): Allow $ORIGIN followed by /.
37121         (_dl_dst_substitute): Correct clearing of check_for_trusted.
37122         Correct testing of result of is_trusted_path_normalize
37123         (decompose_rpath): Fix warning.
37124
37125 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
37126
37127         [BZ #11257]
37128         * grp/initgroups.c (internal_getgrouplist): When we found the service
37129         list through the initgroups entry in nsswitch.conf do not always
37130         continue on a successful lookup.  Don't always use the
37131         __nss_group_database value if it is set.
37132         * nss/nsswitch.conf (initgroups): Change action for successful db
37133         lookup to continue for compatibility.
37134
37135 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
37136
37137         [BZ #11532]
37138         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
37139         and CP774 modules.
37140         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
37141         and CP774 modules.
37142         * iconvdata/tst-tables.sh: Likewise.
37143         * iconvdata/cp770.c: New file.
37144         * iconvdata/cp771.c: New file.
37145         * iconvdata/cp772.c: New file.
37146         * iconvdata/cp773.c: New file.
37147         * iconvdata/cp774.c: New file.
37148         * iconvdata/testdata/CP770: New file.
37149         * iconvdata/testdata/CP770..UTF8: New file.
37150         * iconvdata/testdata/CP771: New file.
37151         * iconvdata/testdata/CP771..UTF8: New file.
37152         * iconvdata/testdata/CP772: New file.
37153         * iconvdata/testdata/CP772..UTF8: New file.
37154         * iconvdata/testdata/CP773: New file.
37155         * iconvdata/testdata/CP773..UTF8: New file.
37156         * iconvdata/testdata/CP774: New file.
37157         * iconvdata/testdata/CP774..UTF8: New file.
37158
37159         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
37160         END CHARMAP line.
37161         * iconvdata/gen-8bit-gap.sh: Likewise.
37162         * iconvdata/gen-8bit.sh: Likewise.
37163
37164         * locale/iso-639.def: Add ary entry.
37165
37166         [BZ #11258]
37167         * locale/C-translit.h.in: Add U20A1 transliteration.
37168
37169         [BZ #12178]
37170         * locale/iso-639.def: Add wae entry.
37171         Patch by Kevin Bortis <bortis@translate-wae.ch>.
37172
37173         [BZ #12545]
37174         * locale/programs/localedef.c (construct_output_path): Use ssize_t
37175         for n.
37176
37177         [BZ #12711]
37178         * locale/C-translit.h.in: Add entry for U20B9.
37179         Patch by pravin.d.s@gmail.com.
37180
37181 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
37182
37183         [BZ #12713]
37184         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
37185         ENAMETOOLONG use generic getcwd.
37186         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
37187         in rtld.  Use *stat64.
37188         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
37189         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
37190         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
37191         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
37192         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
37193         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
37194         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
37195         __fstatat64 macros.
37196         * include/dirent.h: Add libc_hidden_proto for rewinddir.
37197         * dirent/rewinddir.c: Add libc_hidden_def.
37198         * sysdeps/mach/hurd/rewinddir.c: Likewise.
37199         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
37200
37201         * include/dirent.h (__alloc_dir): Add flags parameter.
37202         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
37203         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
37204         __alloc_dir.
37205         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
37206         from fdopendir if O_CLOEXEC is already set.
37207
37208 2011-03-15  Alan Modra  <amodra@gmail.com>
37209
37210         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
37211         l_tls_firstbyte_offset non-zero.  Save padding offset in
37212         l_tls_firstbyte_offset for later use.
37213         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
37214         freeing static tls block.
37215
37216 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
37217
37218         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
37219         where #ifdef was intended.  The intent is to prevent ARG_MAX from
37220         being defined by the kernel headers.
37221
37222 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
37223
37224         [BZ #12734]
37225         * resolv/resolv.h: Define RES_NOTLDQUERY.
37226         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
37227         no-tld-query and set RES_NOTLDQUERY.
37228         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
37229         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
37230         modern BIND to search name as TLD unless forbidden.
37231
37232 2011-05-07  Petr Baudis  <pasky@suse.cz>
37233             Ulrich Drepper  <drepper@gmail.com>
37234
37235         [BZ #12393]
37236         * elf/dl-load.c (fillin_rpath): Move trusted path check...
37237         (is_trusted_path): ...to here.
37238         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
37239         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
37240         using is_trusted_path_normalize() in setuid scripts.
37241
37242 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
37243
37244         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
37245         __BEGIN/__END_DECLS.
37246
37247 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
37248
37249         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
37250         NSS_STATUS_NOTFOUND if no record was found.
37251
37252 2011-05-05  Andreas Schwab  <schwab@redhat.com>
37253
37254         * sunrpc/Makefile (headers): Add rpc/netdb.h.
37255         (headers-not-in-tirpc): Remove rpc/netdb.h
37256         * resolv/netdb.h: Revert last change.
37257
37258 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
37259
37260         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
37261         circular dependency between libgcc.a and libc.a.
37262
37263 2011-05-05  Andreas Schwab  <schwab@redhat.com>
37264
37265         * resolv/netdb.h: Don't include <rpc/netdb.h>.
37266         * nis/Makefile: Don't install rpcsvc/*.
37267         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
37268         instead of <rpc/types.h>.
37269         (MAXHOSTNAMELEN): Define.
37270
37271 2011-05-03  Andreas Schwab  <schwab@redhat.com>
37272
37273         * elf/ldconfig.c (add_dir): Don't crash on empty path.
37274
37275 2011-04-28  Maciej Babinski  <mbabinski@google.com>
37276
37277         [BZ #12714]
37278         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
37279         gethostbyname4_r when IPv6 results are possible.
37280
37281 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
37282
37283         [BZ #12723]
37284         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
37285         _PC_PIPE_BUF handling.
37286
37287 2011-04-30  Bruno Haible  <bruno@clisp.org>
37288
37289         [BZ #12717]
37290         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
37291         * resolv/netdb.h (getnameinfo): Change type of flags parameter
37292         to 'int'.
37293         * inet/getnameinfo.c (getnameinfo): Likewise.
37294
37295 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
37296
37297         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
37298         to groups setting in database lookup.
37299         * nss/nsswitch.conf: Add initgroups entry.
37300
37301 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
37302
37303         [BZ #12685]
37304         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
37305         mode string.
37306         Patch by Eric Blake <eblake@redhat.com>.
37307
37308 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
37309
37310         * sunrpc/Makefile (need-export-routines): Add svc_run.
37311         (routines): Remove svc_run.
37312         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
37313         * sunrpc/clnt_perr.c (clnt_perrno): Export.
37314         * sunrpc/svc_run.c (svc_run): Likewise.
37315         * sunrpc/svc_udp.c (svcudp_create): Likewise.
37316
37317 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
37318
37319         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
37320         problem in reallocation in last patch.
37321
37322 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
37323
37324         * sunrpc/Makefile: Move inclusion of Rules.
37325
37326 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
37327
37328         * nss/nss_files/files-initgroups.c: New file.
37329         * nss/Makefile (libnss_files-routines): Add files-initgroups.
37330         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
37331         _nss_files_initgroups_dyn.
37332
37333 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
37334
37335         * elf/elf.h (R_ARM_IRELATIVE): Define.
37336
37337 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
37338
37339         * po/ru.po: Update from translation team.
37340
37341 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
37342
37343         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
37344         dependencies.
37345
37346 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
37347
37348         [BZ #12653]
37349         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
37350         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
37351         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
37352         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
37353         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
37354
37355 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
37356
37357         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
37358         differing bytes.
37359         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
37360         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
37361         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
37362
37363 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
37364
37365         [BZ #12420]
37366         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
37367         storing it.
37368         * stdlib/bug-getcontext.c: New file.
37369         * stdlib/Makefile: Add rules to build and run bug-getcontext.
37370
37371 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
37372
37373         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
37374         instructions into .machine "z9-109".
37375         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
37376         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
37377
37378 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
37379
37380         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
37381         between environment variables and auxiliary vector.
37382
37383 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
37384
37385         * Makefile: Add rules to build linkobj/libc.so.
37386         * include/libc-symbols.h: Define libc_hidden_nolink.
37387         * include/rpc/auth.h: Mark functions which are to be hidden.
37388         * include/rpc/auth_des.h: Likewise.
37389         * include/rpc/auth_unix.h: Likewise.
37390         * include/rpc/clnt.h: Likewise.
37391         * include/rpc/des_crypt.h: Likewise.
37392         * include/rpc/key_prot.h: Likewise.
37393         * include/rpc/pmap_clnt.h: Likewise.
37394         * include/rpc/pmap_prot.h: Likewise.
37395         * include/rpc/pmap_rmt.h: Likewise.
37396         * include/rpc/rpc_msg.h: Likewise.
37397         * include/rpc/svc.h: Likewise.
37398         * include/rpc/svc_auth.h: Likewise.
37399         * include/rpc/xdr.h: Likewise.
37400         * nis/Makefile: Link all DSOs against linkobj/libc.so.
37401         * nss/Makefile: Likewise.
37402         * sunrpc/Makefile: Don't install headers.  Build library with normal
37403         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
37404         * sunrpc/auth_des.c: Hide exported symbols by default, export some
37405         for the compat linking library.  Remove use of INTDEF/INTUSE.
37406         * sunrpc/auth_none.c: Likewise.
37407         * sunrpc/auth_unix.c: Likewise.
37408         * sunrpc/authdes_prot.c: Likewise.
37409         * sunrpc/authuxprot.c: Likewise.
37410         * sunrpc/clnt_gen.c: Likewise.
37411         * sunrpc/clnt_perr.c: Likewise.
37412         * sunrpc/clnt_raw.c: Likewise.
37413         * sunrpc/clnt_simp.c: Likewise.
37414         * sunrpc/clnt_tcp.c: Likewise.
37415         * sunrpc/clnt_udp.c: Likewise.
37416         * sunrpc/clnt_unix.c: Likewise.
37417         * sunrpc/des_crypt.c: Likewise.
37418         * sunrpc/des_soft.c: Likewise.
37419         * sunrpc/get_myaddr.c: Likewise.
37420         * sunrpc/key_call.c: Likewise.
37421         * sunrpc/key_prot.c: Likewise.
37422         * sunrpc/netname.c: Likewise.
37423         * sunrpc/pm_getmaps.c: Likewise.
37424         * sunrpc/pm_getport.c: Likewise.
37425         * sunrpc/pmap_clnt.c: Likewise.
37426         * sunrpc/pmap_prot.c: Likewise.
37427         * sunrpc/pmap_prot2.c: Likewise.
37428         * sunrpc/pmap_rmt.c: Likewise.
37429         * sunrpc/publickey.c: Likewise.
37430         * sunrpc/rpc_cmsg.c: Likewise.
37431         * sunrpc/rpc_common.c: Likewise.
37432         * sunrpc/rpc_dtable.c: Likewise.
37433         * sunrpc/rpc_prot.c: Likewise.
37434         * sunrpc/rpc_thread.c: Likewise.
37435         * sunrpc/rtime.c: Likewise.
37436         * sunrpc/svc.c: Likewise.
37437         * sunrpc/svc_auth.c: Likewise.
37438         * sunrpc/svc_authux.c: Likewise.
37439         * sunrpc/svc_raw.c: Likewise.
37440         * sunrpc/svc_run.c: Likewise.
37441         * sunrpc/svc_simple.c: Likewise.
37442         * sunrpc/svc_tcp.c: Likewise.
37443         * sunrpc/svc_udp.c: Likewise.
37444         * sunrpc/svc_unix.c: Likewise.
37445         * sunrpc/svcauth_des.c: Likewise.
37446         * sunrpc/xcrypt.c: Likewise.
37447         * sunrpc/xdr.c: Likewise.
37448         * sunrpc/xdr_array.c: Likewise.
37449         * sunrpc/xdr_float.c: Likewise.
37450         * sunrpc/xdr_intXX_t.c: Likewise.
37451         * sunrpc/xdr_mem.c: Likewise.
37452         * sunrpc/xdr_rec.c: Likewise.
37453         * sunrpc/xdr_ref.c: Likewise.
37454         * sunrpc/xdr_sizeof.c: Likewise.
37455         * sunrpc/xdr_stdio.c: Likewise.
37456
37457 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
37458
37459         [BZ #12650]
37460         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
37461         * sysdeps/ia64/dl-tls.h: Likewise.
37462         * sysdeps/powerpc/dl-tls.h: Likewise.
37463         * sysdeps/s390/dl-tls.h: Likewise.
37464         * sysdeps/sh/dl-tls.h: Likewise.
37465         * sysdeps/sparc/dl-tls.h: Likewise.
37466         * sysdeps/x86_64/dl-tls.h: Likewise.
37467         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
37468
37469 2011-03-14  Andreas Schwab  <schwab@redhat.com>
37470
37471         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
37472         rpath element also skip the following colon.
37473         (expand_dynamic_string_token): Add is_path parameter and pass
37474         down to DL_DST_REQUIRED and _dl_dst_substitute.
37475         (decompose_rpath): Call expand_dynamic_string_token with
37476         non-zero is_path.  Ignore empty rpaths.
37477         (_dl_map_object_from_fd): Call expand_dynamic_string_token
37478         with zero is_path.
37479
37480 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
37481
37482         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
37483         Make cancelable.
37484
37485 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
37486
37487         [BZ #12655]
37488         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
37489         Patch by Filipe David Manana <fdmanana@apache.org>.
37490
37491 2011-04-07  Andreas Schwab  <schwab@redhat.com>
37492
37493         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
37494         Maintain aligned stack.
37495         (CHECK_RSP): Remove unused macro.
37496
37497 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
37498
37499         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
37500         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
37501
37502 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
37503
37504         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
37505
37506         * include/features.h: Mention __USE_XOPEN2K8 in comment.
37507
37508 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
37509
37510         [BZ #12518]
37511         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
37512         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
37513         * sysdeps/x86_64/memmove.c: New file.
37514         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
37515         (memcpy): Renamed to ...
37516         (__new_memcpy): This.
37517         (memcpy): Provide GLIBC_2_14 memcpy.
37518         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
37519         (memcpy): Provide GLIBC_2_2_5 memcpy.
37520
37521 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
37522
37523         [BZ #12631]
37524         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
37525
37526 2011-03-30  Andreas Schwab  <schwab@redhat.com>
37527
37528         * misc/syncfs.c: New file.
37529         * misc/Makefile (routines): Add syncfs.
37530         * posix/unistd.h: Declare syncfs.
37531         * sysdeps/unix/syscalls.list: Add syncfs.
37532
37533 2011-04-01  Andreas Schwab  <schwab@redhat.com>
37534
37535         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
37536         open_by_handle_at.
37537         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
37538         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
37539         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
37540         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
37541         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
37542         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
37543         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
37544
37545 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
37546
37547         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
37548         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
37549         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
37550         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
37551         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
37552         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
37553         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
37554
37555         * io/Makefile: Compile fallocate.c, fallocate64.c, and
37556         sync_file_range.c with -fexceptions.
37557         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
37558         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
37559         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
37560         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
37561         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
37562         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
37563         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
37564         sync_file_range as cancellation point
37565         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
37566         now a wrapper around __call_sync_file_range with cancellation handling.
37567         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
37568         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
37569         function name to __call_sync_file_range.
37570         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
37571         Add call_sync_file_range.
37572
37573 2011-04-01  Andreas Schwab  <schwab@redhat.com>
37574
37575         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
37576         bits/timex.h.
37577
37578 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
37579
37580         * iconv/iconv.h: Fix typo in comment.
37581         * io/fcntl.h: Likewise.
37582         * libio/stdio.h: Likewise.
37583         * posix/spawn.h: Likewise.
37584         * posix/unistd.h: Likewise.
37585         * stdlib/stdlib.h: Likewise.
37586         * time/time.h: Likewise.
37587         * wcsmbs/wchar.h: Likewise.
37588
37589         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
37590         open_by_handle): Add.
37591         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
37592         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
37593         Augment a few comments.
37594         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
37595         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
37596         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
37597         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
37598         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
37599         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
37600         open_by_handle.
37601
37602         * io/fcntl.h (AT_EMPTY_PATH): Define.
37603
37604 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
37605
37606         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
37607         * sysdeps/unix/sysv/linux/bits/time.h: New file.
37608         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
37609         to...
37610         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
37611         * Versions.def: Add GLIBC_2.14.
37612         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
37613         Export.
37614
37615 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
37616
37617         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
37618         round counter.
37619         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
37620
37621 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
37622
37623         [BZ #12597]
37624         * string/test-strncmp.c (do_page_test): New function.
37625         (check2): Likewise.
37626         (test_main): Call check2.
37627         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
37628
37629 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
37630
37631         [BZ #12587]
37632         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
37633         Handle cache information in CPU leaf 4.
37634         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
37635
37636 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
37637
37638         [BZ #12583]
37639         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
37640         character representation.
37641         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
37642
37643 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
37644
37645         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
37646         END(__isnan) to END(__isnanf) to match function entry point/label
37647         EALIGN(__isnanf,...).
37648
37649 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
37650
37651         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
37652
37653 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
37654
37655         [BZ #12510]
37656         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
37657         copy from the symbol referenced in the relocation to initialize the
37658         used variable.
37659         Patch by Piotr Bury <pbury@goahead.com>.
37660         * elf/Makefile: Add rules to build and tst-unique3.
37661         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
37662         * elf/tst-unique3.cc: New file.
37663         * elf/tst-unique3.h: New file.
37664         * elf/tst-unique3lib.cc: New file.
37665         * elf/tst-unique3lib2.cc: New file.
37666
37667         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
37668
37669 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
37670
37671         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
37672         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
37673         to _start.
37674
37675 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
37676
37677         * elf/dl-load.c (_dl_map_object): If we are looking for the first
37678         to-be-loaded object along a path to loader is ld.so.
37679
37680 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
37681             Ulrich Drepper  <drepper@gmail.com>
37682
37683         * sysdeps/x86_64/memset.S: After aligning destination, code
37684         branches to different locations depending on the value of
37685         misalignment, when multiarch is enabled. Fix this.
37686
37687 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
37688
37689         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
37690         Set _x86_64_preferred_memory_instruction for AMD processsors.
37691         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
37692         Set bit_Prefer_SSE_for_memop for AMD processors.
37693
37694 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
37695
37696         * libio/fmemopen.c (fmemopen): Optimize a bit.
37697
37698 2011-03-03  Andreas Schwab  <schwab@redhat.com>
37699
37700         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
37701
37702 2011-03-03  Roland McGrath  <roland@redhat.com>
37703
37704         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
37705
37706 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
37707
37708         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
37709         __bzero_ultra1 instead of __memset_ultra1.
37710
37711 2011-02-23  Andreas Schwab  <schwab@redhat.com>
37712             Ulrich Drepper  <drepper@gmail.com>
37713
37714         [BZ #12509]
37715         * include/link.h (struct link_map): Add l_orig_initfini.
37716         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
37717         returning unsuccessfully.
37718         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
37719         close of a file loaded at startup, restore the original l_initfini
37720         list.
37721         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
37722         list, store the pointer.
37723         * elf/Makefile ($(objpfx)noload-mem): New rule.
37724         (noload-ENV): Define.
37725         (tests): Add $(objpfx)noload-mem.
37726         * elf/noload.c: Include <memcheck.h>.
37727         (main): Call mtrace.  Close all opened handles.
37728
37729 2011-02-17  Andreas Schwab  <schwab@redhat.com>
37730
37731         [BZ #12454]
37732         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
37733         dependencies are missing.
37734
37735 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
37736
37737         Fix __if_freereq crash: Unlike the generic version which uses free,
37738         Hurd needs munmap.
37739         * sysdeps/mach/hurd/ifreq.h: New file.
37740
37741 2011-01-27  Petr Baudis  <pasky@suse.cz>
37742             Ulrich Drepper  <drepper@gmail.com>
37743
37744         [BZ 12445]#
37745         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
37746         to extend_alloca().
37747         * stdio-common/bug23.c: New file.
37748         * stdio-common/Makefile (tests): Add bug23.
37749
37750 2010-09-28  Andreas Schwab  <schwab@redhat.com>
37751             Ulrich Drepper  <drepper@gmail.com>
37752
37753         [BZ #12489]
37754         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
37755         before performing relro protection.  At old place add assertion
37756         to make sure nothing changed.
37757
37758 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
37759             Glauber de Oliveira Costa  <glommer@gmail.com>
37760
37761         * elf/elf.h: Add new ARM TLS relocs.
37762
37763 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
37764
37765         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
37766         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
37767         cast from r3.
37768         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
37769         'tests' variable.
37770         * sysdeps/wordsize-64/tst-writev.c: New file.
37771
37772 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
37773
37774         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
37775         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
37776         insns in _dl_start to prevent a TOC reference before relocs are
37777         resolved.
37778
37779 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
37780
37781         [BZ #12469]
37782         * Makeconfig: Remove RANLIB definition.
37783         * Makerules: Don't use RANLIB.
37784         * aclocal.m4: Remove ranlib test.
37785         * configure.in: No need to check for ranlib.
37786         * elf/rtld-Rules: Don't use RANLIB.
37787
37788 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
37789
37790         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
37791         protection macro.
37792         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
37793         inclusion protection macro.
37794
37795         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
37796         SIGRTMIN and SIGRTMAX and print information in that case only when
37797         SIGRTMIN is defined.
37798
37799 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
37800
37801         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
37802         arginfo fn returning -1.
37803
37804         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
37805         and thousands string is zero terminated.
37806
37807 2011-02-03  Andreas Schwab  <schwab@redhat.com>
37808
37809         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
37810         sysdeps/unix/sysv/linux/bits/socket.h.
37811
37812 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
37813
37814         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
37815         (__CPU_COUNT): Remove old macros.
37816         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
37817         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
37818         (__CPU_ALLOC, __CPU_FREE): Add macros.
37819         (__sched_cpualloc, __sched_cpufree): Add declarations.
37820
37821 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
37822
37823         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
37824         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
37825         * nscd/aicache.c (addhstaiX): Return timeout of added value.
37826         (readdhstai): Return value of addhstaiX call.
37827         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
37828         (addgrbyX): Return value returned by cache_addgr.
37829         (readdgrbyname): Return value returned by addgrbyX.
37830         (readdgrbygid): Likewise.
37831         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
37832         (addpwbyX): Return value returned by cache_addpw.
37833         (readdpwbyname): Return value returned by addhstbyX.
37834         (readdpwbyuid): Likewise.
37835         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
37836         (addservbyX): Return value returned by cache_addserv.
37837         (readdservbyname): Return value returned by addservbyX:
37838         (readdservbyport): Likewise.
37839         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
37840         (addhstbyX): Return value returned by cache_addhst.
37841         (readdhstbyname): Return value returned by addhstbyX.
37842         (readdhstbyaddr): Likewise.
37843         (readdhstbynamev6): Likewise.
37844         (readdhstbyaddrv6): Likewise.
37845         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
37846         (readdinitgroups): Return value returned by addinitgroupsX.
37847         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
37848         (prune_cache): Keep track of timeout value of re-added entries.
37849         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
37850         * nscd/nscd.h: Adjust prototypes of readd* functions.
37851
37852 2011-02-04  Roland McGrath  <roland@redhat.com>
37853
37854         * nis/nis_server.c (nis_servstate): Use the right name for 0.
37855         (nis_stats): Likewise.
37856         * nis/nis_modify.c (nis_modify): Likewise.
37857         * nis/nis_remove.c (nis_remove): Likewise.
37858         * nis/nis_add.c (nis_add): Likewise.
37859
37860         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
37861
37862         * posix/fnmatch_loop.c: Add some consts.
37863
37864         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
37865
37866 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
37867
37868         [BZ #12460]
37869         * config.make.in (config-cflags-novzeroupper): Define.
37870         * configure.in: Substitute libc_cv_cc_novzeroupper.
37871         * elf/Makefile (AVX-CFLAGS): Define.
37872         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
37873         (CFLAGS-tst-auditmod4a.c): Likewise.
37874         (CFLAGS-tst-auditmod4b.c): Likewise.
37875         (CFLAGS-tst-auditmod6b.c): Likewise.
37876         (CFLAGS-tst-auditmod6c.c): Likewise.
37877         (CFLAGS-tst-auditmod7b.c): Likewise.
37878         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
37879
37880 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
37881
37882         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
37883         function to the callback.
37884         Patch partly by Jiri Olsa <jolsa@redhat.com>.
37885
37886 2011-02-02  Andreas Schwab  <schwab@redhat.com>
37887
37888         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
37889         of errno.
37890
37891 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
37892
37893         [BZ #11724]
37894         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
37895         of constructors.
37896         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
37897         of destructors.
37898         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
37899
37900         [BZ #11724]
37901         * elf/Makefile: Add rules to build and run new test.
37902         * elf/tst-initorder.c: New file.
37903         * elf/tst-initorder.exp: New file.
37904         * elf/tst-initordera1.c: New file.
37905         * elf/tst-initordera2.c: New file.
37906         * elf/tst-initordera3.c: New file.
37907         * elf/tst-initordera4.c: New file.
37908         * elf/tst-initorderb1.c: New file.
37909         * elf/tst-initorderb2.c: New file.
37910         * elf/tst-order-a1.c: New file.
37911         * elf/tst-order-a2.c: New file.
37912         * elf/tst-order-a3.c: New file.
37913         * elf/tst-order-a4.c: New file.
37914         * elf/tst-order-b1.c: New file.
37915         * elf/tst-order-b2.c: New file.
37916         * elf/tst-order-main.c: New file.
37917         New test case by George Gensure <werkt0@gmail.com>.
37918
37919 2010-10-01  Andreas Schwab  <schwab@redhat.com>
37920
37921         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
37922         decoding ACE if AI_CANONIDN.
37923
37924 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
37925
37926         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
37927
37928 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
37929
37930         * version.h (RELEASE): Bump for 2.13 release.
37931         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
37932
37933         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
37934
37935         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
37936         MADV_NOHUGEPAGE.
37937         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
37938         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
37939         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
37940         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
37941         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
37942         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
37943
37944         * posix/getconf.c: Update copyright year.
37945         * catgets/gencat.c: Likewise.
37946         * csu/version.c: Likewise.
37947         * debug/catchsegv.sh: Likewise.
37948         * debug/xtrace.sh: Likewise.
37949         * elf/ldconfig.c: Likewise.
37950         * elf/ldd.bash.in: Likewise.
37951         * elf/sprof.c (print_version): Likewise.
37952         * iconv/iconv_prog.c: Likewise.
37953         * iconv/iconvconfig.c: Likewise.
37954         * locale/programs/locale.c: Likewise.
37955         * locale/programs/localedef.c: Likewise.
37956         * malloc/memusage.sh: Likewise.
37957         * malloc/mtrace.pl: Likewise.
37958         * nscd/nscd.c (print_version): Likewise.
37959         * nss/getent.c: Likewise.
37960
37961         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
37962         PF_CAIF, and PF_ALG.
37963         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
37964
37965 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
37966
37967         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
37968         (modules-names): Use them.
37969         (ifunc-test-modules, ifunc-pie-tests): Define.
37970         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
37971         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
37972         (test-extras): Likewise.
37973         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
37974         $(compile-command.c).
37975         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
37976         (all-built-dso): Define.
37977         (check-textrel.out, check-execstack.out): Depend on it.
37978
37979         * configure.in: Don't override --enable-multi-arch.
37980
37981 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
37982
37983         [BZ #6812]
37984         * nscd/hstcache.c (tryagain): Define.
37985         (cache_addhst): Return tryagain not notfound for temporary errors.
37986         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
37987         failed.
37988
37989 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
37990
37991         [BZ #10563]
37992         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
37993         to make the syscall.
37994         * sysdeps/unix/sysv/linux/setgroups.c: New file.
37995
37996         [BZ #12378]
37997         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
37998         and fall back to matching as normal character if the string ends before
37999         the matching ']' is found.  This is what POSIX requires.
38000         * posix/testfnm.c: Adjust test result.
38001         * posix/globtest.sh: Adjust test result.  Add new test.
38002         * posix/tst-fnmatch.input: Likewise.
38003         * posix/tst-fnmatch2.c: Add new test.
38004
38005 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
38006
38007         * elf/Makefile (check-execstack): Revert last change.  Depend on
38008         check-execstack.h.
38009         (check-execstack.h): New target.
38010         (generated): Add check-execstack.h.
38011         * elf/check-execstack.c: Include "check-execstack.h".
38012         (main): Revert last change.
38013         (handle_file): Return zero if GNU_STACK is absent and
38014         DEFAULT_STACK_PERMS doesn't include PF_X.
38015
38016 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
38017
38018         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
38019         in child fails because the descriptor is already closed.
38020         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
38021         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
38022         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
38023
38024         [BZ #12397]
38025         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
38026         syscall.
38027
38028         [BZ #10484]
38029         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
38030         temporary buffer used to handle multi lookups locally.
38031         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
38032
38033 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
38034
38035         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
38036         loader is ld.so.
38037
38038 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
38039
38040         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
38041         alignment for SSE2.
38042
38043 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
38044
38045         [BZ #12394]
38046         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
38047         characters.  When rounding increased number of integer digits recompute
38048         number of groups.
38049         * stdio-common/tst-grouping.c: New file.
38050         * stdio-common/Makefile: Add rules to build and run tst-grouping.
38051
38052 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
38053
38054         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
38055         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
38056
38057         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
38058         void.
38059         * bits/select.h: Likewise.
38060
38061 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
38062
38063         * po/ja.po: Update from translation team.
38064
38065 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
38066
38067         [BZ #11155]
38068         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
38069         implementation just like for lxstat, fxstatat, et al.
38070
38071 2010-12-27  Jim Meyering  <meyering@redhat.com>
38072
38073         [BZ #12348]
38074         * posix/regexec.c (build_trtable): Return failure indication upon
38075         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
38076
38077 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
38078
38079         [BZ #12201]
38080         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
38081         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
38082         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
38083         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
38084
38085         [BZ #12207]
38086         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
38087
38088         [BZ #12204]
38089         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
38090         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
38091
38092 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
38093
38094         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
38095         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
38096         script has SORT_BY_INIT_PRIORITY.
38097         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
38098         NO_CTORS_DTORS_SECTIONS is defined.
38099         * elf/soinit.c: Likewise.
38100         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
38101         NO_CTORS_DTORS_SECTIONS is defined.
38102         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
38103         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
38104         * sysdeps/sh/init-first.c: Likewise.
38105         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
38106
38107 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
38108
38109         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
38110         always use the slow path.
38111
38112 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
38113
38114         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
38115         similar rule which adds the sysdep directories to the header search in
38116         order to pick up the correct platform stackinfo.h.
38117         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
38118         perform test if it is, otherwise return successfully without testing.
38119         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
38120         DEFAULT_STACK_PERMS define in stackinfo.h.
38121         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
38122         defined in stackinfo.h.
38123         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
38124         DEFAULT_STACK_PERMS defined in stackinfo.h.
38125         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
38126         * sysdeps/ia64/stackinfo.h: Likewise.
38127         * sysdeps/s390/stackinfo.h: Likewise.
38128         * sysdeps/sh/stackinfo.h: Likewise.
38129         * sysdeps/sparc/stackinfo.h: Likewise.
38130         * sysdeps/x86_64/stackinfo.h: Likewise.
38131         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
38132         PF_X for powerpc64.  Retain PF_X for powerpc32.
38133
38134 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
38135
38136         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
38137         accurately.
38138         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
38139         GETDENTS_64BIT_ALIGNED.
38140
38141 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
38142
38143         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
38144
38145 2010-12-10  Andreas Schwab  <schwab@redhat.com>
38146
38147         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
38148         _GNU_SOURCE.
38149
38150         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
38151         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
38152         Remove __restrict.
38153         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
38154         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
38155
38156 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
38157
38158         [BZ #11655]
38159         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
38160         are initialized.
38161
38162 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
38163
38164         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
38165
38166 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
38167
38168         * po/it.po: Update from translation team.
38169
38170 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
38171
38172         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
38173         unused codes.
38174
38175 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
38176
38177         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
38178
38179 2010-11-24  Andreas Schwab  <schwab@redhat.com>
38180
38181         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
38182         specially.
38183         (gaih_getanswer_slice): Likewise.
38184
38185 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
38186
38187         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
38188
38189 2010-05-31  Petr Baudis  <pasky@suse.cz>
38190
38191         [BZ #11149]
38192         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
38193         silently even in the chroot mode.
38194
38195 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
38196
38197         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
38198         last patch a bit.  Pretty printing
38199
38200 2010-05-31  Petr Baudis <pasky@suse.cz>
38201
38202         [BZ #10085]
38203         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
38204         initialization of skip_initgroups_dyn.
38205
38206 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
38207
38208         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
38209         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
38210
38211 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
38212
38213         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
38214
38215 2010-11-11  Andreas Schwab  <schwab@redhat.com>
38216
38217         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
38218         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
38219         (tst-fnmatch-ENV): Set MALLOC_TRACE.
38220         ($(objpfx)tst-fnmatch-mem): New rule.
38221         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
38222         * posix/tst-fnmatch.c (main): Call mtrace.
38223
38224 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
38225
38226         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
38227         Support Intel processor model 6 and model 0x2c.
38228
38229 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
38230
38231         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
38232           signed comparison.
38233
38234 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
38235
38236         [BZ #12205]
38237         * string/test-strncasecmp.c (check_result): New function.
38238         (do_one_test): Use it.
38239         (check1): New function.
38240         (test_main): Use it.
38241         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
38242         Support strcasecmp and strncasecmp.
38243
38244 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
38245
38246         [BZ #12194]
38247         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
38248         * sysdeps/x86_64/bits/byteswap.h: Likewise.
38249
38250 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
38251
38252         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
38253         IFUNC support.
38254         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
38255         memset-x86-64.
38256         * sysdeps/x86_64/multiarch/bzero.S: New file.
38257         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
38258         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
38259         * sysdeps/x86_64/multiarch/memset.S: New file.
38260         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
38261         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
38262         Set bit_Prefer_SSE_for_memop for Intel processors.
38263         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
38264         Define.
38265         (index_Prefer_SSE_for_memop): Define.
38266         (HAS_PREFER_SSE_FOR_MEMOP): Define.
38267
38268 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
38269
38270         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
38271         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
38272
38273 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
38274
38275         [BZ #12191]
38276         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
38277         (__x86_64_raw_data_cache_size_half): Likewise.
38278         (__x86_64_raw_shared_cache_size): Likewise.
38279         (__x86_64_raw_shared_cache_size_half): Likewise.
38280
38281         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
38282         (__x86_64_raw_data_cache_size_half): Likewise.
38283         (__x86_64_raw_shared_cache_size): Likewise.
38284         (__x86_64_raw_shared_cache_size_half): Likewise.
38285         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
38286         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
38287         and __x86_64_raw_shared_cache_size_half.  Round
38288         __x86_64_data_cache_size_half, __x86_64_data_cache_size
38289         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
38290         to multiple of 256 bytes.
38291
38292 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
38293
38294         [BZ #12167]
38295         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
38296         of inacessible symlinks.  Verify result of symlink before returning it.
38297         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
38298         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
38299
38300 2010-10-28  Erich Ritz  <erichritz@gmail.com>
38301
38302         * math/math.h (isinf): Fix typo in comment.
38303
38304 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
38305
38306         * po/da.po: Update from translation team.
38307
38308 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
38309
38310         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
38311         is added to the list.
38312
38313 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
38314             Ulrich Drepper  <drepper@gmail.com>
38315
38316         * elf/dl-object.c (_dl_new_object): Don't append the new object to
38317         the global list here.  Move code to...
38318         (_dl_add_to_namespace_list): ...here.  New function.
38319         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
38320         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
38321         * elf/dl-load.c (lose): Don't remove the element from the list.
38322         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
38323         (_dl_map_object): Likewise.
38324
38325 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
38326
38327         [BZ #12159]
38328         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
38329         into all bytes of SSE register.
38330         Patch by Richard Li <richardpku@gmail.com>.
38331
38332 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
38333
38334         [BZ #12140]
38335         * malloc/malloc.c (_int_free): Fill correct number of bytes when
38336         perturbing.
38337
38338 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
38339
38340         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
38341         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
38342         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
38343         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
38344         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
38345         submachine.
38346         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
38347
38348 2010-10-22  Andreas Schwab  <schwab@redhat.com>
38349
38350         * include/dlfcn.h (__RTLD_SECURE): Define.
38351         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
38352         mode & __RTLD_SECURE instead.
38353         (open_path): Rename preloaded parameter to secure.
38354         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
38355         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
38356         * elf/dl-deps.c (openaux): Likewise.
38357         * elf/rtld.c (struct map_args): Remove is_preloaded.
38358         (map_doit): Don't use it.
38359         (dl_main): Likewise.
38360         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
38361         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
38362
38363 2010-09-09  Andreas Schwab  <schwab@redhat.com>
38364
38365         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
38366         (sysd-rules-targets): Remove duplicates.
38367         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
38368         rtld-%.$o dependency.
38369
38370 2010-10-18  Andreas Schwab  <schwab@redhat.com>
38371
38372         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
38373         _dl_map_object do it.
38374
38375 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
38376
38377         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
38378         fast fma builtins, define the macros in the C99 standard.
38379         (FP_FAST_FMAF): Likewise.
38380         (FP_FAST_FMAL): Likewise.
38381         * sysdeps/x86_64/bits/mathdef.h: Likewise.
38382
38383         * bits/mathdef.h: Update copyright year.
38384         * sysdeps/powerpc/bits/mathdef.h: Likewise.
38385
38386 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
38387
38388         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
38389         builtins, define the macros in the C99 standard.
38390         (FP_FAST_FMAF): Likewise.
38391         (FP_FAST_FMAL): Likewise.
38392         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
38393         multiply/add.
38394         (FP_FAST_FMAF): Likewise.
38395
38396 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
38397
38398         [BZ #3268]
38399         * math/libm-test.inc (fma_test): Some new testcases.
38400         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
38401         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
38402         y and infinite z.  Do multiplication by C already in long double.
38403         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
38404         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
38405         y and infinite z.  Do bitwise or of inexact bit into u.d.
38406         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
38407         * sysdeps/i386/fpu/s_fmaf.S: Removed.
38408         * sysdeps/i386/fpu/s_fma.S: Removed.
38409         * sysdeps/i386/fpu/s_fmal.S: Removed.
38410
38411 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
38412
38413         [BZ #3268]
38414         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
38415         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
38416         computation is not scheduled after fetestexcept.  Fix value
38417         of minimum denormal long double.
38418
38419 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
38420
38421         [BZ #3268]
38422         * math/libm-test.inc (fma_test): Add some more tests.
38423         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
38424         correctly.
38425
38426 2010-10-15  Andreas Schwab  <schwab@redhat.com>
38427
38428         * scripts/data/localplt-s390-linux-gnu.data: New file.
38429         * scripts/data/localplt-s390x-linux-gnu.data: New file.
38430
38431 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
38432
38433         [BZ #3268]
38434         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
38435         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
38436         instead of dbl-64.
38437         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
38438         inlines.
38439         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
38440         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
38441         if one of x and y is very large and the other is subnormal.
38442         * sysdeps/s390/fpu/s_fmaf.c: New file.
38443         * sysdeps/s390/fpu/s_fma.c: New file.
38444         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
38445         * sysdeps/powerpc/fpu/s_fma.S: New file.
38446         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
38447         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
38448         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
38449
38450 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
38451
38452         [BZ #3268]
38453         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
38454         fma tests.
38455         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
38456         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
38457         * sysdeps/i386/i686/multiarch/s_fma.c: Include
38458         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
38459         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
38460         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
38461         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
38462
38463 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
38464
38465         [BZ #12078]
38466         * posix/regcomp.c (parse_branch): One more memory leak plugged.
38467         * posix/bug-regex31.input: Add test case.
38468
38469 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
38470
38471         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
38472         * posix/bug-regex31.input: New file.
38473
38474         [BZ #12078]
38475         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
38476         (parse_sub_exp): Fix last change, use postorder.
38477
38478         * posix/bug-regex31.c: New file.
38479         * posix/Makefile: Add rules to build and run bug-regex31.
38480
38481         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
38482
38483         [BZ #12078]
38484         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
38485
38486         [BZ #12108]
38487         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
38488         to have entries in sys_siglist.
38489
38490         [BZ #12093]
38491         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
38492         be NULL.
38493
38494 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
38495
38496         [BZ #3268]
38497         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
38498         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
38499         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
38500         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
38501         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
38502         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
38503         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
38504         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
38505         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
38506         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
38507         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
38508         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
38509         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
38510         * math/ftestexcept.c (fetestexcept): Likewise.
38511         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
38512         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
38513         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
38514         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
38515         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
38516         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
38517         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
38518
38519 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
38520
38521         [BZ #12107]
38522         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
38523         newline.
38524
38525 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
38526
38527         * string/bug-strstr1.c: New file.
38528         * string/Makefile: Add rules to build and run bug-strstr1.
38529
38530 2010-10-05  Eric Blake  <eblake@redhat.com>
38531
38532         [BZ #12092]
38533         * string/str-two-way.h (two_way_long_needle): Always clear memory
38534         when skipping input due to the shift table.
38535
38536 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
38537
38538         [BZ #12005]
38539         * malloc/mcheck.c: Handle large requests.
38540
38541         [BZ #12077]
38542         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
38543         for strncmp and strncasecmp.
38544         * string/stratcliff.c: Add tests for strcmp and strncmp.
38545         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
38546
38547 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
38548
38549         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
38550         __set_fpscr.
38551
38552 2010-09-30  Andreas Jaeger  <aj@suse.de>
38553
38554         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
38555         (CGROUP_SUPER_MAGIC): Define.
38556         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
38557         Handle btrfs and cgroup file systems.
38558         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
38559         Likewise.
38560
38561 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
38562
38563         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
38564         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
38565
38566 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
38567
38568         [BZ #12067]
38569         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
38570         trying to locate the ELF header.
38571
38572 2010-09-27  Andreas Schwab  <schwab@redhat.com>
38573
38574         [BZ #11611]
38575         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
38576         Mask out sign-bit copies when constructing f_fsid.
38577
38578 2010-09-24  Petr Baudis <pasky@suse.cz>
38579
38580         * debug/stack_chk_fail_local.c: Add missing licence exception.
38581         * debug/warning-nop.c: Likewise.
38582
38583 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
38584
38585         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
38586         implementing getdents64 using getdents syscall, set d_type if
38587         __ASSUME_GETDENTS32_D_TYPE.
38588
38589 2010-09-16  Andreas Schwab  <schwab@redhat.com>
38590
38591         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
38592         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
38593
38594 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
38595
38596         [BZ #12037]
38597         * posix/unistd.h: Undo change of feature selection for ftruncate from
38598         2010-01-11.
38599
38600 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
38601
38602         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
38603         detection.
38604
38605 2010-09-20  Andreas Schwab  <schwab@redhat.com>
38606
38607         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
38608         fanotify_mark.
38609         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
38610
38611 2010-09-14  Andreas Schwab  <schwab@redhat.com>
38612
38613         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
38614         variables after CHECK_SP call.
38615         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
38616
38617 2010-09-13  Andreas Schwab  <schwab@redhat.com>
38618             Ulrich Drepper  <drepper@redhat.com>
38619
38620         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
38621         re-relocationg ld.so.
38622         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
38623         _dl_init_paths call.
38624         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
38625         here anymore.
38626
38627 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
38628
38629         * resolv/res_init.c (__res_vinit): Count the default server we added.
38630
38631 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
38632             Ulrich Drepper  <drepper@redhat.com>
38633
38634         [BZ #11968]
38635         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
38636         (____longjmp_chk): Use %ebx for saving value across system call.
38637         Add unwind info.
38638
38639 2010-09-06  Andreas Schwab  <schwab@redhat.com>
38640
38641         * manual/Makefile: Don't mix pattern rules with normal rules.
38642
38643 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
38644
38645         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
38646         operation.
38647         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
38648         * libio/iofopncook.c (_IO_cookie_init): Likewise.
38649         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
38650         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
38651         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
38652         Likewise.
38653
38654 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
38655
38656         [BZ #11979]
38657         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
38658         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
38659
38660 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
38661
38662         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
38663         * sysdeps/x86_64/addmul_1.S: Likewise.
38664         * sysdeps/x86_64/lshift.S: Likewise.
38665         * sysdeps/x86_64/mul_1.S: Likewise.
38666         * sysdeps/x86_64/rshift.S: Likewise.
38667         * sysdeps/x86_64/sub_n.S: Likewise.
38668         * sysdeps/x86_64/submul_1.S: Likewise.
38669
38670 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
38671
38672         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
38673         Define __sched_param instead of SCHED_* and sched_param when
38674         <bits/sched.h> is included with __need_schedparam defined.
38675         * bits/sched.h [__need_schedparam]
38676         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
38677         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
38678         (__defined_schedparam): Define to 1.
38679         (__sched_param): New structure, identical to sched_param.
38680         (__need_schedparam): Undefine.
38681
38682 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
38683
38684         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
38685         (epoll_create1): Declare.
38686
38687         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
38688
38689 2010-08-31  Andreas Schwab  <schwab@redhat.com>
38690
38691         [BZ #7066]
38692         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
38693         shifting retval into place.
38694
38695 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
38696
38697         * nis/rpcsvc/nis.h: Update copyright notice.
38698         * nis/rpcsvc/nis.x: Likewise.
38699         * nis/rpcsvc/nis_callback.h: Likewise.
38700         * nis/rpcsvc/nis_callback.x: Likewise.
38701         * nis/rpcsvc/nis_object.x: Likewise.
38702         * nis/rpcsvc/nis_tags.h: Likewise.
38703         * nis/rpcsvc/yp.h: Likewise.
38704         * nis/rpcsvc/yp.x: Likewise.
38705         * nis/rpcsvc/ypupd.h: Likewise.
38706         * nis/yp_xdr.c: Likewise.
38707         * nis/ypupdate_xdr.c: Likewise.
38708
38709         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
38710         mainly the body of pmap_getport.  Add parameters to specify timeouts.
38711         (pmap_getport): Use __libc_rpc_getport.
38712         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
38713         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
38714         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
38715
38716 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
38717
38718         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
38719         fanotify_mark.
38720
38721 2010-08-27  Roland McGrath  <roland@redhat.com>
38722
38723         * sysdeps/i386/i686/multiarch/Makefile
38724         (CFLAGS-varshift.c): New variable.
38725
38726 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
38727
38728         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
38729         * sysdeps/i386/i686/multiarch/varshift.c: New file.
38730
38731         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
38732
38733         * sysdeps/x86_64/strlen.S: Minimal code improvement.
38734
38735 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
38736
38737         * sysdeps/x86_64/strlen.S: Unroll the loop.
38738         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
38739         strlen-sse2 strlen-sse2-bsf.
38740         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
38741         __strlen_no_bsf if bit_Slow_BSF is set.
38742         (__strlen_sse42): Removed.
38743         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
38744         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
38745
38746 2010-08-25  Roland McGrath  <roland@redhat.com>
38747
38748         * sysdeps/x86_64/multiarch/varshift.S: File removed.
38749         * sysdeps/x86_64/multiarch/varshift.c: New file.
38750         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
38751         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
38752         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
38753         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
38754
38755 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
38756
38757         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
38758         strlen-sse2 strlen-sse2-bsf.
38759         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
38760         __strlen_sse2_bsf if bit_Slow_BSF is unset.
38761         (__strlen_sse2): Removed.
38762         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
38763         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
38764         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
38765         bit_Slow_BSF for Atom.
38766         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
38767         (index_Slow_BSF): Define.
38768         (HAS_SLOW_BSF): Define.
38769
38770 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
38771
38772         [BZ #10851]
38773         * resolv/res_init.c (__res_vinit): When no server address at all
38774         is given default to loopback.
38775
38776 2010-08-24  Roland McGrath  <roland@redhat.com>
38777
38778         * configure.in: Remove config-name.h generation.
38779         * configure: Regenerated.
38780         * config-name.in: File removed.
38781         * scripts/config-uname.sh: New file.
38782         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
38783         ($(objdir)config-name.h): New target.
38784
38785         * sunrpc/rpc_parse.h: Avoid nested comment.
38786
38787 2010-08-24  Richard Henderson  <rth@redhat.com>
38788             Ulrich Drepper  <drepper@redhat.com>
38789             H.J. Lu  <hongjiu.lu@intel.com>
38790
38791         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
38792         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
38793         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
38794         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
38795         _mm_alignr_epi8 with _mm_loadu_si128.
38796         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
38797         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
38798         (__m128i_shift_right): Removed.
38799         * sysdeps/i386/i686/multiarch/varshift.h: New file.
38800         * sysdeps/i386/i686/multiarch/varshift.S: New file.
38801         * sysdeps/x86_64/multiarch/varshift.h: New file.
38802         * sysdeps/x86_64/multiarch/varshift.S: New file.
38803
38804 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
38805
38806         * configure.in: Move assembler checks to before sysdep dir checking.
38807
38808 2010-08-20  Petr Baudis  <pasky@suse.cz>
38809
38810         * LICENSES: Sync the sunrpc license.
38811
38812 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
38813
38814         * sunrpc/auth_des.c: Update copyright notice once again.
38815         * sunrpc/auth_none.c: Likewise.
38816         * sunrpc/auth_unix.c: Likewise.
38817         * sunrpc/authdes_prot.c: Likewise.
38818         * sunrpc/authuxprot.c: Likewise.
38819         * sunrpc/bindrsvprt.c: Likewise.
38820         * sunrpc/clnt_gen.c: Likewise.
38821         * sunrpc/clnt_perr.c: Likewise.
38822         * sunrpc/clnt_raw.c: Likewise.
38823         * sunrpc/clnt_simp.c: Likewise.
38824         * sunrpc/clnt_tcp.c: Likewise.
38825         * sunrpc/clnt_udp.c: Likewise.
38826         * sunrpc/clnt_unix.c: Likewise.
38827         * sunrpc/des_crypt.c: Likewise.
38828         * sunrpc/des_soft.c: Likewise.
38829         * sunrpc/get_myaddr.c: Likewise.
38830         * sunrpc/getrpcport.c: Likewise.
38831         * sunrpc/key_call.c: Likewise.
38832         * sunrpc/key_prot.c: Likewise.
38833         * sunrpc/openchild.c: Likewise.
38834         * sunrpc/pm_getmaps.c: Likewise.
38835         * sunrpc/pm_getport.c: Likewise.
38836         * sunrpc/pmap_clnt.c: Likewise.
38837         * sunrpc/pmap_prot.c: Likewise.
38838         * sunrpc/pmap_prot2.c: Likewise.
38839         * sunrpc/pmap_rmt.c: Likewise.
38840         * sunrpc/rpc/auth.h: Likewise.
38841         * sunrpc/rpc/auth_unix.h: Likewise.
38842         * sunrpc/rpc/clnt.h: Likewise.
38843         * sunrpc/rpc/des_crypt.h: Likewise.
38844         * sunrpc/rpc/key_prot.h: Likewise.
38845         * sunrpc/rpc/netdb.h: Likewise.
38846         * sunrpc/rpc/pmap_clnt.h: Likewise.
38847         * sunrpc/rpc/pmap_prot.h: Likewise.
38848         * sunrpc/rpc/pmap_rmt.h: Likewise.
38849         * sunrpc/rpc/rpc.h: Likewise.
38850         * sunrpc/rpc/rpc_des.h: Likewise.
38851         * sunrpc/rpc/rpc_msg.h: Likewise.
38852         * sunrpc/rpc/svc.h: Likewise.
38853         * sunrpc/rpc/svc_auth.h: Likewise.
38854         * sunrpc/rpc/types.h: Likewise.
38855         * sunrpc/rpc/xdr.h: Likewise.
38856         * sunrpc/rpc_clntout.c: Likewise.
38857         * sunrpc/rpc_cmsg.c: Likewise.
38858         * sunrpc/rpc_common.c: Likewise.
38859         * sunrpc/rpc_cout.c: Likewise.
38860         * sunrpc/rpc_dtable.c: Likewise.
38861         * sunrpc/rpc_hout.c: Likewise.
38862         * sunrpc/rpc_main.c: Likewise.
38863         * sunrpc/rpc_parse.c: Likewise.
38864         * sunrpc/rpc_parse.h: Likewise.
38865         * sunrpc/rpc_prot.c: Likewise.
38866         * sunrpc/rpc_sample.c: Likewise.
38867         * sunrpc/rpc_scan.c: Likewise.
38868         * sunrpc/rpc_scan.h: Likewise.
38869         * sunrpc/rpc_svcout.c: Likewise.
38870         * sunrpc/rpc_tblout.c: Likewise.
38871         * sunrpc/rpc_util.c: Likewise.
38872         * sunrpc/rpc_util.h: Likewise.
38873         * sunrpc/rpcinfo.c: Likewise.
38874         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
38875         * sunrpc/rpcsvc/key_prot.x: Likewise.
38876         * sunrpc/rpcsvc/klm_prot.x: Likewise.
38877         * sunrpc/rpcsvc/mount.x: Likewise.
38878         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
38879         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
38880         * sunrpc/rpcsvc/rex.x: Likewise.
38881         * sunrpc/rpcsvc/rstat.x: Likewise.
38882         * sunrpc/rpcsvc/rusers.x: Likewise.
38883         * sunrpc/rpcsvc/sm_inter.x: Likewise.
38884         * sunrpc/rpcsvc/spray.x: Likewise.
38885         * sunrpc/rpcsvc/yppasswd.x: Likewise.
38886         * sunrpc/rtime.c: Likewise.
38887         * sunrpc/svc.c: Likewise.
38888         * sunrpc/svc_auth.c: Likewise.
38889         * sunrpc/svc_authux.c: Likewise.
38890         * sunrpc/svc_raw.c: Likewise.
38891         * sunrpc/svc_run.c: Likewise.
38892         * sunrpc/svc_simple.c: Likewise.
38893         * sunrpc/svc_tcp.c: Likewise.
38894         * sunrpc/svc_udp.c: Likewise.
38895         * sunrpc/svc_unix.c: Likewise.
38896         * sunrpc/svcauth_des.c: Likewise.
38897         * sunrpc/xcrypt.c: Likewise.
38898         * sunrpc/xdr.c: Likewise.
38899         * sunrpc/xdr_array.c: Likewise.
38900         * sunrpc/xdr_float.c: Likewise.
38901         * sunrpc/xdr_mem.c: Likewise.
38902         * sunrpc/xdr_rec.c: Likewise.
38903         * sunrpc/xdr_ref.c: Likewise.
38904         * sunrpc/xdr_sizeof.c: Likewise.
38905         * sunrpc/xdr_stdio.c: Likewise.
38906
38907         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
38908         handling.
38909
38910 2010-08-19  Andreas Schwab  <schwab@redhat.com>
38911
38912         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
38913
38914 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
38915
38916         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
38917         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
38918         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
38919         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
38920         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
38921         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
38922         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
38923         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
38924         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
38925         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
38926         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
38927         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
38928         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
38929         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
38930
38931 2010-07-26  Anton Blanchard  <anton@samba.org>
38932
38933         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
38934         * malloc/arena.c (heap_trim): Likewise.
38935
38936 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
38937
38938         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
38939         here.  Not...
38940         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
38941         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
38942
38943 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
38944
38945         * sysdeps/i386/elf/Makefile: New file.
38946
38947 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
38948
38949         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
38950         from fanotify_init.
38951         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
38952         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
38953
38954 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
38955
38956         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
38957         of strncasecmp_l.
38958         * sysdeps/multiarch/strcmp.S: Likewise.
38959
38960 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
38961
38962         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
38963         strncase_l-nonascii.
38964         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
38965         Add strncase_l-ssse3.
38966         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
38967         * sysdeps/x86_64/strcmp.S: Likewise.
38968         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
38969         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
38970         * sysdeps/x86_64/strncase.S: New file.
38971         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
38972         * sysdeps/x86_64/strncase_l.S: New file.
38973         * string/Makefile (strop-tests): Add strncasecmp.
38974         * string/test-strncasecmp.c: New file.
38975
38976         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
38977         warning.
38978
38979         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
38980         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
38981
38982 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
38983
38984         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
38985
38986 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
38987
38988         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
38989         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
38990         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
38991
38992 2010-05-01  Alan Modra  <amodra@gmail.com>
38993
38994         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
38995         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
38996         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
38997         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
38998         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
38999         tidying.  Don't tail-call __sigjmp_save for static lib.
39000         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
39001         save location.
39002         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
39003         (CALL_MCOUNT): Add eh info, and nop after bl.
39004         (TAIL_CALL_SYSCALL_ERROR): New macro.
39005         (PSEUDO_RET): Use it.
39006         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
39007         Correct save location of integer regs and cr.
39008         (_dl_profile_resolve): Correct cr save location.  Delete nops
39009         after bl when SHARED.  Reduce cfi size a little by better
39010         placement of cfi directives.
39011         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
39012         make a stack frame.  Instead use parm save area as a temp.
39013         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
39014         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
39015         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
39016         Don't make a stack frame for parent, use parm save area.
39017         Increase child stack frame to 112 bytes.  Don't save unused reg,
39018         and adjust reg usage.  Set up cfi on error recovery and
39019         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
39020         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
39021         (__makecontext): Add dummy nop after jump to exit.
39022         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
39023         Use correct parm save area and cr save, reduce stack frame.
39024         Correct cfi for possible PSEUDO_RET frame setup.
39025         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
39026         Branch to local label emitted by PSEUDO_RET rather than
39027         __syscall_error.
39028
39029 2010-08-12  Andreas Schwab  <schwab@redhat.com>
39030
39031         [BZ #11904]
39032         * locale/programs/locale.c (print_assignment): New function.
39033         (show_locale_vars): Use it.
39034
39035 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
39036
39037         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
39038         field.
39039         (struct statfs64): Likewise.
39040         (_STATFS_F_FLAGS): Define.
39041         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
39042         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
39043         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
39044         (ST_VALID): Define locally.
39045         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
39046         __statvfs_getflags, use the provided value.
39047         * sysdeps/unix/sysv/linux/kernel-features.h: Define
39048         __ASSUME_STATFS_F_FLAGS.
39049
39050         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
39051
39052         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
39053         Add sys/fanotify.h.
39054         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
39055         fanotify_mask for GLIBC_2.13.
39056         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
39057         fanotify_init and fanotify_mark.
39058         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
39059         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
39060
39061         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
39062         Add prlimit.
39063         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
39064         prlimit64 for GLIBC_2.13.
39065         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
39066         prlimit64.
39067         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
39068         syscall.
39069         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
39070         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
39071         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
39072         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
39073         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
39074         add prlimit alias.
39075         * sysdeps/unix/sysv/linux/prlimit.c: New file.
39076
39077         [BZ #11903]
39078         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
39079         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
39080
39081         * nss/Makefile: Add rules to build and run tst-nss-test1.
39082         * shlib-versions: Add entry for libnss_test1.
39083         * nss/nss_test1.c: New file.
39084         * nss/tst-nss-test1.c: New file.
39085
39086         * nss/nsswitch.c (__nss_database_custom): Define new variable.
39087         (__nss_configure_lookup): Set appropriate entry in
39088         __nss_configure_lookup to true.
39089         * nss/nsswitch.h: Define enum with indeces of databases in
39090         databases and __nss_database_custom arrays.  Declare
39091         __nss_database_custom.
39092         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
39093         to avoid using nscd when custom rules are installed.
39094         * nss/getXXbyYY_r.c: Likewise.
39095         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
39096
39097         * nss/nss_files/files-parse.c: Whitespace fixes.
39098
39099 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
39100
39101         [BZ #11883]
39102         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
39103         * posix/fnmatch_loop.c: Likewise.
39104
39105 2010-07-17  Andi Kleen  <ak@linux.intel.com>
39106
39107         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
39108         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
39109         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
39110         * Versions.def [GLIBC_2.13]: Add.
39111
39112 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
39113
39114         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
39115         Also fail if tpwd after pwuid call is NULL.
39116
39117 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
39118
39119         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
39120         when converting to ms.
39121
39122 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
39123
39124         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
39125         EOPNOTSUPP errors with ENOTTY.
39126         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
39127         EOPNOTSUPP errors with ENOTTY.
39128
39129 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
39130
39131         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
39132         Add strcasecmp_l-ssse3.
39133         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
39134         strcasecmp.
39135         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
39136         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
39137         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
39138
39139 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
39140
39141         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
39142
39143         * string/Makefile (strop-tests): Add strcasecmp.
39144         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
39145         strcasecmp_l-nonascii.
39146         (gen-as-const-headers): Add locale-defines.sym.
39147         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
39148         * sysdeps/x86_64/strcasecmp.S: New file.
39149         * sysdeps/x86_64/strcasecmp_l.S: New file.
39150         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
39151         * sysdeps/x86_64/locale-defines.sym: New file.
39152         * string/test-strcasecmp.c: New file.
39153
39154         * string/test-strcasestr.c: Test both ends of the range of characters.
39155         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
39156
39157 2010-07-29  Roland McGrath  <roland@redhat.com>
39158
39159         [BZ #11856]
39160         * manual/locale.texi (Yes-or-No Questions): Fix example code.
39161
39162 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
39163
39164         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
39165         for ld.so.
39166
39167 2010-07-27  Andreas Schwab  <schwab@redhat.com>
39168
39169         * manual/memory.texi (Malloc Tunable Parameters): Document
39170         M_PERTURB.
39171
39172 2010-07-26  Roland McGrath  <roland@redhat.com>
39173
39174         [BZ #11840]
39175         * configure.in (-fgnu89-inline check): Set and substitute
39176         gnu89_inline, not libc_cv_gnu89_inline.
39177         * configure: Regenerated.
39178         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
39179
39180 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
39181
39182         * string/test-strnlen.c: New file.
39183         * string/Makefile (strop-tests): Add strnlen.
39184         * string/tester.c (test_strnlen): Add a few more test cases.
39185         * string/tst-strlen.c: Better error reporting.
39186
39187         * sysdeps/x86_64/strnlen.S: New file.
39188
39189 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
39190
39191         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
39192         lower-latency instructions.
39193
39194 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
39195
39196         * string/test-strcasestr.c: New file.
39197         * string/test-strstr.c: New file.
39198         * string/Makefile (strop-tests): Add strstr and strcasestr.
39199         * string/str-two-way.h: Don't undefine MAX.
39200         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
39201
39202 2010-07-21  Andreas Schwab  <schwab@redhat.com>
39203
39204         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
39205         strcasestr-nonascii.
39206         (CFLAGS-strcasestr-nonascii.c): Define.
39207         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
39208         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
39209         Remove unused attribute.
39210
39211 2010-07-20  Roland McGrath  <roland@redhat.com>
39212
39213         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
39214         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
39215         ld.so.cache was broken.  With it, there is no way to disable dsocaps
39216         like LD_HWCAP_MASK can disable hwcaps.
39217
39218 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
39219
39220         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
39221
39222 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
39223
39224         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
39225         call in strcasestr.
39226         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
39227         __strcasestr_sse42_nonascii.
39228         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
39229         strcasestr-nonascii.c.
39230         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
39231
39232 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
39233
39234         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
39235         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
39236         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
39237         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
39238
39239 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
39240
39241         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
39242         fcntl.
39243
39244 2010-07-06  Andreas Schwab  <schwab@redhat.com>
39245
39246         [BZ #11577]
39247         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
39248         dl_signal_cerror.
39249
39250 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
39251
39252         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
39253         _PC_PIPE_BUF using F_GETPIPE_SZ.
39254
39255 2010-07-05  Roland McGrath  <roland@redhat.com>
39256
39257         * manual/arith.texi (Rounding Functions): Fix rint description
39258         implicit in round description.
39259
39260 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
39261
39262         * elf/Makefile: Fix linking for a few tests to make recent linker
39263         happy.
39264
39265 2010-06-30  Andreas Schwab  <schwab@redhat.com>
39266
39267         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
39268         $(common-objpfx)libc_nonshared.a.
39269
39270 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
39271
39272         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
39273         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
39274         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
39275         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
39276         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
39277         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
39278         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
39279         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
39280         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
39281         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
39282         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
39283         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
39284         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
39285         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
39286         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
39287         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
39288         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
39289         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
39290         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
39291         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
39292         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
39293         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
39294         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
39295         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
39296         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
39297         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
39298         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
39299         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
39300         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
39301         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
39302         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
39303         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
39304         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
39305         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
39306         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
39307         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
39308         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
39309         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
39310         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
39311         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
39312         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
39313         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
39314         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
39315         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
39316         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
39317         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
39318         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
39319         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
39320
39321 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
39322
39323         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
39324         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
39325         * string/memmove.c (memmove): Renamed to ...
39326         (MEMMOVE): ...this.  Default to memmove.
39327         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
39328         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
39329         (END_CHK): Define.
39330         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
39331         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
39332         mempcpy-ssse3-back memmove-ssse3-back.
39333         * sysdeps/x86_64/multiarch/bcopy.S: New file .
39334         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
39335         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
39336         * sysdeps/x86_64/multiarch/memcpy.S: New file.
39337         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
39338         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
39339         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
39340         * sysdeps/x86_64/multiarch/memmove.c: New file.
39341         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
39342         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
39343         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
39344         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
39345         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
39346         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
39347         Define.
39348         (index_Fast_Copy_Backward): Define.
39349         (HAS_ARCH_FEATURE): Define.
39350         (HAS_FAST_REP_STRING): Define.
39351         (HAS_FAST_COPY_BACKWARD): Define.
39352
39353 2010-06-21  Andreas Schwab  <schwab@redhat.com>
39354
39355         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
39356         Restore proper fallback handling.
39357
39358 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
39359
39360         [BZ #11701]
39361         * posix/group_member.c (__group_member): Correct checking loop.
39362
39363         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
39364         OOM in getpwuid_r correctly.  Return error number when the caller
39365         should return, otherwise -1.
39366         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
39367         call returning > 0 value.
39368         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
39369
39370 2010-06-07  Andreas Schwab  <schwab@redhat.com>
39371
39372         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
39373         libc_nonshared.a from targets in modules-names.
39374
39375 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
39376
39377         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
39378         requires it.
39379
39380 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
39381
39382         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
39383         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
39384         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
39385         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
39386
39387 2010-06-02  Andreas Schwab  <schwab@redhat.com>
39388
39389         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
39390
39391 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
39392
39393         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
39394         and F_GETPIPE_SZ.
39395         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
39396         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
39397         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
39398         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
39399         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
39400         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
39401
39402 2010-06-14  Roland McGrath  <roland@redhat.com>
39403
39404         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
39405
39406 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
39407
39408         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
39409         __REDIRECT followed by __THROW.
39410         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
39411         * posix/getopt.h (getopt): Likewise.
39412
39413 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
39414
39415         * hurd/lookup-at.c (__file_name_lookup_at): Accept
39416         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
39417         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
39418         in AT_FLAGS.
39419         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
39420         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
39421
39422 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
39423
39424         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
39425
39426 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
39427
39428         [BZ #11640]
39429         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
39430         Properly check family and model.
39431
39432 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
39433
39434         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
39435
39436 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
39437
39438         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
39439
39440 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
39441
39442         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
39443         symbol reference.
39444
39445 2010-05-19  Andreas Schwab  <schwab@redhat.com>
39446
39447         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
39448         symbol reference.
39449
39450 2010-05-21  Andreas Schwab  <schwab@redhat.com>
39451
39452         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
39453         and internal_recvmmsg.
39454         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
39455         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
39456         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
39457         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
39458
39459         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
39460         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
39461         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
39462
39463 2010-05-20  Andreas Schwab  <schwab@redhat.com>
39464
39465         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
39466
39467 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
39468
39469         POWER7 optimizations.
39470         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
39471         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
39472
39473 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
39474
39475         * version.h: Update for 2.13 development version.
39476
39477 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
39478
39479         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
39480         exceptions.  Return 0.
39481
39482 2010-05-07  Roland McGrath  <roland@redhat.com>
39483
39484         * elf/ldconfig.c (main): Add a const.
39485
39486 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
39487
39488         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
39489         (args_options): Add no-idn option.
39490         (ahosts_keys_int): Add idn_flags to ai_flags.
39491         (parse_option): Handle 'i' option to clear idn_flags.
39492
39493         * malloc/malloc.c (_int_free): Possible race in the most recently
39494         added check.  Only act on the data if no current modification
39495         happened.
39496
39497 See ChangeLog.17 for earlier changes.